Page 1 of 1

Having trouble with Mac::Growl

Posted: Sat Oct 22, 2005 12:54 pm
by Nitz
I'm trying to install Mac::Growl so I can have working perl support with Growl. I cd to the Mac-Growl directory in the bindings folder, and type:

Code: Select all

perl Makefile.PL
That works fine and dandy. But when I type "make" I get this error:
Edit: Yes, I did try "sudo make" and that didn't work either. Same exact error.

Code: Select all

Can't locate Mac/Glue/Common.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5/darwin /opt/local/lib/perl5/5.8.6/darwin-2level /opt/local/lib/perl5/5.8.6 /opt/local/lib/perl5/site_perl/5.8.6/darwin-2level /opt/local/lib/perl5/site_perl/5.8.6 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.6/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.6 /opt/local/lib/perl5/vendor_perl .) at /System/Library/Perl/Extras/bin/gluemac line 26.BEGIN failed--compilation aborted at /System/Library/Perl/Extras/bin/gluemac line 26.make: *** [.makeglue] Error 2
It's telling me it can't find Common.pm, but a "locate" command returns its location:

Code: Select all

/System/Library/Perl/Extras/5.8.6/Mac/Glue/Common.pm
I'm thinking it has the incorrect path to the Common.pm file? I'll search within any files I can to try to fix this. But in the mean time this is frustrating the heck out of me.
Thanks for your time. :D

Posted: Sat Oct 22, 2005 8:43 pm
by Nitz
One other note:
I tried with cpan as well, and it gave me the same exact error.

Posted: Wed Oct 26, 2005 2:52 am
by zaudragon
That makes sense. /System/Library/Perl/Extras/5.8.6 is not in @INC at all. Find a way to add it ;)

Posted: Thu Oct 27, 2005 7:20 pm
by Nitz
zaudragon wrote:That makes sense. /System/Library/Perl/Extras/5.8.6 is not in @INC at all. Find a way to add it ;)

errgh, any hints? :wink: