[Gambas-user] help with gambas in sqlite releted compile error

nigel at ...38... nigel at ...38...
Fri Oct 28 21:16:01 CEST 2005


And if your version is sqlite 3 then it should be the sqlite3 driver that is used.

Nigel

> Message Received: Oct 28 2005, 07:57 PM
> From: "Benoit Minisini" <gambas at ...1...>
> To: gambas-user at lists.sourceforge.net
> Cc: 
> Subject: Re: [Gambas-user] help with gambas in sqlite releted compile error
> 
> On Friday 28 October 2005 20:48, Adi Spivak wrote:
> > Benoit Minisini wrote:
> > >On Friday 28 October 2005 20:32, Adi Spivak wrote:
> > >>hello
> > >>i need some help with a compile error i get while tring to compile
> > >>gambas with sqlite support ( i need sqlite support for a program i want
> > >>to use).
> > >>i use :
> > >>slackware 10.2 (i say 10.2 couse i make sure my system is up to date for
> > >>many years now as far as developmant and requiered packages are
> > >> consorned). kde 3.4.3
> > >>kernel 2.6.13
> > >>sqlite 3.2.7
> > >>gambas 1.0.11
> > >>and compile it with the following configue:
> > >>./configure --with-sqlite-libraries=/usr/local/lib
> > >>--with-sqlite-includes=/usr/local/include
> > >>--with-zlib-includes=/usr/local/zlib/include
> > >>--with-zlib-libraries=/usr/local/zlib/lib
> > >>
> > >>and the error is like this:
> > >>
> > >>mkdir .libs
> > >> g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share
> > >>-I/usr/local/include -g -O2 -pipe -Wall -fno-exceptions -g -Os
> > >>-fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c
> > >>main.cpp  -fPIC -DPIC -o .libs/main.o
> > >>In file included from dataset.h:38,
> > >>                 from sqlitedataset.h:33,
> > >>                 from main.cpp:40:
> > >>qry_dat.h:38:20: sqlite.h: No such file or directory
> > >>In file included from dataset.h:38,
> > >>                 from sqlitedataset.h:33,
> > >>                 from main.cpp:40:
> > >>qry_dat.h:225: error: syntax error before `*' token
> > >>In file included from sqlitedataset.h:33,
> > >>                 from main.cpp:40:
> > >>dataset.h:72: warning: `class Database' has virtual functions but
> > >>non-virtual
> > >>   destructor
> > >>dataset.h:158: warning: `class Dataset' has virtual functions but
> > >>non-virtual
> > >>   destructor
> > >>In file included from main.cpp:40:
> > >>sqlitedataset.h:34:20: sqlite.h: No such file or directory
> > >
> > >==> Where is located 'sqlite.h' on your system?
> >
> > root at ...1191...:/usr/src/gambas-1.0.11# locate sqlite.h
> > /usr/src/sqlite-3.2.7/src/sqlite.h.in
> > /usr/src/koffice-1.4.2/kexi/kexidb/drivers/sqlite/driver/sqlite.h
> > /usr/src/koffice-1.4.2/kexi/3rdparty/kexisql/src/sqlite.h
> > /usr/src/koffice-1.4.2/kexi/3rdparty/kexisql3/src/sqlite.h
> > /usr/src/php-5.0.5/ext/dbx/dbx_sqlite.h
> > /usr/src/php-5.0.5/ext/sqlite/libsqlite/src/sqlite.h.in
> > /usr/src/php-5.0.5/ext/sqlite/libsqlite/src/sqlite.h
> > /usr/src/php-5.0.5/ext/sqlite/php_sqlite.h
> > /usr/src/libgda-1.3.91/providers/sqlite/gda-sqlite.h
> > /usr/local/include/php/ext/sqlite/libsqlite/src/sqlite.h
> 
> So if you tell the configure script that sqlite includes are 
> in /usr/local/include, it can't work as there is no sqlite.h file 
> in /usr/local/include.
> 
> Maybe you should put /usr/src/sqlite-3.2.7/src ?
> 
> -- 
> Benoit Minisini
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through End of 2005
> Visit http://www.jboss.com/services/certification for more information
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 





More information about the User mailing list