unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Roger Mason <rmason@mun.ca>
To: Mark H Weaver <mhw@netris.org>
Cc: Roger Mason <rmason@mun.ca>, 36170@debbugs.gnu.org
Subject: bug#36170: configure fails on FreeBSD
Date: Wed, 12 Jun 2019 12:33:29 -0230	[thread overview]
Message-ID: <y6536kex2v2.fsf@mun.ca> (raw)
In-Reply-To: <87imtb7oex.fsf@netris.org>

Hello Mark,

Mark H Weaver <mhw@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





  reply	other threads:[~2019-06-12 15:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-11 11:43 bug#36170: configure fails on FreeBSD Roger Mason
2019-06-11 22:22 ` Mark H Weaver
2019-06-12 15:03   ` Roger Mason [this message]
2019-06-12 15:11     ` Roger Mason
2019-06-11 22:41 ` Mark H Weaver
2019-06-12 14:52   ` Roger Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y6536kex2v2.fsf@mun.ca \
    --to=rmason@mun.ca \
    --cc=36170@debbugs.gnu.org \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).