Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Error when installing on MacOs High Sierra #549

Open
naumanbasheer opened this issue Jul 24, 2018 · 1 comment
Open

Error when installing on MacOs High Sierra #549

naumanbasheer opened this issue Jul 24, 2018 · 1 comment

Comments

@naumanbasheer
Copy link

Hi, I receive this error when installing the plugin on a MacOs High Sierra v10.13.5 while running vagrant 1.8.7

I have listed the command line dump below with the error

Installing the 'vagrant-aws' plugin. This can take a few minutes...
Warning: this Gemfile contains multiple primary sources. Using source more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run bundle config disable_multisource true.
Fetching source index from https://gems.hashicorp.com/
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies.............
Using CFPropertyList 2.3.6
Using builder 3.2.3
Using bundler 1.12.5
Using ffi 1.9.25
Using unf_ext 0.0.7.5
Using erubis 2.7.0
Using excon 0.62.0
Using formatador 0.2.5
Using multi_json 1.13.1
Using ipaddress 0.8.3
Using xml-simple 1.1.5
Using mini_portile2 2.0.0
Using inflecto 0.0.2
Using mime-types-data 3.2016.0521
Using json 2.1.0
Using netrc 0.11.0
Using trollop 2.1.3
Using hashicorp-checkpoint 0.1.4
Using httpclient 2.8.3
Using i18n 0.8.0
Using iniparse 1.4.4
Using rb-fsevent 0.9.8
Using ruby_dep 1.3.1
Using little-plugger 1.1.4
Using log4r 1.1.10
Using net-ssh 3.0.2
Using nori 2.6.0
Using rubyntlm 0.6.1
Using rubyzip 1.2.0
Using wdm 0.1.1
Using vagrant-disksize 0.1.2
Using fission 0.5.0
Using gyoku 1.3.1
Using childprocess 0.5.9
Using gssapi 1.2.0
Using rb-inotify 0.9.7
Using rb-kqueue 0.2.4
Using unf 0.1.4
Using fog-core 1.45.0
Using nokogiri 1.6.7.1
Using mime-types 3.1
Installing ovirt-engine-sdk 4.2.4 with native extensions

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

/opt/vagrant/embedded/bin/ruby -r ./siteconf20180724-73152-1a7o9vh.rb extconf.rb

checking for xml2-config... yes
checking for curl-config... yes
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling ov_http_client.c
In file included from ov_http_client.c:21:
In file included from /opt/vagrant/embedded/include/curl/curl.h:35:
/opt/vagrant/embedded/include/curl/curlrules.h:143:6: error: 'curl_rule_01' declared as an array with a negative size
[CurlchkszEQ(long, CURL_SIZEOF_LONG)];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/vagrant/embedded/include/curl/curlrules.h:132:27: note: expanded from macro 'CurlchkszEQ'
#define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [ov_http_client.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/X/.vagrant.d/gems/gems/ovirt-engine-sdk-4.2.4 for inspection.
Results logged to /Users/X/.vagrant.d/gems/extensions/x86_64-darwin-13/2.2.0/ovirt-engine-sdk-4.2.4/gem_make.out

@molleafauss
Copy link

I have the same error on macos el capitan.

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

No branches or pull requests

2 participants