Subject: Re: perl58 build problems on 2.0BETA/macppc
To: Krister Walfridsson <cato@df.lth.se>
From: Tom Spindler <dogcow@babymeat.com>
List: tech-pkg
Date: 07/15/2004 17:44:54
> > I'm trying to get perl on my mac so that i can build all the stuff that relies
> > on it that i like to use.  however, i'm having this problem:
> >
> > ./miniperl -w -Ilib -MExporter -e '<?>' || /usr/bin/make minitest
> > Attempt to free unreferenced scalar: SV 0x190b58c.
> > ./miniperl -Ilib configpm configpm.tmp
> > Use of uninitialized value in null operation at configpm line 666.
> > Undefined subroutine &main:: called at configpm line 666.
> > *** Error code 255
> >
> > this is from a pkgsrc out of CVS that was updated earlier today.
> >
> > hints?
> 
> This is a known problem... (PR 25558 and 26092)

I believe this is a gcc issue; try recompiling with -g -O instead of
-O2 and I believe it'll work. I don't have access to a ppc system
these days, or else I'd make sure myself. (You might have to eliminate
the -O completely; I don't remember for sure.)