Problems compiling perl5.8 on 10.5
Juan Manuel Palacios
jmpp at macports.org
Tue Feb 5 09:47:42 PST 2008
On Feb 5, 2008, at 12:59 PM, Blair Zajac wrote:
> Juan Manuel Palacios wrote:
>> On Feb 5, 2008, at 2:22 AM, Blair Zajac wrote:
>>> Is anybody else having problems compiling perl5.8 on 10.5? I'm
>>> getting a bunch of warnings like this:
>>>
>>> make[1]: `lib/re.pm' is up to date.
>>> cd lib/unicore && DYLD_LIBRARY_PATH=/opt/local-development/var/
>>> macports/build/_opt_local-
>>> development_var_macports_sources_rsync
>>> .macports.org_release_ports_lang_perl5.8/work/perl-5.8.8 ../../
>>> miniperl -I../../lib mktables -w
>>> Can't locate File/Glob.pm in @INC (@INC contains: ../../lib /opt/
>>> local-development/lib/perl5/5.8.8/darwin-thread-multi-2level /opt/
>>> local-development/lib/perl5/5.8.8 /opt/local-development/lib/perl5/
>>> site_perl/5.8.8/darwin-thread-multi-2level /opt/local-development/
>>> lib/perl5/site_perl/5.8.8 /opt/local-development/lib/perl5/
>>> site_perl /opt/local-development/lib/perl5/vendor_perl/5.8.8/
>>> darwin-thread-multi-2level /opt/local-development/lib/perl5/
>>> vendor_perl/5.8.8 /opt/local-development/lib/perl5/vendor_perl .)
>>> at mktables line 2111.
>>> BEGIN failed--compilation aborted at mktables line 2111.
>> I don't recall the warnings, but I did get this particular
>> failure when building perl5.8 with the shared variant (which only
>> does "configure.args-append -Duseshrplib" in the Portfile). I never
>> looked into the problem though, as perl5.8 built just fine without
>> that variant (even including +threads).
>> Regards,...
>> -jmpp
>
> Ahh thanks, that's good to know. However, Apple's 5.8.8 seems to
> have both defined:
>
> $ /usr/bin/perl -V|grep config_args
> config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=-
> Dman3ext=3pm -Duseithreads -Duseshrplib'
>
> So there must be some patch that gets this working. Is there a URL
> where Apple keeps its source code of open source packages? We could
> merge all their patches into our 5.8.8.
The link to Leopard's perl5.8 is this:
http://www.opensource.apple.com/darwinsource/10.5/perl-51/
Even though it says 10.5, it's the same for 10.5.1 as that particular
project was unchanged in the update. I tried looking around for an
obvious hint to a relevant patch we could use, but didn't find it.... /
me fears diffing the two source trees!
Regards,...
-jmpp
>
>
> Regards,
> Blair
More information about the macports-dev
mailing list