1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Alpine LinuxでGemをインストール再に「C compiler cannot create executables」エラー

Posted at

Alpine の Docker イメージに gem install ... でRuby Gemを入れようとしていると、こんあエラーが出ました:

gem install kafkat

... ...

checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables

何か足りないかんじなので、 build-base をインストールすれば問題は解消:

apk add build-base
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?