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?

  • HMH
    link
    fedilink
    arrow-up
    3
    ·
    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?