--00151758f83c3e54ae04b9a1d65a
Content-Type: text/plain; charset=ISO-8859-1

Hello Team,

I am trying to install *mechanize* but it is failing. Any help will be
appreciated.
Here are the details:

*OS*: Red Hat Enterprise Linux Workstation release 6.2 (Santiago)
*Ruby*:
ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

It complains that that library:* libxslt is missing.* However, the library
IS installed:
#* rpm -qa | grep -i libxslt*
libxslt-python-1.1.26-2.el6.x86_64
libxslt-1.1.26-2.el6.x86_64

Also, if I try to install it it states that it is already installed:

*yum install libxslt*
Setting up Install Process
Package libxslt-1.1.26-2.el6.x86_64 already installed and latest version
Nothing to do

Now the errors from gem:

# *gem install mechanize*
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
Building native extensions.  This could take a while...
ERROR:  Error installing mechanize:
    ERROR: Failed to build gem native extension.

        /usr/local/bin/ruby extconf.rb
extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config.
checking for libxml/parser.h... yes
checking for libxslt/xslt.h... no
-----
libxslt 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.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-includeopt-dir}/include
    --with-opt-lib
    --without-opt-libopt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir    --curdir
    --rubysr/local/bin/ruby
    --with-zlib-dir
    --without-zlib-dir
    --with-zlib-include
    --without-zlib-includezlib-dir}/include
    --with-zlib-lib
    --without-zlib-libzlib-dir}/lib
    --with-iconv-dir
    --without-iconv-dir
    --with-iconv-include
    --without-iconv-includeiconv-dir}/include
    --with-iconv-lib
    --without-iconv-libiconv-dir}/lib
    --with-xml2-dir
    --without-xml2-dir
    --with-xml2-include
    --without-xml2-includexml2-dir}/include
    --with-xml2-lib
    --without-xml2-libxml2-dir}/lib
    --with-xslt-dir
    --without-xslt-dir
    --with-xslt-include
    --without-xslt-includexslt-dir}/include
    --with-xslt-lib
    --without-xslt-libxslt-dir}/lib


Gem files will remain installed in
/usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out

When I try to install *psych *or *yaml* I get the same errors listed above.

Thank you
-- 
Ruby Student

--00151758f83c3e54ae04b9a1d65a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello Team,<br><br>I am trying to install <b>mechanize</b> but it is failing. Any help will be appreciated.<br>Here are the details:<br><br><b>OS</b>:ed Hat Enterprise Linux Workstation release 6.2 (Santiago)<br><b>Ruby</b>: <br>
ruby -v<br>ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]<br><br>It complains that that library:<b> libxslt is missing.</b> However, the library IS installed:<br>#<b> rpm -qa | grep -i libxslt</b><br>libxslt-python-1.1.26-2.el6.x86_64<br>
libxslt-1.1.26-2.el6.x86_64<br><br>Also, if I try to install it it states that it is already installed:<br><br><b>yum install libxslt</b><br>Setting up Install Process<br>Package libxslt-1.1.26-2.el6.x86_64 already installed and latest version<br>
Nothing to do<br><br>Now the errors from gem:<br><br clear="all"># <b>gemnstall mechanize</b><br>/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `&lt;top (required)&gt;&#39;:<br>It seems your ruby installation is missing psych (for YAML output).<br>
To eliminate this warning, please install libyaml and reinstall your ruby.<br>Building native extensions.This could take a while...<br>ERROR:Error installing mechanize:<br>  ERROR: Failed to build gem native extension.<br>
<br>      /usr/local/bin/ruby extconf.rb<br>extconf.rb:10: Use RbConfig instead of obsolete and deprecated Config.<br>checking for libxml/parser.h... yes<br>checking for libxslt/xslt.h... no<br>-----<br>libxslt is missing.please visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.<br>
-----<br>*** extconf.rb failed ***<br>Could not create Makefile due to someeason, probably lack of<br>necessary libraries and/or headers.Check the mkmf.log file for more<br>details.You may need configuration options.<br>
<br>Provided configuration options:<br>  --with-opt-dir<br>  --without-opt-dir<br>  --with-opt-include<br>  --without-opt-include=${opt-dir}/include<br>  --with-opt-lib<br>  without-opt-lib=${opt-dir}/lib<br>
  --with-make-prog<br>  --without-make-prog<br>  --srcdir=.<br>  --curdir<br>  --ruby=/usr/local/bin/ruby<br>  --with-zlib-dir<br>  --without-zlib-dir<br>  --with-zlib-include<br>  --without-zlib-include=${zlib-dir}/include<br>
  --with-zlib-lib<br>  --without-zlib-lib=${zlib-dir}/lib<br>  --with-iconv-dir<br>  --without-iconv-dir<br>  --with-iconv-include<br>  --without-iconv-include=${iconv-dir}/include<br>  --with-iconv-lib<br>  --without-iconv-lib=${iconv-dir}/lib<br>
  --with-xml2-dir<br>  --without-xml2-dir<br>  --with-xml2-include<br>  --without-xml2-include=${xml2-dir}/include<br>  --with-xml2-lib<br>  --without-xml2-lib=${xml2-dir}/lib<br>  --with-xslt-dir<br>  --without-xslt-dir<br>
  --with-xslt-include<br>  --without-xslt-include=${xslt-dir}/include<br>  --with-xslt-lib<br>  --without-xslt-lib=${xslt-dir}/lib<br><br><br>Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0 for inspection.<br>
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/nokogiri-1.5.0/ext/nokogiri/gem_make.out<br><br>When I try to install <b>psych </b>or <b>yaml</b> I get the same errors listed above.<br><br>Thank you<br>-- <br>Ruby Student<br>


--00151758f83c3e54ae04b9a1d65a--