Hello guys,

I have found a bug in the Makefile. Not sure whether to put this in the bug
DB as its a problem with the make file and not the connectors. Apologies if
I shouldn't have posted here. Here's the problem below, anyway.

I downloaded the connectors tar.gz
(jakarta-tomcat-connectors-jk2-src-current.tar.gz version 2.0.2) and went
into jk/native2 to build the thing.

I used the instructions Kurt/Henri posted to dev (couldn't get the one in
README.txt working). I basically did the following:

./configure --with-apxs2=/usr/sbin/apxs 
make

This failed miserably due to a problem in the server/apache2/Makefile make
file. This is the error output form the original try:

...
/usr/bin/ld: cannot find -lapr-0
collect2: ld returned 1 exit status
make[1]: *** [../../../build/jk2/apache2/jkjni.la] Error 1
make[1]: Leaving directory
`/root/work/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/server/apache
2'
make: *** [jk2-build] Error 1

The problem is on line 37 as follows:

JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0

Obviously the -lapr-0 should read -lapr -0. I fixed this and re-ran make and
all was lovely.

Thought you'd want to know. If you need anymore info, please feel free to
e-mail.

Adam.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to