#34844 [NEW]: PHP 5.1.0RC1 Make Fails on OS X

From: Date: Wed, 12 Oct 2005 22:23:28 +0000
Subject: #34844 [NEW]: PHP 5.1.0RC1 Make Fails on OS X
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86482@lists.php.net to get a copy of this message
From: admin at allthingsinteresting dot com Operating system: Mac OS X PHP version: 5.1.0RC1 PHP Bug Type: Compile Failure Bug description: PHP 5.1.0RC1 Make Fails on OS X Description: ------------ It appears that there is some problem which is preventing me from installing php on my iBook running Mac OS 10.3 I believe that I am following the correct installation procedure, but when I shell>make it dies with a bunch of errors. Reproduce code: --------------- cd /usr/local/php-5.1.0RC1 ./configure --without-pear make make install Expected result: ---------------- PHP Install Itself Actual result: -------------- /bin/sh /usr/local/php-5.1.0RC1/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/libxml/ -I/usr/local/php-5.1.0RC1/ext/libxml/ -DPHP_ATOM_INC -I/usr/local/php-5.1.0RC1/include -I/usr/local/php-5.1.0RC1/main -I/usr/local/php-5.1.0RC1 -I/usr/include/libxml2 -I/usr/local/php-5.1.0RC1/TSRM -I/usr/local/php-5.1.0RC1/Zend -no-cpp-precomp -g -O2 -c /usr/local/php-5.1.0RC1/ext/libxml/libxml.c -o ext/libxml/libxml.lo /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:337: error: parse error before "error" /usr/local/php-5.1.0RC1/ext/libxml/libxml.c: In function `_php_libxml_free_error': /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:339: error: `error' undeclared (first use in this function) /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:339: error: (Each undeclared identifier is reported only once /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:339: error: for each function it appears in.) /usr/local/php-5.1.0RC1/ext/libxml/libxml.c: At top level: /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:343: error: parse error before "error" /usr/local/php-5.1.0RC1/ext/libxml/libxml.c: In function `_php_list_set_error_structure': /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:345: error: `xmlError' undeclared (first use in this function) /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:345: error: parse error before "error_copy" /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:350: error: `error_copy' undeclared (first use in this function) /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:352: error: `error' undeclared (first use in this function) /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:357: error: `XML_ERR_ERROR' undeclared (first use in this function) /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:363: error: `msg' undeclared (first use in this function) /usr/local/php-5.1.0RC1/ext/libxml/libxml.c: At top level: /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:455: error: parse error before "xmlErrorPtr" /usr/local/php-5.1.0RC1/ext/libxml/libxml.c: In function `php_libxml_structured_error_handler': /usr/local/php-5.1.0RC1/ext/libxml/libxml.c:457: error: `error' undeclared (first use in this function) make: *** [ext/libxml/libxml.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=34844&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34844&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34844&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34844&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34844&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34844&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34844&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34844&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34844&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34844&r=support Expected behavior: http://bugs.php.net/fix.php?id=34844&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34844&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34844&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34844&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34844&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34844&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34844&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34844&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34844&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34844&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34844&r=mysqlcfg

« previous php.bugs (#86482) next »