Hello.

I'm having trouble installing XML::LibXML::XPathContext on a Intel Mini (via CPAN). I had no problem installing it on my Powerbook, so I'm wondering if it has to do with a difference between PowerPC and Intel processors (for lack of any other evidence). Has anyone else had trouble installing XML::LibXML::XPathContext?

There are a few warnings about arguments differing in signedness during compilation, and a truly amazing number of test failures (failing 200% and 183%, if the numbers are to be believed.)

One thing I'm wondering about is the following warning:
/usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist

I've tried creating /usr/local/lib and installing again, but not surprisingly it just removes the warning: I still get the same number of test failures. Checking this directory on my Powerbook (with the successful XML::LibXML::XPathContext install), I see a number of libraries, but none of them look like they have any connection with XML (libnmz, libreadline, libsqlite3, libruby, libfcgi, libchasen, libhistory, libapreq).

Please find my version and install logs below. I've Googled on some of the error strings, but nothing except for a CPAN install failure log on an older version of Darwin from 7 months ago[1] have risen to the surface.

Thanks for any insight, pointers to documentation, or suggestions of things I might try to get it installed are most appreciated.

Michael Glaesemann
grzm seespotcode net

[1](http://www.codecomments.com/archive430-2005-12-736887.html)

================

$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
  Platform:
    osname=darwin, osvers=8.0, archname=darwin-thread-multi-2level
uname='darwin b01.apple.com 8.0 darwin kernel version 8.0.0: tue nov 15 13:23:51 pst 2005; root:xnu-792.99.1.obj~6release_ppc power macintosh powerpc ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe - Dldflags=-Dman3ext=3pm -Duseithreads -Duseshrplib'
    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='cc', ccflags ='-g -pipe -fno-common -DPERL_DARWIN -no-cpp- precomp -fno-strict-aliasing -I/usr/local/include',
    optimize='-O3',
cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no- cpp-precomp -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5250)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/ local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lc
    perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-bundle -undefined dynamic_lookup -L/ usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        23953 - fix for File::Path::rmtree CAN-2004-0452 security issue
        33990 - fix for setuid perl security issues
  Built under darwin
  Compiled at Jan 13 2006 11:59:39
  @INC:
    /System/Library/Perl/5.8.6/darwin-thread-multi-2level
    /System/Library/Perl/5.8.6
    /Library/Perl/5.8.6/darwin-thread-multi-2level
    /Library/Perl/5.8.6
    /Library/Perl
    /Network/Library/Perl/5.8.6/darwin-thread-multi-2level
    /Network/Library/Perl/5.8.6
    /Network/Library/Perl
    /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
    /System/Library/Perl/Extras/5.8.6
    /Library/Perl/5.8.1
    .
=====
CPAN: Storable loaded ok
Going to read /Users/saiadmin/.cpan/Metadata
  Database was generated on Sun, 30 Jul 2006 09:31:45 GMT
Running install for module XML::LibXML::XPathContext
Running make for P/PA/PAJAS/XML-LibXML-XPathContext-0.07.tar.gz
CPAN: Digest::SHA loaded ok
CPAN: Module::Signature loaded ok
WARNING: This key is not certified with a trusted signature!
Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC Signature for /Users/saiadmin/.cpan/sources/authors/id/P/PA/PAJAS/ CHECKSUMS ok
CPAN: Compress::Zlib loaded ok
Checksum for /Users/saiadmin/.cpan/sources/authors/id/P/PA/PAJAS/XML- LibXML-XPathContext-0.07.tar.gz ok
Scanning cache /Users/saiadmin/.cpan/build for sizes
XML-LibXML-XPathContext-0.07/
XML-LibXML-XPathContext-0.07/t/
XML-LibXML-XPathContext-0.07/t/02-functions.t
XML-LibXML-XPathContext-0.07/t/00-xpathcontext.t
XML-LibXML-XPathContext-0.07/t/01-variables.t
XML-LibXML-XPathContext-0.07/xpath.c
XML-LibXML-XPathContext-0.07/xpath.h
XML-LibXML-XPathContext-0.07/LICENSE
XML-LibXML-XPathContext-0.07/dom.c
XML-LibXML-XPathContext-0.07/dom.h
XML-LibXML-XPathContext-0.07/XPathContext.pm
XML-LibXML-XPathContext-0.07/XPathContext.xs
XML-LibXML-XPathContext-0.07/README
XML-LibXML-XPathContext-0.07/Changes
XML-LibXML-XPathContext-0.07/Makefile.PL
XML-LibXML-XPathContext-0.07/ppport.h
XML-LibXML-XPathContext-0.07/perl-libxml-mm.c
XML-LibXML-XPathContext-0.07/perl-libxml-mm.h
XML-LibXML-XPathContext-0.07/META.yml
XML-LibXML-XPathContext-0.07/typemap
XML-LibXML-XPathContext-0.07/MANIFEST
Removing previously used /Users/saiadmin/.cpan/build/XML-LibXML- XPathContext-0.07
Package came without SIGNATURE


CPAN.pm: Going to build P/PA/PAJAS/XML-LibXML- XPathContext-0.07.tar.gz

