Installing - make fails - ANSI C problem
Posted: Tue Oct 15, 2002 9:36 am
I am new to PHP and not too experienced with HP-UX. Trying to install PHP 4.2.3 on HP-UX 11.11. It fails on the "make", see below :
root>make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I
../main -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../TSRM -prefer-pic -c zend_lang
uage_parser.c
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: "zend_globals_macros.h", line 38: error 1705: Function prototypes
are an ANSI feature.
(Bundled) cc: "zend_alloc.h", line 74: error 1705: Function prototypes are an ANSI feature. etc etc
I think it is using the HP C compiler which is not ANSI/C compliant. I have downloaded the GCC compiler but cannot figure out how to get the make to use it instead of the HP C compiler. Has anyone successfully loaded PHP on HP-UX 11? Can anyone help?
TIA,
JD
root>make
Making all in Zend
/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I
../main -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -I../TSRM -prefer-pic -c zend_lang
uage_parser.c
(Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: "zend_globals_macros.h", line 38: error 1705: Function prototypes
are an ANSI feature.
(Bundled) cc: "zend_alloc.h", line 74: error 1705: Function prototypes are an ANSI feature. etc etc
I think it is using the HP C compiler which is not ANSI/C compliant. I have downloaded the GCC compiler but cannot figure out how to get the make to use it instead of the HP C compiler. Has anyone successfully loaded PHP on HP-UX 11? Can anyone help?
TIA,
JD