Re: [xml] build on HP-UX with GCC fails with "Compiler not ANSI compliant"
- From: Rick Jones <rick jones2 hp com>
- To: byron <byronical gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] build on HP-UX with GCC fails with "Compiler not ANSI compliant"
- Date: Fri, 09 Nov 2007 14:07:21 -0800
byron wrote:
Hello
I'm trying to build a 64bit version of the xml2 lib on a HP-UX 11-11 so
I can build PHP 5.2.4 towards a 64bit mysql installation but it
complains that my complier is not ANSI!!
R9MACG01:/mediacion/estadisticas/byron/libxml2-2.6.30 #uname -a
HP-UX R9MACG01 B.11.11 U 9000/800 1194474621 unlimited-user license
R9MACG01:/mediacion/estadisticas/byron/libxml2-2.6.30 #
Any ideas? Results are below.
Thanks
Byron
R9MACG01:/mediacion/estadisticas/byron/libxml2-2.6.30 #./configure
configure: loading cache config.cache
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... hp
checking for a BSD-compatible install... ./install-sh -c
checking how to run the C preprocessor... cc -E
checking for rm... /usr/bin/rm
checking for mv... /usr/bin/mv
checking for tar... /usr/bin/tar
checking for perl... /usr/contrib/bin/perl
checking for wget... /usr/bin/wget
checking for xmllint... /usr/bin/xmllint
checking for xsltproc... /usr/bin/xsltproc
checking for function prototypes... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for string.h... (cached) yes
configure: error: Compiler not ANSI compliant
R9MACG01:/mediacion/estadisticas/byron/libxml2-2.6.30 #unset CFLAGS
R9MACG01:/mediacion/estadisticas/byron/libxml2-2.6.30
#./configure
configure: loading cache config.cache
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
Unless gcc got installed as "cc" I suspect the configure script is picking-up
the bundled compiler.
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
And that just above would seem to confirm it...
On HP-UX 11.11 the "bundled" (there to regen kernels) compiler isn't ANSI
compliant. You get that with the "unbundled" compiler, which if you can swing
the price I would suggest getting, but then I kind of have to suggest that :)
rick jones
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]