RE: mod_webapp build problem

2002-05-02 Thread GOMEZ Henri

 
 I'm trying to build a rpm for mod_webapp against
 apache 1.3.23-mod_ssl and apache 2.0.35 on a redhat 7.2 box
 
 apache-2.0 failed :

Working on it Henri... I have a whole new kit that I'm going to commit
pretty soon, once it's done... Here's a short-hand patch from 
my machine,
I'm breaking few bits and pieces (so right now the 2.0 doesn't 
even try to
compile), but I'm getting a hold on the beast...

Excellent, as soon as you could fix the 2.0.35 libtool problem,
I'll be able to release mod_webapp rpm. It works allready for
Apache 1.3.

BTW : May I recommand you to make a webapp snapshot, for example in 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/webapp/
including a source tarball with just a webapp part of jtc, and also
APR tarball from 2.0.35.

See my next proposal :)


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




mod_webapp build problem

2002-04-30 Thread GOMEZ Henri

Hi,

I'm trying to build a rpm for mod_webapp against
apache 1.3.23-mod_ssl and apache 2.0.35 on a redhat 7.2 box

apache-2.0 failed :

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--
/etc/httpd2/build/libtool --silent --mode=finish \
/usr/src/redhat/BUILD/mod_webapp-1.0/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/lib
make[2]: Leaving directory 
`/usr/src/redhat/BUILD/mod_webapp-1.0/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/lib'
make[1]: Exiting directory lib
make[1]: Leaving directory 
`/usr/src/redhat/BUILD/mod_webapp-1.0/jakarta-tomcat-connectors-4.0.4-b2-src/webapp'
make[1]: Entering directory 
`/usr/src/redhat/BUILD/mod_webapp-1.0/jakarta-tomcat-connectors-4.0.4-b2-src/webapp'

make[1]: Entering directory apache-2.0
make[1]: Invoking make  build
make[2]: Entering directory 
`/usr/src/redhat/BUILD/mod_webapp-1.0/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/apache-2.0'
Compiling and Linking Apache 2.0 WebApp Module
/usr/sbin/apxs2 -I../include -c -L ../lib -lwebapp mod_webapp.c
/etc/httpd2/build/libtool --silent --mode=compile gcc  -O2 -march=i386 -mcpu=i686 
-DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -D_SVID_SOURCE -pthread -DNO_DBM_REWRITEMAP -I/usr/include/apache2 
-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
/etc/httpd2/build/libtool --silent --mode=link gcc -o mod_webapp.la -rpath 
/usr/lib/apache2 -module -avoid-version -I../include  -L../lib -lwebapp  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 
`/usr/src/redhat/BUILD/mod_webapp-1.0/jakarta-tomcat-connectors-4.0.4-b2-src/webapp/apache-2.0'
make[1]: Exiting directory apache-2.0
make[1]: Leaving directory 
`/usr/src/redhat/BUILD/mod_webapp-1.0/jakarta-tomcat-connectors-4.0.4-b2-src/webapp'

my libtool is not too old.

libtool --version
ltmain.sh (GNU libtool) 1.4 (1.920 2001/04/24 23:26:18)

apache 1.3 works :

with APR source from Apache 2.0.35 copy

What's that libtool problem ?

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: mod_webapp build problem

2002-04-30 Thread Pier Fumagalli

GOMEZ Henri [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm trying to build a rpm for mod_webapp against
 apache 1.3.23-mod_ssl and apache 2.0.35 on a redhat 7.2 box
 
 apache-2.0 failed :

Working on it Henri... I have a whole new kit that I'm going to commit
pretty soon, once it's done... Here's a short-hand patch from my machine,
I'm breaking few bits and pieces (so right now the 2.0 doesn't even try to
compile), but I'm getting a hold on the beast...

Pier

--
I think that it's extremely foolish to name a server after the current U.S.
President. B.W. Fitzpatrick





webapp-buildpatch.txt
Description: Binary data

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]