lixuewei / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

libmysqlclient-dev needed #1173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install python MySQLdb
   python setup.py install

What is the expected output? What do you see instead?
MySQLdb Installed properly

What version of the product are you using? On what operating system?
RT-n56u with 3.4.3.7-072 Firmware, Entware installed, Python Installed

Please describe the problem as detailed as it's possible.
After installing python e downloading MySQL-python-1.2.4b4 and trying to 
compile it with python setup.py install command the answer message is:
sh: mysql_config: not found

Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    metadata, options = get_config()
  File "/opt/usr/sources/MySQL-python-1.2.4b4/setup_posix.py", line 43, in get_config
    libs = mysql_config("libs_r")
  File "/opt/usr/sources/MySQL-python-1.2.4b4/setup_posix.py", line 25, in mysql_config
    raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found

Problem seems to be related to a missing library (libmysqlclient-dev)

Is there any known version of the lib?

Original issue reported on code.google.com by andrea.p...@gmail.com on 27 Feb 2014 at 2:48

GoogleCodeExporter commented 9 years ago
Have you checked the Entware repo?

opkg install libmysqlclient-dev

Original comment by c_u_late...@hotmail.com on 28 Feb 2014 at 10:25

GoogleCodeExporter commented 9 years ago
No package is available

/opt/home/admin # opkg install libmysqlclient-dev

Unknown package 'libmysqlclient-dev'.

Collected errors:

 * opkg_install_cmd: Cannot install package libmysqlclient-dev.

Original comment by andrea.p...@gmail.com on 28 Feb 2014 at 10:36

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/wl500g-repo/

Original comment by Dr.Sydorenko.O on 28 Feb 2014 at 5:05