Hi - 

Installation of database-1.0.4 fails on OS X 10.6.7 and openSUSE 11.4 64 
(Octave-3.4.0)

The errors on the OS X attempt are shown below - openSUSE produces similar 
errors.

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
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to