Re: software install problem perl module



On 02/21/2012 05:32 PM, Avi Greenbury wrote:
CJ Tres wrote:

Attempting to install a software I get an error that the maintainer
tells me indicates that "it needs the Perl module 'Std::Class'"

Googling I found nothing helpful, at least as near as I can tell not
being a programmer.
Anyone have a clue?


If I do

apt-cache search perl std class

In the results is:

libclass-std-perl - Support for creating standard "inside-out" classes

Which is probably what you want. For CPAN modules in the repositories,
generally you find they take the name of the module on CPAN:

Std::Class

Make it all lower-case:

std::class

Replace any double-colons with a hyphen:

std-class

then put it between 'lib' and '-perl':

libstd-class-std-perl

"Unable to locate libstd-class-std-perl"

I did find one page that suggested installing libclass-std-utils-perl
(also for creating standard "inside-out" classes according to the package info) it listed libversion-perl as a dependency which I also installed, but afterward, running "perl -e 'use Class::Std'", it yielded the same error about not locating Class/Std.pm - same as when trying to install the software, which the maintainer tells me means I don't have the module installed.

Ah well... I thought I might learn something but according to the maintainer, it's an obscure and not commonly installed module and thought it might be a successful work around if I could find the package and install it.

Appreciate the reply.



--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Question for this Group ... dont flame me :)
    ... FLAME! ... on your distribution you do get them with the base install. ... > don't have access to install modules that run in a production environment. ... ability to install CPAN modules and keep a local repository. ...
    (perl.beginners)
  • Re: Perl, Mail, Mime & Multipart....
    ... it such that it sends out both a text portion and an HTML portion. ... And then there are CPAN modules that simply refuse to install without errors, or 'force' install with some errors, so you're never quite sure whether they'll run correctly or not. ... Unfortunately POE wouldn't install on the new system for some obscure reason. ...
    (comp.lang.perl.misc)
  • Help - How do I install Perl (CPAN) on Windows ?
    ... I downloaded the ActiveState perl msi from: ... I can find these things quite easily but how do I install them? ... install CPAN modules quickly and simply. ... configuration file for this (with some meaningful documentation ...
    (comp.lang.perl.misc)
  • Re: How to install all the cpan modules?
    ... I want to either install all cpan modules (if they don't take ... too much disk spaces) or install a module on demand with just one ... mirror a minicpan and use the command cpan to install what you want, ...
    (comp.lang.perl.misc)
  • Re: OO Perl
    ... server for every project. ... to install your OO module too if you want to use your other modules. ... each EAR, so it will be installed 150 to 200 times;-)). ... CPAN modules, but that you found that too cumbersome. ...
    (comp.lang.perl.misc)