PHP 5 installation Question
Posted by: SeaCloud9
Posted on: 2009-03-16 05:55:00
In short It fails to install libXML2. I have scoured the web for install scripts and I have tried several different versions of the LibXML2 script I am quite sure I need to set some flag when I compile it I just don't know what the specific flag is.
I have found numerous articles discussing the install and none of them seem to be working because it always Fails from me on libXML2.
I have also scoured the web for information on gcc + debian + 64 bit still no luck if anyone could help me out with this it would rock!
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Error Message is
In file included from /usr/include/netinet/in.h:365,
from /usr/include/netdb.h:28,
from nanohttp.c:40:
/usr/include/bits/byteswap.h:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'package'
/usr/include/bits/byteswap.h:1: error: missing terminating ' character
/usr/include/bits/byteswap.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'can'
/usr/include/bits/byteswap.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'version'
/usr/include/bits/byteswap.h:26: error: stray '`' in program
/usr/include/bits/byteswap.h:26: error: missing terminating ' character
/usr/include/bits/byteswap.h:27: error: stray '`' in program
/usr/include/bits/byteswap.h:27: error: missing terminating ' character
nanohttp.c: In function 'xmlNanoHTTPConnectHost':
nanohttp.c:1018: warning: implicit declaration of function '__bswap_16'
nanohttp.c:1018: warning: nested extern declaration of '__bswap_16'
make[2]: *** [nanohttp.lo] Error 1
make[2]: Leaving directory `/home//++++++//source/libxml2-2.6.27'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/++++++/source/libxml2-2.6.27'
make: *** [all] Error 2