469,282 Members | 2,257 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

Problem Building PySQLite (Win32)

I'm having a problem building pysqlite. I've downloaded the
sqlite_source.zip, and sqlitedll.zip and extracted them to a directory.
I've then extracted pysqlite-0.4.3. I've run the lib command, and made sure
that setup.py is pointing to the right place. However, when I run "python
setup.py build" I get the following error:

_sqlite.c
_sqlite.c(138) : error C2133: '_con_methods' : unknown size
_sqlite.c(139) : error C2133: '_con_memberlist' : unknown size
error: command '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe"'
fail
ed with exit status 2

Is there something that I'm doing wrong? I'd appreciate any pointers.

Thanks

John
Jul 18 '05 #1
1 1701
I build it 2 weeks ago, the same environment as yours, the same
errors. You have to specify 'extern' to that declarations if I
remember correctly. The sources use a macro which isn't defined or
something...

soso

"John Abel" <jo*******@pa.press.net> wrote in message news:<ma************************************@pytho n.org>...
I'm having a problem building pysqlite. I've downloaded the
sqlite_source.zip, and sqlitedll.zip and extracted them to a directory.
I've then extracted pysqlite-0.4.3. I've run the lib command, and made sure
that setup.py is pointing to the right place. However, when I run "python
setup.py build" I get the following error:

_sqlite.c
_sqlite.c(138) : error C2133: '_con_methods' : unknown size
_sqlite.c(139) : error C2133: '_con_memberlist' : unknown size
error: command '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe"'
fail
ed with exit status 2

Is there something that I'm doing wrong? I'd appreciate any pointers.

Thanks

John

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Carl Waldbieser | last post: by
5 posts views Thread by abcd | last post: by
14 posts views Thread by Nader Emami | last post: by
4 posts views Thread by vedrandekovic | last post: by
3 posts views Thread by ricardo.turpino | last post: by
4 posts views Thread by Tilman Kispersky | last post: by
1 post views Thread by bkamrani | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.