angristan / docker-pleroma

Docker image for the Pleroma federated social network
https://git.pleroma.social/pleroma/pleroma/
MIT License
354 stars 77 forks source link

cmake: not found #17

Closed peterbabic closed 4 years ago

peterbabic commented 4 years ago

When I try to build `release/2.1.0/, it fails:

==> fast_html
# Sadly, build components separately seems to sporadically fail
cd c_src/lexbor; cmake -DLEXBOR_BUILD_SEPARATELY=OFF -DLEXBOR_BUILD_SHARED=OFF
/bin/sh: cmake: not found
make: *** [Makefile:42: c_src/lexbor/liblexbor_static.a] Error 127
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).
You need to have gcc and make installed. If you are using
Ubuntu or any other Debian-based system, install the packages
"build-essential". Also install "erlang-dev" package if not
included in your Erlang/OTP version. If you're on Fedora, run
"dnf group install 'Development Tools'".

Probably related: https://git.pleroma.social/pleroma/pleroma/-/issues/2058

If I read it wrong, build-essential that contains cmake was added upstram as a dependency for OTP releases.

angristan commented 4 years ago

cmake was added in the Dockerfile: https://github.com/angristan/docker-pleroma/pull/15

peterbabic commented 4 years ago

I am sorry, it was a mistake on my side. Thank you