this post was submitted on 23 May 2022
2 points (100.0% liked)

Lemmy Support

4651 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

ubuntu10, Debian 11

Build from source always errors:

 Compiling quickcheck v1.0.3
   Compiling phf_generator v0.8.0
   Compiling phf_generator v0.10.0
   Compiling bcrypt v0.12.1
error: failed to run custom build command for `lemmy_utils v0.16.3 (/root/server/crates/utils)`

Caused by:
  process didn't exit successfully: `/root/server/target/release/build/lemmy_utils-3c8f53b241e1ef04/build-script-build` (exit status: 1)
 
***
stderr
  Error: FileRead { file: "translations/email/en.json", source: Os { code: 2, kind: NotFound, message: "No such file or directory" } }

How to solve this problem?

top 1 comments
sorted by: hot top controversial new old
[–] HMH@lemmy.ml 3 points 2 years ago

Have you made sure all submodules are checked out, i.e. did you run git clone https://github.com/LemmyNet/lemmy.git --recursive with the --recursive flag?