develooper Front page | perl.makemaker | Postings from April 2003

ExtUtils-MakeMaker-6.10_03 creates non-existing header file targets

Thread Next
From:
Stas Bekman
Date:
April 29, 2003 00:56
Subject:
ExtUtils-MakeMaker-6.10_03 creates non-existing header file targets
Message ID:
3EAE3011.9010703@stason.org
EU::MM hardcodes header files list without testing whether they exist at all. 
Obviously any Makefile is broken. with perl-5.005_03 the headers opnames.h, 
perlapi.h, utf8.h and warnings.h don't exist.

This is the patch I had to apply to make things work under perl-5.005_03. It's 
not the patch to go in, as it's probably needs to be rewritten to generate the 
headers list by checking their existance. Please notice that this is not the 
only place where there is a hardcoded list, other MM_* files have it as well.

--- lib/ExtUtils/MM_Unix.pm.orig        2003-04-29 17:49:55.000000000 +1000
+++ lib/ExtUtils/MM_Unix.pm     2003-04-29 17:50:38.000000000 +1000
@@ -3157,10 +3157,8 @@
         $(PERL_INC)/nostdio.h           \
         $(PERL_INC)/op.h                \
         $(PERL_INC)/opcode.h            \
-       $(PERL_INC)/opnames.h           \
         $(PERL_INC)/patchlevel.h        \
         $(PERL_INC)/perl.h              \
-       $(PERL_INC)/perlapi.h           \
         $(PERL_INC)/perlio.h            \
         $(PERL_INC)/perlsdio.h          \
         $(PERL_INC)/perlsfio.h          \
@@ -3177,9 +3175,7 @@
         $(PERL_INC)/thrdvar.h           \
         $(PERL_INC)/thread.h            \
         $(PERL_INC)/unixish.h           \
-       $(PERL_INC)/utf8.h              \
         $(PERL_INC)/util.h              \
-       $(PERL_INC)/warnings.h

  $(OBJECT) : $(PERL_HDRS)
  } if $self->{OBJECT};


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About