Operating System - HP-UX
1833863 Members
1879 Online
110063 Solutions
New Discussion

Compile problems installing Apache on HP-UX 11

 
Geoff Hartnell
Advisor

Compile problems installing Apache on HP-UX 11

I get the following compile errors while trying to install Apache.
In the configure options I have set:
"--enable-module=most" "--enable-rule=SHARED_CORE" "--enable-shared=max" "--disable-module=ssl"
(disabled ssl because setting max/most caused a problem with ssl)

The compile error is:
===> src/modules/extra
gcc -c -I../../os/unix -I../../include -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -fpic -DSHARED_CORE -O `../../apaci` -DSHARED_MODULE mod_define.c && mv mod_define.o mod_define.lo
mod_define.c:46: #error "This module requires the Extended API (EAPI) facilities."
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
$

Does anyone know how to progress
1 REPLY 1
Geoff Hartnell
Advisor

Re: Compile problems installing Apache on HP-UX 11

Got past the compile problem, but now have problems with flex and byacc:

1) after doing configure, I have to manually edit the Makefile to set the YACC path to /opt/byacc/bin/byacc - is there an option to set this path
2) Having done that, I get the error listed below - any ideas

$ make
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O /omg/apache22/flex-2.5.4/ccl.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O /omg/apache22/flex-2.5.4/dfa.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O /omg/apache22/flex-2.5.4/ecs.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O /omg/apache22/flex-2.5.4/gen.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O /omg/apache22/flex-2.5.4/main.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O /omg/apache22/flex-2.5.4/misc.c
gcc -c -I. -I/omg/apache22/flex-2.5.4 -g -O /omg/apache22/flex-2.5.4/nfa.c
/opt/byacc/bin/byacc -d /omg/apache22/flex-2.5.4/parse.y
*** Termination signal 138

Stop.
$


Thanks