0
我正在使用web服務從使用Savon
的ruby on rails應用程序與ERP進行通信。 我能夠在我的本地fedora機器上安裝Savon gem。但是我無法將它安裝在生產服務器上。 它提供了以下錯誤: -在紅帽企業服務器上安裝Savon gem的問題
ERROR: Error installing savon:
ERROR: Failed to build gem native extension.
/opt/ruby-enterprise-1.8.7-2010.02/bin/ruby extconf.rb
checking for libxml/parser.h... no
-----
libxml2 is missing. please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
試圖重新安裝libxml2
但也給了錯誤。 任何人都可以幫我調試這個問題嗎?
在此先感謝.....