[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems installing Perl modules with CPAN on Wheezy

On Fri, Jun 27, 2014 at 03:59:59PM +0100, Andrew Wood wrote:
> Im not experienced with Perl so I dont know much about CPAN but on Jessie I
> have been able to install DBI and the DBD::mysqlPP modules using
> cpan DBI
> cpan DBD::mysqlPP

For the record, you might find it more useful to check if Debian has a
package first, before resorting to CPAN. Debian usually refers to perl
modules as lib<package>-<subpackage>-perl (so DBI becomes libdbi-perl,
DBB::Mysql becomes libdb-mysql-perl and so on).

The advantage of getting the package from Debian is the same as for any
other software: updates come in just like any other package, security
updates are handled in a stable manner and so on. If you install a
package through CPAN, then you have to remember to keep it up to date,
you have to handle possible version mismatches and so on.

Sometimes you do have to resort to installing from CPAN, but it behooves
a good operator to check Debian first :)

> however on Wheezy I just get the following...
> <snipped>
> Checking if your kit is complete...
> Looks good
>     I see you're using perl 5.014002 on i486-linux-gnu-thread-multi-64int,
> okay.
>     Remember to actually *read* the README file!
>     Use  'make' to build the software (dmake or nmake on Windows).
>     Then 'make test' to execute self tests.
>     Then 'make install' to install the DBI and then delete this working
>     directory before unpacking and building any DBD::* drivers.
> Writing Makefile for DBI
> Writing MYMETA.yml
>   TIMB/DBI-1.631.tar.gz
>   make -- NOT OK
> 'YAML' not installed, will not store persistent state
> Running make test
>   Can't test without successful make
> Running make install
>   Make had returned bad status, install seems impossible
> Can anyone please enlighten me as to why this works on Jessie but not
> Wheezy?
> Thanks
> Andrew
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 53AD86EF.6010009@perpetualmotion.co.uk">https://lists.debian.org/[🔎] 53AD86EF.6010009@perpetualmotion.co.uk

Reply to: