(Mix) Could not compile dependency :eblurhash #274
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#274
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
On Docker, when I compile with the command: "./docker-resources/manage.sh mix compile" i have this message :
** (Mix) Could not compile dependency :eblurhash, "/opt/akkoma/.mix/rebar3 bare compile --paths /opt/akkoma/_build/prod/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile eblurhash", update it with "mix deps.update eblurhash" or clean it with "mix deps.clean eblurhash"
Can you help me ?
thanks
(not a dev)
Have you tried running
./docker-resources/manage.sh mix compile
again? Sorry for asking obvious things, but I also ran into same problem and just running it again fixed my issue.it doesnt work :
./docker-resources/manage.sh mix compile
Starting akkoma_db_1 ... done
warning:
config/prod.secret.exs
not found. You may want to create one by runningmix pleroma.instance gen
make: Entering directory '/opt/akkoma/deps/eblurhash/c_src'
make: pwd: Operation not permitted
make: uname: Operation not permitted
cc -o /../priv/blurhash blurhash_stb.c encode.c -lm
make: cc: Operation not permitted
make: *** [Makefile:30: /../priv/blurhash] Error 127
make: Leaving directory '/opt/akkoma/deps/eblurhash/c_src'
===> Hook for compile failed!
Something's wrong with your permissions. That's what your errors are saying. check if you have the right permissions for the directories you want to enter.
i try to run with sudo and same error
please follow https://docs.akkoma.dev/stable/installation/docker_en/
warning: config/prod.secret.exs not found. You may want to create one by running mix pleroma.instance gen
means you have skipped steps in the setup