apache cmpilation problem with Jserv module

apache cmpilation problem with Jserv module

Post by cha.. » Wed, 24 Nov 1999 04:00:00



I compiled apache 1.3.9 fine the first time. Then I compiled Jserv fine
as well and I copied all the c files to modules/extra.
Now I want to compile apache with jserv added as a module
I do configure it goes OK but when I say make, I get an error saying
that modules/extra/libextra.a unable to find file or directory.
What is libextra.a  and why apache is expecting it to be there?

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

1. Problems adding Apache JServ module to Apache Web Server as a Dynamic Shared Object

Please someone help!!!

I am trying to add Apache Jserv as a dynamic
shared object to the Apache Web Server 1.3.9.

I have installed the binary Apache Web Server and
checked that it has DSO support enabled by
looking for mod_so.c when I ran httpd -l from
within the Apache bin directory.

Apache is running fine (I get a congratulations
page when I go to http://hostname with a web
browser).

I ran the configure script for Apache JServ with
the following options

*************************************
--enable-shared=max
--prefix=/cimage/jserv
--with-JSDK=/cimage/JSDK2.0/jsdk.jar
--with-apxs=/usr/local/apache/bin/apxs
**************************************
I then ran make ; make install.  This created the
docs directory in /cimage/jserv and
ApacheJServ.jar and mod_jserv.so
in /cimage/apache/libexec

I then restarted apachectl which complained about
the line which loads mod_jserv.so

******************************************
apachectl restart: httpd not running, trying to
start
Syntax error on line 238
of /cimage/apache/conf/httpd.conf:
Cannot load /cimage/apache/libexec/mod_jserv.so
into server: ld.so.1: /cimage/ap
ache/bin/httpd:
fatal: /cimage/apache/libexec/mod_jserv.so:
unknown file type
apachectl restart: httpd could not be started
*******************************************

However when running file against mod_jserv.so it
says 'current ar archive, not a dynamic
executable or shared object'

What have I done wrong?

Thanks in advance

Fran

Sent via Deja.com http://www.deja.com/
Before you buy.

2. How do I make Linux recognize my modem?

3. Unable to compile jserv module on Apache 1.3.1

4. SMBus driver on a fresh RedHat system ?

5. Apache won't recognize Jserv Module

6. Reading is much more interesting than TV (1046/1708)

7. Q: Apache module jserv: compile?

8. Designing a home network with Linux and NT

9. Adding a module to Apache disables jserv

10. Jserv module problem

11. Apache Jserv / java servlets under FreeBSD Apache

12. mod_ssl + jserv on Apache Solaris problem

13. Apache - Jserv configuration problems.