GCP で Pleroma を構築する5(失敗)

Pleroma を Google Cloud Platform(GCP)に構築しようとしたことを書いた。

GCP で Pleroma を構築する(失敗) – with a Christian Wife
https://wacw.cf/2021/05/27/pleroma-on-gcp/

GCP で Pleroma を構築する2(失敗) – with a Christian Wife
https://wacw.cf/2021/05/28/pleroma-on-gcp-2/

GCP で Pleroma を構築する3(失敗) – with a Christian Wife
https://wacw.cf/2021/05/29/pleroma-on-gcp-3/

GCP で Pleroma を構築する4(失敗) – with a Christian Wife
https://wacw.cf/2021/05/30/pleroma-on-gcp-4/

なかなかうまくいっていない。

以前やった方法を、GCP のマシン構成を変えた状態で試してみる。具体的には Machine type を f1-micro から g1-small に変えてみる。

以前 f1-micro でやった方法はこちらだ。

GCP で Pleroma を構築する(失敗) – with a Christian Wife
https://wacw.cf/2021/05/27/pleroma-on-gcp/

(1)GCP のインスタンスを作成。

Region:us-west1 (Oregon)
Zone:us-west1-a
Machine configuration
・Machine family:General-purpose
・Series:FIRST GENERATION>N1
・Machine type:g1-small (1 vCPU, 1.7 GB memory)
Boot disk:Public images で、Ubuntu; Ubuntu 16.04 LTS; Standard persistent disk 30 GB
Firewall
・Allow HTTP traffic:チェックを入れる。
・Allow HTTPS traffic:チェックを入れる。
Networking
・Network interfaces:default をクリック。External IP で “External IP” を選択。“Network Service Tier” は “Premium” のままにしておく。

ドメインは別途取得済み(サブドメインを使う)。

(2)以下のサイトに従い構築する。

PleromaをGoogle Cloud Platformで建ててみた – Qiita
https://qiita.com/S_H_/items/1743f5c155553376c6d9

しかし、今回も $ mix generate_config で止まってしまう。以下のように表示される。

could not compile dependency :fast_html, “mix compile” failed. You can recompile this dependency with “mix deps.compile fast_html”, update it with “mix deps.update fast_html” or clean it with “mix deps.clean fast_html”
==> pleroma
** (Mix) Could not compile with “make” (exit status: 2).
Please check you have: a C compiler, GNUMake, CMake and Erlang development headers installed before reporting an issue.

g1-small に変えても変わらなかったわけだ。

(続く。)