Skip to content

Instantly share code, notes, and snippets.

@sdwrage
Created May 17, 2011 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdwrage/975792 to your computer and use it in GitHub Desktop.
Save sdwrage/975792 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing gosu:
ERROR: Failed to build gem native extension.
/home/sdwrage/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
The Gosu gem requires some libraries to be installed system-wide.
See the following site for a list:
http://code.google.com/p/gosu/wiki/GettingStartedOnLinux
checking for Mix_OpenAudio() in -lSDL_mixer... no
checking for TTF_RenderUTF8_Blended() in -lSDL_ttf... no
checking for glMatrixMode() in -lGL... no
checking for FreeImage_ConvertFromRawBits() in -lfreeimage... yes
checking for FreeImage.h... yes
creating Makefile
make
g++ -I. -I/home/sdwrage/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-linux -I/home/sdwrage/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/sdwrage/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -I../ -I../GosuImpl `sdl-config --cflags` `pkg-config pangoft2 --cflags` -DHAVE_FREEIMAGE_H -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -o RubyGosu_wrap.o -c RubyGosu_wrap.cxx
/bin/sh: sdl-config: not found
In file included from ../Gosu/Audio.hpp:14:0,
from RubyGosu_wrap.cxx:2227:
../Gosu/IO.hpp:7:29: fatal error: boost/utility.hpp: No such file or directory
compilation terminated.
make: *** [RubyGosu_wrap.o] Error 1
Gem files will remain installed in /home/sdwrage/.rvm/gems/ruby-1.9.2-p180/gems/gosu-0.7.31 for inspection.
Results logged to /home/sdwrage/.rvm/gems/ruby-1.9.2-p180/gems/gosu-0.7.31/linux/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment