When I try this on my system, I get the following error:

could not find /usr/sbin/apxs
configure: error: You must specify a valid --with-apxs path

but this script does exist. I know it exists, because I had to fix it (was pointing to a bad path).

--
It is pointless to resist. - Darth Vader, Sith Lord
On Jan 29, 2004, at 4:28 AM, Joost Veldkamp wrote:

I have a similar problem on Debian 3.0/stable.
When i compile it, the .so file is not generated with no errors, the
only error i can find is when I try to compile it with apxs manualy.

Warning! dlname not found in /usr/local/apache2/modules/mod_jk2.la.

compile options:
./configure \
--with-java-home=/usr/local/java \
--with-jni \
--with-tomcat41=/usr/local/tomcat \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-apr-include=/usr/local/apr/include/apr-0


However, if use the same setup on a Debian unstable system, everything
compiles fine. I can't copy the binaries to the stable system because it
uses a different libc.


Does anyone know how i can locate the source of this problem?

--
J

On Thu, 2004-01-29 at 09:54, OUTTERS Guillaume wrote:
Thomas Cherry wrote:

I was expecting to have a mod_jk.so file (which made me question why ant was
the build tool) but have not found it.

I had this same problem on Solaris. I finally found that it couldn't generate a mod_jk2.so (dynamic library), only a static one (mod_jk2.a) because Apache didn't provide it dynamic libraries ($HTTPD_DIR/lib/libapr-0.so and $HTTPD_DIR/lib/libaprutil-0.so). I had only their static version, so mod_jk2 detected that and created everything in static.

I recompiled Apache with a bunch of options (join lines as necessary):
export HTTPD_DIR=/usr/local/httpd-2.0.48
./configure --prefix="$HTTPD_DIR" --enable-module=most
--enable-shared=most --without-gdbm --without-berkeley-db
--with-mpm=worker --with-pcre --enable-so --enable-rule=SHARED_CORE
--enable-static=no --enable-shared=yes
make
, most of which must be unuseful but well it worked.

I've heard that another static-compiled library on Linux could have this
effect (but I don't remember which one, wondering if it is not PCRE),
and that disabling it was the right solution.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to