Can't compile 5.1.2 with libxml on Mac OS X

From: Date: Fri, 21 Apr 2006 01:38:34 +0000
Subject: Can't compile 5.1.2 with libxml on Mac OS X
Groups: php.install 
Request: Send a blank email to php-install+get-17281@lists.php.net to get a copy of this message
Hello, When trying to 'make' php 5.1.2 on Max OS X 10.3.9 I am getting the following errors: ----------------------------------- /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:43:28: libxml/xmlsave.h: No such file or directory /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:407: error: parse error before "error" /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c: In function `_php_libxml_free_error':/Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:409: error: `error' undeclared (first use in this function) /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:409: error: (Each undeclared identifier is reported only once /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:409: error: for each function it appears in.) [ ... lots more error messages of a similar nature ... ] /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c: In function `zif_libxml_get_errors': /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:761: error: `xmlErrorPtr' undeclared (first use in this function) /Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:761: error: parse error before "error"/Users/peter/Desktop/php-5.1.2/ext/libxml/libxml.c:769: error: `error' undeclared (first use in this function) make: *** [ext/libxml/libxml.lo] Error 1 ----------------------- I have a feeling this might not be PHP-related but if anyone can give me an ideas why this is happening, it would be much appreciated. If you need more information (configure output, etc), please let me know. regards, Peter regards, Peter Send instant messages to your online friends http://au.messenger.yahoo.com

« previous php.install (#17281) next »