enable native perl UTF8
running xml2-config... ok
running gdome-config...failed
GDOME support is optional and is not required for running
this package
looking for -lxml2... yes
Checking if your kit is complete...
Looks good
Writing Makefile for XML::LibXML::XPathContext
CPAN: YAML loaded ok
cp XPathContext.pm blib/lib/XML/LibXML/XPathContext.pm
/usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap / System/Library/Perl/5.8.6/ExtUtils/typemap -typemap typemap XPathContext.xs > XPathContext.xsc && mv XPathContext.xsc XPathContext.c cc -c -I/opt/local/include/libxml2 -I/opt/local/include -g -pipe - fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/ local/include -O3 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" "-I/ System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" - DHAVE_UTF8 -DHAVE_BLANK XPathContext.c
XPathContext.xs: In function 'xpc_LibXML_generic_extension_function':
XPathContext.xs:340: warning: pointer targets in assignment differ in signedness XPathContext.xs:341: warning: pointer targets in assignment differ in signedness XPathContext.xs:429: warning: pointer targets in passing argument 1 of 'xpc_C2Sv' differ in signedness
XPathContext.xs: In function 'XS_XML__LibXML__XPathContext_registerNs':
XPathContext.xs:692: warning: pointer targets in passing argument 2 of 'xmlXPathRegisterNs' differ in signedness XPathContext.xs:692: warning: pointer targets in passing argument 3 of 'xmlXPathRegisterNs' differ in signedness XPathContext.xs:696: warning: pointer targets in passing argument 2 of 'xmlXPathRegisterNs' differ in signedness
XPathContext.xs: In function 'XS_XML__LibXML__XPathContext_lookupNs':
XPathContext.xs:714: warning: pointer targets in passing argument 2 of 'xmlXPathNsLookup' differ in signedness XPathContext.xs: In function 'XS_XML__LibXML__XPathContext_registerFunctionNS': XPathContext.xs:857: warning: pointer targets in passing argument 2 of 'xmlXPathRegisterFuncNS' differ in signedness XPathContext.xs:857: warning: pointer targets in passing argument 3 of 'xmlXPathRegisterFuncNS' differ in signedness XPathContext.xs:861: warning: pointer targets in passing argument 2 of 'xmlXPathRegisterFunc' differ in signedness cc -c -I/opt/local/include/libxml2 -I/opt/local/include -g -pipe - fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/ local/include -O3 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" "-I/ System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" - DHAVE_UTF8 -DHAVE_BLANK dom.c cc -c -I/opt/local/include/libxml2 -I/opt/local/include -g -pipe - fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/ local/include -O3 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" "-I/ System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" - DHAVE_UTF8 -DHAVE_BLANK perl-libxml-mm.c
perl-libxml-mm.c: In function 'xpc_PmmFastDecodeString':
perl-libxml-mm.c:660: warning: pointer targets in passing argument 1 of 'xmlCharStrndup' differ in signedness
perl-libxml-mm.c: In function 'nodexpc_C2Sv':
perl-libxml-mm.c:816: warning: pointer targets in passing argument 1 of 'xpc_PmmDecodeString' differ in signedness perl-libxml-mm.c:816: warning: pointer targets in initialization differ in signedness perl-libxml-mm.c:829: warning: pointer targets in passing argument 1 of 'xmlParseCharEncoding' differ in signedness
perl-libxml-mm.c: In function 'nodexpc_Sv2C':
perl-libxml-mm.c:894: warning: pointer targets in passing argument 1 of 'xpc_PmmEncodeString' differ in signedness cc -c -I/opt/local/include/libxml2 -I/opt/local/include -g -pipe - fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/ local/include -O3 -DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" "-I/ System/Library/Perl/5.8.6/darwin-thread-multi-2level/CORE" - DHAVE_UTF8 -DHAVE_BLANK xpath.c
Running Mkbootstrap for XML::LibXML::XPathContext ()
chmod 644 XPathContext.bs
rm -f blib/arch/auto/XML/LibXML/XPathContext/XPathContext.bundle
LD_RUN_PATH="/opt/local/lib:/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup - L/usr/local/lib XPathContext.o dom.o perl-libxml-mm.o xpath.o -o blib/arch/auto/XML/LibXML/XPathContext/XPathContext.bundle -L/opt/ local/lib -lxml2 -lz -lpthread -L/opt/local/lib -liconv -lm
/usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist
chmod 755 blib/arch/auto/XML/LibXML/XPathContext/XPathContext.bundle
cp XPathContext.bs blib/arch/auto/XML/LibXML/XPathContext/ XPathContext.bs
chmod 644 blib/arch/auto/XML/LibXML/XPathContext/XPathContext.bs
Manifying blib/man3/XML::LibXML::XPathContext.3pm
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-xpathcontext....dubious
        Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 1-54
        Failed 54/54 tests, 0.00% okay
t/01-variables.......dubious
        Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 4-35
        Failed 32/35 tests, 8.57% okay
t/02-functions.......ok
Failed Test         Stat Wstat Total Fail  Failed  List of Failed
------------------------------------------------------------------------ -------
t/00-xpathcontext.t    0    10    54  108 200.00%  1-54
t/01-variables.t       0    10    35   64 182.86%  4-35
Failed 2/3 test scripts, 33.33% okay. 86/121 subtests failed, 28.93% okay.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force
Failed during this command:
  PAJAS/XML-LibXML-XPathContext-0.07.tar.gz    : make_test NO


Reply via email to