Part #2, building mod_jk errors... Need help
Hi John and Denise ! Well, thanks a lot for yur answers. I did what john adviced in the Building JK Connector, except that my gcc is 3.2. I entered ./buildconf.sh -- no errors. I then added ./configure \ --with-apxs=/usr/local/Apache-1.3.26/bin/apxs \ --with-apr=./apr-0.9.1 The ./configure contains some errors in config.log but i'm not hard enough in compiling to well understand them. The gcc i have comes from Sunfreeware site and is compiled with /usr/ccs/bin/ld and /usr/ccs/bin/as. The paths are bind to gcc and i think that autoconf keep those values make the ./configure... even if i declare a PATH=/usr/sbin:/usr/bin:/usr/local/bin The last error message issue from make cmd is: ../.. gcc -shared 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_ajp_common.lo ../common/jk_context.lo -lc -Wl,-soname -Wl,mod_jk.so.0 -o .libs/mod_jk.so.0.0.0 ld: warning: option -o appears more than once, first setting taken ld: fatal: file mod_jk.so.0: open failed: No such file or directory ld: fatal: File processing errors. No output written to .libs/mod_jk.so.0.0.0 collect2: ld returned 1 exit status make[1]: *** [mod_jk.la] Error 1 make[1]: Leaving directory `/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/native/apache-1.3' make: *** [all-recursive] Error 1 petrus:/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/native # Does it makes sense to someone ? Can yu help ? I'm a bit stuck, yu know... Regards. Jean-Luc :O) Turner, John wrote: Also, you might want to check my Solaris HOWTO at http://www.johnturner.com/howto There are other GNU tools you need to have besides gcc in order to do the build, there is a list of them on my site and you can get them in Sun package format from http://www.sunfreeware.com Also, I had problems with gcc 3.something, when I dropped back to gcc 2.95.3 the problems went away. I don't remember exactly what the problems were. John -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 10:09 AM To: 'Tomcat Users List' Subject: RE: building mod_jk errors... Might help the list to know where it fails? : ) What is the error message it gives? Denise -Original Message- From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 9:54 AM To: tomcat-user Subject: building mod_jk errors... Hi All ! Runnin' SOLARIS 8 gcc 3.2 Perl 5.8.0 Apache 1.3.26 Tomcat 4.1.18 Java 1.4.1_01-b01 I download the connectors sources from jakarta site. I tried hard to compile the mod_jk connector by the way ./configure --with-apxs=/usr/local/Apache-1.3.26/bin/apxs but the make always fails... I'm looking for someone who had the same problems with around the same configuration. Any help or clues really appreciated. Regards. Jean-Luc :O) -- 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] This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure --with-apxs=/usr/local/Apache-1.3.26/bin/apxs --with-apr=./apr --with-ld=/usr/local/bin/ld ## - ## ## Platform. ## ## - ## hostname = petrus.fr.kodak.com uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_108528-15 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = petrus.fr.kodak.com Release = 5.8 KernelID = Generic_108528-15 Machine = sun4u BusType = unknown Serial = unknown Users = unknown OEM# = 0 Origin# = 1 NumCPU = 1 /bin/arch = sun4 /usr/bin/arch -k = sun4u /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/sbin PATH: /usr/bin PATH: /usr/local/bin PATH: /usr/ccs/bin ## --- ## ## Core tests. ## ## --- ## configure:1416: checking for a BSD-compatible install configure:1470: result: scripts/build/unix/install-sh -c configure:1481: checking whether build environment is sane configure:1524: result: yes configure:1557: checking for gawk configure:1573: found /usr/local/bin/gawk configure:1583: result: gawk configure:1593: checking whether make sets ${MAKE} configure:1613: result: yes configure:1833: checking build system type
RE: Part #2, building mod_jk errors... Need help
I've never used --with-apr. Other than that, I don't really have a solution or suggestion. John -Original Message- From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 9:06 AM To: Tomcat Users List Subject: Part #2, building mod_jk errors... Need help Hi John and Denise ! Well, thanks a lot for yur answers. I did what john adviced in the Building JK Connector, except that my gcc is 3.2. I entered ./buildconf.sh -- no errors. I then added ./configure \ --with-apxs=/usr/local/Apache-1.3.26/bin/apxs \ --with-apr=./apr-0.9.1 The ./configure contains some errors in config.log but i'm not hard enough in compiling to well understand them. The gcc i have comes from Sunfreeware site and is compiled with /usr/ccs/bin/ld and /usr/ccs/bin/as. The paths are bind to gcc and i think that autoconf keep those values make the ./configure... even if i declare a PATH=/usr/sbin:/usr/bin:/usr/local/bin The last error message issue from make cmd is: ../.. gcc -shared 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_ajp_common.lo ../common/jk_context.lo -lc -Wl,-soname -Wl,mod_jk.so.0 -o .libs/mod_jk.so.0.0.0 ld: warning: option -o appears more than once, first setting taken ld: fatal: file mod_jk.so.0: open failed: No such file or directory ld: fatal: File processing errors. No output written to .libs/mod_jk.so.0.0.0 collect2: ld returned 1 exit status make[1]: *** [mod_jk.la] Error 1 make[1]: Leaving directory `/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/native /apache-1.3' make: *** [all-recursive] Error 1 petrus:/usr/local/src/jakarta-tomcat-connectors-4.1.18-src/jk/native # Does it makes sense to someone ? Can yu help ? I'm a bit stuck, yu know... Regards. Jean-Luc :O) Turner, John wrote: Also, you might want to check my Solaris HOWTO at http://www.johnturner.com/howto There are other GNU tools you need to have besides gcc in order to do the build, there is a list of them on my site and you can get them in Sun package format from http://www.sunfreeware.com Also, I had problems with gcc 3.something, when I dropped back to gcc 2.95.3 the problems went away. I don't remember exactly what the problems were. John -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 10:09 AM To: 'Tomcat Users List' Subject: RE: building mod_jk errors... Might help the list to know where it fails? : ) What is the error message it gives? Denise -Original Message- From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 9:54 AM To: tomcat-user Subject: building mod_jk errors... Hi All ! Runnin' SOLARIS 8 gcc 3.2 Perl 5.8.0 Apache 1.3.26 Tomcat 4.1.18 Java 1.4.1_01-b01 I download the connectors sources from jakarta site. I tried hard to compile the mod_jk connector by the way ./configure --with-apxs=/usr/local/Apache-1.3.26/bin/apxs but the make always fails... I'm looking for someone who had the same problems with around the same configuration. Any help or clues really appreciated. Regards. Jean-Luc :O) -- 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]