I tried that, here's the output. For some reason it can't find the
webserver. I was playing with the version in "native2", it required
the --with-apxs2 option, but I haven't got that one to compile yet, I'm
getting make errors.
Configure output...
----------------------------------------------------------------------------
---------------
# ./configure --with-apxs2=/usr/local/apache2/bin/apxs
loading cache ./config.cache
checking for a BSD compatible install... scripts/build/unix/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking host system type... i586-sco-sysv5uw7.1.1
checking build system type... i586-sco-sysv5uw7.1.1
checking for ranlib... (cached) :
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for BSD-compatible nm... (cached) /usr/bin/nm -p
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking command to parse /usr/bin/nm -p output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/ccs/bin/ld option to reload object files... -r
checking dynamic linker characteristics... sysv5uw7.1.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... (cached) no
creating libtool
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for test... (cached) /usr/bin/test
checking for rm... (cached) /sbin/rm
checking for grep... (cached) /sbin/grep
checking for echo... (cached) /usr/local/bin/echo
checking for sed... (cached) /usr/bin/sed
checking for cp... (cached) /sbin/cp
checking for mkdir... (cached) /usr/bin/mkdir
checking for libtool... (cached) /usr/local/bin/libtool
no apxs given
checking for target platform... unix
no apache given
configure: error: Cannot find the WebServer
----------------------------------------------------------------------------
---------------
--mikej
-=-----
mike jackson
[EMAIL PROTECTED]
> -----Original Message-----
> From: Turner, John [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 9:02 AM
> To: 'Tomcat Users List'
> Subject: RE: problems compiling and using mod_jk
>
>
>
> I think the culprit is the --with-apxs option, now that I think about it.
>
> Apache 1.3: --with-apxs=/path/to/apache/bin/apxs
>
> Apache 2.0: --with-apxs2=/path/to/apache2/bin/apxs
>
> I'm going to try it right now on RH 7.2 for apache 2.0 and see what's
> what...its been several weeks since I did it and I need a refresher.
>
> John
>
> > -----Original Message-----
> > From: Mike Jackson [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 26, 2003 11:53 AM
> > To: Tomcat Users List
> > Subject: RE: problems compiling and using mod_jk
> >
> >
> > I don't see anything in particular, but I might be missing
> > something. The
> > only thing that looked worrisome was the "no apache given"
> > message output
> > from the configure script. But maybe one of you folks will
> > have a clue that
> > I don't.
> >
> > Here's the output from ./configure
> > --with-apxs=/usr/local/apache2/bin/apxs
> > --------------------------------------------------------------
> > --------------
> > ----------------
> > # ./configure --with-apxs=/usr/local/apache2/bin/apxs
> > loading cache ./config.cache
> > checking for a BSD compatible install...
> > scripts/build/unix/install-sh -c
> > checking whether build environment is sane... yes
> > checking whether make sets ${MAKE}... (cached) yes
> > checking for working aclocal... found
> > checking for working autoconf... found
> > checking for working automake... found
> > checking for working autoheader... found
> > checking for working makeinfo... missing
> > checking host system type... i586-sco-sysv5uw7.1.1
> > checking build system type... i586-sco-sysv5uw7.1.1
> > checking for ranlib... (cached) :
> > checking for gcc... (cached) gcc
> > checking whether the C compiler (gcc ) works... yes
> > checking whether the C compiler (gcc ) is a cross-compiler... no
> > checking whether we are using GNU C... (cached) yes
> > checking whether gcc accepts -g... (cached) yes
> > checking for ld used by GCC... (cached) /usr/ccs/bin/ld
> > checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
> > checking for BSD-compatible nm... (cached) /usr/bin/nm -p
> > checking whether ln -s works... (cached) yes
> > loading cache ./config.cache within ltconfig
> > checking for object suffix... o
> > checking for executable suffix... (cached) no
> > checking for gcc option to produce PIC... -fPIC
> > checking if gcc PIC flag -fPIC works... yes
> > checking if gcc supports -c -o file.o... yes
> > checking if gcc supports -c -o file.lo... yes
> > checking if gcc supports -fno-rtti -fno-exceptions ... yes
> > checking if gcc static flag -static works... -static
> > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> > checking whether the linker (/usr/ccs/bin/ld) supports shared
> > libraries...
> > yes
> > checking command to parse /usr/bin/nm -p output... ok
> > checking how to hardcode library paths into programs... immediate
> > checking for /usr/ccs/bin/ld option to reload object files... -r
> > checking dynamic linker characteristics... sysv5uw7.1.1 ld.so
> > checking if libtool supports shared libraries... yes
> > checking whether to build shared libraries... yes
> > checking whether to build static libraries... yes
> > checking for objdir... .libs
> > checking for dlfcn.h... (cached) yes
> > checking whether a program can dlopen itself... (cached) no
> > creating libtool
> > loading cache ./config.cache
> > checking for gcc... (cached) gcc
> > checking whether the C compiler (gcc -g -O2 ) works... yes
> > checking whether the C compiler (gcc -g -O2 ) is a
> > cross-compiler... no
> > checking whether we are using GNU C... (cached) yes
> > checking whether gcc accepts -g... (cached) yes
> > checking for ld used by GCC... (cached) /usr/ccs/bin/ld
> > checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
> > checking for test... (cached) /usr/bin/test
> > checking for rm... (cached) /sbin/rm
> > checking for grep... (cached) /sbin/grep
> > checking for echo... (cached) /usr/local/bin/echo
> > checking for sed... (cached) /usr/bin/sed
> > checking for cp... (cached) /sbin/cp
> > checking for mkdir... (cached) /usr/bin/mkdir
> > checking for libtool... (cached) /usr/local/bin/libtool
> > need to check for Perl first, apxs depends on it...
> > checking for perl... (cached) /usr/local/bin/perl
> > building connector for "apache-2.0"
> > checking for target platform... unix
> > no apache given
> > creating ./config.status
> > creating Makefile
> > creating apache-1.3/Makefile
> > creating apache-1.3/Makefile.apxs
> > creating apache-2.0/Makefile
> > creating apache-2.0/Makefile.apxs
> > creating common/Makefile
> > creating common/list.mk
> > creating jni/Makefile
> > --------------------------------------------------------------
> > --------------
> > ----------------
> >
> > And here's config.log
> > --------------------------------------------------------------
> > --------------
> > ----------------
> > This file contains any messages produced by compilers while
> > running configure, to aid debugging if configure makes a mistake.
> >
> > configure:694: checking for a BSD compatible install
> > configure:747: checking whether build environment is sane
> > configure:804: checking whether make sets ${MAKE}
> > configure:850: checking for working aclocal
> > configure:863: checking for working autoconf
> > configure:876: checking for working automake
> > configure:889: checking for working autoheader
> > configure:902: checking for working makeinfo
> > configure:994: checking host system type
> > configure:1015: checking build system type
> > configure:1035: checking for ranlib
> > configure:1065: checking for gcc
> > configure:1178: checking whether the C compiler (gcc ) works
> > configure:1194: gcc -o conftest conftest.c 1>&5
> > configure:1220: checking whether the C compiler (gcc ) is a
> > cross-compiler
> > configure:1225: checking whether we are using GNU C
> > configure:1253: checking whether gcc accepts -g
> > configure:1296: checking for ld used by GCC
> > configure:1358: checking if the linker (/usr/ccs/bin/ld) is GNU ld
> > configure:1374: checking for BSD-compatible nm
> > configure:1410: checking whether ln -s works
> > ltconfig:603: checking for object suffix
> > ltconfig:604: gcc -c -g -O2 conftest.c 1>&5
> > ltconfig:776: checking if gcc PIC flag -fPIC works
> > ltconfig:777: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5
> > ltconfig:829: checking if gcc supports -c -o file.o
> > ltconfig:830: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5
> > ltconfig:862: checking if gcc supports -c -o file.lo
> > ltconfig:863: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5
> > ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
> > ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c
> > conftest.c 1>&5
> > ltconfig:958: checking if gcc static flag -static works
> > ltconfig:959: gcc -o conftest -g -O2 -static conftest.c 1>&5
> > ltconfig:1653: checking if global_symbol_pipe works
> > ltconfig:1654: gcc -c -g -O2 conftest.c 1>&5
> > ltconfig:1657: eval "/usr/bin/nm -p conftest.o | sed -n -e
> > *[ ]\([BCDEGRST]\)[ ][ ]*\(\
> > )\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
> > ltconfig:1709: gcc -o conftest -g -O2 -fno-builtin -fno-rtti
> > -fno-exceptions
> > conftest.c conftstm.o 1>&5
> > ltconfig:2488: checking for dlfcn.h
> > ltconfig:2526: checking whether a program can dlopen itself
> > configure:1598: checking for gcc
> > configure:1711: checking whether the C compiler (gcc -g -O2 ) works
> > configure:1727: gcc -o conftest -g -O2 conftest.c 1>&5
> > configure:1753: checking whether the C compiler (gcc -g -O2 ) is a
> > cross-compiler
> > configure:1758: checking whether we are using GNU C
> > configure:1786: checking whether gcc accepts -g
> > configure:1830: checking for ld used by GCC
> > configure:1892: checking if the linker (/usr/ccs/bin/ld) is GNU ld
> > configure:1911: checking for test
> > configure:1948: checking for rm
> > configure:1985: checking for grep
> > configure:2022: checking for echo
> > configure:2059: checking for sed
> > configure:2096: checking for cp
> > configure:2133: checking for mkdir
> > configure:2170: checking for libtool
> > configure:2224: checking for perl
> > configure:2339: checking for target platform
> > --------------------------------------------------------------
> > --------------
> > ----------------
> >
> > --mikej
> > -=-----
> > mike jackson
> > [EMAIL PROTECTED]
> >
> > > -----Original Message-----
> > > From: Turner, John [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, February 26, 2003 8:48 AM
> > > To: 'Tomcat Users List'
> > > Subject: RE: problems compiling and using mod_jk
> > >
> > >
> > >
> > > Maybe we should revisit the "bunch of libtoolize
> > errors"...I was able to
> > > ignore them, but perhaps they meant something on your OS.
> > You're using
> > > UnixWare, right?
> > >
> > > What does the configure log/status file say? Anything suspicious?
> > >
> > > John
> > >
> > >
> > > > -----Original Message-----
> > > > From: Mike Jackson [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, February 26, 2003 11:46 AM
> > > > To: Tomcat Users List
> > > > Subject: RE: problems compiling and using mod_jk
> > > >
> > > >
> > > > How should I proceed?
> > > >
> > > > --mikej
> > > > -=-----
> > > > mike jackson
> > > > [EMAIL PROTECTED]
> > > >
> > > > > -----Original Message-----
> > > > > From: Turner, John [mailto:[EMAIL PROTECTED]
> > > > > Sent: Wednesday, February 26, 2003 8:37 AM
> > > > > To: 'Tomcat Users List'
> > > > > Subject: RE: problems compiling and using mod_jk
> > > > >
> > > > >
> > > > >
> > > > > That's munged up somehow. I've never had to do Step
> > #7, the file
> > > > > that I get
> > > > > resulting from "make" is called mod_jk.so.
> > > > >
> > > > > John
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Mike Jackson [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Wednesday, February 26, 2003 11:33 AM
> > > > > > To: Tomcat Users List
> > > > > > Subject: problems compiling and using mod_jk
> > > > > >
> > > > > >
> > > > > > Ok, here's what I've done:
> > > > > >
> > > > > > 1) grab latest connector sources
> > > > > > 2) cd $SRC/jk/native
> > > > > > 3) ./buildconf.sh
> > > > > > 4) ./configure --with-apxs=/usr/local/apache2/bin/apxs
> > > > > > 5) make
> > > > > > 6) cd apache-2.0
> > > > > > 7) cp libmod_jk.so.0.0.0 /usr/local/apache2/modules
> > > > > > 8) cd /usr/local/apache2/modules
> > > > > > 9) ln -s libmod_jk.so.0.0.0. mod_jk.so
> > > > > > 10) /usr/local/apache2/bin/apachectl start
> > > > > >
> > > > > > And what I got was:
> > > > > >
> > > > > > 1) bunch of libtoolizer errors, but according to
> > > > > > http://www.johnturner.com/howto I don't have to worry
> > about that.
> > > > > > 2) # bin/apachectl start
> > > > > > Syntax error on line 232 of
> > /usr/local/apache2/conf/httpd.conf:
> > > > > > Cannot load /usr/local/apache2/modules/mod_jk.so into
> > > > server: dynamic
> > > > > > linker: /usr/local/apache2/bin/httpd: relocation error:
> > > > > > symbol not found:
> > > > > > ap_content_type_tolower; referenced from:
> > > > > > /usr/local/apache2/modules/mod_jk.so
> > > > > >
> > > > > >
> > > > > > --mikej
> > > > > > -=-----
> > > > > > mike jackson
> > > > > > [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > >
> > ---------------------------------------------------------------------
> > > > > > 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]
> > > > >
> > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > 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]
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]