Skip to content

Instantly share code, notes, and snippets.

@yashihei
Created April 19, 2019 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yashihei/45e57ccda275d94d361e3caebd680adc to your computer and use it in GitHub Desktop.
Save yashihei/45e57ccda275d94d361e3caebd680adc to your computer and use it in GitHub Desktop.
bundle install時、ovirt-engine-sdkでコケる

(´・ω・`)

Fetching ovirt-engine-sdk 4.3.0
Installing ovirt-engine-sdk 4.3.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: /home/hakase/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/ovirt-engine-sdk-4.3.0/ext/ovirtsdk4c
/home/hakase/.rbenv/versions/2.6.2/bin/ruby -I /home/hakase/.rbenv/versions/2.6.2/lib/ruby/2.6.0 -r ./siteconf20190419-51352-10rnc6r.rb extconf.rb
checking for xml2-config... yes
checking for curl-config... no

curl-configが無いらしいです。

Cannot find curl-config in Ubuntu 13.04
https://askubuntu.com/questions/359267/cannot-find-curl-config-in-ubuntu-13-04

libcurl4-openssl-devを入れて解決。

sudo apt install libcurl4-openssl-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment