php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34946 syntax error in crpty.c from /usr/include/rpc_msg.h
Submitted: 2005-10-21 16:32 UTC Modified: 2005-10-29 01:00 UTC
From: mark at downtownhelpdesk dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.0.5 OS: FreeBSD 5.4/RELEASE
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
15 - 3 = ?
Subscribe to this entry?

 
 [2005-10-21 16:32 UTC] mark at downtownhelpdesk dot com
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!


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-21 23:45 UTC] tony2001@php.net
And what's on line 66 in /usr/include/rpc/rpc_msg.h ?
I can see there only these lines:

enum accept_stat {
        SUCCESS=0, /* line 66 */
        PROG_UNAVAIL=1,
        PROG_MISMATCH=2,
        PROC_UNAVAIL=3,
        GARBAGE_ARGS=4,
        SYSTEM_ERR=5
};

And no crypt.h here, btw. Where did you get it from?

$ uname -r
5.4-STABLE
 [2005-10-29 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC