Hi Ole,
when you tried against your installed APR most likely the dev rpm, which
includes the necessary header files for compiltions where not installed.
When you tried against a BUILD directory, most likely the APR library
need for linking was not there.
Whichever way you choose, you need a full APR. I guess it would be
easiest to install the dev RPMs for apr and apr-util and then use the
installed files for configuring tcnative.
Now after you installed the additional dev packages (those are *not* the
src packages), you might want to check, where those packages installed
their contents to, because you need to give a path to the --with-apr
flag. You can check package install pathes for rpm with
rpm -q --filesbypkg PACKAGENAME
If your packages choose the default system instalation pathes, you
should be able to build without the with-apr flag. If the RPMs choose a
special installation dir, but are build nicely, you will have shell
scripts apr-1-config as part of one of the RPMs and you can give
with-apr the path to this file as parameter, which will tell configure
about the pathes of libs and headers. Lastly if you don't have the
config script, but libs and headers are in lib/ and include/ below some
dir, this dir will be a code value for with-apr.
HTH.
Rainer
Ole Ersoy wrote:
Hi Hassan,
I did the following:
rm -dfr tomcat-native-1.1.10-src/ tar xvfz tomcat-native.tar.gz
cd tomcat-native-1.1.10-src/jni/native
./configure --prefix=/usr/local/apr
--with-apr=/home/ole/rpmbuild/BUILD/apr-1.2.8/ && make && make install
And I still get:
le/rpmbuild/BUILD/apr-1.2.8/libapr-1.la -luuid -lcrypt -lpthread -ldl )
/usr/bin/ld: cannot find -lapr-1
collect2: ld returned 1 exit status
libtool: install: error: relink `libtcnative-1.la' with the above
command before installing it
make: *** [install] Error 1
Thoughts?
Thanks again,
- Ole
Hassan Schroeder wrote:
On 8/15/07, Ole Ersoy <[EMAIL PROTECTED]> wrote:
I have a lot more progress now! I get the following (The only
important part is the bottom i think):
[EMAIL PROTECTED] native]# ./configure
--with-apr=/home/ole/rpmbuild/BUILD/apr-1.2.8/
...
libtool: install: error: relink `libtcnative-1.la' with the above
command before installing it
make: *** [install] Error 1
Any idea what this means?
I'd suggest re-running this with a specific prefix to avoid potential
conflict with anything currently installed, e.g.
./configure --prefix=/usr/local/apr
--with-apr=/home/ole/rpmbuild/BUILD/apr-1.2.8/
FWIW,
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
--
kippdata
informationstechnologie GmbH Tel: 0228 98549 -0
Bornheimer Str. 33a Fax: 0228 98549 -50
53111 Bonn www.kippdata.de
HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417
Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann
===============================
kippdata
informationstechnologie GmbH Tel: +49 228 98549 -0
Bornheimer Str. 33a Fax: +49 228 98549 -50
D-53111 Bonn www.kippdata.de
HRB 8018 Amtsgericht Bonn / USt.-IdNr. DE 196 457 417
Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]