These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Installation Help Required Please

Pages: 1 2

user-815

I have been trying to install get_iplayer using the Mac OS X Quick Install Guide which I found at the address below :-

https://squarepenguin.co.uk/guides/mac-o...all-guide/

I have managed to foolow steps 1 to 8 successfully (I think), but have hit a wall at the stage 9.

Quote:-
"You should see the TV cache being populated and the list of available TV programmes scroll past in the terminal window."

I did, but then I can work out how to perform test downloads.

Please can you help?

user-815

Oops! I meant to write I can't work out how to perform test downloads. Sorry!

user-815

Some additional information :-

After the list of TV programmes scrolls past in the terminal window, the following text appears in the terminal window :-

INFO: 1991 Matching Programmes
logout

[Process completed]

After this, I am unable to key any further text in the terminal window.

What am I doing wrong, please?

user-2

It looks like you are launching the get_player script from Finder. That is not what the instructions tell you to do in step 9.

user-815

Thanks for your reply, DP

Quote from Mac OS X Quick Install Guide :-

"9. That's it! You have installed get_iplayer. In the terminal window, navigate to your home directory:

cd ~

then test your newly-installed get_iplayer:

get_iplayer

You should see the TV cache being populated and the list of available TV programmes scroll past in the terminal window.

Perform a few test downloads to ensure everything is working correctly. Once you are sure that is the case, you can delete the working folder you created earlier."

OK. So I've been back to the terminal window once again and followed the instructions from step 9 (which, as you can see, I have duplicated above).

In the terminal window I keyed :-

cd ~

and then :-

get_iplayer

and the following appeared :-

-bash: get_iplayer: command not found

What does this indicate, please and what do I need to do now?

user-2

Run this in Terminal and post the output:

Code:
echo $PATH && which get_iplayer

user-815

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

user-2

That suggests you went wrong at step 8 and didn't install the files in
Code:
/usr/local/bin
. Run the following in Terminal and post the output, if any:

Code:
ls -l /usr/local/bin/{get_iplayer,get_iplayer.cgi,AtomicParsley,ffmpeg,id3v2,mplayer,rtmpdump}

user-815

ls: /usr/local/bin/AtomicParsley: Permission denied
ls: /usr/local/bin/ffmpeg: Permission denied
ls: /usr/local/bin/get_iplayer: Permission denied
ls: /usr/local/bin/get_iplayer.cgi: Permission denied
ls: /usr/local/bin/id3v2: Permission denied
ls: /usr/local/bin/mplayer: Permission denied
ls: /usr/local/bin/rtmpdump: Permission denied

user-2

OK, try it again with
Code:
sudo
:

Code:
sudo ls -l /usr/local/bin/{get_iplayer,get_iplayer.cgi,AtomicParsley,ffmpeg,id3v2,mplayer,rtmpdump}



Enter your password when prompted.

user-815

This is the output this time :-

-rwxr-xr-x@ 1 root wheel 412688 3 Jan 14:17 /usr/local/bin/AtomicParsley
-rwxr-xr-x@ 1 root wheel 24390056 3 Jan 14:17 /usr/local/bin/ffmpeg
-rwxr-xr-x@ 1 root wheel 423921 3 Jan 14:17 /usr/local/bin/get_iplayer
-rwxr-xr-x@ 1 root wheel 148275 3 Jan 14:17 /usr/local/bin/get_iplayer.cgi
-rwxr-xr-x@ 1 root wheel 333504 3 Jan 14:17 /usr/local/bin/id3v2
-rwxr-xr-x@ 1 root wheel 15752688 3 Jan 14:17 /usr/local/bin/mplayer
-rwxr-xr-x@ 1 root wheel 441312 3 Jan 14:17 /usr/local/bin/rtmpdump

user-2

Now a couple of more:

Code:
sudo ls -ld /usr/local/bin
sudo ls -ld /usr/local

user-815

The first returned the following :-

drwx------ 21 Maria wheel 714 3 Jan 14:17 /usr/local/bin

and the second command, this :-

drwxr-xr-x 4 root wheel 136 31 Mar 2012 /usr/local

user-2

Looks you didn't use
Code:
sudo
when creating
Code:
/usr/local/bin
, or else it was created earlier by some other means. Assuming you're logged in as "Maria", try
Code:
chmod 755 /usr/local/bin
to change permissions, then try to run get_player again. If you're not logged in as "Maria", use
Code:
sudo chmod 755 /usr/local/bin
.

user-815

I'm not logged in as Maria!

So I used the second of the two commands you listed.

I was asked to enter my password, which I have done, but no output appeared this time, just returned to the command prompt.

user-2

I thought not. "Maria" created
Code:
/usr/local/bin
at some point in the past, with restrictive permissions. There would be no output from
Code:
chmod
. Run
Code:
sudo ls -ld /usr/local/bin
again to verify the directory permissions changed.

user-815

Got this output this time around :-

drwxr-xr-x 21 Maria wheel 714 3 Jan 14:17 /usr/local/bin

user-2

So what happens when you run get_player?

user-815

To try this, should I simply enter

get_iplayer

in the terminal window or

./get_iplayer

?

user-2

Repeat step 9 again
Pages: 1 2

These forums are archived

See this post for further info