Perl 5.8 build failing

Ryan Schmidt ryandesign at macports.org
Sun Mar 30 20:13:41 PDT 2008


On Mar 30, 2008, at 19:25, Steven Scholnick wrote:

> I've been tying to install the ImageMagick perl module, and it is
> crashing on the installation of perl 5.8.  The error is:
>
> ./perl installperl
> --destdir=/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> perl5.8/work/destroot
> Can't find 'boot_File__Glob' symbol in lib/auto/File/Glob/Glob.bundle
>  at lib/File/Glob.pm line 96
> Compilation failed in require at installperl line 132.
> BEGIN failed--compilation aborted at installperl line 132.
> make[1]: *** [install.perl] Error 255
> make: *** [install] Error 2
>
> I also tried to install pert5.10, same error.  I saw a bug opened for
> this issue that hasn't been addressed.

For anyone looking for it, I think this is the relevant ticket:

http://trac.macosforge.org/projects/macports/ticket/13720


> Is there anyway for me to let macports use my pre-existing Leopard
> version of perl 5.8.

No. MacPorts is designed to use its own libraries, not system  
libraries. The solution is to fix the above bug.

I'm not sure exactly what's causing the problem...

Using "locate File/Glob" on my system, I see I have these items:

/opt/local/lib/perl5/5.8.8/darwin-2level/File/Glob.pm
/opt/local/lib/perl5/5.8.8/darwin-2level/auto/File/Glob
/opt/local/lib/perl5/5.8.8/darwin-2level/auto/File/Glob/Glob.bs
/opt/local/lib/perl5/5.8.8/darwin-2level/auto/File/Glob/Glob.bundle
/opt/local/lib/perl5/vendor_perl/5.8.8/File/GlobMapper.pm

Do you have them too?


> I am running 10.5.2 on a PPC G4.

I have 10.4.11 on Intel Core 2 Duo.



More information about the macports-users mailing list