Ok, I tried removing the --disable-posix and adding --with-tsrm-pthreads to the configure options. The resulting configure looks like this: CC='/usr/local/bin/gcc' \ './configure' \ '--prefix=/app/php533' \ '--enable-shared' \ '--with-tsrm-pthreads' \ '--with-gnu-ld' \ '--with-apxs2=/app/apache2216/bin/apxs' \ '--with-zlib' \ '--with-zlib-dir=/usr/lib' \ '--with-png-dir=/usr/include/libpng' \ '--with-openssl=/shared_ro/openssl_098' \ '--with-oci8=/shared_ro/users.oracle/11.1.0' Now I get this: /users/03333/php-5.3.3/ext/posix/posix.c: In function `zif_posix_getgrnam': /users/03333/php-5.3.3/ext/posix/posix.c:1017: error: too many arguments to function `getgrnam_r' /users/03333/php-5.3.3/ext/posix/posix.c: In function `zif_posix_getgrgid': /users/03333/php-5.3.3/ext/posix/posix.c:1067: error: too many arguments to function `getgrgid_r' /users/03333/php-5.3.3/ext/posix/posix.c:1067: warning: assignment makes integer from pointer without a cast /users/03333/php-5.3.3/ext/posix/posix.c: In function `zif_posix_getpwnam': /users/03333/php-5.3.3/ext/posix/posix.c:1136: error: too many arguments to function `getpwnam_r' /users/03333/php-5.3.3/ext/posix/posix.c: In function `zif_posix_getpwuid': /users/03333/php-5.3.3/ext/posix/posix.c:1184: error: too many arguments to function `getpwuid_r' /users/03333/php-5.3.3/ext/posix/posix.c:1184: warning: assignment makes integer from pointer without a cast gmake: *** [ext/posix/posix.lo] Error 1 Do I need to add the -D_POSIX_PTHREAD_SEMANTICS in the makefile or configure.in somewhere? Can you point me in the right direction? -Vicki Stanfield, RHCE, CISSP -----Original Message----- From: Tom Rogers [mailto:trogers@xxxxxxxxxx] Sent: Wednesday, September 08, 2010 10:06 PM To: Tom Rogers Cc: php-general@xxxxxxxxxxxxx Subject: Re: Filestat.c erorrs when building php-5.3.3 on solaris 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