Subject: Perl on Mac OS X 10.5
To: None <tech-pkg@NetBSD.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 10/27/2007 23:44:14
Hi, all,

If anyone would like a shell on a 10.5 machine, let me know. I've barely 
just begun, and I've run into the following problem building perl out of 
2007Q3 on a PowerPC G5. It also failed similarly on an Intel Mac with 
the latest pkgsrc-current.


 	    miniperlmain.o opmini.o libperl.dylib -lm -lc -lpthread
DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 ./miniperl -w 
-Ilib -MExporter -e '<?>' || /usr/bin/gnumake minitest
Can't locate File/Glob.pm in @INC (@INC contains: lib 
/usr/pkg/lib/perl5/site_perl/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/site_perl/5.8.0 /usr/pkg/lib/perl5/site_perl 
/usr/pkg/lib/perl5/vendor_perl/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/vendor_perl/5.8.0 /usr/pkg/lib/perl5/vendor_perl 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/5.8.0 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
cp ext/re/re.pm lib/re.pm
DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 ./miniperl -Ilib 
configpm --heavy=lib/Config_heavy.pl lib/Config.pm
DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 ./miniperl -Ilib 
lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
cd lib/unicore && DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 
../../miniperl -I../../lib mktables -w
Can't locate File/Glob.pm in @INC (@INC contains: ../../lib 
/usr/pkg/lib/perl5/site_perl/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/site_perl/5.8.0 /usr/pkg/lib/perl5/site_perl 
/usr/pkg/lib/perl5/vendor_perl/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/vendor_perl/5.8.0 /usr/pkg/lib/perl5/vendor_perl 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/5.8.0 .) at mktables line 2111.
BEGIN failed--compilation aborted at mktables line 2111.
gnumake[2]: *** [uni.data] Error 2
gnumake[1]: [minitest.prep] Error 2 (ignored)

You may see some irrelevant test failures if you have been unable
to build lib/Config.pm, lib/lib.pm or the Unicode data files.

cd t && (rm -f perl; /bin/ln -s ../miniperl perl) \
 		&& 
DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 ./perl TEST 
-minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t 
</dev/tty
t/base/cond..........ok
t/base/if............ok
t/base/lex...........ok
t/base/num...........ok
t/base/pat...........ok
t/base/rs............ok
t/base/term..........ok
t/comp/bproto........ok
t/comp/cmdopt........ok
t/comp/colon.........ok
t/comp/cpp...........ok
t/comp/decl..........ok
t/comp/hints.........ok
t/comp/multiline.....ok
t/comp/opsubs........ok
t/comp/our...........ok
t/comp/package.......ok
t/comp/parser........ok
t/comp/proto.........ok
t/comp/redef.........ok
t/comp/require.......FAILED at test 28
t/comp/script........ok
t/comp/term..........ok
t/comp/use...........ok
t/comp/utf...........skipping test on this platform
t/cmd/elsif..........ok
t/cmd/for............ok
t/cmd/mod............ok
t/cmd/subval.........ok
t/cmd/switch.........ok
t/cmd/while..........ok
t/run/exit...........ok
t/run/fresh_perl.....# PROG:
# Bug 20010506.041
# "abcd\x{1234}" =~ /(a)(b[c])(d+)?/i and print "ok\n";
# EXPECTED:
# ok
# GOT:
# Can't locate unicore/PVA.pl in @INC (@INC contains: ../lib 
/usr/pkg/lib/perl5/site_perl/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/site_perl/5.8.0 /usr/pkg/lib/perl5/site_perl 
/usr/pkg/lib/perl5/vendor_perl/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/vendor_perl/5.8.0 /usr/pkg/lib/perl5/vendor_perl 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/5.8.0 .) at ../lib/utf8_heavy.pl line 80.
# STATUS: 512
# Failed at run/fresh_perl.t line 55
FAILED at test 76
t/run/noswitch.......ok
t/run/runenv.........ok
t/run/switch0........ok
t/run/switchC........ok
t/run/switchF........ok
t/run/switchF1.......ok
t/run/switchI........ok
t/run/switchPx.......ok
t/run/switcha........ok
t/run/switchd........ok
t/run/switches.......ok
t/run/switchn........ok
t/run/switchp........ok
t/run/switcht........ok
t/run/switchx........ok
t/io/argv............ok
t/io/binmode.........ok
t/io/crlf............ok
t/io/crlf_through....ok
t/io/dup.............ok
t/io/fflush..........ok
t/io/fs..............ok
t/io/inplace.........ok
t/io/iprefix.........ok
t/io/layers..........ok
t/io/nargv...........ok
t/io/open............ok
t/io/openpid.........ok
t/io/pipe............ok
t/io/print...........ok
t/io/read............ok
t/io/tell............ok
t/io/through.........ok
t/io/utf8............Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib) at ../lib/utf8_heavy.pl line 80.
# Looks like you planned 55 tests but ran 52.
FAILED--expected 55 tests, saw 52
t/op/64bitint........skipping test on this platform
t/op/alarm...........ok
t/op/anonsub.........ok
t/op/append..........ok
t/op/args............ok
t/op/arith...........ok
t/op/array...........ok
t/op/assignwarn......ok
t/op/attrs...........ok
t/op/auto............ok
t/op/avhv............ok
t/op/bless...........ok
t/op/bop.............ok
t/op/caller..........ok
t/op/chars...........ok
t/op/chdir...........ok
t/op/chop............ok
t/op/chr.............ok
t/op/closure.........ok
t/op/cmp.............ok
t/op/concat..........ok
t/op/cond............ok
t/op/context.........ok
t/op/cproto..........ok
t/op/crypt...........ok
t/op/defins..........Can't locate File/Glob.pm in @INC (@INC contains: 
../lib) at op/defins.t line 96.
BEGIN failed--compilation aborted at op/defins.t line 96.
FAILED--expected 14 tests, saw 0
t/op/delete..........ok
t/op/die.............FAILED at test 14
t/op/die_exit........ok
t/op/do..............ok
t/op/each............ok
t/op/eval............ok
t/op/exec............ok
t/op/exists_sub......ok
t/op/exp.............ok
t/op/fh..............ok
t/op/filetest........ok
t/op/flip............ok
t/op/fork............ok
t/op/getpid..........skipping test on this platform
t/op/getppid.........ok
t/op/glob............Can't locate File/Glob.pm in @INC (@INC contains: 
../lib) at op/glob.t line 10.
BEGIN failed--compilation aborted at op/glob.t line 10.
FAILED--no leader found
t/op/gmagic..........ok
t/op/goto............ok
t/op/goto_xs.........skipping test on this platform
t/op/grent...........ok
t/op/grep............ok
t/op/groups..........ok
t/op/gv..............ok
t/op/hash............ok
t/op/hashassign......ok
t/op/hashwarn........ok
t/op/inc.............ok
t/op/inccode.........ok
t/op/index...........ok
t/op/int.............ok
t/op/join............ok
t/op/lc..............Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib) at ../lib/utf8_heavy.pl line 80.
FAILED--no leader found
t/op/lc_user.........Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib) at ../lib/utf8_heavy.pl line 80.
FAILED--no leader found
t/op/length..........ok
t/op/lex_assign......Can't locate File/Glob.pm in @INC (@INC contains: 
../lib) at (eval 5) line 4, <DATA> line 153.
BEGIN failed--compilation aborted at (eval 5) line 4, <DATA> line 153.
FAILED at test 15
t/op/lfs.............skipping test on this platform
t/op/list............ok
t/op/local...........ok
t/op/localref........ok
t/op/loopctl.........ok
t/op/lop.............ok
t/op/magic...........ok
t/op/method..........ok
t/op/mkdir...........ok
t/op/my..............ok
t/op/my_stash........ok
t/op/negate..........ok
t/op/not.............ok
t/op/nothr5005.......ok
t/op/numconvert......ok
t/op/oct.............ok
t/op/or..............ok
t/op/ord.............ok
t/op/override........ok
t/op/pack............ok
t/op/pat.............Use of uninitialized value in pattern match (m//) at 
../lib/charnames.pm line 111.
Unknown charname 'CYRILLIC SMALL LETTER A' at unicore/Name.pl line 1391
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'GREEK CAPITAL LETTER ALPHA' at unicore/Name.pl line 1393
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'HIRAGANA LETTER SMALL A' at unicore/Name.pl line 1394
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'COMBINING GRAVE ACCENT' at unicore/Name.pl line 1395
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'ARABIC-INDIC DIGIT ZERO' at unicore/Name.pl line 1397
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'LATIN CAPITAL LETTER A' at unicore/Name.pl line 1806
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'LATIN CAPITAL LETTER A WITH GRAVE' at unicore/Name.pl 
line 1809
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'LATIN CAPITAL LETTER A WITH MACRON' at unicore/Name.pl 
line 1812
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'LATIN SMALL LETTER B WITH STROKE' at unicore/Name.pl 
line 1815
Use of uninitialized value in pattern match (m//) at ../lib/charnames.pm 
line 111.
Unknown charname 'KATAKANA LETTER SMALL A' at unicore/Name.pl line 1818
Can't locate unicore/PVA.pl in @INC (@INC contains: ../lib) at 
../lib/utf8_heavy.pl line 80.
FAILED--no leader found
t/op/pos.............ok
t/op/pow.............ok
t/op/push............ok
t/op/pwent...........FAILED at test 1
t/op/qq..............ok
t/op/quotemeta.......ok
t/op/rand............ok
t/op/range...........ok
t/op/read............ok
t/op/readdir.........Can't locate File/Glob.pm in @INC (@INC contains: 
../lib) at op/readdir.t line 35.
BEGIN failed--compilation aborted at op/readdir.t line 35.
FAILED--no leader found
t/op/readline........ok
t/op/recurse.........ok
t/op/ref.............ok
t/op/regexp..........ok
t/op/regexp_noamp....ok
t/op/regmesg.........FAILED at test 36
t/op/repeat..........ok
t/op/reverse.........ok
t/op/runlevel........ok
t/op/sleep...........ok
t/op/sort............ok
t/op/splice..........ok
t/op/split...........ok
t/op/sprintf.........ok
t/op/sprintf2........ok
t/op/srand...........ok
t/op/sselect.........ok
t/op/stash...........ok
t/op/stat............ok
t/op/study...........ok
t/op/sub.............ok
t/op/sub_lval........ok
t/op/subst...........ok
t/op/subst_amp.......ok
t/op/subst_wamp......ok
t/op/substr..........ok
t/op/sysio...........ok
t/op/taint...........Can't locate File/Glob.pm in @INC (@INC contains: 
../lib) at op/taint.t line 321.
BEGIN failed--compilation aborted at op/taint.t line 321.
FAILED--no leader found
t/op/threads.........skipping test on this platform
t/op/tie.............ok
t/op/tiearray........ok
t/op/tiehandle.......ok
t/op/time............ok
t/op/tr..............ok
t/op/undef...........ok
t/op/universal.......ok
t/op/unshift.........ok
t/op/utf8decode......ok
t/op/utfhash.........Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib) at ../lib/utf8_heavy.pl line 80.
# Looks like you planned 97 tests but ran 0.
FAILED--expected 97 tests, saw 0
t/op/utftaint........skipping test on this platform
t/op/vec.............ok
t/op/ver.............ok
t/op/wantarray.......ok
t/op/write...........ok
t/uni/chomp..........skipping test on this platform
t/uni/class..........Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib .) at ../lib/utf8_heavy.pl line 80.
# Looks like you planned 4670 tests but ran 0.
FAILED--expected 4670 tests, saw 0
t/uni/fold...........Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib) at ../lib/utf8_heavy.pl line 80.
FAILED--expected 981 tests, saw 0
t/uni/lower..........Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib uni .) at ../lib/utf8_heavy.pl line 80.
FAILED--no leader found
t/uni/sprintf........ok
t/uni/title..........Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib uni .) at ../lib/utf8_heavy.pl line 80.
FAILED--no leader found
t/uni/tr_7jis........skipping test on this platform
t/uni/tr_eucjp.......skipping test on this platform
t/uni/tr_sjis........skipping test on this platform
t/uni/tr_utf8........skipping test on this platform
t/uni/upper..........Can't locate unicore/PVA.pl in @INC (@INC contains: 
../lib uni .) at ../lib/utf8_heavy.pl line 80.
FAILED--no leader found
t/uni/write..........ok
Failed 20 test scripts out of 194, 89.69% okay.
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### 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.53  s=0.45  cu=11.56  cs=9.40  scripts=194  tests=42576
gnumake[1]: [minitest] Error 1 (ignored)
gnumake: [extra.pods] Error 1 (ignored)
 	AutoSplitting perl library
DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 ./miniperl -Ilib 
-e 'use AutoSplit; \
 		autosplit_lib_modules(@ARGV)' lib/*.pm
DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 ./miniperl -Ilib 
-e 'use AutoSplit; \
 		autosplit_lib_modules(@ARGV)' lib/*/*.pm
/usr/bin/gnumake lib/re.pm
gnumake[1]: `lib/re.pm' is up to date.
DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 ./miniperl 
minimod.pl > lib/ExtUtils/Miniperl.pm
cd lib/unicore && DYLD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.8.8 
../../miniperl -I../../lib mktables -w
Can't locate File/Glob.pm in @INC (@INC contains: ../../lib 
/usr/pkg/lib/perl5/site_perl/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/site_perl/5.8.0 /usr/pkg/lib/perl5/site_perl 
/usr/pkg/lib/perl5/vendor_perl/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/vendor_perl/5.8.0 /usr/pkg/lib/perl5/vendor_perl 
/usr/pkg/lib/perl5/5.8.0/darwin-thread-multi-2level 
/usr/pkg/lib/perl5/5.8.0 .) at mktables line 2111.
BEGIN failed--compilation aborted at mktables line 2111.
gnumake: *** [uni.data] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5