Dear all,
I have been trying to compile PHP 5.2.1 with the Suhosin Patch on an
OpenBSD-STABLE 3.9 i386 machine. /configure finishes fine, but each time I
try to make, it stops with:
/var/build/php-5.2.1/ext/posix/posix.c: In function `zif_posix_getgrgid':
/var/build/php-5.2.1/ext/posix/posix.c:889: error: `_SC_GETGR_R_SIZE_MAX'
undeclared (first use in this function)
/var/build/php-5.2.1/ext/posix/posix.c:889: error: (Each undeclared
identifier is reported only once
/var/build/php-5.2.1/ext/posix/posix.c:889: error: for each function it
appears in.)
Someone with a similar problem posted at the Hardened-PHP.net forums and was
told that it was not a Suhosin issue. After searching for the (sysconf
definition??) _SC_GETGR_R_SIZE_MAX on my own machine I found it in
/usr/include/sys/unistd.h but it is in a section under #ifdef notyet /*
P1003.1c */ - Does that mean those items in that section are "not yet"
implemented in OpenBSD? (I read the getgr* man pages but am still none the
wiser). Apologies for my ignorance of these nuts & bolts issues which I am
having great difficulty understanding.
Does anyone have a workaround for this problem?
Many thanks in advance...
Nick
_________________________________________________________________
Click Here To Find Your Perfect Match This Valentines!
http://msnuk.match.com/