Talk About Network

Google





Mac > Perl on OSX > Re: Can't find ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 11 Topic 1058 of 1079
Post > Topic >>

Re: Can't find Mac::Growl

by robertgrimm@[EMAIL PROTECTED] (WetMogwai) Aug 22, 2008 at 08:33 PM

I found a partial solution. If you open the CPAN shell and type:

o conf makepl_arg install_base=3D

it will install working modules. This is a partial solution because it
has to be done with each session. It doesn't work to run cpan non-
interactively. It forgets this setting when the CPAN shell is closed.
I have not yet found where it gets the default value for this
variable.=A0

Now, I'm off on a search to find why I get an error from Growl.pm on a
variable that it is getting from itself, but that's a topic for a
different thread.

On Aug 21, 11:57=A0am, dgrin...@[EMAIL PROTECTED]
 (David Green) wrote:
> Hi, I am interested in (possibly) using Mac::Growl from Perl. =A0Have
=A0
> you gotten it working and or do you have some pointers for me?
>
> Thanks,
>
> David Green
>
> On 18 Aug, 2008, at 20:22, WetMogwai wrote:
>
> > Sorry if this has been discussed before. I searched and didn't see
> > usable results.
>
> > I'm new to Perl and newer to Perl on Mac, but I thought I understood
> > CPAN and use. I installed Mac::Growl using CPAN from the command line.
> > I'm using the Perl distro included with Leopard. My program contains
> > the following lines:
>
> > use Mac::Growl ':all';
> > BEGIN { $Mac::Growl::base =3D 'Mac::Applescript' }
>
> > (I've tried it with the lines reversed with the same results. Just
> > reaching with no clue.)
>
> > I get this error when I run it:
>
> > Can't locate Mac/Growl.pm in @[EMAIL PROTECTED]
 (@[EMAIL PROTECTED]
 contains: /System/Library/
> > Perl/
> > 5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/
> > Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/
> > Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/
> > Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/
> > 5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /
> > Library/Perl/5.8.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /
> > Library/Perl/5.8.1 .) at ../bin/pagewatch.pl line 5.
> > BEGIN failed--compilation aborted at ../bin/pagewatch.pl line 5.
>
> > CPAN seems to be writing files to /var/root/perl/lib/perl5/Extras/
> > 5.8.8/, but there isn't anything in /var/root/. I've searched for it
> > with find and mdfind. I can't find where modules are being installed
> > and neither can Perl. How can I get CPAN to install to somewhere in
> > @[EMAIL PROTECTED]

 




 11 Posts in Topic:
Can't find Mac::Growl
robertgrimm@[EMAIL PROTEC  2008-08-18 17:22:00 
Re: Can't find Mac::Growl
dgringo1@[EMAIL PROTECTED  2008-08-21 11:57:38 
Re: Can't find Mac::Growl
jonasbn@[EMAIL PROTECTED]  2008-08-23 10:53:41 
Re: Can't find Mac::Growl
jonasbn@[EMAIL PROTECTED]  2008-08-23 11:04:50 
Re: Can't find Mac::Growl
robertgrimm@[EMAIL PROTEC  2008-08-22 20:33:57 
Re: Can't find Mac::Growl
jonasbn@[EMAIL PROTECTED]  2008-08-23 15:22:40 
Re: Can't find Mac::Growl
robertgrimm@[EMAIL PROTEC  2008-08-23 09:20:04 
Re: Can't find Mac::Growl
robertgrimm@[EMAIL PROTEC  2008-08-25 20:32:46 
Re: Can't find Mac::Growl
dgringo1@[EMAIL PROTECTED  2008-08-25 18:17:16 
Re: Can't find Mac::Growl
douglist@[EMAIL PROTECTED  2008-08-26 11:57:33 
Re: Can't find Mac::Growl
dgringo1@[EMAIL PROTECTED  2008-09-09 13:57:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:43:17 PST 2009.