in reply to problem installing module Term::ReadLine::Gnu

If you look at CPAN testers results, then it seems that the module has many problems on most platforms and perl versions. Especially it seems that nobody was able to compile and pass all tests on perl 5.10.0.
  • Comment on Re: problem installing module Term::ReadLine::Gnu

Replies are listed 'Best First'.
Re^2: problem installing module Term::ReadLine::Gnu
by GertMT (Hermit) on Dec 10, 2007 at 21:21 UTC
    okay, thanks. I'll make note of that site for future reference
Re^2: problem installing module Term::ReadLine::Gnu
by syphilis (Archbishop) on Dec 10, 2007 at 23:39 UTC
    it seems that the module has many problems on most platforms and perl versions

    Not that I checked all of the failure reports, but I couldn't find one that failed in the same way as happened for the op. In the vast majority of cases, the module compiled ... but not in this particular instance.

    GertMT, a better clue to the cause of the failure might have been given earlier - so it might be worth giving us a look at the *entire* make output.

    The README in the Term-ReadLine-Gnu-1.16 source distro states:
    "You must have GNU Readline Library Version 2.1 or later. See INSTALL for more detail."

    Do you satisfy that requirement ?

    Cheers,
    Rob
      mmhh, you're right. I do not satisfy this requirement. Haven't read the documentation well enough, apologies.
      Just tried to install GNU Readline Library Version 2.1 but didn't manage to do that.
      checking host system type... configure: error: can not guess host type +; you must specify one
      I'm more of a perl user than programmer so I'm stuck here.
      Gert
        Just tried to install GNU Readline Library Version 2.1 but didn't manage to do that

        I don't have any experience in trying to build the ReadLine library ... so I'm not very well qualified to be giving advice :-)

        But firstly, afaict, the latest version is 5.2 - and you would probably be better off trying to install that version (rather than 2.1). When they say that 2.1 is required, they really mean that "2.1 or later" is required.

        The actual error you got (which, I assume, was produced when running ./configure) would indicate that ./configure was unable to determine your OS/architecture. What does ./config.guess report ?

        Perhaps the ability to guess correctly has been enhanced in the latest version of Gnu ReadLine ?

        Is there, perchance, an RPM of a suitably recent version of Gnu ReadLine that you could install (thereby eliminating the need for you to build it yourself) ?

        Cheers,
        Rob