[GRASS-dev] configurare fails: Failed check for math library

Martin Landa landa.martin at gmail.com
Wed Jan 24 04:34:40 PST 2024


Hi,

I am unable to compile GRASS on Debian testing. The configure fails with:

checking for atan... no
checking for atan in -lm... no
configure: error: *** Failed check for math library.

I installed dependencies by

apt build-dep grass

and run

        CFLAGS="-g -Wall -Werror -fno-common -Wextra -Wunused" \
   CXXFLAGS="-g -Wall"  \
   ./configure --prefix=/opt/grass \
            --enable-largefile --enable-shared \
            --with-blas --with-bzlib --with-cairo --with-cxx
--with-freetype \
            --with-freetype-includes=/usr/include/freetype2 --with-gdal \
            --with-geos --with-lapack --with-netcdf --with-nls \
            --with-odbc --with-openmp --with-pdal=no \
            --with-postgres
--with-postgres-includes=/usr/include/postgresql \
            --with-proj-share=/usr/share/proj --with-readline \
            --with-sqlite --with-x --with-zstd

Any idea what could be wrong? Thanks in advance, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20240124/9a0fee18/attachment.htm>


More information about the grass-dev mailing list