Compound problems with 3.0.10 build
Alan DeKok
aland at deployingradius.com
Wed Dec 2 19:57:29 CET 2015
On Dec 2, 2015, at 1:45 PM, Sam Hartman <hartmans at mit.edu> wrote:
> I've been having trouble building 3.0.10. I traced it down to a couple
> of badly interacting things.
>
> IN 2b77b7e830222d0192f42efe66cae38f061aa34c two all.mk files were
> introduced in directories that have an all.mk.in.
> I don't understand why that commit is a good idea as configure will
> generate those files.
That commit is wrong. I've pushed a fix to revert it.
> Except it's worse than that because of the logic in makefile for getting
> configure_args.
>
> If you run configure like so,
>
> ./configure LDFLAGS='-L/usr/local/moonshot/lib
> -Wl,--rpath=/usr/local/moonshot/lib'
>
> Then the logic for extracting the configure arguments misses the
> interior quotes.
Yes, because shell scripts are *terrible* about handling quotes and spaces.
> So you end up rerunning configure like
> ./configure LDFLAGS=-L/usr/local/moonshot/lib
> -Wl,--rpath=/usr/local/moonshot/lib
>
> and that second configure line doesn't work as well as you might hope.
>
>
> I think extracting configure_args from the AC_CS_CONFIG setting in
> config.status might work much better.
Hmm... I'll take a look, but I don't think it's that easy. There's no AC_CS_CONFIG in my config logs, output, etc.
Alan DeKok.
More information about the Freeradius-Devel
mailing list