You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Chris Pepper <pe...@mail.reppep.com> on 2001/02/27 22:43:27 UTC

Building mod_jk 3.2.1 on Solaris

Cats,

	I'm trying to build mod_jk for use with Apache 1.3.14 + mod_ssl 2.7 on Solaris 8, following instructions at <http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html#s62>. Apache+mod_ssl is already compiled and working, but apxs fails, and mod_jk.so doesn't get built.

	What am I doing wrong here?


						Thx,


						Chris Pepper
PS-/usr/local/apache/include is present and contains two .h files. ../jk is also present.

[pepper@gensat apache1.3]$ /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c mod_jk.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_ajp12_worker.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_ajp13.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_ajp13_worker.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_connect.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_jni_worker.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_lb_worker.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_map.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_msg_buff.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_nwmain.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_pool.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_sockbuf.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_uri_worker_map.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_util.c
gcc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_worker.c
  -o mod_jk.so 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 mod_jk.o 
apxs:Break: Command failed with rc=255

-- 
Chris Pepper:                   <http://www.reppep.com/~pepper/>
Rockefeller U Computing Services:  <http://www.rockefeller.edu/>
Mac OS X Software:                      <http://www.mosxsw.com/>

Re: Building mod_jk 3.2.1 on Solaris

Posted by Filip Hanik <fi...@filip.net>.
http://news.pakana.com/mod_jk.so

already compiled.

try using the "-ipxl4" (something like that) flag

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
filip@filip.net
www.filip.net
----- Original Message -----
From: "Chris Pepper" <pe...@mail.reppep.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, February 27, 2001 1:43 PM
Subject: Building mod_jk 3.2.1 on Solaris


> Cats,
>
> I'm trying to build mod_jk for use with Apache 1.3.14 + mod_ssl 2.7 on
Solaris 8, following instructions at
<http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html#s
62>. Apache+mod_ssl is already compiled and working, but apxs fails, and
mod_jk.so doesn't get built.
>
> What am I doing wrong here?
>
>
> Thx,
>
>
> Chris Pepper
> PS-/usr/local/apache/include is present and contains two .h files. ../jk
is also present.
>
> [pepper@gensat apache1.3]$ /usr/local/apache/bin/apxs -o
mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris 
-c *.c ../jk/*.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c mod_jk.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_ajp12_worker.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_ajp13.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_ajp13_worker.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_connect.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_jni_worker.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_lb_worker.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_map.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_msg_buff.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_nwmain.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_pool.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_sockbuf.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_uri_worker_map.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_util.c
>
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/loc
al/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -D
SOLARIS  -c ../jk/jk_worker.c
>   -o mod_jk.so 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 mod_jk.o
> apxs:Break: Command failed with rc=255
>
> --
> Chris Pepper:                   <http://www.reppep.com/~pepper/>
> Rockefeller U Computing Services:  <http://www.rockefeller.edu/>
> Mac OS X Software:                      <http://www.mosxsw.com/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-dev-help@jakarta.apache.org
>
>