Discussion:
[BitPim-devel] Updates
Roger Binns
2005-07-08 05:45:12 UTC
Permalink
I have updated the requirements for wxPython to be 2.6.1.0 and
for APSW/SQLite 3.2.2.

Roger
Stephen Wood
2005-07-09 04:19:54 UTC
Permalink
Post by Roger Binns
I have updated the requirements for wxPython to be 2.6.1.0 and
for APSW/SQLite 3.2.2.
Roger
In order to get main.c in sqlite-source-3_2_2.zip to compile, I had to
make the following patch:

--- main.c~ 2005-06-12 19:18:11.000000000 -0400
+++ main.c 2005-07-08 23:40:29.000000000 -0400
@@ -298,8 +298,8 @@
sqlite3OsSleep(delay);
return 1;
#else
- int timeout = (int)Timeout;
- if( (count+1)*1000 > timeout ){
+ int timeout = ((sqlite3 *)ptr)->busyTimeout;
+ if( (count+1)*1000 > timeout ){
return 0;
}
sqlite3OsSleep(1000);

Havn't actually tried it yet as wxPython is still building.

Stephen
Roger Binns
2005-07-09 04:56:08 UTC
Permalink
Post by Stephen Wood
In order to get main.c in sqlite-source-3_2_2.zip to compile, I had to
It compiles fine on Windows (MinGW 3.4.2).

Instead of patching, you can add -DHAVE_USLEEP to the compile line
(Linux has had usleep for a while).

Roger

Loading...