Hi guys, I'm still a relative newbie, but I'm having a problem installing DateTime... I tried to install via cpan but got an error so popped out to the directory to try manually... Here's what I get:
[EMAIL PROTECTED] DateTime-0.21]# perl Makefile.PL Testing if you have a C compiler Makefile:96: *** missing separator. 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 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 [EMAIL PROTECTED] DateTime-0.21]# I do fershure have a c compiler... So I tried: [EMAIL PROTECTED] DateTime-0.21]# perl Makefile.PL --xs Writing Makefile for DateTime [EMAIL PROTECTED] DateTime-0.21]# so far so good... then: [EMAIL PROTECTED] DateTime-0.21]# make Makefile:96: *** missing separator. Stop. [EMAIL PROTECTED] DateTime-0.21]# hmm... So not to be deterred, I looked at line 96 of the makefile and here's the weird stuff I find: 94:installhtml1dir='' 95:installhtml3dir='' 96:installman1 97:INSTALLSITEBIN = /usr 98:INSTALLVENDORBIN = /usr/bin' (line numbers mine)... So notice the hanging apostrophe on line 98... there are many lines with unmatched apostrophes... So I did what anyone who doesn't have a clue would do and edited the Makefile and took out all of the 'extra' apostrophes... On line 248 and 249 is: SHELL = /bin/sh' shar=' 108 and 109: LIBPERL_A = libperl.a' libc=' and 101: installvendorlib='/u etc... So after some guess editing, I was able to run make. But none of the tests pass and I get: [EMAIL PROTECTED] GCX]$ perl testdate.pl Can't locate loadable object for module DateTime in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux- thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386- linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux- thread-multi /usr/lib/perl5/5.8.0 .) at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/XSLoader.pm line 44 BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/DateTime.pm line 44. Compilation failed in require at testdate.pl line 1. BEGIN failed--compilation aborted at testdate.pl line 1. Which makes sense since I guess the c stuff isn't getting compiled... anyhow, all of this to me seems to be a problem with the Makefile? But I'm afraid I don't know where to go from here. This is on Redhat Linux 9, perl 5.8.0 on i386. Thanks a lot! ken. Happy to post any files that might be helpful... -- Ken Burcham Ken Burcham Consulting, Inc. http://www.capemaystation.com