mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

...gemキライ!!

@hatabowyou 1.3でうまく行っていたようなら、1.4で新しく入ったcld3のビルドに失敗してるんじゃないかと思います。そのエラーの上の方に何をしようとしてたか書いてあるかも。cld3のためにホストにprotobuf-compilerとlibprotobuf-devと2つのパッケージを入れておくと進むのではないかと思います。

@zundan ありがとうございます!しかしながら、実はアップデートではなく新規インストールです。。。
↓エラーメッセージは画像のとおりなんですが、すみません、、、何が何だか(TT)お手上げです。。。

@hatabowyou 上じゃなくて下に何をやっていたか表示されてました〜。一番下の行の「An error occurred while installing cld3…」OSの種類によりますが、DebianやUbuntuの場合にはprotobuf-compilerとlibprotobuf-devを入れておけば進むはずです。CentOSなどだとパッケージ名が微妙に違うかもしれません。

@zundan
protobuf-compiler-2.5.0-8.el7.i686.rpm
Protocol Buffers compiler
protobuf-compiler-2.5.0-8.el7.x86_64.rpm
Protocol Buffers compiler

すみませんっ。。いきなりどちらを入れればいいのかわかりません。。。(TT)

@hatabowyou 64ビット版が入るならそちらのほうが良さそうですね〜(rpmはしばらく触ってないのではっきりしません。すんません) https://unix.stackexchange.com/questions/158244/what-is-the-difference-between-i686-and-x8

@zundan こんにちは。先日は教えていただきありがとうございました。
結局rpmパッケージではなくて単純に

yum install protobuf-compiler
yum install libprotobuf-dev

この2つを実行したのですが、やはり

/usr/local/bin/bundle instal/usr/local/bin/bundle install ....

で同じエラーが出てしまします(TT)

ど、どうしたら、、いいのでしょう?原因は何なのでしょう?

zunda

@hatabowyou あ、yum installはインストールしたいRPMパッケージと、そのRPMパッケージが必要とするRPMパッケージをまるっとまとめてインストールしてくれるコマンドです