#40592 [NEW]: undeclared constant causes build failure. bug not present in v5.2.0
| From: | fluor_druid at hotmail dot com | Date: | Thu, 22 Feb 2007 15:33:21 +0000 |
| Subject: | #40592 [NEW]: undeclared constant causes build failure. bug not present in v5.2.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-109328@lists.php.net to get a copy of this message | ||
From: fluor_druid at hotmail dot com
Operating system: OpenBSD 4.0 stable
PHP version: 5.2.1
PHP Bug Type: Compile Failure
Bug description: undeclared constant causes build failure. bug not present in v5.2.0
Description:
------------
I'm no wiz with this, so this output is the best I can
supply to give you guys a hint of what's going on when I do
make after configure. it was configured with only --
prefix=..., the exact same way I configured and compiled
version 5.2.0 on the same OS just some weeks earlier - no
changes has been made to my system.
/bin/sh /usr/opt/php-5.2.1/libtool --silent --preserve-dup-
deps --mode=compile gcc -Iext/posix/ -I/usr/opt/php-5.2.1/
ext/posix/ -DPHP_ATOM_INC -I/usr/opt/php-5.2.1/include -I/
usr/opt/php-5.2.1/main -I/usr/opt/php-5.2.1 -I/usr/local/
include/libxml2 -I/usr/opt/php-5.2.1/ext/date/lib -I/usr/
local/include -I/usr/opt/php-5.2.1/TSRM -I/usr/opt/
php-5.2.1/Zend -I/usr/local/include -g -O2 -c /usr/opt/
php-5.2.1/ext/posix/posix.c -o ext/posix/posix.lo
/usr/opt/php-5.2.1/ext/posix/posix.c: In function
`zif_posix_getgrgid':
/usr/opt/php-5.2.1/ext/posix/posix.c:889: error:
`_SC_GETGR_R_SIZE_MAX' undeclared (first use in this
function)
/usr/opt/php-5.2.1/ext/posix/posix.c:889: error: (Each
undeclared identifier is reported only once
/usr/opt/php-5.2.1/ext/posix/posix.c:889: error: for each
function it appears in.)
*** Error code 1
Expected result:
----------------
That the package would compile without problems, as the
earlier 5.2.0 version did with identical configuration and
same OS.
Actual result:
--------------
Failure as described above.
--
Edit bug report at http://bugs.php.net/?id=40592&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40592&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40592&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40592&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40592&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40592&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40592&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40592&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40592&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40592&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40592&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40592&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40592&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40592&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40592&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40592&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40592&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40592&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40592&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40592&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40592&r=mysqlcfg