Mailing List Archive

Getting xmltv to work? Perl issues
I'm getting lots of perl errors when running xmltv. Trying to using CPAN
is not working for me. I keep getting errors not being able to connect
to ftp.perl.org??

Is there any other way to download these needed modules?

Regards,
Christopher Jones
RE: Getting xmltv to work? Perl issues [ In reply to ]
What distro are you using. Mandrake has several of the mods available
through urpmi.

Ben

-----Original Message-----
From: mythtv-users-bounces@snowman.net
[mailto:mythtv-users-bounces@snowman.net] On Behalf Of Christopher Jones
Sent: Thursday, April 24, 2003 12:54 PM
To: mythtv-users@snowman.net
Subject: [mythtv-users] Getting xmltv to work? Perl issues


I'm getting lots of perl errors when running xmltv. Trying to using CPAN
is not working for me. I keep getting errors not being able to connect
to ftp.perl.org??

Is there any other way to download these needed modules?

Regards,
Christopher Jones

_______________________________________________
mythtv-users mailing list
mythtv-users@snowman.net
http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
RE: Getting xmltv to work? Perl issues [ In reply to ]
Red Hat 9

here is what I get when I run tv_grab_na:

parameterless "use IO" deprecated at
/usr/lib/perl5/site_perl/5.8.0/XML/Writer.pm line 16
parameterless "use IO" deprecated at /usr/bin/tv_grab_na line 525
/usr/bin/tv_grab_na: /root/.xmltv/tv_grab_na.conf:8: invalid
/usr/bin/tv_grab_na: Failed to read /root/.xmltv/tv_grab_na.conf


which might be useless since I know I have missing perl mods.

here is what I get when I try the perl Makefile.PL:

parameterless "use IO" deprecated at
/usr/lib/perl5/site_perl/5.8.0/XML/Writer.pm line 16
Module Compress::Zlib seems not to be installed.
Compress::Zlib is recommended.
Module Lingua::EN::Numbers::Ordinate seems not to be installed.
Lingua::EN::Numbers::Ordinate is recommended.
Module Lingua::Preferred seems not to be installed.
Lingua::Preferred is recommended.
Module Unicode::String seems not to be installed.
Unicode::String is recommended.
Checking if your kit is complete...
Looks good
Writing Makefile for XMLTV

some other info:

[root@chris-media xmltv-0.5.9]# rpm -q perl
perl-5.8.0-88

kernel 2.4.20-8

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.20-2.48smp,
archname=i386-linux-thread-multi
uname='linux str'
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red
Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr
-Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db
-Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef'
useithreads=define usemultiplicity=
useperlio= d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=un uselongdouble=
usemymalloc=, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0
3.2.2-1)', gccosandvers=''
gccversion='3.2.2 200302'
intsize=e, longsize= , ptrsize=p, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long'
k', ivsize=4'
ivtype='long'
known_ext, nvtype='double'
o_nonbl', nvsize=, Off_t='', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc'
l', ldflags =' -L/usr/local/lib'
ldf'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=
libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libper
gnulibc_version='2.3.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s
Unicode/Normalize
XS/A'


Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
MAINT18379
Built under linux
Compiled at Feb 18 2003 22:19:53
@INC:
/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
.

BTW, I tried installing all of this using apt-get install xmltv.

I have worked with linux for some time but it has always been on servers
and everything was compiled from source. This is my first time owkring
with "installers" or RPMs.

Any help will be much appreciated!

Regards,
Christopher Jones

On Thu, 2003-04-24 at 12:54, ben wrote:
> What distro are you using. Mandrake has several of the mods available
> through urpmi.
>
> Ben
>
> -----Original Message-----
> From: mythtv-users-bounces@snowman.net
> [mailto:mythtv-users-bounces@snowman.net] On Behalf Of Christopher Jones
> Sent: Thursday, April 24, 2003 12:54 PM
> To: mythtv-users@snowman.net
> Subject: [mythtv-users] Getting xmltv to work? Perl issues
>
>
> I'm getting lots of perl errors when running xmltv. Trying to using CPAN
> is not working for me. I keep getting errors not being able to connect
> to ftp.perl.org??
>
> Is there any other way to download these needed modules?
>
> Regards,
> Christopher Jones
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
RE: Getting xmltv to work? Perl issues [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> What distro are you using. Mandrake has several of the mods
> available through urpmi.

Actually, Mandrake 9.1 / Cooker has all of the perl modules required
for North America XMLTV loadable using urpmi.

# urpmi perl-xml-twig perl-xml-writer perl-datemanip perl-libwww-perl

Should do it.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPqgu9vc1NpCTlP0JEQLn5gCfdgZOVLJngpnfipT2sOUkHQAalm4AnRaV
dNbngroL43Lq3hYPFLBBDdDc
=5gL0
-----END PGP SIGNATURE-----
RE: Getting xmltv to work? Perl issues [ In reply to ]
On Thu, 2003-04-24 at 11:20, Christopher Jones wrote:

> Red Hat 9
>
> here is what I get when I run tv_grab_na:
>
> parameterless "use IO" deprecated at
> /usr/lib/perl5/site_perl/5.8.0/XML/Writer.pm line 16
> parameterless "use IO" deprecated at /usr/bin/tv_grab_na line 525

These are just warning messages. I get the same ones. It still works
fine.

> /usr/bin/tv_grab_na: /root/.xmltv/tv_grab_na.conf:8: invalid
> /usr/bin/tv_grab_na: Failed to read /root/.xmltv/tv_grab_na.conf

I don't think you'll have a valid tv_grab_na.conf by default. I think
you'll get one after running mythtv's setup, however. You can create one
by following the mythtv documentation, or by following the xmltv
documentation. All depends on what you want. (I'd recommend myth's.)

> which might be useless since I know I have missing perl mods.

Are you sure? Are there other errors you haven't mentioned, because the
only fatal error here appears to be a missing configuration file, which
isn't really a Perl or xmltv issue.

> here is what I get when I try the perl Makefile.PL:



> Writing Makefile for XMLTV
> [...]
> some other info:

And you followed your 'perl Makefile.PL' with 'make' and 'make install',
right?

> BTW, I tried installing all of this using apt-get install xmltv.

Sure, that's another way you can do it.

From what I see, it looks like you've just missed a few configuration
steps, probably because the warning messages made you think something
was severely broken when it actually wasn't. Make sure you've created a
.i18n file or similar as specified in the myth docs, or else xmltv
definitely won't work well for you. :-)

Rick


I think
RE: Getting xmltv to work? Perl issues [ In reply to ]
Thank you for your help.

reply is below.


On Thu, 2003-04-24 at 19:39, Richard Lee-Morlang wrote:
> On Thu, 2003-04-24 at 11:20, Christopher Jones wrote:
> > Red Hat 9
> >
> > here is what I get when I run tv_grab_na:
> >
> > parameterless "use IO" deprecated at
> > /usr/lib/perl5/site_perl/5.8.0/XML/Writer.pm line 16
> > parameterless "use IO" deprecated at /usr/bin/tv_grab_na line 525
> These are just warning messages. I get the same ones. It still works
> fine.

Ok I wont worry about them then.

> > /usr/bin/tv_grab_na: /root/.xmltv/tv_grab_na.conf:8: invalid
> > /usr/bin/tv_grab_na: Failed to read /root/.xmltv/tv_grab_na.conf
> I don't think you'll have a valid tv_grab_na.conf by default. I think
> you'll get one after running mythtv's setup, however. You can create
> one by following the mythtv documentation, or by following the xmltv
> documentation. All depends on what you want. (I'd recommend myth's.)
> > which might be useless since I know I have missing perl mods.
> Are you sure? Are there other errors you haven't mentioned, because
> the only fatal error here appears to be a missing configuration file,
> which isn't really a Perl or xmltv issue.

I have rebuilt the tv_grab_na.conf with both methods(myth setup and
xmltv configure). Since I know myth is working I have been trying to
just get xmltv working from the command line by itself.


>
> > here is what I get when I try the perl Makefile.PL:
>
> > Writing Makefile for XMLTV
> > [...]
> > some other info:
> And you followed your 'perl Makefile.PL' with 'make' and 'make
> install', right?

yes

no other errors and I have since added the perl mods it says it is
missing manually. The only one that didn't install right is the
Lingua::Preferred.


>
> > BTW, I tried installing all of this using apt-get install xmltv.
> Sure, that's another way you can do it.
>
> >From what I see, it looks like you've just missed a few configuration
> steps, probably because the warning messages made you think something
> was severely broken when it actually wasn't. Make sure you've created
> a .i18n file or similar as specified in the myth docs, or else xmltv
> definitely won't work well for you. :-)
>

One of the main problems is that I am reading from about 3 to 5
different setup manuals. Nobody seems to have a working install doc for
doing this on Red Hat 9.

I first tried the rpm way of installing and it is not working so then I
tried to manually do everything. That is not working either.

It seems that everything is working except xmltv now.

I can do everything except go to the program guide in myth. Since it has
no channel data yet.

Is there any other information that would be useful to you?

Thanks for you help so far.

Regards,
Christopher Jones
RE: Getting xmltv to work? Perl issues [ In reply to ]
What is QT?

Does xmltv use QT?

Regards,
Christopher Jones

On Thu, 2003-04-24 at 19:39, Richard Lee-Morlang wrote:
> On Thu, 2003-04-24 at 11:20, Christopher Jones wrote:
> > Red Hat 9
> >
> > here is what I get when I run tv_grab_na:
> >
> > parameterless "use IO" deprecated at
> > /usr/lib/perl5/site_perl/5.8.0/XML/Writer.pm line 16
> > parameterless "use IO" deprecated at /usr/bin/tv_grab_na line 525
> These are just warning messages. I get the same ones. It still works
> fine.
> > /usr/bin/tv_grab_na: /root/.xmltv/tv_grab_na.conf:8: invalid
> > /usr/bin/tv_grab_na: Failed to read /root/.xmltv/tv_grab_na.conf
> I don't think you'll have a valid tv_grab_na.conf by default. I think
> you'll get one after running mythtv's setup, however. You can create
> one by following the mythtv documentation, or by following the xmltv
> documentation. All depends on what you want. (I'd recommend myth's.)
> > which might be useless since I know I have missing perl mods.
> Are you sure? Are there other errors you haven't mentioned, because
> the only fatal error here appears to be a missing configuration file,
> which isn't really a Perl or xmltv issue.
> > here is what I get when I try the perl Makefile.PL:
>
> > Writing Makefile for XMLTV
> > [...]
> > some other info:
> And you followed your 'perl Makefile.PL' with 'make' and 'make
> install', right?
> > BTW, I tried installing all of this using apt-get install xmltv.
> Sure, that's another way you can do it.
>
> >From what I see, it looks like you've just missed a few configuration
> steps, probably because the warning messages made you think something
> was severely broken when it actually wasn't. Make sure you've created
> a .i18n file or similar as specified in the myth docs, or else xmltv
> definitely won't work well for you. :-)
>
> Rick
>
>
> I think
>
> ______________________________________________________________________
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
Re: Getting xmltv to work? Perl issues [ In reply to ]
>>>>> On 24 Apr 2003 13:20:34 -0500, Christopher Jones <cjones@christopherrjones.com> said:

c> Red Hat 9
c> here is what I get when I run tv_grab_na:

c> parameterless "use IO" deprecated at
c> /usr/lib/perl5/site_perl/5.8.0/XML/Writer.pm line 16
c> parameterless "use IO" deprecated at /usr/bin/tv_grab_na line 525
c> /usr/bin/tv_grab_na: /root/.xmltv/tv_grab_na.conf:8: invalid
c> /usr/bin/tv_grab_na: Failed to read /root/.xmltv/tv_grab_na.conf


Check the XMLTV mailing list. I think the author says this is
a known bug that's fixed in XMLTV CVS.
--
Gregorio Gervasio, Jr.
gtgj@pacbell.net
Re: Getting xmltv to work? Perl issues [ In reply to ]
Sweet man! Thanks!

I couldn't get to the mailing list since the site is down for now, but I
went ahead and gave the cvs version a shot and it works fine.

It looks like this first mythfilldatabase is going to take a while so
I'll see if myth works when it is done.

Thanks again!!

- Christopher Jones

On Thu, 2003-04-24 at 22:27, Gregorio Gervasio Jr. wrote:
> >>>>> On 24 Apr 2003 13:20:34 -0500, Christopher Jones <cjones@christopherrjones.com> said:
>
> c> Red Hat 9
> c> here is what I get when I run tv_grab_na:
>
> c> parameterless "use IO" deprecated at
> c> /usr/lib/perl5/site_perl/5.8.0/XML/Writer.pm line 16
> c> parameterless "use IO" deprecated at /usr/bin/tv_grab_na line 525
> c> /usr/bin/tv_grab_na: /root/.xmltv/tv_grab_na.conf:8: invalid
> c> /usr/bin/tv_grab_na: Failed to read /root/.xmltv/tv_grab_na.conf
>
>
> Check the XMLTV mailing list. I think the author says this is
> a known bug that's fixed in XMLTV CVS.