Re: make error

James Harr <[email protected]> Thu, 9 Dec 2004 01:59:14 -0600
Newsgroups gmane.comp.graphics.y.devel
Message-ID <[email protected]>
Err, it's probably big M..

perl -MCPAN -e 'install Parse::ResDescent'

-m just includes the module
-M includes the module and imports the symbols...

That should do it :)

On Thursday 09 December 2004 1:40 am, possibilitybox wrote:
> loki# perl -mCPAN -e 'install Parse::ResDescent'
> Can't locate object method "install" via package "Parse::ResDescent"
> (perhaps you forgot to load "Parse::ResDescent"?) at -e line 1.
>
> On Thu, 9 Dec 2004 01:37:00 -0600, James Harr <[email protected]> wrote:
> > Login as root and run:
> > perl -mCPAN -e 'install Parse::ResDescent'
> >
> > On Wednesday 08 December 2004 9:41 pm, possibilitybox wrote:
> > > i've gotten this error trying to build Y.  i've re-installed perl.  i
> > > don't know what the issue could be at all, as i'm completely
> > > unfamiliar with how perl works.  ideas?
> > >
> > > make[2]: Entering directory `/home/blammo/Y-0.2.1/config/keymaps'
> > > mkdir -p YKB
> > > perl -MParse::RecDescent - YKB/YKBGrammar YKB::YKBGrammar
> > > Can't locate Parse/RecDescent.pm in @INC (@INC contains: /etc/perl
> > > /usr/lib/perl5/site_perl/5.8.4/i686-linux
> > > /usr/lib/perl5/site_perl/5.8.4
> > > /usr/lib/perl5/site_perl/5.8.2/i686-linux
> > > /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl
> > > /usr/lib/perl5/vendor_perl/5.8.4/i686-linux
> > > /usr/lib/perl5/vendor_perl/5.8.4
> > > /usr/lib/perl5/vendor_perl/5.8.2/i686-linux
> > > /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl
> > > /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4
> > > /usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.2/i686-linux
> > > /usr/lib/perl5/site_perl/5.8.2 .).
> > > BEGIN failed--compilation aborted.
> > > make[2]: *** [YKB/YKBGrammar.pm] Error 2
> > > make[2]: Leaving directory `/home/blammo/Y-0.2.1/config/keymaps'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/blammo/Y-0.2.1/config'
> > > make: *** [all-recursive] Error 1
> >
> > --
> > James Harr <[email protected]>
> > http://www.grickle.org/

-- 
James Harr <[email protected]>
http://www.grickle.org/