Something we try to add in web-connector will be
autoconf/libtool stuff to ease the build of mod_jk :)
-
Henri Gomez ___[_]____
EMAIL : [EMAIL PROTECTED] (. .)
PGP KEY : 697ECEDD ...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6
>-----Original Message-----
>From: Marc-henri PAMISEUX [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, May 03, 2001 5:13 PM
>To: [EMAIL PROTECTED]
>Subject: Error when compiling mod_jk under HPUX 11.00 : jk_global.h
>
>
>Hi,
>
>I'm trying to compile mod_jk under HPUX 11.00 with gcc.
>gcc (2.95.2) works find, i've ever compiled some opensources with it.
>I've also installed binutils before gcc.
>I've installed apache from the source and it works properly with a DSO
>support.
>I've download jakarta-tomcat-3.2.1-bin, and it work properly
>on hpux 11.00,
>but now i'd like to compile mod_jk.
>So, i've download jakarta-tomcat-3.2.1-src, and i went in
>src/native/apache1.3 to compile mod_jk.
>I'm trying to compile mod_jk with the following Makefile
>(Notes that all the
>path are correct on my system):
>
> OS=hp-ux
>
> JAVA_INCL=-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS}
> JAVA_LIB=-L ${JAVA_HOME}/jre/lib/${ARCH} -L
>${JAVA_HOME}/lib/${ARCH}/native_threads
> #ifndef APXS
> APXS=/usr/sbin/apxs
> #endif
>
> JK=../jk/
> SRCS=../jk/jk_ajp12_worker.c ../jk/jk_connect.c ../jk/jk_msg_buff.c
>../jk/jk_util.c ../jk/jk_ajp13.c \
> ../jk/jk_jni_worker.c ../jk/jk_pool.c ../jk/jk_worker.c
>../jk/jk_ajp13_worker.c ../jk/jk_lb_worker.c \
> ../jk/jk_sockbuf.c ../jk/jk_map.c ../jk/jk_uri_worker_map.c
>
> all: mod_jk.so
>
> mod_jk.so:
> $(APXS) -I ../jk ${JAVA_INCL} -c -o $@ mod_jk.c $(SRCS)
>
> clean:
> rm *.o *.so
>
>Then, i did a make, and the result is :
>
> In file included from mod_jk.c:89:
> ../jk/jk_global.h:91: sys/select.h: No such file or directory
> apxs:Break: Command failed with rc=1
> *** Error exit code 1
>
> Stop.
>
>Daniel Brack said on Fri, 9 Mar 2001 on this list that he know
>that there
>are problems compiling on HPUX11 and modifications in jk_global.h and
>jk_pool.h are neccesary.
>Ok, maybe, but i don't know what sort of modifications in
>jk_global.h and
>jk_pool.h i need to apply ?
>Of course, on hpux, there is no sys/select.h anywhere... It's
>a glibc lib !
>Does anyone can help me, and show me these modifications ?
>
>Regards,
>
>Marc-Henri PAMISEUX
>Administrateur Syst�mes et R�seaux
>[EMAIL PROTECTED]
>
>CLG
>34 Avenue des Champs Elys�es
>75008 Paris
>