bosh-gen install / ruby​​ gem依赖

时间:2018-09-21 21:07:05

标签: ruby bosh

由于似乎是ruby gem依赖问题,我无法安装Pivotal的bosh-gen程序。运行以下命令时: gem install bosh-gen我可以看到以下内容:

not create Makefile due to some reason, probably lack of necessary
libraries checking for curl-config... no
*** extconf.rb failed ***
Could and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options

这不是所有的错误消息,但似乎是最相关的。所以我缺少curl-config。尝试安装curl-config,我得到:

sudo apt-get install curl-config

正在阅读包裹清单...已完成 构建依赖树
正在读取状态信息...完成 E:无法找到软件包curl-config

那我应该安装什么:

apt list --installed | grep curl

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

curl/now 7.47.0-1ubuntu2.8 amd64 [installed,local]
curlftpfs/xenial,now 0.9.2-9 amd64 [installed]
libcurl3/now 7.47.0-1ubuntu2.8 amd64 [installed,local]
libcurl3-gnutls/now 7.47.0-1ubuntu2.8 amd64 [installed,local]
python3-pycurl/xenial,now 7.43.0-1ubuntu1 amd64 [installed]

libcurl3事实证明。不过,这似乎不起作用。

有什么想法/建议吗?

顺便说一句,我确实看过

https://stackoverflow.com/questions/10184615/cant-find-libcurl-or-curl-curl-h-runtimeerror

没有任何东西对我有用。

0 个答案:

没有答案