public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Whither perl-CPAN-Meta-Requirements?
@ 2017-12-18 18:07 Norton Allen
  2017-12-19  1:29 ` Achim Gratz
  0 siblings, 1 reply; 3+ messages in thread
From: Norton Allen @ 2017-12-18 18:07 UTC (permalink / raw)
  To: cygwin list

I am trying to install a perl module using cpan (target module not 
available via cygwin setup), and the process is failing due to an 
out-of-date CPAN::Meta::Requirements module. I searched the cygwin 
package list, and perl-CPAN-Meta-Requirements-2.140-2 appears there (I'm 
looking in x86_64), but it does not show up in cygwin setup until I 
uncheck "hide obsolete packages," and then the latest version appears as 
a "dummy". Same with perl-CPAN-Meta. I can apparently select an older 
version (and I may still try that), but I am confused by the packaging.

Did these get absorbed into some other package? I do see some of the 
files exist in perl_base-5.26.1-1, which I have installed, but that 
apparently does not provide a recent enough version of 
CPAN::Meta::Requirements.

Have I entered version hell by using cpan?

Is there a better way?



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Whither perl-CPAN-Meta-Requirements?
  2017-12-18 18:07 Whither perl-CPAN-Meta-Requirements? Norton Allen
@ 2017-12-19  1:29 ` Achim Gratz
  2017-12-19  5:35   ` Norton Allen
  0 siblings, 1 reply; 3+ messages in thread
From: Achim Gratz @ 2017-12-19  1:29 UTC (permalink / raw)
  To: cygwin

Norton Allen writes:
> I am trying to install a perl module using cpan (target module not
> available via cygwin setup), and the process is failing due to an
> out-of-date CPAN::Meta::Requirements module.
[…]

This module (like a few others) is built into Perl core itself and no
newer version is available on CPAN yet.  Hence currently there is only a
dummy module available for Cygwin which ensures that any installations
from older Perl versions get uninstalled (you couldn't use them anyway
since they'd be in the installation for the old Perl).

> Did these get absorbed into some other package? I do see some of the
> files exist in perl_base-5.26.1-1, which I have installed, but that
> apparently does not provide a recent enough version of
> CPAN::Meta::Requirements.

The installed version is exactly what you are asking for:

$ corelist -v 5.026001 CPAN::Meta::Requirements
CPAN::Meta::Requirements 2.140

You probably also need to install the perl package itself if you
haven't, perl_base is there only for satisfying some common dependencies
without incurring the overhead of a full installation.

Running the cpan shell works for me and it's not requesting me to do any
updates either.

> Have I entered version hell by using cpan?

I'm not sure what exactly you did, so I can't comment.  Maybe clean up
your installation, re-install perl and try again?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Whither perl-CPAN-Meta-Requirements?
  2017-12-19  1:29 ` Achim Gratz
@ 2017-12-19  5:35   ` Norton Allen
  0 siblings, 0 replies; 3+ messages in thread
From: Norton Allen @ 2017-12-19  5:35 UTC (permalink / raw)
  To: cygwin

On 12/18/2017 2:29 PM, Achim Gratz wrote:
> Norton Allen writes:
>> I am trying to install a perl module using cpan (target module not
>> available via cygwin setup), and the process is failing due to an
>> out-of-date CPAN::Meta::Requirements module.
> […]
>
> This module (like a few others) is built into Perl core itself and no
> newer version is available on CPAN yet.  Hence currently there is only a
> dummy module available for Cygwin which ensures that any installations
> from older Perl versions get uninstalled (you couldn't use them anyway
> since they'd be in the installation for the old Perl).
>
>> Did these get absorbed into some other package? I do see some of the
>> files exist in perl_base-5.26.1-1, which I have installed, but that
>> apparently does not provide a recent enough version of
>> CPAN::Meta::Requirements.
> The installed version is exactly what you are asking for:
>
> $ corelist -v 5.026001 CPAN::Meta::Requirements
> CPAN::Meta::Requirements 2.140
>
> You probably also need to install the perl package itself if you
> haven't, perl_base is there only for satisfying some common dependencies
> without incurring the overhead of a full installation.
>
> Running the cpan shell works for me and it's not requesting me to do any
> updates either.
>
>> Have I entered version hell by using cpan?
> I'm not sure what exactly you did, so I can't comment.  Maybe clean up
> your installation, re-install perl and try again?
>
>
> Regards,
> Achim.
Thanks Achim! I think what happened was that somewhere along the line I 
installed something with cpan that wanted to upgrade that module, and I 
had setup to add my cpan updates to a personal directory which I put at 
the front of my Perl5 lib path... When the core got updated, the newer 
version was hidden behind the personal directory. It's always something! 
Reinstalling was next on my list.
-N


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-19  1:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-18 18:07 Whither perl-CPAN-Meta-Requirements? Norton Allen
2017-12-19  1:29 ` Achim Gratz
2017-12-19  5:35   ` Norton Allen

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).