Hi Michał,

maybe it will help to invoke `configure --help` on the source of your p4est 
tarball. Hopefully there will be instructions on how to connect custom zlib 
libraries -- I couldn't find anything in their README :(

Best,
Marc

On Thursday, September 16, 2021 at 6:26:23 PM UTC-6 Wolfgang Bangerth wrote:

>
> > 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:
> > #define LIBS "  -lz -lm   "
> > so I guess it links with zlib?
>
> Michal: I don't know whether anyone still remembers how that 
> installation script came about. What happens if you just remove the line 
> that causes the script to abort?
>
>
> > By the way, I moved to Heidelberg and I am happy to continue my work 
> > with deal.II library.
> Nice, glad to hear you landed in a good place a lot of us have good 
> memories of!
>
> Best
> Wolfgang
>
> -- 
> ------------------------------------------------------------------------
> Wolfgang Bangerth email: [email protected]
> www: http://www.math.colostate.edu/~bangerth/
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/65744e05-c34f-43cc-acf7-c45a63452ec1n%40googlegroups.com.

Reply via email to