Has anyone successfully installed DBD on AIX 4.2.1?
I've been trying unsuccessfully for 4 days installing DBD..  I've successfully installed Perl 5.8.0, DBI 1.30, libwww-perl-5.65, html tagset and parser, mime-base64-2.12.  I've done the obvious, like setting up the oracle environment for root, so that I get sqlplus to connect..  I've also put ORACLE_USERID in the environment file, and verified ORACLE_SID, ORACLE_HOME etc exist..   The version of DBD I'm trying to install is DBD-ORACLE-1.06.  I've tried to install version 1.12 unsuccessfully, and decided to stick with version 1.06 because that is the furthest I've gotten.  I've attached an output file of the whole process from Makefile.PL through make test ..
The messages generated when running make test are not enough to figure out what's wrong.. even when setting TEST_VERBOSE to 1.  I would appreciate it if someone could atleast point me in the general direction of what I should pursue next.. I'm running out of ideas.. have even tried doing the static link thing to no avail..
Thanks for any help..
 
Using DBI 1.30 installed in /usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!
        Especially if you have any problems.

Using Oracle in /usr/oracle
Found /usr/oracle/rdbms/demo/demo_rdbms.mk
Found /usr/oracle/otrace/demo/atmoci.mk
Found /usr/oracle/precomp/demo/proc/demo_proc.mk
Using /usr/oracle/rdbms/demo/demo_rdbms.mk
Reading /usr/oracle/rdbms/demo/demo_rdbms.mk.
Reading /usr/oracle/rdbms/lib/env_rdbms.mk.
Deleting ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
  because it is not already set in the environment
  and it can cause ORA-01019 errors.
Deleting ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
  because it is not already set in the environment
  and it can cause ORA-01019 errors.

Discovering Oracle OCI build rules...
Oracle oci build command:
                true /usr/oracle/bin/oraxlc  -L/usr/oracle/lib/ 
-L/usr/oracle/rdbms/lib -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh 

Found header files in rdbms/demo.


Warning: You will probably need to rebuild perl using the xlc_r compiler.
         You may also need do: ORACCENV='cc=xlc_r'; export ORACCENV
         Also see the README about the -p option

System: perl5.008 aix pdslib42 2 4 000042024900 
Compiler: cc -O -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 
-qnoansialias -I/usr/local/include
Linker:   /usr/bin/ld
Oracle makefiles would have used these definitions but we override them:
  CC:       $(ORACLE_HOME)/bin/oraxlc $(ORAXLCFLAGS)

  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS)\
        $(SHARED_CFLAG) $(USRFLAGS)
           [$(GFLAG) -O $(CDEBUG) $(QACCFLAGS) -I/usr/oracle/rdbms/demo 
-I/usr/oracle/rdbms/public -I/usr/oracle/plsql/public -I/usr/oracle/network/public 
$(SPFLAGS) $(LPFLAGS) $(USRFLAGS)]

  LDFLAGS:  -L$(LIBHOME) -L$(ORACLE_HOME)/rdbms/lib
           [-L$(LIBHOME) -L/usr/oracle/rdbms/lib]


Linking with OTHERLDFLAGS = -L/usr/oracle/lib/ -L/usr/oracle/rdbms/lib   -lclntsh  
[from 'build' rule]

Checking if your kit is complete...
Looks good

Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.

Using DBD::Oracle 1.06.
Using DBD::Oracle 1.06.
Using DBI 1.30 installed in /usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI
Writing Makefile for DBD::Oracle

***  If you have problems, read the README and README.help files   ***
     (Of course, you have read README by now anyway, haven't you?)


cp Oracle.pm blib/lib/DBD/Oracle.pm
cp oraperl.ph blib/lib/oraperl.ph
cp Oraperl.pm blib/lib/Oraperl.pm
        /usr/local/bin/perl -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" => 
"DBD::Oracle", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
        /usr/local/bin/perl -p -e "s/~DRIVER~/Oracle/g" < 
/usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI/Driver.xst > Oracle.xsi
        /usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap  Oracle.xs > Oracle.xsc && mv Oracle.xsc 
Oracle.c
        cc -c  -I/usr/oracle/rdbms/demo -I/usr/oracle/rdbms/public 
-I/usr/oracle/plsql/public -I/usr/oracle/network/public -I/usr/oracle/rdbms/demo 
-I/usr/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI  
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias 
-I/usr/local/include -O    -DVERSION=\"1.06\"  -DXS_VERSION=\"1.06\"  
"-I/usr/local/lib/perl5/5.8.0/aix/CORE"   Oracle.c
        cc -c  -I/usr/oracle/rdbms/demo -I/usr/oracle/rdbms/public 
-I/usr/oracle/plsql/public -I/usr/oracle/network/public -I/usr/oracle/rdbms/demo 
-I/usr/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI  
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias 
-I/usr/local/include -O    -DVERSION=\"1.06\"  -DXS_VERSION=\"1.06\"  
"-I/usr/local/lib/perl5/5.8.0/aix/CORE"   dbdimp.c
        cc -c  -I/usr/oracle/rdbms/demo -I/usr/oracle/rdbms/public 
-I/usr/oracle/plsql/public -I/usr/oracle/network/public -I/usr/oracle/rdbms/demo 
-I/usr/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI  
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias 
-I/usr/local/include -O    -DVERSION=\"1.06\"  -DXS_VERSION=\"1.06\"  
"-I/usr/local/lib/perl5/5.8.0/aix/CORE"   oci7.c
        cc -c  -I/usr/oracle/rdbms/demo -I/usr/oracle/rdbms/public 
-I/usr/oracle/plsql/public -I/usr/oracle/network/public -I/usr/oracle/rdbms/demo 
-I/usr/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/5.8.0/aix/auto/DBI  
-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias 
-I/usr/local/include -O    -DVERSION=\"1.06\"  -DXS_VERSION=\"1.06\"  
"-I/usr/local/lib/perl5/5.8.0/aix/CORE"   oci8.c
Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
        rm -f blib/arch/auto/DBD/Oracle/Oracle.so
        LD_RUN_PATH="" ld  -bhalt:4 -bM:SRE 
-bI:/usr/local/lib/perl5/5.8.0/aix/CORE/perl.exp -bE:Oracle.exp -bnoentry -lc 
-L/usr/local/lib Oracle.o  dbdimp.o  oci7.o  oci8.o -L/usr/oracle/lib/ 
-L/usr/oracle/rdbms/lib   -lclntsh  -o blib/arch/auto/DBD/Oracle/Oracle.so     
        chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
        cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs
        chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
        /usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" ora_explain.PL ora_explain
Extracted ora_explain from ora_explain.PL with variable substitutions.
        cp ora_explain blib/script/ora_explain
        /usr/local/bin/perl "-MExtUtils::MY"  -e "MY->fixin(shift)" 
blib/script/ora_explain
Manifying blib/man3/DBD::Oracle.3
Manifying blib/man1/ora_explain.1
Manifying blib/man3/DBD::Oraperl.3
Target "makemakerdflt" is up to date.
        PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base.......ok
t/general....dubious
        Test returned status -1 (wstat 132, 0x84)
t/long.......dubious
        Test returned status -1 (wstat 132, 0x84)
t/plsql......dubious
        Test returned status -1 (wstat 132, 0x84)
t/reauth.....skipped
        all skipped: no reason given
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/general.t   -1   132    ??   ??       %  ??
t/long.t      -1   132    ??   ??       %  ??
t/plsql.t     -1   132    ??   ??       %  ??
1 test skipped.

Reply via email to