Date: Fri, 04 Feb 2005 20:14:18 +0100 From: Mathieu Arnold <mat@mat.cc> To: Anton Berezin <tobez@FreeBSD.org>, A K <kkapp@rambler.ru> Cc: Daren Desjardins <desjardins@canada.com> Subject: Re: Perl 5.8.6 upgrade Message-ID: <5C2EAEAA832D1680E05C9C6D@[192.168.1.5]> In-Reply-To: <20050204173656.GB8366@heechee.tobez.org> References: <4200F3B3.7050706@canada.com> <813911377.1107434232.147437664.80111@mcgi2.rambler.ru> <20050203124845.GD15084@heechee.tobez.org> <1004303803.1107525198.147315880.81488@mcgi2.rambler.ru> <20050204135706.GC52914@heechee.tobez.org> <20050204173656.GB8366@heechee.tobez.org>
next in thread | previous in thread | raw e-mail | index | archive | help
+-Le 04/02/2005 18:36 +0100, Anton Berezin a dit : | On Fri, Feb 04, 2005 at 02:57:06PM +0100, Anton Berezin wrote: |> On Fri, Feb 04, 2005 at 04:53:18PM +0300, A K wrote: |> > * Anton Berezin <tobez@FreeBSD.org> [Thu, 3 Feb 2005 13:48:45 +0100]: |> > > > > How necessary is it to rebuild all perl ports? |> > > > You can copy `5.8.5' dirs under /usr/local/lib/perl5/site_perl to |> > > > `5.8.6' (or add 5.8.5 to PERL5LIB) as a desperate measure but that |> > > > is not supported and will probably break some modules. |> > > Actually, this should work just fine, if at the same time the |> > > corresponding /var/db/pkg/ entries are modified accordingly, and all |> > > relevant scripts in LOCALBASE/bin and X11BASE/bin have their shebangs |> > > modified. |> > |> > And user is warned that XS modules can break :) |> |> Of course, anything can break, but I would worry more about things with |> their own little config files with the old paths in them. The script at |> least tries to not touch things installed by older binary incompatible |> perls (the $Config::Config{api_XXXX} part in the code). | | Another failure mode is of course those packages that link against perl. | These will probably have to be discovered and re-compiled (although in | my case sed -i.bak -e 's|5\.8\.5|5.8.6|' /usr/local/bin/vim was quite | enough to fix vim with perl). :-) I've been doing some kind of : ldconfig -m $(dirname $(locate libperl.so)) And it has worked pretty good until now :-) -- Mathieu Arnold
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C2EAEAA832D1680E05C9C6D>