help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling 3.0.1 for Solaris 10


From: Ole Tange
Subject: Compiling 3.0.1 for Solaris 10
Date: Fri, 1 Aug 2008 18:12:52 +0200

Hi.

I am trying to compile Octave 3.0.1 for Solaris 10 and I am stuck.

I need version 3.0.1. I have been able to find a precompiled version 3.0.0
at http://www.blastwave.org/packages.php/octave so clearly it is
possible to compile 3.0.0.

I figured if I could compile version 3.0.0 then compiling 3.0.1 would
probably be simple. So I tried compiling 3.0.0
(ftp://ftp.octave.org/pub/octave/octave-3.0.0.tar.bz2) by following
this spec by hand:
http://blastwave.informatik.uni-erlangen.de/csw/users/michael/sources/specs/octave

The spec has a few dependencies:

  /usr/sbin/pkgadd -d http://www.blastwave.org/pkg_get.pkg
  /opt/csw/bin/pkg-get -i wget
  /opt/csw/bin/pkg-get -i gnuplot
  /opt/csw/bin/pkg-get -i gcc3g++rt
  /opt/csw/bin/pkg-get -i gcc3g77rt

./configure tells me I have no C-compiler. So:

  /opt/csw/bin/pkg-get -i gcc3g77
  /opt/csw/bin/pkg-get -i gcc3core
  /opt/csw/bin/pkg-get -i gcc3g++

(I tried gcc4, but found no g77 compiler at blastwave).

Also gmake is needed as make fails:

  /opt/csw/bin/pkg-get -i gmake

./configure makes non-working Makefiles if not gsed is installed so:

  /opt/csw/bin/pkg-get -i gsed

install.info needs texinfo, so:

  /opt/csw/bin/pkg-get -i texinfo

Then:
  ./configure --prefix=/opt/csw --mandir=/opt/csw/share/man
--infodir=/opt/csw/share/info --with-hdf5
  gmake
  gmake install

Then:

# gmake check
gmake -f octMakefile check
gmake[1]: Entering directory `/octave/octave-3.0.0'
gmake -C test check
gmake[2]: Entering directory `/octave/octave-3.0.0/test'
./build_sparse_tests.sh
../run-octave --norc --silent --no-history ./fntests.m .
gmake[2]: *** [check] Segmentation Fault (core dumped)
gmake[2]: Leaving directory `/octave/octave-3.0.0/test'
gmake[1]: *** [check] Error 2
gmake[1]: Leaving directory `/octave/octave-3.0.0'
gmake: *** [check] Error 2

The core file is http://ange.dk/~tange/core.gz
The output from configure is at: http://ange.dk/~tange/configure.log
The output during compile is at: http://ange.dk/~tange/gmake.log
The whole octave-3.0.0 directory after compile is at:
http://ange.dk/~tange/octave-3.0.0.compiled.tar.bz2

- o -

If I take liboctinterp.so from the binary package at blastwave then
Octave does not dump core. So it seems the problem is related to this
library.


/Ole


reply via email to

[Prev in Thread] Current Thread [Next in Thread]