DT::F::Strptime problem with DT 0.14+

2003-07-25 Thread Dave Rolsky
DT::F::Strptime lists DT::Language as a prereq, which causes CPAN to try
to install DateTime 0.13 in order to satisfy it.  This prereq should be
removed, I think.


-dave

/*===
House Absolute Consulting
www.houseabsolute.com
===*/


Re: icu-xml parser deadlocks

2003-07-25 Thread Ben Bennett
RH 9.0.

I wonder if it your locale and unicode slowing everything down...  I
set my default locale to en_US (not ustf8) a while ago.

-ben

On Fri, Jul 25, 2003 at 07:02:14AM -1000, Joshua Hoblitt wrote:
> > Me too:
> >This is perl, v5.8.0 built for i386-linux-thread-multi
> >
> >Linux ayup.limey.net 2.4.20-18.9 #1 Thu May 29 06:54:41 EDT 2003
> >i686 athlon i386 GNU/Linux
> >
> > -ben
> 
> So that Redhat - What version of the dist?  I'm on Gentoo 1.4rc2.
> 
> For me the parser makes it to:
> 
> af
> af_ZA
> (race condition - hangs forever)
> 
> Interestingly - if I run it through the debugger it does make some progress.  It's 
> taken about 8 hours to make it to 'ms'.
> 
> I've reinstalled just about everything applicable from CPAN.  I wonder if it's a 
> problem with some c library in the dep. chain.
> 
> -J
> 
> --


Re: icu-xml parser deadlocks

2003-07-25 Thread Dave Rolsky
On Fri, 25 Jul 2003, Joshua Hoblitt wrote:

> > > I've reinstalled just about everything applicable from CPAN.  I wonder
> > > if it's a problem with some c library in the dep. chain.
> >
> > Note that XML::Simple uses XML::SAX, which in turn picks one of
> > XML::Expat, XML::SAX::PurePerl, or XML::LibXML to do parsing.  Most likely
> > whichever one it's picking is broken.  Try forcing it to use a different
> > one.
>
> use XML::SAX;
> XML::SAX->add_parser( q( XML::SAX::PurePerl ) );
>
> Fixes it.  Maybe I should add a comment about this?

Should probably send a bug report somewhere ;)


-dave

/*===
House Absolute Consulting
www.houseabsolute.com
===*/


Re: icu-xml parser deadlocks

2003-07-25 Thread Joshua Hoblitt
On Fri, 25 Jul 2003, Dave Rolsky wrote:

> On Fri, 25 Jul 2003, Joshua Hoblitt wrote:
>
> > I've reinstalled just about everything applicable from CPAN.  I wonder
> > if it's a problem with some c library in the dep. chain.
>
> Note that XML::Simple uses XML::SAX, which in turn picks one of
> XML::Expat, XML::SAX::PurePerl, or XML::LibXML to do parsing.  Most likely
> whichever one it's picking is broken.  Try forcing it to use a different
> one.

use XML::SAX;
XML::SAX->add_parser( q( XML::SAX::PurePerl ) );

Fixes it.  Maybe I should add a comment about this?

-J

--


Re: icu-xml parser deadlocks

2003-07-25 Thread Dave Rolsky
On Fri, 25 Jul 2003, Joshua Hoblitt wrote:

> I've reinstalled just about everything applicable from CPAN.  I wonder
> if it's a problem with some c library in the dep. chain.

Note that XML::Simple uses XML::SAX, which in turn picks one of
XML::Expat, XML::SAX::PurePerl, or XML::LibXML to do parsing.  Most likely
whichever one it's picking is broken.  Try forcing it to use a different
one.


-dave

/*===
House Absolute Consulting
www.houseabsolute.com
===*/


Re: icu-xml parser deadlocks

2003-07-25 Thread Joshua Hoblitt
> Me too:
>This is perl, v5.8.0 built for i386-linux-thread-multi
>
>Linux ayup.limey.net 2.4.20-18.9 #1 Thu May 29 06:54:41 EDT 2003
>i686 athlon i386 GNU/Linux
>
>   -ben

So that Redhat - What version of the dist?  I'm on Gentoo 1.4rc2.

For me the parser makes it to:

af
af_ZA
(race condition - hangs forever)

Interestingly - if I run it through the debugger it does make some progress.  It's 
taken about 8 hours to make it to 'ms'.

I've reinstalled just about everything applicable from CPAN.  I wonder if it's a 
problem with some c library in the dep. chain.

-J

--


Re: Circular module dependency DateTime/DateTime::Locale

2003-07-25 Thread Dave Rolsky
On Fri, 25 Jul 2003, Claus Färber wrote:

> I just tried to install DateTime from CPAN but that does not work: The
> tests for DateTime require DateTime::Locale to be installed and vice-
> versa.
>
> I think the tests in DateTime.pm/ that depend on DT::Locale should be
> moved to DT::Locale.

Actually, I just fixed it so that DT::Locale installs without DateTime.pm
being present.


-dave

/*===
House Absolute Consulting
www.houseabsolute.com
===*/


Re: Circular module dependency DateTime/DateTime::Locale

2003-07-25 Thread Joshua Hoblitt
> I think the tests in DateTime.pm/ that depend on DT::Locale should be
> moved to DT::Locale.

Can you try the CVS version now?  Dave and I both just tried to commit the fix. :)

-J

--


Re: Circular module dependency DateTime/DateTime::Locale

2003-07-25 Thread Joshua Hoblitt
> I think the tests in DateTime.pm/ that depend on DT::Locale should be
> moved to DT::Locale.

DT::TZ handles this by not running it's DT dependent tests if DT isn't available.  
This is allows DT::TZ to be install automatically as a dependency of DT.  DT::Locale 
should be handled the same way.

-J

--


Circular module dependency DateTime/DateTime::Locale

2003-07-25 Thread Claus Färber
Hallo.

I just tried to install DateTime from CPAN but that does not work: The  
tests for DateTime require DateTime::Locale to be installed and vice- 
versa.

I think the tests in DateTime.pm/ that depend on DT::Locale should be  
moved to DT::Locale.

Claus
-- 
http://www.faerber.muc.deCPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 24 Jul 2003 08:16:58 GMT
Running install for module DateTime
Running make for D/DR/DROLSKY/DateTime-0.1401.tar.gz
CPAN: MD5 loaded ok
Checksum for /root/.cpan/sources/authors/id/D/DR/DROLSKY/DateTime-0.1401.tar.gz ok
Scanning cache /root/.cpan/build for sizes
DateTime-0.1401/
DateTime-0.1401/t/
DateTime-0.1401/t/07compare.t
DateTime-0.1401/t/20infinite.t
DateTime-0.1401/t/16truncate.t
DateTime-0.1401/t/05set.t
DateTime-0.1401/t/01sanity.t
DateTime-0.1401/t/15jd.t
DateTime-0.1401/t/19leap_second.t
DateTime-0.1401/t/02last_day.t
DateTime-0.1401/t/18today.t
DateTime-0.1401/t/17set_return.t
DateTime-0.1401/t/10subtract.t
DateTime-0.1401/t/21bad_params.t
DateTime-0.1401/t/12week.t
DateTime-0.1401/t/00load.t
DateTime-0.1401/t/03components.t
DateTime-0.1401/t/13strftime.t
DateTime-0.1401/t/testlib.pl
DateTime-0.1401/t/11duration.t
DateTime-0.1401/t/14locale.t
DateTime-0.1401/t/04epoch.t
DateTime-0.1401/t/09greg.t
DateTime-0.1401/t/23storable.t
DateTime-0.1401/t/22from_doy.t
DateTime-0.1401/t/06add.t
DateTime-0.1401/lib/
DateTime-0.1401/lib/DateTime/
DateTime-0.1401/lib/DateTime/Duration.pm
DateTime-0.1401/lib/DateTime/Infinite.pm
DateTime-0.1401/lib/DateTimePP.pm
DateTime-0.1401/lib/DateTimePPExtra.pm
DateTime-0.1401/lib/DateTime.pm
DateTime-0.1401/Changes
DateTime-0.1401/MANIFEST
DateTime-0.1401/TODO
DateTime-0.1401/META.yml
DateTime-0.1401/MANIFEST.SKIP
DateTime-0.1401/ppport.h
DateTime-0.1401/DateTime.xs
DateTime-0.1401/CREDITS
DateTime-0.1401/README
DateTime-0.1401/Makefile.PL
DateTime-0.1401/LICENSE
Removing previously used /root/.cpan/build/DateTime-0.1401

  CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.1401.tar.gz

Testing if you have a C compiler
cc-c -o test.o test.c
Checking if your kit is complete...
Warning: prerequisite DateTime::Locale failed to load: Can't locate DateTime/Locale.pm 
in @INC (@INC contains: /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 
/usr/local/lib/site_perl .) at (eval 12) line 3.
Looks good
Writing Makefile for DateTime
 Unsatisfied dependencies detected during [D/DR/DROLSKY/DateTime-0.1401.tar.gz] 
-
DateTime::Locale
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module DateTime::Locale
Running make for D/DR/DROLSKY/DateTime-Locale-0.01.tar.gz
Checksum for /root/.cpan/sources/authors/id/D/DR/DROLSKY/DateTime-Locale-0.01.tar.gz ok
DateTime-Locale-0.01/
DateTime-Locale-0.01/lib/
DateTime-Locale-0.01/lib/DateTime/
DateTime-Locale-0.01/lib/DateTime/Locale/
DateTime-Locale-0.01/lib/DateTime/Locale/en_IE.pm
DateTime-Locale-0.01/lib/DateTime/Locale/zh.pm
DateTime-Locale-0.01/lib/DateTime/Locale/id.pm
DateTime-Locale-0.01/lib/DateTime/Locale/es_EC.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ms_BN.pm
DateTime-Locale-0.01/lib/DateTime/Locale/fr.pm
DateTime-Locale-0.01/lib/DateTime/Locale/fi.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ar_TN.pm
DateTime-Locale-0.01/lib/DateTime/Locale/nl_BE.pm
DateTime-Locale-0.01/lib/DateTime/Locale/nn.pm
DateTime-Locale-0.01/lib/DateTime/Locale/sv.pm
DateTime-Locale-0.01/lib/DateTime/Locale/am.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ko_KR.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ga_IE.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ar_YE.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ka_GE.pm
DateTime-Locale-0.01/lib/DateTime/Locale/no.pm
DateTime-Locale-0.01/lib/DateTime/Locale/en_BE.pm
DateTime-Locale-0.01/lib/DateTime/Locale/zh_CN.pm
DateTime-Locale-0.01/lib/DateTime/Locale/th.pm
DateTime-Locale-0.01/lib/DateTime/Locale/Base.pm
DateTime-Locale-0.01/lib/DateTime/Locale/az_AZ.pm
DateTime-Locale-0.01/lib/DateTime/Locale/el.pm
DateTime-Locale-0.01/lib/DateTime/Locale/dv.pm
DateTime-Locale-0.01/lib/DateTime/Locale/so_KE.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ka.pm
DateTime-Locale-0.01/lib/DateTime/Locale/sk.pm
DateTime-Locale-0.01/lib/DateTime/Locale/gv.pm
DateTime-Locale-0.01/lib/DateTime/Locale/en_PH.pm
DateTime-Locale-0.01/lib/DateTime/Locale/da.pm
DateTime-Locale-0.01/lib/DateTime/Locale/eu_ES.pm
DateTime-Locale-0.01/lib/DateTime/Locale/it.pm
DateTime-Locale-0.01/lib/DateTime/Locale/es_CL.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ms.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ar_SA.pm
DateTime-Locale-0.01/lib/DateTime/Locale/ta.pm
DateTime-Locale-0.01/lib/DateTime/Locale/es_ES.pm
DateTime-Locale-0.01/lib/DateTime/Locale/de.pm
DateTime-Locale-0.01/lib/DateTime/Locale/es_MX.pm
DateTime-Locale-0.

Re: icu-xml parser deadlocks

2003-07-25 Thread Ben Bennett
Me too:
   This is perl, v5.8.0 built for i386-linux-thread-multi
   
   Linux ayup.limey.net 2.4.20-18.9 #1 Thu May 29 06:54:41 EDT 2003
   i686 athlon i386 GNU/Linux

-ben

On Fri, Jul 25, 2003 at 02:17:23AM -0500, Dave Rolsky wrote:
> On Thu, 24 Jul 2003, Joshua Hoblitt wrote:
> 
> > I still can't get DT::Locale's parser to run under Linux (seems happy
> > with Solaris thou).  Has anyone else tried this under Perl 5.8.0 on
> > x86/Linux?
> 
> Works for me with that exact setup.
> 
> 
> -dav
> 
> /*===
> House Absolute Consulting
> www.houseabsolute.com
> ===*/


Re: icu-xml parser deadlocks

2003-07-25 Thread Dave Rolsky
On Thu, 24 Jul 2003, Joshua Hoblitt wrote:

> I still can't get DT::Locale's parser to run under Linux (seems happy
> with Solaris thou).  Has anyone else tried this under Perl 5.8.0 on
> x86/Linux?

Works for me with that exact setup.


-dav

/*===
House Absolute Consulting
www.houseabsolute.com
===*/


icu-xml parser deadlocks

2003-07-25 Thread Joshua Hoblitt
I still can't get DT::Locale's parser to run under Linux (seems happy with Solaris 
thou).  Has anyone else tried this under Perl 5.8.0 on x86/Linux?

-J

--