Problem Building PySQLite (Win32)

Discussion in 'Python' started by John Abel, Oct 30, 2003.

  1. John Abel

    John Abel Guest

    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
     
    John Abel, Oct 30, 2003
    #1
    1. Advertising

  2. John Abel

    soso Guest

    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" <> wrote in message news:<>...
    > 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, Oct 31, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hemanth P.S.
    Replies:
    0
    Views:
    351
    Hemanth P.S.
    Sep 18, 2003
  2. F. GEIGER
    Replies:
    2
    Views:
    541
    F. GEIGER
    May 21, 2005
  3. pysqlite problem

    , Mar 1, 2006, in forum: Python
    Replies:
    6
    Views:
    366
  4. rdrink

    pysqlite - simple problem

    rdrink, Sep 1, 2006, in forum: Python
    Replies:
    12
    Views:
    1,180
    Dennis Lee Bieber
    Sep 3, 2006
  5. Gerhard Häring
    Replies:
    3
    Views:
    380
    Gerhard Häring
    Mar 13, 2008
Loading...

Share This Page