On Tue, Nov 15, 2005 at 09:20:54PM +0100, Age Bosma wrote: > 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) > ... > 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? It is trying to make the xml.lo file, the errors prior to that explain why. > > 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 This is an odd configure line, i'm guessing this is some sort of package thing. At first glance at the the errors above, i would guess that this package has some version issues. > 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? most likely not. Curt. -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php