ID: 35556 Updated by: [EMAIL PROTECTED] Reported By: buildsmart at daleenterprise dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: darwin7.x, Darwin 8.x, Mac OSX PHP Version: 5.1.1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-12-05 14:48:36] buildsmart at daleenterprise dot com Description: ------------ unable to build with readline support using '--with- libedit=/usr' in the following OS's: (OS's I have available) Mac OSX Server 10.3.7 Mac OSX Server 10.3.8 Mac OSX Server 10.3.9 Mac OSX Server 10.4.0 Mac OSX Server 10.4.1 Mac OSX Server 10.4.2 Mac OSX Server 10.4.3 darwin 7.9 darwin 8.0 darwin 8.3 The problem does not occur in PHP-5.0.4 Here is the failure: /bin/sh /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ libtool --silent --preserve-dup-deps --mode=compile gcc - Iext/readline/ -I/SourceCache/BuildSmart/PHP/srcroot/php- 5.1.1/ext/readline/ -DPHP_ATOM_INC -I/SourceCache/ BuildSmart/PHP/srcroot/php-5.1.1/include -I/SourceCache/ BuildSmart/PHP/srcroot/php-5.1.1/main -I/SourceCache/ BuildSmart/PHP/srcroot/php-5.1.1 -I/usr/local/include/ libxml2 -I/usr/local/include -I/SourceCache/BuildSmart/PHP/ srcroot/php-5.1.1/ext/date/lib -I/usr/X11R6/include -I/usr/ local/include/freetype2 -I/SourceCache/BuildSmart/PHP/ srcroot/imap-2004e/c-client -I/SourceCache/BuildSmart/PHP/ srcroot/php-5.1.1/ext/mbstring/oniguruma -I/SourceCache/ BuildSmart/PHP/srcroot/php-5.1.1/ext/mbstring/libmbfl -I/ SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/mbstring/ libmbfl/mbfl -I/usr/include/mysql -I/SourceCache/ BuildSmart/PHP/build/postgresql-build/include -I/usr/local/ rrdtool-1.0.49/include -I/SourceCache/BuildSmart/PHP/ srcroot/php-5.1.1/TSRM -I/SourceCache/BuildSmart/PHP/ srcroot/php-5.1.1/Zend -I/usr/local/include -no-cpp- precomp -D_INTL_REDIRECT_INLINE -UHAVE_SABLOT_GET_OPTIONS -c /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/ readline/readline.c -o ext/readline/readline.lo /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c: In function 'zif_readline_info': /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:176: error: 'rl_mark' undeclared (first use in this function) /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:176: error: (Each undeclared identifier is reported only once /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:176: error: for each function it appears in.) /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:177: error: 'rl_done' undeclared (first use in this function) /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:178: error: 'rl_pending_input' undeclared (first use in this function) /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c: In function 'zif_readline_list_history': /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:294: warning: assignment makes pointer from integer without a cast /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:301: warning: passing argument 2 of 'add_next_index_string' discards qualifiers from pointer target type /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c: In function '_readline_completion_cb': /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:424: warning: passing argument 2 of 'completion_matches' from incompatible pointer type /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c: In function 'zif_readline_callback_handler_install': /SourceCache/BuildSmart/PHP/srcroot/php-5.1.1/ext/readline/ readline.c:514: warning: passing argument 2 of 'rl_callback_handler_install' from incompatible pointer type make[1]: *** [ext/readline/readline.lo] Error 1 Reproduce code: --------------- ./configure --prefix=$(/usr/local/php) \ --with-apxs --with-curl=/usr/local \ --with-expat-dir=/usr/local --with-iconv=/usr/local \ --with-iodbc=/usr --with-kerberos=/usr \ --with-ldap=/usr --with-libedit=/usr \ --with-readline=no --with-openssl=/usr \ --with-openssl-dir=/usr --with-config-file-path=/etc \ --sysconfdir=/private/etc --with-ncurses \ --with-ndbm --with-xmlrpc \ --with-xsl --with-gd \ --enable-gd-native-ttf --with-freetype-dir=/usr/local \ --with-jpeg-dir=/usr/local --with-png-dir=/usr/local \ --with-tiff-dir=/usr/local --with-t1lib=/usr/local \ --with-pdflib=/usr/local --with-xpm-dir=/usr/X11R6 \ --enable-cgi --enable-cli --enable-bcmath \ --enable-calendar \ --enable-dba --enable-dbase \ --enable-dbx --enable-dio \ --enable-exif --enable-fastcgi \ --enable-filepro --enable-force-cgi-redirect \ --enable-ftp --enable-libgcc \ --enable-mbstring --enable-memory-limit \ --enable-shmop --enable-soap \ --enable-sockets --enable-trans-sid \ --enable-wddx --enable-xml \ --enable-zend-multibyte --with-bz2=/usr \ --with-libxml-dir=/usr/local --with-dom-exslt=/usr/local \ --with-gettext=/usr/local --with-libxml-dir=/usr/local \ --with-mcrypt=/usr/local --with-mcve=/usr/local \ --with-mhash=/usr/local --with-mssql=/usr/local \ --with-curlwrappers --enable-sqlite-utf8 \ --with-mysql=/usr --with-mysql-sock=/var/mysql/mysql.sock \ --with-zlib=/usr/local --with-zlib-dir=/usr/local ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35556&edit=1