Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Perl / May 2005



Tip: Looking for answers? Try searching our database.

perl-5.8.6 for Darwin Kernel Version 7.8.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Drieux - 14 May 2005 17:36 GMT
volks,

yes, I know that Tiger is suppose to deliver
perl-5.8.6 - but I am not in a position to
upgrade to Tiger this weekend - but would like
to build perl-5.8.6 and install it the way
that it would be installed.

So what I need is a 'policy.sh' or the config
parameters for building it. I ran the standard
./configure that I downloaded from the CPAN
and it's default was to install everything in
/usr/local - where as the current version 5.8.1-RC3
is installed in /System/Library/Perl/5.8.1
does this change in Tiger?

ciao
drieux

---
Sherm Pendley - 14 May 2005 19:09 GMT
On May 14, 2005, at 12:36 PM, drieux wrote:

> yes, I know that Tiger is suppose to deliver
> perl-5.8.6 - but I am not in a position to
[quoted text clipped - 4 lines]
> So what I need is a 'policy.sh' or the config
> parameters for building it.

It's documented in the README.macosx file that's included with 5.8.6.

> I ran the standard
> ./configure that I downloaded from the CPAN
> and it's default was to install everything in
> /usr/local

That's precisely where a custom-built Perl *should* be. The /System  
folder is Apple's domain.

> - where as the current version 5.8.1-RC3
> is installed in /System/Library/Perl/5.8.1
> does this change in Tiger?

No, it hasn't changed. Apple's Perl is in /System/Library/Perl/5.8.6,  
and the default for your own custom-built Perl is /usr/local.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
John Delacour - 18 May 2005 19:42 GMT
I installed 5.8.6 a long while ago under Panther and had everything
just as I wanted it and had a lot of extra modules installed.

Now I've just installed Tiger and see that I'm back to the Apple
default installation.

How to I revert to using the set-up I was using before the Tiger
installation?  Has Tiger wiped my installation?

JD
Sherm Pendley - 18 May 2005 19:51 GMT
> I installed 5.8.6 a long while ago under Panther and had everything  
> just as I wanted it and had a lot of extra modules installed.
[quoted text clipped - 4 lines]
> How to I revert to using the set-up I was using before the Tiger  
> installation?  Has Tiger wiped my installation?

If you used a prefix of /usr to install it under /System/Library,  
then yes, it got wiped - that's one reason why installing stuff  
under /System is such a bad idea. :-/

If you installed it under the default location /usr/local, then your  
old Perl 5.8.6 will still be there - if you made /usr/bin/perl a  
symlink to /usr/local/bin/perl, then the symlink would have been  
wiped out, but that's easy to fix.

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
John Delacour - 18 May 2005 19:58 GMT
>If you installed it under the default location /usr/local, then your
>old Perl 5.8.6 will still be there - if you made /usr/bin/perl a
>symlink to /usr/local/bin/perl, then the symlink would have been
>wiped out, but that's easy to fix.

Thanks for the lightning-fast reply, Sherm!  I'm glad to say I did
install in /usr/local, so I look forward to hearing how to carry out
the easy fix.

JD
Sherm Pendley - 18 May 2005 20:15 GMT
>> If you installed it under the default location /usr/local, then  
>> your old Perl 5.8.6 will still be there - if you made /usr/bin/
>> perl a symlink to /usr/local/bin/perl, then the symlink would have  
>> been wiped out, but that's easy to fix.
>
> Thanks for the lightning-fast reply, Sherm!

Entirely by coincidence, to be honest - you happened to post your  
message just a few minutes before I checked for new list messages for  
the first time today. I hadn't even noticed the time stamp on it,  
just that it was a new message that hadn't yet been answered. :-)

>   I'm glad to say I did install in /usr/local, so I look forward to  
> hearing how to carry out the easy fix.

Just delete /usr/bin/perl - don't worry, it's just a link to /usr/bin/
perl5.8.6, so you can revert to Apple's Perl at any time. Then create  
a new symlink /usr/bin/perl that points to /usr/local/bin/perl:

    sudo rm /usr/bin/perl
    sudo ln -s /usr/local/bin/perl /usr/bin/perl

sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Jerry LeVan - 18 May 2005 20:19 GMT
If you did an Archive and Install then the previous /usr/local
hierarchy is in the /Previous folder and you can just "mv" the
folder back to the proper location.

Jerry

>> If you installed it under the default location /usr/local, then  
>> your old Perl 5.8.6 will still be there - if you made /usr/bin/
[quoted text clipped - 6 lines]
>
> JD
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.