【问题标题】:Cannot install jekyll on Ubuntu 17.10无法在 Ubuntu 17.10 上安装 jekyll
【发布时间】:2018-02-19 20:41:16
【问题描述】:

尝试安装 Jekyll 但不断收到此错误消息:

current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c
/usr/bin/ruby2.3 -r ./siteconf20180219-16974-6pgqng.rb extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... no
checking for shlwapi.h... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_with_gvl()... yes
checking for rb_thread_call_without_gvl()... yes
creating extconf.h
creating Makefile

current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c
make "DESTDIR=" clean

current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c
make "DESTDIR="
Running autoreconf for libffi
/var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c/libffi/autogen.sh: 2:         exec: autoreconf: not found
libffi.mk:6: recipe for target '"/var/lib/gems/2.3.0/gems/ffi-    1.9.21/ext/ffi_c/libffi-x86_64-linux-gnu"/.libs/libffi_convenience.a'     failed
make: *** ["/var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c/libffi-x86_64-linux-gnu"/.libs/libffi_convenience.a] Error 127

make failed, exit code 2

我已经安装了以下,但可能不是这个顺序

  • 制作
  • 构建必不可少
  • 红宝石
  • ruby 开发
  • 海合会

有什么想法吗?

【问题讨论】:

  • exec: autoreconf: not found 是重要的部分。

标签: ruby ubuntu jekyll ubuntu-17.10


【解决方案1】:

解决了!

必须运行命令:

sudo apt-get install autoconf libtool

【讨论】:

    猜你喜欢
    • 2018-06-10
    • 1970-01-01
    • 1970-01-01
    • 2019-04-01
    • 1970-01-01
    • 1970-01-01
    • 2018-09-16
    • 2018-10-07
    • 1970-01-01
    相关资源
    最近更新 更多