Failed to install smart-proxy from source on SuSE 11.2

Hello ,

I have searched the official document of the instruction for smart-proxy
installation and failed to work through.

The only document describe the process is at here
(Foreman :: Manual) , only git
clone the software and execute with "bin/smart-proxy.rb"

Node information for smart-proxy:

··· -------------------------------------------------------------- SUSE Linux Enterprise Server 11 (x86_64) SP2

ruby-1.9.3-p547

smart-proxy 1.5.4.

There is a Gemfile under the decompressed directory and i tried to run
"bundle install --path vendor" and failed as below:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-1.9.3-p547/bin/ruby -r 

./siteconf20141023-3806-16bnoz0.rb extconf.rb
*** 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.

Provided configuration options:
–with-opt-dir
–without-opt-dir
–with-opt-include
–without-opt-include=${opt-dir}/include
–with-opt-lib
–without-opt-lib=${opt-dir}/lib
–with-make-prog
–without-make-prog
–srcdir=.
–curdir
–ruby=/usr/local/rvm/rubies/ruby-1.9.3-p547/bin/ruby
–with-augeas-config
–without-augeas-config
–with-pkg-config
–without-pkg-config
–with-libxml-2.0-config
–without-libxml-2.0-config
extconf.rb:31:in `’: libxml2-devel not installed (RuntimeError)

extconf failed, exit code 1

Gem files will remain installed in
/usr/local/smart-proxy/vendor/ruby/1.9.1/gems/ruby-augeas-0.5.0 for
inspection.
Results logged to
/usr/local/smart-proxy/vendor/ruby/1.9.1/extensions/x86_64-linux/1.9.1/ruby-augeas-0.5.0/gem_make.out
An error occurred while installing ruby-augeas (0.5.0), and Bundler cannot
continue.
Make sure that gem install ruby-augeas -v '0.5.0' succeeds before
bundling.

I have already installed the below augeas packages.

augeas-0.9.0-3.9.29
augeas-devel-0.9.0-3.9.29
augeas-lenses-0.9.0-3.9.29
libaugeas0-0.9.0-3.9.29

Is the augeas "must be " install option for smart-proxy ? How can i skipped
it during bundle install?

Thanks,


Jack Chen