tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AC <>
Subject Re: help building mod_jk
Date Wed, 28 Feb 2001 07:20:13 GMT
this is an old problem. You should look first to the mailing list database! 
however I wonder why this bug still exist!
This is an old response.
I'm not sure where is the error in the makefile because I'm not a shell 
expert, but I solve the problem launching by myself apxs.
The location of the apxs is (in my configuration) /usr/local/sbin/ instead 
of ${APACHE_HOME}/bin/
After correcting this I launch the Makefile that compile the 
(make all). The script launch :

/usr/local/sbin/apxs -c -I/usr/local/jdk1.1.8/include 
-I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/local/apache/include 
-I../jk mod_jk.c

As you can see it compiles only the mod_jk.c. The command you have to 
launch is:

/usr/local/sbin/apxs -c -I/usr/local/jdk1.1.8/include 
-I/usr/local/jdk1.1.8/include/freebsd -DFREEBSD -I/usr/local/apache/include 
-I../jk mod_jk.c ../jk/*.c

If you use a different jdk just yank the apxs command and add ../jk/*.c at 
the end as I did.

It works with all the jdk (1.1.8, 1.2 beta native and 1.2 linux)


At 21.21 27/02/2001 -0600, you wrote:
>Can any one make a suggestion as to solving following error.
>bash-2.04# apachectl configtest
>Syntax error on line 8 of /usr/local/www/conf/mod_jk.conf-auto:
>Cannot load /usr/local/www/libexec/ into server: 
>/usr/local/www/libexec/ Undefined symbol "map_name_at"
>Kiet Duong

View raw message