Hello together,
i was trying to install GOSU today, to make my first steps.
Sadly the installation will stop on a certain point without a reason that i can handle.
here“s what i did:
sudo yum groupinstall --assumeyes "Development Tools" #everything works fine!
sudo yum install --assumeyes freeglut-devel freeimage-devel mesa-libGL-devel openal-devel pango-devel SDL_ttf-devel libsndfile-devel libXinerama-devel libvorbis-devel #also fine!
ruby, ruby-devel and gems are already installed @ version 2.0.0p353
then: sudo gem install gosu #brings me to:
Building native extensions. This could take a while...
ERROR: Error installing gosu:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
The Gosu gem requires some libraries to be installed system-wide.
See the following site for a list:
https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linuxchecking for TTF_RenderUTF8_Blended() in -lSDL_ttf... yes
checking for SDL_ttf.h... yes
checking for FreeImage_ConvertFromRawBits() in -lfreeimage... yes
checking for FreeImage.h... yes
checking for main() in -lopenal... yes
checking for AL/al.h... yes
creating Makefile
make "DESTDIR="
g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -I../ -I../GosuImpl -DHAVE_SDL_TTF_H -DHAVE_FREEIMAGE_H -DHAVE_AL_AL_H -D_FILE_OFFSET_BITS=64 -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -DGOSU_DEPRECATED= -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -pthread -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/AL -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=i686 -mtune=atom -fasynchronous-unwind-tables -m32 -o RubyGosu_wrap.o -c RubyGosu_wrap.cxx
make: g++: Kommando nicht gefunden
make: *** [RubyGosu_wrap.o] Fehler 127
Gem files will remain installed in /usr/local/share/gems/gems/gosu-0.7.50 for inspection.
Results logged to /usr/local/share/gems/gems/gosu-0.7.50/linux/gem_make.out
what shall i do?