[mythtv-users] Custom perl script in OSX
Karl Dietz
dekarl at spaetfruehstuecken.org
Fri Jul 4 06:29:05 UTC 2014
On 04.07.2014 08:19, Jean-Yves Avenard wrote:
>
> Perl modules are expected to be found in a particular location.
> On mac, the bundle can be moved at whim. How would your 3rd party
> module determine where the perl bindings are located? its not
> guaranteed to be fixed.
>
> For python bindings, I wrote a work around as with python this is made
> easy as you simply have to set an environment variable to add to the
> python path search.
>
> Perl doesn't provide that mechanism.
>
> So my guess is that if you want to use perl scripts using mythtv perl
> bindings, you will have to use mac ports, which install things in a
> similar fashion to what other unixes are doing
Hmm, we could set PERL5LIB to include the path where the bindings are
located.
While its not really documented I've seen that used in the past, looks
like others hit the same issue (its not documented) before :(
http://www.nntp.perl.org/group/perl.perl5.porters/2010/02/msg157029.html
Regards,
Karl
More information about the mythtv-users
mailing list