无法在 Manjaro 上安装 Jekyll
Cannot install Jekyll on Manjaro
在全新的 Manjaro 安装中,在安装了 Ruby 之后
pacman -S ruby
我尝试安装 Jekyll 运行
gem install bundler jekyll
bundler已经安装成功,但是Jekyll安装报错:
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
current directory: /home/jgabrielgruber/.local/share/gem/ruby/3.0.0/gems/ffi-1.15.5/ext/ffi_c
/usr/bin/ruby -I /usr/lib/ruby/3.0.0 -r ./siteconf20220428-5815-4q66ic.rb extconf.rb
checking for ffi.h... yes
checking for ffi_prep_closure_loc() in -lffi... yes
checking for ffi_prep_cif_var()... yes
checking for ffi_raw_call()... yes
checking for ffi_prep_raw_closure()... yes
checking for whether -pthread is accepted as LDFLAGS... yes
creating extconf.h
creating Makefile
current directory: /home/jgabrielgruber/.local/share/gem/ruby/3.0.0/gems/ffi-1.15.5/ext/ffi_c
make DESTDIR\= clean
current directory: /home/jgabrielgruber/.local/share/gem/ruby/3.0.0/gems/ffi-1.15.5/ext/ffi_c
make DESTDIR\=
make failedNo such file or directory - make
原来,在
make failedNo such file or directory - make
说Manjaro没有安装make命令,要解决这个问题,需要安装:
pacman -S make
在全新的 Manjaro 安装中,在安装了 Ruby 之后
pacman -S ruby
我尝试安装 Jekyll 运行
gem install bundler jekyll
bundler已经安装成功,但是Jekyll安装报错:
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
current directory: /home/jgabrielgruber/.local/share/gem/ruby/3.0.0/gems/ffi-1.15.5/ext/ffi_c
/usr/bin/ruby -I /usr/lib/ruby/3.0.0 -r ./siteconf20220428-5815-4q66ic.rb extconf.rb
checking for ffi.h... yes
checking for ffi_prep_closure_loc() in -lffi... yes
checking for ffi_prep_cif_var()... yes
checking for ffi_raw_call()... yes
checking for ffi_prep_raw_closure()... yes
checking for whether -pthread is accepted as LDFLAGS... yes
creating extconf.h
creating Makefile
current directory: /home/jgabrielgruber/.local/share/gem/ruby/3.0.0/gems/ffi-1.15.5/ext/ffi_c
make DESTDIR\= clean
current directory: /home/jgabrielgruber/.local/share/gem/ruby/3.0.0/gems/ffi-1.15.5/ext/ffi_c
make DESTDIR\=
make failedNo such file or directory - make
原来,在
make failedNo such file or directory - make
说Manjaro没有安装make命令,要解决这个问题,需要安装:
pacman -S make