Subject: Trouble installing Perl module Devel::Peek
To: None <netbsd-help@netbsd.org, ilya@math.ohio-state.edu>
From: James Wetterau <jwjr@panix.com>
List: netbsd-help
Date: 01/09/2000 13:30:57
... under NetBSD 1.4.1.
This problem seems to be a compilation problem and I'm wondering if
anyone has already solved it. I'm using the CPAN system, but you get
the same error simply using make once perl has built the makefile.
The module in question employs XSUB extensions, I think.
Here's my system info:
NetBSD jwjr.ne.mediaone.net 1.4.1 NetBSD 1.4.1 (GENERIC) #1: Tue Aug 10 00:03:09 MEST 1999 fvdl@struis:/usr/src/sys/arch/i386/compile/GENERIC i386
Here's my Perl info:
jwjr# perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
Platform:
osname=netbsd, osvers=1.4.1, archname=i386-netbsd
uname='netbsd jwjr.ne.mediaone.net 1.4.1 netbsd 1.4.1 (generic) #1: tue aug 10 00:03:09 mest 1999 fvdl@struis:usrsrcsysarchi386compilegeneric i386 '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=y useperlio=undef d_sfio=undef
Compiler:
cc='gcc', optimize='-O2', gccversion=egcs-2.91.60 19981201 (egcs-1.1.1 release)
cppflags='-I/usr/pkg/include'
ccflags ='-I/usr/pkg/include'
stdchar='char', d_stdstdio=undef, usevfork=true
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/pkg/lib'
libpth=/usr/pkg/lib /usr/lib
libs=-lm -lcrypt
libc=/usr/lib/libc.so.12.40, so=so
useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=define, ccdlflags='-Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE'
cccdlflags='-DPIC -fPIC ', lddlflags='-Bforcearchive -Bshareable -L/usr/pkg/lib'
Characteristics of this binary (from libperl):
Built under netbsd
Compiled at Jan 9 2000 02:11:23
@INC:
/usr/pkg/lib/perl5/i386-netbsd/5.00404
/usr/pkg/lib/perl5
/usr/pkg/lib/perl5/site_perl/i386-netbsd
/usr/pkg/lib/perl5/site_perl
.
Here's the output from the make:
gcc -c -I/usr/pkg/include -O2 -DVERSION=\"0.96\" -DXS_VERSION=\"0.96\" -DPIC -fPIC -I/usr/pkg/lib/perl5/i386-netbsd/5.00404/CORE Peek.c
Peek.xs: In function `DumpOP':
Peek.xs:320: `PL_op_name' undeclared (first use in this function)
Peek.xs:320: (Each undeclared identifier is reported only once
Peek.xs:320: for each function it appears in.)
Peek.xs:327: `PL_op_desc' undeclared (first use in this function)
Peek.xs: In function `DumpMagic':
Peek.xs:576: `PL_vtbl_sv' undeclared (first use in this function)
Peek.xs:577: `PL_vtbl_env' undeclared (first use in this function)
Peek.xs:578: `PL_vtbl_envelem' undeclared (first use in this function)
Peek.xs:579: `PL_vtbl_sig' undeclared (first use in this function)
Peek.xs:580: `PL_vtbl_sigelem' undeclared (first use in this function)
Peek.xs:581: `PL_vtbl_pack' undeclared (first use in this function)
Peek.xs:582: `PL_vtbl_packelem' undeclared (first use in this function)
Peek.xs:583: `PL_vtbl_dbline' undeclared (first use in this function)
Peek.xs:584: `PL_vtbl_isa' undeclared (first use in this function)
Peek.xs:585: `PL_vtbl_arylen' undeclared (first use in this function)
Peek.xs:586: `PL_vtbl_glob' undeclared (first use in this function)
Peek.xs:587: `PL_vtbl_mglob' undeclared (first use in this function)
Peek.xs:588: `PL_vtbl_nkeys' undeclared (first use in this function)
Peek.xs:589: `PL_vtbl_taint' undeclared (first use in this function)
Peek.xs:590: `PL_vtbl_substr' undeclared (first use in this function)
Peek.xs:591: `PL_vtbl_vec' undeclared (first use in this function)
Peek.xs:592: `PL_vtbl_pos' undeclared (first use in this function)
Peek.xs:593: `PL_vtbl_bm' undeclared (first use in this function)
Peek.xs:594: `PL_vtbl_fm' undeclared (first use in this function)
Peek.xs:595: `PL_vtbl_uvar' undeclared (first use in this function)
Peek.xs:596: `PL_vtbl_defelem' undeclared (first use in this function)
Peek.xs:598: `PL_vtbl_collxfrm' undeclared (first use in this function)
Peek.xs:601: `PL_vtbl_amagic' undeclared (first use in this function)
Peek.xs:602: `PL_vtbl_amagicelem' undeclared (first use in this function)
*** Error code 1
Stop.
Can anyone provide any insights?
Thanks,
James Wetterau