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=15143>. 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=15143 Unable to build mod_jk2 for apache-2.0.43 on solaris8 Summary: Unable to build mod_jk2 for apache-2.0.43 on solaris8 Product: Tomcat 4 Version: 4.1.12 Platform: Sun OS/Version: Solaris Status: NEW Severity: Blocker Priority: Other Component: Connector:Coyote JK 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I tried to compile mod_jk2 on Solaris8 using gcc and following ./configure: ./configure -- with-apxs2=<path-to-apxs> make This produced following Error: ../../common/jk_channel_socket.c: In function `jk2_channel_socket_openŽ: ../../common/jk_channel_socket.c:292: `FIONBIOŽ undeclared (first use in this function) ../../common/jk_channel_socket.c:292: (Each undeclared identifier is reported only once ../../common/jk_channel_socket.c:292: for each function it appears in.) on Solaris 8 FIONBION is defined in /usr/include/sys/filio.h therefor I added "#include <sys/filio.h>" to the jk_globals.h in the jk2/include directory so i run make again ... it seemed to run well except the following error: ld: fatal: library -lapr: not found ld: fatal: File processing errors. No output written to ../../../build/jk2/apache2/.libs/jkjni.so after a few hours i recognised that the apr libraries in apache2/lib are named apr-0 instead of apr (who knows why). finally i changed JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt - lapr into JK_LDFLAGS=-L${APACHE2_LIBDIR} -lcrypt -lapr-0 in the Makefile (jk/native2/server/apache2/Makefile) and run the make again ... passed without any errors and is functional. This bug report seems to be a workaround for Problems using mod_jk2 and Solaris8 (i hope this will be concerned in further mod_jk2 releases). jk/native2/server/apache2/Makefile -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>