aadisriram / nodejs-linkedin-scraper

A simple linkedin profile scraper for nodejs
MIT License
14 stars 24 forks source link

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

Closed slucha closed 8 years ago

slucha commented 8 years ago

I get the following error when trying to install the gem through the command gem install linkedin-scraper -v 1.0.4, gem install linkedin-scraper or in my gemfile with gem 'linkedin-scraper' Seems like it has a problem on the dependency of unf_ext

`Installing unf_ext 0.0.7.2 with native extensions

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

/home/jan/.rbenv/versions/2.2.3/bin/ruby -r ./siteconf20160324-3908-iq7116.rb extconf.rb

checking for main() in -lstdc++... no creating Makefile

make "DESTDIR=" clean

make "DESTDIR=" compiling unf.cc make: g++: Command not found make: *\ [unf.o] Error 127

make failed, exit code 2

Gem files will remain installed in /home/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/unf_ext-0.0.7.2 for inspection. Results logged to /home/jan/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/extensions/x86-linux/2.2.0-static/unf_ext-0.0.7.2/gem_make.out An error occurred while installing unf_ext (0.0.7.2), and Bundler cannot continue. Make sure that gem install unf_ext -v '0.0.7.2' succeeds before bundling.`

Any idea what the pronlem could be? Thank you

slucha commented 8 years ago

Sorry wrong project