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]
mod_jk for Solaris 8 with Apache 2.0.39
Hello I've been trying to compile this module with no success and i haven't been able to find a document that could shed some light on this. I'm using the jakarta-tomcat-connectors-4.0.4. This is what i do and the error message i get: I cd to the jk/native dir and run buildconf.sh which apparently suceeds since i get a configure file, the i run ./configure --with-apxs=/opt/apache/bin/apxs Than i run make and run into trouble: ... /bin/bash /opt/apache/build/libtool --silent --mode=link gcc -I/opt/apache/include -g -O2 -DU SE_APACHE_MD5 -I ../common -I /usr/java/include -I /usr/java/include/unix -D_REENTRANT -Wall -g -O2 -pthreads -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -o mod_jk.la -module -r path /opt/apache/modules -avoid-version mod_jk.lo ../common/jk_ajp12_worker.lo ../common/jk_c onnect.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 ../co mmon/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 /bin/bash /opt/apache/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 /root/instalaciones/jakarta-tomcat-connectors-4.0.4-src/jk/native/a pache-2.0 *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Any hints? Or does anybody have a binary i can use? Thanks WP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: mod_jk on Solaris 8
Okay, seems like this system is missing even more things. I look at this line: my $CFG_CFLAGS= q( -DSOLARIS2=260 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/include -DUSE_EXPAT -I../lib/expat-lite`../apaci`); And I quickly realize that I more than likely do not have expat-lite (assuming that that is what apxs is looking for,). If that is the case where can I find this code? Thanks. Ryan-
Re: mod_jk on Solaris 8
Just ignore that directive for mod_jk. Did you try to fix your apxs script and recompile mod_jk? On Fri, 30 Mar 2001, Ryan J. McDonough wrote: Okay, seems like this system is missing even more things. I look at this line: my $CFG_CFLAGS= q( -DSOLARIS2=260 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/include -DUSE_EXPAT -I../lib/expat-lite`../apaci`); And I quickly realize that I more than likely do not have expat-lite (assuming that that is what apxs is looking for,). If that is the case where can I find this code? Thanks. Ryan- "Mon aeroglisseur est plein d'anguilles" John P. Dodge Boeing Shared Services Group
Re: mod_jk on Solaris 8
I am no 100% that this is a base installation and it does not have the development tools installed. I have gotten the to install the GNU tools but I'm running into another snag. I decided to take your advice and get the 3.3M2 sources and use that build script. The APXS script is set to use cc as the compiler, which throws the same "language" error as before. I made a copy of apxs and changed the compiler to gcc. Now I get this error: Building mod_jk gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -G -Kpic -I/usr/apache/include -I../common -I/usr/j2se/include -I/usr/j2se/include/solaris -c ../common/jk_ajp12_worker.c gcc: unrecognized option `-Kpic' And it hangs there for ever. What else do I need to do? Thanks. Ryan- On Wednesday, March 28, 2001, at 07:44 PM, Mike Braden wrote: OK. Try this: # file `which cc` /usr/ucb/cc:executable /usr/bin/sh script Solaris 8 ships with a batch file called cc in /usr/ucb For a compiler, download the gcc package from http://www.sunfreeware.com as for make, you should check your path. Make is in /usr/cc/bin # which make /usr/ccs/bin/make If make is not located there, then you should check to see if the system was setup with the Entire Distribution or developers distribution options. If it was installed with only the base distribution (packages), then the libraries and utilities for compiling software will not be installed. Also note, you'll have much better luck building mod_jk if you build apache from source. There is a build script in the TC3.3m2 package for mod_jk that can be used with any TC3 version. Mike. -- Mike Braden [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Ryan J. McDonough [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 4:48 PM To: [EMAIL PROTECTED] Subject: mod_jk on Solaris 8 I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan-
Re: mod_jk on Solaris 8
Here is the apxs configuration section using gcc: ## ## Configuration ## my $CFG_TARGET= q(httpd);# substituted via Makefile.tmpl my $CFG_CC= q(gcc);# substituted via Makefile.tmpl my $CFG_CFLAGS= q( -DSOLARIS2=260 -DMOD_PERL -DUSE_PERL_SSI -I/usr/local/include -DUSE_EXPAT -I../lib/ expat-lite `../apaci`);# substituted via Makefile.tmpl my $CFG_CFLAGS_SHLIB = q(-fPIC -DSHARED_MODULE); # substituted via Makefile.tmpl my $CFG_LD_SHLIB = q(ld); # substituted via Makefile.tmpl my $CFG_LDFLAGS_SHLIB = q(-G); # substituted via Makefile.tmpl my $CFG_LIBS_SHLIB= q();# substituted via Makefile.tmpl my $CFG_PREFIX= q(/export/home/test/apache8368);# substituted via APACI install my $CFG_SBINDIR = q(/export/home/test/apache8368/bin); # substituted via APACI install my $CFG_INCLUDEDIR= q(/export/home/test/apache8368/include);# substituted via APACI install my $CFG_LIBEXECDIR= q(/export/home/test/apache8368/libexec);# substituted via APACI install my $CFG_SYSCONFDIR= q(/export/home/test/apache8368/conf);# substituted via APACI install On Thu, 29 Mar 2001, Ryan J. McDonough wrote: Building mod_jk gcc -DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -G -Kpic -I/usr/apache/include -I../common -I/usr/j2se/include -I/usr/j2se/include/solaris -c ../common/jk_ajp12_worker.c gcc: unrecognized option `-Kpic' And it hangs there for ever. What else do I need to do? -- "Mon aeroglisseur est plein d'anguilles" John P. Dodge Boeing Shared Services Group
mod_jk on Solaris 8
I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan-
Re: mod_jk on Solaris 8
You'll need to install a binary gcc in your own directory if you don't have root. SUN charges for the cc compiler so that's your best option. after installing gcc, make sure /usr/ccs/bin is in your path as well for the linker and other required tools. there is also a version of make in /usr/ccs/bin, though I don't like it as much as gmake. which you can download and compile after installing gcc. "Ryan J. McDonough" wrote: I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan-
Re: mod_jk on Solaris 8
If your client got the minimal Solaris 8 configuration then he probably did not register most of the software that came with the box. You will have to get cc and make somewhere else unless he registers the software that is on the CDs. Good luck. gp --- "Ryan J. McDonough" [EMAIL PROTECTED] wrote: I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan- __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text
RE: mod_jk on Solaris 8
OK. Try this: # file `which cc` /usr/ucb/cc:executable /usr/bin/sh script Solaris 8 ships with a batch file called cc in /usr/ucb For a compiler, download the gcc package from http://www.sunfreeware.com as for make, you should check your path. Make is in /usr/cc/bin # which make /usr/ccs/bin/make If make is not located there, then you should check to see if the system was setup with the Entire Distribution or developers distribution options. If it was installed with only the base distribution (packages), then the libraries and utilities for compiling software will not be installed. Also note, you'll have much better luck building mod_jk if you build apache from source. There is a build script in the TC3.3m2 package for mod_jk that can be used with any TC3 version. Mike. -- Mike Braden [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: Ryan J. McDonough [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 4:48 PM To: [EMAIL PROTECTED] Subject: mod_jk on Solaris 8 I'm trying help a client build mod_jk on a Solaris 8 System. I'm running into some problems that I think are cause by something not being installed. I don't have root access to the box so I can't just install things. Like I said, the system is Solaris 8 running JDK 1.3 and Tomcat 3.2.1. When I try to build mod_jk on the box as defined by the mod_jk howto, I get the following error: cc -DEAPI -DMOD_PERL -DUSE_EXPAT -O -G -Kpic -I/usr/apache/include -I../jk -I/usr/j2se/include -I /usr/j2se/include/solaris -DSOLARIS -c mod_jk.c /usr/ucb/cc: language optional software package not installed apxs:Break: Command failed with rc=65536 I'm assuming something is missing in "cc". Also "make" is not installed on this system either, which I believe could be part of the problem but I haven't had enough time with Solaris to be sure. Are there any know issues with mod_jk on Solaris 8 or does this installation need something further. Thanks in advance. Ryan-