This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin-Perl upgrade and modules


Gary wrote:

> The other day, I decided to finally update all my cygwin packages with
> setup.exe -- including perl. Went from 5.8.0 to 5.8.5 and now realize that
> the path to all the modules I installed is under the older version at
> /usr/lib/perl5/site_perl/5.8.0 instead of  /usr/lib/perl5/site_perl/5.8.5.
> I've always shied away from upgrading perl in Linux so don't have much
> experience dealing with modules from older installations. Must I re-install
> all these modules, or can I add a path to them in my scripts, or should I
> revert back to the older version of perl and if so, how? Any help
> appreciated.

It is not binary compatible (IIRC, 5.8.0 was not threaded), so you
should recompile all modules which require compilation, pure perl
modules may be moved from 5.8.0 to 5.8.5 path, however I always rebuild
them from scratch. 

The autobundle command in a CPAN shell is meant to create a list of
packages which you have installed (run before unistalling), after update
you may simply run `install autobundle_$date` in the CPAN shell, this
pulls all listed modules and tries to install it.


Gerrit
-- 
=^..^=                                     http://nyckelpiga.de/donate.html


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]