###前提・実現したいこと
さくらのVPS ubuntu16.04にmastodonの構築を目指しています。
参考サイトをほぼコピペで実行中です。
URL:http://qiita.com/hekki/items/c3f42c31632105389c79
しかし、以下コマンド実行時にエラーが出てしばらく詰まっております。
bundle install --deployment --without development test
###発生している問題・エラーメッセージ
mastodon@tk2-258-38896:~/live$ gem install cld3 -v '3.1.2' Building native extensions. This could take a while... ERROR: Error installing cld3: ERROR: Failed to build gem native extension. current directory: /home/mastodon/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/cld3-3.1.2/ext/cld3 /home/mastodon/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20170616-3868-q35wtp.rb extconf.rb Failed to locate protobuf *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/mastodon/.rbenv/versions/2.4.1/bin/$(RUBY_BASE_NAME) --with-protobuf-config --without-protobuf-config --with-pkg-config --without-pkg-config To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/mastodon/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0-static/cld3-3.1.2/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/mastodon/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/cld3-3.1.2 for inspection. Results logged to /home/mastodon/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0-static/cld3-3.1.2/gem_make.out
###エラーログの中身
mastodon@tk2-258-38896:~/live$ cat /home/mastodon/live/vendor/bundle/ruby/2.4.0/extensions/x86_64-inux/2.4.0-static/cld3-3.1.2/mkmf.log package configuration for protobuf is not found
###実施したこと
bundle install --deployment --without development test
→上記エラー
gem install cld3 -v '3.1.2'
→同じエラー
gem install cld3
→同じエラー
which protobuf
→無反応となります。
mastodon@tk2-258-38896:~/live$ dpkg -l | grep protobuf ii libprotobuf9v5:amd64 2.6.1-1.3 amd64 protocol buffers C++ library ii protobuf-compiler 2.6.1-1.3 amd64 compiler for protocol buffer definition files

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/06/29 00:27