You are not logged in.

#1 2007-06-12 18:29:07

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

XMLTV problems

Well after doing a total reinstall on my MythBox after upgrading the box to Arch 0.8 I'm running into some problems.

First of all i have a problem with xmltv - it needs the perl-soap-lite -from AUR and that package has a dependencies that I cannot solve in any way - needs perl-http-daemon ??? Where can I find that problem.

I tryed to remove perl-http-daemon from the dependencies line and install it all - but under mythtv-setup I ran again into problems with this:
Making an VideoSource (Denmark = tv_grab_dk) gives me constantly this error :
2007-06-12 20:21:34.835 Please wait while MythTV retrieves the list of available channels
getting list of channels: no channels could be found at /usr/bin/tv_grab_dk line 238.
2007-06-12 20:21:35.168 tv_grab_dk --config-file '/root/.mythtv/Antenne.xmltv' --configure
2007-06-12 20:21:35.168 exited with status 512


Well I know that I'm not suposed to run this as root - but my normal user does not have the options to se which cards etc there is - so all in all I have not the permission to run this as the normal Mythtv user ??? But setting MythTv up  should also be a thing for root - or am I wrong ???

Have somebody an idea of whats going on???? Caurse I have never experience this error before?

thanks
P


Just getting better .... All the time

Offline

#2 2007-06-13 01:05:45

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: XMLTV problems

For perl-soap-lite, use this PKGBUILD:

pkgname=perl-soap-lite
pkgver=0.69
pkgrel=2
pkgdesc="Perl/CPAN Module SOAP::Lite"
arch=("i686" "x86_64")
url="http://search.cpan.org/BYRNE/SOAP-Lite"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/B/BY/BYRNE/SOAP-Lite-0.69.tar.gz")
md5sums=("24e0c656a6a7047c91f7f3f3b5c36513")
makedepends=("perl-mime-parser" "perl-uri" "perl-compress-zlib" "perl-crypt-ssleay" "perl-libwww" "perl-mime-lite" "perlxml" "perl-fcgi")
depends=("perl-mime-parser" "perl-uri" "perl-compress-zlib" "perl-crypt-ssleay" "perl-libwww" "perl-mime-lite" "perlxml" "perl-fcgi")
build() {
  cd $startdir/src/SOAP-Lite-0.69
  eval `perl -V:archname`
  /usr/bin/perl Makefile.PL \
  INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
  INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
  INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
  /usr/bin/find $startdir/pkg -name '.packlist' -exec rm  '{}' \; && \
  /usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm  '{}' \; && \
  /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
}

It's going to prompt you in the build process. I guess the default values will do.

For the permission issue, check if there is a group for mythtv or to which group belong the devices for the tv card.

Offline

#3 2007-09-22 21:24:42

r76
Member
Registered: 2007-09-13
Posts: 19

Re: XMLTV problems

Excuse the ignorance, but how do I use this PKGBUILD?

Offline

#4 2007-09-22 21:30:58

r76
Member
Registered: 2007-09-13
Posts: 19

Re: XMLTV problems

Sorry - ignore that.

Make a folder, place the PKGBUILD file in it, navigate to the folder and makepkg.  I'm right aren't I?
Learning fast, thanks for your patience... tongue

Offline

#5 2007-09-22 21:51:50

r76
Member
Registered: 2007-09-13
Posts: 19

Re: XMLTV problems

sad

More problems, now I get missing dependencies: perlxml
Any idea how to get round this please?  Hope someone can help smile

EDIT: I need perlxml resolved to get this perl-soap-lite from the AUR installed.  I need perl-soap-lite so I can get xmltv installed.

Last edited by r76 (2007-09-22 21:55:12)

Offline

#6 2007-09-23 02:21:47

bluePoet
Member
From: Düsseldorf, Germany
Registered: 2006-01-09
Posts: 38
Website

Re: XMLTV problems

just install them with pacman, perlxml is in extra and  perl-soap-lite in community smile

Offline

#7 2007-09-23 10:14:14

r76
Member
Registered: 2007-09-13
Posts: 19

Re: XMLTV problems

Thanks bluePoet, I tried that, but there are errors I don't understand...

pacman -S perl-soap-lite
resolving dependencies...
error: cannot resolve dependencies for "perl-soap-lite" ("perl-http-daemon" is not in the package set)
error: failed to prepare transaction (could not satisfy dependencies)
:: perl-soap-lite requires perl-http-daemon

pacman -S perlxml
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: perlxml-2.34-4

Total Package Size:   0.22 MB

