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 Jarkko Hietaniemi other posts by this author
Jun 30 2001 1:30PM messages near this date
Re: Why extra -I in "make test"? | Re: Why extra -I in "make test"?
On Sat, Jun 30, 2001 at 11:28:28AM -0400, schwern@[...].com wrote:
>  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?

Sounds like a plan.  Use PERL_CORE just to agree with the cc -D flag.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen
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