#23183 [Opn->Fbk]: configure script does not work on Solaris 8 SPARC
| From: | sniper@php.net | Date: | Mon, 21 Apr 2003 17:58:02 +0000 |
| Subject: | #23183 [Opn->Fbk]: configure script does not work on Solaris 8 SPARC | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38013@lists.php.net to get a copy of this message | ||
ID: 23183
Updated by: sniper@php.net
Reported By: steleman at nyc dot rr dot com
-Status: Open
+Status: Feedback
Bug Type: *Configuration Issues
Operating System: Solaris 8 SPARC 32-bit
PHP Version: 4.3.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-04-12 22:18:57] steleman at nyc dot rr dot com
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 this bug report at http://bugs.php.net/?id=23183&edit=1