[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with database package installation OS X
From: |
Stuart Edwards |
Subject: |
Re: Problem with database package installation OS X |
Date: |
Mon, 2 May 2011 15:13:58 -0400 |
On May 2, 2011, at 1:43 PM, Julien Salort wrote:
> Stuart Edwards <address@hidden> writes:
>
>> Hi -
>>
>> 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
>>
>> Below is the transcript from the install attempt. Seems to indicate
>> serious unhappiness with my sqlite3 set up, although it's very
>> standard.
>
> Try with the version on this link:
> http://www.salort.eu/Julien_Salort_Homepage/Macintosh_Software.html
>
That cleared up the first five warnings, but the sqlite3 problem (and some
others) remain (see below)
thx
Stu
SEsMacPro:octave stu$ octave -q
octave-3.4.0:1> pkg install database-1.0.4.tar
In file included from
/Applications/Octave.app/Contents/Resources/include/octave-3.4.0/octave/../octave/oct.h:31,
from sqlite3_wrap.cpp:149:
/Applications/Octave.app/Contents/Resources/include/octave-3.4.0/octave/../octave/config.h:2628:
error: multiple types in one declaration
/Applications/Octave.app/Contents/Resources/include/octave-3.4.0/octave/../octave/config.h:2628:
error: declaration does not declare anything
sqlite3_wrap.cpp:1442: error: invalid covariant return type for ‘virtual
Octave_map octave_swig_type::map_value() const’
/Applications/Octave.app/Contents/Resources/include/octave-3.4.0/octave/../octave/ov-base.h:560:
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: error: ‘curr_sym_tab’ was not declared in this scope
sqlite3_wrap.cpp:1197: error: ‘link_to_global_variable’ was not declared in
this scope
sqlite3_wrap.cpp:1204: error: ‘symbol_record’ was not declared in this scope
sqlite3_wrap.cpp:1204: error: ‘sr’ was not declared in this scope
sqlite3_wrap.cpp:1204: error: ‘global_sym_tab’ was not declared in this scope
sqlite3_wrap.cpp: At global scope:
sqlite3_wrap.cpp:1650: error: invalid covariant return type for ‘virtual
Octave_map octave_swig_ref::map_value() const’
/Applications/Octave.app/Contents/Resources/include/octave-3.4.0/octave/../octave/ov-base.h:560:
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: error: ‘curr_sym_tab’ was not declared in this scope
sqlite3_wrap.cpp:2110: error: ‘link_to_global_variable’ was not declared in
this scope
sqlite3_wrap.cpp: In function ‘octave_value_list
_wrap_sqlite3_auto_extension(const octave_value_list&, int)’:
sqlite3_wrap.cpp:6861: error: invalid conversion from ‘void*’ to ‘void (*)()’
sqlite3_wrap.cpp:6861: 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: error: ‘curr_sym_tab’ was not declared in this scope
sqlite3_wrap.cpp:10430: error: ‘link_to_global_variable’ was not declared in
this scope
make: *** [sqlite3.oct] Error 1
'make' returned the following error: CXXFLAGS="-arch i386"
/Applications/Octave.app/Contents/Resources/bin/mkoctfile-3.4.0
-Doctave_idx_type=int -DNEED_OCTAVE_QUIT -DHAVE_OCTAVE_34 -v -o sqlite3.oct
-lsqlite3 sqlite3_wrap.cpp
/usr/bin/g++-4.2 -c -fPIC
-I/Applications/Octave.app/Contents/Resources/include/octave-3.4.0/octave/..
-I/Applications/Octave.app/Contents/Resources/include/octave-3.4.0/octave
-I/Applications/Octave.app/Contents/Resources/include
-I/Applications/Octave.app/Contents/Resources/include
-I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -arch i386
-Doctave_idx_type=int -DNEED_OCTAVE_QUIT -DHAVE_OCTAVE_34 sqlite3_wrap.cpp -o
sqlite3_wrap.o
error: called from `pkg>configure_make' in file
/Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m near
line 1337, column 9
error: called from:
error:
/Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m at
line 783, column 5
error:
/Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/pkg/pkg.m at
line 354, column 9