Re: DateTime-0.22 compile problems on RH ES 3.0

2004-10-05 Thread Flavio S. Glock
greg fenton wrote:
> 
> I'm trying to install DateTime on a new RH ES 3.0 box with
> perl-5.8.0-88.7 (RH RPM)
[...] 
>  Testing if you have a C compiler
>  Makefile:98: *** missing separator.  Stop.
[...]
> 
> Any ideas as to what to look for?

Here -
http://www.nntp.perl.org/group/perl.datetime/5436
> This is a known problem and has been discussed previously on this 
> list. It's perl 5.8.0's attempt at utf8 coninciding with RH making 
> utf8 standard. The two clash and you'll get errors.
> 
> There are several solutions:
> 1. Upgrade perl
> 2. Upgrade RedHat to Fedora (It comes with a newer perl), or
> 3. Install like so:
>   LANG=
>   export LANG
>   perl Makefile.PL
>   make
>   make test
>   make install
> That will get rid of RedHat trying to be utf8. You'll continue to have
> problems though. I'd really look at upgrading (or at least setting the
> LANG permanently to somthing non unicode.
> 
> Cheers!
> Rick Measham


- Flavio S. Glock


DateTime-0.22 compile problems on RH ES 3.0

2004-10-05 Thread greg fenton
Hi Dave,

I'm trying to install DateTime on a new RH ES 3.0 box with
perl-5.8.0-88.7 (RH RPM)

I get an error during "perl -MCPAN -e install DateTime" , so I've gone to:

 cpan> look DateTime
 shell# perl Makefile.PL

and I get:

 Testing if you have a C compiler
 Makefile:98: *** missing separator.  Stop.

Looking at Makefile, line 96-100:

 installhtml1dir=''
 installhtml3dir=''
 installman1
 INSTALLSITEBIN = /usr
 INSTALLVENDORBIN = /usr/bin'

So the "installman1" line is invalid.  I also see that there are many
other broken lines with half values (e.g. "/usr/bin/pe") and unclosed
quotes.

Talking to two others on #perl, they tried on their ES 3.0 systems and
had the same problem.

Attached is the Makefile created by "perl Makefile.PL"

Any ideas as to what to look for?

Thanks in advance,
greg.fenton
--
greg.fenton ^_at_^ gmail (yes, dot com)


Makefile
Description: Binary data


DateTime FAQ Typo

2004-10-05 Thread Tim . Mueller-Seydlitz . extern
Hi all,
there is a typo in the DateTimeFAQ

Instead of 
  my $some_date2 = $some_date->clone()->truncate(to => 'days');

it should be 

  my $some_date2 = $some_date->clone()->truncate(to => 'day');

Regards
Tim