public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Updated: Perl Distributions
       [not found] <878u60qvm1.fsf@Rainer.invalid>
@ 2015-11-15  1:42 ` Jim Reisert AD1C
  2015-11-15  8:57   ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Reisert AD1C @ 2015-11-15  1:42 UTC (permalink / raw)
  To: The Cygwin Mailing List, cygwin-announce

> The following Perl distributions have been updated to their latest
> versions available on CPAN.

I normally download needed Perl modules using "cpan get".  Is there
some advantage to getting the modules from the Cygwin distribution
instead?  To be honest, I never think of looking for a Cygwin package
for a given Perl module.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
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] 6+ messages in thread

* Re: Updated: Perl Distributions
  2015-11-15  1:42 ` Updated: Perl Distributions Jim Reisert AD1C
@ 2015-11-15  8:57   ` Achim Gratz
  0 siblings, 0 replies; 6+ messages in thread
From: Achim Gratz @ 2015-11-15  8:57 UTC (permalink / raw)
  To: cygwin

Jim Reisert AD1C writes:
>> The following Perl distributions have been updated to their latest
>> versions available on CPAN.
>
> I normally download needed Perl modules using "cpan get".  Is there
> some advantage to getting the modules from the Cygwin distribution
> instead?

None, if you are willing and able to patch the odd ones to use system
libraries instead of bundled ones, to not treat Cygwin as Win32 (because
hey, there's "win" in that string) and making sure the tests actually
pass, reporting such bugs upstream (preferably with a patch) and
skipping the update or carrying a local patch as long as upstream is
mulling over a fix.  To summarize, not really any more advantages than
getting any other package from the distribution instead of building it
yourself.


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

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

--
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] 6+ messages in thread

* Re: Updated: Perl distributions
  2015-12-18 15:53   ` Achim Gratz
@ 2015-12-19  7:01     ` Jim Reisert AD1C
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Reisert AD1C @ 2015-12-19  7:01 UTC (permalink / raw)
  To: cygwin

On Fri, Dec 18, 2015 at 8:53 AM, Achim Gratz wrote:

> Depends on where you installed them to.  If you installed them into
> /usr/lib/perl5/site_perl, then you will need to remove those modules
> from there (or rename the whole directory if you just need to check what
> else is going to break).  If you've installed to some local::lib, then
> you can just remove the customization that lets Perl know where to find
> these.

Thanks, Achim.  I have not done anything "out of the ordinary" beyond
"cpan module <name>" from withing a Cygwin bash shell.  So it sounds
like I might simply be able to rename my /usr/lib/perl5/site_perl
directory (to, say, .old) and pull in any needed modules from the
Cygwin distribution.  I'll also move ~/.cpan out of the way, but that
probably won't be necessary.

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
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] 6+ messages in thread

* Re: Updated: Perl distributions
  2015-12-18 15:33 ` Updated: Perl distributions Jim Reisert AD1C
@ 2015-12-18 15:53   ` Achim Gratz
  2015-12-19  7:01     ` Jim Reisert AD1C
  0 siblings, 1 reply; 6+ messages in thread
From: Achim Gratz @ 2015-12-18 15:53 UTC (permalink / raw)
  To: cygwin

Jim Reisert AD1C writes:
> Let's say that I installed one of these modules using "cpan
> install..." instead of downloading from the Cygwin repository:
>
>> perl-Archive-Zip-1.55-1
>> etc.
>
> How can I go about reversing that to use the module from the Cygwin
> repository instead?  Is it as simple as downloading the module from
> the Cygwin repository, or do I need to uninstall the module from my
> Perl installation first?

Depends on where you installed them to.  If you installed them into
/usr/lib/perl5/site_perl, then you will need to remove those modules
from there (or rename the whole directory if you just need to check what
else is going to break).  If you've installed to some local::lib, then
you can just remove the customization that lets Perl know where to find
these.


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

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

--
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] 6+ messages in thread

* Re: Updated: Perl distributions
@ 2015-12-18 15:43 Brian Mathis
  0 siblings, 0 replies; 6+ messages in thread
From: Brian Mathis @ 2015-12-18 15:43 UTC (permalink / raw)
  To: cygwin

On Fri, Dec 18, 2015 at 10:33 AM, Jim Reisert AD1C
<jjreisert@alum.mit.edu> wrote:
> Let's say that I installed one of these modules using "cpan
> install..." instead of downloading from the Cygwin repository:
>
>> perl-Archive-Zip-1.55-1
>> etc.
>
> How can I go about reversing that to use the module from the Cygwin
> repository instead?  Is it as simple as downloading the module from
> the Cygwin repository, or do I need to uninstall the module from my
> Perl installation first?
>
> --
> Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us


There is no easy way to remove modules installed via CPAN.  You can
Google how to do it, but it's mostly manual.  You also need to
consider how to handle dependencies that were pulled in.

To avoid this in the future, only install packages using the package
manager (i.e. cygwin setup), and for anything that's not in there, use
the perl local::lib module to setup a dedicated location for any
additional packages you need.

~ Brian

--
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] 6+ messages in thread

* Re: Updated: Perl distributions
       [not found] <87zix91jtr.fsf@Rainer.invalid>
@ 2015-12-18 15:33 ` Jim Reisert AD1C
  2015-12-18 15:53   ` Achim Gratz
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Reisert AD1C @ 2015-12-18 15:33 UTC (permalink / raw)
  To: The Cygwin Mailing List

Let's say that I installed one of these modules using "cpan
install..." instead of downloading from the Cygwin repository:

> perl-Archive-Zip-1.55-1
> etc.

How can I go about reversing that to use the module from the Cygwin
repository instead?  Is it as simple as downloading the module from
the Cygwin repository, or do I need to uninstall the module from my
Perl installation first?

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
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] 6+ messages in thread

end of thread, other threads:[~2015-12-19  7:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <878u60qvm1.fsf@Rainer.invalid>
2015-11-15  1:42 ` Updated: Perl Distributions Jim Reisert AD1C
2015-11-15  8:57   ` Achim Gratz
     [not found] <87zix91jtr.fsf@Rainer.invalid>
2015-12-18 15:33 ` Updated: Perl distributions Jim Reisert AD1C
2015-12-18 15:53   ` Achim Gratz
2015-12-19  7:01     ` Jim Reisert AD1C
2015-12-18 15:43 Brian Mathis

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