Re: Module Installation Problem: Prerequisite
- From: Sean <seanatpurdue@xxxxxxxxxxx>
- Date: Wed, 18 Jan 2006 22:39:26 -0500
I used this Makefile.PL-- see the line of {use lib "$ENV{HOME}/usr/Heap-0.71";}
but still the same warning message.
>> perl Makefile.PL PREFIX=~/usr Warning: prerequisite Heap 0 not found. Writing Makefile for Graph
-------------------------------------- use ExtUtils::MakeMaker;
require 5.005;
use Getopt::Long;
use lib "$ENV{HOME}/usr/Heap-0.71";my $renum;
GetOptions('renumber' => \$renum);
do 'util/renum.pl' if $renum;
#unshift (@INC, "$ENV{HOME}/usr/Heap-0.71");
WriteMakefile(
NAME => 'Graph',
VERSION_FROM => 'lib/Graph.pm',
PREREQ_PM =>
{
'Heap' => 0,
'List::Util' => 0,
'Math::Complex' => 0,
'Test::More' => 0,
},
);# Some Debian distributions have a broken List::Util (see rt.cpan.org #9568)
eval 'require Scalar::Util; import Scalar::Util qw(weaken)';
if ($@) {
die <<__EOF__;
$@
You do not have Scalar::Util::weaken, cannot continue, aborting.
__EOF__
}usenet@xxxxxxxxxxxxxxx wrote:
Sean wrote:
I don't have root privilege and I want to install a module under my home directory.
You're missing an important bit... see:
perldoc -q directory "How do I keep my own module/library directory?"
.
- References:
- Module Installation Problem: Prerequisite
- From: Sean
- Re: Module Installation Problem: Prerequisite
- From: usenet
- Module Installation Problem: Prerequisite
- Prev by Date: Re: Perl dbi insert freezes up
- Next by Date: Re: File handling with subroutines and references
- Previous by thread: Re: Module Installation Problem: Prerequisite
- Next by thread: FAQ 8.12 How do I start a process in the background?
- Index(es):