Perl5.8+shared broken on Leopard

William Siegrist wsiegrist at apple.com
Fri Jan 18 19:12:44 PST 2008


FWIW, I get the same error in 10.5.1 using the latest Portfile. I have  
no idea whats causing it though (other than the obvious "cant find  
File::Glob).  It works fine without +shared for me.

-Bill


On Jan 18, 2008, at 6:33 PM, Logan Bowers wrote:

> Hello all,
>
> I'm having trouble building perl5.8+shared under Leopard, I get the  
> following error:
>
>> Command output: ### See the INSTALL document's section on "make  
>> test".
>> ### You have a good chance to get more information by running
>> ###   ./perl harness
>> ### in the 't' directory since most (>=80%) of the tests succeeded.
>> ### You may have to set your dynamic library search path,
>> ### DYLD_LIBRARY_PATH, to point to the build directory:
>> ###   setenv DYLD_LIBRARY_PATH `pwd`:$DYLD_LIBRARY_PATH; cd t; ./ 
>> perl harness
>> ###   DYLD_LIBRARY_PATH=`pwd`:$DYLD_LIBRARY_PATH; export  
>> DYLD_LIBRARY_PATH; cd t; ./perl harness
>> ###   export DYLD_LIBRARY_PATH=`pwd`:$DYLD_LIBRARY_PATH; cd t; ./ 
>> perl harness
>> ### for csh-style shells, like tcsh; or for traditional/modern
>> ### Bourne-style shells, like bash, ksh, and zsh, respectively.
>> u=0.42  s=0.32  cu=8.91  cs=6.02  scripts=194  tests=42576
>> make[1]: [minitest] Error 1 (ignored)
>> make: [extra.pods] Error 1 (ignored)
>> 	AutoSplitting perl library
>> DYLD_LIBRARY_PATH=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_perl5.8/work/perl-5.8.8 ./miniperl  
>> -Ilib -e 'use AutoSplit; \
>> 		autosplit_lib_modules(@ARGV)' lib/*.pm
>> DYLD_LIBRARY_PATH=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_perl5.8/work/perl-5.8.8 ./miniperl  
>> -Ilib -e 'use AutoSplit; \
>> 		autosplit_lib_modules(@ARGV)' lib/*/*.pm
>> make lib/re.pm
>> make[1]: `lib/re.pm' is up to date.
>> DYLD_LIBRARY_PATH=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_perl5.8/work/perl-5.8.8 ./miniperl  
>> minimod.pl > lib/ExtUtils/Miniperl.pm
>> cd lib/unicore && DYLD_LIBRARY_PATH=/opt/local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_lang_perl5.8/work/perl-5.8.8 ../../ 
>> miniperl -I../../lib mktables -w
>> Can't load module File::Glob, dynamic loading not available in this  
>> perl.
>> (You may need to build a new perl executable which either supports
>> dynamic loading or has the File::Glob module statically linked into  
>> it.)
>> at mktables line 2111
>> Compilation failed in require at mktables line 2111.
>> BEGIN failed--compilation aborted at mktables line 2111.
>> make: *** [uni.data] Error 22
>>
>> Error: Status 1 encountered during processing.
>> bash-3.2#
>
>
> Can someone confirm (using the command `port build perl5.8+shared`)  
> this behavior and help me figure out why it's happening?  I've tried  
> configuring and compiling the perl source by hand (pulling the  
> command line params out of the Portfile), but when I do it builds  
> and tests fine.  My port-fu is rather weak, so I can't figure out  
> what else might be affecting the build.  Any ideas?  If we can track  
> down a cause, I can file ticket with a patch.  Thanks!
>
>
> Logan Bowers_______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users




----
William Siegrist
Software Support Engineer
Mac OS Forge
http://macosforge.org/
wsiegrist at apple.com
408 862 7337





-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080118/9e4511d0/smime.bin


More information about the macports-users mailing list