I had a similar issue when I built mod_webapp for HP-UX

what I did was the following in the Makefile

Basically I removed the $(MFLG) parameter.  As far as I could tell, it
picked the value for this variable from the apache/bin/apxs file variable my
$CFG_LDFLAGS_SHLIB.

Change

template: 
@ { $(ECHO) "" ; $(MECHO) "Entering directory \"$(MDIR)\"" ; cd $(MDIR) ;
$(MECHO) "Invoking \"$(MAKE) $(MFLG) $(MTGT)\"" ; $(MAKE) $(MFLG) $(MTGT);
RET=$$? ; $(MECHO) "Exiting directory \"$(MDIR)\"" ; cd $(SRCDIR) ; if test
"$${RET}" != "0" ; then exit $${RET} ; fi ; } 

to 

template: 
@ { $(ECHO) "" ; $(MECHO) "Entering directory \"$(MDIR)\"" ; cd $(MDIR) ;
$(MECHO) "Invoking \"$(MAKE) $(MTGT)\"" ; $(MAKE) $(MTGT); RET=$$? ;
$(MECHO) "Exiting directory \"$(MDIR)\"" ; cd $(SRCDIR) ; if test "$${RET}"
!= "0" ; then exit $${RET} ; fi ; } 




-----Original Message-----
From: Allan Campos de Moraes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 12:45 PM
To: 'Tomcat Users List'
Subject: webapp



Hi All !

I´m trying to generate the mod_webapp.so file but after all the steps when I
try to run "make" I receive the message below... some Ideas ? I had no error
on the steps before make...

Help !

___________________________________________________________________________
/home/amoraes/jakarta/jakarta-tomcat-connectors-4.1.18-src/webapp> make

make[1]: Entering directory
"/export/home/amoraes/jakarta/jakarta-tomcat-connect
ors-4.1.18-src/webapp/apr-0.9.1"
Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ]
             [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][
-t ]
             [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro
+=value".
.. ]
make: Fatal error: Unknown option `-C'
*** Error code 1
make: Fatal error: Command failed for target `subdir'
Current working directory
/export/home/amoraes/jakarta/jakarta-tomcat-connectors
-4.1.18-src/webapp
*** Error code 1
make: Fatal error: Command failed for target `apr-build'
/home/amoraes/jakarta/jakarta-tomcat-connectors-4.1.18-src/webapp>

____________________________________________________________________________

Thanks !

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17/3/2003
 
  
Esta mensagem, incluindo seus anexos, pode conter informações privilegiadas
e/ou de caráter confidencial, não podendo ser retransmitida sem autorização
do remetente. Se você não é o destinatário ou pessoa autorizada a recebê-la,
informamos que o seu uso, divulgação, cópia ou arquivamento são proibidos.
Portanto, se você recebeu esta mensagem por engano, por favor, nos informe
respondendo imediatamente a este e-mail e em seguida apague-a.



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

Reply via email to