On Apr 30, 3:41 am, "Dr. David Kirkby" <david.kir...@onetel.net>
wrote:
> 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.

<SNIP>

> 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

Well, on the Solaris 10U5 box I am building on Singular links against
curses. I am not sure why Singular decides to use ncurses, but I would
recommend that you check insall.log and if that doesn't help you
config.log for singular. My build does:

ge-3.4.1.rc4-fulvia-gcc-4.3.3/local/include -fno-implicit-templates -
DNDEBUG -DOM_NDEBUG -Dix86_SunOS -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_Sta
tic.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  -L../kernel -lkernel -L/
home/mabshoff/b
uild-3.4.1.rc4/sage-3.4.1.rc4-fulvia-gcc-4.3.3/local/lib  -lnsl -
lsocket  -lm -lsingfac -lsingcf -lntl -lgmp -lreadline -lcurses -lm  -
lomalloc_ndebug ../
kernel/mmalloc.o

What happens if you temporarily remove ncurses from /usr/local?

Cheers,

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