[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with database package installation OS X
From: |
Martin Helm |
Subject: |
Re: Problem with database package installation OS X |
Date: |
Wed, 4 May 2011 20:15:10 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
Am Mittwoch, 4. Mai 2011, 19:47:17 schrieb Julien Salort:
> Stuart Edwards <address@hidden> writes:
> >>> I'm trying, without success, to install the package 'database-1.0.4'.
> >>> My octave is the latest 3.4 Mac binary (4/8/11) running on OS X 10.6.7
> >
> > That cleared up the first five warnings, but the sqlite3 problem (and
> > some others) remain (see below)
>
> Ok then I don't know.
> Can someone confirm that this is a Mac-specific problem ?
> (ie. does this work with Octave-3.4.0 on linux ?)
>
> Julien
It is not Mac specific. Just tried that on openSUSE 11.4 64bit (octave 3.4.0)
with
pkg install -forge database
and get essentially the same errors
In file included from
/usr/local/include/octave-3.4.0/octave/../octave/oct.h:31:0,
from sqlite3_wrap.cpp:149:
/usr/local/include/octave-3.4.0/octave/../octave/config.h:2628:25: error:
multiple types in one declaration
/usr/local/include/octave-3.4.0/octave/../octave/config.h:2628:25: error:
declaration does not declare anything
sqlite3_wrap.cpp:1442:24: error: invalid covariant return type for ‘virtual
Octave_map octave_swig_type::map_value() const’
/usr/local/include/octave-3.4.0/octave/../octave/ov-base.h:560:22: error:
overriding ‘virtual octave_map octave_base_value::map_value() const’
sqlite3_wrap.cpp: In member function ‘void
octave_swig_type::install_global()’:
sqlite3_wrap.cpp:1197:28: error: ‘curr_sym_tab’ was not declared in this scope
sqlite3_wrap.cpp:1197:65: error: ‘link_to_global_variable’ was not declared in
this scope
sqlite3_wrap.cpp:1204:8: error: ‘symbol_record’ was not declared in this scope
sqlite3_wrap.cpp:1204:23: error: ‘sr’ was not declared in this scope
sqlite3_wrap.cpp:1204:28: error: ‘global_sym_tab’ was not declared in this
scope
sqlite3_wrap.cpp: At global scope:
sqlite3_wrap.cpp:1650:24: error: invalid covariant return type for ‘virtual
Octave_map octave_swig_ref::map_value() const’
/usr/local/include/octave-3.4.0/octave/../octave/ov-base.h:560:22: error:
overriding ‘virtual octave_map octave_base_value::map_value() const’
sqlite3_wrap.cpp: In function ‘void SWIG_Octave_SetModule(void*,
swig_module_info*)’:
sqlite3_wrap.cpp:2110:27: error: ‘curr_sym_tab’ was not declared in this scope
sqlite3_wrap.cpp:2110:65: error: ‘link_to_global_variable’ was not declared in
this scope
sqlite3_wrap.cpp: In function ‘octave_value_list _wrap_sqlite3_vmprintf(const
octave_value_list&, int)’:
sqlite3_wrap.cpp:3029:34: error: invalid array assignment
sqlite3_wrap.cpp: In function ‘octave_value_list
_wrap_sqlite3_auto_extension(const octave_value_list&, int)’:
sqlite3_wrap.cpp:6861:44: error: invalid conversion from ‘void*’ to ‘void (*)
()’
sqlite3_wrap.cpp:6861:44: error: initializing argument 1 of ‘int
sqlite3_auto_extension(void (*)())’
sqlite3_wrap.cpp: In function ‘octave_value_list Fsqlite3(const
octave_value_list&, int)’:
sqlite3_wrap.cpp:10430:27: error: ‘curr_sym_tab’ was not declared in this
scope
sqlite3_wrap.cpp:10430:65: error: ‘link_to_global_variable’ was not declared
in this scope
make: *** [sqlite3.oct] Fehler 1
'make' returned the following error: make: Entering directory `/tmp/oct-
feCGOK/database-1.0.4/src'
CXXFLAGS="-g" /usr/local/bin/mkoctfile-3.4.0 -Doctave_idx_type=int -
DNEED_OCTAVE_QUIT -DHAVE_OCTAVE_34 -v -o sqlite3.oct -lsqlite3
sqlite3_wrap.cpp
g++ -c -fPIC -I/usr/local/include/octave-3.4.0/octave/.. -
I/usr/local/include/octave-3.4.0/octave -I/usr/local/include -
I/usr/include/freetype2 -g -Doctave_idx_type=int -DNEED_OCTAVE_QUIT -
DHAVE_OCTAVE_34 sqlite3_wrap.cpp -o sqlite3_wrap.o
make: Leaving directory `/tmp/oct-feCGOK/database-1.0.4/src'
error: called from `pkg>configure_make' in file
/usr/local/share/octave/3.4.0/m/pkg/pkg.m near line 1332, column 9
error: called from:
error: /usr/local/share/octave/3.4.0/m/pkg/pkg.m at line 783, column 5
error: /usr/local/share/octave/3.4.0/m/pkg/pkg.m at line 354, column 9