|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Fwd: Octave forge databaseHello
I have not yet succeeded because I have moved to my main work to build octave-3.2.0 on Mingw-gcc-4.3.3-tdm-dw2 and stopped trying to build octave-forge package. The cast error itself is solved by my modification indicated in the my previous post, however another errors prevent me to go forward Your information is too few so that I cannot give you any suggestion. What platform do you try to build database package. Did you tried on Octave 3.2.0 for Windows MinGW32 ? If so you have to build sqlite libraries first by the gcc-4.3.0-TDM-dw2 with shared-libstd++ as has been done by Benjamin. It my inspection is right I will try it tomorrow but I cannot say that it will be successful or not. BTW My address concerning to the octave is tmacchant@... but not tmacchan2t@.... The address 'tmacchan2t@...' is for the cygwin ML. In addition question is preferably carried out on the ML because the Q and A processes is recorded in the ML archives and they will give the information to other users. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > Date:Sat, 4 Jul 2009 19:43:25 +0900 (JST) > From:Tatsuro MATSUOKA <tmacchant2@...> > Subject:Fwd: Octave forge database > To:tmacchant@... > > > > --- Alex Hindle u.au> wrote: > > > Date:Sat, 04 Jul 2009 14:51:42 +1000 > > From:Alex Hindle <ahindle@...> > > To:tmacchant2@... > > Subject:Octave forge database > > > > > > Hi Tatsuro > > > > I saw your message about Octave database package at > > http://www.mail-archive.com/octave-dev@.../msg02152.html > > > > Did you find a solution? > > > > I am using package database-1.0.4.tar.gz but I get the same error you > > wrote about. > > > > I want to use Octave database for a research project. > > > > > > Best regards > > > > Alex Hindle > > > > > -------------------------------------- > Power up the Internet with Yahoo! Toolbar. > http://pr.mail.yahoo.co.jp/toolbar/ > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: Octave forge databaseHi
I am trying to install the database package in Octave 3.0.2 which comes with Mandriva 2009 Linux. I haven't tried with Windows. Here is the input and the error message: octave:1> pkg install database-1.0.tar.gz sqlite3_wrap.cpp: In function ‘octave_value_list _wrap_sqlite3_auto_extension(const octave_value_list&, int)’: sqlite3_wrap.cpp:6768: error: invalid conversion from ‘void*’ to ‘void (*)()’ sqlite3_wrap.cpp:6768: error: initializing argument 1 of ‘int sqlite3_auto_extension(void (*)())’ make: *** [sqlite3.oct] Error 1 error: 'make' returned the following error: make: Entering directory `/home/userx/tmp/oct-5OqMNT/database-1.0/src' /usr/bin/swig -octave -c++ -o sqlite3_wrap.cpp sqlite3.i mkoctfile -DHAVE_OCTAVE_30 -v -o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp g++ -c -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DH5_USE_16_API -fPIC -I/usr/include/octave-3.0.2 -I/usr/include/octave-3.0.2/octave -mieee-fp -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DHAVE_OCTAVE_30 sqlite3_wrap.cpp -o sqlite3_wrap.o make: Leaving directory `/home/userx/tmp/oct-5OqMNT/database-1.0/src' error: called from `pkg:configure_make' in file /usr/share/octave/3.0.2/m/pkg/pkg.m near line 1248, column 2 I have also tried it with Octave 3.2.0 (compiled from source on Mandriva 2009 Linux). I get a similar error: octave:1> pkg install ../youtube/database-1.0.tar.gz sqlite3_wrap.cpp: In function ‘octave_value_list _wrap_sqlite3_auto_extension(const octave_value_list&, int)’: sqlite3_wrap.cpp:6768: error: invalid conversion from ‘void*’ to ‘void (*)()’ sqlite3_wrap.cpp:6768: error: initializing argument 1 of ‘int sqlite3_auto_extension(void (*)())’ make: *** [sqlite3.oct] Error 1 'make' returned the following error: make: Entering directory `/home/userx/tmp/oct-H2Hl0p/database-1.0/src' /usr/bin/swig -octave -c++ -o sqlite3_wrap.cpp sqlite3.i mkoctfile -DHAVE_OCTAVE_30 -v -o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp g++ -c -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DH5_USE_16_API -fPIC -I/usr/include/octave-3.0.2 -I/usr/include/octave-3.0.2/octave -mieee-fp -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DHAVE_OCTAVE_30 sqlite3_wrap.cpp -o sqlite3_wrap.o make: Leaving directory `/home/userx/tmp/oct-H2Hl0p/database-1.0/src' error: called from `pkg>configure_make' in file /home/userx/CS/octave-3.2.0/scripts/pkg/pkg.m near line 1253, column 2 error: called from: error: /home/userx/CS/octave-3.2.0/scripts/pkg/pkg.m at line 714, column 5 error: /home/userx/CS/octave-3.2.0/scripts/pkg/pkg.m at line 287, column 7 Thanks Alex 2009/7/4 Tatsuro MATSUOKA <tmacchant@...> Hello _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: Octave forge databaseHello
Sorry I mistook in forwarding less proper post help@.... It should be forwarded to [octave-dev] ML. ($ --- shell prompt, octave> --- octave prompt ) The proglem of Alex may be avoided $ cd (the directory where database-1.0.tar.gz is placed) $ tar xvfkz pkg install database-1.0.tar.gz Please modify line 6768 in src/sqlite3_wrap.cpp From result = (int)sqlite3_auto_extension(arg1); to result = (int)sqlite3_auto_extension(void (*)()arg1); I do not remember in octave 3.0.2 supports that 'pkg install' can also be used untarred folder like octave> pkg datadabe-1.0.x In the case that the above is not supported, you have to compress the directry to a '...tar.gz' file like $ tar czfv database-1.0.x.tar.gz database-1.0.x octave> pkg install database-1.0.x.tar.gz Is the above useful for you ? BTW, package database-1.0.4 is for octave-3.2 or later. If you use octave-3.0.2, you have to use database-1.0.1.tar.gz in R2008-08-24 at http://sourceforge.net/projects/octave/files/. Regards Tatsuro --- Alex Hindle wrote: > Hi > > I am trying to install the database package in Octave 3.0.2 which comes with > Mandriva 2009 Linux. I haven't tried with Windows. > > Here is the input and the error message: > > octave:1> pkg install database-1.0.tar.gz > sqlite3_wrap.cpp: In function ‘octave_value_list > _wrap_sqlite3_auto_extension(const octave_value_list&, int)’: > sqlite3_wrap.cpp:6768: error: invalid conversion from ‘void*’ to ‘void > (*)()’ > sqlite3_wrap.cpp:6768: error: initializing argument 1 of ‘int > sqlite3_auto_extension(void (*)())’ > make: *** [sqlite3.oct] Error 1 > error: 'make' returned the following error: make: Entering directory > `/home/userx/tmp/oct-5OqMNT/database-1.0/src' > /usr/bin/swig -octave -c++ -o sqlite3_wrap.cpp sqlite3.i > mkoctfile -DHAVE_OCTAVE_30 -v -o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp > g++ -c -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic > -fasynchronous-unwind-tables -DH5_USE_16_API -fPIC > -I/usr/include/octave-3.0.2 -I/usr/include/octave-3.0.2/octave -mieee-fp -O2 > -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic > -fasynchronous-unwind-tables -DHAVE_OCTAVE_30 sqlite3_wrap.cpp -o > sqlite3_wrap.o > make: Leaving directory `/home/userx/tmp/oct-5OqMNT/database-1.0/src' > error: called from `pkg:configure_make' in file > /usr/share/octave/3.0.2/m/pkg/pkg.m near line 1248, column 2 > > > I have also tried it with Octave 3.2.0 (compiled from source on Mandriva > 2009 Linux). I get a similar error: > > octave:1> pkg install ../youtube/database-1.0.tar.gz > sqlite3_wrap.cpp: In function ‘octave_value_list > _wrap_sqlite3_auto_extension(const octave_value_list&, int)’: > sqlite3_wrap.cpp:6768: error: invalid conversion from ‘void*’ to ‘void > (*)()’ > sqlite3_wrap.cpp:6768: error: initializing argument 1 of ‘int > sqlite3_auto_extension(void (*)())’ > make: *** [sqlite3.oct] Error 1 > 'make' returned the following error: make: Entering directory > `/home/userx/tmp/oct-H2Hl0p/database-1.0/src' > /usr/bin/swig -octave -c++ -o sqlite3_wrap.cpp sqlite3.i > mkoctfile -DHAVE_OCTAVE_30 -v -o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp > g++ -c -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic > -fasynchronous-unwind-tables -DH5_USE_16_API -fPIC > -I/usr/include/octave-3.0.2 -I/usr/include/octave-3.0.2/octave -mieee-fp -O2 > -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic > -fasynchronous-unwind-tables -DHAVE_OCTAVE_30 sqlite3_wrap.cpp -o > sqlite3_wrap.o > make: Leaving directory `/home/userx/tmp/oct-H2Hl0p/database-1.0/src' > error: called from `pkg>configure_make' in file > /home/userx/CS/octave-3.2.0/scripts/pkg/pkg.m near line 1253, column 2 > error: called from: > error: /home/userx/CS/octave-3.2.0/scripts/pkg/pkg.m at line 714, column 5 > error: /home/userx/CS/octave-3.2.0/scripts/pkg/pkg.m at line 287, column 7 > > > > > Thanks > > Alex > > > > > > > > 2009/7/4 Tatsuro MATSUOKA <tmacchant@...> > > > Hello > > > > I have not yet succeeded because I have moved to my main work to build > > octave-3.2.0 > > on Mingw-gcc-4.3.3-tdm-dw2 and stopped trying to build octave-forge > > package. > > > > The cast error itself is solved by my modification indicated in the my > > previous post, however another > > errors prevent me to go forward > > > > Your information is too few so that I cannot give you any suggestion. > > > > What platform do you try to build database package. Did you tried on Octave > > 3.2.0 for Windows MinGW32 > > ? > > > > If so you have to build sqlite libraries first by the gcc-4.3.0-TDM-dw2 > > with shared-libstd++ as has > > been done by Benjamin. > > > > It my inspection is right I will try it tomorrow but I cannot say that it > > will be successful or not. > > > > BTW My address concerning to the octave is tmacchant@... but not > > tmacchan2t@.... > > The address 'tmacchan2t@...' is for the cygwin ML. > > > > In addition question is preferably carried out on the ML because the Q and > > A processes is recorded > > in the ML archives and they will give the information to other users. > > > > Regards > > > > Tatsuro > > > > --- Tatsuro MATSUOKA wrote: > > > > > Date:Sat, 4 Jul 2009 19:43:25 +0900 (JST) > > > From:Tatsuro MATSUOKA <tmacchant2@...> > > > Subject:Fwd: Octave forge database > > > To:tmacchant@... <To%3Atmacchant@...> > > > > > > > > > > > > --- Alex Hindle u.au> wrote: > > > > > > > Date:Sat, 04 Jul 2009 14:51:42 +1000 > > > > From:Alex Hindle <ahindle@...> > > > > To:tmacchant2@... <To%3Atmacchant2@...> > > > > Subject:Octave forge database > > > > > > > > > > > > Hi Tatsuro > > > > > > > > I saw your message about Octave database package at > > > > > > http://www.mail-archive.com/octave-dev@.../msg02152.html > > > > > > > > Did you find a solution? > > > > > > > > I am using package database-1.0.4.tar.gz but I get the same error you > > > > wrote about. > > > > > > > > I want to use Octave database for a research project. > > > > > > > > > > > > Best regards > > > > > > > > Alex Hindle > > > > > > > > > > > > > -------------------------------------- > > > Power up the Internet with Yahoo! Toolbar. > > > http://pr.mail.yahoo.co.jp/toolbar/ > > > > > > > > > -------------------------------------- > > Power up the Internet with Yahoo! Toolbar. > > http://pr.mail.yahoo.co.jp/toolbar/ > > > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: Octave forge databaseHi Tatsuro Tatsuro MATSUOKA wrote: > Please modify line 6768 in src/sqlite3_wrap.cpp > > From > result = (int)sqlite3_auto_extension(arg1); > to > result = (int)sqlite3_auto_extension((void (*)())arg1); > Thank you, this fixed that problem. Now I get a new error which seems to be related to the C++ compiler not being able to find a procedure: octave:7> pkg install ../youtube/database-1.0.4 sqlite3_wrap.o: In function `_wrap_sqlite3_enable_load_extension': /home/userx/CS/youtube/database-1.0.4/src/sqlite3_wrap.cpp:6838: undefined reference to `sqlite3_enable_load_extension' sqlite3_wrap.o: In function `_wrap_sqlite3_load_extension': /home/userx/CS/youtube/database-1.0.4/src/sqlite3_wrap.cpp:6803: undefined reference to `sqlite3_load_extension' collect2: ld returned 1 exit status make: *** [sqlite3.oct] Error 1 error: 'make' returned the following error: make: Entering directory `/home/userx/CS/youtube/database-1.0.4/src' CXXFLAGS="-g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables" mkoctfile -DHAVE_OCTAVE_30 -v -o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp g++ -c -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DH5_USE_16_API -fPIC -I/usr/include/octave-3.0.2 -I/usr/include/octave-3.0.2/octave -mieee-fp -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DHAVE_OCTAVE_30 sqlite3_wrap.cpp -o sqlite3_wrap.o g++ -shared -Wl,-Bsymbolic -o sqlite3.oct sqlite3_wrap.o -lsqlite3 -L/usr/lib/octave-3.0.2 -loctinterp -loctave -lcruft -Wl,--as-needed -Wl,--no-undefined -llapack -lblas -lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm -L/usr/lib/gcc/i586-manbo-linux-gnu/4.3.1 -L/usr/lib/gcc/i586-manbo-linux-gnu/4.3.1/../../.. -lhdf5 -lz -lgfortranbegin -lgfortran -lm make: Leaving directory `/home/userx/CS/youtube/database-1.0.4/src' error: called from `pkg:configure_make' in file /usr/share/octave/3.0.2/m/pkg/pkg.m near line 1248, column 2 I have installed sqlite3 and its libraries and header files so I don't know what the problem is. > I do not remember in octave 3.0.2 supports that 'pkg install' can also be used untarred folder like > > octave> pkg datadabe-1.0.x > Yes this works in Octave 3.0.2 I am trying database-1.0.4 in Octave 3.2 and older database-pkg versions in older Octave 3.0.2 now. Regards Alex _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: Octave forge databaseHello
The error may be occurred because the sqlite library you use was not complied with #define SQLITE_ENABLE_COLUMN_METADATA You may have to build the sqlite library by yourself with addition of #define SQLITE_ENABLE_COLUMN_METADATA in proper space or ./configure with CPPFLAGS='-DSQLITE_ENABLE_COLUMN_METADATA' If you use source of sqlite-3.6.16, the CPPFLAGS of ./configure should be CPPFLAGS='-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_TESTCTRL_ASSERT=1 -DSQLITE_TESTCTRL_ALWAYS=2' For exmaple $ CPPFLAGS = \ '-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_TESTCTRL_ASSERT=1 -DSQLITE_TESTCTRL_ALWAYS=2' \ ./configure Regards Tasturo --- Alex Hindle wrote: > > Hi Tatsuro > > > > Tatsuro MATSUOKA wrote: > > Please modify line 6768 in src/sqlite3_wrap.cpp > > > > From > > result = (int)sqlite3_auto_extension(arg1); > > to > > result = (int)sqlite3_auto_extension((void (*)())arg1); > > > Thank you, this fixed that problem. > > > Now I get a new error which seems to be related to the C++ compiler not > being able to find a procedure: > > octave:7> pkg install ../youtube/database-1.0.4 > sqlite3_wrap.o: In function `_wrap_sqlite3_enable_load_extension': > /home/userx/CS/youtube/database-1.0.4/src/sqlite3_wrap.cpp:6838: > undefined reference to `sqlite3_enable_load_extension' > sqlite3_wrap.o: In function `_wrap_sqlite3_load_extension': > /home/userx/CS/youtube/database-1.0.4/src/sqlite3_wrap.cpp:6803: > undefined reference to `sqlite3_load_extension' > collect2: ld returned 1 exit status > make: *** [sqlite3.oct] Error 1 > error: 'make' returned the following error: make: Entering directory > `/home/userx/CS/youtube/database-1.0.4/src' > CXXFLAGS="-g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer > -march=i586 -mtune=generic -fasynchronous-unwind-tables" mkoctfile > -DHAVE_OCTAVE_30 -v -o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp > g++ -c -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer > -march=i586 -mtune=generic -fasynchronous-unwind-tables -DH5_USE_16_API > -fPIC -I/usr/include/octave-3.0.2 -I/usr/include/octave-3.0.2/octave > -mieee-fp -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer > -march=i586 -mtune=generic -fasynchronous-unwind-tables -DHAVE_OCTAVE_30 > sqlite3_wrap.cpp -o sqlite3_wrap.o > g++ -shared -Wl,-Bsymbolic -o sqlite3.oct sqlite3_wrap.o -lsqlite3 > -L/usr/lib/octave-3.0.2 -loctinterp -loctave -lcruft -Wl,--as-needed > -Wl,--no-undefined -llapack -lblas -lfftw3 -lreadline -lncurses -ldl > -lhdf5 -lz -lm -L/usr/lib/gcc/i586-manbo-linux-gnu/4.3.1 > -L/usr/lib/gcc/i586-manbo-linux-gnu/4.3.1/../../.. -lhdf5 -lz > -lgfortranbegin -lgfortran -lm > make: Leaving directory `/home/userx/CS/youtube/database-1.0.4/src' > error: called from `pkg:configure_make' in file > /usr/share/octave/3.0.2/m/pkg/pkg.m near line 1248, column 2 > > > > I have installed sqlite3 and its libraries and header files so I don't > know what the problem is. > > > > > > I do not remember in octave 3.0.2 supports that 'pkg install' can also be used untarred > folder like > > > > octave> pkg datadabe-1.0.x > > > Yes this works in Octave 3.0.2 > > I am trying database-1.0.4 in Octave 3.2 and older database-pkg versions > in older Octave 3.0.2 now. > > > Regards > > Alex > > > > > > > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
|
|
Re: [OctDev] Octave forge databaseI think most of the compilation related problems with the database
package are due to wrapping the C API of each database, which doesn't appear to be very stable for any of the supported databases. In addition to the C API of each db, the package provides a "high-level" API (eg the sql() function) which makes use of a tiny portion of each database's API (also generally the most stable). Just removing the bindings for each DB's C API will resolve most of these problems. I don't know of anyone using the C API's through octave. I'll have a look at that later/soon (just requires commenting out the %include of dbname_filtered.h file, etc). Xavier On Sun, Jul 5, 2009 at 12:41 PM, Tatsuro MATSUOKA<tmacchant@...> wrote: > Hello > > The error may be occurred because the sqlite library you use was not complied with > #define SQLITE_ENABLE_COLUMN_METADATA > > You may have to build the sqlite library by yourself with addition of #define > SQLITE_ENABLE_COLUMN_METADATA in proper space or ./configure with > CPPFLAGS='-DSQLITE_ENABLE_COLUMN_METADATA' > > If you use source of sqlite-3.6.16, the CPPFLAGS of ./configure should be > CPPFLAGS='-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_TESTCTRL_ASSERT=1 -DSQLITE_TESTCTRL_ALWAYS=2' > > For exmaple > $ CPPFLAGS = \ > '-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_TESTCTRL_ASSERT=1 -DSQLITE_TESTCTRL_ALWAYS=2' \ > ./configure > > Regards > > Tasturo > --- Alex Hindle wrote: > >> >> Hi Tatsuro >> >> >> >> Tatsuro MATSUOKA wrote: >> > Please modify line 6768 in src/sqlite3_wrap.cpp >> > >> > From >> > result = (int)sqlite3_auto_extension(arg1); >> > to >> > result = (int)sqlite3_auto_extension((void (*)())arg1); >> > >> Thank you, this fixed that problem. >> >> >> Now I get a new error which seems to be related to the C++ compiler not >> being able to find a procedure: >> >> octave:7> pkg install ../youtube/database-1.0.4 >> sqlite3_wrap.o: In function `_wrap_sqlite3_enable_load_extension': >> /home/userx/CS/youtube/database-1.0.4/src/sqlite3_wrap.cpp:6838: >> undefined reference to `sqlite3_enable_load_extension' >> sqlite3_wrap.o: In function `_wrap_sqlite3_load_extension': >> /home/userx/CS/youtube/database-1.0.4/src/sqlite3_wrap.cpp:6803: >> undefined reference to `sqlite3_load_extension' >> collect2: ld returned 1 exit status >> make: *** [sqlite3.oct] Error 1 >> error: 'make' returned the following error: make: Entering directory >> `/home/userx/CS/youtube/database-1.0.4/src' >> CXXFLAGS="-g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >> -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer >> -march=i586 -mtune=generic -fasynchronous-unwind-tables" mkoctfile >> -DHAVE_OCTAVE_30 -v -o sqlite3.oct -lsqlite3 sqlite3_wrap.cpp >> g++ -c -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >> -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer >> -march=i586 -mtune=generic -fasynchronous-unwind-tables -DH5_USE_16_API >> -fPIC -I/usr/include/octave-3.0.2 -I/usr/include/octave-3.0.2/octave >> -mieee-fp -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions >> -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer >> -march=i586 -mtune=generic -fasynchronous-unwind-tables -DHAVE_OCTAVE_30 >> sqlite3_wrap.cpp -o sqlite3_wrap.o >> g++ -shared -Wl,-Bsymbolic -o sqlite3.oct sqlite3_wrap.o -lsqlite3 >> -L/usr/lib/octave-3.0.2 -loctinterp -loctave -lcruft -Wl,--as-needed >> -Wl,--no-undefined -llapack -lblas -lfftw3 -lreadline -lncurses -ldl >> -lhdf5 -lz -lm -L/usr/lib/gcc/i586-manbo-linux-gnu/4.3.1 >> -L/usr/lib/gcc/i586-manbo-linux-gnu/4.3.1/../../.. -lhdf5 -lz >> -lgfortranbegin -lgfortran -lm >> make: Leaving directory `/home/userx/CS/youtube/database-1.0.4/src' >> error: called from `pkg:configure_make' in file >> /usr/share/octave/3.0.2/m/pkg/pkg.m near line 1248, column 2 >> >> >> >> I have installed sqlite3 and its libraries and header files so I don't >> know what the problem is. >> >> >> >> >> > I do not remember in octave 3.0.2 supports that 'pkg install' can also be used untarred >> folder like >> > >> > octave> pkg datadabe-1.0.x >> > >> Yes this works in Octave 3.0.2 >> >> I am trying database-1.0.4 in Octave 3.2 and older database-pkg versions >> in older Octave 3.0.2 now. >> >> >> Regards >> >> Alex >> >> >> >> >> >> >> > > > -------------------------------------- > Power up the Internet with Yahoo! Toolbar. > http://pr.mail.yahoo.co.jp/toolbar/ > > ------------------------------------------------------------------------------ > _______________________________________________ > Octave-dev mailing list > Octave-dev@... > https://lists.sourceforge.net/lists/listinfo/octave-dev > _______________________________________________ Help-octave mailing list Help-octave@... https://www-old.cae.wisc.edu/mailman/listinfo/help-octave |
| Free embeddable forum powered by Nabble | Forum Help |