Hi,

have a look at the HOWTO produced by Simon.

http://www.pubbitch.org/jboss/

bye Michael Delamere


----- Original Message -----
From: "Ford, Richard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 7:05 PM
Subject: Apache 2.0, mod_webapp, Redhat 7.2 build problem


> Well, I can't seem to get mod_webapp built under RedHat 7.2.
> I can't build the connector, and I'm not entirely sure why. I'm
> using Apache 2.0.35, which builds fine with no errors, and the
> latest snapshot of apr. mod_webapp is from the 4.0.2-01 bundle
> of the connectors.
>
> Apache was build with --prefix=/usr/local/apache --enable-so.
> For mod_webapp, I tried --with-apache-apxs=/usr/local/apache/bin/apxs
> --with-apr= etc. However, I always get an error from libtool:
>
> Compiling and Linking Apache 2.0 WebApp Module
> /usr/local/apache2/bin/apxs -I../include -c -L ../lib -lwebapp
mod_webapp.c
> /usr/local/apache2/build/libtool --silent --mode=compile
c   -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=
500 -D_BSD_SOURCE -D_SVID_SOURCE -g -O2 -pthread -I/usr/local/apache2/includ
e -I../include  -c -o mod_webapp.lo mod_webapp.c && touch mod_webapp.slo
> mod_webapp.c: In function `wam_invoke':
> mod_webapp.c:482: warning: initialization discards qualifiers from pointer
target type
> /usr/local/apache2/build/libtool --silent --mode=link gcc -o
mod_webapp.la -rpath
/usr/local/apache2/modules -module -avoid-version -I../include  -L../lib -lw
ebapp  mod_webapp.lo
>
> *** Warning: This library needs some functionality provided by -lwebapp.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
>
> *** Warning: libtool could not satisfy all declared inter-library
> *** dependencies of module mod_webapp.  Therefore, libtool will create
> *** a static module, that should work as long as the dlopening
> *** application is linked with the -dlopen flag.
> make[2]: Leaving directory
`/home/root/pkgs/pkgs/jakarta-tomcat-connectors-4.0.2-01-src/webapp/apache-2
.0'
> make[1]: Exiting directory "apache-2.0"
> make[1]: Leaving directory
`/home/root/pkgs/pkgs/jakarta-tomcat-connectors-4.0.2-01-src/webapp'
>
> Of course, no .so gets produced.
>
> I did a search of the archives and couldn't find an answer. libtool is
pretty recent:
>
> [root@localhost webapp]# libtool --version
> ltmain.sh (GNU libtool) 1.4.2 (1.922.2.53 2001/09/11 03:18:52)
>
> Any idea what is happening?
>
> Richard
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to