Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

my env:

play@ubuntu:~$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.24
  - RUBY VERSION: 1.9.3 (2012-11-10 patchlevel 327) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/play/.rvm/gems/ruby-1.9.3-p327-dev
  - RUBY EXECUTABLE: /home/play/.rvm/rubies/ruby-1.9.3-p327-dev/bin/ruby
  - EXECUTABLE DIRECTORY: /home/play/.rvm/gems/ruby-1.9.3-p327-dev/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/play/.rvm/gems/ruby-1.9.3-p327-dev
     - /home/play/.rvm/gems/ruby-1.9.3-p327-dev@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

when trying to install libnotify:

play@ubuntu:~$ sudo gem install ruby-libnotify
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-libnotify:
    ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/vendor_ruby/mkmf-gnome2.rb:13:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from extconf.rb:11:in `<main>'


Gem files will remain installed in /var/lib/gems/1.9.1/gems/ruby-libnotify-0.5.1 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/ruby-libnotify-0.5.1/ext/gem_make.out
share|improve this question
    
I already tried doing this link'proposed solution' –  yepUknow Dec 24 '12 at 17:50
    
Your qustion might be better suited at StackOverflow. –  qbi Dec 24 '12 at 20:07

1 Answer 1

See this thread on Github, below Edit header. It seems to have the answer you are searching for.

share|improve this answer
    
This link is broken. –  ændrük Apr 13 '13 at 1:43
    
Well, blame leander256, not me. Anyway, I found a fork in github.com/denysonique/ruby-libappindicator, better ask to him how to resolve this issue. –  João Santana Apr 27 '13 at 22:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.