Wed 09 Jun 2010 02:42:00 AM UTC, original submission:
Recently upgraded from Octave Version 3.0.2 to Version 3.2.4
I am using openSUSE 11.1 Linux
Previously, with Octave version 3.0.2, database-1.0.4.tar.gz with MySQL worked fine.
Now, after build, test, install of Octave version 3.2.4, this
package no longer can be installed:
-----------------------------------------------------------
# octave
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.
Octave was configured for "i686-pc-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html
Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).
For information about changes from previous versions, type `news'.
warning: mark_as_command is obsolete and will be removed from a future version of Octave
octave:1> pkg install database-1.0.4.tar.gz
mysql_wrap.cpp: In member function ‘void octave_swig_type::install_global()’:
mysql_wrap.cpp:1197: error: ‘curr_sym_tab’ was not declared in this scope
mysql_wrap.cpp:1197: error: ‘link_to_global_variable’ was not declared in this scope
mysql_wrap.cpp:1204: error: ‘symbol_record’ was not declared in this scope
mysql_wrap.cpp:1204: error: ‘sr’ was not declared in this scope
mysql_wrap.cpp:1204: error: ‘global_sym_tab’ was not declared in this scope
mysql_wrap.cpp: In function ‘void SWIG_Octave_SetModule(void, swig_module_info)’:
mysql_wrap.cpp:2110: error: ‘curr_sym_tab’ was not declared in this scope
mysql_wrap.cpp:2110: error: ‘link_to_global_variable’ was not declared in this scope
mysql_wrap.cpp: In function ‘octave_value_list Fmysql(const octave_value_list&, int)’:
mysql_wrap.cpp:20790: error: ‘curr_sym_tab’ was not declared in this scope
mysql_wrap.cpp:20790: error: ‘link_to_global_variable’ was not declared in this scope
make: *** [mysql.oct] Error 1
'make' returned the following error: make: Entering directory `/tmp/oct-U82Foc/database-1.0.4/src'
CXXFLAGS="-g -I/usr/include/freetype2" mkoctfile -DHAVE_OCTAVE_32 -v -o mysql.oct -lmysqlclient mysql_wrap.cpp
g++ -c -I/usr/include/freetype2 -fPIC -I/usr/local/include/octave-3.2.4 -I/usr/local/include/octave-3.2.4/octave -I/usr/local/include -mieee-fp -g -I/usr/include/freetype2 -DHAVE_OCTAVE_32 mysql_wrap.cpp -o mysql_wrap.o
make: Leaving directory `/tmp/oct-U82Foc/database-1.0.4/src'
error: called from `pkg>configure_make' in file /usr/local/share/octave/3.2.4/m/pkg/pkg.m near line 1253, column 2
error: called from:
error: /usr/local/share/octave/3.2.4/m/pkg/pkg.m at line 714, column 5
error: /usr/local/share/octave/3.2.4/m/pkg/pkg.m at line 287, column 7
|