fractaloop/libv8 — Issue #27: 3.3.10.2 installs on FreeBSD, but 3.3.10.4 does not
Author: courtland
Created: 2012-01-23 19:23:28+00:00
State: open

Something seems to have broken between the .2 point release and .4 that breaks installing the gem under FreeBSD.

FreeBSD ncr-vm.local 8.2-STABLE FreeBSD 8.2-STABLE #1: Fri May 6 19:11:52 UTC 2011 root@:/usr/obj/usr/src/sys/RGNETS amd64
ncr-vm# ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [amd64-freebsd8]
ncr-vm#

ncr-vm# gem install libv8 -v 3.3.10.2
Building native extensions. This could take a while...
Successfully installed libv8-3.3.10.2
1 gem installed
Installing ri documentation for libv8-3.3.10.2...
Installing RDoc documentation for libv8-3.3.10.2...
ncr-vm#

ncr-vm# gem install libv8 -v 3.3.10.4
Building native extensions. This could take a while...
ERROR: Error installing libv8:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby18 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}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby18
extconf.rb:13: uninitialized constant Gem (NameError)
Checking for Python...

Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/libv8-3.3.10.4 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/libv8-3.3.10.4/ext/libv8/gem_make.out
ncr-vm#