develooper Front page | perl.perl5.porters | Postings from May 2008

Re: [perl #55008] help - initial make failing, but don't know why

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
May 29, 2008 09:14
Subject:
Re: [perl #55008] help - initial make failing, but don't know why
Message ID:
Pine.LNX.4.64.0805291153460.2505@fractal.phys.lafayette.edu
On Thu, 29 May 2008, Steve Michel wrote:

> > > src: ActiveState 5.8.8.820
> > > uname: Darwin cimac005 9.1.0 Darwin Kernel Version 9.1.0: Wed Oct 31
> > > 17:46:22 PDT 2007; root:xnu-1228.0.2~1/RELEASE_I386 i386

> > >         Making DynaLoader (static)
> > > &Config::AUTOLOAD failed on Config::launcher at ../../lib/Config.pm line
> > > 72.
> > > Compilation failed in require at ../../lib/ExtUtils/MakeMaker.pm line 7.
> > > BEGIN failed--compilation aborted at ../../lib/ExtUtils/MakeMaker.pm line
> > > 7.
> > > Compilation failed in require at Makefile.PL line 1.
> > > BEGIN failed--compilation aborted at Makefile.PL line 1.

Usually, this sort of thing happens when there's been a problem building
lib/Config_heavy.pl.  

If you look earlier in the build logs (if you have them), you should see
the following commands:

    ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
    ./miniperl -Ilib configpm
    written lib/Config.pod   
    updated lib/Config.pm    
    updated lib/Config_heavy.pl

Were there any errors reported during that process?

Was the file lib/Config_heavy.pl created?  The tail end of that file is
something like

    # Called by the real AUTOLOAD
    sub launcher {
	undef &AUTOLOAD;
	goto \&$Config::AUTOLOAD;
    }

Sometimes, it appears that the file lib/Config_heavy.pl gets truncated
(perhaps because the disk is full or perhaps for some other odd reason
we've never figured out).

You are using an ActiveState source distribution.  Last time I looked,
that had some changes related to Config_heavy.pl included, though I
don't recall any details.  I wouldn't think they would be a problem, but 
if this doesn't turn out to be something simple, you might want to try
with an unpatched version.  (See pod/perlhack.pod for how to get the
current source.)

-- 
    Andy Dougherty		doughera@lafayette.edu

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