-
Notifications
You must be signed in to change notification settings - Fork 572
Open
Description
I try to serve your theme on jekyll v.4.1.1. But after bundle exec jekyll serve i have problems with nokogiri.
Could not find gem 'github-pages' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
After bundle install
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /tmp/bundler20201112-398-1xkmc28nokogiri-1.10.10/gems/nokogiri-1.10.10/ext/nokogiri
/usr/bin/ruby2.7 -I /usr/lib/ruby/2.7.0 -r ./siteconf20201112-398-mfkb4a.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.4.0
checking for gzdopen() in -lz... no
zlib is missing; necessary for building libxml2
*** 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_BASE_NAME)2.7
--help
--clean
--use-system-libraries
--enable-static
--disable-static
--with-zlib-dir
--without-zlib-dir
--with-zlib-include
--without-zlib-include=${zlib-dir}/include
--with-zlib-lib
--without-zlib-lib=${zlib-dir}/lib
--enable-cross-build
--disable-cross-build
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/tmp/bundler20201112-398-1xkmc28nokogiri-1.10.10/extensions/x86_64-linux/2.7.0/nokogiri-1.10.10/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /tmp/bundler20201112-398-1xkmc28nokogiri-1.10.10/gems/nokogiri-1.10.10 for
inspection.
Results logged to
/tmp/bundler20201112-398-1xkmc28nokogiri-1.10.10/extensions/x86_64-linux/2.7.0/nokogiri-1.10.10/gem_make.out
An error occurred while installing nokogiri (1.10.10), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.10.10' --source 'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
github-pages was resolved to 209, which depends on
jekyll-mentions was resolved to 1.6.0, which depends on
html-pipeline was resolved to 2.14.0, which depends on
nokogiri
How to solve this problems?
Metadata
Metadata
Assignees
Labels
No labels