[Catalyst] "perl Build.PL" and "perl Makefile.PL" no longer work

Chisel Wright chisel at herlpacker.co.uk
Wed Nov 23 17:02:22 CET 2005


Since upgrading to 5.57, I've discovered that I can no longer "perl
Build.PL" or "perl Makefile.PL":

  perl Build.PL
  Can't locate Catalyst/Build.pm in @INC (@INC contains: /etc/perl
  /usr/lib/perl5/site_perl/5.8.7/i686-linux
  /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl
  /usr/lib/perl5/vendor_perl/5.8.7/i686-linux
  /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
  /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl
  /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7
  /usr/local/lib/site_perl .) at Build.PL line 2.
  BEGIN failed--compilation aborted at Build.PL line 2.


  perl Makefile.PL
  /usr/bin/perl5.8.7 Build.PL
  Can't locate Catalyst/Build.pm in @INC (@INC contains: /etc/perl
  /usr/lib/perl5/site_perl/5.8.7/i686-linux
  /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl
  /usr/lib/perl5/vendor_perl/5.8.7/i686-linux
  /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
  /usr/lib/perl5/vendor_perl/5.8.6/i686-linux /usr/lib/perl5/vendor_perl
  /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7
  /usr/local/lib/site_perl .) at Build.PL line 2.
  BEGIN failed--compilation aborted at Build.PL line 2.
  Couldn't run Build.PL: Bad file descriptor at
  /usr/lib/perl5/vendor_perl/5.8.7/Module/Build/Compat.pm line 173.


I inderstand that this is because:

  - Module::Build has been dropped in favour of Module::Install
  - nobody who's tested it has UNINST=1 on
    [I use g-cpan to pavkage manage my CPAN modules]

So, what's the plan? I can no longer do userful things like:

  - check my dependencies are installed
  - all of the other funky things I used to be able to do with Build

I presume that there needs to be some way to generate new Makefile.PL
and/or Build.PL files for Module::Install ... 
-- 
Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

No virus was found in this outgoing message as I didn't bother looking.



More information about the Catalyst mailing list