 |
 |
missing perl module?
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: The Basement
Status:
Offline
|
|
I have a script that gives this error on mac os x:
Can't locate Socket.pm in @INC (@INC contains: /sw/lib/perl5 /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl .) at /Users/ckizer/Desktop/blq-1.23 line 19.
It works fine on other bsd systems, anyway i can set this up or install it? i don't know where to start.
I use the script to check if domains are blacklisted in SPAM databases.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
My system has it:
Code:
[dshaw@flybook ~] locate Socket.pm
/System/Library/Perl/darwin-thread-multi/IO/Socket.pm
/System/Library/Perl/darwin-thread-multi/Socket.pm
/System/Library/Perl/darwin/IO/Socket.pm
/System/Library/Perl/darwin/Socket.pm
Which perl are you running? (look at the path in your script, or if you are specifying it as simply "perl" do a "which perl" on the command line). Here is what I get:
Code:
[dshaw@flybook ~] which perl
/usr/bin/perl
[dshaw@flybook ~] /usr/bin/perl --version
This is perl, v5.8.0 built for darwin-thread-multi
I'm running OSX 10.2.6 BTW.
|
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
there's always cpan, but i'm sure someone else might be able to actually tell you why it's giving you an error. maybe if you show some code?
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by Arkham_c:
Which perl are you running?
his original post says /System/Library/Perl/ 5.8.1 in it. isn't that different from the standard install on OS X? isn't 5.8.0 the default install?
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: The Basement
Status:
Offline
|
|
wierd, i'm running 10.3 beta on this copy and it appears it didn't copy over kernel stuff.
I'll look at it later.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |