Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Perl 5.8, OSX and Fink

Perl 5.8, OSX and Fink
Thread Tools
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Jan 3, 2003, 02:37 PM
 
I'd mentioned in the Fink Commander thread the fact Perl brok Fink. Over at the OSX Hints forum they had a discussion of all this.

http://forums.macosxhints.com/showth...9973#post39973

Apparently Apple has some tech notes that you should read before installing Perl.

http://developer.apple.com/internet/macosx/perl.html

Those assumed that you installed Perl the normal Unix way. However the installer I used was a full OSX installer and I assumed (wrongly) that some of those issues would have been taken care of. Further they didn't direct me to that tech note. So I had no idea there would be problems. (Oh the fool that I was)

In addition you have to totally rebuild a lot of fink to get it to work with the new version of Perl. Apparently 5.8 and prior versions of Perl are not binary compatible. (Whatever that means - I thought Perl was interpreted, but I gather some have built code that uses Perl source)

http://archive.develooper.com/macosx.../msg02447.html

Without going through the details of the problem, here is the resolution. Execute the following commands:

mv /sw/lib/perl5/darwin/Storable.pm /tmp
mv /sw/lib/perl5/darwin/auto/Storable /tmp
fink rebuild storable-pm

You may have to do the above for any other binary modules in /sw/lib/perl5. However this should do the trick unless you added anything unusual.
     
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Jan 3, 2003, 10:24 PM
 
Just thought I'd give an update. I went through the Apple note on Perl and found a few things that the installer for Perl didn't set up.

First of CPAN appeared to require NcFTP. So I built that. Its available at

http://www.ncftpd.com/ncftp/

Anyway, I think went and tried to redo all the XS modules in /sw/lib/perl5/darwin. However I kept get compile errors in weird places. At the moment I'm reinstalling Fink from scratch, to see if that fixes things.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:56 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2