因为缺少mysql-config
不知道如何下载MySQL-devel-5.6.24-1.el6.x86_64
在linux安装hue报的错
- File "setup.py", line 15, in
- metadata, options = get_config()
- File "/opt/module/hue-3.7.0-cdh5.3.6/desktop/core/ext-py/MySQL-python-1.2.3c1/setup_posix.py", line 43, in get_config
- libs = mysql_config("libs_r")
- File "/opt/module/hue-3.7.0-cdh5.3.6/desktop/core/ext-py/MySQL-python-1.2.3c1/setup_posix.py", line 24, in mysql_config
- raise EnvironmentError("%s not found" % (mysql_config.path,))
- EnvironmentError: mysql_config not found
- make[2]: *** [/opt/module/hue-3.7.0-cdh5.3.6/desktop/core/build/MySQL-python-1.2.3c1/egg.stamp] 错误 1
- make[2]: Leaving directory `/opt/module/hue-3.7.0-cdh5.3.6/desktop/core'
- make[1]: *** [.recursive-env-install/core] 错误 2
- make[1]: Leaving directory `/opt/module/hue-3.7.0-cdh5.3.6/desktop'
- make: *** [desktop] 错误 2
下面是我百度的方法
通过报错信息看出是缺少mysql_config,在/usr/bin/下面应该有的mysql_config文件没有,
去网易镜像下载,里面有个各种版本,你可以看一下