Proceed with installation? [Y/n] y
checking package integrity... done.
cleaning up... done.
(1/1) checking for file conflicts                   [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser.pm exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/Japanese_Encodings.msg exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/README exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/big5.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/euc-kr.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/iso-8859-2.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/iso-8859-3.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/iso-8859-4.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/iso-8859-5.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/iso-8859-7.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/iso-8859-8.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/iso-8859-9.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/windows-1250.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/windows-1252.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/x-euc-jp-jisx0221.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/x-euc-jp-unicode.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/x-sjis-cp932.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/x-sjis-jdk117.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/x-sjis-jisx0221.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Encodings/x-sjis-unicode.enc exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Expat.pm exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/LWP
ExternEnt.pl exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Style/Debug.pm exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Style/Objects.pm exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Style/Stream.pm exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Style/Subs.pm exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/XML/Parser/Style/Tree.pm exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.bs exists in filesystem
perlxml: /usr/lib/perl5/site_perl/current/i686-linux-thread-multi/auto/XML/Parser/Expat/Expat.so exists in filesystem
perlxml: /usr/man/man3/XML::Parser.3.gz exists in filesystem
perlxml: /usr/man/man3/XML::Parser::Expat.3.gz exists in filesystem
perlxml: /usr/man/man3/XML::Parser::Style::Debug.3.gz exists in filesystem
perlxml: /usr/man/man3/XML::Parser::Style::Objects.3.gz exists in filesystem
perlxml: /usr/man/man3/XML::Parser::Style::Stream.3.gz exists in filesystem
perlxml: /usr/man/man3/XML::Parser::Style::Subs.3.gz exists in filesystem
perlxml: /usr/man/man3/XML::Parser::Style::Tree.3.gz exists in filesystem

errors occurred, no packages were upgraded.

Offline

#8 2007-09-24 19:40:38

r76
Member
Registered: 2007-09-13
Posts: 19

Re: XMLTV problems

How about this, all these /usr/lib/perl5 (blah blah blah files and so on...) exists in file system"... if I manually delete all those, then try "pacman -S perlxml" again?  Is that a good idea or noob idiocy?

Then all I need to sort out is "error: cannot resolve dependencies for "perl-soap-lite" ("perl-http-daemon" is not in the package set)"...

You know, so many places I read said installing arch was hard.  It totally was not.  The setup took ages because I had to look everything up but it was straightforward.  Even the kernel panic was well described here and I've managed to get everything else running great.  The whole experience was exciting - I learned loads about my system, and at each step I was nervous I'd screw everything I did previously... but it just worked. Wow :-)

It's only this one program I want to use, freeguide, that requires xmltv, that I need to sort now. That is hard.

Offline

#9 2007-09-24 21:04:40

bluePoet
Member
From: Düsseldorf, Germany
Registered: 2006-01-09
Posts: 38
Website

Re: XMLTV problems

there's no need to delete the files, pacman -Sf should overwrite them. If that's a good idea, well, I dont know, but it should work ;-)

for the perl-http-daemon, see the comments here:

http://aur.archlinux.org/packages.php?d … =1&ID=7917

it says, perl-soap-lite depends on perl-libwww (which is in extra) instead of perl-http-daemon, and there's a link to a PKGBUILD in the second comment...

Last edited by bluePoet (2007-09-24 21:06:49)

Offline

#10 2007-09-24 21:55:04

r76
Member
Registered: 2007-09-13
Posts: 19

Re: XMLTV problems

Cheers, I'll try those suggestions tomorrow.  When I find the way I'll be sure to leave some helpful comments on the xmltv and freeguide packages in the AUR to help the next person who tries this!

Anyway, I backed up my whole system as it's running so perfectly, so I'm happy to try anything - I can always get back to this state. big_smile

Offline

#11 2007-09-27 10:35:10

r76
Member
Registered: 2007-09-13
Posts: 19

Re: XMLTV problems

How unbelievable is this... I installed xmltv from the AUR ok following your instructions (thank you!), then installed freeguide, which runs but complains about "XMLTV tools" not being in my PATH.  I'm pretty sure that it's just missing a listings grabber, in my case tv_grab_uk_rt, which in Ubuntu may have been supplied from a separate dependency of freeguide called xmltv-utils.  So I did a google search on the error message and look what's right under my nose...

http://wiki.archlinux.org/index.php/XMLTV_HOWTO
An xmltv howto on the arch wiki. roll

I will uninstall my xmltv, perl-soap-lite and perlxml in that order and then compile this version, as it looks like I can choose a grabber at that stage, and doesn't have all the perl-dependency issues.  Although I'm sure the grabber itself isn't that hard to install from reading pkgbuilds for other tv_grab... files listed under xmltv in the wiki, I'll try this method instead and compile a more recent xmltv build.

I've only used .deb packages in the past, and do a "sudo apt-get autoclean" and "autoremove" to clear out all those old cached packages and dependencies after uninstalling software.  Anything like this advised for use with pacman?

Offline

#12 2007-09-27 14:00:58

