Re: Installing XMLTV 0.5.66 from source on Debian

Josu Lazkano <[email protected]> Mon, 18 May 2015 08:25:18 +0200
Newsgroups gmane.comp.tv.xmltv.general
Message-ID <CAL9G6WUyb8CdEUbR_cmYqVk34SYmgX-=0oBGnfv0EqTCVmMyzw@mail.gmail.com>
Hello Nick,

I installed latest version as you say, it compile well and get channel
list perfect.

But when I execute to get the description I get this:

$ tv_grab_es_laguiatv
...
The 'minute' parameter (undef) to DateTime::set was an 'undef', which
is not one of the allowed types: scalar
 at /usr/lib/x86_64-linux-gnu/perl5/5.20/DateTime.pm line 1946.
DateTime::set(undef, "hour", undef, "minute", undef, "second", 0)
called at /usr/local/bin/tv_grab_es_laguiatv line 662
main::get_program_data(HTML::TreeBuilder=HASH(0x41da0b0)) called at
/usr/local/bin/tv_grab_es_laguiatv line 529
main::process_table("", "13tv-943.laguiatv.com", "13tv-943") called at
/usr/local/bin/tv_grab_es_laguiatv line 467

Thanks for your help.

Regards.


2015-05-16 3:18 GMT+02:00 Nick Morrott <[email protected]>:
> The current XMLTV packages on Debian (0.5.63) are now 3 major releases
> behind. Several grabbers have been fixed, and more added, so running
> the current stable release of XMLTV (0.5.66 as I write) is essential
> to get the best range of working grabbers.
>
> In order to build XMLTV from source, we first need to install all
> necessary build dependencies (note that I've used aptitude in these
> examples, you can use apt-get if you prefer).
>
> 1. Install build deps for current XMLTV package (0.5.63)
>
> We could manually install all Perl dependencies from CPAN (most XMLTV
> deps are Perl libs) but we can take advantage of the fact that XMLTV
> is already built for Debian and install the build dependencies for the
> current XMLTV package directly from the Debian repos:
>
>
> # aptitude build-dep xmltv
>
> The following NEW packages will be installed:
>   debhelper kakasi-dic{a} libclass-methodmaker-perl{a}
> libcompress-raw-bzip2-perl{a} libcompress-raw-lzma-perl{a}
> libcompress-raw-zlib-perl{a} libdata-dump-perl
> libemail-address-perl{a} libemail-find-perl{a}
> libexporter-lite-perl{a}
>   libfile-slurp-perl libhtml-fromtext-perl{a}
> libhtml-tableextract-perl libhttp-cache-transparent-perl
> libhttp-server-simple-perl{a} libio-compress-lzma-perl{a}
> libio-compress-perl libkakasi2{a} liblingua-preferred-perl
>   liblinux-dvb-perl liblog-tracemessages-perl libmail-sendmail-perl{a}
> libparse-recdescent-perl libsys-hostname-long-perl{a}
> libterm-progressbar-perl libtext-bidi-perl libtext-kakasi-perl
> libtk-tablematrix-perl libunicode-string-perl
>   libwww-mechanize-perl libxml-dom-perl libxml-libxslt-perl
> libxml-perl{a} libxml-regexp-perl{a} libxml-writer-perl perl-tk
> po-debconf{a}
> 0 packages upgraded, 37 newly installed, 0 to remove and 0 not upgraded.
> Need to get 5,721 kB of archives. After unpacking 37.8 MB will be used.
>
>
> At this stage, we have installed *most* of the required dependencies
> for XMLTV 0.5.66 but because new grabbers have been added and old ones
> fixed, we will need to add any new dependencies added between the
> release of 0.5.63 and the current version of XMLTV (0.5.66 as I
> write).
>
> Your list may not be exactly the same as above as it depends which
> packages you already have installed on your system. The above list is
> taken from a fairly clean Debian Jessie system running MythTV.
>
> 2i. Install build deps for XMLTV 0.5.66
>
> The following additional build dependencies need to be installed to
> ensure we have everything we need to build 0.5.66:
>
> # aptitude install libxml-treepp-perl liblingua-en-numbers-ordinate-perl
>
> The following NEW packages will be installed:
>   liblingua-en-numbers-ordinate-perl libxml-treepp-perl
> 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Need to get 35.8 kB of archives. After unpacking 168 kB will be used.
>
>
> 2ii) Install build deps for tv_grab_pt (optional)
>
> The version of tv_grab_pt in XMLTV 0.5.66 (it was disabled initially
> when I ran Makefile.PL) requires the Unicode::UTF8simple library which
> is not built for Debian. I have updated the grabber in CVS and this
> requirement will not be present in XMLTV 0.5.67.
>
> To install this dependency, we use the cpan script. We run the script
> as the user who is going to to run the grabber(s) as cpan typically
> installs Perl modules into that user's home directory:
>
> $ cpan Unicode::UTF8simple
>
> Once this dependency is installed, we should be good to build XMLTV.
>
>
> 3. Build XMLTV
>
> i) Download the sourcefile and extract it:
>
> $ wget http://sourceforge.net/projects/xmltv/files/xmltv/0.5.66/xmltv-0.5.66.tar.bz2/download
> -O xmltv-0.5.66.tar.bz2
> $ tar -xjf xmltv-0.5.66.tar.bz2
> $ cd xmltv-0.5.66/
>
> ii) Configure grabbers to be built as required (set PREFIX as desired):
>
> $ perl Makefile.PL PREFIX=/usr/local
>
> Do you want to proceed with this configuration? [yes,no (default=yes)] y
> Checking if your kit is complete...
> Looks good
> Generating a Unix-style Makefile
> Writing Makefile for XMLTV
> Writing MYMETA.yml and MYMETA.jso
>
> iii) Build
>
> $ make
>
> iv) Install (optional)
>
> # make install
>
> Note that instead of installing XMLTV to /usr/local (or whatever path
> was given to Makefile.PL), we can run the grabbers directly from the
> build tree by specifying the path to the xmltv-0.5.66/blib/lib
> directory with the -I switch when running a grabber.
>
>
> I will try to get an up-to-date set of XMLTV packages for Debian built
> in the near future, but hope this helps in the meantime.
>
> Cheers,
> Nick
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> xmltv-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xmltv-users



-- 
Josu Lazkano

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y