----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I am trying to install tomcat with Apache.

I thought it would /should be simple, so perhaps I am missing something.

The install user guide notes say to look for the mod_jserv file in the 
binary directory, but I don't find anything there for Apache, or in fact 
ANY mod_jserv files. Since Apache is the most popular server around, this 
surprised me.

So I got the tomcat source distribution, and did the build command 
requested, (see below), but it fails.

I have am not sure what to do; I thought that -ldbm was a library spec, not 
a file spec, so... ??

I also see in the FAQ that one can use the Jserv mod_jserv.so but it is not 
recommended, yes?

Thanks for any hints, or notes on where I should have looked for this!

Gregory Guthrie
(please also reply directly: [EMAIL PROTECTED])
------------------------------------

alpha{root}.231: !ap
apxs -c *.c -o mod_jserv.so
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c autochange.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_ajpv11.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_ajpv12.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_balance.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_image.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_mmap.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_protocols.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_status.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_utils.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_watchdog.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_wrapper.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_wrapper_unix.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c jserv_wrapper_win.c
gcc -DLINUX=2 -DUSE_HSREGEX -fpic -DSHARED_MODULE 
-I/usr/include/apache-1.3  -c mod_jserv.c
ld -Bshareable -lc -o autochange.so mod_jserv.o jserv_wrapper_win.o 
jserv_wrapper_unix.o jserv_wrapper.o jserv_watchdog.o jserv_utils.o 
jserv_status.o jserv_protocols.o jserv_mmap.o jserv_image.o jserv_balance.o 
jserv_ajpv12.o jserv_ajpv11.o autochange.o -o mod_jserv.so -lm -lcrypt 
-ldbm -ldb
ld: cannot open -ldbm: No such file or directory
apxs:Break: Command failed with rc=65536

--------------------------------------------------------
Gregory Guthrie
[EMAIL PROTECTED]         (515)472-1125    Fax: -1103
--------------------------------------------------------



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to