Mailing List Archive

xmltv setup errors
running RH8.0

I am trying to install xmltv 0.5.2 and I have installed the various needed
perl modules
but I am getting errors all over the place.

first of all, I can't get XML::Twig to install properly which causes
errors in the makefile for xmltv.
here are the errors I'm getting

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, $
t/is_field...............ok
t/test1..................ok
t/test2..................ok
t/test3..................ok
t/test4..................ok
t/test5..................ok
t/test_attregexp_cond....ok
t/test_cdata.............ok
t/test_entities..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/test_erase.............ok
t/test_ignore_elts.......ok
t/test_nav...............ok
t/test_spaces............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/test_twig_roots........ok
t/test_xpath_cond........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/test_entities.t 255 65280 6 6 100.00% 1-6
t/test_spaces.t 255 65280 3 3 100.00% 1-3


this also spits out to the terminal during the make test


undefined entity at line 4, column 13, byte 77:
<!DOCTYPE doc SYSTEM "t/dummy.dtd">
<doc>
<elt1>toto &ent1;</elt1>
============^
<elt2>tata &ent2;</elt2>
<elt3>tutu &ent3;</elt3>
at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/Parser.pm
line 185

undefined entity at line 2, column 4, byte 36 at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/Parser.pm line
185
Failed 2/15 test scripts, 86.67% okay. 9/374 subtests failed, 97.59% okay.
make: *** [test_dynamic] Error 29

any ideas?
Re: xmltv setup errors [ In reply to ]
On Friday 11 October 2002 11:22 am, Greg.Froese@federated.ca wrote:
> running RH8.0
>
> I am trying to install xmltv 0.5.2 and I have installed the various needed
> perl modules
> but I am getting errors all over the place.
>>
> any ideas?

No, but the xmltv list might.

Isaac
Re: xmltv setup errors [ In reply to ]
On Fri, 11 Oct 2002, Greg.Froese@Federated.CA wrote:

> running RH8.0
>
> I am trying to install xmltv 0.5.2 and I have installed the various needed
> perl modules
> but I am getting errors all over the place.

I too had problems. I don't recall all the details, but I did find that
the file:

/usr/lib/perl5/vendor_perl/5.8.0/XML/Twig.pm

was lacking a required '1' return value. If you add a line that says:

1;

before the '__END__' in that file, that may help.

This is with the redhat supplied rpm for XML::Twig, which is
'perl-XML-Twig-3.05-3'.

If I remember right, I had the problems you outlined below when I tried to
install XML::Twig from source, but I got the redhat rpm version going with
the hack above.

I'd like to hope it isn't RedHat that have caused this mess.

- Justin

--
justin@hawkins.id.au | "Don't sweat it --
http://hawkins.id.au | it's only 1's and 0's"
Re: xmltv setup errors [ In reply to ]
justin, thanks for the tip.
that got rid of the xml twig error
i am also getting TONS of errors similar to the following.

Malformed UTF-8 character (1 byte, need 3, after start byte 0xe3) at
/usr/lib/perl5/site_perl/5.8.0/Date/Manip.pm line 6497, <STDIN> line 4

when I try to perl Makefile.PL the xmltv.

did you also experience this?





Justin Hawkins <justin@hawkins.id.au>
Sent by: mythtv-dev-admin@snowman.net
10/11/2002 10:40 AM
Please respond to mythtv-dev


To: "Greg.Froese@Federated.CA" <Greg.Froese@federated.ca>
cc: "mythtv-dev@snowman.net" <mythtv-dev@snowman.net>
Subject: Re: [mythtv] xmltv setup errors


On Fri, 11 Oct 2002, Greg.Froese@Federated.CA wrote:

> running RH8.0
>
> I am trying to install xmltv 0.5.2 and I have installed the various
needed
> perl modules
> but I am getting errors all over the place.

I too had problems. I don't recall all the details, but I did find that
the file:

/usr/lib/perl5/vendor_perl/5.8.0/XML/Twig.pm

was lacking a required '1' return value. If you add a line that says:

1;

before the '__END__' in that file, that may help.

This is with the redhat supplied rpm for XML::Twig, which is
'perl-XML-Twig-3.05-3'.

If I remember right, I had the problems you outlined below when I tried to
install XML::Twig from source, but I got the redhat rpm version going with
the hack above.

I'd like to hope it isn't RedHat that have caused this mess.

- Justin

--
justin@hawkins.id.au | "Don't sweat it --
http://hawkins.id.au | it's only 1's and 0's"

_______________________________________________
mythtv-dev mailing list
mythtv-dev@snowman.net
http://www.snowman.net/mailman/listinfo/mythtv-dev
Re: xmltv setup errors [ In reply to ]
On Fri, 11 Oct 2002, Greg.Froese@Federated.CA wrote:

> justin, thanks for the tip.
> that got rid of the xml twig error
> i am also getting TONS of errors similar to the following.
>
> Malformed UTF-8 character (1 byte, need 3, after start byte 0xe3) at
> /usr/lib/perl5/site_perl/5.8.0/Date/Manip.pm line 6497, <STDIN> line 4

Yep, I reckon it did.

- Justin

--
justin@hawkins.id.au | "Don't sweat it --
http://hawkins.id.au | it's only 1's and 0's"
RE: xmltv setup errors [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you're still having problems getting XMLTV to work, here's what I
learned on the the XMLTV list from people who had the same issue.
Turns out that Perl 5.8 changed some things, so if you've got 5.8 you
need to go to the xmltwig.com site and download XMLTWIG v3.09.

That fixed it for me.

Note that CPAN will still download the v3.08 of XMLTWIG as of two
days ago.

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

iQA/AwUBPbvvTvc1NpCTlP0JEQKXHwCgjA+RMOaa1aex6Bse6chvaREboeIAoNVt
8/Mt2PpgPmkprrH7cGpULnLv
=GkpU
-----END PGP SIGNATURE-----