Skip to content

Regression in libnl3 detection (no longer uses pkg-config) #1639

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

Open
thesamesam opened this issue Mar 14, 2025 · 3 comments · May be fixed by #1637 or #1698
Open

Regression in libnl3 detection (no longer uses pkg-config) #1639

thesamesam opened this issue Mar 14, 2025 · 3 comments · May be fixed by #1637 or #1698
Labels
build system 🔧 Affects the build system rather then the user experience
Milestone

Comments

@thesamesam
Copy link
Contributor

Hi!

We had a report in Gentoo of htop-3.4.0 failing to build on Gentoo Prefix (https://bugs.gentoo.org/951290), which is like a Homebrew/nix/whatever setup where Gentoo resides in /home/sam/prefix as an unprivileged prefix.

Since 24b1513, configure fails with:

[...]
checking for netlink/attr.h... no
configure: error: can not find required header files netlink/attr.h, netlink/handlers.h, netlink/msg.h

... because it now hardcodes CFLAGS="$CFLAGS -I/usr/include/libnl3" rather than using pkg-config via PKG_CHECK_MODULES.

@thesamesam
Copy link
Contributor Author

cc @cgzones

@thesamesam
Copy link
Contributor Author

Ah, I see #1637 already.

@BenBE BenBE linked a pull request Mar 15, 2025 that will close this issue
@BenBE BenBE added the build system 🔧 Affects the build system rather then the user experience label Mar 15, 2025
@BenBE BenBE added this to the 3.4.1 milestone Mar 15, 2025
@BenBE BenBE modified the milestones: 3.4.1, 3.5.0 Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system 🔧 Affects the build system rather then the user experience
Projects
None yet
4 participants
@BenBE @thesamesam and others