Problem building mod_jk with solaris 8
Mod_jk build problems Mod_jk version:jakarta-tomcat-connectors-jk-1.2.0-src Environment: Sparc Solaris 8 WWW server: Apache 1.3.26 with DSO and mod_ssl mod_jk configure: ./configure --with-apxs=/usr/local/apacheSSL/bin/apxs --enable-EAPI Make Error: Making all in apache-1.3 /usr/local/bin/libtool --mode=compile gcc -DUSE_APACHE_MD5 -I ../common/ -I /usr/local/j2sdk1_3_1_01/include -I /usr/local/j2sdk1_3_1_01/include/ -I/usr/local/apacheSSL/include -DSOLARIS2=270 -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -g -O2 -DEAPI -I../common -c -o mod_jk.lo mkdir .libs gcc -DUSE_APACHE_MD5 -I ../common/ -I /usr/local/j2sdk1_3_1_01/include -I /usr/local/j2sdk1_3_1_01/include/ -I/usr/local/apacheSSL/include -DSOLARIS2=270 -DMOD_SSL=208104 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -g -O2 -DEAPI -I../common -c -fPIC -DPIC -o .libs/mod_jk.lo gcc: No input files *** Error code 1 make: Fatal error: Command failed for target `mod_jk.lo' Current working directory /export/home/staff/jakarta-tomcat-connectors-jk-1.2.0-src/jk/native/apache-1.3 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' ---Ideas on how to fix this ? Fixed Error : (which I correct) Making all in apache-1.3 make: Fatal error in reader: Makefile, line 18: Unexpected end of line seen Current working directory /export/home/staff/jakarta-tomcat-connectors-jk-1.2.0-src/jk/native/apache-1.3 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' -Fixed by :JK_DIR := .. to JK_DIR = .. Ideas on how to fix this error ? I know there is a binary for Solaris 8 but I will need to install in solaris 7 as well so I figured I would build on Solaris 8 for a test. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Building mod_jk on Solaris - Apache 2 Tomcat 4.0.x
All I'm trying to integrate Apache 2 and Tomcat 4.0.4 on Solaris, JDK 1.3. I've been trying on and off for the past few months. Having given up on building mod_webapp (despite help from the list) I'm now trying to build mod_jk The build-unix.sh script in /jk/native/apache-2.0 doesn't work. The Galatea Flashguide instructions also don't work: buildconf.sh configure --with-apxs=/usr/local/apache2/bin/apxs make make install I've installed half the software GNU has produced :) - autoconf, automake... I've also installed ant. I already had gcc installed. I've tried the various instructions within the Tomcat 3.3 docs - no luck. I've tried jakarta-tomcat-connectors-4.0.4 and jakarta-tomcat-connectors-4.0.2-01 Env variables are all set okay (AFAIK) but all this c stuff is meaningless to me :) Output from make: /bin/sh /usr/local/apache2/build/libtool --silent --mode=install cp `pwd`/mod_jk.so libtool: install: you must specify a destination Try `libtool --help --mode=install' for more information. *** Error code 1 make: Fatal error: Command failed for target `mod_jk.so' Current working directory /export/home/stsejw/update/conns/jk/native/apache-2.0 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Output from build-unix.sh: /usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_jk.so -rpath /usr/local/apache2/modules -module -avoid-version -I../common -I/usr/local/a pache2/include/apr-util -I/usr/java/include -I/usr/java/include/solaris mod_jk.lo jk_worker.lo jk_util.lo jk_uri_worker_map.lo jk_sockbuf.lo jk_pool.lo jk_nwmain.lo jk_msg_buff.lo jk_md5.lo jk_map.lo jk_lb_worker.lo jk_jni_worker.lo jk_context.lo jk_connect.lo jk_ajp_common.lo jk_ajp14_worker.lo jk_ajp14. lo jk_ajp13_worker.lo jk_ajp13.lo jk_ajp12_worker.lo Undefined first referenced symbol in file socket jk_connect.lo apr_date_parse_http mod_jk.lo ap_os_escape_path mod_jk.lo apr_palloc mod_jk.lo ap_hook_translate_name mod_jk.lo ap_hook_handler mod_jk.lo recvjk_sockbuf.lo ap_rflush mod_jk.lo ap_server_root_relative mod_jk.lo dlclose jk_jni_worker.lo (symbol belongs to implicit dependency /usr/lib/libdl.so.1) apr_table_setn mod_jk.lo apr_pcalloc mod_jk.lo ap_update_mtime mod_jk.lo apr_table_add mod_jk.lo ap_get_server_port mod_jk.lo gethostbyname jk_connect.lo apr_filename_of_pathnamemod_jk.lo apr_pool_cleanup_register mod_jk.lo ap_get_server_version mod_jk.lo apr_pvsprintf mod_jk.lo ap_hook_child_init mod_jk.lo apr_sockaddr_port_get mod_jk.lo sendjk_sockbuf.lo ap_add_common_vars mod_jk.lo apr_pstrdup mod_jk.lo ap_setup_client_block mod_jk.lo setsockopt jk_connect.lo ap_get_server_name mod_jk.lo apr_table_overlay mod_jk.lo ap_getword_conf mod_jk.lo ap_add_version_componentmod_jk.lo apr_table_set mod_jk.lo inet_addr jk_connect.lo apr_table_make mod_jk.lo ap_log_errormod_jk.lo ap_get_client_block mod_jk.lo ap_should_client_block mod_jk.lo ap_content_type_tolower mod_jk.lo ap_get_remote_host mod_jk.lo apr_table_get mod_jk.lo ap_hook_post_config mod_jk.lo dlsym jk_jni_worker.lo (symbol belongs to implicit dependency /usr/lib/libdl.so.1) ap_set_last_modifiedmod_jk.lo dlopen jk_jni_worker.lo (symbol belongs to implicit dependency /usr/lib/libdl.so.1) ap_rwrite mod_jk.lo main /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crt1.o apr_pstrcat mod_jk.lo apr_psprintfmod_jk.lo dlerror jk_jni_worker.lo (symbol belongs to implicit dependency /usr/lib/libdl.so.1) ap_hook_map_to_storage mod_jk.lo connect jk_connect.lo ld: fatal: Symbol referencing errors. No output written to mod_jk.so collect2: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . Installing mod_jk.so into /usr/local/apache2/libexec cp: cannot access mod_jk.so Done. Install by running ./install-unix.sh Thanks, John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: building mod_jk on solaris
Subject: Re: building mod_jk on solaris From: Jack Gao [EMAIL PROTECTED] === Sorry, I don't have any experience with FreeBSD. Jack Peter Choe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... thanks for the info. do you have an idea where i can get it for freebsd 3.x? i have tried to compile the mod_jk but i keep getting errors. At 12:25 PM 5/10/2002, you wrote: Subject: Re: building mod_jk on solaris From: Jack Gao [EMAIL PROTECTED] === I think you need mod_jk for freebsd, because mod_jk.so will been loaded by Apache, but not Tomcat. I finally get mod_jk for Apache 2.0 from Tomcat-Connector-4.0.4-b2-src on Solaris 7 platform build successfully. What I did is: modify apxs under /usr/local/apache2/bin to add a -shared in link command. Of cause modified build-unix.sh for JAVA_HOME, APACHE_HOME and so on also. The reason I add this in apxs is I can not found any argument for this -shared for apxs it self, and solaris ld will need this to generate mod_jk.so. Anyway, my mod_jk.so currently works fine on my Solaris 7 box with Apache 2.0.36 and Tomcat 4.0.3. Thanks Jack Peter Choe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... they only seem to have it for sparc. i am running an intel solaris. if i have apache running on a freebsd machine, and tomcat running on a solaris machine, which mod_jk should i get and where should i place it, on the solaris or the freebsd? thanks. At 09:15 AM 5/10/2002, =?us-ascii?Q?Ion_Larranaga?= wrote: Hi, I think that mod_jk is included within the connectors package (jakarta-tomcat-connectors-4.0.2-01-src.tar.gz for instance), so you should try to get it from there. Hope it helps, Ion -Mensaje original- De: Peter Choe [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 10 de mayo de 2002 14:53 Para: [EMAIL PROTECTED] Asunto: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: building mod_jk on solaris
try looking here: http://www.osxgnu.org/software/java/jakarta/ D On Sat, 11 May 2002, Jakarta Tomcat Newsgroup wrote: Subject: Re: building mod_jk on solaris From: Jack Gao [EMAIL PROTECTED] === Sorry, I don't have any experience with FreeBSD. Jack Peter Choe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... thanks for the info. do you have an idea where i can get it for freebsd 3.x? i have tried to compile the mod_jk but i keep getting errors. At 12:25 PM 5/10/2002, you wrote: Subject: Re: building mod_jk on solaris From: Jack Gao [EMAIL PROTECTED] === I think you need mod_jk for freebsd, because mod_jk.so will been loaded by Apache, but not Tomcat. I finally get mod_jk for Apache 2.0 from Tomcat-Connector-4.0.4-b2-src on Solaris 7 platform build successfully. What I did is: modify apxs under /usr/local/apache2/bin to add a -shared in link command. Of cause modified build-unix.sh for JAVA_HOME, APACHE_HOME and so on also. The reason I add this in apxs is I can not found any argument for this -shared for apxs it self, and solaris ld will need this to generate mod_jk.so. Anyway, my mod_jk.so currently works fine on my Solaris 7 box with Apache 2.0.36 and Tomcat 4.0.3. Thanks Jack Peter Choe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... they only seem to have it for sparc. i am running an intel solaris. if i have apache running on a freebsd machine, and tomcat running on a solaris machine, which mod_jk should i get and where should i place it, on the solaris or the freebsd? thanks. At 09:15 AM 5/10/2002, =?us-ascii?Q?Ion_Larranaga?= wrote: Hi, I think that mod_jk is included within the connectors package (jakarta-tomcat-connectors-4.0.2-01-src.tar.gz for instance), so you should try to get it from there. Hope it helps, Ion -Mensaje original- De: Peter Choe [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 10 de mayo de 2002 14:53 Para: [EMAIL PROTECTED] Asunto: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
building mod_jk on solaris
i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: building mod_jk on solaris
Hi, I think that mod_jk is included within the connectors package (jakarta-tomcat-connectors-4.0.2-01-src.tar.gz for instance), so you should try to get it from there. Hope it helps, Ion -Mensaje original- De: Peter Choe [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 10 de mayo de 2002 14:53 Para: [EMAIL PROTECTED] Asunto: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: building mod_jk on solaris
they only seem to have it for sparc. i am running an intel solaris. if i have apache running on a freebsd machine, and tomcat running on a solaris machine, which mod_jk should i get and where should i place it, on the solaris or the freebsd? thanks. At 09:15 AM 5/10/2002, =?us-ascii?Q?Ion_Larranaga?= wrote: Hi, I think that mod_jk is included within the connectors package (jakarta-tomcat-connectors-4.0.2-01-src.tar.gz for instance), so you should try to get it from there. Hope it helps, Ion -Mensaje original- De: Peter Choe [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 10 de mayo de 2002 14:53 Para: [EMAIL PROTECTED] Asunto: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: building mod_jk on solaris
Peter, You can use mod_jk with Tomcat3 or Tomcat4. I found it terribly hard to compile it on Solaris 8 (sparc), so I downloaded the binary and it works just fine for me. I'm connecting with Apache. Duane On Friday, May 10, 2002, at 08:52 AM, Peter Choe wrote: i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: building mod_jk on solaris
apxs requires perl. You must have perl installed prior to installation of apache httpd in order for the apache install to correctly configure apxs. Otherwise, I believe you are on the right track. Jeff - Original Message - From: Peter Choe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 10, 2002 7:52 AM Subject: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: building mod_jk on solaris
This is some info of how I built it on solaris sparc boxes. It was using tomcat 33 though, and you have to change the directories accordingly.. Let me remind you that some of the things can actually already been fixed or working differently.. start-of-paste cd to /usr/local/tomcat/native/mod_jk/apache1.3 If this file is not executable do chmod +x build-solaris.sh vi build-solaris.sh change the APACHE_HOME and JAVA_HOME lines to the correct directory structure. Since we need DEAPI to build mod_jk, we also have to change the line after the line echo Building mod_jk $APXS Add -DEAPI as the first parameter. If you don't have a DEAPI apache install, leave this one out. If your ld is not in your path, do vi /usr/local/apache/bin/apxs and change the ld (the line reading my $CFG_LD_SHLIB = q(ld); to q(/usr/ccs/bin/ld); and now run ./build-solaris.sh It should be build ok ;) (check to see if /usr/local/apache/libexec/mod_jk.so is present). end-of-paste Mvgr, Martin -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 16:02 To: Tomcat Users List Subject: Re: building mod_jk on solaris apxs requires perl. You must have perl installed prior to installation of apache httpd in order for the apache install to correctly configure apxs. Otherwise, I believe you are on the right track. Jeff - Original Message - From: Peter Choe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 10, 2002 7:52 AM Subject: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: building mod_jk on solaris
download the jakarta-tomcat-connectors-*src from tomcat4.0 location the newer version should have buildconf.sh not just for solaris. - Original Message - From: Martin van den Bemt [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 10, 2002 10:56 AM Subject: RE: building mod_jk on solaris This is some info of how I built it on solaris sparc boxes. It was using tomcat 33 though, and you have to change the directories accordingly.. Let me remind you that some of the things can actually already been fixed or working differently.. start-of-paste cd to /usr/local/tomcat/native/mod_jk/apache1.3 If this file is not executable do chmod +x build-solaris.sh vi build-solaris.sh change the APACHE_HOME and JAVA_HOME lines to the correct directory structure. Since we need DEAPI to build mod_jk, we also have to change the line after the line echo Building mod_jk $APXS Add -DEAPI as the first parameter. If you don't have a DEAPI apache install, leave this one out. If your ld is not in your path, do vi /usr/local/apache/bin/apxs and change the ld (the line reading my $CFG_LD_SHLIB = q(ld); to q(/usr/ccs/bin/ld); and now run ./build-solaris.sh It should be build ok ;) (check to see if /usr/local/apache/libexec/mod_jk.so is present). end-of-paste Mvgr, Martin -Original Message- From: Jeff Larsen [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 16:02 To: Tomcat Users List Subject: Re: building mod_jk on solaris apxs requires perl. You must have perl installed prior to installation of apache httpd in order for the apache install to correctly configure apxs. Otherwise, I believe you are on the right track. Jeff - Original Message - From: Peter Choe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 10, 2002 7:52 AM Subject: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: building mod_jk on solaris
mod_jk is an apache module, so it has to go with the apache installation. In your case, that means putting it in the freebsd machine. In Tomcat you only have to setup a port (ajp12, ajp13...) for mod_jk to use remotely Ion -Mensaje original- De: Peter Choe [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 10 de mayo de 2002 15:24 Para: Tomcat Users List Asunto: RE: building mod_jk on solaris they only seem to have it for sparc. i am running an intel solaris. if i have apache running on a freebsd machine, and tomcat running on a solaris machine, which mod_jk should i get and where should i place it, on the solaris or the freebsd? thanks. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: building mod_jk on solaris
Subject: Re: building mod_jk on solaris From: Jack Gao [EMAIL PROTECTED] === I think you need mod_jk for freebsd, because mod_jk.so will been loaded by Apache, but not Tomcat. I finally get mod_jk for Apache 2.0 from Tomcat-Connector-4.0.4-b2-src on Solaris 7 platform build successfully. What I did is: modify apxs under /usr/local/apache2/bin to add a -shared in link command. Of cause modified build-unix.sh for JAVA_HOME, APACHE_HOME and so on also. The reason I add this in apxs is I can not found any argument for this -shared for apxs it self, and solaris ld will need this to generate mod_jk.so. Anyway, my mod_jk.so currently works fine on my Solaris 7 box with Apache 2.0.36 and Tomcat 4.0.3. Thanks Jack Peter Choe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... they only seem to have it for sparc. i am running an intel solaris. if i have apache running on a freebsd machine, and tomcat running on a solaris machine, which mod_jk should i get and where should i place it, on the solaris or the freebsd? thanks. At 09:15 AM 5/10/2002, =?us-ascii?Q?Ion_Larranaga?= wrote: Hi, I think that mod_jk is included within the connectors package (jakarta-tomcat-connectors-4.0.2-01-src.tar.gz for instance), so you should try to get it from there. Hope it helps, Ion -Mensaje original- De: Peter Choe [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 10 de mayo de 2002 14:53 Para: [EMAIL PROTECTED] Asunto: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: building mod_jk on solaris
thanks for the info. do you have an idea where i can get it for freebsd 3.x? i have tried to compile the mod_jk but i keep getting errors. At 12:25 PM 5/10/2002, you wrote: Subject: Re: building mod_jk on solaris From: Jack Gao [EMAIL PROTECTED] === I think you need mod_jk for freebsd, because mod_jk.so will been loaded by Apache, but not Tomcat. I finally get mod_jk for Apache 2.0 from Tomcat-Connector-4.0.4-b2-src on Solaris 7 platform build successfully. What I did is: modify apxs under /usr/local/apache2/bin to add a -shared in link command. Of cause modified build-unix.sh for JAVA_HOME, APACHE_HOME and so on also. The reason I add this in apxs is I can not found any argument for this -shared for apxs it self, and solaris ld will need this to generate mod_jk.so. Anyway, my mod_jk.so currently works fine on my Solaris 7 box with Apache 2.0.36 and Tomcat 4.0.3. Thanks Jack Peter Choe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... they only seem to have it for sparc. i am running an intel solaris. if i have apache running on a freebsd machine, and tomcat running on a solaris machine, which mod_jk should i get and where should i place it, on the solaris or the freebsd? thanks. At 09:15 AM 5/10/2002, =?us-ascii?Q?Ion_Larranaga?= wrote: Hi, I think that mod_jk is included within the connectors package (jakarta-tomcat-connectors-4.0.2-01-src.tar.gz for instance), so you should try to get it from there. Hope it helps, Ion -Mensaje original- De: Peter Choe [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 10 de mayo de 2002 14:53 Para: [EMAIL PROTECTED] Asunto: building mod_jk on solaris i am trying to build mod_jk for tomcat4.0. the only mod_jk i found is actually in tomcat3.3 though. so, i tried to compile it using the build-solaris.sh script and i get the following error: bash-2.03# ./build-solaris.sh Building mod_jk cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../common -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS -c ../common/jk_ajp12_worker.c apxs:Break: Command failed with rc=16711680 Error with apxs does anyone know how i can fix this? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Building mod_jk for solaris
Hi! I'm trying to compile mod_jk.so under solaris 2.6 . Using ./build-solaris.sh of jakarta-tomcat-3.3-m2 + Apache/1.3.12 (Unix) I get only this weird msg Command failed with rc=... from apxs. java -version = Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Java HotSpot(TM) Client VM (build 1.3.0, mixed mode) I already tried to build mod_jk from the tomcat.3.2.1 sources, but I get the same error again and again. Below you find the ouput of ./build-solaris.sh Any ideas? Regards Mounir Building mod_jk gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -I/usr/local/apache/include -I../common -I/usr/j2se/include -I/usr/j2se/include/solaris -c ../common/jk_ajp12_worker.c [...] gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -I/usr/local/apache/include -I../common -I/usr/j2se/include -I/usr/j2se/include/solaris -c mod_jk.c -o mod_jk.so mod_jk.o jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o jk_ajp12_worker.o -lposix4 apxs:Break: Command failed with rc=16711680 Error with apxs __ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de
Problems building mod_jk on Solaris 2.8
'Evening everyone, I'm guessing that someone's already answered this question, but I couldn't find it in the archives... We're having problems building mod_jk on Solaris 2.8 (with gcc). I did find a message in the archives that referenced these config variable errors: my $CFG_LD_SHLIB = q(); # substituted via Makefile.tmpl my $CFG_LDFLAGS_SHLIB = q( ); # substituted via Makefile.tmpl should have been: my $CFG_LD_SHLIB = q(gcc); # substituted via Makefile.tmpl my $CFG_LDFLAGS_SHLIB = q( -G); # substituted via Makefile.tmpl We made these changes, and mod_jk built (via apxs) cleanly, but when we try to start Apache (1.3.17) with the module, we're seeing this error: Syntax error on line 8 of /var/tomcat/conf/mod_jk.conf-auto: API module structure `jk_module' in file /usr/local/apache/libexec/mod_jk.so is garbled - perhaps this is not an Apache module DSO? /usr/local/apache/bin/apachectl start: httpd could not be started Can anyone suggest a fix for this problem? Thanks!, Len DiMaggio [EMAIL PROTECTED]
building mod_jk on Solaris
I've followed the docs for building mod_jk on a Solaris 2.6 sparc but I get the following. $apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c gcc -DSOLARIS2=260 -DMOD_SSL=204100 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -fPIC -DSHARED_CORE -DSHARED_MODULE -I/usr/local/apache/include -I/usr/java/include -I/usr/java/include/solaris -I../jk -DSOLARIS -c mod_jk.c mod_jk.c: In function `ws_start_response': mod_jk.c:217: internal error--unrecognizable insn: (insn 20 18 21 (set (reg:SI 106) (mem/f:SI (plus:SI (reg:SI 30 %fp) (const_int 68 [0x44])) 0)) -1 (nil) (nil)) apxs:Break: Command failed with rc=65536 Has anyone had any problems building this module? Any suggestions? Thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]