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_t""error" 1>&6
  { echo "configure: error: No target module specified" 1>&2; exit 1; }
fi
echo "$ac_t""${MODULE}" 1>&6
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_t""error" 1>&6
  { echo "configure: error: No target module specified" 1>&2; exit 1; }
fi
echo "$ac_t""${MODULE}" 1>&6
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]>

Reply via email to