Hi,

Thursday, September 9, 2010, 11:31:06 AM, you wrote:
TR> Hi,

TR> Thursday, September 9, 2010, 2:07:50 AM, you wrote:
SVCD>> I am trying to build php-5.3.3 and getting the following error: 

SVCD>> /users/03333/php-5.3.3/TSRM -I/users/03333/php-5.3.3/Zend
SVCD>> -I/usr/local/include -g -O2 -DZTS   -c
SVCD>> /users/03333/php-5.3.3/ext/standard/filestat.c -o
SVCD>> ext/standard/filestat.lo 
SVCD>> /users/03333/php-5.3.3/ext/standard/filestat.c: In function
SVCD>> `php_do_chgrp':
SVCD>> /users/03333/php-5.3.3/ext/standard/filestat.c:416: error: too many
SVCD>> arguments to function `getgrnam_r'
SVCD>> /users/03333/php-5.3.3/ext/standard/filestat.c: In function
SVCD>> `php_do_chown':
SVCD>> /users/03333/php-5.3.3/ext/standard/filestat.c:517: error: too many
SVCD>> arguments to function `getpwnam_r'
SVCD>> make: *** [ext/standard/filestat.lo] Error 1

SVCD>> I have set my ORACLE_HOME, my PATH, and my LD_LIBRARY_PATH
SVCD>> And used the following configure command:

SVCD>> ./configure --prefix=/app/php533 --with-apxs2=/app/apache2215/bin/apxs
SVCD>> --with-zlib --with-zlib-dir=/usr/lib
SVCD>> --with-png-dir=/usr/include/libpng
SVCD>> --with-openssl=/shared_ro/openssl_098
SVCD>> --with-oci8=/shared_ro/users.oracle/11.1.0

SVCD>> I am using gmake 3.80. Can anyone give me a hint as to what I am doing
SVCD>> wrong in this build?

SVCD>>   -Vicki Stanfield, RHCE, CISSP


TR> From   the   error  message  it  would  seem  the  operating  system's
TR> getpwnam_r() function is not POSIX compatible.
TR> What system are you compiling on?

TR> -- 
TR> regards,
TR> Tom



It  would  seem  you  need to add -D_POSIX_PTHREAD_SEMANTICS to the cc
flags to get the right function.

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to