[GRASS-dev] configurare fails: Failed check for math library
Martin Landa
landa.martin at gmail.com
Wed Jan 24 05:31:52 PST 2024
Hi Niclas,
st 24. 1. 2024 v 14:00 odesílatel Nicklas Larsson <n_larsson at yahoo.com>
napsal:
> Noting that you use a non-default prefix, you may need to add
> `LDFLAGS="-L/usr/lib”` (and perhaps add ´”-I/usr/include” to CFLAGS and
> CXXFLAGS).
> The same result could perhaps be reached with
> `--with-includes=/usr/include --with-libs=/usr/lib` added to configure,
> although that I’m not sure of.
>
Thanks for your feedback! I tried everything you suggested:
CFLAGS="-g -Wall -Werror -fno-common -Wextra -Wunused -I/usr/include" \
CXXFLAGS="-g -Wall -I/usr/include" \
LDFLAGS="-L/usr/lib" \
./configure --prefix=/opt/grass \
--with-includes=/usr/include --with-libs=/usr/lib \
--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
But unfortunately it didn't help. Best, 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/d4548743/attachment.htm>
More information about the grass-dev
mailing list