Are you using the current source from CVS or http://cvs.apache.org/snapshots/jakarta-tomcat-connectors/ yet? libtool is set correctly for you in the current version. Simply configure with --with-apxs2 with current source and it should be correctly set for you.
From: "Al Banard" <[EMAIL PROTECTED]> > Thanks, > > Unfortunately my OS is Gentoo and after installing there ebuild (basically > equivalent to an RPM) directories are all over the place. The base location > of apache is actually /etc/apache2 but when I try using this as a configure > option I get this message: > > building connector for "apache-2.0" > configure: error: can't locate /etc/apache2/ > > and configure dies. > > Here is a list of the more relevant files that were installed with the > package. Do you have any idea as to what I should put as my argumernt to > the configure option? libtool is in /usr/lib/apache2/build/libtool but I've > tried passing different combinations of this path without any luck. > > bash-2.05b# qpkg -l apache > net-www/apache-2.0.48-r1 * > CONTENTS: > /usr > /usr/include > /usr/include/apache2 > /usr/include/apache2/apr.h > /usr/include/apache2/apr_allocator.h > /usr/include/apache2/apr_atomic.h > ... > /usr/include/apache2/ssl_util_ssl.h > /usr/include/apache2/ssl_util_table.h > /usr/include/apache2/pcre.h > /usr/include/apache2/unixd.h > /usr/lib > /usr/lib/libapr-0.so.0.9.5 > /usr/lib/libapr-0.so.0 -> libapr-0.so.0.9.5 > /usr/lib/libapr-0.so -> libapr-0.so.0.9.5 > /usr/lib/libapr-0.la > /usr/lib/libapr-0.a > /usr/lib/apr.exp > /usr/lib/apache2 > /usr/lib/apache2/build > /usr/lib/apache2/build/libtool > /usr/lib/apache2/build/apr_rules.mk > /usr/lib/apache2/build/config_vars.mk > /usr/lib/apache2/build/library.mk > /usr/lib/apache2/build/ltlib.mk > /usr/lib/apache2/build/program.mk > /usr/lib/apache2/build/rules.mk > /usr/lib/apache2/build/special.mk > /usr/lib/apache2/build/instdso.sh > /usr/lib/apache2/build/config.nice > /usr/lib/apache2/build/envvars > /usr/lib/apache2/build/envvars-std > /usr/lib/apache2/mod_access.so > /usr/lib/apache2/mod_auth.so > /usr/lib/apache2/mod_auth_anon.so > ... > /usr/lib/apache2/mod_userdir.so > /usr/lib/apache2/mod_alias.so > /usr/lib/apache2/mod_rewrite.so > /usr/lib/apache2/httpd.exp > /usr/lib/libaprutil-0.so.0.9.5 > /usr/lib/libaprutil-0.so.0 -> libaprutil-0.so.0.9.5 > /usr/lib/libaprutil-0.so -> libaprutil-0.so.0.9.5 > /usr/lib/libaprutil-0.la > /usr/lib/libaprutil-0.a > /usr/lib/aprutil.exp > /usr/lib/ssl > /usr/lib/ssl/apache2-mod_ssl > /usr/lib/ssl/apache2-mod_ssl/gentestcrt.sh > /usr/lib/apache2-extramodules > /usr/lib/apache2-extramodules/mod_ssl.so > /usr/bin > /usr/bin/apr-config > /usr/bin/apu-config > /usr/sbin > /usr/sbin/ab2 > /usr/sbin/logresolve2 > /usr/sbin/apxs2 > /usr/sbin/dbmmanage2 > /usr/sbin/ab2-ssl > /usr/sbin/suexec2 > /usr/sbin/htdbm > /usr/sbin/htdigest2 > /usr/sbin/checkgid2 > /usr/sbin/rotatelogs2 > /usr/sbin/apache2 > /usr/sbin/apache2logserverstatus > /usr/sbin/apache2splitlogfile > /usr/sbin/list_hooks2.pl > /usr/sbin/logresolve2.pl > /usr/sbin/apache2ctl > /usr/sbin/htpasswd2 > /usr/sbin/split-logfile2 > /usr/sbin/log_server_status2 > /usr/share > /usr/share/man > /usr/share/man/man1 > ... > /usr/share/man/man8/apache2.8.gz > /usr/share/man/man8/apache2ctl.8.gz > /usr/share/man/man8/logresolve2.8.gz > /usr/share/doc > /usr/share/doc/apache-2.0.48-r1 > /usr/share/doc/apache-2.0.48-r1/manual > ... > > > >From: jean-frederic clere <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: Tomcat Developers List <[EMAIL PROTECTED]> > >Subject: Re: DO NOT REPLY [Bug 27006] - libtool: install: error: cannot > >install `../../../build/jk2/apache2/jkjni.la' to a directory not ending in > >/usr/lib/apache2 > >Date: Tue, 24 Feb 2004 16:16:31 +0100 > > > >Al Banard wrote: > > > Hi Henri, > > > > > > Thanks for giving me help. > > > > > > OK, I have to admit I don't know a lot about libtool. I'm using apache > > > 2.0.48 and have also installed apr-0.9.2. How do I specify to use the > > > libtool from Apache 2.0 / APR? > > > >That is what is done when you use --with-apache2=$HOME/httpd-2.0.48. > >It works for me with the actual CVS and libtool-1.5.2 and automake-1.6.1 (I > >build and install automake after libtool). > > > > > > > > > > >> From: Henri Gomez <[EMAIL PROTECTED]> > > >> To: Tomcat Developers List <[EMAIL PROTECTED]>, > > >> [EMAIL PROTECTED] > > >> Subject: Re: DO NOT REPLY [Bug 27006] - libtool: install: error: > > >> cannot install `../../../build/jk2/apache2/jkjni.la' to a directory > > >> not ending in /usr/lib/apache2 > > >> Date: Tue, 24 Feb 2004 14:57:49 +0100 > > >> > > >> Continuing this thread on tomcat-dev. > > >> > > >> Well you should use the libtool from Apache 2.0 / APR. > > >> > > >> Which version of Apache 2.0 are you using ? > > >> > > >> > > >> [EMAIL PROTECTED] wrote: > > >> > > >>> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS > > >>> THROUGH THE WEB INTERFACE AVAILABLE AT > > >>> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27006>. > > >>> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN > > >>> THE BUG DATABASE. > > >>> > > >>> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27006 > > >>> > > >>> libtool: install: error: cannot install > > >>> `../../../build/jk2/apache2/jkjni.la' to a directory not ending in > > >>> /usr/lib/apache2 > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> ------- Additional Comments From [EMAIL PROTECTED] 2004-02-24 > > >>> 13:53 ------- > > >>> I just tried libtool 1.5.2-r3 and I still get the same error. Can you > > >>> think of anything else (program versions / configure options / steps) > > >>> I might be doing differently to you? Here is a recap of my steps: > > >>> > > >>> cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2/ > > >>> chmod 0777 buildconf.sh > > >>> ./buildconf.sh > > >>> ./configure --with-java-home=/opt/sun-jdk-1.4.2.03 > > >>> --with-apxs2=/usr/sbin/apxs2 --with-tomcat41=/usr/local/tomcat > > >>> make clean build > > >>> libtool --finish /usr/lib/apache2 > > >>> > > >>> ------------------------------------------------------------------ --- > > >>> To unsubscribe, e-mail: [EMAIL PROTECTED] > > >>> For additional commands, e-mail: [EMAIL PROTECTED] > > >>> > > >>> > > >>> > > >> > > > > > > _________________________________________________________________ > > > Hot chart ringtones and polyphonics. Go to > > > http://ninemsn.com.au/mobilemania/default.asp > > > > > > > > > -------------------------------------------------------------------- - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > ><< signature.asc >> > > _________________________________________________________________ > You could be a genius! Find out by taking the IQ Test 2003. $5.50 (incl > GST). Click here http://sites.ninemsn.com.au/minisite/testaustralia/ > > > -------------------------------------------------------------------- - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]