bluePoet
Member
From: Düsseldorf, Germany
Registered: 2006-01-09
Posts: 38
Website

Re: XMLTV problems

yup, it's pacman -Scc

Offline

#13 2007-10-12 18:55:52

r76
Member
Registered: 2007-09-13
Posts: 19

Re: XMLTV problems

OK so the wiki entry didn't work for me.

So I tried a mish-mash of the above, and now have a mostly* working Freeguide install.

* Good enough for now, I will go back and reinstall properly with proper PKGBUILDs when I get more free time to learn how.

Here's what I did from scratch (after removing the aforementioned partial install as above)

pacman -S perlxml

then create /var/abs/local/soap directory, and save the following there as PKGBUILD

pkgname=perl-soap-lite
pkgver=0.69
pkgrel=2
pkgdesc="Perl/CPAN Module SOAP::Lite"
arch=("i686" "x86_64")
url="http://search.cpan.org/BYRNE/SOAP-Lite"
license=("GPL" "Artistic")
source=("http://www.cpan.org/authors/id/B/BY/BYRNE/SOAP-Lite-0.69.tar.gz")
md5sums=("24e0c656a6a7047c91f7f3f3b5c36513")
makedepends=("perl-mime-parser" "perl-uri" "perl-compress-zlib" "perl-crypt-ssleay" "perl-libwww" "perl-mime-lite" "perlxml" "perl-fcgi")
depends=("perl-mime-parser" "perl-uri" "perl-compress-zlib" "perl-crypt-ssleay" "perl-libwww" "perl-mime-lite" "perlxml" "perl-fcgi")
build() {
  cd $startdir/src/SOAP-Lite-0.69
  eval `perl -V:archname`
  /usr/bin/perl Makefile.PL \
  INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
  INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
  INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname} || return 1
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
  /usr/bin/find $startdir/pkg -name '.packlist' -exec rm  '{}' \; && \
  /usr/bin/find $startdir/pkg -name 'perllocal.pod' -exec rm  '{}' \; && \
  /usr/bin/find $startdir/pkg -depth -type d -empty -exec rmdir '{}' \;
}

then in that directory execute in terminal

makepkg
pacman -U (perl-soap-lite)

download xmltv (0.5.48) to /var/abs/local/xmltv
untar (tar xjvf '/var/abs/local/xmltv/xmltv-0.5.45.tar.bz2')
(cd to untarred xmltv directory)

perl Makefile.PL

make
make install

pacman -S jdk apache-ant

OK I should have made xmltv a package so pacman could handle it, not make install - but I followed that bit from the wiki.  JDK and apache-ant had come up as dependencies, that's why they're installed.  Create /var/abs/local/freeguide directory, and save the following there as PKGBUILD

# Contributor: rabyte <rabyte__gmail>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>

pkgname=freeguide
pkgver=0.10.5
pkgrel=1
pkgdesc="A TV guide program written in Java"
arch=('i686' 'x86_64')
url="http://freeguide-tv.sourceforge.net/"
license=('GPL')
depends=('jre>=1.4')
makedepends=('jdk' 'apache-ant')
source=(http://downloads.sourceforge.net/$pkgname-tv/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver

  ant || return 1
  ant -Dinstall_share_dir=$startdir/pkg/usr/share \
      -Dinstall_bin_dir=$startdir/pkg/usr/bin  \
      -Dinstall_doc_dir=$startdir/pkg/usr/share/freeguide/doc \
      -Dinstall_real_doc_dir=/usr/share/freeguide/doc \
      -Dinstall_real_dir=/usr/share/freeguide \
      install-linux
}

That is definitely a botched job -  I had to edit the PKGBUILD from the AUR so that it picked the most recent version of Freeguide, but I didn't understand how to do md5 checking so I removed those lines (bad practice, I can see that much myself...).  And I removed xmltv from the makedepends bit because my install wasn't picked up in building the package.

makepkg

pacman -U '/var/abs/local/free/freeguide-0.10.5-1-i686.pkg.tar.gz'

So Freeguide is now installed and properly was added to the multimedia section of my kde-mod menu.  Running it though I can't choose any channels, despite the fact that I did pick the grabber I need (tv_grab_uk_rt) during the install process for xmltv and it's definitely in the expected directory.  But if I run

tv_grab_uk_rt --configure

That puts a .conf file with channel info (I usually select 'all' then edit this file manually) in the .xmltv directory inside my home folder.  Then copying the channel info from that, it goes into one of the .freeguide subdirectories, when I open Freeguide it will download the channels I chose.

So it's working, of sorts.  big_smile  I have to see if I can configure it to choose channels itself, and work out how to make PKGBUILDs.  Once I've sorted that I'll write it up for the wiki.

Offline

Board footer

Powered by FluxBB