ExtUtils-Embed - make test fails, tried to format this message...

Posted on Fri Sep 8 02:28:55 2006 by dlacey
make test fails, tried to format this message...

Newbie question...

I am using what appears to be the latest ExtUtils::Embed version, ExtUtils-Embed-1.14.

When downloading the module with CPAN, the "make test" fails with the same errors as my application build (Net-SNMP with embedded PERL). (I missed the "make test" failing while downloading a big set of modules, and worked my way backwards to find the problem...).

Also, the application Net-SNMP uses a configure script that cannot find perl_eval_pv, which is contained in ExtUtils::Embed. Correct?

I copied the output of "make test" and "perl -V" to this email.

If you have any suggestions, I would appreciate it!

Thanks, Dan

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# make test

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

t/build...........perlxsi.c: In function `xs_init':

perlxsi.c:30: error: `my_perl' undeclared (first use in this function)

perlxsi.c:30: error: (Each undeclared identifier is reported only once

perlxsi.c:30: error: for each function it appears in.)

perlxsi.c:30: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type

make[1]: *** [perlxsi.o] Error 1

t/build...........NOK 1perlxsi.c: In function `xs_init':

perlxsi.c:30: error: `my_perl' undeclared (first use in this function)

perlxsi.c:30: error: (Each undeclared identifier is reported only once

perlxsi.c:30: error: for each function it appears in.)

perlxsi.c:30: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type

make[1]: *** [perlxsi.o] Error 1

t/build...........FAILED tests 1-2

Failed 2/2 tests, 0.00% okay

t/embed...........Can't exec "./embed": No such file or directory at t/embed.t line 2.

FAILED before any test output arrived

t/loop............sh: ./loop: No such file or directory

sh: ./loop: No such file or directory

sh: ./loop: No such file or directory

sh: ./loop: No such file or directory

sh: ./loop: No such file or directory

sh: ./loop: No such file or directory

sh: ./loop: No such file or directory

sh: ./loop: No such file or directory

Can't exec "./loop": No such file or directory at t/loop.t line 59.

Use of uninitialized value in pattern match (m//) at t/loop.t line 59.

FAILED before any test output arrived

t/multiplicity....skipped

all skipped: no reason given

Failed Test Stat Wstat Total Fail Failed List of Failed

-------------------------------------------------------------------------------

t/build.t 2 2 100.00% 1-2

t/embed.t ?? ?? % ??

t/loop.t ?? ?? % ??

1 test skipped.

Failed 3/4 test scripts, 25.00% okay. 20/20 subtests failed, 0.00% okay.

make: *** [test_dynamic] Error 255

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# perl -V

Summary of my perl5 (revision 5 version 8 subversion 5) configuration:

Platform:

osname=linux, osvers=2.6.9-22.0.1.elsmp, archname=i386-linux-thread-multi

uname='linux build-i386 2.6.9-22.0.1.elsmp #1 smp thu oct 27 13:14:25 cdt 2005 i686 i686 i386

gnulinux '

config_args='-des -Doptimize=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Dversion=5.8.5

-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc.

-Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr

-Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm

-Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005

-Uversiononly -Dpager=/usr/bin/less -isr -Dinc_version_list=5.8.4 5.8.3 5.8.2 5.8.1 5.8.0'

hint=recommended, useposix=true, d_sigaction=define

usethreads=define use5005threads=undef useithreads=define usemultiplicity=define

useperlio=define d_sfio=undef uselargefiles=define usesocks=undef

use64bitint=undef use64bitall=undef uselongdouble=undef

usemymalloc=n, bincompat5005=undef

Compiler:

cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe

-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',

optimize='-O2 -g -pipe -m32 -march=i386 -mtune=pentium4',

cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include

-I/usr/include/gdbm'

ccversion='', gccversion='3.4.4 20050721 (Red Hat 3.4.4-2)', gccosandvers=''

intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234

d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12

ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8

alignbytes=4, prototype=define

Linker and Libraries:

ld='gcc', ldflags =' -L/usr/local/lib'

libpth=/usr/local/lib /lib /usr/lib

libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc

perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc

libc=/lib/libc-2.3.4.so, so=so, useshrplib=true, libperl=libperl.so

gnulibc_version='2.3.4'

Dynamic Linking:

dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E

-Wl,-rpath,/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE'

cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl):

Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT

Built under linux

Compiled at Dec 21 2005 06:35:04

@INC:

/usr/lib/perl5/5.8.5/i386-linux-thread-multi

/usr/lib/perl5/5.8.5

/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi

/usr/lib/perl5/site_perl/5.8.5

/usr/lib/perl5/site_perl/5.8.4

/usr/lib/perl5/site_perl/5.8.3

/usr/lib/perl5/site_perl/5.8.2

/usr/lib/perl5/site_perl/5.8.1

/usr/lib/perl5/site_perl/5.8.0

/usr/lib/perl5/site_perl

/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi

/usr/lib/perl5/vendor_perl/5.8.5

/usr/lib/perl5/vendor_perl/5.8.4

/usr/lib/perl5/vendor_perl/5.8.3

/usr/lib/perl5/vendor_perl/5.8.2

/usr/lib/perl5/vendor_perl/5.8.1

/usr/lib/perl5/vendor_perl/5.8.0

/usr/lib/perl5/vendor_perl

.

Write a response