MAMP + Python MySQLDB - trouble installing
- by Frederico
I'm currently running the latest version of MAMP on my Snow Leopard OSX, and I'm trying to install MySQLDB.
Downloaded:
MySQL-python-1.2.3c1
I went into the setup_posix.py and adjusted the location of the mysql_config to the one in MAMP: mysql_config.path = "/Applications/MAMP/Library/bin/mysql_config"
When trying to build I get the error below. Could anyone give me a hand please:
creating build/temp.macosx-10.6-universal-2.6
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -Dversion_info=(1,2,3,'gamma',1) -D_version_=1.2.3c1 -I/Applications/MAMP/Library/include/mysql -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c _mysql.c -o build/temp.macosx-10.6-universal-2.6/_mysql.o -fno-omit-frame-pointer -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL
_mysql.c:36:23: error: my_config.h: No such file or directory
_mysql.c:38:19: error: mysql.h: No such file or directory
_mysql.c:39:26: error: mysqld_error.h: No such file or directory
_mysql.c:40:20: error: errmsg.h: No such file or directory
_mysql.c:76: error: expected specifier-qualifier-list before ‘MYSQL’
_mysql.c:90: error: expected specifier-qualifier-list before ‘MYSQL_RES’
_mysql.c: In function ‘_mysql_Exception’:
_mysql.c:120: warning: implicit declaration of function ‘mysql_errno’
_mysql.c:120: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:123: error: ‘CR_MAX_ERROR’ undeclared (first use in this function)
_mysql.c:123: error: (Each undeclared identifier is reported only once
_mysql.c:123: error: for each function it appears in.)
_mysql.c:131: error: ‘CR_COMMANDS_OUT_OF_SYNC’ undeclared (first use in this function)
_mysql.c:132: error: ‘ER_DB_CREATE_EXISTS’ undeclared (first use in this function)
_mysql.c:133: error: ‘ER_SYNTAX_ERROR’ undeclared (first use in this function)
_mysql.c:134: error: ‘ER_PARSE_ERROR’ undeclared (first use in this function)
_mysql.c:135: error: ‘ER_NO_SUCH_TABLE’ undeclared (first use in this function)
_mysql.c:136: error: ‘ER_WRONG_DB_NAME’ undeclared (first use in this function)
_mysql.c:137: error: ‘ER_WRONG_TABLE_NAME’ undeclared (first use in this function)
_mysql.c:138: error: ‘ER_FIELD_SPECIFIED_TWICE’ undeclared (first use in this function)
_mysql.c:139: error: ‘ER_INVALID_GROUP_FUNC_USE’ undeclared (first use in this function)
_mysql.c:140: error: ‘ER_UNSUPPORTED_EXTENSION’ undeclared (first use in this function)
_mysql.c:141: error: ‘ER_TABLE_MUST_HAVE_COLUMNS’ undeclared (first use in this function)
_mysql.c:170: error: ‘ER_DUP_ENTRY’ undeclared (first use in this function)
_mysql.c:213: warning: implicit declaration of function ‘mysql_error’
_mysql.c:213: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:213: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
_mysql.c: In function ‘_mysql_server_init’:
_mysql.c:308: warning: label ‘finish’ defined but not used
_mysql.c:234: warning: unused variable ‘item’
_mysql.c:233: warning: unused variable ‘groupc’
_mysql.c:233: warning: unused variable ‘i’
_mysql.c:233: warning: unused variable ‘cmd_argc’
_mysql.c:232: warning: unused variable ‘s’
_mysql.c: In function ‘_mysql_ResultObject_Initialize’:
_mysql.c:363: error: ‘MYSQL_RES’ undeclared (first use in this function)
_mysql.c:363: error: ‘result’ undeclared (first use in this function)
_mysql.c:368: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:368: error: ‘fields’ undeclared (first use in this function)
_mysql.c:377: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:380: warning: implicit declaration of function ‘mysql_use_result’
_mysql.c:380: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:382: warning: implicit declaration of function ‘mysql_store_result’
_mysql.c:382: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:383: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:386: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:389: warning: implicit declaration of function ‘mysql_num_fields’
_mysql.c:390: error: ‘_mysql_ResultObject’ has no member named ‘nfields’
_mysql.c:391: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:392: 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:500: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:501: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:525: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:547: warning: implicit declaration of function ‘mysql_init’
_mysql.c:547: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:550: warning: implicit declaration of function ‘mysql_options’
_mysql.c:550: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:550: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use in this function)
_mysql.c:554: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:554: error: ‘MYSQL_OPT_COMPRESS’ undeclared (first use in this function)
_mysql.c:555: error: ‘CLIENT_COMPRESS’ undeclared (first use in this function)
_mysql.c:558: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:558: error: ‘MYSQL_OPT_NAMED_PIPE’ undeclared (first use in this function)
_mysql.c:560: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:560: error: ‘MYSQL_INIT_COMMAND’ undeclared (first use in this function)
_mysql.c:562: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:562: error: ‘MYSQL_READ_DEFAULT_FILE’ undeclared (first use in this function)
_mysql.c:564: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:564: error: ‘MYSQL_READ_DEFAULT_GROUP’ undeclared (first use in this function)
_mysql.c:567: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:567: error: ‘MYSQL_OPT_LOCAL_INFILE’ undeclared (first use in this function)
_mysql.c:575: warning: implicit declaration of function ‘mysql_real_connect’
_mysql.c:575: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:590: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_ConnectionObject_traverse’:
_mysql.c:671: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:672: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c: In function ‘_mysql_ConnectionObject_clear’:
_mysql.c:680: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:680: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:680: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:680: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:681: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c: In function ‘_mysql_ConnectionObject_close’:
_mysql.c:696: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:698: warning: implicit declaration of function ‘mysql_close’
_mysql.c:698: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:700: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_ConnectionObject_affected_rows’:
_mysql.c:722: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:723: warning: implicit declaration of function ‘mysql_affected_rows’
_mysql.c:723: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_debug’:
_mysql.c:739: warning: implicit declaration of function ‘mysql_debug’
_mysql.c: In function ‘_mysql_ConnectionObject_dump_debug_info’:
_mysql.c:757: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:759: warning: implicit declaration of function ‘mysql_dump_debug_info’
_mysql.c:759: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_autocommit’:
_mysql.c:783: warning: implicit declaration of function ‘mysql_query’
_mysql.c:783: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_commit’:
_mysql.c:806: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_rollback’:
_mysql.c:828: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_errno’:
_mysql.c:940: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:941: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_error’:
_mysql.c:956: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:957: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:957: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
_mysql.c: In function ‘_mysql_escape_string’:
_mysql.c:981: warning: implicit declaration of function ‘mysql_escape_string’
_mysql.c: In function ‘_mysql_escape’:
_mysql.c:1088: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c: In function ‘_mysql_ResultObject_describe’:
_mysql.c:1168: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:1168: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1171: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1172: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1173: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1184: warning: implicit declaration of function ‘IS_NOT_NULL’
_mysql.c: In function ‘_mysql_ResultObject_field_flags’:
_mysql.c:1204: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:1204: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1207: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1208: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1209: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: At top level:
_mysql.c:1250: error: expected declaration specifiers or ‘...’ before ‘MYSQL_ROW’
_mysql.c: In function ‘_mysql_row_to_tuple’:
_mysql.c:1256: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1258: warning: implicit declaration of function ‘mysql_fetch_lengths’
_mysql.c:1258: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1258: warning: assignment makes pointer from integer without a cast
_mysql.c:1261: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:1262: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1275: error: expected declaration specifiers or ‘...’ before ‘MYSQL_ROW’
_mysql.c: In function ‘_mysql_row_to_dict’:
_mysql.c:1280: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:1280: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1282: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1284: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1284: warning: assignment makes pointer from integer without a cast
_mysql.c:1285: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1288: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:1289: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1314: error: expected declaration specifiers or ‘...’ before ‘MYSQL_ROW’
_mysql.c: In function ‘_mysql_row_to_dict_old’:
_mysql.c:1319: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:1319: error: ‘fields’ undeclared (first use in this function)
_mysql.c:1321: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1323: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1323: warning: assignment makes pointer from integer without a cast
_mysql.c:1324: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1327: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:1328: error: ‘row’ undeclared (first use in this function)
_mysql.c: At top level:
_mysql.c:1350: error: expected declaration specifiers or ‘...’ before ‘MYSQL_ROW’
_mysql.c: In function ‘mysql_fetch_row’:
_mysql.c:1361: error: ‘MYSQL_ROW’ undeclared (first use in this function)
_mysql.c:1361: error: expected ‘;’ before ‘row’
_mysql.c:1365: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:1366: error: ‘row’ undeclared (first use in this function)
_mysql.c:1366: warning: implicit declaration of function ‘mysql_fetch_row’
_mysql.c:1366: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1369: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:1372: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:1380: error: too many arguments to function ‘convert_row’
_mysql.c: In function ‘_mysql_ResultObject_fetch_row’:
_mysql.c:1404: error: expected declaration specifiers or ‘...’ before ‘MYSQL_ROW’
_mysql.c:1419: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1431: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:1445: warning: implicit declaration of function ‘mysql_num_rows’
_mysql.c:1445: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ConnectionObject_character_set_name’:
_mysql.c:1512: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_get_client_info’:
_mysql.c:1603: warning: implicit declaration of function ‘mysql_get_client_info’
_mysql.c:1603: 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:1617: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1618: warning: implicit declaration of function ‘mysql_get_host_info’
_mysql.c:1618: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:1618: 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:1632: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1633: warning: implicit declaration of function ‘mysql_get_proto_info’
_mysql.c:1633: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_get_server_info’:
_mysql.c:1647: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1648: warning: implicit declaration of function ‘mysql_get_server_info’
_mysql.c:1648: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:1648: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
_mysql.c: In function ‘_mysql_ConnectionObject_info’:
_mysql.c:1664: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1665: warning: implicit declaration of function ‘mysql_info’
_mysql.c:1665: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:1665: warning: assignment makes pointer from integer without a cast
_mysql.c: In function ‘_mysql_ConnectionObject_insert_id’:
_mysql.c:1697: error: ‘my_ulonglong’ undeclared (first use in this function)
_mysql.c:1697: error: expected ‘;’ before ‘r’
_mysql.c:1699: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1701: error: ‘r’ undeclared (first use in this function)
_mysql.c:1701: warning: implicit declaration of function ‘mysql_insert_id’
_mysql.c:1701: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_kill’:
_mysql.c:1718: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1720: warning: implicit declaration of function ‘mysql_kill’
_mysql.c:1720: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_field_count’:
_mysql.c:1739: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1741: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ResultObject_num_fields’:
_mysql.c:1756: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1757: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_num_rows’:
_mysql.c:1772: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1773: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ConnectionObject_ping’:
_mysql.c:1802: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1803: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:1805: warning: implicit declaration of function ‘mysql_ping’
_mysql.c:1805: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_query’:
_mysql.c:1826: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1828: warning: implicit declaration of function ‘mysql_real_query’
_mysql.c:1828: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_select_db’:
_mysql.c:1856: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1858: warning: implicit declaration of function ‘mysql_select_db’
_mysql.c:1858: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_shutdown’:
_mysql.c:1877: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1879: warning: implicit declaration of function ‘mysql_shutdown’
_mysql.c:1879: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_stat’:
_mysql.c:1904: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1906: warning: implicit declaration of function ‘mysql_stat’
_mysql.c:1906: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:1906: warning: assignment makes pointer from integer without a cast
_mysql.c: In function ‘_mysql_ConnectionObject_store_result’:
_mysql.c:1927: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1928: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:1937: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ConnectionObject_thread_id’:
_mysql.c:1966: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1968: warning: implicit declaration of function ‘mysql_thread_id’
_mysql.c:1968: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ConnectionObject_use_result’:
_mysql.c:1988: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:1989: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:1998: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ConnectionObject_dealloc’:
_mysql.c:2016: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_ConnectionObject_repr’:
_mysql.c:2028: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2029: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c: In function ‘_mysql_ResultObject_data_seek’:
_mysql.c:2047: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2048: warning: implicit declaration of function ‘mysql_data_seek’
_mysql.c:2048: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_row_seek’:
_mysql.c:2061: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this function)
_mysql.c:2061: error: expected ‘;’ before ‘r’
_mysql.c:2063: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2064: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:2069: error: ‘r’ undeclared (first use in this function)
_mysql.c:2069: warning: implicit declaration of function ‘mysql_row_tell’
_mysql.c:2069: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:2070: warning: implicit declaration of function ‘mysql_row_seek’
_mysql.c:2070: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_row_tell’:
_mysql.c:2082: error: ‘MYSQL_ROW_OFFSET’ undeclared (first use in this function)
_mysql.c:2082: error: expected ‘;’ before ‘r’
_mysql.c:2084: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2085: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:2090: error: ‘r’ undeclared (first use in this function)
_mysql.c:2090: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:2091: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: In function ‘_mysql_ResultObject_dealloc’:
_mysql.c:2099: warning: implicit declaration of function ‘mysql_free_result’
_mysql.c:2099: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c: At top level:
_mysql.c:2330: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:2337: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:2344: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:2351: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:2358: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:2421: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:2421: error: initializer element is not constant
_mysql.c:2421: error: (near initialization for ‘_mysql_ResultObject_memberlist[0].offset’)
_mysql.c: In function ‘_mysql_ConnectionObject_getattr’:
_mysql.c:2443: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:36:23: error: my_config.h: No such file or directory
_mysql.c:38:19: error: mysql.h: No such file or directory
_mysql.c:39:26: error: mysqld_error.h: No such file or directory
_mysql.c:40:20: error: errmsg.h: No such file or directory
_mysql.c:76: error: expected specifier-qualifier-list before ‘MYSQL’
_mysql.c:90: error: expected specifier-qualifier-list before ‘MYSQL_RES’
_mysql.c: In function ‘_mysql_Exception’:
_mysql.c:120: warning: implicit declaration of function ‘mysql_errno’
_mysql.c:120: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:123: error: ‘CR_MAX_ERROR’ undeclared (first use in this function)
_mysql.c:123: error: (Each undeclared identifier is reported only once
_mysql.c:123: error: for each function it appears in.)
_mysql.c:131: error: ‘CR_COMMANDS_OUT_OF_SYNC’ undeclared (first use in this function)
_mysql.c:132: error: ‘ER_DB_CREATE_EXISTS’ undeclared (first use in this function)
_mysql.c:133: error: ‘ER_SYNTAX_ERROR’ undeclared (first use in this function)
_mysql.c:134: error: ‘ER_PARSE_ERROR’ undeclared (first use in this function)
_mysql.c:135: error: ‘ER_NO_SUCH_TABLE’ undeclared (first use in this function)
_mysql.c:136: error: ‘ER_WRONG_DB_NAME’ undeclared (first use in this function)
_mysql.c:137: error: ‘ER_WRONG_TABLE_NAME’ undeclared (first use in this function)
_mysql.c:138: error: ‘ER_FIELD_SPECIFIED_TWICE’ undeclared (first use in this function)
_mysql.c:139: error: ‘ER_INVALID_GROUP_FUNC_USE’ undeclared (first use in this function)
_mysql.c:140: error: ‘ER_UNSUPPORTED_EXTENSION’ undeclared (first use in this function)
_mysql.c:141: error: ‘ER_TABLE_MUST_HAVE_COLUMNS’ undeclared (first use in this function)
_mysql.c:170: error: ‘ER_DUP_ENTRY’ undeclared (first use in this function)
_mysql.c:213: warning: implicit declaration of function ‘mysql_error’
_mysql.c:213: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:213: warning: passing argument 1 of ‘PyString_FromString’ makes pointer from integer without a cast
_mysql.c: In function ‘_mysql_server_init’:
_mysql.c:308: warning: label ‘finish’ defined but not used
_mysql.c:234: warning: unused variable ‘item’
_mysql.c:233: warning: unused variable ‘groupc’
_mysql.c:233: warning: unused variable ‘i’
_mysql.c:233: warning: unused variable ‘cmd_argc’
_mysql.c:232: warning: unused variable ‘s’
_mysql.c: In function ‘_mysql_ResultObject_Initialize’:
_mysql.c:363: error: ‘MYSQL_RES’ undeclared (first use in this function)
_mysql.c:363: error: ‘result’ undeclared (first use in this function)
_mysql.c:368: error: ‘MYSQL_FIELD’ undeclared (first use in this function)
_mysql.c:368: error: ‘fields’ undeclared (first use in this function)
_mysql.c:377: error: ‘_mysql_ResultObject’ has no member named ‘use’
_mysql.c:380: warning: implicit declaration of function ‘mysql_use_result’
_mysql.c:380: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:382: warning: implicit declaration of function ‘mysql_store_result’
_mysql.c:382: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:383: error: ‘_mysql_ResultObject’ has no member named ‘result’
_mysql.c:386: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:389: warning: implicit declaration of function ‘mysql_num_fields’
_mysql.c:390: error: ‘_mysql_ResultObject’ has no member named ‘nfields’
_mysql.c:391: error: ‘_mysql_ResultObject’ has no member named ‘converter’
_mysql.c:392: 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:500: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:501: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c:525: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c:547: warning: implicit declaration of function ‘mysql_init’
_mysql.c:547: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:550: warning: implicit declaration of function ‘mysql_options’
_mysql.c:550: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:550: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use in this function)
_mysql.c:554: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:554: error: ‘MYSQL_OPT_COMPRESS’ undeclared (first use in this function)
_mysql.c:555: error: ‘CLIENT_COMPRESS’ undeclared (first use in this function)
_mysql.c:558: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:558: error: ‘MYSQL_OPT_NAMED_PIPE’ undeclared (first use in this function)
_mysql.c:560: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:560: error: ‘MYSQL_INIT_COMMAND’ undeclared (first use in this function)
_mysql.c:562: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:562: error: ‘MYSQL_READ_DEFAULT_FILE’ undeclared (first use in this function)
_mysql.c:564: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:564: error: ‘MYSQL_READ_DEFAULT_GROUP’ undeclared (first use in this function)
_mysql.c:567: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:567: error: ‘MYSQL_OPT_LOCAL_INFILE’ undeclared (first use in this function)
_mysql.c:575: warning: implicit declaration of function ‘mysql_real_connect’
_mysql.c:575: error: ‘_mysql_ConnectionObject’ has no member named ‘connection’
_mysql.c:590: error: ‘_mysql_ConnectionObject’ has no member named ‘open’
_mysql.c: In function ‘_mysql_ConnectionObject_traverse’:
_mysql.c:671: error: ‘_mysql_ConnectionObject’ has no member named ‘converter’
_mysql.c: