Bryan Lipscy wrote:
> 
> I am trying to compile mod_jk to integrate Apache with Tomcat on a Solaris 8
> box.  I received the error detailed below.  Apache was installed with
> Solaris and loads mod_so.
> 
> What does the "language optional software package not installed" mean?  Is
> it significant? How do I fix it?
> 
> Why did apxs fail?
> What does the rc=65536 mean?
> How can it be solved?
> Does someone have a compiled mod_jk compiled on Solaris 8?
> 
> Thanks,
> Bryan
> 
> Error:
> root >build-solaris.sh
> Building mod_jk
> /usr/ucb/cc:  language optional software package not installed
> apxs:Break: Command failed with rc=65536
> Error with apxs

Your C compiler does not work... That is the problem (try LANG=C; export LANG
before before using build-solaris.sh).

mod_jk also allow to use configure - Check
jakarta-tomcat-connectors/jk/native/README.configure -

> 
> Environment:
> Solaris 8 Kernel 108528-06
> Sun 420R (4 * 450Mhz) 4GB Memory
> gcc: gcc-2.95.2
> perl, version 5.005_03 built for sun4-solaris
> JDK 1.3.1.01
> Apache v1.3 (Installed with Solaris 8)
> 
> Execute line:
> /usr/apache/bin/apxs -S CFLAGS=-DSOLARIS -DUSE_EXPAT -I../lib/expat-lite -o
> mod_jk.so -I../common -I/usr/java/include -I/usr/java/include/solaris -lposi
> x4 -c ../common/jk_ajp12_worker.c ../common/jk_ajp13.c
> ../common/jk_ajp13_worker.c ../common/jk_connect.c ../common/jk_jni_worker.c
> ../common/jk_lb_worker.c ../common/jk_map.c ../common/jk_msg_buff.c
> ../common/jk_nwmain.c ../common/jk_pool.c ../common/jk_sockbuf.c
> ../common/jk_uri_worker_map.c ../common/jk_util.c ../common/jk_worker.c
> mod_jk.c

Reply via email to