Re: Readline/editline
"Justin C. Walker" <[email protected]>
| Newsgroups | gmane.comp.mathematics.pari.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your response. To your point, I do not use Brew or any of the other “packaging” apps, so that is not the issue. > On Oct 31, 2023, at 05:32 , Bill Allombert <[email protected]> wrote: > > On Wed, Oct 25, 2023 at 03:31:43PM -0700, Justin C. Walker wrote: >> HI, all, >> >> I just rebuilt gp using a different “Configure” line, viz: >> ./Configure --mt=pthread --with-readline --with-gmp --tune >> I previously built without the “—mt” argument. >> >> When I start the previous instance of gp, it shows the presence of >> “libreadline”, but the new instance does not (readline not compiled in). >> >> Output from the new build shows this: >> ### >> ### Editline wrapper detected, building without readline support >> ### >> ### Building without GNU readline support >> >> Any idea why the earlier build worked, but this one did not? FWIW, my >> system is MacOS 10.13.6 (yeah, I know: long in the tooth), and is essentially >> unchanged between the two builds (~1 year apart; both are 2.15.0). > > Maybe you reinstalled brew or you need to pass the path to readline to > Configure with --with-readline=/usr/local or /opt/brew or some such. > See this FAQ entry: <https://pari.math.u-bordeaux.fr/faq.html#mac10readline <https://pari.math.u-bordeaux.fr/faq.html#mac10readline>> > > editline is a fake readline library provided by Apple to waste developper time. I know the problem with edit line, and I have never had a problem avoiding it. My problem, or rather question, is why, when I tried to rebuild 2.15.0 (having built it successfully, roughly a year ago, I had no problems with readline, but this time, readline was not compiled in (the pari replacement was)? Also, FWIW, all I did before this rebuild was to do “make clean” in the source directory. No other changes between builds. BTW, my path to success was to use “-L /usr/…” :-}. In any case, thanks for all your hard work. Justin -- Justin C. Walker, Curmudgeon-At-Large Director Institute for the Enhancement of the Director's Income -------- "Weaseling out of things is what separates us from the animals. Well, except the weasel." - Homer J Simpson --------