General
cancel
Showing results for 
Search instead for 
Did you mean: 

Pb compiling Apache 2.2.8 on HP-UX 11.11 U 9000/800

Pb compiling Apache 2.2.8 on HP-UX 11.11 U 9000/800

Hi all,

I'm trying to compile Apache 2.2.8 on HP-UX 11.11. I'm confronted to compilations errors.

First of all, this is my compilation line :
CFLAGS="-O2" LDFLAGS="-Wl,-E" ./configure --prefix=/bustools/apache/2.2.8 --with-z=/bustools/gnu/100.miahp023 --enable-mpm_winnt=shared --enable-deflate=shared --enable-dir=shared --enable-log_config=shared --enable-cgid=shared --enable-mpm_netware=shared --enable-worker=shared --enable-auth_basic=shared --enable-authz_host=shared --enable-authz_owner=shared --enable-authz_user=shared --enable-ssl=shared --enable-so --with-mpm=worker --enable-mods-shared=all
export PATH=$PATH:/bustools/gnu/100/bin
make


And I obtain this error :

cc -E -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_HPUX_SOURCE -D_LARGEFILE64_SOURCE -I/Datas/MIADZFR4/apache.2.2.8/httpd-2.2.8/srclib/apr-util/include -I/Datas/MIADZFR4/apache.2.2.8/httpd-2.2.8/srclib/apr-util/include/private -I/Datas/MIADZFR4/apache.2.2.8/httpd-2.2.8/srclib/apr/include -I/Datas/MIADZFR4/apache.2.2.8/httpd-2.2.8/srclib/apr-util/xml/expat/lib export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp
Making all in pcre
Make: Cannot read or get /build/ltlib.mk. Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


Can you help me please...

Thx
6 REPLIES
Steven Schweda
Honored Contributor

Re: Pb compiling Apache 2.2.8 on HP-UX 11.11 U 9000/800

Have you tried it using GNU "make"?
Dennis Handly
Acclaimed Contributor

Re: Pb compiling Apache 2.2.8 on HP-UX 11.11 U 9000/800

>I'm confronted to compilations errors.

I see no compilation errors. Where is /build/ltlib.mk used in your makefile? Is there a macro missing to add in front of that path?
As Steven said, you may have to use gmake but I don't see anything obvious pointing to that.

Re: Pb compiling Apache 2.2.8 on HP-UX 11.11 U 9000/800

Next a lot of problem when I compiling the src version of apache, I decided to try to use a binary version : the 2.2.10 version available on : http://hpux.connect.org.uk/hppd/hpux/Networking/WWW/apache2-2.2.10/

I download, gunzip and untar the binary. Next I copy the RUN directory in my apps dir.
I modify the httpd.conf and I try to launch apachectl but I have a little error :

root@miahp052:/bustools/apache/2.2.10/etc # /bustools/apache/2.2.10/bin/apachectl -f /bustools/apache/2.2.10/etc/httpd.conf -k start -v
/bustools/apache/2.2.10/bin/apachectl[100]: /usr/local/apache2/bin/httpd: not found.

Any ideas ?
Dennis Handly
Acclaimed Contributor

Re: Pb compiling Apache 2.2.8 on HP-UX 11.11 U 9000/800

>/usr/local/apache2/bin/httpd: not found.

It wants apache there. Where did you install it?

Re: Pb compiling Apache 2.2.8 on HP-UX 11.11 U 9000/800

I installed it in another directory and created a symlinc between this directory in /bustools/apache/2.2.10. Where can I change the apache $HOME directory ?
Steven Schweda
Honored Contributor

Re: Pb compiling Apache 2.2.8 on HP-UX 11.11 U 9000/800

> [...] and created a symlinc between this
> directory in /bustools/apache/2.2.10.

And if my psychic powers were not so weak, I
might be able to tell you whether that
symlink was correct. But I can't see what
you did.

> Where can I change the apache $HOME
> directory ?

Did you look at what "apachectl" does?