[mythtv-users] Bindings not upgrading

Nick Morrott knowledgejunkie at gmail.com
Mon Sep 20 14:42:43 UTC 2010


On 17 September 2010 03:15, aaron <memoryguy at gmail.com> wrote:
> On Thu, Sep 16, 2010 at 07:42, Nick Morrott <knowledgejunkie at gmail.com> wrote:
>>
>> I'm surprised it isn't...
>>
>> What is the output of
>>
>> $ perl -V
>
> Wow, I've never run this particular command before:
>
> myth at myth:~$ perl -V

<snip>

>  @INC:
>    /usr/lib/perl5/5.10.0/i486-linux-thread-multi
>    /usr/lib/perl5/5.10.0
>    /usr/lib/perl5/site_perl/5.10.0/i486-linux-thread-multi
>    /usr/lib/perl5/site_perl/5.10.0
>    /usr/lib/perl5/site_perl
>    /usr/lib/perl5/vendor_perl/5.10.0/i486-linux-thread-multi
>    /usr/lib/perl5/vendor_perl/5.10.0
>    /usr/lib/perl5/vendor_perl

As your @INC is only looking under /usr, setting the PERL5LIB
environment variable so that perl can find your bindings (and any
other Perl modules not installed under /usr) is probably the easiest
way to go. As a comparator, my Debian squeeze/sid system reports @INC
as:

  @INC:
    /etc/perl
    /usr/local/lib/perl/5.10.1
    /usr/local/share/perl/5.10.1
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.10
    /usr/share/perl/5.10
    /usr/local/lib/site_perl

Cheers,
Nick

-- 
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list