You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- stderr
thread 'main' panicked at C:\Users{USERNAME}.cargo\registry\src\index.crates.io-6f17d22bba15001f\tectonic_dep_support-0.1.1\src\lib.rs:113:14:
called Result::unwrap() on an Err value: Could not run PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags graphite2
The pkg-config command could not be found.
Most likely, you need to install a pkg-config package for your OS.
If you've already installed it, ensure the pkg-config command is one of the
directories in the PATH environment variable.
If you did not expect this build to link to a pre-installed system library,
then check documentation of the tectonic_bridge_graphite2 crate for an option to
build the library from source, or disable features or dependencies
that require pkg-config.
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile tectonic v0.15.0, intermediate artifacts can be found at C:\Users\{USERNAME}\AppData\Local\Temp\cargo-install4o6F51.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
What can I do to sucessfully install the tectonic-rust crate ?
I tried to use cargo vcpk and managed to sucessfully compile my tectonic git pull; but still the rust package isn't able to be installed correctely.
The text was updated successfully, but these errors were encountered:
LordIV4
changed the title
Issue: can't build tectonic rust crate on windows (0.15.0)
Issue: can't build tectonic rust crate (0.15.0) on windowsdue to error with tectonic_bridge_graphite2 v0.2.2
Jul 30, 2024
LordIV4
changed the title
Issue: can't build tectonic rust crate (0.15.0) on windowsdue to error with tectonic_bridge_graphite2 v0.2.2
Issue: can't build tectonic rust crate (0.15.0) on windows due to error with tectonic_bridge_graphite2 v0.2.2
Jul 30, 2024
when calling the cargo install tectonic comand, I run into the following error:
error: failed to run custom build command for
tectonic_bridge_graphite2 v0.2.2
Caused by:
process didn't exit successfully:
C:\Users\{USERNAME}\AppData\Local\Temp\cargo-install4o6F51\release\build\tectonic_bridge_graphite2-d7ca28945d7ea126\build-script-build
(exit code: 101)--- stdout
cargo:rerun-if-env-changed=TECTONIC_DEP_BACKEND
cargo:rerun-if-env-changed=TECTONIC_PKGCONFIG_FORCE_SEMI_STATIC
cargo:rerun-if-env-changed=GRAPHITE2_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_msvc
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_msvc
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_msvc
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_msvc
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_msvc
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
--- stderr
thread 'main' panicked at C:\Users{USERNAME}.cargo\registry\src\index.crates.io-6f17d22bba15001f\tectonic_dep_support-0.1.1\src\lib.rs:113:14:
called
Result::unwrap()
on anErr
value: Could not runPKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags graphite2
The pkg-config command could not be found.
Most likely, you need to install a pkg-config package for your OS.
If you've already installed it, ensure the pkg-config command is one of the
directories in the PATH environment variable.
If you did not expect this build to link to a pre-installed system library,
then check documentation of the tectonic_bridge_graphite2 crate for an option to
build the library from source, or disable features or dependencies
that require pkg-config.
note: run with
RUST_BACKTRACE=1
environment variable to display a backtracewarning: build failed, waiting for other jobs to finish...
error: failed to compile
tectonic v0.15.0
, intermediate artifacts can be found atC:\Users\{USERNAME}\AppData\Local\Temp\cargo-install4o6F51
.To reuse those artifacts with a future compilation, set the environment variable
CARGO_TARGET_DIR
to that path.What can I do to sucessfully install the tectonic-rust crate ?
I tried to use cargo vcpk and managed to sucessfully compile my tectonic git pull; but still the rust package isn't able to be installed correctely.
The text was updated successfully, but these errors were encountered: