Hi Ulf, *,

On Tue, Aug 12, 2008 at 3:45 PM, Ulf Wendel <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED]:~/oo.org-m28/config_office$ cc -V
> cc: Sun Ceres C 5.10 SunOS_i386 2008/04/04
> usage: cc [ options] files.  Use 'cc -flags' for details
>
> But OpenOffice wants an older version:

I doubt that. (and if I'm wrong: The guy/gal who wrote the config
check should have added an appropriate comment in that case).

> 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.

> [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.

ciao
Christian

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

Reply via email to