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
你有什么想法。
答案 0 :(得分:0)
为什么你使用fedora 11现在他们还有更新安装fedora 13
yum install mysql
如果你想构建manualy mysql,你需要安装ruby-devel
yum install ruby-devel