Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Gosu Exchange / Error installing lib gosu
- - By Andrek Date 2016-01-24 03:27
Hi everybody! i'm using Linux Mint and i'm a noob user, i dont speak english and sorry for my bad english

I had this error:
~$ sudo gem install gosu
Building native extensions.  This could take a while...
ERROR:  Error installing gosu:
  ERROR: Failed to build gem native extension.

        /usr/bin/ruby1.9.1 extconf.rb
The Gosu gem requires some libraries to be installed system-wide.
See the following site for a list:
/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
  from extconf.rb:62:in `<main>'

Gem files will remain installed in /var/lib/gems/1.9.1/gems/gosu-0.10.5 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/gosu-0.10.5/ext/gosu/gem_make.out

then i used: sudo apt-get install build-essential libsdl2-dev libsdl2-ttf-dev libpango1.0-dev \libgl1-mesa-dev libfreeimage-dev libopenal-dev libsndfile-dev

but still i have the problem, please help me.
Parent - - By jlnr (dev) Date 2016-01-24 13:34
Usually there are two Ruby packages on Debian-ish distributions, ruby and ruby-dev. You need ruby-dev for the mkmf library.

If the Ubuntu instructions on this Wiki page work for you, please add "last tested on Linux Mint x.y.z" to the section header, thanks!
Parent - - By Andrek Date 2016-01-24 15:42
Thanks bro!!! it's work hahahaha, sorry for no see that :S, how i can add to the section header? my version is Linux Mint 17.3 32bits, Ruby 1.9.3p484 (2013-11-22 revision 43786) [i686-linux] and Gem 1.8.23
Parent - - By jlnr (dev) Date 2016-01-24 16:16
np! I've added the version number to the header.
Parent - - By Andrek Date 2016-01-24 16:18
Nice! thanks again!!! where i can see the headers, can you give me a link please?
Parent - - By jlnr (dev) Date 2016-01-24 16:40
Sorry, I think I meant 'heading', not 'header' - the bold part that says

> Ubuntu (last tested on Trusty Tahr (14.10.1), with Gosu 0.8.6) / Linux Mint (last tested on Linux Mint 17.3)

now. Anyone who's logged into GitHub can edit the wiki. Almost everything on this page was contributed by Linux users who found this page and added to it.
Parent - By Andrek Date 2016-01-24 16:52
Ah ok, anyway i did not know the diference between both but: the bold part that says, help me, ty!
Up Topic Gosu / Gosu Exchange / Error installing lib gosu

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill