Results 1 to 2 of 2

Thread: gcc fails during pysqlite install

  1. #1
    roidemai NNTP User

    Default gcc fails during pysqlite install


    Hello.
    I'm trying to install pysqlite, and receive the following

    Code:
    --------------------
    $ sudo python setup.py install

    ...
    src/module.c:248: error: SQLITE_ATTACH undeclared here (not in a function)
    src/module.c:249: error: SQLITE_DETACH undeclared here (not in a function)
    src/module.c: In function init_sqlite:
    src/module.c:376: warning: implicit declaration of function sqlite3_libversion
    src/module.c:376: warning: passing argument 1 of PyString_FromString makes pointer from integer without a cast
    error: command 'gcc' failed with exit status 1
    --------------------


    I have the latest version gcc available from yast:

    Code:
    --------------------
    $ rpm -q gcc
    gcc-4.3-39.1
    --------------------


    I am able to install other python modules without a problem. Any ideas?


    --
    SuSE-11.0, Thinkpad T61, Intel Core 2 Duo T7250, 1024MB DDR2, Intel
    GM965/GL960
    ------------------------------------------------------------------------
    roidemai's Profile: http://forums.opensuse.org/member.php?userid=2236
    View this thread: http://forums.opensuse.org/showthread.php?t=400363


  2. #2
    roidemai NNTP User

    Default Re: gcc fails during pysqlite install


    I didn't have sqlite3-devel installed. This did the trick.


    --
    SuSE-11.0, Thinkpad T61, Intel Core 2 Duo T7250, 1024MB DDR2, Intel
    GM965/GL960
    ------------------------------------------------------------------------
    roidemai's Profile: http://forums.opensuse.org/member.php?userid=2236
    View this thread: http://forums.opensuse.org/showthread.php?t=400363


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •