Cannot install Perl Modules

Hi.
I am installing Bugzilla in my SUSE server.
It requires some Perl modules to be pre-installed.
I am unable to install those Perl modules.
I receive the following message when I try to install any of the modules:

[COLOR="#FF0000"]Has already been unwrapped into directory /root/.cpan/build/List-MoreUtils-0.33-TatoG0
Has already been made
Skipping test because of notest pragma
Running make install
Already done[/COLOR]

What should I do to install the modules properly ?

Thanks in advance.

Hi
Install the already packaged rpm rather than via cpan?

zypper in perl-List-MoreUtils


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.93-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

On 30/10/2013 11:45, malcolmlewis wrote:
[color=blue]

Install the already packaged rpm rather than via cpan?

zypper in perl-List-MoreUtils [/color]

And for those Perl modules which are not readily available as a packaged
RPM you can install modules from CPAN. See
https://www.novell.com/communities/node/9222/how-add-additional-perl-modules-your-linux-installation
for a Cool Solutions article I wrote on how to do this.

HTH.

Simon
SUSE Knowledge Partner


If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.

It’s not in SLES though, only the SDK

# zypper packages | grep perl-List-MoreUtils | SLE11-SDK-SP3-Core | perl-List-MoreUtils | 0.22-2.8 | x86_64 #

SLE 11 SP3 SDK is at
http://download.novell.com/Download?buildid=hF8sRGTVC04~&ref=suse
you only need CD1. If you’re not using SLES 11 SP3 you need you get a different version of the SDK which matches the version of SLES you’re using. http://download.novell.com/ and look in the ‘Product or Technology (optional)’ list for ‘SUSE Linux Enterprise Software Development Kit’

