Problems compiling perl5.8 on 10.5
Blair Zajac
blair at orcaware.com
Mon Feb 4 22:52:15 PST 2008
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.
To get around this, I did a custom patch by comparing 5.8.8 with the extraction
using this command:
$ tar xvfj perl-5.8.8.tar.bz2
$ rsync -Pavz rsync://public.activestate.com/perl-5.8.x/ 5.8.x/
$ cd 5.8.x
$ diff -ruN ../5.8.8 . > ../patch.txt
This generates a 3 Mbyte patch but it seems to work.
Regards,
Blair
--
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair at orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
More information about the macports-dev
mailing list