Christian Lohmaier schrieb:
checking for cc... /opt/SunStudioExpress/bin//cc
checking the SunStudio C/C++ compiler version... configure: error: found
version "5.10", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++
compiler

The configure check is like that:
_sunstudio_minor=`echo $_sunstudio_version | $AWK -F. '{ if ($2 == 5)
print "true"; else if ($2 == 7) print "true"; else if ($2 == 8) print
"true"; else if ($2 == 9) print "true"; else print "false" }'

So from my understanding two-digit minor versions have just not taken
into account at all.
I'd suggest forcing that check to true and try with the 5.10 compiler.

Ok, will try that.

Is there a rule of thumb for *Solaris* like: use Sun compiler for Sun OS, don't mix in GNU, if possible (that's fishing for trouble)? If so, one might want to add a hint to the configure script that Sun CC should be preferred in some cases (such as my OpenSolaris installation).


[building with gnu cc also requires gnu ld]
OpenSolaris does ship with a GNU ld which I could use (in theory) but
configure will ignore it:

[EMAIL PROTECTED]:~/oo.org-m28/config_office$ /usr/gnu/bin/ld  -v
GNU ld version 2.15
[EMAIL PROTECTED]:~/oo.org-m28/config_office$ CC=gcc LD=/usr/gnu/bin/ld
[...]
checking gcc linker... configure: error: failed (not GNU ld). Use GNU ld
instead of Sun ld on Solaris

Even if configure would be happy with that, the build would break
nevertheless, since it doesn't call $LD, but does as configure does:
running the compiler with the linker-mode flags.

Looks like an OpenSolaris matter to me:

[EMAIL PROTECTED]:~/oo.org-m28/config_office$ ls
/usr/X11/include/X11/Xaw
ls: cannot access /usr/X11/include/X11/Xaw: No such file or directory

Well - either that package is not installed, or the path just is wrong.

The package seems to be installed:

[EMAIL PROTECTED]:~/oo.org-m28/config_office$ pfexec pkg info FSWxorg-headers
          Name: FSWxorg-headers
       Summary:
         State: Installed
     Authority: opensolaris.org (preferred)
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.94
Packaging Date: Mon Jul 21 19:04:46 2008
          Size: 0 B
          FMRI: pkg:/[EMAIL PROTECTED],5.11-0.94:20080721T190446Z
[EMAIL PROTECTED]:~/oo.org-m28/config_office$ pfexec pkg list -v FSWxorg-headers FMRI STATE UFIX pkg:/[EMAIL PROTECTED],5.11-0.94:20080721T190446Z installed ----

But its contents does not look very promising:

[EMAIL PROTECTED]:~/oo.org-m28/config_office$ pfexec pkg contents -t file,dir FSWxorg-headers
PATH

I'll check on the OpenSolaris lists about this.

Ulf

--
Ulf Wendel, MySQL
Sun Microsystems GmbH,   Sonnenallee 1,   D-85551 Kirchheim-Heimstetten
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering     Muenchen: HRB161028

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to