[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem in installing octave-3.2.3 in Suse Linux 2.6.16.60-0.42.7
From: |
Sebastian Schöps |
Subject: |
Re: Problem in installing octave-3.2.3 in Suse Linux 2.6.16.60-0.42.7 |
Date: |
Thu, 19 Nov 2009 14:10:01 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4 |
Dear Srini,
compiling octave is not a trivial task! Anyway, I had a brief look at
your log-file: It is very likely that some dependencies are not
fulfilled. Did you install all needed packages prior to octave (e.g.
Suitesparse, qhull, ...)? Did you specify their directories when running
configure, if they are installed in a non-standard location?
Have a look at the wiki:
http://wiki.octave.org/wiki.pl?EnableLargeArrays
I was able to install octave 3.2.3 on OpenSUSE 11.1 using the following
steps (although I have the impression, that my build is not very fast):
1. add some additional sources (if not already available)
sudo zypper ar
http://download.opensuse.org/repositories/openSUSE:Factory:Contrib/standard
openSUSE:Factory:Contrib
sudo zypper ar
http://download.opensuse.org/repositories/home:/ars3niy:/octave/openSUSE_11.1/
ars3niy:Octave
sudo zypper ar http://ftp.gwdg.de/pub/linux/misc/packman/ Packman
2. we will need the following packages incl. some devel packages; install:
sudo zypper install bison build fftw3 fftw3-devel flex fltk fltk-devel \
gcc-c++ gcc-fortran glpk glpk-devel libglpk0 \
gmp-devel libgmp3 gnuplot gperf \
ImageMagick libbz2 libbz2-devel \
libcurl libcurl-devel hdf5 hdf5-devel \
libltdl3 ncurses ncurses-devel \
pcre pcre-devel readline readline-devel zlib zlib-devel \
libqrupdate1 libqrupdate1-devel \
Suitesparse Suitesparse-devel \
qhull qhull-devel \
libamd libamd-devel
2b. Add a link to hdf5 library (if necessary)
cd /usr/lib64
sudo ln libhdf5.so libhdf5.so.0
3. install source package( if you like you could compile additionally:
libamd Suitesparse qhull ...)
sudo zypper source-install octave
4. download octave-3.2.3.tar.gz and save it to
/usr/src/packages/SOURCES, e.g.
cd /usr/src/packages/SOURCES
wget ftp://ftp.octave.org/pub/octave/octave-3.2.3.tar.gz
5. modify octave.spec for the new version
edit /usr/src/packages/SPECS/octave.spec
- change version number (Version: 3.2.3)
- add additional entry to the "%file" section "%{_datadir}/applications/"
6. compile all packages according to their spec files
cd /usr/src/packages/SPECS
sudo rpmbuild -ba octave.spec
7. install the packages (this depends on your architecture, e.g. for x86_64)
cd /usr/src/packages/RPMS/x86_64
sudo rpm --install octave*.rpm
Bye
Sebastian
Am 18.11.09 00:00, schrieb srini:
Dear members,
Could you find the problem with the attached config.log file? I am badly in
need to install Octave-3.2.3 on Suse Linux 2.6.16.60-0.42.7 machine and
start using it. You help would be highly appreciated.
Regards,
Srini
On Sun, Nov 15, 2009 at 11:09 PM, srini<address@hidden>wrote:
Please find the attached zip file of the config.log file.
Regards,
Srini
2009/11/15 Jordi Gutiérrez Hermoso<address@hidden>
009/11/15 srini<address@hidden>:
Attached is the output of the config.log file. I'd appreciate your help
a
lot.
Please zip it and post it to the list so that others may help.