perl module install issue


 
Thread Tools Search this Thread
Operating Systems Solaris perl module install issue
# 1  
Old 02-22-2012
perl module install issue

Hi,
I've been trying to install the perl module DateTime-0.72 onto Solaris 10 server.

# uname -a
SunOS 5.10 Generic_142910-17 i86pc i386 i86pc

but I'm getting the following error:

/export/home/perl-modules/DateTime-0.72/> perl Build.PL
Can't locate Module/Build.pm in @INC (@INC contains: /usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at Build.PL line 5.
BEGIN failed--compilation aborted at Build.PL line 5.

version perl I'm using:

# perl -v
This is perl, v5.8.4 built for i86pc-solaris-64int

# which perl
/usr/bin/perl
# ls -la /usr/bin/perl
lrwxrwxrwx 1 root root 25 Feb 20 11:28 /usr/bin/perl -> /usr/perl5/5.8.4/bin/perl

I downloaded latest Module::Build from CPAN but had problems issue with that:

These additional prerequisites must be installed:
requires:
! Perl::OSType (we need version 1.00)
! version (we need version 0.87)
! Module::Metadata (we need version 1.000002)

I've been searching around for a possible solution and can't find one.

Any assistance you be greatly appreciated.
Regards,
Brian.
# 2  
Old 02-22-2012
install the Build module first, then try to install the DateTime-0.72

Code:
perl -MCPAN -e 'install Module::Build';

---------- Post updated at 07:44 PM ---------- Previous update was at 07:41 PM ----------

you can check the dependency modules in the cpan website itself

CPAN dependencies and test results checker: DateTime
# 3  
Old 02-22-2012
I think you have to install below modules also. After that try to install Date::Time

CPAN::Meta
ExtUtils::CBuilder
ExtUtils::ParseXS
Parse::CPAN
Module::Build

You can verify whether the module is existing or not by

perl -e "Use Module::Build"
# 4  
Old 02-22-2012
Hi itkamaraj,
I forgot to mention I can't use the CPAN installer - I don't have outside access.

I tried using a proxy server but that wasn't able to connect.

---------- Post updated at 04:12 PM ---------- Previous update was at 02:19 PM ----------

no joy sanoop;

# perl -e "Use Module::Build"
Can't locate object method "Use" via package "Module::Build" (perhaps you forgot to load "Module::Build"?) at -e line 1.

# perl -MModule::Build -e 1
Can't locate Module/Build.pm in @INC (@INC contains: /usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .).
BEGIN failed--compilation aborted.
# 5  
Old 02-28-2012
Anyone got some information on how to fix this issue.. still on going
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl Module Installation issue.

I have issue with the perl module installed in the new Linux server I have installed the required module, but still the perl program was not able to find the path I'm getting the below error: Can't locate Log/Log4perl.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/Log4perl.pm... (5 Replies)
Discussion started by: help_scr_seeker
5 Replies

2. Shell Programming and Scripting

Unable to install module using cpan

Hi, I am unable to install module using cpan. It says 407 Proxy Authentication Required I did setup proxy server and given username and password in .bashrc file and apt.conf file. export http_proxy=http://username:password@proxyserver:portno/ However, still unable to install... (1 Reply)
Discussion started by: Anjan1
1 Replies

3. Shell Programming and Scripting

Unable to Install "Devel-Profile" perl module in windows.

Hi, I want to install 'Devel-Profile' in windows but i am not able to install. Here is the error. PPM> install Devel-Profile Install package 'Devel-Profile?' (y/N): y Installing package 'Devel-Profile'... Error installing package 'Devel-Profile': Could not locate a PPD file for... (3 Replies)
Discussion started by: vanitham
3 Replies

4. Shell Programming and Scripting

Can't locate inc/Module/Install.pm in @INC

Hi, I'm trying to install "Date-FromToday" module on my solaris box as below. #perl Makefile.pl (i got the below error) Can't locate inc/Module/Install.pm in @INC (@INC contains: /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int... (3 Replies)
Discussion started by: admin@2010
3 Replies

5. Solaris

Trying to install perl module

Here's the deal: I'm trying to install perl's DBI Module in my Solaris 11 express ( ALSO TRYING IN SOLARIS 10 ) but I'm getting these errors/warnings when using the respective commands perl Makefile.PL Warning: prerequisite ExtUtils::MakeMaker 6.48 not found. We have 6.42. Warning:... (3 Replies)
Discussion started by: alvaradogunner
3 Replies

6. Shell Programming and Scripting

calling perl subroutine from perl expect module

All, Is it possible to call a subroutine from the perl expect module after logging to a system that is within the same program. My situation is I need to run a logic inside a machine that I'm logging in using the expect module, the logic is also available in the same expect program. Thanks,... (5 Replies)
Discussion started by: arun_maffy
5 Replies

7. OS X (Apple)

Unable to install Perl module via CPAN

Hi, I am trying to install Unicode::String from the cpan shell, and here is what I get: Checking if your kit is complete... Looks good Writing Makefile for Unicode::String cp String.pm blib/lib/Unicode/String.pm cp lib/Unicode/CharName.pm blib/lib/Unicode/CharName.pm... (3 Replies)
Discussion started by: psychomachine
3 Replies

8. Shell Programming and Scripting

[Perl] How to install with CPAN specified version of module

Hello all, i am searching how to install a module but the question is : howto specify CPAN to install a determined version of the module ? In my case i want to install DBD:Oracle1.14 and not version 1.23 proposed ! Any idea welcome ! :rolleyes: Thanks ! (1 Reply)
Discussion started by: sun_cracker
1 Replies

9. Solaris

Install Perl Module

Hi Every one, I am suing solaris 5.10. i want install perl modules, how insall cn any body help me to install perl Module.. Thank you for your Help Thanks, Hari.A. (1 Reply)
Discussion started by: hari.jnvc90
1 Replies

10. Shell Programming and Scripting

PERL DBI module install

We ran into an issue trying to install DBI and DB2 modules for perl for AIX from the link http://www-306.ibm.com/software/data/db2/perl/ We tried to install the DBI module using bash# perl -MCPAN -e 'install DBI' command. However we ended up with the following error. Stop. ... (3 Replies)
Discussion started by: jerardfjay
3 Replies
Login or Register to Ask a Question