Hi all,

I am having great difficulty in getting DBI installed on an AIX 4.3 box. 
Basically the Makefile.PL works great, Makefile works fine, but make test 
returns a load of "No such file or directory errors." from DynaLoader.PM.

Details below - errors in the make test section

Can anyone help me out with this?

Many Thanks

Paul

/home/scottp/perl/DBI-1.15 465$ perl -v

This is perl, version 5.005_03 built for aix

Copyright 1987-1999, 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.0 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.com/, the Perl Home Page.

/home/scottp/perl/DBI-1.15 466$




/home/scottp/perl/DBI-1.15 458$ perl Makefile.PL
*** Note:
    The optional PlRPC-modules (RPC::PlServer etc) are not installed.
    If you want to use the DBD::Proxy driver and DBI::ProxyServer
    modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
    Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
    You can install them any time after installing the DBI.
    You do *not* need these modules for typical DBI usage.

Optional modules are available from any CPAN mirror, in particular
    http://www.perl.com/CPAN/modules/by-module
    http://www.perl.org/CPAN/modules/by-module
    ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module

Checking if your kit is complete...
Looks good
Writing Makefile for DBI

    Remember to actually *read* the README file!
    Use  'make' to build the software (dmake or nmake on Windows).
    Then 'make test' to execute self tests.
    Then 'make install' to install the DBI and then delete this working
    directory before unpacking and building any DBD::* drivers.

/home/scottp/perl/DBI-1.15 459$



/home/scottp/perl/DBI-1.15 461$ make
mkdir blib
mkdir blib/lib
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBD/Multiplex.pm blib/lib/DBD/Multiplex.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp DBI.pm blib/lib/DBI.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBD/ADO.pm blib/lib/DBD/ADO.pm
        /usr/bin/perl "-I/usr/opt/perl5/lib/5.00503/aix" 
"-I/usr/opt/perl5/lib/5.00503" -e 'use ExtUtils::Mksymlists;  
Mksymlists("NAME" => "DBI", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" 
=> []);'
        /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < 
blib/arch/auto/DBI/Driver.xst > Perl.xsi
        /usr/bin/perl -I/usr/opt/perl5/lib/5.00503/aix 
-I/usr/opt/perl5/lib/5.00503 /usr/opt/perl5/lib/5.00503/ExtUtils/xsubpp  
-typemap /usr/opt/perl5/lib/5.00503/ExtUtils/typemap Perl.xs >xstmp.c && mv 
xstmp.c Perl.c
        gcc -c  -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE  -O     
-DVERSION=\"1.15\"  -DXS_VERSION=\"1.15\"  
-I/usr/opt/perl5/lib/5.00503/aix/CORE -DDBI_NO_THREADS Perl.c
        /usr/bin/perl -I/usr/opt/perl5/lib/5.00503/aix 
-I/usr/opt/perl5/lib/5.00503 /usr/opt/perl5/lib/5.00503/ExtUtils/xsubpp  
-typemap /usr/opt/perl5/lib/5.00503/ExtUtils/typemap DBI.xs >xstmp.c && mv 
xstmp.c DBI.c
        gcc -c  -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE  -O     
-DVERSION=\"1.15\"  -DXS_VERSION=\"1.15\"  
-I/usr/opt/perl5/lib/5.00503/aix/CORE -DDBI_NO_THREADS DBI.c
Running Mkbootstrap for DBI ()
        chmod 644 DBI.bs
        LD_RUN_PATH="" ld -o blib/arch/auto/DBI/DBI.so  -bhalt:4 -bM:SRE 
-bI:/usr/opt/perl5/lib/5.00503/aix/CORE/perl.exp -bE:DBI.exp -b noentry -lc 
DBI.o
        chmod 755 blib/arch/auto/DBI/DBI.so
        cp DBI.bs blib/arch/auto/DBI/DBI.bs
        chmod 644 blib/arch/auto/DBI/DBI.bs
mkdir blib/lib/auto/DBI
        /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/opt/perl5/lib/5.00503/aix -I/usr/opt/perl5/lib/5.00503 dbiproxy.PL 
dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
mkdir blib/script
        cp dbiproxy blib/script/dbiproxy
        /usr/bin/perl -I/usr/opt/perl5/lib/5.00503/aix 
-I/usr/opt/perl5/lib/5.00503 -MExtUtils::MakeMaker  -e "MY->fixin(shift)" 
blib/script/dbiproxy
        /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/opt/perl5/lib/5.00503/aix -I/usr/opt/perl5/lib/5.00503 dbish.PL dbish
Extracted dbish from dbish.PL with variable substitutions.
        cp dbish blib/script/dbish
        /usr/bin/perl -I/usr/opt/perl5/lib/5.00503/aix 
-I/usr/opt/perl5/lib/5.00503 -MExtUtils::MakeMaker  -e "MY->fixin(shift)" 
blib/script/dbish
Target "makemakerdflt" is up to date.
/home/scottp/perl/DBI-1.15 462$




/home/scottp/perl/DBI-1.15 463$ make test
        PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/opt/perl5/lib/5.00503/aix -I/usr/opt/perl5/lib/5.00503 -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/basics............Can't load 'blib/arch/auto/DBI/DBI.so' for module DBI: 
dlopen: blib/arch/auto/DBI/DBI.so: A file or directory in the path name does 
not exist. at /usr/opt/perl5/lib/5.00503/aix/DynaLoader.pm line 169.

at blib/lib/DBI.pm line 180
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 180.
BEGIN failed--compilation aborted at t/basics.t line 17.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/dbidrv............Can't load 'blib/arch/auto/DBI/DBI.so' for module DBI: 
dlopen: blib/arch/auto/DBI/DBI.so: A file or directory in the path name does 
not exist. at /usr/opt/perl5/lib/5.00503/aix/DynaLoader.pm line 169.

at blib/lib/DBI.pm line 180
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 180.
BEGIN failed--compilation aborted at t/dbidrv.t line 2.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/examp.............Can't load 'blib/arch/auto/DBI/DBI.so' for module DBI: 
dlopen: blib/arch/auto/DBI/DBI.so: A file or directory in the path name does 
not exist. at /usr/opt/perl5/lib/5.00503/aix/DynaLoader.pm line 169.

at blib/lib/DBI.pm line 180
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 180.
BEGIN failed--compilation aborted at t/examp.t line 4.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/meta..............Can't load 'blib/arch/auto/DBI/DBI.so' for module DBI: 
dlopen: blib/arch/auto/DBI/DBI.so: A file or directory in the path name does 
not exist. at /usr/opt/perl5/lib/5.00503/aix/DynaLoader.pm line 169.

at blib/lib/DBI.pm line 180
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 180.
BEGIN failed--compilation aborted at t/meta.t line 17.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/proxy.............Can't load 'blib/arch/auto/DBI/DBI.so' for module DBI: 
dlopen: blib/arch/auto/DBI/DBI.so: A file or directory in the path name does 
not exist. at /usr/opt/perl5/lib/5.00503/aix/DynaLoader.pm line 169.

at blib/lib/DBI.pm line 180
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 180.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/shell.............Can't load 'blib/arch/auto/DBI/DBI.so' for module DBI: 
dlopen: blib/arch/auto/DBI/DBI.so: A file or directory in the path name does 
not exist. at /usr/opt/perl5/lib/5.00503/aix/DynaLoader.pm line 169.

at blib/lib/DBI.pm line 180
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 180.
BEGIN failed--compilation aborted at blib/lib/DBI/Shell.pm line 74.
BEGIN failed--compilation aborted at t/shell.t line 29.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/subclass..........Can't load 'blib/arch/auto/DBI/DBI.so' for module DBI: 
dlopen: blib/arch/auto/DBI/DBI.so: A file or directory in the path name does 
not exist. at /usr/opt/perl5/lib/5.00503/aix/DynaLoader.pm line 169.

at blib/lib/DBI.pm line 180
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 180.
BEGIN failed--compilation aborted at t/subclass.t line 63.
dubious
        Test returned status 2 (wstat 512, 0x200)
FAILED--7 test scripts could be run, alas--no output ever seen
make: 1254-004 The error code from the last command is 2.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to