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

Adi Spivak pchelper at ...1190...
Fri Oct 28 20:48:54 CEST 2005


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20051028/0d0fcdd4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2785 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20051028/0d0fcdd4/attachment.bin>


More information about the User mailing list