php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23183 configure script does not work on Solaris 8 SPARC
Submitted: 2003-04-12 22:18 UTC Modified: 2003-04-28 11:33 UTC
From: steleman at nyc dot rr dot com Assigned:
Status: No Feedback Package: *Configuration Issues
PHP Version: 4.3.1 OS: Solaris 8 SPARC 32-bit
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-04-12 22:18 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-28 11:33 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 22:01:27 2024 UTC