Thanks! I'll report back on progress. On Apr 7, 5:07 pm, David Trowbridge <[email protected]> wrote: > It looks like you need to install a -devel package for mysql in order to get > the headers. > > -David > > On Thu, Apr 7, 2011 at 4:02 PM, Dean <[email protected]> wrote: > > I'm following the v1.5 admin installation doc, and ran into trouble on > > the "mysql-python" step. > > I've been installing as root, and am down to wondering if there are > > environment setting I have omitted because everybody know python but > > me... > > > I get these errors: > > > easy_install mysql-python > > Searching for mysql-python > > Readinghttp://pypi.python.org/simple/mysql-python/ > > Readinghttp://sourceforge.net/projects/mysql-python/ > > Readinghttp://sourceforge.net/projects/mysql-python > > Best match: MySQL-python 1.2.3 > > Downloading > >http://download.sourceforge.net/sourceforge/mysql-python/MySQL-python... > > Processing MySQL-python-1.2.3.tar.gz > > Running MySQL-python-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/ > > easy_install-nX4ESs/MySQL-python-1.2.3/egg-dist-tmp-mHwDDq > > warning: no files found matching 'MANIFEST' > > warning: no files found matching 'ChangeLog' > > warning: no files found matching 'GPL' > > _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:537: warning: implicit declaration of function ‘mysql_init’ > > _mysql.c:537: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:540: warning: implicit declaration of function > > ‘mysql_options’ > > _mysql.c:540: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:540: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use > > in this function) > > _mysql.c:544: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:544: error: ‘MYSQL_OPT_COMPRESS’ undeclared (first use in > > this function) > > _mysql.c:545: error: ‘CLIENT_COMPRESS’ undeclared (first use in this > > function) > > _mysql.c:548: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:548: error: ‘MYSQL_OPT_NAMED_PIPE’ undeclared (first use in > > this function) > > _mysql.c:550: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:550: error: ‘MYSQL_INIT_COMMAND’ undeclared (first use in > > this function) > > _mysql.c:552: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:552: error: ‘MYSQL_READ_DEFAULT_FILE’ undeclared (first use > > in this function) > > _mysql.c:554: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:554: error: ‘MYSQL_READ_DEFAULT_GROUP’ undeclared (first use > > in this function) > > _mysql.c:557: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:557: error: ‘MYSQL_OPT_LOCAL_INFILE’ undeclared (first use in > > this function) > > _mysql.c:565: warning: implicit declaration of function > > ‘mysql_real_connect’ > > _mysql.c:565: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:583: error: ‘_mysql_ConnectionObject’ has no member named > > ‘converter’ > > _mysql.c:591: error: ‘_mysql_ConnectionObject’ has no member named > > ‘open’ > > _mysql.c: In function ‘_mysql_ConnectionObject_traverse’: > > _mysql.c:672: error: ‘_mysql_ConnectionObject’ has no member named > > ‘converter’ > > _mysql.c:673: error: ‘_mysql_ConnectionObject’ has no member named > > ‘converter’ > > _mysql.c: In function ‘_mysql_ConnectionObject_clear’: > > _mysql.c:681: error: ‘_mysql_ConnectionObject’ has no member named > > ‘converter’ > > _mysql.c:681: error: ‘_mysql_ConnectionObject’ has no member named > > ‘converter’ > > _mysql.c:681: error: ‘_mysql_ConnectionObject’ has no member named > > ‘converter’ > > _mysql.c:681: error: ‘_mysql_ConnectionObject’ has no member named > > ‘converter’ > > _mysql.c:682: error: ‘_mysql_ConnectionObject’ has no member named > > ‘converter’ > > _mysql.c: In function ‘_mysql_ConnectionObject_close’: > > _mysql.c:697: error: ‘_mysql_ConnectionObject’ has no member named > > ‘open’ > > _mysql.c:699: warning: implicit declaration of function ‘mysql_close’ > > _mysql.c:699: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c:701: error: ‘_mysql_ConnectionObject’ has no member named > > ‘open’ > > _mysql.c: In function ‘_mysql_ConnectionObject_affected_rows’: > > _mysql.c:723: error: ‘_mysql_ConnectionObject’ has no member named > > ‘open’ > > _mysql.c:724: warning: implicit declaration of function > > ‘mysql_affected_rows’ > > _mysql.c:724: error: ‘_mysql_ConnectionObject’ has no member named > > ‘connection’ > > _mysql.c: In function ‘_mysql_debug’: > > _mysql.c:740: warning: implicit declaration of function ‘mysql_debug’ > > _mysql.c: In function ‘_mysql_ConnectionObject_dump_debug_info’: > > _mysql.c:758: error: ‘_mysql_ConnectionObject’ has no member named > > ‘open’ > > _mysql.c:760: > > ... > > read more »
-- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
