Hi Miguel,

> I'm under Ubuntu 7.06 (kernel 2.6.20-15-generic), wxWidgets 2.8.1.1,
> Sqlite 3 with the last version of wxSQLite3, 2.7.3 (released on 05/01) 

 Although I don't have much Linux experiences, this combination should work.

> > > (with some problems: the script to check aclocal version fails,
> 
> My aclocal version: aclocal (GNU automake) 1.9.6

I don't know why you get errors, but in the first place there should be no need 
to run aclocal at all. The wxSQLite3 distribution contains a configure script. 
It should be sufficient to run "configure" and then "make".

> Second (with fixed script):
> configure.ac:22: file `../../../build/autoconf/wxcode.m4' does not exist

If you need to rerun aclocal, that is, to rebuild the configure script you need 
to download several files from the wxCode build directory. There are several 
bakefile presets and autoconf configuration files. Additionally you would need 
bakefile.

> No,  on  make  the minimal sample is build  reference  the  just  compiled
> lib. Here is the command line:
> 
> g++ -c -o minimal_minimal.o -DWXUSINGDLL -I./include -I./sqlite3/include
> -I/usr/lib/wx/include/gtk2-unicode-release-2.8
> -I/usr/include/wx-2.8-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__
> -pthread  -g0 -O2
> ././samples/minimal.cpp

This should be ok.

> g++ -o samples/minimal minimal_minimal.o  -L./lib    -L./lib
> -L./sqlite3/lib    -pthread   -lwx_gtk2u_core-2.8 -lwx_baseu-2.8
> -lwxsqlite3u -lsqlite3

wxsqlite3 should be placed before the wxWidgets libraries.

Probably you should use the makefile generated by configure.

Another thing is that ./sqlite3/lib of the wxSQLite3 distribution does not 
contain a link library for SQLite. Only the Windows distribution contains 
SQLite DLLs ready for use. You should check whether you have a matching SQLite 
version installed, that is, SQLite 3.3.14 or higher for wxSQLite3 1.7.3.

Regards,

Ulrich


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to