Hello list
I am new to octave and octave-forge, and I am strugling on the
installation of the octave-forge package database-1.0.4 on Ubuntu Linux
and octave 3.2.4 stable (self compiled).
Since we are using a special application prefix here, I am trying to
build the package by myself using ./configure, make, make install.
Configuration seems to be pretty reasonable, but compilation errors.
Please see the output below.
May somebody please help me to get that working?
TIA
- Dan
----
sepp> ./configure --prefix=/usr/pack/octave-3.2.4-dka/share \
--with-path=/usr/pack/octave-3.2.4-dka/share
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for SLList.h... no
checking for lo_ieee_nan_value... yes
checking for octave_idx_type... yes
checking for quit.h... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.2.4
checking for octave_config_info('canonical_host_type') in Octave...
x86_64-unknown-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking postgresql/libpq-fe.h usability... yes
checking postgresql/libpq-fe.h presence... yes
checking for postgresql/libpq-fe.h... yes
checking mysql/mysql.h usability... no
checking mysql/mysql.h presence... no
checking for mysql/mysql.h... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
configure: creating ./config.status
config.status: creating Makeconf
"$prefix" is /usr/pack/octave-3.2.4-dka/share
"$exec_prefix" is ${prefix}
octave commands will install into the following directories:
m-files: /usr/pack/octave-3.2.4-dka/share
oct-files: /usr/pack/octave-3.2.4-dka/share/oct
binaries: /usr/pack/octave-3.2.4-dka/share/bin
alternatives:
m-files: /usr/pack/octave-3.2.4-dka/share-alternatives
oct-files: /usr/pack/octave-3.2.4-dka/share-alternatives/oct
shell commands will install into the following directories:
binaries: ${exec_prefix}/bin
man pages: ${datarootdir}/man
libraries: ${exec_prefix}/lib
headers: ${prefix}/include
octave-forge is configured with
octave: octave (version 3.2.4)
mkoctfile: mkoctfile for Octave 4
swig: pre-generated
postgres: yes
mysql: mysql/mysql.h not found
sqlite3: yes
odbc: sql.h not found
find . -name NOINSTALL -print # shows which toolboxes won't be installed
----
sepp> make
make[1]: Entering directory
`/usr/pack/octave-3.2.4-dka/src/extra-packages/database-1.0.4/src'
CXXFLAGS="-g -I/usr/include/freetype2" mkoctfile -DHAVE_OCTAVE_32 -v -o
sqlite3.oct -lsqlite3 sqlite3_wrap.cpp
g++ -c -I/usr/include/freetype2 -fPIC
-I/usr/pack/octave-3.2.4-dka/include/octave-3.2.4
-I/usr/pack/octave-3.2.4-dka/include/octave-3.2.4/octave
-I/usr/pack/octave-3.2.4-dka/include -g -I/usr/include/freetype2
-DHAVE_OCTAVE_32 sqlite3_wrap.cpp -o sqlite3_wrap.o
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: 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_vmprintf(const octave_value_list&, int)':
sqlite3_wrap.cpp:3029: error: invalid array assignment
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[1]: *** [sqlite3.oct] Error 1
make[1]: Leaving directory
`/usr/pack/octave-3.2.4-dka/src/extra-packages/database-1.0.4/src'
make: *** [build] Error 2
----
------------------------------------------------------------------------------
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev