From: Cedar M. <ced...@ma...> - 2002-10-30 19:22:53
|
> > Hmm, can you try this experiment for me. In the xmltv source tree > open grab/na/tv_grab_na in a text editor and look for the line > containing 'use Date::Manip;'. Change this line to read > > BEGIN { $ENV{LANG} = 'C' } use Date::Manip; > > That changes the language before loading the module. It might work > but I have a feeling it probably won't. Try it though. > > I'll get to this, hopefully sometime soon. I thought I would update you on an interesting development. I had to reinstall red hat 8 on my machine for unrelated reasons (trying to get it to dual boot and switching some hard drives around). So when I recompiled xmltv I used 'env LANG=C' during the 'perl Makefile.PL step because that step also spits out UTF-8 complaints. So I compiled and installed, then tv_grab_na started hanging exactly the same way as before, but even when I used 'env LANG=C tv_grab_na > test.xml' So I recompiled, but this time without 'env LANG=C' and now when I do 'env LANG=C tv_grab_na > test.xml' it seems to work fine! It is like two negatives make a positive or something. The experiment I didn't try was to use the version compiled with 'env LANG=C' but try to see if the program hangs when I use tv_grab_na without the 'env LANG=C' Anyway, it all works now. Hopefully I'll get around to testing out your fix. ahh, a question: How do I compile, install and test your cvs version without blowing away my version that works right now? best, Cedar |