Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile issue on Fedora 39, freetype2 not found #564

Open
boredsquirrel opened this issue Apr 21, 2024 · 0 comments
Open

compile issue on Fedora 39, freetype2 not found #564

boredsquirrel opened this issue Apr 21, 2024 · 0 comments

Comments

@boredsquirrel
Copy link

Distrobox of Fedora 39
freetype-2.13.1-2.fc39.x86_64
cargo 1.77.1 (e52e36006 2024-03-26)

git commit 30419d07660dc11a21e42ef4a7fa329600cff152
--- stderr
  configure: error: Package requirements (freetype2) were not met:

  Package 'freetype2', required by 'virtual:world', not found

  Consider adjusting the PKG_CONFIG_PATH environment variable if you
  installed software in a non-standard prefix.

  Alternatively, you may set the environment variables FREETYPE_CFLAGS
  and FREETYPE_LIBS to avoid the need to call pkg-config.
  See the pkg-config man page for more details.
  make: *** [makefile.cargo:83: /run/host/var/home/user/Git/pathfinder/target/release/build/servo-fontconfig-sys-875ab761aaee1523/out/Makefile] Fehler 1
  thread 'main' panicked at /var/home/user/Distrobox/Build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/servo-fontconfig-sys-4.0.9/build.rs:20:5:
  assertion failed: Command::new("make").env("MAKEFLAGS",
                      env::var("CARGO_MAKEFLAGS").unwrap_or_default()).args(&["-R",
                              "-f", "makefile.cargo"]).status().unwrap().success()
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Freetype is installed via dnf inside the box, but could not be found. Any help appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant