Created
October 18, 2021 21:02
-
-
Save AJFaraday/0d1b71f12a27a89bc67760f7771c83cc to your computer and use it in GitHub Desktop.
Error installing gosu gem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
biorails@biorails-dev4:~/work/slow_time_strategy$ gem install gosu -v '1.2.0' --source 'https://rubygems.org/' | |
Building native extensions. This could take a while... | |
ERROR: Error installing gosu: | |
ERROR: Failed to build gem native extension. | |
current directory: /home/biorails/.rvm/gems/ruby-2.5.8/gems/gosu-1.2.0/ext/gosu | |
/home/biorails/.rvm/rubies/ruby-2.5.8/bin/ruby -I /home/biorails/.rvm/rubies/ruby-2.5.8/lib/ruby/site_ruby/2.5.0 -r ./siteconf20211018-31439-1f4179y.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 -lopenal... no | |
creating Makefile | |
current directory: /home/biorails/.rvm/gems/ruby-2.5.8/gems/gosu-1.2.0/ext/gosu | |
make "DESTDIR=" clean | |
current directory: /home/biorails/.rvm/gems/ruby-2.5.8/gems/gosu-1.2.0/ext/gosu | |
make "DESTDIR=" | |
compiling ../../src/Audio.cpp | |
cc1plus: warning: command line option ‘-Wimplicit-int’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ | |
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ | |
In file included from ../../src/Audio.cpp:1: | |
../../src/AudioImpl.hpp:12:10: fatal error: AL/al.h: No such file or directory | |
12 | #include <AL/al.h> | |
| ^~~~~~~~~ | |
compilation terminated. | |
make: *** [Makefile:235: Audio.o] Error 1 | |
make failed, exit code 2 | |
Gem files will remain installed in /home/biorails/.rvm/gems/ruby-2.5.8/gems/gosu-1.2.0 for inspection. | |
Results logged to /home/biorails/.rvm/gems/ruby-2.5.8/extensions/x86_64-linux/2.5.0/gosu-1.2.0/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment