[EMAIL PROTECTED] wrote:

> I downloaded the tar file. But I couldn't find out how to install it from
> the README. From the various info in the readme I was able to install the
> .pm files but not the xs. The Date class look like it's working but it
> keeps showing the message about the XS part warning. The Date.xs is
> sitting in my tmp dir. I looks like a C type of file.
> 
> So, please tell me how to install it.
> 
> fyi, I've never installed a cpan or any perl package, if there is such a
> thing.
> 

if a module does not came with its own installation procedures, 
try (as root):

[panda]$ mv date-class.tar.gz /tmp
[panda]$ cp /tmp
[panda]$ tar -zxf date-class.tar.gz
[panda]$ perl Makefile.PL
[panda]$ make
[panda]$ make test
[panda]$ make install
[panda]$ make clean
[panda]$ perl -MDate::Class -le 'print $INC{"Date/Class.pm"}'
[panda]$

large number of CPAN modules (Class::Date happen to be one of those) are 
packed/distributed by creating make file with MakeMaker which can be 
installed by the above procedures.

perldoc -q install

david
-- 
$_=q,015001450154015401570040016701570162015401440041,,*,=*|=*_,split+local$";
map{~$_&1&&{$,<<=1,[EMAIL PROTECTED]||3])=>~}}0..s~.~~g-1;*_=*#,

goto=>print+eval

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to