Hi,

I'm trying to compile php 4.4.1 on Solaris 8 but I'm getting the error "Command 
failed for target 'ext/xml/xml.lo'" during the make process.

[snip]
/nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1582: `XML_Char' 
undeclared (first use in this function)
/nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1582: `encoded' 
undeclared (first use in this function)
/nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c: In function 
`zif_utf8_decode':
/nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1602: `XML_Char' 
undeclared (first use in this function)
/nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1602: `decoded' 
undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target 'ext/xml/xml.lo'


If I look in the 'ext/xml/' folder, there's no file called 'xml.lo'.
What can be the problem here?

I used the following configuration with gcc 3.2.3:

configure --prefix=/work/training/dg432/servsoft/php4 
--with-apxs2=/work/training/dg432/servsoft/apache2/bin/apxs 
--with-mysql=/work/training/dg432/servsoft/mysql4 --enable-calendar 
--enable-ftp --with-gettext --with-iconv 
--with-dom=/work/training/dg432/servsoft 
--with-dom-xslt=/work/training/dg432/servsoft 
--with-gd=/work/training/dg432/servsoft 
--with-freetype-dir=/work/training/dg432/servsoft 
--with-jpeg-dir=/work/training/dg432/servsoft 
--with-png-dir=/work/training/dg432/servsoft 
--with-zlib-dir=/work/training/dg432/servsoft --enable-gd-native-ttf

Except for gettext and iconv I manually compiled all packaged myself.

I hope you can help me out on this one.

Yours,

Age Bosma

Reply via email to