Thanks for your excellent response, makes installing so easy assuming I did it correctly. I think everything that was required is installed, but I am not sure everything was installed
in the right location.

It appears that Perl 5.10.1 was installed and all the modules I installed are associated with Perl 5.10.1. When I try to run the get_iplayer PVR module I get the following error: Can't locate loadable object for module HTML::Parser in @INC (@INC contains: /opt/local/lib/perl5/5.8.8/darwin-2level
(I have abbreviated the error message)

And when I enter perl -v  I get the following:
This is perl, v5.8.8 built for darwin-2level

So the system does not see the Perl 5.10.1 install. Can someone please tell me if there is a was to install the modules so they relate to perl, v5.8.8, or point get_iplayer to use Perl 5.10.1.



On 12 Sep 2009, at 05:02, Packy Anderson wrote:

On Sep 11, 2009, at 5:33 PM, Mine wrote:
I don't fully understand what Perl does but if Perl comes installed with OSX it appears that I also have an install of Perl via MacPorts. I assume that
get_iplayer is looking at the preinstalled Perl but I am not sure.

Perl is a programming language, and it appears that get_iplayer is written in it.

The perl that comes installed with OS X is located at /usr/bin/ perl. If you've also installed perl from some other source (like MacPorts) then you might have another perl at some other location.

I've taken a look at the iplayer source (available through http:// linuxcentre.net/getiplayer/) and it's definitely using the Perl that comes with OS X at /usr/bin/perl/

Although I am no expert, I have used the Terminal to install binaries before
so i will give it a go.

It's fairly simple.  Type

  sudo perl -MCPAN -e shell

At a Terminal prompt and enter in your password when prompted. You'll be asked to configure CPAN the first time you run it; just take the defaults and you'll be fine. Then, once you get a "cpan[1] >" command prompt, type the following:

  cpan[1]> install LWP

and hit enter. It will automatically figure out what prerequisites you need and download all the packages. Again, I generally take the defaults and everything works well.


Reply via email to