MySQL 是构建 HUE 的先决条件吗?

发布于 2024-12-22 19:23:04 字数 1221 浏览 2 评论 0原文

我正在尝试构建色调,但到目前为止还没有取得太大成功。我是 收到以下错误消息:

--- Building egg for MySQL-python-1.2.3c1 
sh: mysql_config: command not found 
Traceback (most recent call last): 
  File "<string>", line 1, in <module> 
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in 
run_setup 
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105, 
in run 
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in 
<lambda> 
  File "setup.py", line 15, in <module> 
    metadata, options = get_config() 
  File "/Users/kramachandran/Sandbox/hue/hue/desktop/core/ext-py/MySQL- 
python-1.2.3c1/setup_posix.py", line 43, in get_config 
    libs = mysql_config("libs_r") 
  File "/Users/kramachandran/Sandbox/hue/hue/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]: *** [/Users/kramachandran/Sandbox/hue/hue/desktop/core/build/ 
MySQL-python-1.2.3c1/egg.stamp] Error 1 
make[1]: *** [.recursive-env-install/core] Error 2 

我将此解释为 MySQL 或 MySQL python 是预- 要求。但是,我没有看到任何这方面的文档。 任何信息将不胜感激。 谢谢

I'm trying to build hue and not having much success so far. I'm
getting the following error message :

--- Building egg for MySQL-python-1.2.3c1 
sh: mysql_config: command not found 
Traceback (most recent call last): 
  File "<string>", line 1, in <module> 
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in 
run_setup 
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105, 
in run 
  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in 
<lambda> 
  File "setup.py", line 15, in <module> 
    metadata, options = get_config() 
  File "/Users/kramachandran/Sandbox/hue/hue/desktop/core/ext-py/MySQL- 
python-1.2.3c1/setup_posix.py", line 43, in get_config 
    libs = mysql_config("libs_r") 
  File "/Users/kramachandran/Sandbox/hue/hue/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]: *** [/Users/kramachandran/Sandbox/hue/hue/desktop/core/build/ 
MySQL-python-1.2.3c1/egg.stamp] Error 1 
make[1]: *** [.recursive-env-install/core] Error 2 

I'm interpreting this to mean that MySQL or MySQL python is a pre-
req. However, I don't see any documentation to that effect.
Any information would be appreciated.
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

一袭白衣梦中忆 2024-12-29 19:23:04

Hue 在 README 上有构建它所需的软件包列表,

您将需要 MySql 开发软件包,例如 Ubuntu 的“libmysqlclient-dev”。

Hue has the list of required packages for building it on the README

You will need the MySql dev packages, e.g. 'libmysqlclient-dev' with Ubuntu.

听不够的曲调 2024-12-29 19:23:04

Hue 默认使用 SQLite,但可以配置为使用 MySql
请参阅安装文档

Hue uses SQLite by default but can be configured to use MySql
see the installation doc

上课铃就是安魂曲 2024-12-29 19:23:04

你需要 mysql_config 在你的 linux 发行版上执行以下操作,在 centos 上执行以下操作:
yum install mariadb-devel

for 7.x,对于其他版本,请使用 apt 和适当的软件包。
一旦完成,你应该没问题,它将继续构建。

you need mysql_config do the following on your linux distribution, on centos the following will do:
yum install mariadb-devel

for 7.x, for others use apt with proper package.
once this is done you should be ok and it will continue building.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文