help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave + mysql (database package) error


From: Xavier Delacour
Subject: Re: Octave + mysql (database package) error
Date: Mon, 24 Nov 2008 10:13:10 -0500

On Mon, Nov 24, 2008 at 5:45 AM, Art Vandalay <address@hidden> wrote:
> Hello,
>
> I am trying to get MySQL to work together with my octave. I tried to install
> the database pkg but gets following errors (see bellow),
> I run on OS X, I have sqlite 3.4.0 installed. I want to be able to run MySQL
> thru Octave. Any ideas of how I can get it to work? Is there any possibility
> to just install the MySQL part of the package?

If you remove sqlite3 from your system entirely, the package's
configure will detect this and not try to build the sqlite3 bindings.

I'll have a closer look at the error later today-- in a nutshell the
problem is that the mac os x version of sqlite3 has some differences
from the standard/debian build, and the bindings assume you have the
latter. The trivial fix is to just remove the bindings for the
differing parts.

Xavier

>
> octave-3.0.3:2> pkg install database-1.0.1
> sqlite3_wrap.cpp: In function 'octave_value_list
> _wrap_sqlite3_module_xRename_set(const octave_value_list&, int)':
> sqlite3_wrap.cpp:7893: error: 'struct sqlite3_module' has no member named
> 'xRename'
> sqlite3_wrap.cpp: In function 'octave_value_list
> _wrap_sqlite3_module_xRename_get(const octave_value_list&, int)':
> sqlite3_wrap.cpp:7919: error: 'struct sqlite3_module' has no member named
> 'xRename'
> sqlite3_wrap.cpp: In function 'octave_value_list
> _wrap_sqlite3_create_module_v2(const octave_value_list&, int)':
> sqlite3_wrap.cpp:8688: error: 'sqlite3_create_module_v2' was not declared in
> this scope
> make: *** [sqlite3.oct] Error 1
> error: 'make' returned the following error:
> CXXFLAGS="-I/Applications/Octave.app/Contents/Resources/include
> -I/Applications/Octave.app/Contents/Resources/include/curl
> -I/Applications/Octave.app/Contents/Resources/include/readline
> -I/Applications/Octave.app/Contents/Resources/include
> -I/Applications/Octave.app/Contents/Resources/include/curl
> -I/Applications/Octave.app/Contents/Resources/include/readline" mkoctfile
> -DHAVE_OCTAVE_30 -v -o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp
> g++ -O3 -ftree-vectorize -fforce-addr -march=i686 -mfpmath=sse,387 -mieee-fp
> -msse3 -msse2 -msse -mmmx -c
> -I/Applications/Octave.app/Contents/Resources/include
> -I/Applications/Octave.app/Contents/Resources/include/curl
> -I/Applications/Octave.app/Contents/Resources/include/readline
> -I/Applications/Octave.app/Contents/Resources/include
> -I/Applications/Octave.app/Contents/Resources/include/curl
> -I/Applications/Octave.app/Contents/Resources/include/readline
> -I/Applications/Octave.app/Contents/Resources/include
> -I/Applications/Octave.app/Contents/Resources/include/curl
> -I/Applications/Octave.app/Contents/Resources/include/readline -fPIC
> -I/Applications/Octave.app/Contents/Resources/include/octave-3.0.3
> -I/Applications/Octave.app/Contents/Resources/include/octave-3.0.3/octave
> -I/Applications/Octave.app/Contents/Resources/include -mieee-fp
> -I/Applications/Octave.app/Contents/Resources/include
> -I/Applications/Octave.app/Contents/Resources/include/curl
> -I/Applications/Octave.app/Contents/Resources/include/readline
> -I/Applications/Octave.app/Contents/Resources/include
> -I/Applications/Octave.app/Contents/Resources/include/curl
> -I/Applications/Octave.app/Contents/Resources/include/readline
> -I/Applications/Octave.app/Contents/Resources/include
> -I/Applications/Octave.app/Contents/Resources/include/curl
> -I/Applications/Octave.app/Contents/Resources/include/readline
> -DHAVE_OCTAVE_30 sqlite3_wrap.cpp -o sqlite3_wrap.o
> error: called from `pkg:configure_make' in file
> /Applications/Octave.app/Contents/Resources/share/octave/3.0.3/m/pkg/pkg.m
> near line 1248, column 2
> octave-3.0.3:2>
>
>
> Thanks in advance
> Frederick Ortega
>
> ________________________________
> Hitta någon att mysa med i höstrusket! MSN Dejting
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]