Jean, sorry for the late reply to your previous message, but here is what you requested + exactly what I did. However I did not find any jkjni.la file in the CVS sources and this file wasn't produced.

STEPS:

tar xzvf jakarta-tomcat-connectors_20040305232049.tar.gz

cd jakarta-tomcat-connectors/jk/native2

chmod 0777 buildconf.sh

./buildconf.sh
-> This produces the following output:
rm autom4te.cache
libtoolize --force --automake --copy
aclocal
automake --copy --add-missing
automake: configure.in: installing `scripts/build/unix/install-sh'
automake: configure.in: installing `scripts/build/unix/mkinstalldirs'
automake: configure.in: installing `scripts/build/unix/missing'
autoconf
<- End output

./configure --with-java-home=/opt/sun-jdk-1.4.2.03 --with-apxs2=/usr/sbin/apxs2 --with-tomcat41=/usr/local/tomcat
-> This produces the following output:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for test... /usr/bin/test
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
no apxs given
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for "apache-2.0"
checking checking for apache13...... not provided
checking checking for apache20...... not provided
checking checking for iis...... not provided
checking checking for iPlanet...... not provided
checking for tomcat33 location... not provided
checking for tomcat40 location... not provided
checking for tomcat41 location... /usr/local/tomcat
configure: creating ./config.status
config.status: creating Makefile
config.status: creating server/apache13/Makefile
config.status: creating server/apache13/Makefile.apxs
config.status: creating server/apache2/Makefile
config.status: creating server/apache2/Makefile.apxs
config.status: creating ../build.properties
config.status: creating scripts/build/unix/dummy
<- End output


make clean build > makeOutput
-> This produces the attached makeOutput file and the following error to the terminal:
libtool: install: warning: remember to run `libtool --finish /usr/lib/apache2'
libtool: install: error: cannot install `../../../build/jk2/apache2/libjkjni.la' to a directory not ending in /usr/lib/apache2
make[1]: *** [../../../build/jk2/apache2/libjkjni.so] Error 1
make: *** [jk2-build] Error 1



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, 02 Mar 2004 18:24:11 +0100


jean-frederic clere wrote:
...
I have reproduced the problem (with apache13 using with --with-apxs).
+++
/export/home3/jfclere/tmp/apr-0.9.4/libtool --mode=install /usr/bin/cp
../../../build/jk2/apache13/mod_jk2.la `pwd`/../../../build/jk2/apache13
libtool: install: error: cannot install `../../../build/jk2/apache13/mod_jk2.la'
to a directory not ending in /opt/SMAWoIS/apache13/libexec
gmake[1]: *** [../../../build/jk2/apache13/mod_jk2.so] Error 1
gmake[1]: Leaving directory
`/export/home3/jfclere/tmp/jakarta-tomcat-connectors/jk/native2/server/apache13'
gmake: *** [jk2-build] Error 1
bash-2.03$ libtool --version
ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)


Copyright (C) 2003  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bash-2.03$ autoconf --version
autoconf (GNU Autoconf) 2.53
Written by David J. MacKenzie and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
bash-2.03$ automake --version
automake (GNU automake) 1.6.1
Written by Tom Tromey <[EMAIL PROTECTED]>.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+++

>
>>

_________________________________________________________________
Personalise your mobile chart ringtones and polyphonics. Go to http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp


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

Reply via email to