I've tried to build Sage 3.4.2-alpha0 on my Solaris SPARC and found the 
second problem I hit was the failure of singular-3-0-4-4-20080711.p4 to 
build. (The first was the hard-coded paths in the tool chain, which has 
been resolved now, by editing the files in the tool chain).

There is a line which attempts to link ncurses, but ncurses was not 
installed in my system except in /usr/local/lib, which the Singular 
distribution did not check.

My system is a Sun Blade 2000 (SPARC box) running Solaris 10 update 6.



g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c calcSVD.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c slInit_Static.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c mpsr_Put.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c mpsr_PutPoly.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c mpsr_GetPoly.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c mpsr_sl.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c mpsr_Get.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c mpsr_GetMisc.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c mpsr_Error.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c ndbm.cc
g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel 
-I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c sing_dbm.cc
sing_dbm.cc: In function 'BOOLEAN dbOpen(ip_link*, short int)':
sing_dbm.cc:292: warning: deprecated conversion from string constant to 
'char*'
sing_dbm.cc:300: warning: deprecated conversion from string constant to 
'char*'
g++ -O3 -g -fPIC -pipe  -I. -I../kernel -I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include -DNDEBUG 
-DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H -c claptmpl.cc
g++ -O3 -g -fPIC -pipe -I. -I../kernel -I/usr/xpg4/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/include 
-fno-implicit-templates -DNDEBUG -DOM_NDEBUG -DSunOS_5 -DHAVE_CONFIG_H 
-DGENTABLE \
      -o gentable claptmpl.o iparith.cc tesths.cc mpsr_Tok.cc \
      grammar.o scanner.o attrib.o eigenval_ip.o extra.o fehelp.o 
feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o lists.o 
sdb.o fglm.o interpolation.o silink.o subexpr.o janet.o wrapper.o 
libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o 
misc.o calcSVD.o  slInit_Static.o mpsr_Put.o mpsr_PutPoly.o 
mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o mpsr_GetMisc.o mpsr_Error.o  ndbm.o 
sing_dbm.o -ldl -L../kernel -lkernel 
-L/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/lib  -lnsl -lsocket 
  -lm -lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses -lm 
-lomalloc_ndebug ../kernel/mmalloc.o
iparith.cc:443: warning: deprecated conversion from string constant to 
'char*'
iparith.cc:443: warning: deprecated conversion from string constant to 
'char*'
<SNIP TONS OF WARNINGS HERE>
iparith.cc:443: warning: deprecated conversion from string constant to 
'char*'
iparith.cc:443: warning: deprecated conversion from string constant to 
'char*'
iparith.cc:443: warning: deprecated conversion from string constant to 
'char*'
iparith.cc:443: warning: deprecated conversion from string constant to 
'char*'
mpsr_Tok.cc: In function 'void mpsr_ttGen()':
mpsr_Tok.cc:538: warning: deprecated conversion from string constant to 
'char*'
./gentable
ld.so.1: gentable: fatal: libncurses.so.5: open failed: No such file or 
directory
make[4]: *** [iparith.inc] Killed
make[4]: Leaving directory 
`/export/home/drkirkby/sage/sage-3.4.2.alpha0/spkg/build/singular-3-0-4-4-20080711.p4/src/Singular'
make[3]: *** [install] Error 1
make[3]: Leaving directory 
`/export/home/drkirkby/sage/sage-3.4.2.alpha0/spkg/build/singular-3-0-4-4-20080711.p4/src'
make[2]: *** 
[/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/bin/Singular-3-0-4] 
Error 2
make[2]: Leaving directory 
`/export/home/drkirkby/sage/sage-3.4.2.alpha0/spkg/build/singular-3-0-4-4-20080711.p4/src'
Unable to build Singular.

real    18m11.298s
user    12m28.534s
sys     1m9.551s
sage: An error occurred while installing singular-3-0-4-4-20080711.p4
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /export/home/drkirkby/sage/sage-3.4.2.alpha0/install.log.  Describe 
your computer, operating system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/export/home/drkirkby/sage/sage-3.4.2.alpha0/spkg/build/singular-3-0-4-4-20080711.p4
 
and type 'make'.
Instead type "/export/home/drkirkby/sage/sage-3.4.2.alpha0/sage -sh"
in order to set all environment variables correctly, then cd to
/export/home/drkirkby/sage/sage-3.4.2.alpha0/spkg/build/singular-3-0-4-4-20080711.p4
(When you are done debugging, you can type "exit" to leave the
subshell.)
make[1]: *** [installed/singular-3-0-4-4-20080711.p4] Error 1
make[1]: Leaving directory 
`/export/home/drkirkby/sage/sage-3.4.2.alpha0/spkg'

real  6:45:16.0
user  3:57:46.7
sys     16:54.2
python: can't open file 
'/export/home/drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/common/builder.py':
 
[Errno 2] No such file or directory

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