Good progress.
If you change this in the Makefile:
--- Makefile.orig 2004-01-14 08:57:36.000000000 -0800
+++ Makefile 2004-01-14 09:00:21.000000000 -0800
@@ -804,7 +804,7 @@
$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this
$(MAP_TARGET)
- $(NOECHO) $(PERLRUNINST) \
+ $(PERLRUNINST) \
Makefile.PL DIR= \
MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
to see the command that generates Makefile.aperl and then run
make test:
Writing "Makefile.aperl" for this perl
/opt/i386-linux/installed/perl-5.8.2-g-pg/bin/perl5.8.2 "-
Iblib/arch" "-Iblib/lib" \
Makefile.PL DIR= \
MAKEFILE=Makefile.aperl LINKTYPE=static \
MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
Attempt to free unreferenced scalar: SV 0x8616808 at blib/lib/Cwd.pm
line 162.
make: *** [Makefile.aperl] Segmentation fault (core dumped)
Now try running the same command minus the -I's and it'll run just
fine:
/opt/i386-linux/installed/perl-5.8.2-g-pg/bin/perl5.8.2 \
Makefile.PL DIR= \
MAKEFILE=Makefile.aperl LINKTYPE=static \
MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
Writing Makefile.aperl for Cwd
In fact, trying to run
perl Makefile.PL
make
make test
with Cwd 2.08, the same version that came with perl 5.8.2 runs fine,
so this just looks like a mismatch between .pm and .xs code.
So we just have to make certain that Makefile.PL uses the already
installed Cwd instead of the new Cwd.
Blair