I'm building DBI 1.20 on a Bull Escala server.  This process works fine on
other similar systems, but is failing the tests on this particular server.  
As this server is running Oracle 8.1.7, I presume I need to build the Oracle
DBD as well on this server, which I'm sure will fail too.
The perl distribution is the manufacturer's :- 5.00503

The process and results are :-


perl Makefile.PL LIB=~/perl/lib
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.

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/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.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 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 lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp DBI.pm blib/lib/DBI.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
        cc -c  -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-O     -DVERSION=\"1.20\"  -DXS_VERSION=\"1.20\"
-I/usr/opt/perl5/lib/5.00503/aix/CORE -DDBI_NO_THREADS Perl.c
"dbipport.h", line 43.43: 1506-342 (W) "/*" detected in comment.
        /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
        cc -c  -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
-O     -DVERSION=\"1.20\"  -DXS_VERSION=\"1.20\"
-I/usr/opt/perl5/lib/5.00503/aix/CORE -DDBI_NO_THREADS DBI.c
"dbipport.h", line 43.43: 1506-342 (W) "/*" detected in comment.
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.

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 189
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 189.
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 189
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 189.
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 189
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 189.
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 189
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 189.
BEGIN failed--compilation aborted at t/meta.t line 17.
dubious
        Test returned status 2 (wstat 512, 0x200)
t/preparse..........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 189
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 189.
BEGIN failed--compilation aborted at t/preparse.t line 3.
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 189
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 189.
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 189
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 189.
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 189
BEGIN failed--compilation aborted at blib/lib/DBI.pm line 189.
BEGIN failed--compilation aborted at t/subclass.t line 63.
dubious
        Test returned status 2 (wstat 512, 0x200)
FAILED--8 test scripts could be run, alas--no output ever seen
make: 1254-004 The error code from the last command is 2.


Stop.


----------------------------------------------------------------------------
------------------

Checking  /usr/opt/perl5/lib/5.00503/aix/DynaLoader.pm line 169 tells me
that the error may be due to 
"..........Often these errors are actually occurring in the initialisation
C code of the extension XS file. Perl reports the error as being ..........
")
However the c compiler appears to be the same version as that of a server
where everything works fine. - using strings on cc I find "|5/2/96 xlC 3.1
1.69" on both systems.

Thanks, Mark.


> Mark Buckle, Database Administrator, Implementation - Intech Solutions
> DDI: 0113 2206766 Fax:0113 2444201
> Email:[EMAIL PROTECTED]
> Website:http://www.intechsolutions.co.uk/
> 
> 
> 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************

Reply via email to