From: mark at downtownhelpdesk dot com
Operating system: FreeBSD 5.4/RELEASE
PHP version: 5.0.5
PHP Bug Type: Compile Failure
Bug description: syntax error in crpty.c from /usr/include/rpc_msg.h
Description:
------------
using FreeBSD 5.4/RELEASE, attempting to install PHP5.0.5 under Apache
2.0.55.
pepperoni# ./configure --with-apxs2=/usr/local/sbin/apxs --enable-fastcgi
--with-gettext --with-db4 --with-gd --enable-mbstring --with-mcrypt
--with-mysql=/usr/local/mysql --with-zlib-dir --with-pgsql --with-pspell
--with-pear
pepperoni# make
[Output deleted until error line]
/bin/sh /usr/local/warez/php-5.0.5/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/standard/
-I/usr/local/warez/php-5.0.5/ext/standard/ -DPHP_ATOM_INC
-I/usr/local/warez/php-5.0.5/include -I/usr/local/warez/php-5.0.5/main
-I/usr/local/warez/php-5.0.5 -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/warez/php-5.0.5/ext/mbstring/oniguruma
-I/usr/local/warez/php-5.0.5/ext/mbstring/libmbfl
-I/usr/local/warez/php-5.0.5/ext/mbstring/libmbfl/mbfl
-I/usr/local/mysql/include/mysql -I/usr/local/include/pspell
-I/usr/local/warez/php-5.0.5/TSRM -I/usr/local/warez/php-5.0.5/Zend -g
-O2 -c /usr/local/warez/php-5.0.5/ext/standard/crypt.c -o
ext/standard/crypt.lo
In file included from /usr/include/rpc/rpc.h:59,
from /usr/include/crypt.h:9,
from /usr/local/warez/php-5.0.5/ext/standard/crypt.c:31:
/usr/include/rpc/rpc_msg.h:66: error: syntax error before numeric
constant
*** Error code 1
Stop in /usr/local/warez/php-5.0.5.
This is similar to bugs 31290, 32847, and 6713, which were never answered!
--
Edit bug report at http://bugs.php.net/?id=34946&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34946&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=34946&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=34946&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34946&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34946&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34946&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34946&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34946&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34946&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34946&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=34946&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=34946&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34946&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34946&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34946&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34946&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34946&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34946&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34946&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34946&r=mysqlcfg