bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] gawk can't find libreadline when cross compiling


From: arnold
Subject: Re: [bug-gawk] gawk can't find libreadline when cross compiling
Date: Wed, 29 Oct 2014 00:46:20 -0600
User-agent: Heirloom mailx 12.4 7/29/08

Hi.

Thanks for the mail.

Readline is a special case and cross-compiling doesn't work; the configure
script creates an executable and runs it to see if things work as needed.

You can fix this in m4/readline.m4 and rebuild configure; another option
is to submit a patch to that file such that if cross compiling and the
libraries are there, sets things to true.

If you can't do this and don't mind trying out patches, I can try to
cobble something together and work with you offline to test it out.

Thanks,

Arnold

Christer Solskogen <address@hidden> wrote:

> checking whether readline via "-lreadline" is present and sane... no
> checking whether readline via "-lreadline -ltermcap" is present and 
> sane... no
> checking whether readline via "-lreadline -lcurses" is present and 
> sane... no
> checking whether readline via "-lreadline -lncurses" is present and 
> sane... no
>
> But I *really* do have libreadline.so, libtermcap.so, libcurses.so and 
> libncurses.so. Also, adding:
> #define HAVE_LIBREADLINE 1
> into config.h after configure and add LIBREADLINE="-lreadline -lncurses" 
> to make seems to work just fine. No trouble compiling, and the libraries 
> are correctly linked.
>
> The configure script have no trouble finding mpfr when it is cross compiled.
> checking whether mpfr via "-lmpfr -lgmp" is present and usable... yes
>
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]