ID: 50345
Updated by: jani@php.net
Reported By: sle at ocf dot berkeley dot edu
-Status: Feedback
+Status: Closed
Bug Type: Compile Failure
Operating System: Solaris 10
PHP Version: 5.3.1
Assigned To: jani
New Comment:
Closing then. Thanks for testing.
Previous Comments:
------------------------------------------------------------------------
[2009-12-02 16:23:07] sle at ocf dot berkeley dot edu
The patch appears to have fixed the bug. I am now able to successfully
compile PHP 5.3 without modifying the generated Makefile. I'm running
the test suites right now, but everything appears to be working.
Thanks for your help!
------------------------------------------------------------------------
[2009-12-02 08:55:57] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
But in about 35 minutes earliest so that the fix gets in it. :)
------------------------------------------------------------------------
[2009-12-02 08:54:51] svn@php.net
Automatic comment from SVN on behalf of jani
Revision: http://svn.php.net/viewvc/?view=revision&revision=291584
Log: - Fixed bug #50345 (nanosleep not detected properly on some
solaris versions)
------------------------------------------------------------------------
[2009-12-01 23:52:35] sle at ocf dot berkeley dot edu
-lrt is only mentioned in config.log when searching for -lcurl. I
suspect this is due to curl-config recommending -lrt for its linker
flags.
With regards to nanosleep,
### snip from config.log ###
configure:15225: checking for nanosleep
configure:15253: /usr/sfw/bin/gcc -o conftest -I/opt/ocf/include
-I/usr/sfw/incl
ude -I/opt/ocf/include -I/usr/sfw/include -D_POSIX_PTHREAD_SEMANTICS
-L/opt/ocf/
lib -R/opt/ocf/lib -L/usr/sfw/lib -R/usr/sfw/lib -R/usr/ucblib
-L/usr/ucblib con
ftest.c -lm -lnsl -lsocket 1>&5
Undefined first referenced
symbol in file
nanosleep /var/tmp//ccYTdffo.o
ld: fatal: Symbol referencing errors. No output written to conftest
### end snip ###
since the test failed, it shouldn't have been defined.
However, I do see the following later:
### snip from config.log ###
configure:15271: checking for __nanosleep
configure:15299: /usr/sfw/bin/gcc -o conftest -I/opt/ocf/include
-I/usr/sfw/incl
ude -I/opt/ocf/include -I/usr/sfw/include -D_POSIX_PTHREAD_SEMANTICS
-L/opt/ocf/
lib -R/opt/ocf/lib -L/usr/sfw/lib -R/usr/sfw/lib -R/usr/ucblib
-L/usr/ucblib con
ftest.c -lm -lnsl -lsocket 1>&5
### end snip ###
that test seems to be successful:
### snip from configure output ###
checking for nanosleep... no
checking for __nanosleep... yes
### end snip ###
------------------------------------------------------------------------
[2009-12-01 18:55:32] jani@php.net
Try grep for it..? Try also for nanosleep. Maybe it's found in libc
somehow..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50345--
Edit this bug report at http://bugs.php.net/?id=50345&edit=1