Thanks for 1.08, which indeed solves working on Ora-7 again.

One of the warnings issued by Makefile.PL is:

--8<---
Warning: Oracle is built with multi-threading libraries
         You will most likely need to rebuild perl from sources
         with the following libraries: -lcl -lpthread
Warning: perl was not built with +z in ccflags
         You may need to rebuild perl from sources
         See instructions in README.hpux
-->8---

From the note I've stuck to my DBD::Oracle entry in the spreadsheet I maintain
for my modules, I've written:
--8<---
remove '-lcl' args from the makefile, they conflict with the correct working 
'-l:libcl.a'
-->8---

So what I've done:

# gzip -d < DBD-Oracle-1.08.tar.gz | tar xvf -
# cd DBD-Oracle-1.08
# perl Makefile.PL
:
# perl -pi -e 's/ -lcl\b//g' Makefile
# make
:
# make test
:
# make install

And it all works

Here's (part of) the Makefile.PL output:

lep l1:/pro/3gl/CPAN/DBD-Oracle-1.08 117 > perl *PL
Using DBI 1.19 installed in /pro/lib/perl5/site_perl/5.6.1/PA-RISC2.0/auto/DBI

 Configuring DBD::Oracle ...

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

Using Oracle in /pro/oracle/v7341
7.3.4.1.0            Oracle Common RDBMS Libraries and Utilities
7.3.4.1.0            ORACLE PL/SQL Libraries
7.3.4.1.0            ORACLE Common Precomp Libraries
2.3.4.1.0            PL/SQL V2
7.3.4.1.0            Oracle7 Server (RDBMS)
7.3.4.0.0            Precomp
2.2.4.0.0            Pro*C

Found header files in rdbms/demo.
Found /pro/oracle/v7341/rdbms/demo/oracle.mk
Found /pro/oracle/v7341/otrace/demo/atmoci.mk
Found /pro/oracle/v7341/precomp/demo/proc/proc.mk
Using /pro/oracle/v7341/rdbms/demo/oracle.mk
Reading /pro/oracle/v7341/rdbms/demo/oracle.mk.
Reading /pro/oracle/v7341/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.
Evaluating `cat /pro/oracle/v7341/rdbms/lib/sysliblist`
  returned '-l:libcma.sl -lcl -lm -l:libcl.a'

Discovering Oracle OCI build rules...
Oracle oci build command:
        cc -L/pro/oracle/v7341/lib -L/pro/oracle/v7341/rdbms/lib -o DBD_ORA_EXE 
DBD_ORA_OBJ.o /pro/oracle/v7341/lib/libclient.a -lsqlnet -lncr -lsqlnet -lclient 
-lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 
-lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -l:libcma.sl -lcl -lm -l:libcl.a -lm 
-lcore3 -l:libcma.sl -lcl -lm -l:libcl.a -L/usr/lib

Warning: Oracle is built with multi-threading libraries
         You will most likely need to rebuild perl from sources
         with the following libraries: -lcl -lpthread
Warning: perl was not built with +z in ccflags
         You may need to rebuild perl from sources
         See instructions in README.hpux
***
*** Warning: If you have trouble, see README.hpux...
    you may have to build your own perl, or go hunting for libraries
***

System: perl5.006001 hp-ux l1 b.11.00 u 9000800 527706567 unlimited-user license

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 628 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
     WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/

Reply via email to