Re: MySQL-python-1.2.2 install with no mysql
washakie napisał(a): I need to install the MySQL-python-1.2.2 connector in order to access a db on another machine. In the install it asks for the location of the mysql_config file, and if I leave it as the default I get: [EMAIL PROTECTED] MySQL-python-1.2.2]# python setup.py build sh: mysql_config: command not found Traceback (most recent call last): File setup.py, line 16, in ? metadata, options = get_config() File /opt/MySQL-python-1.2.2/setup_posix.py, line 43, in get_config libs = mysql_config(libs_r) File /opt/MySQL-python-1.2.2/setup_posix.py, line 24, in mysql_config raise EnvironmentError, %s not found % mysql_config.path EnvironmentError: mysql_config not found [EMAIL PROTECTED] MySQL-python-1.2.2]# 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: [EMAIL PROTECTED] | voice: +48228430101 We read Knuth so you don't have to. (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list
MySQL-python-1.2.2 install with no mysql
Hello, I need to install the MySQL-python-1.2.2 connector in order to access a db on another machine. In the install it asks for the location of the mysql_config file, and if I leave it as the default I get: [EMAIL PROTECTED] MySQL-python-1.2.2]# python setup.py build sh: mysql_config: command not found Traceback (most recent call last): File setup.py, line 16, in ? metadata, options = get_config() File /opt/MySQL-python-1.2.2/setup_posix.py, line 43, in get_config libs = mysql_config(libs_r) File /opt/MySQL-python-1.2.2/setup_posix.py, line 24, in mysql_config raise EnvironmentError, %s not found % mysql_config.path EnvironmentError: mysql_config not found [EMAIL PROTECTED] MySQL-python-1.2.2]# How can I install MySQL-python-1.2.2 without installing MySQL??? thanks!! -- View this message in context: http://www.nabble.com/MySQL-python-1.2.2-install-with-no-mysql-tp14836669p14836669.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list
Re: MySQL-python-1.2.2 install with no mysql
washakie napisał(a): 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... : You need to install -dev package too. -- Jarek Zgoda Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101 We read Knuth so you don't have to. (Tim Peters) -- http://mail.python.org/mailman/listinfo/python-list
Re: MySQL-python-1.2.2 install with no mysql
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: [EMAIL PROTECTED] | 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. -- http://mail.python.org/mailman/listinfo/python-list
Re: MySQL-python-1.2.2 install with no mysql
Thank you... after: %yum install mysql* I was able to build and install mysql-python -- View this message in context: http://www.nabble.com/MySQL-python-1.2.2-install-with-no-mysql-tp14836669p14845579.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list