You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rd...@harlequin.co.uk on 2001/05/09 11:57:56 UTC

Failure to compile mod_jk

A newbie question, I fear.

In trying to compile mod_jk.c from Tomcat 3.2.1 against Apache 2.0.16 on Solaris
2.7, I get the following message:

~/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
-I/usr/java/include/solaris -c *.c ../jk/*.c
libtool --silent --mode=compile gcc  -I/u/rday/local/apache/include -I../jk
-I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c mod_jk.c && touch
mod_jk.slo
mod_jk.c:76: http_conf_globals.h: No such file or directory
apxs:Break: Command failed with rc=65536

I'm assuming that the file should be in the apache include, but isn't. Is there
another place it should be?

I've looked in the mail archive and the FAQ but I can't see any mention of this
problem - could someone point me at the right part of the FAQ, please?

Roger



Re: Failure to compile mod_jk

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
The mod_jk.so module will not work with Apache 2.0.x, you must use v1.3.x.


On Wed, 9 May 2001 rday@harlequin.co.uk wrote:

> A newbie question, I fear.
> 
> In trying to compile mod_jk.c from Tomcat 3.2.1 against Apache 2.0.16 on Solaris
> 2.7, I get the following message:
> 
> ~/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include
> -I/usr/java/include/solaris -c *.c ../jk/*.c
> libtool --silent --mode=compile gcc  -I/u/rday/local/apache/include -I../jk
> -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c mod_jk.c && touch
> mod_jk.slo
> mod_jk.c:76: http_conf_globals.h: No such file or directory
> apxs:Break: Command failed with rc=65536
> 
> I'm assuming that the file should be in the apache include, but isn't. Is there
> another place it should be?
> 
> I've looked in the mail archive and the FAQ but I can't see any mention of this
> problem - could someone point me at the right part of the FAQ, please?
> 
> Roger
> 
> 

------------------------------------------------
"Mon aeroglisseur est plein d'anguilles"

John P. Dodge
Boeing Shared Services Group