On Sep 16, 8:17 pm, "didier deshommes" <[EMAIL PROTECTED]> wrote:
> 2007/9/16, mabshoff <[EMAIL PROTECTED]>:
>
> > Solaris 10 on Opteron:
>
> > toolchain:
>
> > ../gcc-4.2.1/configure --with-ld=/usr/sfw/i386-sun-solaris2.10/bin/ld
> > --with-as=/usr/sfw/bin/gas \
> > --prefix=/usr/local/gcc-4.2.1 --enable-languages=c,c++,fortran --with-
> > gmp=/usr/local/gmp-4.2.2-32/ \
> > --with-mpfr=/usr/local/mpfr-2.2.1p2-32/
> > #######
> > Issues:
> > #######
Hello Didier,
>
> I am using solaris 10 also (granted, on a p4), but so far I'm not
> running into as many issues are you are:
> ~/custom/sage-2.8.4.2 $ uname -a
> SunOS unknown 5.11 snv_57 i86pc i386
it looks like you are running a fairly recent OpenSolaris build. But
is it "pure" OpenSolaris or Nexenta? I know you used Nexenta in the
past, but that is quite different because the userspace is close to
100% GNU while Solaris is sufficiently different to cause issues. I
run the latest official Solaris 10 U4:
uname -a
SunOS unknown 5.10 Generic_120012-14 i86pc i386 i86pc
> ~/custom/sage-2.8.4.2 $ gcc -v
> Reading specs from /opt/csw/gcc4/lib/gcc/i386-pc-solaris2.8/4.0.2/specs
> Target: i386-pc-solaris2.8
> Configured with: ../sources/gcc-4.0.2/configure --prefix=/opt/csw/gcc4
> --with-local-prefix=/opt/csw --with-gnu-as --with-as=/opt/csw/bin/gas
> --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
> --enable-shared --enable-multilib --enable-nls --with-included-gettext
> --with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib
> --with-system-zlib --enable-languages=c,c++,f95,java,objc,ada
> Thread model: posix
> gcc version 4.0.2
>
> I am using pre-compiled packages from blastwave.
" --enable-threads=posix" might take care of some of the python issue.
I have seen python 2.5.1 at blastwave.org, so I assume it is possible
to build it without too much fiddling. William and I wanted to build
everything from source without the need to install external packages.
And we are trying to also get it to work in Solaris 9.
> The only showstopper has been lapack:
> sage_fortran -fPIC -c lsame.f -o lsame.o
> ld.so.1: f951: fatal: relocation error: file
> /opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.0.2/f951: symbol
> __gmpn_clz_tab: referenced symbol not found
Haven't seen that one. But it is a GMP symbol and I have no idea why
that would be linked against Lapack. The BlastWave binary also seems
to have been compiled for Solaris 2.8, so that might be an issue.
>
> ntl, python, libgcrypt and even linbox are some of the packages that
> build flawlessly.
No real surprises expect for Python. I assumed that that was one of
the packages that would just build. I regularly build LinBox on
Solaris, so in any other case let me know. I had to patch lcalc, but
that fix is going in soon.
>
> didier
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---