Skip to content

compile issue on Fedora 39, freetype2 not found #564

Open
@boredsquirrel

Description

@boredsquirrel
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions