我正在使用 web 服务从 ruby on rails 应用程序与 ERP 通信,使用Savon
. 我能够在我本地的 Fedora 机器上安装 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
,但这也给出了错误。谁能帮我调试这个问题?
提前致谢.....