public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* No DBI module when installing Perl 5.14
@ 2012-07-23 14:33 Andrew DeFaria
  2012-07-23 15:41 ` Reini Urban
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew DeFaria @ 2012-07-23 14:33 UTC (permalink / raw)
  To: cygwin

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.
-- 
Andrew DeFaria <http://defaria.com>
Don't make no sense that common sense don't make no sense no more. - 
John Prine


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

* Re: No DBI module when installing Perl 5.14
  2012-07-23 14:33 No DBI module when installing Perl 5.14 Andrew DeFaria
@ 2012-07-23 15:41 ` Reini Urban
  2012-07-23 16:29   ` Andrew DeFaria
  2012-07-23 20:56   ` Yaakov (Cygwin/X)
  0 siblings, 2 replies; 5+ messages in thread
From: Reini Urban @ 2012-07-23 15:41 UTC (permalink / raw)
  To: cygwin

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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No DBI module when installing Perl 5.14
  2012-07-23 15:41 ` Reini Urban
@ 2012-07-23 16:29   ` Andrew DeFaria
  2012-07-23 20:56   ` Yaakov (Cygwin/X)
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew DeFaria @ 2012-07-23 16:29 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: No DBI module when installing Perl 5.14
  2012-07-23 15:41 ` Reini Urban
  2012-07-23 16:29   ` Andrew DeFaria
@ 2012-07-23 20:56   ` Yaakov (Cygwin/X)
  2012-07-24  4:10     ` Andrew DeFaria
  1 sibling, 1 reply; 5+ messages in thread
From: Yaakov (Cygwin/X) @ 2012-07-23 20:56 UTC (permalink / raw)
  To: cygwin

On 2012-07-23 10:41, 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.

There is a perl-DBI package in the distro, which has been updated for 5.14.


Yaakov


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

* Re: No DBI module when installing Perl 5.14
  2012-07-23 20:56   ` Yaakov (Cygwin/X)
@ 2012-07-24  4:10     ` Andrew DeFaria
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew DeFaria @ 2012-07-24  4:10 UTC (permalink / raw)
  To: cygwin

On 07/23/2012 01:55 PM, Yaakov (Cygwin/X) wrote:
> On 2012-07-23 10:41, 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.
>
> There is a perl-DBI package in the distro, which has been updated for 
> 5.14.
>
>
> Yaakov
Thanks but I've already updated it through cpan(1).
-- 
Andrew DeFaria <http://defaria.com>
The problem with the gene pool is that there is no lifeguard.


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

end of thread, other threads:[~2012-07-24  4:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-23 14:33 No DBI module when installing Perl 5.14 Andrew DeFaria
2012-07-23 15:41 ` Reini Urban
2012-07-23 16:29   ` Andrew DeFaria
2012-07-23 20:56   ` Yaakov (Cygwin/X)
2012-07-24  4:10     ` Andrew DeFaria

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