Thread

Posted on Fri Apr 22 10:55:08 2005 by sean
Installation problems
Hi, I'm having trouble installing via cpan install - on both a cygwined pc and a mac running panther: /usr/bin/perl.exe "-Iblib/arch" "-Iblib/lib" Build.PL Build Too early to specify a build action 'Build'. Do 'Build Build' instead. make: *** [Build] Error 2 /usr/bin/make -- NOT OK I'm probably missing something ovbious here but any help would be appreciated Thanks Sean
Direct Responses: 379 | Write a response
Posted on Sun Apr 24 23:30:09 2005 by sigilium in response to 373
Re: Installation problems
Hi Sean,

I do not know where does thisproblem come from, but I have found a work-arround:

1) start the installation of HTTP::Proxy via CPAN as usual
2) after the make fails, goto ~/.cpan/Build/HTTP-Proxy-0.15
3) edit the generated Makefile this way
replace line 471
$(PERLRUNINST) Build.PL Build
by
$(PERLRUNINST) Build.PL && Build
4) continue with "make all install" in directory ~/.cpan/Build/HTTP-Proxy-0.15

What is the correct solution for this problem anyway?

Martin
Direct Responses: 783 | Write a response
Posted on Sat Jul 23 21:21:33 2005 by book in response to 379
Re: Installation problems
There's a problem with the Makefile.PL file. Here's the patch :
$ cvs diff -r version-0-15 Makefile.PL Index: Makefile.PL =================================================================== RCS file: /home/cvs/http-proxy/Makefile.PL,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Makefile.PL 1 Oct 2002 09:49:58 -0000 1.3 +++ Makefile.PL 3 May 2005 14:49:36 -0000 1.4 @@ -8,6 +8,7 @@ HTTP::Daemon => 1.25, LWP::UserAgent => 2, }, + PL_FILES => {}, ABSTRACT_FROM => 'lib/HTTP/Proxy.pm', AUTHOR => 'Philippe "BooK" Bruhat <book@cpan.org>', );
Write a response