From:             agebosma at home dot nl
Operating system: Solaris 8
PHP version:      4.4.1
PHP Bug Type:     Compile Failure
Bug description:  Error "Command failed for target 'ext/xml/xml.lo'" during 
make process

Description:
------------
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. 
 
In addition to this, I got two warnings during the configuration process:

"configure: warning: You will need bison 1.28" and "configure: warning: 
You will need bison 1.28 if you want to regenerate the Zend parser 
(found 1.27)" 
Could this have anything to do with it?


-- 
Edit bug report at http://bugs.php.net/?id=35234&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35234&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35234&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35234&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35234&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35234&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35234&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35234&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35234&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35234&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35234&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35234&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35234&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35234&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35234&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35234&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35234&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35234&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35234&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35234&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35234&r=mysqlcfg

Reply via email to