"Srinidhi H." a �crit :

> 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]>

Well i had the same pb on SOLARIS 8 after i made some modifications...

I was workin' under root, to have my installations achieved, and obviously with
/bin/sh shell...

As i like the completion and other stuff, i used the ENV=$HOME/.kshrc; export
ENV features to get some
special features when enter an exec ksh.

In this .kshrc i had an echo "New Shell : $0", just to know where i am.

I tried then to have my mod_webapp compiled and had the error yu mentionned.

I investigated:

When yu launch the webapp/support/buildconf.sh

if [ -f "./apr/buildconf" ]
then
    echo "--- Running the \"buildconf\" script for APR"
    ( cd ./apr
    sh ./buildconf
    )

The script looks for webapp/apr/buildconf and if true, generates a child
process () and executes a sh ./buildconf

The first thing is done is to make an sh of apr/biuld/biuldconf.sh

and in this third fiel yu have :
ac_version=`autoconf --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e
's/[a-z]* *$//'`

The head -1 says to bind the sed to the first line of the `autoconf
--version`....
In My case, the first line was the echoed cmd of my .kshrc file, cause i was
under ksh !

ksh# New Shell -ksh
autoconf (GNU Autoconf) 2.52
Written by David J. MacKenzie.

So try to trace this file and yu'll get it !

The best has to be to stay under /bin/sh

Hope this help,

JLB :O)




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to