FS#27663 - [ruby 1.9.3_p0-2] bson_ext gem fails to compile
Attached to Project:
Community Packages
Opened by Trevor Wennblom (trevor) - Wednesday, 21 December 2011, 21:20 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 22 December 2011, 08:26 GMT
Opened by Trevor Wennblom (trevor) - Wednesday, 21 December 2011, 21:20 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 22 December 2011, 08:26 GMT
|
Details
% gem install bson_ext
Fetching: bson_ext-1.5.2.gem (100%) [6/168] Building native extensions. This could take a while... ERROR: Error installing bson_ext: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb checking for asprintf()... *** 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}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby /usr/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError) You have to install development tools first. from /usr/lib/ruby/1.9.1/mkmf.rb:461:in `try_link0' from /usr/lib/ruby/1.9.1/mkmf.rb:476:in `try_link' from /usr/lib/ruby/1.9.1/mkmf.rb:619:in `try_func' from /usr/lib/ruby/1.9.1/mkmf.rb:894:in `block in have_func' from /usr/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for' from /usr/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone' from /usr/lib/ruby/1.9.1/mkmf.rb:254:in `open' from /usr/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone' from /usr/lib/ruby/1.9.1/mkmf.rb:254:in `open' from /usr/lib/ruby/1.9.1/mkmf.rb:280:in `postpone' from /usr/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for' from /usr/lib/ruby/1.9.1/mkmf.rb:893:in `have_func' from extconf.rb:3:in `<main>' Gem files will remain installed in /usr/lib/ruby/gems/1.9.1/gems/bson_ext-1.5.2 for inspection. Results logged to /usr/lib/ruby/gems/1.9.1/gems/bson_ext-1.5.2/ext/cbson/gem_make.out % pacman -Q ack 1.96-1 acl 2.2.51-1 attr 2.4.46-1 bash 4.2.020-1 binutils 2.22-2 boost-libs 1.48.0-2 bzip2 1.0.6-3 ca-certificates 20111211-1 ca-certificates-java 20110912-1 coreutils 8.14-1 cracklib 2.8.18-2 cronie 1.4.8-1 cryptsetup 1.4.0-2 db 5.2.36-2 dbus-core 1.4.16-1 device-mapper 2.02.88-1 dhcpcd 5.2.12-4 diffutils 3.2-1 dnsutils 9.8.1-2 e2fsprogs 1.41.14-2 eventlog 0.2.12-3 expat 2.0.1-7 file 5.09-1 filesystem 2011.12-2 findutils 4.4.2-4 freetype2 2.4.8-1 gawk 4.0.0-2 gcc-libs 4.6.2-3 gdbm 1.10-1 gettext 0.18.1.1-4 glib2 2.30.2-1 glibc 2.14.1-4 gmp 5.0.2-3 gpm 1.20.6-7 grep 2.10-1 groff 1.21-2 gzip 1.4-4 heirloom-mailx 12.5-3 hicolor-icon-theme 0.12-1 iana-etc 2.30-2 icu 4.8.1.1-1 idnkit 1.0-2 inetutils 1.8-6 initscripts 2011.12.1-1 inputproto 2.0.2-1 iproute2 2.6.39-2 iptables 1.4.12.1-2 iputils 20101006-2 jfsutils 1.1.15-3 kbd 1.15.3-2 kbproto 1.0.5-1 keyutils 1.5.5-1 krb5 1.9.2-2 less 444-2 libarchive 2.8.5-2 libcap 2.22-2 libedit 20110802_3.0-1 libevent 2.0.16-1 libfetch 2.33-3 libffi 3.0.10-1 libgcrypt 1.5.0-1 libgpg-error 1.10-1 libgssglue 0.3-1 libice 1.0.7-1 libidn 1.22-1 libjpeg-turbo 1.1.1-4 libldap 2.4.28-1 libmysqlclient 5.5.19-1 libnl 1.1-3 libpcap 1.1.1-4 libpipeline 1.2.0-2 libpng 1.4.8-1 libsasl 2.1.23-8 libsm 1.2.0-1 libtirpc 0.2.2-2 libusb 1.0.8-2 libusb-compat 0.1.3-2 libx11 1.4.4-1 libxau 1.0.6-1 libxcb 1.7-2 libxdmcp 1.1.0-1 libxext 1.3.0-1 libxi 1.4.4-1 libxmu 1.1.0-1 libxrender 0.9.6-1 libxt 1.1.1-1 libxtst 1.2.0-1 libyaml 0.1.4-1 licenses 2.9-1 linux-api-headers 3.1.4-1 linux-firmware 20111101-1 logrotate 3.8.1-1 lvm2 2.02.88-1 man-db 2.6.0.2-3 man-pages 3.35-1 maven 3.0.3-2 mdadm 3.2.2-4 mkinitcpio 0.8.0-3 mkinitcpio-busybox 1.19.2-1 module-init-tools 3.16-3 mongodb 2.0.2-1 mtr 0.82-1 mysql 5.5.19-1 mysql-clients 5.5.19-1 nano 2.2.6-2 ncurses 5.9-2 netcfg 2.6.8-1 net-tools 1.60.20110819cvs-3 nspr 4.8.9-2 nss 3.13.1-1 ntp 4.2.6.p4-2 openjdk6 6.b22_1.10.4-1 openssh 5.9p1-5 openssl 1.0.0.e-1 pacman 3.5.4-4 pacman-mirrorlist 20111026-1 pam 1.1.5-1 pciutils 3.1.8-1 pcmciautils 018-1 pcre 8.21-1 perl 5.14.2-4 perl-file-next 1.06-1 popt 1.16-4 ppp 2.4.5-3 procps 3.2.8-4 psmisc 22.14-1 readline 6.2.002-1 recordproto 1.14.1-1 reiserfsprogs 3.6.21-4 renderproto 0.11.1-1 ruby 1.9.3_p0-2 run-parts 4.0.4-1 screen 4.0.3-12 sed 4.2.1-4 shadow 4.1.4.3-5 sqlite3 3.7.9-1 sudo 1.8.3.p1-1 sysfsutils 2.1.0-7 syslog-ng 3.3.3-1 sysvinit 2.88-3 tar 1.26-2 texinfo 4.13a-7 tmux 1.5-1 tzdata 2011n-1 udev 175-1 unzip 6.0-5 usbutils 004-1 util-linux 2.20.1-1 vim 7.3.353-2 vim-runtime 7.3.353-2 wget 1.13.4-1 which 2.20-5 whois 5.0.13-1 wpa_supplicant 0.7.3-4 xcb-proto 1.6-2 xdg-utils 1.1.0rc1-3 xextproto 7.2.0-1 xfsprogs 3.1.7-1 xorg-xset 1.2.2-1 xproto 7.0.22-1 xz 5.0.3-1 zlib 1.2.5-4 zsh 4.3.15-1 |
This task depends upon
Closed by Jelle van der Waa (jelly)
Thursday, 22 December 2011, 08:26 GMT
Reason for closing: Fixed
Additional comments about closing: User didn't have make installed
Thursday, 22 December 2011, 08:26 GMT
Reason for closing: Fixed
Additional comments about closing: User didn't have make installed
Fetching: bson-1.5.2.gem (100%)
Fetching: bson_ext-1.5.2.gem (100%)
Building native extensions. This could take a while...
Successfully installed bson-1.5.2
Successfully installed bson_ext-1.5.2
2 gems installed
Installing ri documentation for bson-1.5.2...
Installing ri documentation for bson_ext-1.5.2...
Installing RDoc documentation for bson-1.5.2...
Installing RDoc documentation for bson_ext-1.5.2...
newish to Arch, is there a good convention to add a caveat to the ruby package?