Hi,
I'm getting some odd errors from the DateTime installation. It claims it can't find pod2man or any of my compilers even though they're in my path. it even tells me to put pod2man in my path. I looked at the makefile and it's got incomplete lines that running a manual `perl Makefile.PL;make` complains about:
[root@snp DateTime-0.28]# perl Makefile.PL --xs
Writing Makefile for DateTime
[root@snp DateTime-0.28]# make
Makefile:96: *** missing separator. Stop.
[root@snp DateTime-0.28]#
Here's what cpan tells me:
cpan> force install DateTime
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Fri, 06 May 2005 08:55:35 GMT
Running install for module DateTime
Running make for D/DR/DROLSKY/DateTime-0.28.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/D/DR/DROLSKY/DateTime-0.28.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/XML-LibXML-1.58 (10.7>10.0 MB)
DateTime-0.28/
DateTime-0.28/t/
DateTime-0.28/t/07compare.t
DateTime-0.28/t/20infinite.t
DateTime-0.28/t/16truncate.t
DateTime-0.28/t/05set.t
DateTime-0.28/t/01sanity.t
DateTime-0.28/t/25add_subtract.t
DateTime-0.28/t/15jd.t
DateTime-0.28/t/27delta.t
DateTime-0.28/t/24from_object.t
DateTime-0.28/t/19leap_second.t
DateTime-0.28/t/30future_tz.t
DateTime-0.28/t/33seconds_offset.t
DateTime-0.28/t/02last_day.t
DateTime-0.28/t/18today.t
DateTime-0.28/t/34set_tz.t
DateTime-0.28/t/28dow.t
DateTime-0.28/t/17set_return.t
DateTime-0.28/t/29overload.t
DateTime-0.28/t/10subtract.t
DateTime-0.28/t/21bad_params.t
DateTime-0.28/t/31formatter.t
DateTime-0.28/t/26dt_leapsecond_pm.t
DateTime-0.28/t/12week.t
DateTime-0.28/t/00load.t
DateTime-0.28/t/03components.t
DateTime-0.28/t/13strftime.t
DateTime-0.28/t/testlib.pl
DateTime-0.28/t/11duration.t
DateTime-0.28/t/14locale.t
DateTime-0.28/t/04epoch.t
DateTime-0.28/t/09greg.t
DateTime-0.28/t/23storable.t
DateTime-0.28/t/22from_doy.t
DateTime-0.28/t/32leap_second2.t
DateTime-0.28/t/06add.t
DateTime-0.28/t/99-pod.t
DateTime-0.28/lib/
DateTime-0.28/lib/DateTime/
DateTime-0.28/lib/DateTime/Duration.pm
DateTime-0.28/lib/DateTime/Infinite.pm
DateTime-0.28/lib/DateTime/LeapSecond.pm
DateTime-0.28/lib/DateTimePP.pm
DateTime-0.28/lib/DateTimePPExtra.pm
DateTime-0.28/lib/DateTime.pm
DateTime-0.28/Changes
DateTime-0.28/MANIFEST
DateTime-0.28/TODO
DateTime-0.28/META.yml
DateTime-0.28/tools/
DateTime-0.28/tools/leap_seconds_header.pl
DateTime-0.28/MANIFEST.SKIP
DateTime-0.28/leaptab.txt
DateTime-0.28/ppport.h
DateTime-0.28/DateTime.xs
DateTime-0.28/CREDITS
DateTime-0.28/leap_seconds.h
DateTime-0.28/Makefile.PL
DateTime-0.28/LICENSE
DateTime-0.28/README
Removing previously used /root/.cpan/build/DateTime-0.28
CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.28.tar.gz
Testing if you have a C compiler
make: *** No rule to make target `testub'. Stop.
I cannot determine if you have a C compiler
so I will install a perl-only implementation
You can force installation of the XS version with
perl Makefile.PL --xs
Checking if your kit is complete...
Looks good
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile for DateTime
Makefile:98: *** missing separator. Stop.
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
cpan> exit
and here's proof that the 'missing' items are in my path:
[root@snp blog]# which pod2man
/usr/bin/pod2man
[root@snp blog]# which gcc
/usr/bin/gcc
Any thoughts? I tried completing the incomplete lines in the make file, but discovered unfinished "'" lines and gave up.
Rob