For a few years now I have periodically attempted to compile GNU Octave on my SGI, alway with less than marginal success. I recently downloaded the source from
http://www.octave.org/
which is version 2.1.50. This is the first version I've gotten to compile with errors!!! Unfortunately, it immediatly
Bus error (core dump)
when I run the executable. I used
./configure --with-local-prefix=/usr/freeware --with-g77 --enable-shared --enable-dl --disable-readline
and gmake with gcc version 3.2.2.
I read in the octave README.Linux file
When I check ldd I get:
Which doesn't look to me like it is picking up the /usr/freeware libraries. Another funny thing is if I issue the same configure command as above, but with the --disable-readline I get
even though I have readline 4.3 from the freeware.sgi.com site installed and only versions 4.2 and up are required.
This software (an analytical package very MATLAB compatible) is the holy grail of freeware builts to me. If some one out there could help me build it on my machine I would be eternally grafteful. (I even paid The Written Word once to compile it for me...without much luck.)
./configure --with-local-prefix=/usr/freeware --with-g77 --enable-shared --enable-dl --disable-readline
and gmake with gcc version 3.2.2.
I read in the octave README.Linux file
If you can compile Octave, but it crashes with a segmentation fault
right away, you probably have incompatible versions of libc and
libstdc++ installed, or you have a version of the dynamic loader,
ld.so, that is incompatible with your versions of the libraries, or
both.
When I check ldd I get:
ldd ./octave
liboctinterp.so => /usr/local/lib/octave-2.1.50/liboctinterp.so
liboctave.so => /usr/local/lib/octave-2.1.50/liboctave.so
libcruft.so => /usr/local/lib/octave-2.1.50/libcruft.so
libscs.so => /usr/lib32/libscs.so
libcurses.so => /usr/lib32/libcurses.so
libdl.so => /usr/lib32/libdl.so
libmpi.so => /usr/lib32/libmpi.so
libm.so => /usr/lib32/libm.so
libc.so.1 => /usr/lib32/libc.so.1
libftn.so => /usr/lib32/libftn.so
libCsup.so => /usr/lib32/libCsup.so
libC.so.2 => /usr/lib32/libC.so.2
libCio.so.1 => /usr/lib32/libCio.so.1
libarray.so => /usr/lib32/libarray.so
Which doesn't look to me like it is picking up the /usr/freeware libraries. Another funny thing is if I issue the same configure command as above, but with the --disable-readline I get
...
checking for rl_set_keyboard_input_timeout in -lreadline... no
configure: WARNING: I need GNU Readline 4.2 or later
configure: error: this is fatal unless you specify --disable-readline
even though I have readline 4.3 from the freeware.sgi.com site installed and only versions 4.2 and up are required.
versions | grep readline
I fw_readline 05/23/2003 readline-4.3 GNU command line prompt libraries
I fw_readline.man 05/23/2003 readline-4.3 man pages
I fw_readline.man.examples 05/23/2003 readline-4.3 example programs
I fw_readline.man.info 05/23/2003 readline-4.3 info pages
I fw_readline.man.readline 05/23/2003 readline-4.3 man pages
I fw_readline.man.relnotes 05/23/2003 readline-4.3 release notes
I fw_readline.src 03/27/2003 readline-4.3 original source code
I fw_readline.src.readline 03/27/2003 readline-4.3 original source code
I fw_readline.sw 05/23/2003 readline-4.3 execution only env
I fw_readline.sw.dev 05/23/2003 readline-4.3 archive libraries
I fw_readline.sw.hdr 05/23/2003 readline-4.3 header files
I fw_readline.sw.lib 05/23/2003 readline-4.3 shared libraries
I fw_readline.sw.readline 05/23/2003 readline-4.3 prompt utility
I fw_readline.sw64 05/23/2003 readline-4.3 execution only env
I fw_readline.sw64.lib 05/23/2003 readline-4.3 64-bit shared libraries
I gnu.sw.lib_readline 03/27/2003 GNU readline library
This software (an analytical package very MATLAB compatible) is the holy grail of freeware builts to me. If some one out there could help me build it on my machine I would be eternally grafteful. (I even paid The Written Word once to compile it for me...without much luck.)