[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with database package installation OS X
From: |
Stuart Edwards |
Subject: |
Problem with database package installation OS X |
Date: |
Mon, 2 May 2011 12:39:14 -0400 |
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.
Any suggestions much appreciated.
Stu
octave-3.4.0:5> pkg install database-1.0.4.tar
ld: warning: directory '/tmp/deps-i386/lib' following -L not found
ld: warning: directory '/tmp/deps-i386/lib/gcc/i686-apple-darwin10/4.2.1'
following -L not found
ld: warning: directory
'/private/tmp/deps-i386/bin/../lib/gcc/i686-apple-darwin10/4.2.1' following -L
not found
ld: warning: directory '/private/tmp/deps-i386/bin/../lib/gcc' following -L not
found
ld: warning: directory
'/private/tmp/deps-i386/bin/../lib/gcc/i686-apple-darwin10/4.2.1/../../..'
following -L not found
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 -arch i386 -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/tmp/deps-i386/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
- how to install octave and use it, Alah Joseph, 2011/05/02
- Re: how to install octave and use it, Andy Buckle, 2011/05/02
- Re: how to install octave and use it, Doug Stewart, 2011/05/02
- Problem with database package installation OS X,
Stuart Edwards <=
- Re: Problem with database package installation OS X, Julien Salort, 2011/05/02
- Re: Problem with database package installation OS X, Stuart Edwards, 2011/05/02
- Re: Problem with database package installation OS X, Julien Salort, 2011/05/04
- Re: Problem with database package installation OS X, Martin Helm, 2011/05/04
- Re: Problem with database package installation OS X - bug report?, Stuart Edwards, 2011/05/07
- Re: Problem with database package installation OS X - bug report?, Martin Helm, 2011/05/07