Depending on how your system is set up you will also need
the gnu tools
autoconf
m4
libtool
and if you go on to use APACHE SSL you will need
flex
HP has depots for autoconf and m4 at
http://hpdrdev.fc.hp.com/OpenSource/Tools/autoconf/autoconf.html
http://hpdrdev.fc.hp.com/OpenSource/Tools/m4/m4.html
libtool and flex as well as autoconf and m4 can be obtained at
http://www.gnu.org/ as tar files.
Below in the message from Christian, I make mention of a problem with the
letter b making it into the build commands.
I have not had a chance to check but I think it is from this line in the
apache/bin/apxs script
my $CFG_LDFLAGS_SHLIB = q(-b); # substituted via Makefile.tmpl
I would guess removinf the -b would fix the make problem
Also, one person I know of, has encounted a number of syntax errors with the
make scripts generated by the mod-webapp configure scripts.
This appears to be a system specific issue, as he gets the same problem when
I send him a tar of my src directory.
good luck
Jeff Peloquin
-Original Message-
From: Schulze Christian [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 7:20 AM
To: 'Tomcat Users List'
Subject: AW: mod_webapp build problem
I had the same Problem.
I'll forward you the answer which helped me ...
Hi Christian,
Sorry it tool so long to reply.
Yes I have installed mod_webapp correctly.
The biggest problem is the fact that hp-ux
does not keep zero length string in the shell memory. the configure script
script however perform a number of tests on string throughout the script.
By using a couple dozen echo statements the only place I found that I needed
to override the logic was near the bottom
your configure script should have something like this around line 2000 or so
if ${TEST} -z ${MODULE}
then
echo $ac_terror 16
{ echo configure: error: No target module specified 12; exit 1; }
fi
echo $ac_t${MODULE} 16
CFGFILES=${CFGFILES} ./${MODULE}/Makefile
if ${TEST} -z ${APR_VARFIL}
at least for me, at this point APR_VARFIL should not contain a value so I
change the if logic to
if ${TEST} -z ${MODULE}
then
echo $ac_terror 16
{ echo configure: error: No target module specified 12; exit 1; }
fi
echo $ac_t${MODULE} 16
CFGFILES=${CFGFILES} ./${MODULE}/Makefile
APR_VARFIL=I am really empty
echo I have $MODULE and am using the hardcoded value for APR_VARFIL
if ${TEST} -n ${APR_VARFIL}
The script will work.
you may have to make a change in the make file as well
somewhere along the line $(MFLG) gets set to b
which my make has trouble deal with
so in Makefile
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 ; \
}
Let me know if you have any problems
I can send you my mod_webapp.so file
Jeffrey Peloquin
-Ursprüngliche Nachricht-
Von: Srinidhi H. [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 9. April 2002 14:51
An: Tomcat-User (E-mail)
Betreff: mod_webapp build problem
Hello,
I am trying to build mod_webapp module on hp-ux platform and
getting the
following error while running configure script of this module.
I ran the following command after building libtool and
placing it in current
path.
#./configure --with-apxs=/opt/apache1322/bin/apxs
Building APR configure script
Invoking: ./buildconf in
/opt/apache1322/webapp-module-1.0-tc40/apr
APR buildconf: buildconf: checking installation...
APR buildconf: buildconf: autoconf not found.
APR buildconf: You need autoconf version 2.13 or newer installed
APR buildconf: to build Apache from CVS.
Execution of ./buildconf returned 1
configure: error: APR buildconf terminated with error code 1
Can any one help me out to over come the above mentioned error.
Regards,
Srinidhi
--
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]
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]