2012-06-05 113 views
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但也给了错误。 任何人都可以帮我调试这个问题吗?

在此先感谢.....

回答

相关问题