Skip to content

Instantly share code, notes, and snippets.

@tombentley
Created March 8, 2016 15:43
Show Gist options
  • Save tombentley/b0c7d501a455d52d7ea4 to your computer and use it in GitHub Desktop.
Save tombentley/b0c7d501a455d52d7ea4 to your computer and use it in GitHub Desktop.
15:40 tom@localhost ~/.../ceylon-lang.org 1.2.2
$ rake setup
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Using asciidoctor 1.5.1
Using sass 3.2.19
Using colorize 0.7.3
Using chunky_png 1.3.3
Using fssm 0.2.10
Using git 1.2.8
Installing eventmachine 1.0.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20160308-29280-1lxgfbv.rb extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib64
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-openssl-config
--without-openssl-config
--with-pkg-config
--without-pkg-config
/usr/share/ruby/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/share/ruby/mkmf.rb:541:in `try_link0'
from /usr/share/ruby/mkmf.rb:556:in `try_link'
from /usr/share/ruby/mkmf.rb:637:in `try_ldflags'
from /usr/share/ruby/mkmf.rb:1780:in `pkg_config'
from extconf.rb:61:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /home/tom/ceylon/ceylon-lang.org/.bundle/ruby/gems/eventmachine-1.0.3 for inspection.
Results logged to /home/tom/ceylon/ceylon-lang.org/.bundle/ruby/extensions/x86_64-linux/eventmachine-1.0.3/gem_make.out
Installing http_parser.rb 0.6.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20160308-29280-bq6sa9.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
rm -f
rm -f ruby_http_parser.so *.o *.bak mkmf.log .*.time
make "DESTDIR="
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -mtune=generic -fPIC -I/home/tom/ceylon/ceylon-lang.org/.bundle/ruby/gems/http_parser.rb-0.6.0/ext/ruby_http_parser -m64 -o ryah_http_parser.o -c ryah_http_parser.c
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
Makefile:238: recipe for target 'ryah_http_parser.o' failed
make: *** [ryah_http_parser.o] Error 1
make failed, exit code 2
Gem files will remain installed in /home/tom/ceylon/ceylon-lang.org/.bundle/ruby/gems/http_parser.rb-0.6.0 for inspection.
Results logged to /home/tom/ceylon/ceylon-lang.org/.bundle/ruby/extensions/x86_64-linux/http_parser.rb-0.6.0/gem_make.out
Using formatador 0.2.5
Installing hitimes 1.2.2 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20160308-29280-nry6py.rb extconf.rb
checking for clock_gettime() in -lrt... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib64
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-rtlib
--without-rtlib
/usr/share/ruby/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/share/ruby/mkmf.rb:541:in `try_link0'
from /usr/share/ruby/mkmf.rb:556:in `try_link'
from /usr/share/ruby/mkmf.rb:735:in `try_func'
from /usr/share/ruby/mkmf.rb:966:in `block in have_library'
from /usr/share/ruby/mkmf.rb:911:in `block in checking_for'
from /usr/share/ruby/mkmf.rb:351:in `block (2 levels) in postpone'
from /usr/share/ruby/mkmf.rb:321:in `open'
from /usr/share/ruby/mkmf.rb:351:in `block in postpone'
from /usr/share/ruby/mkmf.rb:321:in `open'
from /usr/share/ruby/mkmf.rb:347:in `postpone'
from /usr/share/ruby/mkmf.rb:910:in `checking_for'
from /usr/share/ruby/mkmf.rb:961:in `have_library'
from extconf.rb:10:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /home/tom/ceylon/ceylon-lang.org/.bundle/ruby/gems/hitimes-1.2.2 for inspection.
Results logged to /home/tom/ceylon/ceylon-lang.org/.bundle/ruby/extensions/x86_64-linux/hitimes-1.2.2/gem_make.out
Using rb-fsevent 0.9.3
Installing ffi 1.9.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby -r ./siteconf20160308-29280-xsvhsx.rb extconf.rb
checking for ffi.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib64
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--with-ffi_c-dir
--without-ffi_c-dir
--with-ffi_c-include
--without-ffi_c-include=${ffi_c-dir}/include
--with-ffi_c-lib
--without-ffi_c-lib=${ffi_c-dir}/lib64
--with-libffi-config
--without-libffi-config
--with-pkg-config
--without-pkg-config
/usr/share/ruby/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/share/ruby/mkmf.rb:587:in `try_cpp'
from /usr/share/ruby/mkmf.rb:1060:in `block in have_header'
from /usr/share/ruby/mkmf.rb:911:in `block in checking_for'
from /usr/share/ruby/mkmf.rb:351:in `block (2 levels) in postpone'
from /usr/share/ruby/mkmf.rb:321:in `open'
from /usr/share/ruby/mkmf.rb:351:in `block in postpone'
from /usr/share/ruby/mkmf.rb:321:in `open'
from /usr/share/ruby/mkmf.rb:347:in `postpone'
from /usr/share/ruby/mkmf.rb:910:in `checking_for'
from /usr/share/ruby/mkmf.rb:1059:in `have_header'
from extconf.rb:16:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /home/tom/ceylon/ceylon-lang.org/.bundle/ruby/gems/ffi-1.9.0 for inspection.
Results logged to /home/tom/ceylon/ceylon-lang.org/.bundle/ruby/extensions/x86_64-linux/ffi-1.9.0/gem_make.out
Using lumberjack 1.0.9
Using coderay 1.1.0
Using method_source 0.8.2
Using slop 3.6.0
Using thor 0.19.1
^Crake aborted!
Interrupt:
/home/tom/ceylon/ceylon-lang.org/Rakefile:46:in `system'
/home/tom/ceylon/ceylon-lang.org/Rakefile:46:in `block in <top (required)>'
Tasks: TOP => setup
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment