I tried to install the
gosu Ryby gem with
$ sudo gem install gosu Building native extensions. This could take a while... ERROR: Error installing gosu: ERROR: Failed to build gem native extension. current directory: /var/lib/gems/2.5.0/gems/gosu-0.13.3/ext/gosu /usr/bin/ruby2.5 -r ./siteconf20180610-10446-laumk5.rb extconf.rb The Gosu gem requires some libraries to be installed system-wide. See the following site for a list: https://github.com/gosu/gosu/wiki/Getting-Started-on-Linux checking for TTF_RenderUTF8_Blended() in -lSDL2_ttf... yes checking for SDL_ttf.h... yes checking for -lopenal... no creating Makefile current directory: /var/lib/gems/2.5.0/gems/gosu-0.13.3/ext/gosu make "DESTDIR=" clean current directory: /var/lib/gems/2.5.0/gems/gosu-0.13.3/ext/gosu make "DESTDIR=" compiling ../../src/Audio.cpp In file included from ../../src/Audio.cpp:1:0: ../../src/AudioImpl.hpp:9:10: fatal error: AL/al.h: No such file or directory #include <AL/al.h> ^~~~~~~~~ compilation terminated. Makefile:234: recipe for target 'Audio.o' failed make: *** [Audio.o] Error 1 make failed, exit code 2 Gem files will remain installed in /var/lib/gems/2.5.0/gems/gosu-0.13.3 for inspection. Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/gosu- 0.13.3/gem_make.out shane@shane-HP-x2-Detachable-10-p0XX:~$ sudo apt-get install -lopenal E: Command line option 'l' [from -lopenal] is not understood in combination with the other options.
I notice that the problem is with -lopenal, but how do I install or get this so it will download properly
EDIT: -lopenal now has a yes thanks to N0rbert. But now I see it says "fatal error" a bit down the screen, so how do I fix this?