| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
| Subject: | Re: No DBI module when installing Perl 5.14 |
| Date: | Mon, 23 Jul 2012 09:29:28 -0700 |
| Lines: | 37 |
| Message-ID: | <500D7BE8.9070305@DeFaria.com> |
| References: | <jujnaf$g4l$1 AT dough DOT gmane DOT org> <CAHiT=DGggrV6Tuwa7FG1Z+tEfVq+2fm-L9c_-piwX8qY7y2mgw AT mail DOT gmail DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
| In-Reply-To: | <CAHiT=DGggrV6Tuwa7FG1Z+tEfVq+2fm-L9c_-piwX8qY7y2mgw@mail.gmail.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 07/23/2012 08:41 AM, Reini Urban wrote:
> On Mon, Jul 23, 2012 at 9:32 AM, Andrew DeFaria wrote:
>> I recently updated my Cygwin to 1.7.16. With this came Perl 5.14.2. While
>> the update when fine, after updating I restarted a service that I wrote in
>> Perl that used DBI. To my surprise it failed saying it couldn't find the DBI
>> module. I used cpan to reinstall it but I was wondering if it was
>> intentional that DBI would be missing after upgrading to 5.14.2.
> DBI also did not come with perl-5.10, you installed it by yourself.
>
> Check my update recipe from the announcement mail:
> http://cygwin.com/ml/cygwin-announce/2012-07/msg00011.html
>
> Update recommendations from 5.10:
> --------------------------------------------------
> Since 5.14 is not installed in parallel to 5.10, all your old 5.10 binary XS
> modules will need to be reinstalled for 5.14.
>
> BEFORE INSTALLATION of this 5.14
> # get the list of your installed 5.10 modules
> $ perl -MExtUtils::Installed \
> -e'print join("\n", new ExtUtils::Installed->modules)' > module.list
>
> AFTER INSTALLATION of 5.14
> # install all previous modules for 5.10 and older
> $ cpan `cat module.list`
>
> PS: doing the cpanm dance with xargs is not recommended as it forks too much.
> $ perl -MExtUtils::Installed \
> -e'print join("\n", new ExtUtils::Installed->modules)' | xargs cpan
>
OK, I wasn't paying close attention.
Thanks for the info.
--
Andrew DeFaria <http://defaria.com>
Never wrestle with a pig. You both get dirty and the pig likes it.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |