Date: Tue, 29 Dec 2009 10:34:32 +0100 From: Frederic de la Goublaye <fredericdelagoublaye@gmail.com> To: freebsd-java@freebsd.org Subject: mod-jk-apache2 make error with apache22 on FreeBSD 8.0-RELEASE Message-ID: <32a0facf0912290134s3411e5ccsd803b2bbec9de5b8@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I cannot install mod_jk-apache2 after the installation of apache22 on FreeBSD 8.0 RELEASE Can you help me ? # cd /usr/ports/www/apache22/ # make # make install It works! # cd /usr/ports/www/mod_jk-apache2/ # make ===> Vulnerability check disabled, database not found => tomcat-connectors-1.2.28-src.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://www.apache.org/dist/tomcat/tomcat-connectors/jk/source/jk-1.2.28/. tomcat-connectors-1.2.28-src.tar.gz 100% of 1505 kB 6624 kBps ===> Extracting for mod_jk-ap2-1.2.28_1 => MD5 Checksum OK for tomcat-connectors-1.2.28-src.tar.gz. => SHA256 Checksum OK for tomcat-connectors-1.2.28-src.tar.gz. ===> Patching for mod_jk-ap2-1.2.28_1 ===> Applying FreeBSD patches for mod_jk-ap2-1.2.28_1 ===> mod_jk-ap2-1.2.28_1 depends on file: /usr/local/sbin/apxs - found ===> mod_jk-ap2-1.2.28_1 depends on executable: gmake - found ===> Configuring for mod_jk-ap2-1.2.28_1 checking build system type... amd64-portbld-freebsd8.0 checking host system type... amd64-portbld-freebsd8.0 checking target system type... amd64-portbld-freebsd8.0 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking for test... /bin/test checking for rm... /bin/rm checking for grep... /usr/bin/grep checking for echo... /bin/echo checking for sed... /usr/bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl APRINCLUDEDIR is -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 building connector for "apache-2.0" checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by gmake... GNU checking dependency style of cc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... cc -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 whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... none checking how to run the C++ preprocessor... c++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd8.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd8.0 ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool LIBTOOL="/usr/local/build-1/libtool --silent" checking for char... yes checking size of char... 1 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 8 checking for short... yes checking size of short... 2 checking for long double... yes checking size of long double... 16 checking for long long... yes checking size of long long... 8 checking for longlong... no checking size of longlong... 0 checking size of pid_t... 4 checking for snprintf... yes checking for vsnprintf... yes checking for flock... yes checking for setsockopt in -lsocket... no checking sys/filio.h usability... yes checking sys/filio.h presence... yes checking for sys/filio.h... yes checking whether to use SO_RCVTIMEO with setsockopt()... yes checking whether to use SO_SNDTIMEO with setsockopt()... yes checking for target platform... unix no apache given no netscape given configure: tokens in APXSLDFLAGS have been prefixed with '-Wl,' configure: creating ./config.status config.status: creating Makefile config.status: creating apache-1.3/Makefile config.status: creating apache-1.3/Makefile.apxs config.status: creating apache-2.0/Makefile config.status: creating apache-2.0/Makefile.apxs config.status: creating common/Makefile config.status: creating common/list.mk config.status: creating common/jk_types.h config.status: creating jni/Makefile config.status: creating common/portable.h config.status: executing depfiles commands ===> Building for mod_jk-ap2-1.2.28_1 Making all in common gmake[1]: Entering directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/common' /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_connect.c -o jk_connect.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_msg_buff.c -o jk_msg_buff.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_util.c -o jk_util.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp13.c -o jk_ajp13.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_pool.c -o jk_pool.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_worker.c -o jk_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp13_worker.c -o jk_ajp13_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_lb_worker.c -o jk_lb_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_sockbuf.c -o jk_sockbuf.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_map.c -o jk_map.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_uri_worker_map.c -o jk_uri_worker_map.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp14.c -o jk_ajp14.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp14_worker.c -o jk_ajp14_worker.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_md5.c -o jk_md5.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_shm.c -o jk_shm.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_ajp_common.c -o jk_ajp_common.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_context.c -o jk_context.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_url.c -o jk_url.lo /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -I /include -I /include/ -c jk_status.c -o jk_status.lo gmake[1]: Leaving directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/common' Making all in apache-2.0 gmake[1]: Entering directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0' /usr/local/build-1/libtool --silent --mode=compile cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -c mod_jk.c -o mod_jk.lo /usr/local/build-1/libtool --silent --mode=link cc -I/usr/local/include/apache22 -O2 -pipe -fno-strict-aliasing -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -DHAVE_APR -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -O2 -pipe -fno-strict-aliasing -O2 -pipe -I/usr/local/include/mysql -DHAVE_MYSQL_H -I/usr/include -fno-strict-aliasing -I/usr/local/include -Wl,-L-L/usr/local/lib/mysql -Wl,-rpath=/usr/lib -Wl,/usr/local/lib -Wl,-L/usr/lib -Wl,-L/usr/local/lib -o mod_jk.la -module -rpath /usr/local/libexec/apache22 -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_connect.lo ../common/jk_msg_buff.lo ../common/jk_util.lo ../common/jk_ajp13.lo ../common/jk_pool.lo ../common/jk_worker.lo ../common/jk_ajp13_worker.lo ../common/jk_lb_worker.lo ../common/jk_sockbuf.lo ../common/jk_map.lo ../common/jk_uri_worker_map.lo ../common/jk_ajp14.lo ../common/jk_ajp14_worker.lo ../common/jk_md5.lo ../common/jk_shm.lo ../common/jk_ajp_common.lo ../common/jk_context.lo ../common/jk_url.lo ../common/jk_status.lo /usr/local/lib: file not recognized: File format not recognized gmake[1]: *** [mod_jk.la] Error 1 gmake[1]: Leaving directory `/usr/ports/www/mod_jk-apache2/work/tomcat-connectors-1.2.28-src/native/apache-2.0' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/www/mod_jk-apache2. # END OF THE COMMAND LINES
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32a0facf0912290134s3411e5ccsd803b2bbec9de5b8>