help-octave
[Top][All Lists]
Advanced

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

Problem with pkg install on 2.9.16 cvs


From: Riccardo Corradini
Subject: Problem with pkg install on 2.9.16 cvs
Date: Mon, 5 Nov 2007 11:39:17 +0100 (CET)

Hi all,
I successfully installed the latest octave2.9.16 from CVS  on the latest version of ubuntu, but I have some problems installing the octave forge packages.
It seems there problems are finding the octave's  header
For instance
octave -q
octave:1> pkg install io-1.0.3.tar.gz
dlmread.cc:18:20: error: config.h: No such file or directory
dlmread.cc:26:24: error: octave/oct.h: No such file or directory
dlmread.cc:27:28: error: octave/lo-ieee.h: No such file or directory
dlmread.cc: In function ‘bool sep_is_next(std::istringstream*, std::string)’:
dlmread.cc:44: error: no match for ‘operator>>’ in ‘* linestrm >> c’
dlmread.cc:47: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc: At global scope:
dlmread.cc:52: error: ‘Complex’ was not declared in this scope
dlmread.cc:52: error: template argument 1 is invalid
dlmread.cc:52: error: template argument 2 is invalid
dlmread.cc: In function ‘int read_textline(std::istringstream*, std::string)’:
dlmread.cc:54: error: ‘Complex’ was not declared in this scope
dlmread.cc:54: error: template argument 1 is invalid
dlmread.cc:54: error: template argument 2 is invalid
dlmread.cc:54: error: invalid type in declaration before ‘;’ token
dlmread.cc:55: error: expected `;' before ‘cv’
dlmread.cc:58: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:63: error: request for member ‘push’ in ‘line’, which is of non-class type ‘int’
dlmread.cc:66: error: request for member ‘push’ in ‘line’, which is of non-class type ‘int’
dlmread.cc:69: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:69: error: request for member ‘push’ in ‘line’, which is of non-class type ‘int’
dlmread.cc:73: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:74: error: ‘cv’ was not declared in this scope
dlmread.cc:74: error: ‘octave_read_double’ was not declared in this scope
dlmread.cc:75: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:77: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:78: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:79: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:80: error: request for member ‘push’ in ‘line’, which is of non-class type ‘int’
dlmread.cc:82: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:83: error: invalid use of undefined type ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/iosfwd:75: error: declaration of ‘struct std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >’
dlmread.cc:84: error: request for member ‘push’ in ‘line’, which is of non-class type ‘int’
dlmread.cc: At global scope:
dlmread.cc:92: error: expected constructor, destructor, or type conversion before ‘(’ token
make: *** [dlmread.oct] Error 1
error: 'make' returned the following error: make: Entering directory `/tmp/oct-Jb8Wmd/io-1.0.3/src'
mkoctfile dlmread.cc
make: Leaving directory `/tmp/oct-Jb8Wmd/io-1.0.3/src'
error: called from `pkg:configure_make' in file /usr/share/octave/2.9.16+/m/pkg/pkg.m near line 1043, column 2
Is there a way I could fix it ?
Thanks a lot to all for your patience
Respectfully
Riccardo



L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
reply via email to

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