Somewhat confused by the way Sage appeared to have failed at two different points before, I decided to delete all the sage directory and start again. This time, the Solaris tool chain had the right paths in before I started.
So the process on my Sun Blade 2000, with Solaris 10 update 6, was basically. 1) Correct paths in Solaris tool chain. 2) Remove ncurses from /usr/local/lib (I'm still not convinced this is not a red-herring) 3) rm -rf sage-3.4.2.alpha0 4) Extract Sage tar file, and start fresh. These build ok: $ grep Successfully install.log Successfully installed sage_scripts-3.4.2.alpha0 Successfully installed conway_polynomials-0.2 Successfully installed gmp-mpir-1.1 <SNIP> Successfully installed examples-3.4.2.alpha0 Successfully installed gap-4.4.10.p11 clisp fails to build though. However, but I can't work out what the error message about clisp even means. It's not clear that the compiler could not compile something, or the linker can't link something. I'm just confused. There is a message that the output from make goes to a file /export/home/drkirkby/sage/sage-3.4.2.alpha0/spkg/build/clisp-2.47.p0/ build.log. I checked that file, and it looks ok. The last entry is gcc -O0 -g -I/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/ include/ -L/export/home/drkirkby/sage/sage-3.4.2.alpha0/local/lib/ -W - Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing- declarations -Wno-sign-compare -O0 -falign-functions=4 - DUNIX_BINARY_DISTRIB -DUNICODE -DNO_GETTEXT -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o unixaux.o built.o arisparc.o gllib/uniwidth/width.o gllib/uniname/ uniname.o gllib/localcharset.o modules.o -lreadline -ltermcap -lnsl - lsocket -liconv -o lisp.run || /usr/ccs/bin/ld -V -dy -Bdynamic -Y P,/ usr/ccs/lib:/usr/lib -Qy -o lisp.run `gcc -print-libgcc-file-name | sed -e 's,[^/]*$,,'`crt1.o `gcc -print-libgcc-file-name | sed -e 's, [^/]*$,,'`crti.o /usr/ccs/lib/values-Xa.o `gcc -print-libgcc-file-name | sed -e 's,[^/]*$,,'`crtbegin.o spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o unixaux.o built.o arisparc.o gllib/uniwidth/ width.o gllib/uniname/uniname.o gllib/localcharset.o modules.o -L`gcc - print-libgcc-file-name | sed -e 's,[^/]*$,,'` -L/usr/ccs/bin - lreadline -ltermcap -lnsl -lsocket -liconv -lgcc -lc `gcc -print- libgcc-file-name | sed -e 's,[^/]*$,,'`crtend.o `gcc -print-libgcc- file-name | sed -e 's,[^/]*$,,'`crtn.o -lgcc ./lisp.run -on-error appease -B . -E UTF-8 -Epathname 1:1 -Emisc 1:1 - norc -m 2MW -lp -x '(and (load "init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)' make[2]: Leaving directory `/export/home/drkirkby/sage/ sage-3.4.2.alpha0/spkg/build/clisp-2.47.p0/src/src' There is a message in install.log (see below) that sphinx-build is not present. Is that needed or not? I assume sphinx-build is only to build documentation and so it is not essential, but there is an error message about its absence. Here's the contents from install.log. clisp-2.47.p0/src/src/nls_cp1251.c clisp-2.47.p0/src/src/_README.de Finished extraction **************************************************** Host system uname -a: SunOS kestrel 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Blade-1000 Solaris **************************************************** **************************************************** GCC Version gcc -v Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ../gcc-4.3.2/configure --prefix=/home/mabshoff/sparc- solaris-toolchain/ --enable-languages=c,c++,fortran --with-gnu-ld -- with-ld=/home/mabshoff/sparc-solaris-toolchain/bin/ld --with-gnu-as -- with-as=/home/mabshoff/sparc-solaris-toolchain/bin/as --with-gmp=/usr/ local/gmp-4.2.3/sparc-SunOS-gcc-4.3.1-abi32/ --with-mpfr=/usr/local/ mpfr-2.3.2/sparc-SunOS-gmp-4.2.3-gcc-4.3.1-abi32/ Thread model: posix gcc version 4.3.2 (GCC) **************************************************** Disabling parallel make executing /export/home/drkirkby/sage/sage-3.4.2.alpha0/spkg/build/ clisp-2.47.p0/src/src/configure --disable-option-checking --with- readline --with-libreadline-prefix=/export/home/drkirkby/sage/ sage-3.4.2.alpha0/local/lib/ --prefix=/export/home/drkirkby/sage/ sage-3.4.2.alpha0/local --without-libintl --cache-file=config.cache configure: creating cache config.cache checking for a BSD-compatible install... /export/home/drkirkby/sparc- solaris-toolchain/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /export/home/drkirkby/sparc- solaris-toolchain/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: ** check for host type checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for style of include used by make... GNU checking for gcc... gcc <SNIP> checking for a modern readline... found a modern GNU readline configure: ** checks for OS services checking for the valid characters in filenames... ((ch >= 1) && (ch != 47)) configure: ** checks for compiler characteristics (arithmetic data types) checking whether char is unsigned... no checking whether single-float divbyzero raises an exception... no checking whether single-float overflow raises an exception... no checking whether single-float underflow raises an exception... no checking whether single-float inexact raises an exception... no checking whether double-float divbyzero raises an exception... no checking whether double-float overflow raises an exception... no checking whether double-float underflow raises an exception... no checking whether double-float inexact raises an exception... no checking whether byte ordering is bigendian... yes checking for integer types and behaviour... created intparam.h checking for floating-point types and behaviour... created floatparam.h configure: ** output file generation configure: updating cache config.cache configure: creating ./config.status config.status: creating po/Makefile.in config.status: creating gllib/Makefile config.status: creating makemake config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile Configure findings: FFI: no (user requested: default) readline: yes (user requested: yes) libsigsegv: no, consider installing GNU libsigsegv As you requested, we will proceed without libsigsegv... ./makemake --with-readline --with-libreadline-prefix=/export/home/ drkirkby/sage/sage-3.4.2.alpha0/local/lib/ --prefix=/export/home/ drkirkby/sage/sage-3.4.2.alpha0/local --without-libintl > Makefile make[2]: Entering directory `/export/home/drkirkby/sage/ sage-3.4.2.alpha0/spkg/build/clisp-2.47.p0/src/src' cp -p cfgsunux.lisp config.lisp chmod +w config.lisp echo '(setq *clhs-root-default* "http://www.ai.mit.edu/projects/iiip/ doc/CommonLISP/HyperSpec/")' >> config.lisp make[2]: Leaving directory `/export/home/drkirkby/sage/ sage-3.4.2.alpha0/spkg/build/clisp-2.47.p0/src/src' To continue building CLISP, the following commands are recommended (cf. unix/INSTALL step 4 ff): cd src /usr/dt/bin/dtpad config.lisp make make check Working around nohup problem and the infamous UNIX error 45 bug in OSX by sending make output to /export/home/drkirkby/sage/sage-3.4.2.alpha0/ spkg/build/clisp-2.47.p0/build.log. Error building clisp real 4m35.265s user 2m21.410s sys 1m16.021s sage: An error occurred while installing clisp-2.47.p0 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/clisp-2.47.p0 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/clisp-2.47.p0 (When you are done debugging, you can type "exit" to leave the subshell.) make[1]: *** [installed/clisp-2.47.p0] Error 1 make[1]: Leaving directory `/export/home/drkirkby/sage/ sage-3.4.2.alpha0/spkg' real 9:10:08.4 user 6:48:09.9 sys 26:26.4 /bin/sh: sphinx-build: not found /bin/sh: sphinx-build: not found /bin/sh: sphinx-build: not found /bin/sh: sphinx-build: not found sphinx-build -b html -d /export/home/drkirkby/sage/sage-3.4.2.alpha0/ devel/sage/doc/output/doctrees/en/website . /export/home/drkirkby/ sage/sage-3.4.2.alpha0/devel/sage/doc/output/html/en/website Build finished. The built documents can be found in /export/home/ drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/output/html/en/website sphinx-build -b html -d /export/home/drkirkby/sage/sage-3.4.2.alpha0/ devel/sage/doc/output/doctrees/en/developer . /export/home/drkirkby/ sage/sage-3.4.2.alpha0/devel/sage/doc/output/html/en/developer Build finished. The built documents can be found in /export/home/ drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/output/html/en/ developer sphinx-build -b html -d /export/home/drkirkby/sage/sage-3.4.2.alpha0/ devel/sage/doc/output/doctrees/en/numerical_sage . /export/home/ drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/output/html/en/ numerical_sage Build finished. The built documents can be found in /export/home/ drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/output/html/en/ numerical_sage sphinx-build -b html -d /export/home/drkirkby/sage/sage-3.4.2.alpha0/ devel/sage/doc/output/doctrees/en/bordeaux_2008 . /export/home/ drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/output/html/en/ bordeaux_2008 Build finished. The built documents can be found in /export/home/ drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/output/html/en/ bordeaux_2008 Traceback (most recent call last): File "/export/home/drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/ common/builder.py", line 668, in <module> getattr(get_builder(name), type)() File "/export/home/drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/ common/builder.py", line 258, in _wrapper getattr(get_builder(document), name)(*args, **kwds) File "/export/home/drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/ common/builder.py", line 348, in _wrapper for module_name in self.get_modified_modules(): File "/export/home/drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/ common/builder.py", line 412, in get_modified_modules env = self.get_sphinx_environment() File "/export/home/drkirkby/sage/sage-3.4.2.alpha0/devel/sage/doc/ common/builder.py", line 395, in get_sphinx_environment from sphinx.environment import BuildEnvironment ImportError: No module named sphinx.environment --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---