GNU bug report logs - #36170
configure fails on FreeBSD

Previous Next

Package: guile;

Reported by: Roger Mason <rmason <at> mun.ca>

Date: Tue, 11 Jun 2019 14:14:04 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Roger Mason <rmason <at> mun.ca>
To: Mark H Weaver <mhw <at> netris.org>
Cc: Roger Mason <rmason <at> mun.ca>, 36170 <at> debbugs.gnu.org
Subject: bug#36170: configure fails on FreeBSD
Date: Wed, 12 Jun 2019 12:33:29 -0230
Hello Mark,

Mark H Weaver <mhw <at> netris.org> writes:

>> I note also that configure claims my readline library is too old (<
>> 2.1), but I have:
>>
>> pkg info -x readline
>> readline-7.0.5
>
> Something went wrong here.  The relevant check involves compiling a
> small test program that references 'rl_getc_function', which was
> apparently added in readline 2.1.  Something must have gone wrong
> compiling that test program.
>
> After running ./configure, there should be a file 'config.log' which
> includes the failed test program, the compile command used to compile
> it, and the compiler error messages.  Can you search for 'readline' in
> that file and see what went wrong?
>
>       Thanks,
>         Mark

config.log says:

configure:54907: cc -std=gnu11 -o conftest -I/usr/local/include -g -O2
-I/usr/local/include conftest.c -lreadline -lncurses -lcrypt -lm >&5

/usr/bin/ld: cannot find -lreadline

So the error message is a bit misleading.

Cheers,
Roger




This bug report was last modified 5 years and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.