Klas Heggemann wrote: > > On 15 nov 2007, at 16.45, Michael Abshoff wrote: >>> >>> >>> However the build does not seem to be functional: >>> >>> sgray:sage-2.8.12>./sage >>> ---------------------------------------------------------------------- >>> | SAGE Version 2.8.12, Release Date: >>> 2007-11-06 | >>> | Type notebook() for the GUI, and license() for >>> information. | >>> ---------------------------------------------------------------------- >>> /usr/bin/env: No such file or directory >>> /usr/bin/env: No such file or directory >> >> Mmh, which shell do you use? Sage only works correctly with bash at >> the >> moment, but I thought that Solaris 10 at least shipped with a decent >> enough bash to run Sage. Otherwise I need to take a deeper look if it >> isn't the bash :( > > I've tried started it from bash and tcsh, if that matters. > But please note that on Solaris /bin/sh is not bash, so > if scripts start with > > #!/bin/sh > > some things may not work as expected. > > From what I cas see, most scripts in local/bin ar #!/bin/sh-scripts. > > If I change these to start with #!/bin/bash, things look different: >
Yep, this is now ticket #1179 http://www.sagetrac.org/sage_trac/ticket/1179 On our Solaris test box we replaced /bin/sh by /bin/bash because without that change at least clisp wouldn't build and there were some other issues. > sgray:sage-2.8.12>./sage -testall > This script will run the unit tests for DSage > /afs/nada.kth.se/pkg/sage/src/sage-2.8.12/local/bin/sage-dsage-trial: > line 17: trial: command not found > However, an ERROR occurred in the Distributed SAGE unit tests. > Testing SAGE documentation > Testing SAGE tutorial > /afs/nada.kth.se/pkg/sage/src/sage-2.8.12/local/bin/sage-maketest: > line 18: cd: /afs/nada.kth.se/pkg/sage/src/sage-2.8.12/devel/doc/tut: > No such file or directory > ERROR: File ./tut.tex is missing > exit code: 1 > > ---------------------------------------------------------------------- > The following tests failed: > > > ./tut.tex > Total time for all tests: 0.0 seconds > Testing SAGE programming guide > /afs/nada.kth.se/pkg/sage/src/sage-2.8.12/local/bin/sage-maketest: > line 22: cd: /afs/nada.kth.se/pkg/sage/src/sage-2.8.12/devel/doc/prog: > No such file or directory > ERROR: File ./prog.tex is missing > exit code: 1 > > ---------------------------------------------------------------------- > The following tests failed: > > > ./prog.tex > Total time for all tests: 0.0 seconds > Testing SAGE constructions guide > /afs/nada.kth.se/pkg/sage/src/sage-2.8.12/local/bin/sage-maketest: > line 26: cd: /afs/nada.kth.se/pkg/sage/src/sage-2.8.12/devel/doc/ > const: No such file or directory > ERROR: File ./const.tex is missing > exit code: 1 > > ---------------------------------------------------------------------- > The following tests failed: > > > ./const.tex > Total time for all tests: 0.0 seconds > ERROR: File ./devel/sage/sage is missing > exit code: 1 > > ---------------------------------------------------------------------- > The following tests failed: > > > ./devel/sage/sage > Total time for all tests: 0.0 seconds > However, an ERROR occurred in the Distributed SAGE unit tests. > Please see /afs/nada.kth.se/pkg/sage/src/sage-2.8.12/tmp/test.log for > the complete log from this test. It looks like the build failed somehow. I see that you use afs, so that adds another variable to the mix. Could you gzip the install.log and put it up somewhere so that I can have a look? 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/ -~----------~----~----~----~------~----~------~--~---