<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 7/3/14, 10:36 AM, Rob Miller wrote:<br>
</div>
<blockquote
cite="mid:CA+So5BV4-kpnwcXysU1KxMasi5g8YtfUwMar1bDj7h=ucVce=Q@mail.gmail.com"
type="cite">
<div dir="ltr">I'm attempting to create a custom user job using
this script (<a moz-do-not-send="true"
href="http://www.mythtv.org/wiki/High_Quality_Transcode">http://www.mythtv.org/wiki/High_Quality_Transcode</a>)
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...
<div>
<br>
</div>
<div>
<div>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 <a
moz-do-not-send="true"
href="http://mythtv_turbo264hd_encode.pl">mythtv_turbo264hd_encode.pl</a>
line 18.</div>
<div>BEGIN failed--compilation aborted at <a
moz-do-not-send="true" href="http://custom_script.pl">custom_script.pl</a>
line 18.</div>
</div>
</div>
</blockquote>
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:<br>
<br>
use lib '/path/to/MythTV';<br>
<br>
before "use MythTV". Of course, depending on how you installed
MythTV, it's quite possible that this perl module wasn't included.<br>
</body>
</html>