From tomcat-dev-return-1981-qmlist-jakarta-archive-tomcat-dev=jakarta.apache.org@jakarta.apache.org Mon Dec 03 10:14:13 2001 Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 41227 invoked from network); 3 Dec 2001 10:14:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Dec 2001 10:14:13 -0000 Received: (qmail 17680 invoked by uid 97); 3 Dec 2001 10:14:18 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 17648 invoked by uid 97); 3 Dec 2001 10:14:17 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 17637 invoked from network); 3 Dec 2001 10:14:16 -0000 Sender: jfclere@vtxrm2.bcn.fsc.net Message-ID: <3C0B50CA.880ADE4D@fujitsu-siemens.com> Date: Mon, 03 Dec 2001 11:15:38 +0100 From: jean-frederic clere Reply-To: jfrederic.clere@fujitsu-siemens.com X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.7 i686) X-Accept-Language: en, fr, de MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: mod_webapp fails to build References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Andrew Savory wrote: > > Hi, > > I'm not having much joy with building webapp-module-1.0.1-tc401 source on > Debian 2.2r4 i686. > > 1) The instructions for building it are incorrect, as they say if you > download a source distribution, all you have to do is: > > ./configure --with-apxs > > ... unfortunately, ./configure is not there until ./support/buildconf.sh > has been run. I am afraid that is my fault... > > 2) After doing ./support/buildconf.sh && ./configure --with-apxs && make I > always get a failed compile: > > { APXS_LDFLAGS_SHLIB="`/usr/bin/apxs -q LDFLAGS_SHLIB` \ > \ > -lm -lcrypt -lnsl -ldl" ; \ > APXS_LDFLAGS_SHLIB=`/bin/echo ${APXS_LDFLAGS_SHLIB}` ; \ > APXS_CFLAGS="`/usr/bin/apxs -q CFLAGS` \ > -g -O2 \ > -g -O2 \ > \ > -DLINUX=2 -D_REENTRANT \ > -I/tmp/webapp-module-1.0.1-tc401/apr/include \ > -I/tmp/webapp-module-1.0.1-tc401/include \ > " ; \ > APXS_CFLAGS=`/bin/echo ${APXS_CFLAGS}` ; \ > /usr/bin/apxs \ > -S CFLAGS="${APXS_CFLAGS}" \ > -S LDFLAGS_SHLIB="${APXS_LDFLAGS_SHLIB}" \ > -o "mod_webapp.so" \ > -c "mod_webapp.c" \ > "/tmp/webapp-module-1.0.1-tc401/lib/libwebapp.a" \ > "/tmp/webapp-module-1.0.1-tc401/lib/libapr.a" ; \ > } Bareword found where operator expected at (eval 6) line 1, near > ""-DLINUX=2 -DEAPI -DTARGET="apache" > (Missing operator before apache?) > Bareword "apache" not allowed while "strict subs" in use at (eval 6) line > 1. > String found where operator expected at (eval 6) line 1, near > "apache" -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -O2 -g -O2 > -DLINUX=2 -D_REENTRANT -I/tmp/webapp-module-1.0.1-tc401/apr/include > -I/tmp/webapp-module-1.0.1-tc401/include"" > gcc -DLINUX=2 -DEAPI -DTARGET="apache" -DUSE_HSREGEX -DUSE_EXPAT > -I../lib/expat-lite -fpic -DSHARED_MODULE -I/usr/include/apache-1.3 -c > mod_webapp.c > mod_webapp.c:70: wa.h: No such file or directory > apxs:Break: Command failed with rc=65536 > make[2]: *** [mod_webapp.so] Error 1 > make[2]: Leaving directory `/tmp/webapp-module-1.0.1-tc401/apache-1.3' > make[1]: Exiting directory "apache-1.3" > make[1]: *** [template] Error 2 > make[1]: Leaving directory `/tmp/webapp-module-1.0.1-tc401' > make: *** [apache-1.3-build] Error 2 > > This happens with the latest CVS version too. Am I missing something > obvious? I think your apxs is broken, what does the following commands return? /usr/bin/apxs -q CFLAGS /usr/bin/apxs -q LDFLAGS_SHLIB > Help! > > Andrew. > > -- > All views are my own .... who else would want them? > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: