HP3000-L Archives

June 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Eben Yong <[log in to unmask]>
Reply To:
Date:
Tue, 6 Jun 2000 09:35:49 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (84 lines)
Hello... here's the session where the make has errors.  What am I doing
wrong?

shell/iX> pwd
/AIHBETA/PUB
shell/iX> cd /PERL/PUB/lib/perl5/site_perl/Date
shell/iX> ls -l
total 407
drwx------   3 MGR.AIHBETA       PERL        1184 Jun  6 16:26
DateManip-5.37
-rw-------   1 MGR.AIHBETA       PERL         316 Jun  6 16:23 Makefile.PL
-rw-------   1 MGR.AIHBETA       PERL      206193 Jun  6 16:23 Manip.pm
shell/iX> /PERL/PUB/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Date::Manip
Writing Makefile for Date::Manip
shell/iX> make
mkdir blib
mkdir blib/lib
mkdir blib/lib/Date
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Date
mkdir blib/arch/auto/Date/Manip
mkdir blib/lib/auto
mkdir blib/lib/auto/Date
mkdir blib/lib/auto/Date/Manip
cp Manip.pm blib/lib/Date/Manip.pm
mkdir ../blib/man3
cp Manip.pod ../blib/lib/Date/Manip.pod
Skip ../blib/lib/Date/Manip.pm (unchanged)
Manifying ../blib/man3/Date::Manip.3
make: Error -- Don't know how to make LIB=
make: Error code 255
shell/iX> make test
make: Error -- Don't know how to make LIB=
make: Error code 255
shell/iX> make install
make: Error -- Don't know how to make LIB=
make: Error code 255
shell/iX>

-----Original Message-----
From: Mark Bixby [mailto:[log in to unmask]]
Sent: Monday, June 05, 2000 5:37 PM
To: [log in to unmask]
Cc: [log in to unmask]
Subject: Re: Perl/iX Date Manipulation libraries




Eben Yong wrote:
> My next question... what are the best libraries out there for date
> manipulation and calculation?  I am used to MPEX making life so incredibly
> easy for me with date functions.  Are there similar existing libraries for
> Perl/iX?  How hard is it to recompile them for use on my e3000?

I don't know which one is "best", but the Perl package I've used for date
calculations is Date::Calc:

http://theoryx5.uwinnipeg.ca/CPAN/data/Date-Calc/Calc.html

You can install it automatically by following the CPAN module instructions
in
the What's New section of http://www.bixby.org/mark/perlix.html and then
doing
an "install Date::Calc" command once the CPAN module has started.

Or you can download Date::Calc manually from www.cpan.org.  Like just about
all
Perl add-on packages, building is standard and simple:

perl Makefile.PL
make
make test
make install

Whenever you wonder "Can Perl do xyz?", the answer is probably yes, and the
corresponding add-on packages can be found at www.cpan.org.

- Mark B.

ATOM RSS1 RSS2