Steffen Haase at [EMAIL PROTECTED] wrote:

> Hi Pier,
> 
> "Pier P. Fumagalli" wrote:
> 
>> Don't worry... This is a patch that should make your module compile:
> 
> I can compile, thats not the problem. I can't linking the mod_webapp.so

That patch fixed the double definition of -DLINUX in the compilation, that's
right...

>> RCS file:
>> /home/cvs/jakarta-tomcat-connectors/webapp/apache-1.3/Makefile.in,v
> 
> I changed my Makefile, but that's only a patch for compiling.

Yes... My bad (should read things twice or three times before replying).

> Steffen
> 
> ---------- error message ------------
> Compiling sources in
> /usr/local/install/jakarta/jakarta-tomcat-connectors/webapp/lib...
> make[1]: Entering directory
> `/usr/local/install/jakarta/jakarta-tomcat-connectors/webapp/lib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/usr/local/install/jakarta/jakarta-tomcat-connectors/webapp/lib'
> 
> Compiling sources in
> /usr/local/install/jakarta/jakarta-tomcat-connectors/webapp/apache-1.3...
> make[1]: Entering directory
> `/usr/local/install/jakarta/jakarta-tomcat-connectors/webapp/apache-1.3'
> Linking Apache 1.3 WebApp Module
> /usr/local/install/jakarta/apr/libtool: mod_webapp.lo: command not found
> make[1]: *** [mod_webapp.so] Error 127
> make[1]: Leaving directory
> `/usr/local/install/jakarta/jakarta-tomcat-connectors/webapp/apache-1.3'
> make: *** [local-all] Error 2
> cheiron:/usr/local/install/jakarta/jakarta-tomcat-connectors/webapp #

I'm looking at your Makefiles, and somehow there's something I don't
understant... It seems that your httpd is not configured to support DSO
modules. Can you check that the output of "httpd -l" includes "mod_so.c"?

Also, your "apxs" should export the command used for linking DSO modules.
For example, in my case when I hit "apxs -q LD_SHLIB", I get "cc", my
default "ld" command used for linking DSO modules... While from the makefile
you sent me, it seems that "apxs" is not outputting that value correctly.

Can you check those two things? Sorry for troubles...

    Pier

Reply via email to