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

2024-01-24 Thread Nicklas Larsson via grass-dev
> On 24 Jan 2024, at 15:31, Martin Landa wrote: > > Hi, > > st 24. 1. 2024 v 15:22 odesílatel Nicklas Larsson > napsal: >> I too would have been surprised if glibc wasn’t there. (I’m shooting from >> the hips :-). >> >> You can investigate the "config.log” for ho

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

2024-01-24 Thread Martin Landa via grass-dev
Hi, st 24. 1. 2024 v 15:22 odesílatel Nicklas Larsson napsal: > I too would have been surprised if glibc wasn’t there. (I’m shooting from > the hips :-). > > You can investigate the "config.log” for hopefully more detailed > information on why the math library configure test failed. > oh, it is

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

2024-01-24 Thread Nicklas Larsson via grass-dev
I too would have been surprised if glibc wasn’t there. (I’m shooting from the hips :-). You can investigate the "config.log” for hopefully more detailed information on why the math library configure test failed. > On 24 Jan 2024, at 14:59, Martin Landa wrote: > > Hi, > > st 24. 1. 2024 v 14:

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

2024-01-24 Thread Martin Landa via grass-dev
Hi, st 24. 1. 2024 v 14:46 odesílatel Nicklas Larsson napsal: > Another thought, configure fails at locating the math library which is > part of standard C library. If not installed, you’ll probably need `glibc`. > it would be strange that this core dependency wouldn't be installed by `apt buil

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

2024-01-24 Thread Nicklas Larsson via grass-dev
This link might help: https://www.debian.org/doc/manuals/debian-reference/ch12.en.html#_coding_in_compiled_languages > On 24 Jan 2024, at 14:46, Nicklas Larsson wrote: > > Another thought, configure fails at locating the math library which is part > of standard C library. If not installed, you

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

2024-01-24 Thread Nicklas Larsson via grass-dev
Another thought, configure fails at locating the math library which is part of standard C library. If not installed, you’ll probably need `glibc`. > On 24 Jan 2024, at 14:00, Nicklas Larsson via grass-dev > wrote: > > Martin, > > Noting that you use a non-default prefix, you may need to add

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

2024-01-24 Thread Martin Landa via grass-dev
Hi Niclas, st 24. 1. 2024 v 14:00 odesílatel Nicklas Larsson 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/incl

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

2024-01-24 Thread Nicklas Larsson via grass-dev
Martin, 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 su

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

2024-01-24 Thread Martin Landa via grass-dev
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 -Wextr