I need to install the following perl modules:
[COLOR="#FF0000"]DateTime
DateTime::TimeZone
Email::Send
Email::MIME [/COLOR]
But when I execute the following command,
[COLOR="#FF0000"]/usr/bin/perl install-module.pl DateTime[/COLOR]
I get the following output:
[COLOR="#FF0000"]
Constant subroutine Bugzilla::Constants::contenttypes redefined at /usr/lib/perl5/5.10.0/constant.pm line 115.
Checking for CPAN (v1.81) ok: found v1.92
Checking for YAML (any) ok: found v0.66
Checking for ExtUtils-MakeMaker (v6.31) ok: found v6.78
CPAN: Storable loaded ok (v2.45)
Going to read /root/.cpan/Metadata
Database was generated on Wed, 30 Oct 2013 00:41:02 GMT
Going to read /root/.cpan/build/
…DONE
Found 127 old builds, restored the state of 127
Installing DateTime version 1.03…
Running install for module ‘DateTime’
Running Build for D/DR/DROLSKY/DateTime-1.03.tar.gz
CPAN: Digest::SHA loaded ok (v5.85)
Checksum was ok
CPAN: Compress::Zlib loaded ok (v2.008)
DateTime-1.03/
DateTime-1.03/inc/
DateTime-1.03/inc/MyModuleBuild.pm
DateTime-1.03/MANIFEST
DateTime-1.03/leaptab.txt
DateTime-1.03/t/
DateTime-1.03/t/release-pp-10subtract.t
DateTime-1.03/t/21bad-params.t
DateTime-1.03/t/20infinite.t
DateTime-1.03/t/33seconds-offset.t
DateTime-1.03/t/release-pod-spell.t
DateTime-1.03/t/09greg.t
DateTime-1.03/t/release-pp-42duration-class.t
DateTime-1.03/t/31formatter.t
DateTime-1.03/t/release-pp-33seconds-offset.t
DateTime-1.03/t/04epoch.t
DateTime-1.03/t/release-pp-05set.t
DateTime-1.03/t/release-pp-44set-formatter.t
DateTime-1.03/t/release-pp-43new-params.t
DateTime-1.03/t/release-pp-19leap-second.t
DateTime-1.03/t/release-pp-37local-add.t
DateTime-1.03/t/release-pp-00load.t
DateTime-1.03/t/38local-subtract.t
DateTime-1.03/t/release-pp-27delta.t
DateTime-1.03/t/release-pp-02last-day.t
DateTime-1.03/t/release-no-tabs.t
DateTime-1.03/t/11duration.t
DateTime-1.03/t/44set-formatter.t
DateTime-1.03/t/42duration-class.t
DateTime-1.03/t/release-pp-40leap-years.t
DateTime-1.03/t/05set.t
DateTime-1.03/t/30future-tz.t
DateTime-1.03/t/release-pp-29overload.t
DateTime-1.03/t/25add-subtract.t
DateTime-1.03/t/release-pp-24from-object.t
DateTime-1.03/t/12week.t
DateTime-1.03/t/15jd.t
DateTime-1.03/t/27delta.t
DateTime-1.03/t/19leap-second.t
DateTime-1.03/t/release-pp-12week.t
DateTime-1.03/t/release-pp-31formatter.t
DateTime-1.03/t/13strftime.t
DateTime-1.03/t/36invalid-local.t
DateTime-1.03/t/release-pp-21bad-params.t
DateTime-1.03/t/14locale.t
DateTime-1.03/t/author-test-all-my-deps.t
DateTime-1.03/t/release-pod-linkcheck.t
DateTime-1.03/t/37local-add.t
DateTime-1.03/t/32leap-second2.t
DateTime-1.03/t/28dow.t
DateTime-1.03/t/29overload.t
DateTime-1.03/t/release-pp-32leap-second2.t
DateTime-1.03/t/release-eol.t
DateTime-1.03/t/10subtract.t
DateTime-1.03/t/release-pp-07compare.t
DateTime-1.03/t/release-pp-18today.t
DateTime-1.03/t/release-pp-28dow.t
DateTime-1.03/t/22from-doy.t
DateTime-1.03/t/release-pod-syntax.t
DateTime-1.03/t/release-pp-41cldr-format.t
DateTime-1.03/t/24from-object.t
DateTime-1.03/t/17set-return.t
DateTime-1.03/t/16truncate.t
DateTime-1.03/t/release-pp-23storable.t
DateTime-1.03/t/40leap-years.t
DateTime-1.03/t/release-pp-06add.t
DateTime-1.03/t/07compare.t
DateTime-1.03/t/26dt-leapsecond-pm.t
DateTime-1.03/t/release-pp-04epoch.t
DateTime-1.03/t/release-pp-15jd.t
DateTime-1.03/t/release-pp-09greg.t
DateTime-1.03/t/release-pp-34set-tz.t
DateTime-1.03/t/release-pod-coverage.t
DateTime-1.03/t/release-pp-11duration.t
DateTime-1.03/t/39no-so.t
DateTime-1.03/t/03components.t
DateTime-1.03/t/release-pp-13strftime.t
DateTime-1.03/t/release-pp-01sanity.t
DateTime-1.03/t/release-cpan-changes.t
DateTime-1.03/t/release-pp-25add-subtract.t
DateTime-1.03/t/release-pp-17set-return.t
DateTime-1.03/t/release-pp-03components.t
DateTime-1.03/t/00load.t
DateTime-1.03/t/43new-params.t
DateTime-1.03/t/06add.t
DateTime-1.03/t/release-pp-35rd-values.t
DateTime-1.03/t/release-pp-20infinite.t
DateTime-1.03/t/02last-day.t
DateTime-1.03/t/35rd-values.t
DateTime-1.03/t/23storable.t
DateTime-1.03/t/34set-tz.t
DateTime-1.03/t/41cldr-format.t
DateTime-1.03/t/release-pp-22from-doy.t
DateTime-1.03/t/01sanity.t
DateTime-1.03/t/18today.t
DateTime-1.03/t/release-pp-30future-tz.t
DateTime-1.03/t/release-pp-16truncate.t
DateTime-1.03/t/release-pp-36invalid-local.t
DateTime-1.03/t/release-load-is-xs.t
DateTime-1.03/t/release-pp-14locale.t
DateTime-1.03/t/release-pp-38local-subtract.t
DateTime-1.03/lib/
DateTime-1.03/lib/DateTime/
DateTime-1.03/lib/DateTime/Duration.pm
DateTime-1.03/lib/DateTime/Helpers.pm
DateTime-1.03/lib/DateTime/LeapSecond.pm
DateTime-1.03/lib/DateTime/Infinite.pm
DateTime-1.03/lib/DateTime.xs
DateTime-1.03/lib/DateTimePPExtra.pm
DateTime-1.03/lib/DateTimePP.pm
DateTime-1.03/lib/DateTime.pm
DateTime-1.03/README
DateTime-1.03/tools/
DateTime-1.03/tools/leap_seconds_header.pl
DateTime-1.03/LICENSE
DateTime-1.03/META.yml
DateTime-1.03/CREDITS
DateTime-1.03/Changes
DateTime-1.03/META.json
DateTime-1.03/INSTALL
DateTime-1.03/Build.PL
DateTime-1.03/c/
DateTime-1.03/c/leap_seconds.h
DateTime-1.03/c/ppport.h
DateTime-1.03/dist.ini
DateTime-1.03/TODO
CPAN: File::Temp loaded ok (v0.2301)
---- Unsatisfied dependencies detected during ----
---- DROLSKY/DateTime-1.03.tar.gz ----
Module::Build [build_requires]
Skipping test because of notest pragma
Running Build install
Make had some problems, won’t install
Delayed until after prerequisites
Running install for module ‘Module::Build’
Running Build for L/LE/LEONT/Module-Build-0.4007.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Module-Build-0.4007-1zEGUO
Has already been made
Skipping test because of notest pragma
Running Build install
Already done
Running Build for D/DR/DROLSKY/DateTime-1.03.tar.gz
Has already been unwrapped into directory /root/.cpan/build/DateTime-1.03-l19FPC
'/usr/bin/perl Build.PL ’ returned status 2304, won’t make
Skipping test because of notest pragma
Running Build install
Make had some problems, won’t install[/COLOR]

How can I successfully install the modules ?

Hi
As indicated by Mike, add the SLE SDK for your release and add the
required modules either via zypper or YaST.

Any missing ones should be found here;
http://download.opensuse.org/repositories/devel:/languages:/perl/
Unsupported as such.

As to why you can’t build via cpan, not really sure. Maybe move
your .cpan folder and start again.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.93-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Hi dghere,

How can I successfully install the modules ?

if you want to continue the CPAN approach, please follow the advice already given and move away your current CPAN directory (/root/.cpan) to start from scratch. It looks like you have quite some previous builds in there, probably from old releases, and something is confusing the dependency checks.

Regards,
Jens