Open marcusps opened 10 years ago
I'm having the same issue, I worked around it by doing the steps below.
cd /tmp
git clone https://github.com/dreverri/gollum-site.git
cd gollum-site
rake build
rake install
NOTE that last step will fail but it's ok, just copy the gem install
line it spits out to install.
Mine looked like this: gem install /private/tmp/gollum-site/pkg/gollum-site-0.1.12.gem
Output from that final command is below with successful install.
Fetching: liquid-3.0.0.rc1.gem (100%)
Successfully installed liquid-3.0.0.rc1
Fetching: mixlib-log-1.6.0.gem (100%)
Successfully installed mixlib-log-1.6.0
Fetching: directory_watcher-1.5.1.gem (100%)
Successfully installed directory_watcher-1.5.1
Successfully installed gollum-site-0.1.12
4 gems installed
I'm getting this error as well:
csu:notes (master)$ gem install gollum-site
Fetching: grit-2.4.1.gem (100%)
Successfully installed grit-2.4.1
Fetching: github-markup-0.7.5.gem (100%)
Successfully installed github-markup-0.7.5
Fetching: ffi-1.0.12.rc3.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing gollum-site:
ERROR: Failed to build gem native extension.
/Users/christophersu/.rbenv/versions/2.1.5/bin/ruby extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include... no
checking for rb_thread_blocking_region()... yes
checking for ruby_native_thread_p()... yes
checking for rb_thread_call_with_gvl()... yes
creating extconf.h
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
Configuring libffi
/bin/sh: ..//Users/christophersu/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/ffi-1.0.12.rc3/ext/ffi_c/libffi/configure: No such file or directory
make: *** ["/Users/christophersu/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/ffi-1.0.12.rc3/ext/ffi_c/libffi"/.libs/libffi_convenience.a] Error 127
make failed, exit code 2
Gem files will remain installed in /Users/christophersu/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/ffi-1.0.12.rc3 for inspection.
Results logged to /Users/christophersu/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/extensions/x86_64-darwin-14/2.1.0-static/ffi-1.0.12.rc3/gem_make.out
This worked for me on ubuntu
sudo aptitude install libffi-dev
I can't seem to get around on a strange dependency on a RC version of
ffi
. I have a gem forffi
installed, version 1.9.3, but even the--minimal-deps --conservative
options do nothing.Any ideas?