Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Problem Building PySQLite (Win32) (http://www.velocityreviews.com/forums/t324241-problem-building-pysqlite-win32.html)

John Abel 10-30-2003 04:30 PM

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



soso 10-31-2003 08:52 AM

Re: Problem Building PySQLite (Win32)
 
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" <john.abel@pa.press.net> wrote in message news:<mailman.245.1067531484.702.python-list@python.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



All times are GMT. The time now is 08:35 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.