Bundle Installing nokogiri - ruby 2.0.0 gives error

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.

/home/evvolutions/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb

Extracting libxml2-2.8.0.tar.gz into
tmp/x86_64-linux-gnu/ports/libxml2/2.8.0… OK
Running ‘configure’ for libxml2 2.8.0… OK
Running ‘compile’ for libxml2 2.8.0… ERROR, review
‘tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log’ to see what
happened.
*** 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=/home/evvolutions/.rvm/rubies/ruby-2.0.0-p353/bin/ruby
/home/evvolutions/.rvm/gems/ruby-2.0.0-p353/gems/mini_portile-0.5.2/lib/mini_portile.rb:265:in
block in execute': Failed to complete compile task (RuntimeError) from /home/evvolutions/.rvm/gems/ruby-2.0.0-p353/gems/mini_portile-0.5.2/lib/mini_portile.rb:257:inchdir’
from
/home/evvolutions/.rvm/gems/ruby-2.0.0-p353/gems/mini_portile-0.5.2/lib/mini_portile.rb:257:in
execute' from /home/evvolutions/.rvm/gems/ruby-2.0.0-p353/gems/mini_portile-0.5.2/lib/mini_portile.rb:69:incompile’
from
/home/evvolutions/.rvm/gems/ruby-2.0.0-p353/gems/mini_portile-0.5.2/lib/mini_portile.rb:109:in
cook' from extconf.rb:101:inblock in ’
from extconf.rb:119:in call' from extconf.rb:119:inblock in ’
from extconf.rb:109:in tap' from extconf.rb:109:in

Gem files will remain installed in
/home/evvolutions/.rvm/gems/ruby-2.0.0-p353/gems/nokogiri-1.6.1 for
inspection.
Results logged to
/home/evvolutions/.rvm/gems/ruby-2.0.0-p353/gems/nokogiri-1.6.1/ext/nokogiri/gem_make.out

An error occurred while installing nokogiri (1.6.1), and Bundler cannot
continue.
Make sure that gem install nokogiri -v '1.6.1' succeeds before
bundling.

This is the error i found, I tried with the below’s by no use.

gem install nokogiri -v ‘1.6.1’

And also I installed the dependencies too,

Can anyone give the suggestion, thank I advance.

Best Regards,

Gopinath M

On 6 January 2014 06:54, M,Gopi M.gopinath [email protected] wrote:

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.

/home/evvolutions/.rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb

Extracting libxml2-2.8.0.tar.gz into
tmp/x86_64-linux-gnu/ports/libxml2/2.8.0… OK
Running ‘configure’ for libxml2 2.8.0… OK
Running ‘compile’ for libxml2 2.8.0… ERROR, review
‘tmp/x86_64-linux-gnu/ports/libxml2/2.8.0/compile.log’ to see what happened.

Did you look there for any error messages?

*** 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

And there?

Colin

Yes , I found the below error

*** 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

Best Regards,

Gopinath M

Ruby on Rails Developer

Contact : +91-9994652146

Skype Id : gopinath.murugan

Email : [email protected]

On Monday, January 6, 2014 9:30:51 AM UTC, M,Gopi M.gopinath wrote:

Yes , I found the below error

*** 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

So what’s in mkmf.log?

Fred

When I’ve had this problem, it’s been fixed by installing the relevant
dev
libraries - libxml2-dev and libxslt-dev. How you do that depends on OS,
etc. On Ubuntu, just sudo apt-get install them.

On 6 January 2014 09:30, M,Gopi M.gopinath [email protected] wrote:

Please don’t top post, it makes it difficult to follow the thread.
Insert your reply at appropriate points in previous message. Thanks

Yes , I found the below error

*** 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

And in mkmf.log?

Also which operating system are you using?

Colin

Hi,

   Thanks for ur reply, I have installed the dependencies but still 

i
have the same issue

Best Regards,

Gopinath

On 6 January 2014 10:13, M,Gopi M.gopinath [email protected] wrote:

Hi,

   Thanks for ur reply, I have installed the dependencies but still i

have the same issue

You are still top posting and have still not told us if there is
anything in mkmf.log.

Sometimes getting information is like getting the proverbial blood out
of a stone.

Also is the error message /exactly/ the same after installing the
additional dependencies?

Colin