Problems compiling perl5.8 on 10.5

Blair Zajac blair at orcaware.com
Tue Feb 5 09:29:26 PST 2008


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.

Regards,
Blair


More information about the macports-dev mailing list