You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Adam Fowler <Ad...@ideagen.co.uk> on 2004/03/22 12:05:59 UTC

Connectors makefile typo...

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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Connectors makefile typo...

Posted by Kurt Miller <tr...@apache.org>.
Hi Adam,

I committed a fix for the hardcoded "-lapr-0". Now libapr.so, libapr-0.so or libapr-1.so will be detected while configuring.
Detection could be better but this works for now.

-Kurt

----- Original Message ----- 
From: "Adam Fowler" <Ad...@ideagen.co.uk>
To: "Tomcat-Dev@Jakarta. Apache. Org (E-mail)" <to...@jakarta.apache.org>
Sent: Monday, March 22, 2004 6:05 AM
Subject: Connectors makefile typo...


> 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: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Connectors makefile typo...

Posted by MagicDraw Support Team <bu...@magicdraw.com>.
Hello Adam Fowler <Ad...@ideagen.co.uk>:

Thank you for your inquiry. This is an automated response from MagicDraw support team. We have received
your message regarding "Connectors makefile typo..."

We would like to offer our sincere thanks to you for emailing us!

Your message has been recorded into our customer service database.

Our staff responds to messages during regular business hours European time,
although we also attempt to answer messages in the weekends whenever
possible. Messages are normally answered within one to two business days.

For even faster assistance, you can browse our FAQ list at:
http://www.magicdraw.com/faq.php

Sincerely,

MagicDraw Support Team


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org