The problem doesn't seem to be with libtermcap or curses. It's a flag problem. When compiling libsingular, the "--shared flag" has to be passed to gcc, instead of the default "-export-dynamic". For that, the Makefile in Singular/Makefile has to have a secial section for nexentaos as follows: {{{ ifeq ($(SINGUNAME),ix86-nexentaos) SO_SUFFIX = so LIBSINGULAR_FLAGS = --shared LIBSINGULAR_LIBS = -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc_ndebug endif }}}
And for singular to find ix86-nexentaos, singuname.sh has to have the following: {{{ elif (echo $uname_a | $egrep "SunOS" >$devnull) then # NexentaOS ############### if (echo $uname_a | $egrep "NexentaOS" > $devnull) then #echo "----------------------------------------------------" echo ${prefix}-nexentaos #echo "----------------------------------------------------" #exit 0 else echo ix86-SunOS #exit 0 fi exit 0 }}} Problem is, I don't know how to tell the make file Singular/Makefile that "--shared" has to be passed to gcc for nexentaos. I could just stick the first fragment showed above, but Singular/Makefile is generated dynamically. How do I stick this piece of code in Singular/Makefile dynamically? didier On 5/29/07, mabshoff <[EMAIL PROTECTED]> wrote: > > > > > > Hello, > > > > as far as I can tell these are symbols from the termcap library. > > Sorry, I should have written curses/ncurses library - too early for > me. > > > Could > > you post the exact command of the compiler/linker before the failure? > > > > There have been several efforts to get SAGE to build and run on > > "proper" Solaris, so I might be worthwhile that you post some patches. > > > > Cheers, > > > > Michael > > 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/ -~----------~----~----~----~------~----~------~--~---