> Could you check that you have these
> development files installed. I think they're called 'libsuitesparse-dev'
> or something like that.

Installing this package fixed this error, but I now have a new one: it 
can't find -larpack.  Where does it expect this to be installed?  This 
error occurs both with the ARPACK directory in my home directory (the 
ARPACK default) and with it in the same directory as the package file.

 > Isn't the relevant question if the binary distributed by Debian is
 > compiled against suitesparse? I mean, if the binary version of Octave
 > that ships with Debian (and hence Ubuntu) depends on suitesparse, then I
 > would assume that the octave-headers package would depend on the
 > suitesparse headers.

The Ubuntu package octave3.0 depends on libsuitesparse, but 
octave3.0-headers doesn't depend on libsuitesparse-dev.  If you think 
this is a bug, the place to report it is 
https://launchpad.net/ubuntu/+source/octave3.0/+bugs

octave-3.0.1:1> cd windocs/Work
octave-3.0.1:2> pkg install arpack-1.0.6.tar.gz
/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-xmw4FH/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-xmw4FH/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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to