delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/12/17:51:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_XF
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <8CCC8F85C5F2784387A32FAD835FB4E60A1D98CF34@server03.company.internal>
References: <8CCC8F85C5F2784387A32FAD835FB4E60A1D98CF34 AT server03 DOT company DOT internal>
Date: Thu, 12 Jul 2012 16:51:18 -0500
Message-ID: <CAHiT=DHuzwaN5vR2EV58NYTUgdugbPMzZTpOmoHDDvbAvYxnGA@mail.gmail.com>
Subject: Re: perl switch question /setup.exe
From: Reini Urban <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Thu, Jul 12, 2012 at 11:13 AM, DEWI - N. Zacharias  wrote:
> As far as I understand the discussion it is necessary to reinstall all modules which are not part of the cygwin packages.

Not all old modules, just the old site_perl/i686-cygwin XS modules.
The others can happily co-exist.
You can also install both perl versions in parallel.
The only conflict is /usr/bin/perl.exe and some scripts in /usr/bin/

Simply install one and then manually extract the other favored perl, like
  tar xfj ...down/http..../release/perl/perl-5.10.1-5.tar.bz2 -C /

> Because this will consume a lot of time (rebase manually after every step etc. ) I want to keep the old Version of perl for some time.

A full reinstall of my ~1000 cpan modules required 2x perlrebase.
Not that much hurt as with 5.10.

> Is there a way to prevent setup.exe installs the new version permanently .

Hack your /etc/setup/installed.db and fake the latest perl version. Be
sure to have a backup patch.
grep perl.*5.10.1 /etc/setup/installed.db

-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019