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@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users




----
William Siegrist
Software Support Engineer
Mac OS Forge
http://macosforge.org/
[EMAIL PROTECTED]
408 862 7337





Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to