在我的 Fedora11 机器上安装 mysql 时出现问题
当我在 fedora11 机器上安装 mysql 时遇到问题 这是错误的面孔,
gem install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
can't find header files for ruby.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.8.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out
你有什么想法吗?
i got problem when i install mysql on my fedora11 machine
This was the error face
gem install mysql
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
can't find header files for ruby.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.8.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out
Have you any idea.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么你现在使用 fedora 11 他们有更多更新 安装 fedora 13
yum install mysql
如果你想手动构建 mysql 你需要安装 ruby-devel
yum install ruby-devel
why you use fedora 11 now they are any more updates install fedora 13
yum install mysql
if you want build manualy mysql you need install ruby-devel
yum install ruby-devel