Failed to install smart-proxy from source on SuSE

Hello list,

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:

··· -------------------------------------------------------------- SLES 11 SP2

ruby-1.9.3-p547

smart-proxy 1.5 stable.

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

/usr/local/rvm/rubies/ruby-1.9.3-p547/bin/ruby extconf.rb
checking for krb5.h… yes
checking for main() in -lkrb5… yes
checking for kadm5/admin.h… no
*** 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-rkerberos-dir
–without-rkerberos-dir
–with-rkerberos-include
–without-rkerberos-include=${rkerberos-dir}/include
–with-rkerberos-lib
–without-rkerberos-lib=${rkerberos-dir}/lib
–with-krb5lib
–without-krb5lib
–with-com_err-config
–without-com_err-config
–with-pkg-config
–without-pkg-config
extconf.rb:15:in `’: kadm5clnt library not found (RuntimeError)

extconf failed, exit code 1

Gem files will remain installed in
/usr/local/src/smart-proxy-1.5-stable/vendor/ruby/1.9.1/gems/rkerberos-0.1.3
for inspection.

Results logged to
/usr/local/src/smart-proxy-1.5-stable/vendor/ruby/1.9.1/extensions/x86_64-linux/1.9.1/rkerberos-0.1.3/gem_make.out

An error occurred while installing rkerberos (0.1.3), and Bundler cannot
continue.

Make sure that gem install rkerberos -v '0.1.3' succeeds before
bundling.

I have already installed the below kerberos packages.

krb5-devel-1.6.3-133.48.48.1
krb5-client-1.6.3-133.48.48.1
krb5-apps-clients-1.6.3-133.48.48.1
krb5-apps-servers-1.6.3-133.48.48.1
krb5-32bit-1.6.3-133.48.48.1
krb5-1.6.3-133.48.48.1
pam_krb5-2.3.1-47.10.15

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

And the official document did not mention detailed on install the
smart-proxy from source . Is the "bundle install --path vendor’ the right
way?

Thanks,


jOe