#40592 [Fbk->Csd]: undeclared constant causes build failure. bug not present in v5.2.0
| From: | fluor_druid at hotmail dot com | Date: | Fri, 23 Feb 2007 03:18:47 +0000 |
| Subject: | #40592 [Fbk->Csd]: undeclared constant causes build failure. bug not present in v5.2.0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-109374@lists.php.net to get a copy of this message | ||
ID: 40592
User updated by: fluor_druid at hotmail dot com
Reported By: fluor_druid at hotmail dot com
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: OpenBSD 4.0 stable
PHP Version: 5.2.1
New Comment:
Builds perfectly. Thanks.
Previous Comments:
------------------------------------------------------------------------
[2007-02-22 15:50:10] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2007-02-22 15:37:22] fluor_druid at hotmail dot com
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=somepath, the exact same way I configured and
compiled
version 5.2.0 on the same system just some weeks earlier -
no
changes has been made to my system since i built 5.2.0.
I suspect this problem is due OpenBSD not being 100% POSIX
compliant.
--- snip ---
/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.
------------------------------------------------------------------------
[2007-02-22 15:33:21] fluor_druid at hotmail dot com
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 this bug report at http://bugs.php.net/?id=40592&edit=1