<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 24 Jan 2024, at 15:31, Martin Landa <landa.martin@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div>Hi,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">st 24. 1. 2024 v 15:22 odesílatel Nicklas Larsson <<a href="mailto:n_larsson@yahoo.com">n_larsson@yahoo.com</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I too would have been surprised if glibc wasn’t there. (I’m shooting from the hips :-).<div><br></div><div>You can investigate the "config.log” for hopefully more detailed information on why the math library configure test failed.<br></div></div></blockquote></div><br clear="all"><div>oh, it is caused by -Werror.</div><div><br></div></div></div></blockquote><div><br></div><div><br></div><div>Yes, of course!</div><div><br></div><div>You can add it after configure: e.g. `make CFLAGS=‘$CFLAGS -Werror’` if you want, but not before.</div><div><br></div><div><br></div><div>Cheers!</div><div><br></div><br><blockquote type="cite"><div><div dir="ltr"><div>conftest.c:59:1: note: 'atan' is declared in header '<math.h>'<br></div><div>   58 | #include <limits.h><br>   59 | #undef atan<br>cc1: all warnings being treated as errors<br></div><div><br></div><div><div>See also:</div><div><br></div><div>   54 | int64_t x;<br>      |         ^<br>cc1: all warnings being treated as errors</div></div><div><br></div><div>Now with</div><div><br></div><div>        CFLAGS="-g -Wall -fno-common -Wextra -Wunused" \<br>             CXXFLAGS="-g -Wall -I/usr/include"  \<br>            ./configure --prefix=/opt/grass \<br>            --enable-largefile --enable-shared \<br>            --with-blas --with-bzlib --with-cairo --with-cxx --with-freetype \<br>            --with-freetype-includes=/usr/include/freetype2 --with-gdal \<br>            --with-geos --with-lapack --with-netcdf --with-nls \<br>            --with-odbc --with-openmp --with-pdal=no \<br>            --with-postgres --with-postgres-includes=/usr/include/postgresql \<br>            --with-proj-share=/usr/share/proj --with-readline \<br>            --with-sqlite --with-x --with-zstd<br></div><div><br></div><div>it compiles...</div><div><br></div><div>Martin</div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Martin Landa<br><a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br><a href="http://gismentors.cz/mentors/landa" target="_blank">http://gismentors.cz/mentors/landa</a></div></div>
</div></blockquote></div><br></body></html>