[xml] XML-LibXML-Common-0.13 ( LIBXML) AIX ,64 bit issues



Hello,
I've been trying to get 
Now what I'm trying to do and what I'm getting :
$ perl -v
This is perl, v5.8.7 built for aix-64all

$ perl -V
Summary of my perl5 (revision 5 version 8 subversion
7) configuration:
  Platform:
    osname=aix, osvers=5.2.0.0, archname=aix-64all
    uname='aix sacwis200 2 5 00081bcc4c00 '
    config_args='-Dcc=xlc_r -Duse64bitall
-Dprefix=/home/username/perl -de'
    hint=recommended, useposix=true,
d_sigaction=define
    usethreads=undef use5005threads=undef
useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
    use64bitint=define use64bitall=define
uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='xlc_r', ccflags ='-D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1
-qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include
-q64 -DUSE_64_BIT_ALL -q64',
    optimize='-O',
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias
-DUSE_NATIVE_DLOPEN -I/usr/local/include'
    ccversion='6.0.0.0', gccversion='',
gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8,
byteorder=87654321
    d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=8
    ivtype='long long', ivsize=8, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-brtl -bdynamic
-bmaxdata:0x80000000 -L/usr/local/lib -q64 -b64'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lc
-lbsd
    perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lc
-lbsd
    libc=/lib/libc.a, so=a, useshrplib=false,
libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef,
ccdlflags=' 
-bE:/home/username/perl/lib/5.8.7/aix-64all/CORE/perl.exp'
    cccdlflags=' ', lddlflags='-b64  -bhalt:4 -bexpall
-G -bnoentry -lc -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL
USE_LARGE_FILES
  Built under aix
  Compiled at Jul 13 2005 14:27:45
  %ENV:
   
PERL5LIB="/home/username/perl/lib/perl5:/home/username/perl/modules:/home/username/perl/modules/lib/site_perl/5.8.7:/home/username/perl/lib:/home/username/perl/lib/perl5/site_perl/5.8.7:/home/username/perl/lib/perl5/5.8.7/aix-64all:/home/username/perl/modules/lib/site_perl/5.8.7/aix-64all:"
  @INC:
    /home/username/perl/lib/perl5
    /home/username/perl/modules
   
/home/username/perl/modules/lib/site_perl/5.8.7/aix-64all
    /home/username/perl/modules/lib/site_perl/5.8.7
    /home/username/perl/lib/5.8.7/aix-64all
    /home/username/perl/lib/5.8.7
    /home/username/perl/lib
    /home/username/perl/lib/perl5/site_perl/5.8.7
    /home/username/perl/lib/perl5/5.8.7/aix-64all
   
/home/username/perl/modules/lib/site_perl/5.8.7/aix-64all
    /home/username/perl/lib/5.8.7/aix-64all
    /home/username/perl/lib/5.8.7
    /home/username/perl/lib/site_perl/5.8.7/aix-64all
    /home/username/perl/lib/site_perl/5.8.7
    /home/username/perl/lib/site_perl
    .

Oh yeah almost forgot :
Sysadmin installed libxml2 :
$ /usr/local/bin/xmllint --version
/usr/local/bin/xmllint: using libxml version 20619
   compiled with: DTDValid FTP HTTP HTML C14N Catalog
XPath XPointer XInclude Iconv Unicode Regexps Automata
Schemas Modules $ /usr/local/bin/xml2-config --version
2.6.19

I can install XML-NamespaceSupport-1.07 which I got
from the cpan.
$ cd
/home/username/perl/cpan/XML-NamespaceSupport-1.07
$ perl ./Makefile.PL PREFIX=$HOME/perl/modules
Checking if your kit is complete...
Looks good
Writing Makefile for XML::NamespaceSupport $ make cp
NamespaceSupport.pm blib/lib/XML/NamespaceSupport.pm
Manifying blib/man3/XML::NamespaceSupport.3 $ make
test
        PERL_DL_NONLAZY=1 /home/username/perl/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00base....ok                                        
                      
All tests successful.
Files=1, Tests=46,  0 wallclock secs ( 0.06 cusr + 
0.04 csys =  0.10 CPU) Target "test" is up to date.
$ make install
Writing
/home/username/perl/modules/lib/site_perl/5.8.7/aix-64all/auto/XML/NamespaceSupport/.packlist
Appending installation info to
/home/username/perl/modules/lib/5.8.7/aix-64all/perllocal.pod
Target "install" is up to date.

So I'm fine here. Now this :

/home/username/perl/cpan/XML-LibXML-Common-0.13
$ perl ./Makefile.PL PREFIX=$HOME/perl/modules enable
native perl UTF8 running xml2-config... ok looking for
-lxml2... yes Checking if your kit is complete...
Looks good
Writing Makefile for XML::LibXML::Common $ make cp
Common.pm blib/lib/XML/LibXML/Common.pm
        /home/username/perl/bin/perl -e 'use
ExtUtils::Mksymlists;  Mksymlists("NAME" =>
"XML::LibXML::Common", "DL_FUNCS" => {  }, "FUNCLIST"
=> [], "DL_VARS" => []);'
        /home/username/perl/bin/perl
/home/username/perl/lib/5.8.7/ExtUtils/xsubpp 
-typemap
/home/username/perl/lib/5.8.7/ExtUtils/typemap
-typemap typemap  Common.xs > Common.xsc && mv
Common.xsc Common.c
        xlc_r -c  -I/usr/local/include/libxml2 
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN
-I/usr/local/include -q64 -DUSE_64_BIT_ALL -q64 -O   
-DVERSION=\"0.13\"  -DXS_VERSION=\"0.13\" 
"-I/home/username/perl/lib/5.8.7/aix-64all/CORE" 
-DHAVE_UTF8 -DHAVE_BLANK Common.c
"Common.xs", line 58.20: 1506-068 (E) Operation
between types "unsigned char*" and "char*" is not
allowed.
"Common.xs", line 100.40: 1506-280 (E) Function
argument assignment between types "const char*" and
"unsigned char*" is not allowed.
"Common.xs", line 155.24: 1506-068 (E) Operation
between types "unsigned char*" and "char*" is not
allowed.
"Common.xs", line 193.40: 1506-280 (E) Function
argument assignment between types "const char*" and
"unsigned char*" is not allowed.
"Common.xs", line 196.64: 1506-280 (E) Function
argument assignment between types "const char*" and
"const unsigned char*" is not allowed.
Running Mkbootstrap for XML::LibXML::Common ()
        chmod 644 Common.bs
        rm -f
blib/arch/auto/XML/LibXML/Common/Common.so
        LD_RUN_PATH="" ld  -b64  -bhalt:4 -bexpall -G
-bnoentry -lc -L/usr/local/lib Common.o  -o
blib/arch/auto/XML/LibXML/Common/Common.so  
-L/usr/local/lib -lxml2 -lpthread -liconv -lm -lz   
        chmod 755
blib/arch/auto/XML/LibXML/Common/Common.so
        cp Common.bs
blib/arch/auto/XML/LibXML/Common/Common.bs
        chmod 644
blib/arch/auto/XML/LibXML/Common/Common.bs
Manifying blib/man3/XML::LibXML::Common.3

Well test will fail as well.
Please advise.
The objective is to install LIBXML package...
thank you.
Andrew

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]