From: steleman at nyc dot rr dot com Operating system: Solaris 8 SPARC 32-bit PHP version: 4.3.1 PHP Bug Type: *Configuration Issues Bug description: configure script does not work on Solaris 8 SPARC
Hi. The 'configure' script fails on Solaris 8 SPARC. It fails to correctly detect libtiff, libjpeg6b, libpng, libiconv, PostgreSQL, etc. It also fails on the compile test (the compiler is Sun Forte 7): checking whether the C++ compiler (/opt/Forte-7.0/SUNWspro/bin/CC -features=%all,extensions -instances=extern -library=Crun,Cstd -template=wholeclass,extdef -verbose=template -xO3 -xtarget=ultra2 -xarch=v8plus -dalign -xprefetch=yes -xlibmopt -mt -D_REENTRANT -L/opt/Forte-7.0/SUNWspro/lib -lCrun -lCstd -lc -lsunmath -lmopt -lm -ldl -L/opt/Forte-7.0/SUNWspro/lib/stlport4 -L/opt/Forte-7.0/SUNWspro/prod/lib -L/opt/Forte-7.0/SUNWspro/lib/v8plus -L/usr/local/lib -L/usr/dt/lib -L/usr/openwin/lib -L/usr/ccs/lib -L/opt/qt-3.1.2/lib -L/opt/kde3/lib -R/usr/ucblib -L/usr/ucblib -R/usr/local/ssl/lib -L/usr/local/ssl/lib -R/usr/local/lib -L/usr/local/lib -R/opt/Forte-7.0/SUNWspro/lib -L/opt/Forte-7.0/SUNWspro/lib -R/opt/Forte-7.0/SUNWspro/lib/stlport4 -L/opt/Forte-7.0/SUNWspro/lib/stlport4 -R/opt/Forte-7.0/SUNWspro/prod/lib -L/opt/Forte-7.0/SUNWspro/prod/lib -R/opt/Forte-7.0/SUNWspro/lib/v8plus -L/opt/Forte-7.0/SUNWspro/lib/v8plus -R/usr/dt/lib -L/usr/dt/lib -R/usr/openwin/lib -L/usr/openwin/lib -R/usr/ccs/lib -L/usr/ccs/lib -R/opt/qt-3.1.2/lib -L/opt/qt-3.1.2/lib -R/opt/kde3/lib -L/opt/kde3/lib -R/usr/loca/lssl/lib -L/usr/loca/lssl/lib -R/usr/local/libxml.2.4.25/lib -L/usr/local/libxml.2.4.25/lib -R/usr/local/libxslt.1.0.21/lib -L/usr/local/libxslt.1.0.21/lib -R/opt/java/j2sdk1.3.1/jre/lib/sparc/hotspot -L/opt/java/j2sdk1.3.1/jre/lib/sparc/hotspot -R/opt/java/j2sdk1.3.1/jre/lib/sparc/server -L/opt/java/j2sdk1.3.1/jre/lib/sparc/server -R/opt/java/j2sdk1.3.1/jre/lib/sparc/native_threads -L/opt/java/j2sdk1.3.1/jre/lib/sparc/native_threads -R/opt/java/j2sdk1.3.1/jre/lib/sparc -L/opt/java/j2sdk1.3.1/jre/lib/sparc -R/usr/local/lib/lib -L/usr/local/lib/lib -R/usr/local/pgsql/lib -L/usr/local/pgsql/lib) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. I did not enclose the errors regarding the other libraries, because they would not really be useful. My humble suggestion would be to disable the compile tests for these libraries within configure (at least on Solaris), and let the user bear the responsibility of the correctness of the location of these libraries. The 'configure' script cannot really protect a user from every single possible mistake the user can make. Meaning, if i tell 'configure' that i want a plugin based on a library which does not exist, well, that's my problem. The plugin won't even compile, let alone link, and that's that. Sooner rather than later, i will find that out. :-) All the libraries i have mentioned above exist (under /usr/local), and several other open source packages detected them correctly at configure time and compiled and linked correctly against them. It would be great if these bugs could be fixed, because the Forte 7 compiler can generate extremely fast, efficient and small object code on Solaris SPARC. Thank you! --Stefan -- Edit bug report at http://bugs.php.net/?id=23183&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23183&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23183&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23183&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23183&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23183&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23183&r=support Expected behavior: http://bugs.php.net/fix.php?id=23183&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23183&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23183&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23183&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23183&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23183&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23183&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23183&r=gnused
