[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave arpack installation
From: |
Thomas Weber |
Subject: |
Re: Octave arpack installation |
Date: |
Mon, 08 Dec 2008 09:05:46 +0100 |
Am Montag, den 08.12.2008, 08:12 +0530 schrieb Chaman Singh Verma:
> Hello
>
> This is the first time I am installing package from octave-forge and
> installation produces error
> messages that I don't understand.
>
> octave:1> pkg install arpack-1.0.6.tar.gz
> warning: creating installation directory /home/csv610/octave
> /usr/bin/ld: cannot find -larpack
> collect2: ld returned 1 exit status
> make: *** [eigs.oct] Error 1
> error: 'make' returned the following error: make: Entering directory
> `/tmp/oct-9B5DCX/arpack-1.0.6/src'
> mkoctfile -DHAVE_OCTAVE_30 -v -DHAVE_CONFIG_H -DHAVE_ARPACK eigs.cc
> -larpack
> g++ -c -fPIC -I/usr/include/octave-3.0.1
> -I/usr/include/octave-3.0.1/octave -O2 -g -DHAVE_OCTAVE_30
> -DHAVE_CONFIG_H -DHAVE_ARPACK eigs.cc -o eigs.o
> g++ -shared -Wl,-Bsymbolic -o eigs.oct eigs.o -larpack
> -L/usr/lib/octave-3.0.1 -loctinterp -loctave -lcruft -llapackgf-3
> -lblas-3gf -lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm
> -L/usr/lib/gcc/x86_64-linux-gnu/4.3.1
> -L/usr/lib/gcc/x86_64-linux-gnu/4.3.1/../../../../lib -L/lib/../lib
> -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.3.1/../../..
> -lhdf5 -lz -lgfortranbegin -lgfortran -lm
> make: Leaving directory `/tmp/oct-9B5DCX/arpack-1.0.6/src'
> error: called from `pkg:configure_make' in
> file /usr/share/octave/3.0.1/m/pkg/pkg.m near line 1245, column 2
>
>
>
> Since I am installing arpack, why it is expecting arpack library in
> the linking ?
The arpack package of octave-forge is just a connection between Octave
and the Arpack library. So, you must install arpack first.
Thomas