Hi Alok,

On Fri, 22 Jul 2011 22:07:15 -0400
Alok <alo...@gmail.com> wrote:

> Hi
> 
> I am trying to install MediaWiki::Bot module locally on my server (I am 
> not the admin).
> I am trying to use cpan command line interface for this.
> 
> I used following options before beginning installation:
> o conf makepl_args "LIBS=-L/home/foo/local/lib 
> INC=-I/home/foo/local/include PREFIX=/home/foo/local/"
> o conf commit
> 
> It turned out that MediaWiki::Bot requires bunch of other modules that 
> cpan tries to install. But I see that many  of them fail test cases 
> because they cannot detect each other. For example,
> 
> #   Failed test at t/warnings_exist.t line 36.
> #          got: 'Base class package "Tree::DAG_Node" is empty.'
> 

That's because they're not in Perl's @INC path.

Please use local::lib for that:

https://metacpan.org/module/local::lib

See:

http://perl-begin.org/topics/cpan/

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
My Aphorisms - http://www.shlomifish.org/humour.html

An original philosopher knows the right combination of ideas to steal.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to