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

dk2nugenie won't build against system libxml2 #8

Open
vhewes opened this issue Sep 11, 2024 · 0 comments
Open

dk2nugenie won't build against system libxml2 #8

vhewes opened this issue Sep 11, 2024 · 0 comments

Comments

@vhewes
Copy link
Contributor

vhewes commented Sep 11, 2024

i've been seeing issues with building dk2nugenie, which appear to stem from this line in the recipe:

self.define("LIBXML2_INC", self.spec["libxml2"].prefix.include),

if spack uses the system's libxml2 package, the headers are located in /usr/include/libxml2/libxml, which means that the include directory needs an additional subdirectory, like

self.spec["libxml2"].prefix.include.libxml2

i'm not sure whether spack provides a means to automatically detect the include paths in a better way, but it would be good to have a recipe that supports both system and spack-installed versions of libxml2, if possible. thank you!

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