perl.mvs...Re: Perl Modules by Yuval Kogman- May 2, 2006 On Tue, May 02, 2006 at 05:25:47 -0700, mohammad yaseen wrote:> Hi,> > I have a module B which is prerequisite for A module.> I have built Module B by running these steps> > perl Makefile.PL PREFIX=pathtowhereyouwantit....> What is happening here is when it tries to generate Makefile by running perl Makefile.PL PREFIX=pathtowhereyouwantit, it is looking for the prerequisite B::foo in the directory where Perl is installed. But i have installed it at...http://www.nntp.perl.org/group/perl.mvs/2006/05/msg1496.html Re: Perl Modules by Yuval Kogman- May 2, 2006 On Tue, May 02, 2006 at 06:48:23 -0700, mohammad yaseen wrote:> I tried as you suggested, but i&39;m still facing the same problem.Sorry, I was not accurate. The PERL5LIB value should contain theactual &39;lib&39; directory which is presumably under the prefix (this iswhere the portability issues begin).what PREFIX does is replace Perl&39;s original PREFIX, usuallysomething like "usr" or "usrlocal" with something else. Arguablyit should be under $PREFIXlib for more DWIM...http://www.nntp.perl.org/group/perl.mvs/2006/05/msg1495.html Re: Perl Modules by mohammad yaseen- May 2, 2006 I tried as you suggested, but i&39;m still facing the same problem.Yuval Kogman <nothingmuchwoobling.org> wrote: On Tue, May 02, 2006 at 05:25:47 -0700, mohammad yaseen wrote:> Hi,> > I have a module B which is prerequisite for A module.> I have built Module B by running these steps> > perl Makefile.PL PREFIX=pathtowhereyouwantit....> What is happening here is when it tries to generate Makefile by running perl Makefile.PL PREFIX=pathtowhereyouwantit, it...http://www.nntp.perl.org/group/perl.mvs/2006/05/msg1494.html Re: Perl Modules by Jim Cromie- May 2, 2006 mohammad yaseen wrote:> Hi,> > I have a module B which is prerequisite for A module.> I have built Module B by running these steps> > Theres already a B module in core, you could be clashing with it.Simplest thing to do is change your name.FWIW, its generally wise to stay away from $a, $b too, theyre special for sortperldoc -f sorthttp://www.nntp.perl.org/group/perl.mvs/2006/05/msg1493.html Perl Modules by mohammad yaseen- May 2, 2006 Hi, I have a module B which is prerequisite for A module. I have built Module B by running these steps perl Makefile.PL PREFIX=pathtowhereyouwantit gmake gmake test gmake install The module gets installed at pathtowhereyouwantit. Then for building module A when i run perl Makefile.PL PREFIX=pathtowhereyouwantit I got this Warning: prerequisite B::foo 1 not found. What is happening here is when it tries to generate Makefile by running perl Makefile.PL...http://www.nntp.perl.org/group/perl.mvs/2006/05/msg1492.html |