From bug-octave-request at bevo dot che dot wisc dot edu Fri Feb 27 15:53:14 2004 Subject: compiling octave-forge on Solaris From: "Dmitri A. Sergatskov" To: bug-octave at bevo dot che dot wisc dot edu Date: Fri, 27 Feb 2004 14:52:41 -0700 I finally got around compiling octave-forge-2004.02.12 (against octave-2.1.55) on Sparc Solaris 8. There were some problems: configure still puts -R/usr/openwin/lib into Makeconf http://www.octave.org/mailing-lists/help-octave/2003/679 main/sparse/buildtests.sh has some bashisms in it (in particular 'function'). Since /bin/sh is not bash on Solaris, it fails. Replacing #!/bin/sh with #!/bin/bash solved that problem. After compile finished 'make install' failed with "cannot shift" error message (another bashism), /bin/sh -> /bin/bash solved that as well. It looks quite reasonable to me to require bash in order to build octave-forge, so may be that is the simplest fix (bash is actually included on Sun's "Companion CD" or whatever it is called). Sincerely, Dmitri. ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------