Hello...

first.. tnaks for your fast answers..

Apachetoolbox is a nice shell-script, which helps you to compile Apache with
a lot of modules, if you want.. nice thing.. btw..

Ok.. But back to tomcat.. 
I deleted from the makefile, in the Apache-1.3 dir, the following line..

-S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \

and now the thing runs a little bit more.. BUT..

---snipp ---
    APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \
    /usr/local/apache/bin/apxs \
        -S CFLAGS="${APXS_CFLAGS}" \
        -o "mod_webapp.so" \
        -c "mod_webapp.c" \
        "/root/webapp-module-20011112/lib/libwebapp.a" \
        "/root/webapp-module-20011112/lib/libapr.a" ; \
}
cc -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI
-fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_HSREGEX -D
NO_DL_NEEDED -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FI
LE_OFFSET_BITS=64 -g -O2 -g -O2 -DLINUX=2 -D_REENTRANT
-I/root/webapp-module-200
11112/apr/include -I/root/webapp-module-20011112/include
-I/usr/local/apache/in
clude  -c mod_webapp.c
*Initialization*:1: warning: `LINUX' redefined
*Initialization*:1: warning: this is the location of the previous definition
  -o mod_webapp.so mod_webapp.o /root/webapp-module-20011112/lib/libwebapp.a
/ro
ot/webapp-module-20011112/lib/libapr.a
apxs:Break: Command failed with rc=16777215
make[2]: *** [mod_webapp.so] Error 1
make[2]: Leaving directory `/root/webapp-module-20011112/apache-1.3'
make[1]: Exiting directory "apache-1.3"

-- snipp---

and now.. was it wrong to delete the line ?? or is this a new problem which
has nothing to to with the deleted line..??

Thanks..

bye
Roman





> -----Original Message-----
> From: Pier Fumagalli [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 4:41 PM
> To: Tomcat Users List
> Subject: Re: mod_webapp compiling problems
> 
> 
> On 14/11/2001 03:26 pm, "Petry Roman, ITS-IT" 
> <[EMAIL PROTECTED]>
> wrote:
> 
> > Hello,
> > 
> > i compiled apache as follows... I need php and mod_perl.. 
> nothing more and
> > Tomcat of course..
> > 
> > export CFLAGS=""
> > export LIBS=""
> > export INCLUDES=""
> > ./configure --prefix=/usr/local/apache \
> > --enable-suexec \
> > --suexec-caller=nobody \
> > --enable-module=so \
> > --enable-module=access \
> > --disable-module=auth_db \
> > --disable-module=digest \
> > --enable-module=imap \
> > --enable-module=mime \
> > --enable-module=setenvif \
> > --disable-module=usertrack \
> > --enable-module=auth \
> > --disable-module=cern_meta \
> > --disable-module=expires \
> > --enable-module=log_config \
> > --disable-module=proxy \
> > --disable-module=vhost_alias \
> > --disable-module=auth_anon \
> > --enable-module=cgi \
> > --disable-module=headers \
> > --disable-module=log_referer \
> > --disable-module=rewrite \
> > --enable-module=userdir \
> > --enable-module=asis \
> > --enable-module=autoindex \
> > --disable-module=example \
> > --disable-module=log_agent \
> > --enable-module=negotiation \
> > --enable-module=status \
> > --enable-module=actions \
> > --disable-module=auth_dbm \
> > --enable-module=dir \
> > --enable-module=include \
> > --disable-module=mime_magic \
> > --disable-module=unique_id \
> > --enable-module=alias \
> > --disable-module=auth_digest \
> > --enable-module=env \
> > --disable-module=info \
> > --disable-module=mmap_static \
> > --disable-module=speling \
> > --enable-module=ssl \
> > --activate-module=src/modules/perl/libperl.a \
> > --activate-module=src/modules/php4/libphp4.a \
> 
> That seems right..
> 
> > i used the Apachetoolbox-1.5.44 to build the Apache, and it 
> seems to look
> > good..
> 
> What's that thing?
> 
> > apxs returns the following results.
> > apxs -q LDFLAGS_SHLIB
> > returns nothing, i gave no special config for the shlib..
> 
> Although you didn't set anything the variable should be there...
> 
> > Is it nessecary to put the webapp Directory in the Apache src dir..
> 
> Nope.
> 
>     Pier
> 
> 
> 
> --
> 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