I just tried to build Sage (part of which is MPIR) on a Sun Ultra 80 
SPARC) machine I set up for testing Sage on the first release of Solaris 
10.

$ cat /etc/release
                          Solaris 10 3/05 s10_74L2a SPARC
            Copyright 2005 Sun Microsystems, Inc.  All Rights Reserved.
                         Use is subject to license terms.
                             Assembled 22 January 2005
$ uname -a
SunOS goose 5.10 Generic sun4u sparc SUNW,Ultra-80



One issue I hit is with mpir.

libtool: link: `/usr/sfw/lib/libstdc++.la' is not a valid libtool archive

sure enough, a look at the file

$ ls -l /usr/sfw/lib/libstdc++.la
-r-xr-xr-x   1 root     bin            0 Jan  8  2005 
/usr/sfw/lib/libstdc++.la
$ file /usr/sfw/lib/libstdc++.la
/usr/sfw/lib/libstdc++.la:      empty file
$

shows it is empty.

A Google finds others have the issue too:

"General Solaris 10 Discussion - libstdc++.la empty"
http://forums.sun.com/thread.jspa?threadID=5073150

Hence it is worth noting this in the MPIR documentation if it is not 
already done so. (Since this version of gcc is older than officially 
supported by Sage, it is not really an issue in Sage as such).

It appears this was fixed in Solaris patch 123647-01 (August 2006), 
though the latest version of that patch is 123647-03.

http://sunsolve.sun.com/search/document.do?assetkey=1-21-123647-03-1

which is dated Mon Aug 17th 2009.

Note one would need to be root to install this, though one could 
probably get around that by building ones own gcc.

Dave

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to