Re: Perl install problems OSX 10.4.11

[email protected] (Doug McNutt)
Newsgroups perl.macosx
Message-ID <p05100303c6d47a7720d9@[192.168.1.14]>
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. <--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.