MySQL-python-1.2.2 install with no mysql

washakie washakie at gmail.com
Tue Jan 15 12:27:31 CET 2008


Okay, I've installed mysql then using yum... it installed the same version
running on another machine with identical python where all works well... but
now I get this error during build... thoughts?!?? mysql_config is there, and
the site.cfg file is pointing correctly to it... :

[root@ MySQL-python-1.2.2]# python setup.py build
running build
running build_py
copying MySQLdb/release.py -> build/lib.linux-i686-2.4/MySQLdb
running build_ext
building '_mysql' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC
-Dversion_info=(1,2,2,'final',0) -D__version__=1.2.2 -I/usr/include/mysql
-I/usr/include/python2.4 -c _mysql.c -o build/temp.linux-i686-2.4/_mysql.o
-g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv
_mysql.c:35:23: error: my_config.h: No such file or directory
_mysql.c:40:19: error: mysql.h: No such file or directory
_mysql.c:41:26: error: mysqld_error.h: No such file or directory
_mysql.c:42:20: error: errmsg.h: No such file or directory
_mysql.c:78: error: expected specifier-qualifier-list before ‘MYSQL’
_mysql.c:92: error: expected specifier-qualifier-list before ‘MYSQL_RES’
_mysql.c: In function ‘_mysql_Exception’:
_mysql.c:122: warning: implicit declaration of function ‘mysql_errno’
_mysql.c:122: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:125: error: ‘CR_MAX_ERROR’ undeclared (first use in this function)
_mysql.c:125: error: (Each undeclared identifier is reported only once
_mysql.c:125: error: for each function it appears in.)
_mysql.c:133: error: ‘CR_COMMANDS_OUT_OF_SYNC’ undeclared (first use in this
function)
_mysql.c:134: error: ‘ER_DB_CREATE_EXISTS’ undeclared (first use in this
function)
_mysql.c:135: error: ‘ER_SYNTAX_ERROR’ undeclared (first use in this
function)
_mysql.c:136: error: ‘ER_PARSE_ERROR’ undeclared (first use in this
function)
_mysql.c:137: error: ‘ER_NO_SUCH_TABLE’ undeclared (first use in this
function)
_mysql.c:138: error: ‘ER_WRONG_DB_NAME’ undeclared (first use in this
function)
_mysql.c:139: error: ‘ER_WRONG_TABLE_NAME’ undeclared (first use in this
function)
_mysql.c:140: error: ‘ER_FIELD_SPECIFIED_TWICE’ undeclared (first use in
this function)
_mysql.c:141: error: ‘ER_INVALID_GROUP_FUNC_USE’ undeclared (first use in
this function)
_mysql.c:142: error: ‘ER_UNSUPPORTED_EXTENSION’ undeclared (first use in
this function)
_mysql.c:143: error: ‘ER_TABLE_MUST_HAVE_COLUMNS’ undeclared (first use in
this function)
_mysql.c:172: error: ‘ER_DUP_ENTRY’ undeclared (first use in this function)
_mysql.c:215: warning: implicit declaration of function ‘mysql_error’
_mysql.c:215: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:215: warning: passing argument 1 of ‘PyString_FromString’ makes
pointer from integer without a cast
_mysql.c: In function ‘_mysql_server_init’:
_mysql.c:310: warning: label ‘finish’ defined but not used
_mysql.c:236: warning: unused variable ‘item’
_mysql.c:235: warning: unused variable ‘groupc’
_mysql.c:235: warning: unused variable ‘i’
_mysql.c:235: warning: unused variable ‘cmd_argc’
_mysql.c:234: warning: unused variable ‘s’
_mysql.c: In function ‘_mysql_ResultObject_Initialize’:
_mysql.c:365: error: ‘MYSQL_RES’ undeclared (first use in this function)
_mysql.c:365: error: ‘result’ undeclared (first use in this function)
_mysql.c:370: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:370: error: ‘fields’ undeclared (first use in this function)
_mysql.c:379: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:382: warning: implicit declaration of function ‘mysql_use_result’
_mysql.c:382: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:384: warning: implicit declaration of function ‘mysql_store_result’
_mysql.c:384: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:385: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:388: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:391: warning: implicit declaration of function ‘mysql_num_fields’
_mysql.c:392: error: ‘_mysql_ResultObject’ has no member named ‘nfields’
_mysql.c:393: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:394: warning: implicit declaration of function ‘mysql_fetch_fields’
_mysql.c:438: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c: In function ‘_mysql_ResultObject_traverse’:
_mysql.c:450: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:451: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c: In function ‘_mysql_ResultObject_clear’:
_mysql.c:462: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:462: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:462: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:462: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:463: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c: In function ‘_mysql_ConnectionObject_Initialize’:
_mysql.c:475: error: ‘MYSQL’ undeclared (first use in this function)
_mysql.c:475: error: ‘conn’ undeclared (first use in this function)
_mysql.c:484: error: ‘MYSQL_PORT’ undeclared (first use in this function)
_mysql.c:500: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:501: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:524: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:546: warning: implicit declaration of function ‘mysql_init’
_mysql.c:546: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:549: warning: implicit declaration of function ‘mysql_options’
_mysql.c:549: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:549: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use in
this function)
_mysql.c:553: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:553: error: ‘MYSQL_OPT_COMPRESS’ undeclared (first use in this
function)
_mysql.c:554: error: ‘CLIENT_COMPRESS’ undeclared (first use in this
function)
_mysql.c:557: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:557: error: ‘MYSQL_OPT_NAMED_PIPE’ undeclared (first use in this
function)
_mysql.c:559: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:559: error: ‘MYSQL_INIT_COMMAND’ undeclared (first use in this
function)
_mysql.c:561: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:561: error: ‘MYSQL_READ_DEFAULT_FILE’ undeclared (first use in this
function)
_mysql.c:563: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:563: error: ‘MYSQL_READ_DEFAULT_GROUP’ undeclared (first use in
this function)
_mysql.c:566: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:566: error: ‘MYSQL_OPT_LOCAL_INFILE’ undeclared (first use in this
function)
_mysql.c:574: warning: implicit declaration of function ‘mysql_real_connect’
_mysql.c:574: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:589: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_ConnectionObject_traverse’:
_mysql.c:670: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:671: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c: In function ‘_mysql_ConnectionObject_clear’:
_mysql.c:679: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:679: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:679: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:679: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:680: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c: In function ‘_mysql_ConnectionObject_close’:
_mysql.c:695: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:697: warning: implicit declaration of function ‘mysql_close’
_mysql.c:697: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:699: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_ConnectionObject_affected_rows’:
_mysql.c:721: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:722: warning: implicit declaration of function
‘mysql_affected_rows’
_mysql.c:722: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_debug’:
_mysql.c:738: warning: implicit declaration of function ‘mysql_debug’
_mysql.c: In function ‘_mysql_ConnectionObject_dump_debug_info’:
_mysql.c:756: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:758: warning: implicit declaration of function
‘mysql_dump_debug_info’
_mysql.c:758: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_autocommit’:
_mysql.c:782: warning: implicit declaration of function ‘mysql_query’
_mysql.c:782: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_commit’:
_mysql.c:805: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_rollback’:
_mysql.c:827: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_errno’:
_mysql.c:939: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:940: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_error’:
_mysql.c:955: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:956: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:956: warning: passing argument 1 of ‘PyString_FromString’ makes
pointer from integer without a cast
_mysql.c: In function ‘_mysql_escape_string’:
_mysql.c:980: warning: implicit declaration of function
‘mysql_escape_string’
_mysql.c: In function ‘_mysql_escape’:
_mysql.c:1087: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c: In function ‘_mysql_ResultObject_describe’:
_mysql.c:1167: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:1167: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1170: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1171: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1172: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1183: warning: implicit declaration of function ‘IS_NOT_NULL’
_mysql.c: In function ‘_mysql_ResultObject_field_flags’:
_mysql.c:1203: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:1203: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1206: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1207: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1208: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: At top level:
_mysql.c:1249: error: expected declaration specifiers or ‘...’ before
‘MYSQL_ROW’
_mysql.c: In function ‘_mysql_row_to_tuple’:
_mysql.c:1255: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1257: warning: implicit declaration of function
‘mysql_fetch_lengths’
_mysql.c:1257: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1257: warning: assignment makes pointer from integer without a cast
_mysql.c:1260: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:1261: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1274: error: expected declaration specifiers or ‘...’ before
‘MYSQL_ROW’
_mysql.c: In function ‘_mysql_row_to_dict’:
_mysql.c:1279: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:1279: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1281: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1283: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1283: warning: assignment makes pointer from integer without a cast
_mysql.c:1284: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1287: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:1288: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1313: error: expected declaration specifiers or ‘...’ before
‘MYSQL_ROW’
_mysql.c: In function ‘_mysql_row_to_dict_old’:
_mysql.c:1318: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:1318: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1320: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1322: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1322: warning: assignment makes pointer from integer without a cast
_mysql.c:1323: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1326: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:1327: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1349: error: expected declaration specifiers or ‘...’ before
‘MYSQL_ROW’
_mysql.c: In function ‘_mysql__fetch_row’:
_mysql.c:1360: error: ‘MYSQL_ROW’ undeclared (first use in this function)
_mysql.c:1360: error: expected ‘;’ before ‘row’
_mysql.c:1364: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:1365: error: ‘row’ undeclared (first use in this function)
_mysql.c:1365: warning: implicit declaration of function ‘mysql_fetch_row’
_mysql.c:1365: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1368: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1371: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:1379: error: too many arguments to function ‘convert_row’
_mysql.c: In function ‘_mysql_ResultObject_fetch_row’:
_mysql.c:1403: error: expected declaration specifiers or ‘...’ before
‘MYSQL_ROW’
_mysql.c:1418: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1430: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:1444: warning: implicit declaration of function ‘mysql_num_rows’
_mysql.c:1444: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ConnectionObject_character_set_name’:
_mysql.c:1511: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_get_client_info’:
_mysql.c:1602: warning: implicit declaration of function
‘mysql_get_client_info’
_mysql.c:1602: warning: passing argument 1 of ‘PyString_FromString’ makes
pointer from integer without a cast
_mysql.c: In function ‘_mysql_ConnectionObject_get_host_info’:
_mysql.c:1616: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1617: warning: implicit declaration of function
‘mysql_get_host_info’
_mysql.c:1617: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:1617: warning: passing argument 1 of ‘PyString_FromString’ makes
pointer from integer without a cast
_mysql.c: In function ‘_mysql_ConnectionObject_get_proto_info’:
_mysql.c:1631: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1632: warning: implicit declaration of function
‘mysql_get_proto_info’
_mysql.c:1632: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_get_server_info’:
_mysql.c:1646: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1647: warning: implicit declaration of function
‘mysql_get_server_info’
_mysql.c:1647: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:1647: warning: passing argument 1 of ‘PyString_FromString’ makes
pointer from integer without a cast
_mysql.c: In function ‘_mysql_ConnectionObject_info’:
_mysql.c:1663: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1664: warning: implicit declaration of function ‘mysql_info’
_mysql.c:1664: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:1664: warning: assignment makes pointer from integer without a cast
_mysql.c: In function ‘_mysql_ConnectionObject_insert_id’:
_mysql.c:1696: error: ‘my_ulonglong’ undeclared (first use in this function)
_mysql.c:1696: error: expected ‘;’ before ‘r’
_mysql.c:1698: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1700: error: ‘r’ undeclared (first use in this function)
_mysql.c:1700: warning: implicit declaration of function ‘mysql_insert_id’
_mysql.c:1700: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_kill’:
_mysql.c:1717: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1719: warning: implicit declaration of function ‘mysql_kill’
_mysql.c:1719: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_field_count’:
_mysql.c:1738: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1740: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ResultObject_num_fields’:
_mysql.c:1755: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1756: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_num_rows’:
_mysql.c:1771: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1772: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ConnectionObject_ping’:
_mysql.c:1801: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1802: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:1804: warning: implicit declaration of function ‘mysql_ping’
_mysql.c:1804: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_query’:
_mysql.c:1825: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1827: warning: implicit declaration of function ‘mysql_real_query’
_mysql.c:1827: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_select_db’:
_mysql.c:1855: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1857: warning: implicit declaration of function ‘mysql_select_db’
_mysql.c:1857: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_shutdown’:
_mysql.c:1876: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1878: warning: implicit declaration of function ‘mysql_shutdown’
_mysql.c:1878: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_stat’:
_mysql.c:1903: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1905: warning: implicit declaration of function ‘mysql_stat’
_mysql.c:1905: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:1905: warning: assignment makes pointer from integer without a cast
_mysql.c: In function ‘_mysql_ConnectionObject_store_result’:
_mysql.c:1926: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1927: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:1936: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ConnectionObject_thread_id’:
_mysql.c:1965: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1967: warning: implicit declaration of function ‘mysql_thread_id’
_mysql.c:1967: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_use_result’:
_mysql.c:1987: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1988: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:1997: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ConnectionObject_dealloc’:
_mysql.c:2015: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_ConnectionObject_repr’:
_mysql.c:2027: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2028: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c: In function ‘_mysql_ResultObject_data_seek’:
_mysql.c:2046: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2047: warning: implicit declaration of function ‘mysql_data_seek’
_mysql.c:2047: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_row_seek’:
_mysql.c:2060: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this
function)
_mysql.c:2060: error: expected ‘;’ before ‘r’
_mysql.c:2062: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2063: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:2068: error: ‘r’ undeclared (first use in this function)
_mysql.c:2068: warning: implicit declaration of function ‘mysql_row_tell’
_mysql.c:2068: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:2069: warning: implicit declaration of function ‘mysql_row_seek’
_mysql.c:2069: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_row_tell’:
_mysql.c:2081: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this
function)
_mysql.c:2081: error: expected ‘;’ before ‘r’
_mysql.c:2083: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2084: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:2089: error: ‘r’ undeclared (first use in this function)
_mysql.c:2089: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:2090: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_dealloc’:
_mysql.c:2098: warning: implicit declaration of function ‘mysql_free_result’
_mysql.c:2098: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: At top level:
_mysql.c:2329: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2336: error: ‘_mysql_ConnectionObject’ has no member named
‘converter’
_mysql.c:2343: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:2350: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:2357: error: ‘_mysql_ConnectionObject’ has no member named
‘connection’
_mysql.c:2420: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:2420: error: initializer element is not constant
_mysql.c:2420: error: (near initialization for
‘_mysql_ResultObject_memberlist[0].offset’)
_mysql.c: In function ‘_mysql_ConnectionObject_getattr’:
_mysql.c:2442: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
error: command 'gcc' failed with exit status 1
[root@ MySQL-python-1.2.2]#        




Jarek Zgoda wrote:
> 
>    
>> 
>> How can I install MySQL-python-1.2.2 without installing MySQL???
> 
> In short: without installing client libraries you cann't.
> 
> -- 
> Jarek Zgoda
> Skype: jzgoda | GTalk: zgoda at jabber.aster.pl | voice: +48228430101
> 
> "We read Knuth so you don't have to." (Tim Peters)
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 
> 


&-(&-(
-- 
View this message in context: http://www.nabble.com/MySQL-python-1.2.2-install-with-no-mysql-tp14836669p14837853.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list