DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33248>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33248 Summary: mod_jk fails to build Product: Tomcat 4 Version: Unknown Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Connector:JK/AJP AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] The file 'mod_jk/jk/native/configure.in' does: APRINCLUDEDIR="-I`$APXS -q APR_INCLUDEDIR`" APXSCFLAGS="`${APXS} -q CFLAGS` `${APXS} -q EXTRA_CFLAGS` -DHAVE_APR ${APRINCLUDEDIR}" This goes badly wrong when '$APXS -q APR_INCLUDEDIR' returns more than one directory and one is doing a shared-only build, (e.g. '$APXS -q APR_INCLUDEDIR' returns "/apache_src_dir/dir1 /apache_src_dir/dir2" and neither now exist) because the compiler flags now include: "-DHAVE_APR -I/dir1 /dir2" - the compiler isn't being told that '/dir2' should be included, treats it as a file to read, can't, so blows up. E.g. /bin/sh /opt/thus/share/apache2/build/libtool --silent --mode=compile gcc -I/opt/thus/include/apache2 -O2 -march=i386 -mcpu=i686 -g -O2 -march=i386 -mcpu=i686 -g -O2 -march=i386 -mcpu=i686 -g -pthread -DHAVE_APR -I/var/opt/THUSpbuild/pmeta.10624/THUSapache2/apache2/prefork/srclib/apr/include /var/opt/THUSpbuild/pmeta.10624/THUSapache2/apache2/srclib/apr/include -O2 -march=i386 -mcpu=i686 -g -I/usr/include -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I /include -I /include/ -c jk_ajp12_worker.c gcc: /var/opt/THUSpbuild/pmeta.10624/THUSapache2/apache2/srclib/apr/include: No such file or directory -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]