Hi folks,

So far in the 4.1.1 release cycle, David Kirkby has added Solaris (on
the machine t2) build support for about 7 packages. That is very
impressive work for an individual porter. Out of curiosity, I compiled
Sage 4.1.1.alpha1 from source on t2. Now the compilation dies at the
point where the SPKG sage-4.1.1.alpha1 was being compiled. I may be
wrong here, but the context is that that SPKG tries to link to the NTL
library and the specific error is in building "c_lib". But don't take
my words for it. The full log is up at

http://sage.math.washington.edu/home/mvngu/patch/install-solaris.log.bz2

and here's a relevant snippet:

CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise
"src/ZZ_pylong.cpp", line 47: Error: "ZZ_set_pylong(NTL::ZZ&,
_object*)" is expected to return a value.
1 Error(s) detected.
scons: *** [src/so_ZZ_pylong.o] Error 1
*** TOUCHING ALL CYTHON (.pyx) FILES ***
/opt/SUNWspro/bin/CC -o src/so_ZZ_pylong.o -c -KPIC -fPIC
-I/scratch/mvngu/sage-4.1.1.alpha1/local/include
-I/scratch/mvngu/sage-4.1.1.alpha1/local/include/python2.6
-I/scratch/mvngu/sage-4.1.1.alpha1/local/include/NTL -Iinclude
src/ZZ_pylong.cpp
CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise
"src/ZZ_pylong.cpp", line 47: Error: "ZZ_set_pylong(NTL::ZZ&,
_object*)" is expected to return a value.
1 Error(s) detected.
scons: *** [src/so_ZZ_pylong.o] Error 1

----------------------------------------------------------
sage: Building and installing modified Sage library files.


Installing c_lib
/opt/SUNWspro/bin/CC -o src/so_ZZ_pylong.o -c -KPIC -fPIC
-I/scratch/mvngu/sage-4.1.1.alpha1/local/include
-I/scratch/mvngu/sage-4.1.1.alpha1/local/include/python2.6
-I/scratch/mvngu/sage-4.1.1.alpha1/local/include/NTL -Iinclude
src/ZZ_pylong.cpp
CC: Warning: Option -fPIC passed to ld, if ld is invoked, ignored otherwise
"src/ZZ_pylong.cpp", line 47: Error: "ZZ_set_pylong(NTL::ZZ&,
_object*)" is expected to return a value.
1 Error(s) detected.
scons: *** [src/so_ZZ_pylong.o] Error 1
ERROR: There was an error building c_lib.

ERROR installing SAGE

real    2m12.137s
user    1m37.697s
sys     0m17.888s
sage: An error occurred while installing sage-4.1.1.alpha1
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /scratch/mvngu/sage-4.1.1.alpha1/install.log.  Describe your
computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/sage-4.1.1.alpha1 and type 'make'.
Instead type "/scratch/mvngu/sage-4.1.1.alpha1/sage -sh"
in order to set all environment variables correctly, then cd to
/scratch/mvngu/sage-4.1.1.alpha1/spkg/build/sage-4.1.1.alpha1
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/sage-4.1.1.alpha1] Error 1
make[1]: Leaving directory `/scratch/mvngu/sage-4.1.1.alpha1/spkg'

real    1037m24.955s
user    886m36.485s
sys     86m30.791s
Error building Sage.

-- 
Regards
Minh Van Nguyen

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send 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