#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2003
    Location
    Prague, Czech Republic
    Posts
    869
    Rep Power
    71

    MySQL module compilation


    FreeBSD 5.1 STABLE
    Python 2.3 compiled
    mysql 4.0.13 mysql.com package

    Problem:
    Compiling MySQL-python-0.3.5 module I get this dump:
    >>>>>>>>>>>>>>>
    -bash-2.05b$ python setup.py build
    running build
    running build_py
    running build_ext
    building '_mysql' extension
    gcc -fno-strict-aliasing -g -Wall -Wstrict-prototypes -fPIC -I/usr/local/include/mysql -I/usr/local/include/python2.3 -c _mysqlmodule.c -o build/temp.freebsd-5.1-RELEASE-i386-2.3/_mysqlmodule.o
    _mysqlmodule.c: In function `_mysql__fetch_row':
    _mysqlmodule.c:673: too many arguments to function `_PyTuple_Resize'
    _mysqlmodule.c: In function `_mysql_ConnectionObject_info':
    _mysqlmodule.c:831: warning: assignment discards qualifiers from pointer target type
    _mysqlmodule.c: In function `_mysql_ConnectionObject_stat':
    _mysqlmodule.c:1034: warning: assignment discards qualifiers from pointer target type
    error: command 'gcc' failed with exit status 1
    >>>>>>>>>>>>>>>>

    Any clue/solution?
    Thank you.
    Zbynek.
    Last edited by zby; August 28th, 2003 at 06:09 AM.

IMN logo majestic logo threadwatch logo seochat tools logo