[mythtv-users] Custom perl script in OSX
Dan Wilga
mythtv-users2 at dwilga-linux1.amherst.edu
Thu Jul 3 15:22:19 UTC 2014
On 7/3/14, 10:36 AM, Rob Miller wrote:
> I'm attempting to create a custom user job using this script
> (http://www.mythtv.org/wiki/High_Quality_Transcode) as a basis. I am
> getting an error on the "Use MythTV;" line. Can anyone tell me where
> my custom scripts should be located for an OSX installation? Is that
> my problem or is there something else? I am running Lion, the latest
> version that works on this Mac Pro...
>
> Can't locate MythTV.pm in @INC (@INC contains:
> /opt/dvr/lib/perl5/site_perl/5.16.3/darwin-thread-multi-2level
> /opt/dvr/lib/perl5/site_perl/5.16.3
> /opt/dvr/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level
> /opt/dvr/lib/perl5/vendor_perl/5.16.3
> /opt/dvr/lib/perl5/5.16.3/darwin-thread-multi-2level
> /opt/dvr/lib/perl5/5.16.3 /opt/dvr/lib/perl5/site_perl
> /opt/dvr/lib/perl5/vendor_perl .) at mythtv_turbo264hd_encode.pl
> <http://mythtv_turbo264hd_encode.pl> line 18.
> BEGIN failed--compilation aborted at custom_script.pl
> <http://custom_script.pl> line 18.
The problem isn't the location of your script, it's the location of the
MythTV perl module. You need to find MythTV.pm, and then do something like:
use lib '/path/to/MythTV';
before "use MythTV". Of course, depending on how you installed MythTV,
it's quite possible that this perl module wasn't included.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140703/9d7e8482/attachment.html>
More information about the mythtv-users
mailing list