develooper Front page | perl.perl5.porters | Postings from October 2003

Re: 5.8.1: static build completely busted?

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
October 10, 2003 08:57
Subject:
Re: 5.8.1: static build completely busted?
Message ID:
20031010155636.GA10004@math.berkeley.edu
On Fri, Oct 10, 2003 at 09:23:30AM -0400, Andy Dougherty wrote:
> > > There is only one missing '.a' file:  lib/auto/B/C.a isn't linked in for
> > > some reason.
> >
> > See my initial message for the reason.
> 
> Oh, I understood it at that level.  What I was wondering was why the 'B'
> extension Makefile.PL wasn't written to include the B::C module
> automatically as I had expected it would.

But you see that lib/auto/B/C/C.a *is* generated.  MakeMaker *did* it
job.  A followup `make perl' in MakeMaker directory *finds* the
archive.  MakeMaker part is fine.

But the root makefile uses a botched algorithm to scan for *actually
built* modules (as opposed to modules *requested to be built*).  This
is why the proper solution is 'b' (in my original message): just ask
MakeMaker to build Perl.

> I have not thought about it carefully, but would it make sense to
> use miniperl to generate the */*/*.a list instead of the shell?

My algorithm "b" is much better.  Just change to ext/perl, and ask
MakeMaker to build perl - it already knows how to do it.

Hope this helps,
Ilya

Thread Previous | 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