[ctw] Re: Tiger and Activestate

At 1:44 PM -0400 5/9/09, Robert Wolff wrote:
 >At 11:21 AM -0400 5/9/09, Robert Wolff wrote:
Ok I am really missing the boat on this, I installed Activestate
perl version 5.10 but the perl -v still says 5.86.

I can see the install is at /usr/local/ActivePerl-5.10, I find a lot
of "Make sure to add /usr/local/ActivePerl-5.10/bin to your path."
around but I am just not getting this.

Any suggestions, in small words.

MAC OS X Server 10.4.11

you should be able to get version by

/usr/local/ActivePerl-5.10/perl -v

But of course that means you have to type in the complete path every
time you want run that perl.  You can make this easier by changing
your bash profile.

Simplest way is to change your bash profile is to put
/usr/local/ActivePerl-5.10  as the first directory to be searched but
that will break my assp startup plist and force you to edit it to
make it work along with spamdb cron job script.

The alternative is to symlink it to look like the default installed
perl. The following command

ls -al /usr/bin/perl*

should show you that you have something like /usr/bin/perl and an
exact copy at /usr/bin/perl_the_default_perl_version. If you do not
have a copy of your default make one with the mv command.

Now you replace the default with a symlink to your activestate by:

sudo ln -s  /usr/local/ActivePerl-5.10/perl /usr/bin/perl

Now, typing /usr/bin/perl should start activestate and  perl -v will
give you the activestate version

Tom


That did it, for the perl issue thanks.

I am getting an ASSP startup problem:

------------------
May  9 13:31:38 localhost launchd: com.oitc.assp: getgrnam("_assp") failed
May  9 13:31:38 localhost launchd: com.oitc.assp: exited with exit code: 1
May 9 13:31:38 localhost launchd: com.oitc.assp: 9 more failures without living at least 60 seconds will cause job removal
------------------

Robert,

Check in /Applications/ASSP/osx/startup_items and open 150.assp.daily, 150.assp.weekly 150.assp.monthly and com.oitc.assp.plist to make sure that chown uses assp:admin and <key>GroupName</key> uses <string>assp</string>

Also do a getinfo on assp.pl and let me know the user and group it belongs to.

Tom
--
Tom Shaw - Chief Engineer, OITC
<tshaw at oitc.com>, http://www.oitc.com/ local wx: http://www.oitc.com/weather
US Phone Numbers: 321-984-3714, 321-729-6258(fax), 321-258-2475(cell/voice mail,pager)
Text Paging: http://www.oitc.com/Pager/sendmessage.html
AIM/iChat: trshaw@xxxxxxx

Fish more and Live longer
Circle The Wagons
manage: http://www.freelists.org/list/ctw post: mailto:ctw@xxxxxxxxxxxxx
unsubscribe: mailto:ctw-request@xxxxxxxxxxxxx?subject=unsubscribe
search: http://www.freelists.org/archives/ctw
faq: http://www.freelists.org/wiki/the_faq

Other related posts: