Hi Doug,

Thanks for the info, but I think this possibly way out side my level of experience. Would what you have suggested allow get_iplayer find the path to Perl 5.10.1
when I try to run get_iplayer from the terminal?

If it does then I don't fully understand your instructions.
I assume mkdir $HOME/.MacOSX creates a directory. I tried it but could not find the directory. When I used cat > $HOME/.MacOSX/environment.plist in the
Terminal, it seemed to hang.

When you say "paste the text of the new file here" what text do you mean?

Terrence

On 15 Sep 2009, at 00:11, Doug McNutt wrote:

At 23:26 +0100 9/14/09, Mine wrote:
Is it possible to add the Perl 5.10.1 path to the environment so i
don't loose the MacPort option.

mkdir $HOME/.MacOSX

and put this, after changing it a bit, in the new folder. This is just a copy of mine.

cat > $HOME/.MacOSX/environment.plist
paste the text of the new file here
type CONTROL D

should handle it without having to use finder which just doesn't like directories that start with a dot.

Note that you cannot add things to &PATH this way. You have to specify the whole thing with full path names. The file is read when you log in to OS neXt in the GUI sense. It is not read when you open a Terminal or run a perl script.


[~]% cat ~/.MacOSX/environment.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>PROGRESS</key>
        <string>Progress</string>
        <key>DOUG</key>
        <string>Douglas P. McNutt</string>
        <key>LANG</key>
        <string>us_ENG</string>
        <key>LC_ALL</key>
        <string>C</string>
        <key>PATH</key>
<string>/Users/doug/local/bin:/Users/doug/bin:/opt/local/ bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin</string>
        <key>SERVER_NAME</key>
        <string>Earth</string>
        <key>SHELLOG</key>
        <string>/Users/doug/logs/shel_log</string>
        <key>PROJ</key>
        <string>/Volumes/Echo/Projects</string>
        <key>PERL5LIB</key>
        <string>/Users/doug/perl</string>
</dict>
</plist>

--

--> From the U S of A, the only socialist country that refuses to admit it. <--

Reply via email to