Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Error installing word-to-markdown: #78

Closed
nrbray opened this issue Nov 6, 2017 · 4 comments
Closed

ERROR: Error installing word-to-markdown: #78

nrbray opened this issue Nov 6, 2017 · 4 comments

Comments

@nrbray
Copy link

nrbray commented Nov 6, 2017

sudo gem install word-to-markdown
Fetching: mini_portile2-2.3.0.gem (100%)
Successfully installed mini_portile2-2.3.0
Fetching: nokogiri-1.8.1.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing word-to-markdown:
ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri

/usr/bin/ruby2.3 -r ./siteconf20171106-14125-1km0ne7.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/nokogiri-1.8.1 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.8.1/gem_make.out


current directory: /var/lib/gems/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri
/usr/bin/ruby2.3 -r ./siteconf20171106-14125-1km0ne7.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h

extconf failed, exit code 1

@nrbray
Copy link
Author

nrbray commented Nov 6, 2017

Further installled:

sudo apt-get install ruby-dev

Then:

sudo gem install zlib
Fetching: zlib-0.1.0.gem (100%)
ERROR: Error installing zlib:
zlib requires Ruby version >= 2.5.0dev.
ERROR: Error installing word-to-markdown:
ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri

/usr/bin/ruby2.3 -r ./siteconf20171106-14491-rn3iu3.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.3.0
checking for gzdopen() in -lz... no
zlib is missing; necessary for building libxml2
*** extconf.rb failed ***

mkmf.log

@benbalter
Copy link
Owner

@nrbray I believe the instructions in github/pages-gem#133 may help resolve the issue.

@stale
Copy link

stale bot commented Jan 5, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 5, 2018
@stale stale bot removed the wontfix label Jan 5, 2018
@no-response no-response bot closed this as completed Feb 6, 2018
@no-response
Copy link

no-response bot commented Feb 6, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants