1823785 Members
4250 Online
109665 Solutions
New Discussion юеВ

Swatch Install Error

 
V. V. Ravi Kumar_1
Respected Contributor

Swatch Install Error

Hi,

iam trying to install swatch-3.0.4 on my hp-ux11.00 system.

when i run
perl Makefile.PL it shows the followint error.

syntax error in file Makefile.PL at line 1, next 2 tokens "use ExtUtils"
Execution of Makefile.PL aborted due to compilation errors.


pl suggest me what to do?

thanks
ravi
Never Say No
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor

Re: Swatch Install Error

I would start by getting a later version of perl
and/or checking which one is used:

perl -version

which perl

whereis perl

Then perhaps modify you path to use a different perl version.

Later,
Bill
It works for me (tm)
V. V. Ravi Kumar_1
Respected Contributor

Re: Swatch Install Error

hi bill,
i use different version of perl now.
iam sending the output of perl Makefile.PL, what is the problem with this?

Warning: prerequisite Date::Calc failed to load: Can't locate Date/Calc.pm in @INC (@INC contains: /opt/perl5/lib/5.6.1/PA-RISC1.1 /opt/perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1 /opt/perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl .) at (eval 4) line 3.
Warning: prerequisite Date::Parse failed to load: Can't locate Date/Parse.pm in @INC (@INC contains: /opt/perl5/lib/5.6.1/PA-RISC1.1 /opt/perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1 /opt/perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl .) at (eval 5) line 3.
Warning: prerequisite File::Tail failed to load: Can't locate File/Tail.pm in @INC (@INC contains: /opt/perl5/lib/5.6.1/PA-RISC1.1 /opt/perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1 /opt/perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl .) at (eval 6) line 3.
Warning: prerequisite Time::HiRes failed to load: Can't locate Time/HiRes.pm in @INC (@INC contains: /opt/perl5/lib/5.6.1/PA-RISC1.1 /opt/perl5/lib/5.6.1 /opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1 /opt/perl5/lib/site_perl/5.6.1 /opt/perl5/lib/site_perl .) at (eval 7) line 3.


Writing Makefile for swatch

thanks
ravi
Never Say No
Mateja Bezjak
Respected Contributor

Re: Swatch Install Error

Hi,

Swatch requires perl 5 and the following modules: Time::HiRes, Date::Calc,
Date::Format, and File::Tail.

You will need to install those.
http://www.oit.ucsb.edu/~eta/swatch/README

Regards,
Mateja