Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old August 28th, 2003, 05:07 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 825 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 16 h 4 m 55 sec
Reputation Power: 65
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 05:09 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > MySQL module compilation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway