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
Andy Dougherty
May 29, 2008 09:14
Re: [perl #55008] help - initial make failing, but don't know why
Message ID:
On Thu, 29 May 2008, Steve Michel wrote:

> > > src: ActiveState
> > > 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/ line
> > > 72.
> > > Compilation failed in require at ../../lib/ExtUtils/ line 7.
> > > BEGIN failed--compilation aborted at ../../lib/ExtUtils/ 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

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/    
    updated lib/

Were there any errors reported during that process?

Was the file lib/ 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/ 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 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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About