[oe-commits] Martin Jansa : mysql-python: add dependency on mysql
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 14 11:24:09 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: f32956c1d6b473c80512c5ad82754ce090524a02
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f32956c1d6b473c80512c5ad82754ce090524a02
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Thu Aug 8 13:07:05 2013 +0200
mysql-python: add dependency on mysql
* fails without mysql_config:
ERROR: Function failed: do_compile (log file is located at mysql-python/1.2.4-r0/temp/log.do_compile.29833)
ERROR: Logfile of failure stored in: mysql-python/1.2.4-r0/temp/log.do_compile.29833
Log data follows:
| DEBUG: Executing shell function do_compile
| sh: 1: mysql_config: not found
| Traceback (most recent call last):
| File "setup.py", line 18, in <module>
| metadata, options = get_config()
| File "mysql-python/1.2.4-r0/MySQL-python-1.2.4/setup_posix.py", line 43, in get_config
| libs = mysql_config("libs_r")
| File "mysql-python/1.2.4-r0/MySQL-python-1.2.4/setup_posix.py", line 25, in mysql_config
| raise EnvironmentError("%s not found" % (mysql_config.path,))
| EnvironmentError: mysql_config not found
| ERROR: python setup.py build_ext execution failed.
| ERROR: Function failed: do_compile (log file is located at mysql-python/1.2.4-r0/temp/log.do_compile.29833)
NOTE: recipe mysql-python-1.2.4-r0: task do_compile: Failed
ERROR: Task 6 (meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb, do_compile) failed with exit code '1'
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../recipes-support/mysql/mysql-python_1.2.4.bb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb b/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb
index 37ad21c..678f17c 100644
--- a/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb
+++ b/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb
@@ -4,6 +4,8 @@ SECTION = "devel/python"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+DEPENDS = "mysql5"
+
PR = "r0"
SRCNAME = "MySQL-python"
More information about the Openembedded-commits
mailing list