Dear all,
I am trying to set up deal.II on a computer with no system-wide zlib. I do not have sudo privileges, thus I cannot just install, so I compiled it from the source and installed in my home directory. Now I am trying to build p4est using it. According to the message thrown by the scrip (
https://www.dealii.org/current/external-libs/p4est.html) I should
export CPPFLAGS="-DSC_LOG_PRIORITY=SC_LP_ESSENTIAL -I/export/home/mwichro/lib/zlib/include/"
export LDFLAGS="-L/export/home/mwichro/lib/zlib/lib/"
Apparently setting those does not resolve the problem, the script still complains about zlib.
By going through what the script really does, I think the following line triggers an error:
grep -q 'P4EST_HAVE_ZLIB *1' "$BUILD_FAST/src/p4est_config.h" \
|| bdie "$MISSING_ZLIB_MESSAGE"
As far as I understood, it looks into p4est-build/FAST/src/p4est_config.h . That file on my system does not exist. I also went through the config.log, it looks like it contains:
so I guess it links with zlib?
By the way, I moved to Heidelberg and I am happy to continue my work with deal.II library.
Best,
Michał