[NTLUG:Discuss] CPAN install problem

rob apodaca rob.apodaca at attbi.com
Mon Dec 9 12:33:51 CST 2002


On 09 Dec 2002 12:22:03 -0600
Bobby Wrenn <bjwrenn at augustmail.com> wrote:

> On Fri, 2002-12-06 at 22:48, kbrannen at gte.net wrote:
> > Victor Brilon wrote:
> > > You can simply do this:
> > > 
> > > rm -rf /root/.cpan/build/libapreq-1.0
> > > 
> > > And then try again
> > 
> > Or better yet, "cd /root/.cpan/build/libapreq-1.0" and do:
> > 
> > perl Makefile.PL
> > make
> > make test
> > make install     # as root
> > 
> > to watch it build and see the actual errors.  It's usually pretty
> > obvious what's wrong (missing pre-requisite that's not flagged
> > properly is the most common error I've run into).  You should be
> > able to figure what to do to make it work.  If you're stumped,
> > post the make output with error messages and someone will almost
> > certainly be able to help.
> > 
> > HTH,
> > Kevin
> > 
> I'm not sure if the warnings are critical. But here is the output.
> [root at hylafax libapreq-1.0]# perl Makefile.PL
> Writing Makefile for libapreq
> Warning: -L../blib/arch/auto/libapreq changed to
> -L/root/.cpan/build/libapreq-1.0/Request/../blib/arch/auto/libapreq
> Writing Makefile for Apache::Request
> Warning: -L../blib/arch/auto/libapreq changed to
> -L/root/.cpan/build/libapreq-1.0/Cookie/../blib/arch/auto/libapreq
> Writing Makefile for Apache::Cookie
> Writing Makefile for libapreq
> 
> I don't see a warning for Apache::Cookie. This it the module I seem
> to have trouble installing.
> 
> Should I go ahead with the remaining steps?
> 
> make
> make test
> make install
> 
> Or should I correct the Warnings first?

I would run 'make' then 'make test' to see if they succeed. No files
get written outside of your source directory until you run 'make
install', so you should be safe performing these steps.




More information about the Discuss mailing list