因此,安装Ruby Enterprise Edition非常顺利(除了系统的一个非常奇怪的怪癖,我不得不apt-get install build-essentials
,因为没有GCC ...) ),但未能正确安装任何数据库宝石。我主要想使用MySQL。这里的红宝石EE的./installer的mysql的宝石在安装过程中的输出:Ruby EE ./installer在mysql gem安装上失败
Installing mysql... /opt/ruby-enterprise-1.8.6-20090610/bin/ruby /opt/ruby-enterprise-1.8.6-20090610/bin/gem install -r --no-rdoc --no-ri --no-update-sources --backtrace mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /opt/ruby-enterprise-1.8.6-20090610/bin/ruby extconf.rb checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lnsl... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lmygcc... no checking for mysql_query() in -lmysqlclient... no *** extconf.rb failed ***
显然,我的服务器的MySQL安装没有附带源,所以我不能只是重新编译,希望它的工作...我尝试下载并编译该版本,但我不知道该从哪里做什么。有任何想法吗? MySQL已经在这台服务器上运行了不少的数据库,所以我宁愿不惹恼已经存在的东西......
实际上它是32位。我确实运行了'locate'来寻找它,我不认为它出现了,这就是为什么我转向'aptitude'的原因。 感谢您的帮助! – Twisol 2009-09-01 03:40:47