New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Perl Script Problems


Post Reply New Thread Subscribe

 
Thread Tools
marvelaz

 
Member Since: Sep 18, 2009
Posts: 1
marvelaz is on a distinguished road

marvelaz is offline
I am having some problems about the same and i don't know what else to do, i have a script that was running just fine, but after i upgraded perl from 5.8.6 to 5.10.0 y i'm getting this error:

Can't locate package Exporter for @Net::IPAddress::ISA at ./Perl-1.pl line 4

Net::IPAddress is installed on /Library/Perl/5.10.0/Net/

any thoughts?

thanks

Mario
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
Is this under Snow Leopard? If so, check out this Daringfireball article. In it he mentions that you need to tell the system, via a variable, if you want 5.10 to run as 32-bit or 64-bit because in Snow Leopard the default is 64-bit, which that Net stuff may not be compatible with.

If not Snow Leopard, then I'm at a loss at this time.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,775
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
If you are running Snow Leopard, it could very well be linked to the fact that Perl is now executed as a 64-bit application as alluded to by xstep. It has caused me problems with Python and wxPython as wxPython only works with 32-bit Python ATM.

As per the man page, execute the following to force Perl to execute as a 32-bit binary:
Code:
defaults write com.apple.versioner.perl Prefer-32-Bit -bool yes
Give that a try to see if it fixes your problem. This solution though is only applicable to Snow Leopard.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
mwerneburg

 
Member Since: Jan 18, 2010
Posts: 1
mwerneburg is on a distinguished road

mwerneburg is offline
Quote:
Originally Posted by vansmith View Post
If you are running Snow Leopard, it could very well be linked to the fact that Perl is now executed as a 64-bit application as alluded to by xstep. It has caused me problems with Python and wxPython as wxPython only works with 32-bit Python ATM.

As per the man page, execute the following to force Perl to execute as a 32-bit binary:
Code:
defaults write com.apple.versioner.perl Prefer-32-Bit -bool yes
Give that a try to see if it fixes your problem. This solution though is only applicable to Snow Leopard.
I guessed that there had to be a clever workaround for this that didn't involve re-compiling or bizarre third-party sources of mySQL or DBD::mysql. And you found it. I registered just to say thanks for posting this.
QUOTE Thanks

Post Reply New Thread Subscribe


« objdump | Software beta testers needed. »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Geektool script forces mail to stay open jmullenberg OS X - Apps and Games 1 09-27-2009 10:01 AM
Airport Connection Problems as well as Mac Apps Problems kdubs2691 Apple Notebooks 5 07-25-2009 01:22 PM
External Drives and copying Problems! woodyuk OS X - Operating System 3 05-22-2009 05:03 PM
Realtek sound problems, lag problems Starflame Running Windows (or anything else) on your Mac 2 11-08-2008 10:54 AM
iMac + MacBook MacBookPro Internet Connection Problems stevend Internet, Networking, and Wireless 2 10-05-2008 11:19 AM

All times are GMT -4. The time now is 02:24 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?