LoginSignup
0
2

More than 5 years have passed since last update.

ubuntuにjekyllをインストールするときmake: g++: Command not foundというエラーが出る人

Posted at

How to Set Up a Jekyll Development Site on Ubuntu 16.04を参考にubuntuにjekyllをインストールしようとしました

sudo apt-get update
sudo apt-get install ruby ruby-dev make gcc

ここまではいいのですが、

sudo gem install jekyll bundler

をやろうとすると

...
make "DESTDIR="
compiling binder.cpp
make: g++: Command not found
Makefile:231: recipe for target 'binder.o' failed
make: *** [binder.o] Error 127

make failed, exit code 2
...

というエラーがでました。

g++ command not foundを参考に下記を追加でインストールすると解決しました

sudo apt-get install build-essential g++
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2