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
I was building pysequoia recently on Fedora. I found that nettle-sys prints a friendly error message when nettle-devel is not installed:
Building nettle-sys failed.
Because:
pkg-config exited with status code 1
> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags nettle
The system library `nettle` required by crate `nettle-sys` was not found.
The file `nettle.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
The PKG_CONFIG_PATH environment variable is not set.
HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `nettle.pc`.
Please make sure the necessary build dependencies are installed.
If you are using Debian (or a derivative), try:
$ sudo apt install clang llvm pkg-config nettle-dev
If you are using Arch (or a derivative), try:
$ sudo pacman -S clang pkg-config nettle --needed
If you are using Fedora (or a derivative), try:
$ sudo dnf install clang pkg-config nettle-devel
See https://gitlab.com/sequoia-pgp/nettle-sys#building for more information.
Error: "Building nettle-sys failed."
warning: build failed, waiting for other jobs to finish...
💥 maturin failed
Could we do something like that for this project when pcsc-lite-devel is missing?
(I originally reported this at wiktor-k/pysequoia#26 and the maintainer directed me here)
The text was updated successfully, but these errors were encountered:
I was building pysequoia recently on Fedora. I found that
nettle-sys
prints a friendly error message whennettle-devel
is not installed:Could we do something like that for this project when
pcsc-lite-devel
is missing?(I originally reported this at wiktor-k/pysequoia#26 and the maintainer directed me here)
The text was updated successfully, but these errors were encountered: