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

p4est installation script cannot find p4est_config.h file, causing compilation error #13194

Closed
lucasmyers97 opened this issue Jan 7, 2022 · 2 comments · Fixed by #13209
Closed

Comments

@lucasmyers97
Copy link

In the dealii p4est installation instructions located here, the installation script does not work quite right (perhaps because p4est has updated their directory structure). Hence, when run it throws an error that it cannot find p4est_config.h, and later that p4est did not get built with zlib support. The error is caused by lines 125 and 142 of p4est-setup.sh.

To fix it, I replaced $BUILD_FAST/src/p4est_config.h with $BUILD_FAST/config/p4est_config.h, and the same for the $BUILD_DEBUG line. Not sure how to suggest a change to the documentation, or whether there needs to be some cleverness with version checking to leave the setup script how it is for older versions, and change it for newer versions.

@marcfehling
Copy link
Member

You are using an old version of the installation script. Try using this one p4est_setup.sh.

This should have been fixed in #12426. Let us know if the new script works.

Might be worth considering to mark the patch #12426 for a potential new point release?

@lucasmyers97
Copy link
Author

Yup, works perfectly, thanks for the update!

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

Successfully merging a pull request may close this issue.

2 participants