Rick, Thanks. I appreciate where your loyalty's must lie. I've installed the 64bit GCC compiler so why isn't it picking up this ANSI compliant compiler and is instead using the "bundled" compiler?
R9MACG01:/mediacion/estadisticas/byron #gcc -v Using built-in specs. Target: hppa64-hp-hpux11.11 Configured with: /tmp/gcc-4.2.1.tar.gz/gcc-4.2.1/configure --host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 --build=hppa64-hp-hpux11.11 --prefix=/opt/hp-gcc64-4.2.1 --with-gnu-as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-languages=c,c++ Thread model: posix gcc version 4.2.1 R9MACG01:/mediacion/estadisticas/byron # Regards Byron Rick Jones wrote: > 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 > > _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml