From: my n. <dea...@ya...> - 2005-07-15 21:30:49
|
Hello, I hope this is correct forum. It seems that the module can NOT work with the 64 bit enabled ( compiled ) PERL. On the other side, i have to have it 64 bit - or DBD to Oracle won't work. Here is the errors : $ 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 cc_r -c -I/usr/local/include/libxml2 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -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-thread-multi-64all/CORE" -DHAVE_UTF8 -DHAVE_BLANK Common.c 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 -lpthreads -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 $ make test PERL_DL_NONLAZY=1 /home/username/perl/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..8 # Running under perl version 5.008007 for aix # Current time local: Fri Jul 15 16:54:16 2005 # Current time GMT: Fri Jul 15 20:54:16 2005 # Using Test.pm version 1.25 Can't load 'blib/arch/auto/XML/LibXML/Common/Common.so' for module XML::LibXML::Common: A file or directory in the path name does not exist. at /home/username/perl/lib/5.8.7/aix-thread-multi-64all/DynaLoader.pm line 230. at test.pl line 10 Compilation failed in require at test.pl line 10. BEGIN failed--compilation aborted at test.pl line 10. make: 1254-004 The error code from the last command is 2. Stop. $ which perl /home/username/perl/bin/perl $ perl -v This is perl, v5.8.7 built for aix-thread-multi-64all Copyright 1987-2005, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $ perl -V Summary of my perl5 (revision 5 version 8 subversion 7) configuration: Platform: osname=aix, osvers=5.2.0.0, archname=aix-thread-multi-64all uname='aix sacwis200 2 5 00081bcc4c00 ' config_args='-Dcc=cc_r -Dusethreads -Duse64bitall -Dprefix=/home/username/perl -de' 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=define uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -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 -DNEED_PTHREAD_INIT -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 -lpthreads -lc -lbsd perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -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-thread-multi-64all/CORE/perl.exp' cccdlflags=' ', lddlflags='-b64 -bhalt:4 -bexpall -G -bnoentry -lpthreads -lc -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under aix Compiled at Jul 15 2005 16:16:51 %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-thread-multi-64all /home/username/perl/modules/lib/site_perl/5.8.7 /home/username/perl/lib/5.8.7/aix-thread-multi-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-thread-multi-64all /home/username/perl/lib/5.8.7 /home/username/perl/lib/site_perl/5.8.7/aix-thread-multi-64all /home/username/perl/lib/site_perl/5.8.7 /home/username/perl/lib/site_perl . ---------------end ---------------------- ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs |