ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
Re: Why extra -I in "make test"?
by other posts by this author
Jun 30 2001 3:28PM messages near this date
Re: lib/File/Find/taint.t | Re: Why extra -I in "make test"?
Well, I think I've figured it out.  I went through ExtUtils::MM_Unix
and tore out all the seemingly unnecessary -I$(PERL_LIB)
-I$(PERL_ARCH) and tried to build the core.  Dynaloader exploded.

What it appears they're for is building core extensions.  Since perl
isn't installed yet, its @INC is all wrong.  -I$(PERL_LIB) adds in
things like ../../lib so it can see its own libraries before
installation when building things like ext/Dynaloader/.

This really shouldn't be leaking out of the core.  I'm trying to
rewire it so MakeMaker only adds the extra -I's when building the core
and leaves them out otherwise.  Anyone think of a good way to detect
when we're building a core module?  Would it be too much to require an
IS_CORE flag in the Makefile.PL's?


-- 
Michael G Schwern   <schwern@[...].com>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <perl-qa@[...].org>        Kwalitee Is Job One
Thread:

Jarkko Hietaniemi

Jarkko Hietaniemi
Gurusamy Sarathy
Michael G Schwern
Gurusamy Sarathy
Michael G Schwern
Gurusamy Sarathy

Gurusamy Sarathy

Jarkko Hietaniemi
Nick Ing-Simmons

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved