help-octave
[Top][All Lists]
Advanced

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

package installation


From: Henrique Frasson
Subject: package installation
Date: Wed, 13 Feb 2008 09:33:08 -0300 (ART)

Hi,

I'm starting to use octave and have a problem with
arpack installation. 

Someone help me?

I already installed other packages:

octave-2.9.19:5> pkg list

Package  | Version | Installation directory
-------------------+---------+-----------------------
general *|1.0.4|/home/henrique/octave/general-1.0.4
gsl *|1.0.3|/home/henrique/octave/gsl-1.0.3
ident *|1.0.3|/home/henrique/octave/ident-1.0.3
linear-algebra*|1.0.3|/home/henrique/octave/linear-algebra-1.0.3
mapping*|1.0.3|/home/henrique/octave/mapping-1.0.3
nan*|1.0.3|/home/henrique/octave/nan-1.0.3
octcdf*|1.0.7|/home/henrique/octave/octcdf-1.0.7
physicalconstants*|0.1.3|/home/henrique/octave/physicalconstants-0.1.3
mmmplot*|1.0.3|/home/henrique/octave/plot-1.0.3
pt_br*|1.0.4|/home/henrique/octave/pt_br-1.0.4
signal*|1.0.5|/home/henrique/octave/signal-1.0.5
specfun*|1.0.4|/home/henrique/octave/specfun-1.0.4
statistics*|1.0.4|/home/henrique/octave/statistics-1.0.4
time*|1.0.3|/home/henrique/octave/time-1.0.3
tsa*|3.10.4|/home/henrique/octave/tsa-3.10.4



This is the error message:

octave-2.9.19:5> pkg install arpack-1.0.3.tar.gz

config.status: WARNING:  Makeconf.in seems to ignore
the --datarootdir setting
In file included from
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:31,
                 from
/usr/include/octave-2.9.19/octave/SparsedbleCHOL.h:27,
                 from eigs-base.cc:40,
                 from eigs.cc:40:
/usr/include/octave-2.9.19/octave/oct-sparse.h:31:33:
error: suitesparse/umfpack.h: No such file or
directory
/usr/include/octave-2.9.19/octave/oct-sparse.h:41:32:
error: suitesparse/colamd.h: No such file or directory
/usr/include/octave-2.9.19/octave/oct-sparse.h:51:33:
error: suitesparse/ccolamd.h: No such file or
directory
/usr/include/octave-2.9.19/octave/oct-sparse.h:61:33:
error: suitesparse/cholmod.h: No such file or
directory
/usr/include/octave-2.9.19/octave/oct-sparse.h:71:28:
error: suitesparse/cs.h: No such file or directory
In file included from
/usr/include/octave-2.9.19/octave/SparsedbleCHOL.h:27,
                 from eigs-base.cc:40,
                 from eigs.cc:40:
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:57:
error: ISO C++ forbids declaration of ‘cholmod_sparse’
with no type
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:57:
error: expected ‘;’ before ‘*’ token
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:59:
error: expected `;' before ‘octave_idx_type’
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:74:
error: ISO C++ forbids declaration of ‘cholmod_sparse’
with no type
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:74:
error: expected ‘;’ before ‘*’ token
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:76:
error: ‘cholmod_common’ does not name a type
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:88:
error: expected ‘,’ or ‘...’ before ‘*’ token
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:88:
error: ISO C++ forbids declaration of ‘cholmod_sparse’
with no type
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:
In constructor ‘sparse_base_chol<chol_type, chol_elt,
p_type>::sparse_base_chol_rep::sparse_base_chol_rep()’:
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:43:
error: class ‘sparse_base_chol<chol_type, chol_elt,
p_type>::sparse_base_chol_rep’ does not have any field
named ‘Lsparse’
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:
In destructor ‘sparse_base_chol<chol_type, chol_elt,
p_type>::sparse_base_chol_rep::~sparse_base_chol_rep()’:
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:55:
error: ‘Lsparse’ was not declared in this scope
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:55:
error: ‘Common’ was not declared in this scope
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:55:
error: there are no arguments to ‘cholmod_free_sparse’
that depend on a template parameter, so a declaration
of ‘cholmod_free_sparse’ must be available
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:55:
error: (if you use ‘-fpermissive’, G++ will accept
your code, but allowing the use of an undeclared name
is deprecated)
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:
In member function ‘octave_idx_type
sparse_base_chol<chol_type, chol_elt,
p_type>::sparse_base_chol_rep::P() const’:
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:60:
error: ‘Lsparse’ was not declared in this scope
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:
In destructor ‘sparse_base_chol<chol_type, chol_elt,
p_type>::sparse_base_chol_rep::~sparse_base_chol_rep()
[with chol_type = SparseMatrix, chol_elt = double,
p_type = SparseMatrix]’:
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:159:
  instantiated from ‘sparse_base_chol<chol_type,
chol_elt, p_type>::~sparse_base_chol() [with chol_type
= SparseMatrix, chol_elt = double, p_type =
SparseMatrix]’
/usr/include/octave-2.9.19/octave/SparsedbleCHOL.h:36:
  instantiated from here
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:55:
error: ‘cholmod_free_sparse’ was not declared in this
scope
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:
In destructor ‘sparse_base_chol<chol_type, chol_elt,
p_type>::sparse_base_chol_rep::~sparse_base_chol_rep()
[with chol_type = SparseComplexMatrix, chol_elt =
std::complex<double>, p_type = SparseMatrix]’:
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:159:
  instantiated from ‘sparse_base_chol<chol_type,
chol_elt, p_type>::~sparse_base_chol() [with chol_type
= SparseComplexMatrix, chol_elt =
std::complex<double>, p_type = SparseMatrix]’
/usr/include/octave-2.9.19/octave/SparseCmplxCHOL.h:39:
  instantiated from here
/usr/include/octave-2.9.19/octave/sparse-base-chol.h:55:
error: ‘cholmod_free_sparse’ was not declared in this
scope
make: *** [eigs.oct] Error 1
error: 'make' returned the following error: make:
Entering directory `/tmp/oct-mGHM25/arpack-1.0.3/src'
mkoctfile -DHAVE_OCTAVE_29 -v -DHAVE_CONFIG_H
-DHAVE_ARPACK eigs.cc -larpack
/usr/bin/g++ -c -fPIC -I/usr/include/octave-2.9.19
-I/usr/include/octave-2.9.19/octave -O2
-DHAVE_OCTAVE_29 -DHAVE_CONFIG_H -DHAVE_ARPACK eigs.cc
-o eigs.o
make: Leaving directory
`/tmp/oct-mGHM25/arpack-1.0.3/src'
error: called from `pkg:configure_make' in file
/usr/share/octave/2.9.19/m/pkg/pkg.m near line 1058,
column 2
octave-2.9.19:5>    

Best regards,


Henrique Frasson de Souza Mário, M.Sc.
Universidade Federal de Santa Catarina - UFSC
Laboratório de Hidráulica Marítima - LaHiMar
Tel.: (48) 3721 9992 - 8821 6104
http://www.lahimar.ufsc.br


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/


reply via email to

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