Sylla has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I am unable to install a perl module from CPAN. I don't know where to report this problem, but essentially, the url for downloading the prereq changed and CPAN isn't updated with the new url.... so CPAN melts down. Now, I could do this manually but I need to do it through CPAN because of script automation and multiple server set ups.

the old url and being used by CPAN is ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/

and the new url is http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.11.0.tar.gz

I don't know how to go about getting this fixed.

Can you help me with this?

Sincerely,
Sylla

Replies are listed 'Best First'.
Re: Unable to install Perl Module
by haukex (Archbishop) on Jul 24, 2018 at 16:25 UTC

    Based on a grep of CPAN, I'm assuming you're talking about Math::Pari (Update before posting: yep). This issue appears to have been reported as #125893 and #82669. The first of those appears to contain a patch which you could try.

Re: Unable to install Perl Module
by hippo (Archbishop) on Jul 24, 2018 at 16:07 UTC
    I don't know how to go about getting this fixed.

    Hello Sylla and welcome to the Monastery.

    The approved procedure is to report this problem to the maintainer(s) of the module. Unfortunately, since you haven't said which module it is that you are unable to install it becomes difficult to provide specifics. Many modules use https://rt.cpan.org/ as their bug tracker but not all.

    If you would like to mention here which module (and which version) you are trying to install, which method specifically you are using to perform the install and which Operating System your platform uses I'm sure that more specific help could be provided.

      Hello,

      The module I am trying to install is Math::Pari, but the reason it fails is because of the prereq GP/Pari which is a library. I think it's just the url to that library changed and that is why the install ends up hanging.

      Sincerely,
      Sylla

        That would make sense. It is a known bug - have a look at that link and you will see that the module maintainer is aware of and may be able to fix the problem. If you think that the new FTP URL listed there will work for you then just keep an eye out for a new release of Math::Pari which should hopefully fix this.

        Until then, perhaps if you pre-install the pari library before trying to install the module it might succeed.

      approved procedure ? Not necessarily