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

Deployment - Cannot bundle commonmarker due to cmake #50

Closed
ghost opened this issue Jul 21, 2017 · 2 comments
Closed

Deployment - Cannot bundle commonmarker due to cmake #50

ghost opened this issue Jul 21, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 21, 2017

Im using commonmarker for the HTML::Pipeline::MarkdownFilter. And when trying to deploy my app, I get this exception:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/home/deploy/lauroio/shared/bundle/ruby/2.4.0/gems/commonmarker-0.16.7/ext/commonmarker
/home/deploy/.rbenv/versions/2.4.1/bin/ruby -r
./siteconf20170721-22951-szfhyg.rb extconf.rb
checking for cmake... no



[ERROR]: cmake is required and not installed. Get it here: http://www.cmake.org/


*** 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=/home/deploy/.rbenv/versions/2.4.1/bin/$(RUBY_BASE_NAME)

How can I instal cmake?

@kivikakk
Copy link
Collaborator

It depends on your operating system! For Debian-based systems, sudo apt-get install cmake will probably do it.

@ghost
Copy link
Author

ghost commented Jul 22, 2017

Thanks @kivikakk. I had to SSHed into my server and run sudo apt-get install cmake. Its the same step, when using a local development.

Im referencing a similar issue here: #47.

We can close this issue. 👍

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

No branches or pull requests

1 participant