Operating System - HP-UX
1833790 Members
3021 Online
110063 Solutions
New Discussion

Re: Apache install error at make command on HP-UX 11.00

 
SOLVED
Go to solution
Michael Lessard
Occasional Advisor

Apache install error at make command on HP-UX 11.00

Trying to install Apache 2.0.50 and when I get to the compile and issue the make command I receive this error. I had previously tried to install the 2.0.49 version a while back and got the same message.

# make
Making all in srclib
Making all in apr
Making all in strings
/bin/sh /opt/apache_2.0.50/httpd-2.0.50/srclib/apr/libtool --silent --mo
de=compile cc -g -Ae +Z +DAportable -DHAVE_CONFIG_H -DHPUX11 -D_REENTRANT -D_X
OPEN_SOURCE_EXTENDED -I../include -I../include/arch/unix -c apr_cpystrn.c &&
touch apr_cpystrn.lo
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C pro
duct; ignored.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
cpp: "../include/apr.h", line 393: warning 2013: Unknown preprocessing directive
.
(Bundled) cc: "../include/apr_errno.h", line 51: error 1000: Unexpected symbol:
"statcode".
(Bundled) cc: "../include/apr_errno.h", line 52: error 1000: Unexpected symbol:
"apr_size_t".
(Bundled) cc: "../include/apr_general.h", line 178: error 1000: Unexpected symbo
l: "apr_initialize".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** 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.

2 REPLIES 2
Manish Srivastava
Trusted Contributor
Solution

Re: Apache install error at make command on HP-UX 11.00

Hi,

This is not a make problem. The error is coming from the compiler. I think you need an ANSI compiler to compile this application. I can see that the compiler which you are using is the bundel compiler which does not comply to ANSI standards.

manish
Michael Lessard
Occasional Advisor

Re: Apache install error at make command on HP-UX 11.00

Thanks. That was it. Somehow I overlooked that. I had a previous version of Apache on the server and assumed my compiler was there already. I have another server that I put the 2.0.49 on and I copied that over. I have the compiler on that server.