ExtUtils::Embed and "make test" fails.

Daniel Lacey <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
This all started when I noticed that the configure script cannot find 
perl_eval_pv.

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...).

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

I am assuming that this is NOT my system/perl configuration issue... :-)
I am assuming that something changed in perl outside this module.

If you have any suggestions, I would appreciate it!

I did search CPAN, this list, etc. but cannot find a solution!

I get the same problem on CentOS V4.3 and Cygwin.

Thanks,
Dan

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 
'blib/lib', 'blib/arch')" t/*.t
t/build...........perlxsi.c: In function `xs_init':
perlxsi.c:32: error: `my_perl' undeclared (first use in this function)
perlxsi.c:32: error: (Each undeclared identifier is reported only once
perlxsi.c:32: error: for each function it appears in.)
perlxsi.c:32: warning: passing arg 3 of `Perl_newXS' from incompatible 
pointer type
perlxsi.c:33: warning: passing arg 3 of `Perl_newXS' from incompatible 
pointer type
perlxsi.c:34: 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:32: error: `my_perl' undeclared (first use in this function)
perlxsi.c:32: error: (Each undeclared identifier is reported only once
perlxsi.c:32: error: for each function it appears in.)
perlxsi.c:32: warning: passing arg 3 of `Perl_newXS' from incompatible 
pointer type
perlxsi.c:33: warning: passing arg 3 of `Perl_newXS' from incompatible 
pointer type
perlxsi.c:34: 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 14

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=cygwin, osvers=1.5.18(0.13242), 
archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 inspiron 1.5.18(0.13242) 2005-07-02 20:30 i686 
unknown unknown cygwin '
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads 
-Uusemymalloc -Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize'
    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=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing 
-pipe -I/usr/local/include',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe 
-I/usr/local/include'
    ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using 
dmd 0.125)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, 
Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -ldb -lcrypt -lgdbm_compat
    perllibs=-lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
                        USE_LARGE_FILES USE_SITECUSTOMIZE
                        PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
  Built under cygwin
  Compiled at Dec 30 2005 02:44:25
  %ENV:
    CYGWIN=""
  @INC:
    /usr/lib/perl5/5.8/cygwin
    /usr/lib/perl5/5.8
    /usr/lib/perl5/site_perl/5.8/cygwin
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/site_perl/5.8/cygwin
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    .


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.