首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在Gentoo上安装MySQL客户端库

无法在Gentoo上安装MySQL客户端库
EN

Unix & Linux用户
提问于 2015-08-12 07:47:17
回答 1查看 341关注 0票数 0

我是新来的。我正在尝试安装mysql2 gem。但它卡住了。我发现我需要MySQL客户端库。我试过:

代码语言:javascript
复制
emerge dev-db/mysql:minimal

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

 * IMPORTANT: config file '/etc/portage/package.keywords' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-db/mysql:minimal".

它不是在安装。我该怎么办?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2015-08-12 12:42:49

Gems通常不是通过移植安装的。要安装Ruby,请确保合并了rubygems,然后根据系统运行gem20 install <gem>gem21 install <gem>

编辑:由于emerge --search mysql-minimal不返回任何内容,所以您知道它不在移植树中,无法在出现时安装。运行gem search mysql2显示可以使用gem install mysql2安装库。

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/222693

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档