LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-27-2014, 07:11 AM   #1
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Rep: Reputation: 18
Perl bindings for mythtv


I'm trying to run /usr/share/mythtv/contrib/user_jobs/mythlink.pl but I get the following error:

Code:
Can't locate MythTV.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/share/mythtv/contrib/user_jobs/mythlink.pl line 22.
BEGIN failed--compilation aborted at /usr/share/mythtv/contrib/user_jobs/mythlink.pl line 22.
It seems like MythTV perl bindings aren't installed (did a search for MythTV using slocate and all I see are PHP and Python bindings). I installed mythtv 0.26 using the SBo slackbuild.

How do I get the perl bindings installed/found?
 
Old 06-27-2014, 07:49 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
What do you get from:

Code:
perl -ne 'print if $. == 22' < /usr/share/mythtv/contrib/user_jobs/mythlink.pl
 
Old 06-27-2014, 07:54 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
on SBo mythtv is at 0.27 and its configure options contain
Code:
  --with-bindings="perl,python,php" \
 
Old 06-27-2014, 07:06 PM   #4
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
One of the mythtv dependencies was missing (perl-Net-UPnP) so to bindings didn't install. Installed the dependency and recompiled mythtv. All good now.

Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Perl Bindings Come For Wayland LXer Syndicated Linux News 0 11-18-2013 04:10 AM
Migrating from Mythbuntu 11.04 mythtv 0.25 to LinHES 7.4 mythtv 0.25 michaelross372 Arch 0 01-17-2013 08:44 PM
Perl error running mythtv script slackhack Debian 2 05-23-2008 03:35 PM
LXer: Qyoto C#/Mono Bindings for Qt4, New QtRuby release and PHP Bindings Coming Soon LXer Syndicated Linux News 0 07-03-2007 09:01 PM
yum install mythtv-suite, Mythtv, nothing found, atrpms THOR_Fedora Linux - Software 5 11-29-2006 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration