因此,安裝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