From: niallm at mac dot com Operating system: Mac OS X 10.4.4 PHP version: 5.1.2 PHP Bug Type: Compile Failure Bug description: Compiling php 5.1.2 --with-tidy fails
Description: ------------ The following ./configure line breaks php 5.1.2 compilation: [EMAIL PROTECTED] php-5.1.2 $ ./configure --prefix=/usr/local/ php5/ --with-apxs-with-openssl --with-zlib --with-bz2 --with- curl --enable-exif --enable-ftp --with-gd --with-mysql=//usr/ local/mysql-standard-4.1.12-apple-darwin7.9.0-powerpc/ --with- pgsql=/usr/local/pgsql/ --enable-trans-sid --enable-sockets -- with-xmlrpc --with-pear --with-png-dir=/sw --with-jpeg-dir=/sw --with-tidy Expected result: ---------------- I expect to see a compiled php binary ;-) Actual result: -------------- Instead compile fails in: /bin/sh /Users/niallm/Downloads/php-5.1.2/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/tidy/ -I/ Users/niallm/Downloads/php-5.1.2/ext/tidy/ -DPHP_ATOM_INC - I/Users/niallm/Downloads/php-5.1.2/include -I/Users/niallm/ Downloads/php-5.1.2/main -I/Users/niallm/Downloads/php-5.1.2 -I/usr/include/libxml2 -I/sw/include -I/Users/niallm/ Downloads/php-5.1.2/ext/date/lib -I//usr/local/mysql- standard-4.1.12-apple-darwin7.9.0-powerpc//include -I/usr/ local/pgsql/include -I/usr/include/tidy -I/Users/niallm/ Downloads/php-5.1.2/TSRM -I/Users/niallm/Downloads/ php-5.1.2/Zend -no-cpp-precomp -I/usr/include -g -O2 -c / Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c -o ext/ tidy/tidy.lo In file included from /usr/include/tidy/tidy.h:70, from /Users/niallm/Downloads/php-5.1.2/ext/ tidy/tidy.c:37: /usr/include/tidy/platform.h:515: error: duplicate 'unsigned' /usr/include/tidy/platform.h:515: warning: useless type name in empty declaration /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c: In function 'php_tidy_quick_repair': /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c:493: warning: pointer targets in initialization differ in signedness /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c: In function 'tidy_doc_cast_handler': /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c:670: warning: pointer targets in initialization differ in signedness /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c: In function 'tidy_node_cast_handler': /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c:702: warning: pointer targets in initialization differ in signedness /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c: In function 'tidy_doc_update_properties': /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c:723: warning: pointer targets in initialization differ in signedness /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c:731: warning: pointer targets in initialization differ in signedness /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c: In function 'zif_ob_tidyhandler': /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c:1033: warning: pointer targets in initialization differ in signedness /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c: In function 'zif_tidy_get_error_buffer': /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c:1084: warning: pointer targets in initialization differ in signedness /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c: In function 'zif_tidy_get_output': /Users/niallm/Downloads/php-5.1.2/ext/tidy/tidy.c:1100: warning: pointer targets in initialization differ in signedness make: *** [ext/tidy/tidy.lo] Error 1 -- Edit bug report at http://bugs.php.net/?id=36164&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36164&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36164&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36164&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36164&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36164&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36164&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36164&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36164&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36164&r=support Expected behavior: http://bugs.php.net/fix.php?id=36164&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36164&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36164&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36164&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36164&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36164&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36164&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36164&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36164&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36164&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36164&r=mysqlcfg