8000 GCC and Make are needed for Ubuntu installation. · Issue #5730 · jekyll/jekyll · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
GCC and Make are needed for Ubuntu installation. #5730
Closed
@sbseltzer

Description

@sbseltzer
  • I believe this to be a bug, not a question about using Jekyll.
  • I updated to the latest Jekyll (or) if on GitHub Pages to the latest github-pages
  • I am on (or have tested on) Debian/Ubuntu GNU/Linux
  • I was trying to install.

My Reproduction Steps

I followed the basic installation instructions to the letter, but as administrator, on the latest version of Ubuntu (16.04).

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ruby
sudo gem update
sudo gem install jekyll

Here's where things went wrong during sudo gem install jekyll:

Building native extensions.  This could take a while...
ERROR:  Error installing jekyll:
        ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.14/ext/ffi_c
/usr/bin/ruby2.3 -r ./siteconf20170107-2494-1m1noxn.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/ffi-1.9.14 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.14/gem_make.out

It was because gcc was not installed. I've also found that some people needed make. Please add that to the installation requirements. I also installed ruby-dev to be sure. Thanks. :)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0