Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01658-0@oink>;
          Sat, 30 Mar 1996 01:29:46 +0000
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828148585:24892:1; Sat, 30 Mar 96 01:16:25 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23941; 30 Mar 96 1:15 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA07113 for dbi-users-real; Fri, 29 Mar 1996 17:07:32 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id RAA07024 
          for <dbi-users@fugue.com>; Fri, 29 Mar 1996 17:07:27 -0800
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ba25554; 30 Mar 96 1:10 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa13180; 30 Mar 96 1:03 GMT
Received: from toad by oink with SMTP (PP) id <01481-0@oink>;
          Sat, 30 Mar 1996 00:52:49 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27143;
          Sat, 30 Mar 1996 00:52:31 +0000
Date: Sat, 30 Mar 1996 00:52:31 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9603300052.AA27143@toad.ig.co.uk>
To: dbi-users@fugue.com, adoles@bloodstone.cary.mci.net
Subject: Re: Installing DBD (fwd)
Cc: adoles@mci.net
X-Sun-Charset: US-ASCII
content-length: 1226
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Andre Doles <adoles@bloodstone.cary.mci.net>
> 
> Hi, I'm having a hard time compiling DBD on my system.
> 
> Perl5.002 and DBI-0.68 tested and installed fine.
> I'm running on a Sun Sparc 20, 320M Ram, Solaris 2.4, Oracle 7.1.3.
> I've read the README file a zillion times [...]

Umm, sadly the section describing what information to include in a
problem report doesn't seem to have registered ;-)
Please send the requested information.

> When compiling the Makefile.PL, I use the -m flag to point to
> the above oracle.mk.

Why did you need to do that? Is Pro*C not installed? The Makefile.PL
is designed to use the proc.mk file. The oracle.mk usually works but
might not.

This is the magic in Makefile.PL that's supposed to do the right thing:

    $edit{COMPOBJS} = q{
        # Change the COMPOBJS line. (Some files use LIBHOME not COMPOBJ)
        # old: $(COMPOBJ)/crti.o $(COMPOBJ)/crt1.o $(COMPOBJ)/__fstd.o
        # new: $(COMPOBJ)/__fstd.o
        s:\$\S+?/crt[1in]\.o\b::g;
    } if $Config{osname} eq 'solaris'; # and $Config{gccversion};

Note that COMPOBJ is $ORACLE_HOME/lib (not $ORACLE_HOME/rdbms/lib).
Try playing with this (like commenting out the substitution).
Let me know how it goes.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02323-6@oink>;
          Sat, 30 Mar 1996 04:29:10 +0000
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828155505:14715:2; Sat, 30 Mar 96 03:11:45 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14647; 30 Mar 96 3:11 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA27966 for dbi-users-real; Fri, 29 Mar 1996 18:48:42 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from underground.net (dazed.boxtop.com [204.119.208.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id SAA27927 
          for <dbi-users@fugue.com>; Fri, 29 Mar 1996 18:48:40 -0800
Received: from [204.119.208.44] by underground.net with smtp id m0u2pj2-001ee7C;
          ( Smail #1) for <dbi-users@fugue.com>; Fri, 29 Mar 96 18:52 PST
Date: Fri, 29 Mar 96 17:45 PST
X-Sender: fred@mail.boxtop.com (Unverified)
Message-Id: <v01540b00ad81d20241a3@[204.119.208.44]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Tim Bunce <Tim.Bunce@ig.co.uk>
From: fred@boxtop.com (Fred Kleindenst)
Subject: Re: Q: compiling DBD 0.27 on IRIX 5.3
Cc: dbi-users@fugue.com

I am new to the list, thanks for reanswering this FAQ.

I am up and running now...

> From: fred@boxtop.com (Fred Kleindenst)
>>
>> cfe: Error: dbdimp.c, line 811: Incompatible pointer type assignment
>>(3.3.16.1,
>> 3.5.4.1(21))
>>      safefree(imp_sth->fbh);
>>  --------------------^
>
>As mentioned only a few days ago: s/safefree/Safefree/gm.
>
>Tim.

-- Fred Kleindenst             \
-- Systems Administrator        \             fred@boxtop.com
-- Boxtop Interactive            \


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07650-12@oink>;
          Mon, 1 Apr 1996 07:09:45 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828186119:06014:2; Sat, 30 Mar 96 11:41:59 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05927; 30 Mar 96 11:41 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA11058 for dbi-users-real; Sat, 30 Mar 1996 03:32:12 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA10983 
          for <dbi-users@fugue.com>; Sat, 30 Mar 1996 03:32:08 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id LAA09335; Sat, 30 Mar 1996 11:28:07 GMT
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199603301128.LAA09335@fruitbat.mcqueen.com>
Subject: Re: Installing DBD (fwd)
To: adoles@bloodstone.cary.mci.net (Andre Doles)
Date: Sat, 30 Mar 1996 11:28:06 +0000 (GMT)
Cc: dbi-users@fugue.com, adoles@mci.net
In-Reply-To: <Pine.SOL.3.91.960329170509.24832d-100000@bloodstone.cary.mci.net> from "Andre Doles" at Mar 29, 96 05:23:38 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1174


> What does the below error message mean?  How can I get DBD
> compiled?  Help appreciated as I'm extrememly anxious to get this working!
> 
> Thanks in advance.  
> 
> 	Andre'
> -- 
> /web/oracle/lib/libcore.a(ldtpme.o)
> lippnmr                             0x1ec
> /web/oracle/lib/libnlsrtl.a(lipp.o)
> __cg92_used                         0x0
> /web/oracle/lib/libcore.a(lstrrj.o)
> __cg92_used                         0x0
> /web/oracle/lib/libcore.a(lmfb24.o)
> __cg92_used                         0x0
> /web/oracle/lib/libcore.a(lmf42b.o)
> ld: fatal: relocations remain against allocatable but non-writable
> sections
> *** Error code 1
> make: Fatal error: Command failed for target
> `blib/arch/auto/DBD/Oracle/Oracle.so'

If you're compiling Oracle applications with gcc on Solaris you need to
link with a file called $ORACLE_HOME/lib/__fstd.o. If you compile with the
SparcWorks compiler you need to add the command line option on -xcg92
to resolve these symbol problems cleanly.

Regards.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07711-34@oink>;
          Mon, 1 Apr 1996 07:18:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828329997:24366:2; Mon, 01 Apr 96 04:39:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24252; 1 Apr 96 4:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA23493 for dbi-users-real; Sun, 31 Mar 1996 19:19:09 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mimos.my (mimos.my [192.228.128.18]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA23248 
          for <dbi-users@fugue.com>; Sun, 31 Mar 1996 19:18:56 -0800
Received: from ms.mimos.my (ms.mimos.my [192.228.129.33]) 
          by mimos.my (8.7.1/8.7.1) with SMTP id LAA29810 
          for <dbi-users@fugue.com>; Mon, 1 Apr 1996 11:23:10 +0800 (MYT)
Received: by ms.mimos.my (5.64/7.0) id AA08671; Mon, 1 Apr 96 11:23:08 +0800
Date: Mon, 1 Apr 1996 11:23:08 +0800
From: Zarina Musa <zarina@ms.mimos.my>
To: dbi-users@fugue.com
Subject: Oraperl build problem on Sun
Message-Id: <Pine.CVX.3.91.960401110930.8331A-100000@ms.mimos.my>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello...,
	I'm trying to build Oraperl on SunOS 4.1.4 I keep having
this error when running make. I'm not sure which libraries it didn't
find...whether it's oraperl's, perl's, oracle's or SunOS's itself.
Can anybody look at the build message below and give suggestions? Any 
pointers will be greatly appreciated.

Thanx in advance.
Below is the build message....
 
/usr/local/perl-4.036/usub/mus oracle.mus >oracle.c
cc -Idbug -I/usr/local/perl-4.036         -g  -target sun4 -c  oracle.c
cc -Idbug -I/usr/local/perl-4.036         -g  -target sun4 -c  orafns.c
"orafns.c", line 106: warning: illegal combination of pointer and 
integer, op =
cc -Idbug -I/usr/local/perl-4.036         -g  -target sun4 -c  getcursor.c
"getcursor.c", line 166: warning: illegal combination of pointer and 
integer, o=
cc -Idbug -I/usr/local/perl-4.036         -g  -target sun4 -c  colons.c
cc -Idbug -I/usr/local/perl-4.036         -g  -target sun4 -c  debug.c
cc -Idbug -I/usr/local/perl-4.036         -g  -target sun4 -c  strtoul.c
cc -Idbug -I/usr/local/perl-4.036         -g  -target sun4 -c  usersub.c
cc -Bdynamic -L/home/oracle/orahome/lib -o oraperl 
/usr/local/perl-4.036/uperl.
      -lm /home/oracle/orahome/lib/libocic.a 
/home/oracle/orahome/lib/osntab.o x
ld: Undefined symbol
   _lxclas
   _lxhcrenv
   _lxlsaved
   _lmsagbf
   _ldxsto
   _lnxscn
   _lmxehtl
   _lnxren
   _lxhcsn
   _lxhcurrlangid
   _lxiskip
   _lxicms
   _slctbev
   _lxmdigx
   _lxncml
   _lxisch
   _lmsacin
   _ldxini
   _lxwlowx
   _lxmctex
   _ldxdts
   _lmxeecb
   _orax_sprintf
   _lxmfwdx
   _lxwdigx
   _lxgpth
   _lxwc2mx
   _lxwctex
   _lxmalpx
   _lxmcpen
   _ss_mxmove
   _lxhci2h
   _lxmr2w
   _lmsaip
   _lxdobl
   _lxgrls
   _lxrcop
   _lxmopen
   _lcmup
   _lxwalpx
   _lxmspax
   _lxmcpcx
   _lcmlcomp
   _sslcsig
   _lmxegks
   _lxlinit
   _lxmnceq
   _lxlterm
   _lxgratio
   _lxrcpu
   _lxhlinfo
   _sldxgd
   _lxwspax
   _lnxnur
   _lmsacbn
   _lxntrn
   _lxgcnv
   _lcslcomp
   _lxmpuc
   _lxmc2wx
   _lxhmupr
   _lxgncc
   _lxinitc
   _lxwc2ux
   _lmxepw
   _lxicml
   _orax_vsprintf
   _lxgstm
   _lmsatrm
   _lcmlo *** Error code 2 make: Fatal error: Command failed for target
`oraperl



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07650-53@oink>;
          Mon, 1 Apr 1996 07:19:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828338337:21384:2; Mon, 01 Apr 96 06:58:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21242; 1 Apr 96 6:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA17138 for dbi-users-real; Sun, 31 Mar 1996 21:51:35 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailgw.claircom.com (mailgw.claircom.com [199.5.241.51]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id VAA17109 
          for <dbi-users@fugue.com>; Sun, 31 Mar 1996 21:51:33 -0800
Received: from nimo.claircom.com by mailgw.claircom.com 
          with smtp (Smail3.1.26.7 #2) id m0u3car-0004weC;
          Sun, 31 Mar 96 21:55 PST
Received: from airone.claircom.com by nimo.claircom.com 
          with smtp (Smail3.1.26.7 #2) id m0u3car-0005UDC;
          Sun, 31 Mar 96 21:55 PST
Received: from soc4.airone.claircom.com by airone.claircom.com (5.x/SMI-SVR4) 
          id AA14223; Sun, 31 Mar 1996 21:55:56 -0800
Received: from soc4 (localhost) by soc4.airone.claircom.com (4.1/SMI-4.1) 
          id AA02819; Sun, 31 Mar 96 21:53:27 PST
Message-Id: <315F6F56.ABD322C@airone.claircom.com>
Date: Sun, 31 Mar 1996 21:53:26 -0800
From: William Warner <billw@airone.claircom.com>
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
Mime-Version: 1.0
To: Alligator Descartes <descarte@hermetica.com>, stephen.zander@mckesson.com
Cc: Andre Doles <adoles@bloodstone.cary.mci.net>, dbi-users@fugue.com, 
    adoles@mci.net
Subject: Re: Installing DBD (fwd)
References: <199603301128.LAA09335@fruitbat.mcqueen.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Are both the following correct?

> adoles@mci.net wrote
> > What does the below error message mean? 
> > /web/oracle/lib/libnlsrtl.a(lipp.o)
> > __cg92_used                         0x0
> adoles@mci.net wrote
> > /web/oracle/lib/libcore.a(lstrrj.o)
> > __cg92_used                         0x0
> > /web/oracle/lib/libcore.a(lmfb24.o)
> > __cg92_used                         0x0
> > /web/oracle/lib/libcore.a(lmf42b.o)
> > ld: fatal: relocations remain against allocatable but non-writable
> > sections
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `blib/arch/auto/DBD/Oracle/Oracle.so'

Alligator Descartes wrote:
> 
> If you're compiling Oracle applications with gcc on Solaris you need to
> link with a file called $ORACLE_HOME/lib/__fstd.o. If you compile with the
> SparcWorks compiler you need to add the command line option on -xcg92
> to resolve these symbol problems cleanly.
> 

but stephen.zander@mckesson.com wrote:
>
> This is probably due to there being non-relocatable code in libcore.a.
> Two possible fixes
> 
> 1. Build perl with DBD-Oracle statically linked in.  That is
> 
>         make perl
> 
> in the top level source directory for the DBD-Oracle code.
> 
> 2. Upgrade Oracle.  7.1.4 should fix this for you, however I suggest you
> check with Oracle support.

-- 
   William Warner                        billw@airone.claircom.com
   work: 206-389-8210                       portable: 206-915-1157
   page: 206-986-0399
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11634-19@oink>;
          Mon, 1 Apr 1996 17:09:21 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828367964:27147:0; Mon, 01 Apr 96 15:12:44 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa26697; 1 Apr 96 15:11 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa14345; 1 Apr 96 15:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA03442 for dbi-users-real; Mon, 1 Apr 1996 06:02:23 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA03348 
          for <dbi-users@fugue.com>; Mon, 1 Apr 1996 06:02:18 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id OAA22849; Mon, 1 Apr 1996 14:27:23 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604011327.OAA22849@fruitbat.mcqueen.com>
Subject: Re: Installing DBD (fwd)
To: William Warner <billw@airone.claircom.com>
Date: Mon, 1 Apr 1996 14:27:21 +0100 (BST)
Cc: descarte@hermetica.com, stephen.zander@mckesson.com, 
    adoles@bloodstone.cary.mci.net, dbi-users@fugue.com, adoles@mci.net
In-Reply-To: <315F6F56.ABD322C@airone.claircom.com> from "William Warner" at Mar 31, 96 09:53:26 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1365


> Are both the following correct?
> 
> > adoles@mci.net wrote
> > > What does the below error message mean? 
> > > /web/oracle/lib/libnlsrtl.a(lipp.o)
> > > __cg92_used                         0x0
> > adoles@mci.net wrote
> > > /web/oracle/lib/libcore.a(lstrrj.o)
> > > __cg92_used                         0x0
> > > /web/oracle/lib/libcore.a(lmfb24.o)
> > > __cg92_used                         0x0
> > > /web/oracle/lib/libcore.a(lmf42b.o)
> > > ld: fatal: relocations remain against allocatable but non-writable
> > > sections
> > > *** Error code 1
> > > make: Fatal error: Command failed for target
> > > `blib/arch/auto/DBD/Oracle/Oracle.so'
> 
> Alligator Descartes wrote:
> > 
> > If you're compiling Oracle applications with gcc on Solaris you need to
> > link with a file called $ORACLE_HOME/lib/__fstd.o. If you compile with the
> > SparcWorks compiler you need to add the command line option on -xcg92
> > to resolve these symbol problems cleanly.

Put it this way, in xdba I had exactly these problems when compiling Oracle
applications with gcc. Doing the above fixed it.

But basically, suck it and see. If one works who cares which one was right.
Post your results.

Regards.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12992-0@oink>;
          Mon, 1 Apr 1996 18:17:24 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828378793:25857:0; Mon, 01 Apr 96 18:13:13 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa25207; 1 Apr 96 18:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa16114; 1 Apr 96 18:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA18095 for dbi-users-real; Mon, 1 Apr 1996 08:54:26 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from isurus.marinelab.sarasota.fl.us (root@isurus.marinelab.sarasota.fl.us [204.199.126.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA18038 
          for <dbi-users@fugue.com>; Mon, 1 Apr 1996 08:54:23 -0800
Received: from mycteria.marinelab.sarasota.fl.us 
          by isurus.marinelab.sarasota.fl.us 
          with smtp (Linux Smail3.1.29.1 #3) id m0u3mw1-002NZKC;
          Mon, 1 Apr 96 11:58 EST
Date: Mon, 1 Apr 1996 13:14:51 -0500 (EST)
From: Don Hayward <don@marinelab.sarasota.fl.us>
To: dbi-users@fugue.com
Subject: mSQL problems
Message-ID: <Pine.LNX.3.92.960401124933.25221A-100000@mycteria.marinelab.sarasota.fl.us>
Read-Receipt-To: don@marinelab.sarasota.fl.us
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

This is a wierd situation and I regret imposing on your time, but I'm
currently clueless and would appreciate any help.

System:
Linux 1.3.60 ELF
gcc 2.7.2
libc 5.2.18
PERL 5.002
DBI 0.68
DBD-mSQL 0.60pl10
MiniSQL 1.0.9
MsqlPerl ??

I have several cgi scripts I've been using to query data from a msql
database using MsqlPerl.  I'm trying to move to DBI/DBD.  After
recompiling everything, all tests worked and I installed.  Now,
when I try to run either the old Msql scripts or similar scripts
converted to DBI the msqld either runs away or dies.  When it dies,
the DBI message is that the deamon went away, Msql provides no error
message at that point.  By runs away I mean it starts soaking up all
available cpu and never responds -- I can't even reach it through
msqladmin.  As I said, all tests work.  Also, I can make queries using
the msql command interface.  An old Msql script which does inserts also
seems to be working.

Thanks.

don

Don Hayward
Mote Marine Laboratory		don@marinelab.sarasota.fl.us
1600 Ken Thompson Parkway	Voice: 941.388.4441
Sarasota, FL 34236		Fax: 941.388.4312
We are an independent, non-profit, marine and estuarine
research and education facility.
require "disclaimer.pl"; # We run Linux
See: http://www.marinelab.sarasota.fl.us/
     http://www.marinelab.sarasota.fl.us/~don

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13160-2@oink>;
          Mon, 1 Apr 1996 18:49:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828380681:14860:3; Mon, 01 Apr 96 18:44:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14285; 1 Apr 96 18:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA06351 for dbi-users-real; Mon, 1 Apr 1996 09:37:32 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from isurus.marinelab.sarasota.fl.us (root@isurus.marinelab.sarasota.fl.us [204.199.126.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA06313 
          for <dbi-users@fugue.com>; Mon, 1 Apr 1996 09:37:30 -0800
Received: from mycteria.marinelab.sarasota.fl.us 
          by isurus.marinelab.sarasota.fl.us 
          with smtp (Linux Smail3.1.29.1 #3) id m0u3nc9-002NafC;
          Mon, 1 Apr 96 12:42 EST
Date: Mon, 1 Apr 1996 13:58:24 -0500 (EST)
From: Don Hayward <don@marinelab.sarasota.fl.us>
To: dbi-users@fugue.com
Subject: mSQL problems, II
Message-ID: <Pine.LNX.3.92.960401135233.25221B-100000@mycteria.marinelab.sarasota.fl.us>
Read-Receipt-To: don@marinelab.sarasota.fl.us
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

OK -- continuing the saga.

I just put the old, aout version of msqld back in place and everything
is working.  I'm now looking for a newer version of msqld with elf
modifications or appropriate patches.  Sorry to have troubled the list.

don

Don Hayward
Mote Marine Laboratory		don@marinelab.sarasota.fl.us
1600 Ken Thompson Parkway	Voice: 941.388.4441
Sarasota, FL 34236		Fax: 941.388.4312
We are an independent, non-profit, marine and estuarine
research and education facility.
require "disclaimer.pl"; # We run Linux
See: http://www.marinelab.sarasota.fl.us/
     http://www.marinelab.sarasota.fl.us/~don

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14925-2@oink>;
          Tue, 2 Apr 1996 07:06:03 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828394441:09650:3; Mon, 01 Apr 96 22:34:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa09093; 1 Apr 96 22:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA16705 for dbi-users-real; Mon, 1 Apr 1996 13:26:44 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from shellie.rmt.utk.edu (root@SHELLIE.RMT.UTK.EDU [128.169.24.29]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA16537 
          for <dbi-users@fugue.com>; Mon, 1 Apr 1996 13:26:35 -0800
Received: by shellie.rmt.utk.edu 
          id <m0u3rBJ-000Cn3C@shellie.rmt.utk.edu> (Debian /\oo/\ Smail3.1.29.1 #29.36);
          Mon, 1 Apr 96 16:30 EST
Date: Mon, 1 Apr 1996 16:30:33 -0500 (EST)
From: Joe Kirby <kirby@shellie.rmt.utk.edu>
To: dbi-users@fugue.com
cc: tim.bunce@ig.co.uk
Subject: DBI-0.68 problems
Message-ID: <Pine.LNX.3.91.960401162125.6719A-100000@shellie.rmt.utk.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

I suspect the following is a faq, but I haven't been able to find one, so 
here goes:

the test fail with complaints about "strict refs"

------ make realclean is run
------ output of "perl Makefile.PL"

    Remember to actually *read* the README file!

    Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.

    DO NOT build the DBI under the Perl source tree.

    Use 'make test' to execute self tests.

    Install DBI (using 'make install' before building DBD::* drivers.


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 old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.

MakeMaker (v5.18)
Checking if your kit is complete...
Looks good
Blessing Object into class [PACK001]
	NAME => 'DBI'
	VERSION_FROM => 'DBI.pm'
	clean => { FILES=>'$(DISTVNAME)/' }
	dist => { DIST_DEFAULT=>'clean distcheck disttest ci tardist', PREOP=>'$(MAKE) -f Makefile.old distdir' }
Defaulting INSTALLARCHLIB to $(PREFIX)/lib/perl5/i486-linux/5.002
Setting VERSION to 0.68
Using PERL=/bin/perl
Running: /bin/perl /usr/lib/perl5/ExtUtils/xsubpp -v 2>&1
Writing Makefile for DBI
|
----- output of "make"
|
umask 0 && cp DBIXS.h /DBI/DBIXS.h
umask 0 && cp lib/DBD/ExampleP.pm blib/DBD/ExampleP.pm
umask 0 && cp lib/DBD/NullP.pm blib/DBD/NullP.pm
umask 0 && cp lib/DBD/Sponge.pm blib/DBD/Sponge.pm
umask 0 && cp DBI.pm blib/DBI.pm
/bin/perl -I/usr/lib/perl5/i486-linux/5.002 -I/usr/lib/perl5 /usr/lib/perl5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c  -D__USE_BSD_SIGNAL -Dbool=char -DHAS_BOOL -I/usr/include/db -I/usr/local/include -O2 -fomit-frame-pointer -DVERSION=\"0.68\" -DXS_VERSION=\"0.68\" -fpic -I/usr/lib/perl5/i486-linux/5.002/CORE  DBI.c
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/i486-linux/auto/DBI/DBI.so -shared -L/usr/local/lib DBI.o     
chmod 755 blib/i486-linux/auto/DBI/DBI.so
cp DBI.bs ./blib/i486-linux/auto/DBI/DBI.bs
chmod 644 blib/i486-linux/auto/DBI/DBI.bs
|
----- output of "make test"
|
PERL_DL_NONLAZY=1 /bin/perl -I./blib/i486-linux -I./blib -I/usr/lib/perl5/i486-linux/5.002 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/min...............Can't use string ("ENV") as a HASH ref while "strict refs" in use at blib/DBI.pm line 29.
Can't use string ("DBI::dbi_debug") as a SCALAR ref while "strict refs" in use at blib/DBI.pm line 124.
END failed--cleanup aborted.
FAILED tests 1-12
	Failed 12/12 tests, 0.00% okay
	Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 12/12 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 29
|
----- output of "make test TEST_VERBOSE=1"
|
PERL_DL_NONLAZY=1 /bin/perl -I./blib/i486-linux -I./blib -I/usr/lib/perl5/i486-linux/5.002 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/min...............1..12
Can't use string ("ENV") as a HASH ref while "strict refs" in use at blib/DBI.pm line 29.
Can't use string ("DBI::dbi_debug") as a SCALAR ref while "strict refs" in use at blib/DBI.pm line 124.
END failed--cleanup aborted.
FAILED tests 1-12
	Failed 12/12 tests, 0.00% okay
	Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 12/12 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 29


------------
Joe Kirby  kirby@utk.edu (423)974-6616
LAN Engineering, 2339 Dunford, Knoxville, TN 37996
Public key on servers (ID 4E52298D) or finger kirby@shellie.rmt.utk.edu

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14924-3@oink>;
          Tue, 2 Apr 1996 07:06:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828392991:13317:0; Mon, 01 Apr 96 22:09:51 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa12635; 1 Apr 96 22:08 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa00206; 1 Apr 96 22:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA13217 for dbi-users-real; Mon, 1 Apr 1996 12:56:37 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from paloalto.access.hp.com (daemon@paloalto.access.hp.com [15.254.56.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA11678 
          for <dbi-users@fugue.com>; Mon, 1 Apr 1996 12:55:14 -0800
Received: from hpbs2245.boi.hp.com by paloalto.access.hp.com 
          with ESMTP (1.37.109.16/15.5+ECS 3.3) id AA243802367;
          Mon, 1 Apr 1996 12:59:27 -0800
Received: from localhost by hpbs2245.boi.hp.com with SMTP (1.37.109.15/16.2) 
          id AA273022321; Mon, 1 Apr 1996 13:58:41 -0700
Message-Id: <199604012058.AA273022321@hpbs2245.boi.hp.com>
To: dbi-users@fugue.com
Cc: makemaker@franz.ww.tu-berlin.de
Subject: DBD::Informix build on HP-UX
Date: Mon, 01 Apr 1996 13:58:41 -0700
From: Rodger Anderson <rodger@hpbs2245.boi.hp.com>

Folks;

[ I'm not sure whether this pertains more to MakeMaker or DBI/DBD, so
  I've sent to both. ] 

[ Using Perl 5.002, MakeMaker 5.25, DBI 0.68 and DBD::Informix 0.20pl0 ]

I'm attempting to build DBD/Informix-0.20pl0 on HP-UX (9.05, product
cc) and have a few comments.   First about Makefile.PL:

  After running "./build", "make" does this:

	  cc -c -I/usr/informix/include
  -I/usr/local/lib/perl5/PA-RISC1.1/5.002/DBI -D_HPUX_SOURCE -Aa
  -I/usr/local/include -O     -DVERSION=\"0.20pl0\"
  -DXS_VERSION=\"0.20pl0\" +z
  -I/usr/local/lib/perl5/PA-RISC1.1/5.002/CORE  Informix.c
  cpp: "Informix.h", line 5: error 4036: Can't open include file
  'DBIXS.h'.
  *** Error code 1

  Stop.

  The DBI (0.68) "make install" didn't install DBIXS.h, so I manually
  copied it to:

    /usr/local/lib/perl5/site_perl/PA-RISC1.1/DBI/DBIXS.h 

  as this seemed to be correct location.  So, I manually edited the
  generated Makefile in several places to fix this (INC and the
  command line for .ec.o).

  Then I find that our Informix include directory doesn't match the
  Makefile, so I change /usr/informix/include to /usr/informix/incl/esql
  (in two places).

All these changes should probably have been done in Makefile.PL.  I
suppose that with a little more effort on my part I could figure out
what I should have done.  I'm using MakeMaker 5.25.

The next problem appeared to be a typo in dbdimp.pec; readblob should
have been dbd_st_readblob:

*** dbdimp.pec~ Tue Oct 17 08:22:58 1995
--- dbdimp.pec  Mon Apr  1 12:48:03 1996
***************
*** 601,607 ****
  }

  SV *
! readblob(sth, field, offset, len, destsv)
      SV *sth;
      int field;
      long offset;
--- 601,607 ----
  }

  SV *
! dbd_st_readblob(sth, field, offset, len, destsv)
      SV *sth;
      int field;
      long offset;

OK, now I have a new perl binary with (static) DBD::Informix
compiled in; I run "make test":

	  PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
  -I/usr/local/lib/perl5/PA-RISC1.1/5.002 -I/usr/local/lib/perl5 test.pl
  install_driver(Informix) failed: DBD::Informix object version 0.20pl0
  does not match DBD::Informix.pm $VERSION 1.18  at
  blib/lib/DBD/Informix.pm line 18.
	  DBI::install_driver called at test.pl line 12
  *** Error code 2

  Stop.

Why don't the versions match?  Which is the correct version?

OK, I tried changing the makefile to use 1.18.  Still no-go:

  make test
	  PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
  -I/usr/local/lib/perl5/PA-RISC1.1/5.002 -I/usr/local/lib/perl5 test.pl
  install_driver(Informix) failed: DBD::Informix object version 1.18
  does not match DBD::Informix.pm $VERSION 1.18  at
  blib/lib/DBD/Informix.pm line 18.
	  DBI::install_driver called at test.pl line 12
  *** Error code 2

  Stop.
  zsh: exit 1     make test

Oh well.  Overall, I think I'm making progress.  I've been trying to
get Informix working with Perl for the last four months.  I would
really rather have a dynamic version of DBD::Informix, but I suspect
the reason it it statically linked has to do with the Informix ESQL/C
libraries.

Comments anyone?

Rodger
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15008-1@oink>;
          Tue, 2 Apr 1996 07:10:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828417530:16544:1; Tue, 02 Apr 96 04:58:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16201; 2 Apr 96 4:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA03963 for dbi-users-real; Mon, 1 Apr 1996 19:41:21 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bloodstone.cary.mci.net (bloodstone.Cary.mci.net [204.70.140.22]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA03938 
          for <dbi-users@fugue.com>; Mon, 1 Apr 1996 19:41:19 -0800
Received: (from adoles@localhost) by bloodstone.cary.mci.net (8.6.12/8.6.9) 
          id WAA04109; Mon, 1 Apr 1996 22:43:33 -0500
Date: Mon, 1 Apr 1996 22:43:33 -0500 (EST)
From: Andre Doles <adoles@bloodstone.cary.mci.net>
X-Sender: adoles@bloodstone.cary.mci.net
To: dbi-users@fugue.com
Subject: DBD Compilation Errors
Message-ID: <Pine.SOL.3.91.960401223943.24832k-100000@bloodstone.cary.mci.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Thanks to those who have responded.  Here is the latest greatest.
I feel, after 8 hrs of playing with it today, that I'm getting closer!
Again, I really appreciate everyone's contributions.

	Andre'

(DB/DBD-Oracle-0.28) bloodstone.cary.mci.net# make LD_RUN_PATH="/lib" cc
-o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o
dbdimp.o -L/web/oracle/lib /web/oracle/lib/crti.o /web/oracle/lib/crt1.o
/web/oracle/lib/__fstd.o /web/oracle/lib/libocic.a
/web/oracle/lib/osntab.o -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6
-lcore -lnlsrtl -lcv6 -lcore `cat /web/oracle/rdbms/lib/sysliblist` -lcore
-lsocket -lnsl -lm -ldl -laio -lc -ldbm -lucb ld: fatal: symbol `_fini' is
multiply defined: 
	(file /usr/local/opt/SUNWspro/SC3.0.1/lib/crti.o and file
/web/oracle/lib/crti.o);  ld: fatal: symbol `_init' is multiply defined: 
	(file /usr/local/opt/SUNWspro/SC3.0.1/lib/crti.o and file
/web/oracle/lib/crti.o);  ld: fatal: File processing errors.  No output
written to blib/arch/auto/DBD/Oracle/Oracle.so *** Error code 1
make: Fatal error: Command failed for target 
`blib/arch/auto/DBD/Oracle/Oracle.so



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15107-0@oink>;
          Tue, 2 Apr 1996 07:15:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828425407:16265:2; Tue, 02 Apr 96 07:10:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16107; 2 Apr 96 7:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA09827 for dbi-users-real; Mon, 1 Apr 1996 22:02:22 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dfw.dfw.net (root@dfw.dfw.net [198.175.15.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id WAA09762 
          for <dbi-users@fugue.com>; Mon, 1 Apr 1996 22:02:19 -0800
Received: from mok.stuph.com by dfw.dfw.net (4.1/SMI-4.1) id AA01074;
          Tue, 2 Apr 96 00:04:52 CST
Message-Id: <2.2.32.19960402054054.006f3288@dfw.dfw.net>
X-Sender: mwe@dfw.dfw.net
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 01 Apr 1996 23:40:54 -0600
To: dbi-users@fugue.com
From: T <mwe@dfw.net>
Subject: disconnect(DBI::db=HASH(0x80e12c4)) invalidates 1 associated cursor(s)

i'll be the first to admit i'm new to not only DBI/DBD/mSQL,
but to all the new Perl5 features as well, so just bear with me.
 (i'm probably only missing a single line someplace...)
 (and hey, i DID read all the DBI FAQs i could dig up.)

WHERE is this error message coming from, and HOW do i stop it?

This error seems to eat up memory if i open/close connections
over and over again... which is of course... a bad thing.

How do i correctly "recycle" cursor(s) and not lose memory?

i'm using what i believe are the newest/current versions.
perl(5.0002) mSQL(1.0.12) DBI(0.68) DBD-mSQL(.60pl10) Linux(1.3.13)


$./z2.pl 
row='TESTER1'
disconnect(DBI::db=HASH(0x80e12c4)) invalidates 1 associated cursor(s) at ./z2.p
l line 16.
Exited
$cat z2.pl
#!/usr/bin/perl -w

use DBI;

( $drh = DBI->install_driver( 'mSQL' ) ) or die;
( $dbh = $drh->connect( '', 'avs' ) ) or die;

( $cursor = $dbh->prepare( "SELECT name FROM main "
                                ."WHERE nick='t2'" ) ) or die;
( $cursor->execute ) or die;

( $row = $cursor->fetchrow ) or die;
print"row='$row'\n";

( $cursor->finish ) or die;
( $dbh->disconnect ) or die;  #line 16

print "Exited\n";exit;

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20646-0@oink>;
          Wed, 3 Apr 1996 07:05:47 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828503324:29893:2; Wed, 03 Apr 96 04:48:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29720; 3 Apr 96 4:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA00402 for dbi-users-real; Tue, 2 Apr 1996 19:26:51 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from qmgate.fnal.gov (qmgate.fnal.gov [131.225.9.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA00397 
          for <dbi-users@fugue.com>; Tue, 2 Apr 1996 19:26:45 -0800
Message-ID: <n1383641797.80973@qmgate.FNAL.GOV>
Date: 2 Apr 1996 08:40:41 -0600
From: Norman Ho <norman_ho@qmgate.fnal.gov>
Subject: Subject-- Question abou
To: DBI Users <dbi-users@fugue.com>
X-Mailer: Mail*Link SMTP-QM 3.0.2

                                           Norman Ho, MS 120, FermiLab
                                           708/840-2708 (o)
                                           708/840-2783 (fax)
                                           norman_ho@qmgate.fnal.gov
                                           ~{:NUqSn~}
 04/02/1996         8:35
 Subject:-     Question about Oraperl...

Hi there,
  Is it possible in using Oraperl that user could control SQL
transactions(like to be decided when to commit or rollback by user)? Any idea?
Thanks.
nho

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20646-31@oink>;
          Wed, 3 Apr 1996 07:09:47 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828503323:29902:1; Wed, 03 Apr 96 04:48:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29712; 3 Apr 96 4:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA00426 for dbi-users-real; Tue, 2 Apr 1996 19:35:11 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from solair1.inter.NL.net (solair1.inter.NL.net [193.78.240.13]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA00422 
          for <dbi-users@fugue.com>; Tue, 2 Apr 1996 19:35:09 -0800
Received: from utr97-18.Utrecht.NL.net 
          by solair1.inter.NL.net (5.65b/solair1.Inter.NL.net-1.31) id AA14709;
          Tue, 2 Apr 1996 19:14:43 +0200
X-Sender: pchen@solair1.inter.nl.net
Message-Id: <v01540b06ad8693f094d2@[193.79.253.48]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 2 Apr 1996 19:15:00 +0200
To: T <mwe@dfw.net>, dbi-users@fugue.com
From: petechen@math.rutgers.edu (Peter Chen)
Subject: Re: disconnect(DBI::db=HASH(0x80e12c4)) invalidates 1 associated 
         cursor(s)

At 11:40 PM 4/1/96, T wrote:
>i'll be the first to admit i'm new to not only DBI/DBD/mSQL,
>but to all the new Perl5 features as well, so just bear with me.
> (i'm probably only missing a single line someplace...)
> (and hey, i DID read all the DBI FAQs i could dig up.)
...
>i'm using what i believe are the newest/current versions.
>perl(5.0002) mSQL(1.0.12) DBI(0.68) DBD-mSQL(.60pl10) Linux(1.3.13)

I'm in the process of selecting a PD SQL database to run on Linux with
Apache as the Web server and Perl5 as the CGI.  I am hoping to find one
that's supported by DBI/DBD, or some kind of Perl wrapper, and perhaps ODBC
capable.  Any suggestion?  In particular, T, why did you choose mSQL at the
first place?  How about Postgress?

Peter Chen
petechen@math.rutgers.edu


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20646-33@oink>;
          Wed, 3 Apr 1996 07:10:08 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828503599:01111:1; Wed, 03 Apr 96 04:53:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa00808; 3 Apr 96 4:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA00765 for dbi-users-real; Tue, 2 Apr 1996 19:44:52 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vivid.com (vivid.vivid.com [205.163.51.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA00750 
          for <dbi-users@fugue.com>; Tue, 2 Apr 1996 19:44:49 -0800
Received: from BAISGATE.BALINK.COM by vivid.com (NX5.67c/NeXT-2.0) id AA09805;
          Tue, 2 Apr 96 10:52:49 -0800
Date: Tue, 2 Apr 96 10:52:49 -0800
Message-Id: <9604021852.AA09805@vivid.com>
X-Sender: jake@vivid.vivid.com
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: Jake Donham <jake@vivid.com>
Subject: Thanks.

My company has just finished installing a system for a big corporate client
(which unfortunately I can't name) that we developed using Perl 5 with
Oraperl. I wanted to thank everyone on this list who has given me advice
when I ran into snags, especially Tim Bunce.

The system is for organizing a catalog of URLs with lots of information
tacked onto them. It has a dynamic web interface for administrators to
manipulate the database, and generates a static web site from the database
for end users. Basically, it works like a champ, and it would have been
much, much more work without Oraperl.

Thanks again,

Jake

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20775-10@oink>;
          Wed, 3 Apr 1996 07:12:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828503348:20314:1; Wed, 03 Apr 96 04:49:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20130; 3 Apr 96 4:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA00439 for dbi-users-real; Tue, 2 Apr 1996 19:38:54 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from roma.atc.olivetti.com (roma.atc.olivetti.com [129.189.134.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA00435 
          for <dbi-users@fugue.com>; Tue, 2 Apr 1996 19:38:53 -0800
Received: from olivea.ATC.Olivetti.Com ([129.189.134.9]) 
          by roma.atc.olivetti.com with SMTP id <81067>;
          Tue, 2 Apr 1996 10:30:29 -0800
Received: from scanet.Ico.Olivetti.Com by olivea.ATC.Olivetti.Com (4.1/SMI-4.1) 
          id AA01277; Mon, 1 Apr 96 04:43:33 PST
Message-Id: <9604011243.AA01277@olivea.ATC.Olivetti.Com>
From: petrucci@zappa.ico.olivetti.com
Date: Mon, 1 Apr 1996 06:34:24 -0800
To: dbi-users@fugue.com
Subject: help dbd
Received: from iconet.Ico.Olivetti.Com by scanet.Ico.Olivetti.Com;
          Mon, 1 Apr 96 13:40:37 UTC
Received: from zappa.ICO.Olivetti.Com by iconet.Ico.Olivetti.Com;
          Mon, 1 Apr 96 14:37:13 WET
Content-Type: text
Content-Length: 837

Hi,
we have tryed to compile the DBD Oracle driver ver 0.28 on a svr4 machine, but the make test fails, and the error message is below:
"...installation driver oracle test fails:
can't load ./blib/arch/auto/DBD/Oracle/Oracle.so for module DBD::Oracle:DynamicLinker:/usr/local/bin/perl:relocation error:symbol not found:setitimer at /usr/local/lib/perl5/DynaLoader.pm line 140 "

We have done the suggested changes in the Makefile.PL, 
my %opt=(
    NAME => 'DBD::Oracle',
    VERSION_FROM => 'Oracle.pm',
    LIBS => '-lc',
    dist => { DIST_DEFAULT => 'clean distcheck disttest ci tardist',
    PREOP => '$(MAKE) -f Makefile.old distdir' },
);

and added the path of Oracle.so in the LD_LIBRARY_PATH environment variable,
but the error message of the make test is the same.
Please, could you give us some help?

Thanks in advance
Anna
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20775-11@oink>;
          Wed, 3 Apr 1996 07:13:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828503500:20919:1; Wed, 03 Apr 96 04:51:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20750; 3 Apr 96 4:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA00658 for dbi-users-real; Tue, 2 Apr 1996 19:44:12 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA00653 
          for <dbi-users@fugue.com>; Tue, 2 Apr 1996 19:44:11 -0800
Received: by gw.home.vix.com id NAA25050; Tue, 2 Apr 1996 13:52:28 -0800 (PST)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id WAA10544 for dbi-users@fugue.com; Tue, 2 Apr 1996 22:45:07 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604022145.WAA10544@fruitbat.mcqueen.com>
Subject: Request for help (fwd)
To: dbi-users@fugue.com
Date: Tue, 2 Apr 1996 22:45:06 +0100 (BST)
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


Forwarded to the list....

------------------------8<----------------------------8<------------------

Dear Sir/Madam,


I was trying to run the Makefile.PL for installing DBI driver.
I have downloaded and installed MakeMaker 5.16. 
On running Makefile.PL I am getting errors on "qw(&WriteMakefile,&Verbose)
and also an error that "DBI.pm not found". 

I could not find out the possible cause of these errors.

Please let me know how can I get rid of these errors or the
person whom I can contact for this. 

I am using SunOS.

Thanks..

Awaiting your reply.

Sincerely,

Rajesh Patel



                           ,--------ooo------ooo--------,, 
                          |        Rajesh Patel         || 
                          | M.S. (Computer Engineerng)  ||
                          | Florida Atlantic University ||
                          | Voice: (407)-338-5253       ||
                          \_____________________________//
                                        ||
                              "         ||      ` `` ' ``
                           ^ ~          ||     " " ^ ^ ,,
                            ============================ 

                   


-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-3@oink>;
          Thu, 4 Apr 1996 07:06:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828563871:21676:1; Wed, 03 Apr 96 21:37:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21182; 3 Apr 96 21:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA02563 for dbi-users-real; Wed, 3 Apr 1996 12:25:16 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeeper.volpe.dot.gov (gatekeeper.volpe.dot.gov [204.166.190.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA02559 
          for <dbi-users@toccata.fugue.com>; Wed, 3 Apr 1996 12:25:14 -0800
Received: from mailgate.volpe.dot.gov by gatekeeper.volpe.dot.gov;
          (5.65/1.1.8.2/25May95-1202PM) id AA20739;
          Wed, 3 Apr 1996 15:30:06 -0500
Received: from volpegate.volpe.dot.gov by mailgate.volpe.dot.gov;
          (5.65/1.1.8.2/12Dec95-1149AM) id AA21661;
          Wed, 3 Apr 1996 15:30:06 -0500
Received: by volpegate.dot.gov with Microsoft Mail 
          id <316253FE@volpegate.dot.gov>; Wed, 03 Apr 96 15:33:34 EST
From: "Walzer, Jonathan (Unisys)" <Walzer@volpe3.dot.gov>
To: 'DBI Mailing List' <dbi-users@toccata.fugue.com>
Subject: DBI 0.28 Build Error (Solaris)
Date: Wed, 03 Apr 96 15:33:00 EST
Message-Id: <316253FE@volpegate.dot.gov>
Encoding: 164 TEXT
X-Mailer: Microsoft Mail V3.0


Well,

As I real newbie, I was feeling pretty good about figuring out how to   
track down
and build the latest versions of gcc (2.7.2) and DBI (0.28) on my Sun   
Solaris
machine.  My joy ended with DBD...I'm sure I screwed something up along   
the line with
specifying include directories.  The only place I canfind file DBIXS.h is   
in
/usr/local/lib/perl5/site_perl/sun4_solaris/DBI/DBIXS.h (which is not   
where make is
looking).  Oracle Pro*C is installed.   Oracle is version 7.2.3.0.0.

Can anyone bail me out (remember, I'm a true neophyte)?
 --------------------------------------------------------------------------  
 ----------

TVDBSRV# perl -V

Summary of my perl5 (5.0 patchlevel 2) configuration:

  Platform:

    osname=solaris, osver=2.4, archname=sun4-solaris

    uname='sunos itvdbsrv 5.4 generic_101945-36 sun4m sparc '

    hint=recommended, useposix=true

  Compiler:

    cc='gcc', optimize='-O2', gccversion=2.7.2

    cppflags='-I/usr/local/include'

    ccflags ='-I/usr/local/include'

    stdchar='unsigned char', d_stdstdio=define, usevfork=false

    voidflags=15, castflags=0, d_casti32=define, d_castneg=define

    intsize=4, alignbytes=8, usemymalloc=y, randbits=15

  Linker and Libraries:

    ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'

    libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib

    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt

    libc=/lib/libc.so, so=so

  Dynamic Linking:

    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '

    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'



@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5   
/usr/local/lib/perl5/site_perl/sun4-solaris   
/usr/local/lib/perl5/site_perl .

ITVDBSRV#



ITVDBSRV# make realclean

rm -rf Oracle.c ./blib Makefile.aperl   
./blib/arch/auto/DBD/Oracle/extralibs.all perlmain.c mon.out core   
so_locations *~ */*~ */*/*~ *.o *.a perl.exe Oracle.bs Oracle.bso   
Oracle.def Oracle.exp

mv Makefile Makefile.old 2>/dev/null

rm -rf ./blib/lib/auto/DBD/Oracle ./blib/arch/auto/DBD/Oracle

rm -f ./blib/arch/auto/DBD/Oracle/Oracle.so   
./blib/arch/auto/DBD/Oracle/Oracle.bs

rm -f ./blib/arch/auto/DBD/Oracle/Oracle.a ./blib/lib/Oraperl.pm   
./blib/lib/oraperl.ph ./blib/lib/DBD/Oracle.pm

rm -rf Makefile Makefile.old



ITVDBSRV# perl Makefile.PL

Use of uninitialized value at Makefile.PL line 27.



Configuring DBD::Oracle version ...



 Remember to actually read the README file!



Using Oracle in /u/oracle

Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio

Using /u/oracle/proc/lib/proc.mk version 1.9

System: perl5.002 sunos itvdbsrv 5.4 generic_101945-36 sun4m sparc   
 sun4-solaris dl_dlopen.xs

Compiler: gcc -O2 -I/usr/local/include

Oracle proc.mk would have used these values but we override them:

  CC:       ld -dy $(COMPOBJS) $(LDSTRING)

  LDFLAGS:  -L$(LIBHOME)

  LDSTRING: -R /opt/SUNWcluster/lib -Y   
P,$(LD_LIBRARY_PATH):/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib -Qy -lc   
$(COMPOBJ)/crtn.o



Checking if your kit is complete...

Looks good

Writing Makefile for DBD::Oracle

ITVDBSRV#

ITVDBSRV# make

umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm

umask 0 && cp oraperl.ph blib/lib/oraperl.ph

umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm

/usr/local/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.002   
 -I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap   
/usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv   
Oracle.tc Oracle.c

gcc -c -I/u/oracle/rdbms/demo   
 -I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -I/usr/local/include -O2   
 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fpic   
 -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic   
 -Wno-comment -Wtraditional Oracle.c

In file included from Oracle.c:19:

Oracle.h:14: DBIXS.h: No such file or directory

make: *** [Oracle.o] Error 1

ITVDBSRV#

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-5@oink>;
          Thu, 4 Apr 1996 07:07:03 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828564197:24653:1; Wed, 03 Apr 96 21:43:17 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa24158; 3 Apr 96 21:42 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa29053; 3 Apr 96 21:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA02614 for dbi-users-real; Wed, 3 Apr 1996 12:35:02 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeeper.volpe.dot.gov (gatekeeper.volpe.dot.gov [204.166.190.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA02607 
          for <dbi-users@fugue.com>; Wed, 3 Apr 1996 12:34:59 -0800
Received: from mailgate.volpe.dot.gov by gatekeeper.volpe.dot.gov;
          (5.65/1.1.8.2/25May95-1202PM) id AA21118;
          Wed, 3 Apr 1996 15:39:50 -0500
Received: from volpegate.volpe.dot.gov by mailgate.volpe.dot.gov;
          (5.65/1.1.8.2/12Dec95-1149AM) id AA20865;
          Wed, 3 Apr 1996 15:39:50 -0500
Received: by volpegate.dot.gov with Microsoft Mail 
          id <31625646@volpegate.dot.gov>; Wed, 03 Apr 96 15:43:18 EST
From: "Walzer, Jonathan (Unisys)" <Walzer@volpe3.dot.gov>
To: 'DBI Mailing List' <dbi-users@fugue.com>
Cc: "'walzer@volpe3.dot.gov'" <walzer@volpe3.dot.gov>
Subject: DBD 0.28 Build Problem (Solaris)
Date: Wed, 03 Apr 96 15:42:00 EST
Message-Id: <31625646@volpegate.dot.gov>
Encoding: 108 TEXT
X-Mailer: Microsoft Mail V3.0


Well,

As I real newbie, I was feeling pretty good about figuring out how to   
track down
and build the latest versions of gcc (2.7.2) and DBI (0.28) on my Sun   
Solaris
machine.  My joy ended with DBD...I'm sure I screwed something up along   
the line with
specifying include directories.  The only place I canfind file DBIXS.h is   
in
/usr/local/lib/perl5/site_perl/sun4_solaris/DBI/DBIXS.h (which is not   
where make is
looking).   Oracle is version 7.2.3.0.0, Pro*C is installed.

Could it have something to do with the following warning (which is   
indecipherable to me)?

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 old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.

Can anyone bail me out (remember, I'm a true neophyte)?
 --------------------------------------------------------------------------  
 ---------------

ITVDBSRV# perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=solaris, osver=2.4, archname=sun4-solaris
    uname='sunos itvdbsrv 5.4 generic_101945-36 sun4m sparc '
    hint=recommended, useposix=true
  Compiler:
    cc='gcc', optimize='-O2', gccversion=2.7.2
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5   
/usr/local/lib/perl5/site_perl/sun4-solaris   
/usr/local/lib/perl5/site_perl .
ITVDBSRV#

ITVDBSRV# make realclean
rm -rf Oracle.c ./blib Makefile.aperl   
./blib/arch/auto/DBD/Oracle/extralibs.all perlmain.c mon.out core   
so_locations *~ */*~ */*/*~ *.o *.a perl.exe Oracle.bs Oracle.bso   
Oracle.def Oracle.exp
mv Makefile Makefile.old 2>/dev/null
rm -rf ./blib/lib/auto/DBD/Oracle ./blib/arch/auto/DBD/Oracle
rm -f ./blib/arch/auto/DBD/Oracle/Oracle.so   
./blib/arch/auto/DBD/Oracle/Oracle.bs
rm -f ./blib/arch/auto/DBD/Oracle/Oracle.a ./blib/lib/Oraperl.pm   
./blib/lib/oraperl.ph ./blib/lib/DBD/Oracle.pm
rm -rf Makefile Makefile.old

ITVDBSRV# perl Makefile.PL
Use of uninitialized value at Makefile.PL line 27.

Configuring DBD::Oracle version ...

 Remember to actually read the README file!

Using Oracle in /u/oracle
Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
Using /u/oracle/proc/lib/proc.mk version 1.9
System: perl5.002 sunos itvdbsrv 5.4 generic_101945-36 sun4m sparc   
 sun4-solaris dl_dlopen.xs
Compiler: gcc -O2 -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
  CC:       ld -dy $(COMPOBJS) $(LDSTRING)
  LDFLAGS:  -L$(LIBHOME)
  LDSTRING: -R /opt/SUNWcluster/lib -Y   
P,$(LD_LIBRARY_PATH):/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib -Qy -lc   
$(COMPOBJ)/crtn.o

Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Oracle
ITVDBSRV#
ITVDBSRV# make
umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.002   
 -I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap   
/usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv   
Oracle.tc Oracle.c
gcc -c -I/u/oracle/rdbms/demo   
 -I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -I/usr/local/include -O2   
 -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fpic   
 -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic   
 -Wno-comment -Wtraditional Oracle.c
In file included from Oracle.c:19:
Oracle.h:14: DBIXS.h: No such file or directory
make: *** [Oracle.o] Error 1
ITVDBSRV#
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-10@oink>;
          Thu, 4 Apr 1996 07:08:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828568447:03278:0; Wed, 03 Apr 96 22:54:07 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa02938; 3 Apr 96 22:53 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa14528; 3 Apr 96 22:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA02780 for dbi-users-real; Wed, 3 Apr 1996 13:43:11 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zeus.socom.com (root@zeus.socom.com [206.108.56.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA02776 
          for <dbi-users@toccata.fugue.com>; Wed, 3 Apr 1996 13:43:09 -0800
Received: (from lebel@localhost) by zeus.socom.com (8.7.3/8.7.3) id QAA28401;
          Wed, 3 Apr 1996 16:37:09 -0500
Date: Wed, 3 Apr 1996 16:37:09 -0500
From: David Lebel <lebel@socom.com>
Message-Id: <199604032137.QAA28401@zeus.socom.com>
To: dbi-users@toccata.fugue.com
Subject: Bus Error with DBD-Oracle 0.28
Mime-Version: 1.0 (generated by tm-edit 7.42)
Content-Type: text/plain; charset=US-ASCII

When I try to compile and test DBD-Oracle 0.28 (with DBI-0.67), I get
a bus error when my test application exit.  I've used one of the
samples inside oraperl.ex and they all coredump (Bus Error) when they
terminate. 

Also, the make test doesn't work:

---cut---
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5,002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
	Test returned status 0 (wstat 138)
t/main..............ok
All tests successful.
Files=2,  Tests=6,  5 secs ( 0.46 cusr  0.16 csys =  0.62 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5,002 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.19 $

Oraperl Emulation Interface version 1.23 
Oracle Driver 0.28
DBI-0.67 Switch by Tim Bunce, version 0.67


Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'carrefour/XXXXXXX' (via ORACLE_USERID environment var or default)
Fields:  4
Names:   'NUM_T',	'DATE_T',	'CHAR_T',	'NULL_T'
Lengths: '40',	'75',	'30',	'0'
Types:   '2',	'12',	'1',	'1'
Data rows:
    fetch: 79.2 03-APR-96 CARREFOUR NULL

csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
lda out of scope...

Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 2 3 4 5 

Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
done.

Test complete (1 seconds).
*** Error code 138
make: Fatal error: Command failed for target `test_dynamic'
---cut---

	This is with Oracle 7.1.6.2.0, gcc 2.7.2, perl 5.002,
DBD-Oracle 0.28, DBI-0.67, and Solaris 2.5.

	Any hints?

	...David

-- 
// David Lebel <lebel@socom.com>                  phone: (514) 939-0480 
// Socom technologies, Inc                          fax: (514) 939-0834
// http://www.socom.com/~lebel/            #include <std/disclaimers.h>
     " There are lies, damned lies, and statistics. " -- Mark Twain
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27572-18@oink>;
          Thu, 4 Apr 1996 07:09:53 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828570293:25540:3; Wed, 03 Apr 96 23:24:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa24530; 3 Apr 96 23:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA02865 for dbi-announce-real; Wed, 3 Apr 1996 14:07:41 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA02861 
          for <dbi-announce@fugue.com>; Wed, 3 Apr 1996 14:07:38 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA08296 for dbi-announce@fugue.com;
          Wed, 3 Apr 1996 23:05:51 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604032205.XAA08296@fruitbat.mcqueen.com>
Subject: ANNOUNCE: DBD::C-ISAM abandoned
To: dbi-announce@fugue.com
Date: Wed, 3 Apr 1996 23:05:50 +0100 (BST)
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 423


Work on DBD::C-ISAM has been abandoned by me due to work pressures, and a
shift in development platforms here which has deprived me of access to
C-ISAM instances.

Anyone wishing to run with this project, please email me and let me know.

Regards.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-18@oink>;
          Thu, 4 Apr 1996 07:10:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828574345:23266:2; Thu, 04 Apr 96 00:32:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22849; 4 Apr 96 0:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA03017 for dbi-users-real; Wed, 3 Apr 1996 15:22:06 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA03013 
          for <dbi-users@fugue.com>; Wed, 3 Apr 1996 15:22:04 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id AAA08758; Thu, 4 Apr 1996 00:19:58 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604032319.AAA08758@fruitbat.mcqueen.com>
Subject: Re: DBD 0.28 Build Problem (Solaris)
To: Walzer@volpe3.dot.gov (Walzer Jonathan)
Date: Thu, 4 Apr 1996 00:19:57 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <31625646@volpegate.dot.gov> from "Walzer, Jonathan" at Apr 3, 96 03:42:00 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 949


> As I real newbie, I was feeling pretty good about figuring out how to   
> track down
> and build the latest versions of gcc (2.7.2) and DBI (0.28) on my Sun   
> Solaris
> machine.  My joy ended with DBD...I'm sure I screwed something up along   
> the line with
> specifying include directories.  The only place I canfind file DBIXS.h is   
> in
> /usr/local/lib/perl5/site_perl/sun4_solaris/DBI/DBIXS.h (which is not   
> where make is
> looking).   Oracle is version 7.2.3.0.0, Pro*C is installed.

Alter the line saying:

$opts{INC}  = "$OCIINCLUDE -I$OH/rdbms/demo -I$Config{archlibexp}/DBI";

to read:

$opts{INC}  = "$OCIINCLUDE -I$OH/rdbms/demo -I$Config{sitearch}/DBI";

then rerun:

perl Makefile.PL
make
make test ; make install

And that should sort you out.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-22@oink>;
          Thu, 4 Apr 1996 07:10:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828578743:23829:1; Thu, 04 Apr 96 01:45:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23332; 4 Apr 96 1:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA03190 for dbi-users-real; Wed, 3 Apr 1996 16:34:51 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from voro.lbl.gov (voro.lbl.gov [131.243.240.19]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA03186 
          for <dbi-users@fugue.com>; Wed, 3 Apr 1996 16:34:50 -0800
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id QAA01225; Wed, 3 Apr 1996 16:37:42 -0800
Message-Id: <199604040037.QAA01225@voro.lbl.gov>
X-Mailer: exmh version 1.6.2 7/18/95
To: "Walzer, Jonathan (Unisys)" <Walzer@volpe3.dot.gov>
cc: 'DBI Mailing List' <dbi-users@fugue.com>
Subject: Re: DBD 0.28 Build Problem (Solaris)
In-reply-to: Your message of "Wed, 03 Apr 1996 15:42:00 EST." <31625646@volpegate.dot.gov>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 03 Apr 1996 16:37:42 -0800
From: Mark Dedlow <dedlow@voro.lbl.gov>


> From: "Walzer, Jonathan (Unisys)" <Walzer@volpe3.dot.gov>
>
[...]
> machine.  My joy ended with DBD...I'm sure I screwed something up along   
> the line with
> specifying include directories.  The only place I canfind file DBIXS.h is   
> in
> /usr/local/lib/perl5/site_perl/sun4_solaris/DBI/DBIXS.h (which is not   


The current version, DBD-Oracle-0.29, solves your problem.

Mark




---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-33@oink>;
          Thu, 4 Apr 1996 07:12:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828589964:14943:1; Thu, 04 Apr 96 04:52:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14685; 4 Apr 96 4:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA03454 for dbi-users-real; Wed, 3 Apr 1996 19:35:56 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from interlock.mckesson.com (interlock.mckesson.com [199.221.43.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA03450 
          for <dbi-users@fugue.com>; Wed, 3 Apr 1996 19:35:54 -0800
Received: from wsop2.mckesson.com by interlock.mckesson.com with SMTP 
          id AA08686 (InterLock SMTP Gateway 3.0 for <dbi-users@fugue.com>);
          Wed, 3 Apr 1996 19:40:46 -0800
Received: by wsop2.mckesson.com (SMI-8.6/SMI-SVR4) id TAA15346;
          Wed, 3 Apr 1996 19:36:42 -0800
Date: Wed, 3 Apr 1996 19:36:42 -0800
Message-Id: <199604040336.TAA15346@wsop2.mckesson.com>
To: petrucci@olivetti.com
Subject: Re: help dbd
Cc: dbi-users@fugue.com
From: stephen.zander@mckesson.com
X-Sun-Charset: US-ASCII

 
petrucci wrote:
> Hi,
> we have tryed to compile the DBD Oracle driver ver 0.28 on a svr4 machine, but the make test fails, and the error message is below:
> "...installation driver oracle test fails:
> can't load ./blib/arch/auto/DBD/Oracle/Oracle.so for module DBD::Oracle:DynamicLinker:/usr/local/bin/perl:relocation error:symbol not found:setitimer at /usr/local/lib/perl5/DynaLoader.pm line 140 "
 
> We have done the suggested changes in the Makefile.PL, 
> my %opt=(
>     NAME => 'DBD::Oracle',
>     VERSION_FROM => 'Oracle.pm',
>     LIBS => '-lc',
>     dist => { DIST_DEFAULT => 'clean distcheck disttest ci tardist',
>     PREOP => '$(MAKE) -f Makefile.old distdir' },
> );
 
> and added the path of Oracle.so in the LD_LIBRARY_PATH environment variable,
> but the error message of the make test is the same.
> Please, could you give us some help?
 
> Thanks in advance
> Anna
 
Try adding the '-lc' to $ORACLE_HOME/rdbms/lib/sysliblist (just make sure it's
not on a new line).

BTW would you please mail me the output of the 'make' before you try this.
I'm writing an svr4 hints file to try and fix this permanently and I'd like
to know what the linker command line looks without this fix.



Stephen
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01890-13@oink>;
          Thu, 4 Apr 1996 16:00:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828626514:02569:2; Thu, 04 Apr 96 15:01:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01977; 4 Apr 96 15:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA04065 for dbi-users-real; Thu, 4 Apr 1996 05:49:13 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from jumbo.read.tasc.com (jumbo.read.tasc.com [147.81.244.117]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA04061 
          for <dbi-users@fugue.com>; Thu, 4 Apr 1996 05:49:12 -0800
Received: from viper.is.rest.tasc.com 
          by jumbo.read.tasc.com (5.x/PRAT[SECURE-2.8]) id AA05848;
          Thu, 4 Apr 1996 08:53:06 -0500
Received: from irnet.rest.tasc.com (stowe.irnet.rest.tasc.com) 
          by viper.is.rest.tasc.com (4.1/TASCnet-4.1R0.0) id AA17009;
          Thu, 4 Apr 96 08:50:23 EST
Received: from vail.rest.tasc.com (vail.irnet.rest.tasc.com) 
          by irnet.rest.tasc.com (4.1/SMI-4.1) id AA00325;
          Thu, 4 Apr 96 08:53:06 EST
From: mthurn@irnet.rest.tasc.com (Martin Thurn)
Message-Id: <9604041353.AA00325@irnet.rest.tasc.com>
Subject: Re: DBD 0.28 Build Problem (Solaris)
To: dedlow@voro.lbl.gov (Mark Dedlow)
Date: Thu, 4 Apr 1996 08:53:06 -0500 (EST)
Cc: Walzer@volpe3.dot.gov, dbi-users@fugue.com
In-Reply-To: <199604040037.QAA01225@voro.lbl.gov> from "Mark Dedlow" at Apr 3, 96 04:37:42 pm
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text


> The current version, DBD-Oracle-0.29, solves your problem.

  On behalf of of me and all other newbies having the same trouble,
and to cut out 75% (?) of the traffic on the mailing list,

PLEASE PUT THE LATEST VERSION ON THE HERMETICA WEB SITE

Thank you.



---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02943-0@oink>;
          Thu, 4 Apr 1996 17:40:10 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828635358:13636:1; Thu, 04 Apr 96 17:29:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa12624; 4 Apr 96 17:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA04249 for dbi-users-real; Thu, 4 Apr 1996 08:18:08 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA04245 
          for <dbi-users@fugue.com>; Thu, 4 Apr 1996 08:18:00 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id RAA18594; Thu, 4 Apr 1996 17:15:35 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604041615.RAA18594@fruitbat.mcqueen.com>
Subject: Re: DBD 0.28 Build Problem (Solaris)
To: mthurn@irnet.rest.tasc.com (Martin Thurn)
Date: Thu, 4 Apr 1996 17:15:34 +0100 (BST)
Cc: dedlow@voro.lbl.gov, Walzer@volpe3.dot.gov, dbi-users@fugue.com
In-Reply-To: <9604041353.AA00325@irnet.rest.tasc.com> from "Martin Thurn" at Apr 4, 96 08:53:06 am
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 660


> > The current version, DBD-Oracle-0.29, solves your problem.
> 
>   On behalf of of me and all other newbies having the same trouble,
> and to cut out 75% (?) of the traffic on the mailing list,
> 
> PLEASE PUT THE LATEST VERSION ON THE HERMETICA WEB SITE

Wups! It's there now.

You should note that the WWW pages are merely a guide. You should be notified
of the release via the mailing list, or check CPAN when you're getting the
code........

At least, that's my excuse....

8-)

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03220-0@oink>;
          Thu, 4 Apr 1996 19:07:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828641062:01995:0; Thu, 04 Apr 96 19:04:22 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa01392; 4 Apr 96 19:03 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa10443; 4 Apr 96 19:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA04466 for dbi-users-real; Thu, 4 Apr 1996 09:52:48 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from portal.east.saic.com (PORTAL.EAST.SAIC.COM [198.151.13.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA04462 
          for <dbi-users@fugue.com>; Thu, 4 Apr 1996 09:52:47 -0800
Received: from hp3bscr.saic.com ([149.8.83.100]) by portal.east.saic.com 
          via smtpd (for toccata.fugue.com [204.254.239.2]) with SMTP;
          4 Apr 1996 17:57:53 UT
Received: from fortress.saic.com by hp3bscr.saic.com 
          with SMTP (1.38.193.4/16.2) id AA05962;
          Thu, 4 Apr 1996 13:15:12 -0500
Received: from orbiter.lab.saic.com by crenbat.lab.saic.com 
          with SMTP (1.38.193.4/16.3) id AA16979;
          Thu, 4 Apr 1996 13:00:56 -0500
Received: from orbiter (localhost) by orbiter.gccs. (5.x/SMI-SVR4) id AA05590;
          Thu, 4 Apr 1996 12:55:34 -0500
Message-Id: <31640D16.59EF@fortress.saic.com>
Date: Thu, 04 Apr 1996 12:55:34 -0500
From: Michael Ellis <ellis@fortress.saic.com>
Organization: SAIC Asset C3I
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Doing a describe in Oracle
X-Url: http://www.hermetica.com/technologia/DBI/DBD/index.html#Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am using DBD and DBI and have selects and inserts working, but I need
to be able to
do a describe on a table so I can get the structure or table layout.  Do
you have any
thoughts on how to do this using DBD abd DBI?
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03321-0@oink>;
          Thu, 4 Apr 1996 19:32:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828642581:16459:1; Thu, 04 Apr 96 19:29:41 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16046; 4 Apr 96 19:29 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa15530; 4 Apr 96 19:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA04557 for dbi-users-real; Thu, 4 Apr 1996 10:18:43 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.lbcc.cc.or.us (gw.lbcc.cc.or.us [204.214.120.14]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA04553 
          for <dbi-users@fugue.com>; Thu, 4 Apr 1996 10:18:41 -0800
Received: from LB1-Message_Server by gw.lbcc.cc.or.us with Novell_GroupWise;
          Thu, 04 Apr 1996 10:24:14 -0800
Message-Id: <s163a34e.023@gw.lbcc.cc.or.us>
X-Mailer: Novell GroupWise 4.1
Date: Thu, 04 Apr 1996 10:23:55 -0800
From: Dan Sugalski <SUGALSD@gw.lbcc.cc.or.us>
To: ellis@fortress.saic.com, dbi-users@fugue.com
Subject: Doing a describe in Oracle -Reply

DESCRIBE is an SQL*Plus feature. To do this with pure SQL, you'll need to
walk the system tables that describe the database layout. I use
DBA_TAB_COLUMNS, but there are some others that do the same thing. I think
these (amongst others) are in Oracle's DB Administrators guide.

					Dan

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05118-8@oink>;
          Fri, 5 Apr 1996 07:08:25 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828649348:03103:2; Thu, 04 Apr 96 21:22:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa03026; 4 Apr 96 21:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA04803 for dbi-users-real; Thu, 4 Apr 1996 12:05:58 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA04795 
          for <dbi-users@fugue.com>; Thu, 4 Apr 1996 12:05:56 -0800
Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) 
          from uriela.in-berlin.de (192.109.42.147) with smtp 
          id <m0u4vMj-0001SgC>; Thu, 4 Apr 96 22:10 MEST
Received: by uriela.in-berlin.de (/\oo/\ Smail3.1.29.1 #29.8) 
          id <m0u4vMg-000LsWC@uriela.in-berlin.de>; Thu, 4 Apr 96 22:10 MET DST
Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) 
          from anna.in-berlin.de (193.175.21.66) with smtp 
          id <m0u4vM8-0001ORC>; Thu, 4 Apr 96 22:10 MEST
Received: by anna.in-berlin.de (940816.SGI.8.6.9/940406.SGI) id WAA28777;
          Thu, 4 Apr 1996 22:09:09 +0200
Date: Thu, 4 Apr 1996 22:09:09 +0200
Message-Id: <199604042009.WAA28777@anna.in-berlin.de>
From: Andreas Koenig <k@anna.in-berlin.de>
To: descarte@hermetica.com
CC: dbi-users@fugue.com
In-reply-to: <199604041615.RAA18594@fruitbat.mcqueen.com> (message from Alligator Descartes on Thu, 4 Apr 1996 17:15:34 +0100 (BST))
Subject: Re: DBD 0.28 Build Problem (Solaris)
Reply-to: andreas.koenig@mind.de

>>>>> "alligator" == Alligator Descartes <descarte@hermetica.com> writes:

 alligator> You should note that the WWW pages are merely a guide. You should be notified
 alligator> of the release via the mailing list, or check CPAN when you're getting the
 alligator> code........

 alligator> At least, that's my excuse....

 alligator> 8-)

No excuse 88--))

Link to Tom's multiplexer!

<A HREF="http://perl.com/cgi-bin/cpan_mod?module=DBI">source</A>
 or 
<A HREF="http://perl.com/cgi-bin/cpan_mod?module=CGI&readme=1">readme</A>

Always guaranteed to be up to date + a redirect to the nearest CPAN
site.

andreas

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05118-21@oink>;
          Fri, 5 Apr 1996 07:10:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828661333:04605:1; Fri, 05 Apr 96 00:42:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa03240; 5 Apr 96 0:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA05335 for dbi-users-real; Thu, 4 Apr 1996 15:36:08 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from hope.trinet.com (hope.trinet.com [206.25.192.11]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA05331 
          for <dbi-users@fugue.com>; Thu, 4 Apr 1996 15:36:06 -0800
Received: (from mlk@localhost) by hope.trinet.com (8.6.12/8.6.10) id SAA13095;
          Thu, 4 Apr 1996 18:35:31 -0500
Date: Thu, 4 Apr 1996 18:35:31 -0500 (EST)
From: Mark Korey <mlk@trinet.com>
To: dbi-users@fugue.com, descarte@hermetica.com
Subject: Help! Why won't this DBI UPDATE routine UPDATE?!?!
Message-ID: <Pine.BSD/.3.91.960404182620.13054A-100000@hope.trinet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

We've successfully been using DBI-0.68 & DBD-Oracle-0.28 on Solaris 2.4
to perform DB SELECT operations, but I can not for the life of me get
the do method to perform an UPDATE, nor have I had any luck getting 
error msgs.

Hopefully you can help!

-------------------------------------------------------------------------
The code:
---------------------------------------------------------------
#!/usr/local/bin/perl

# Get Oracle environment settings
$ENV{'ORACLE_HOME'} = '/opt/oracle/orahome';
$ENV{'ORACLE_SID'} = 'msds';
$dbuser = 'test_id/test_pw@TNS:msds';

$dbname = '';

use DBI;

print "\nAvail Drivers: ", join(", ", DBI->available_drivers()), "\n\n";

############################################################################

    $sql_cmd = "UPDATE dbi_test SET description='Test 3' where code='T3'";

    print "$sql_cmd\n\n";

    #DB FUNCTIONS
    $drh = DBI->install_driver( 'Oracle' );
    $dbh = $drh->connect( $dbname, $dbuser, '' );

    $dbh->debug(0);

    $rc = $dbh->do($dbh, $sql_cmd) 
            || warn "UPDATE failed: $db_error:$db_errstr\n";

    print "db_errno: '$db_errno': $db_errstr\n";
    print "Return Code: '$rc'; Error Code: '$err' \n";

    $dbh->commit;
    print "DBI::err = '$DBI::err'\n\n";

    $dbh->disconnect;

-------------------------------------------------------------------------
The output:
----------------------------------------------------------------
Avail Drivers: ExampleP, NullP, Oracle, Sponge

UPDATE dbi_test SET description='Test 3' where code='T3'

UPDATE failed: :
db_errno: '': 
Return Code: '1'; Error Code: '' 
DBI::err = ''

------------------------------------------------------------------------
What am I doing wrong??? The SQL cmd works from SQL*Plus.
Why can't I get any error codes or error msgs?


Thanks for the help & ideas!

|   Mark L Korey                        TriNet Services, Inc.           |
|   mlk@trinet.com                      150 Fayetteville Street Mall    |
|   919-833-2247 ext 230                Suite 1340                      |
|   http://www.trinet.com               Raleigh, NC 27601               |
+-----------------------------------------------------------------------+
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05118-23@oink>;
          Fri, 5 Apr 1996 07:10:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828665357:05937:2; Fri, 05 Apr 96 01:49:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05477; 5 Apr 96 1:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA05082 for dbi-users-real; Thu, 4 Apr 1996 13:33:39 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from hope.trinet.com (hope.trinet.com [206.25.192.11]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA05078 
          for <dbi-users@fugue.com>; Thu, 4 Apr 1996 13:33:38 -0800
Received: (from mlk@localhost) by hope.trinet.com (8.6.12/8.6.10) id QAA12527;
          Thu, 4 Apr 1996 16:38:33 -0500
Date: Thu, 4 Apr 1996 16:38:33 -0500 (EST)
From: Mark Korey <mlk@trinet.com>
To: Michael Ellis <ellis@fortress.saic.com>
cc: dbi-users@fugue.com
Subject: Re: Doing a describe in Oracle
In-Reply-To: <31640D16.59EF@fortress.saic.com>
Message-ID: <Pine.BSD/.3.91.960404163204.12202A-100000@hope.trinet.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 4 Apr 1996, Michael Ellis wrote:

> I am using DBD and DBI and have selects and inserts working, but I need
> to be able to
> do a describe on a table so I can get the structure or table layout.  Do
> you have any
> thoughts on how to do this using DBD abd DBI?

The question is how do you do this w/ SQL cmds (not with the SQL*Plus
"desc table_name" cmd). Assuming you're using Oracle, you'll need to  
find out which SYSTEM tables store the table layouts. You can start
with the "all_tables" table & try to take it from there.

|   Mark L Korey                        TriNet Services, Inc.           |
|   mlk@trinet.com                      150 Fayetteville Street Mall    |
|   919-833-2247 ext 230                Suite 1340                      |
|   http://www.trinet.com               Raleigh, NC 27601               |
+-----------------------------------------------------------------------+

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08063-1@oink>;
          Fri, 5 Apr 1996 17:01:45 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828704724:03479:1; Fri, 05 Apr 96 12:45:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03033; 5 Apr 96 12:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA06218 for dbi-users-real; Fri, 5 Apr 1996 03:32:10 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from deimos (deimos.sovam.com [194.67.1.156]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA06214 
          for <dbi-users@fugue.com>; Fri, 5 Apr 1996 03:31:59 -0800
Received: from nike.sovam.com ([194.67.3.241]) by deimos.sovam.com with SMTP 
          id <260570-6269>; Fri, 5 Apr 1996 15:31:41 +0400
Message-ID: <316512AD.11FC@online.ru>
Date: Fri, 05 Apr 1996 15:31:41 +0300
From: "Roman L. Podshivalov" <romas@online.ru>
Reply-To: romas@online.ru
Organization: ROL
X-Mailer: Mozilla 3.0B2 (Win95; I)
MIME-Version: 1.0
To: Michael Ellis <ellis@fortress.saic.com>
CC: dbi-users@fugue.com
Subject: Re: Doing a describe in Oracle
References: <31640D16.59EF@fortress.saic.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Michael Ellis wrote:
> 
> I am using DBD and DBI and have selects and inserts working, but I need
> to be able to
> do a describe on a table so I can get the structure or table layout.  Do
> you have any
> thoughts on how to do this using DBD abd DBI?

if you're using Oraperl emulation for DBI::DBD you can ora_titles.
Else @your_title_array = @{$your_cursor->{'NAME'}};

Be happy
--- 
Roman L. Podshivalov                     Sovam Teleport 
<mailto:romas@online.ru>                 (+7-501) 258-4170
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08063-3@oink>;
          Fri, 5 Apr 1996 17:01:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828704725:03475:1; Fri, 05 Apr 96 12:45:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03037; 5 Apr 96 12:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA06224 for dbi-users-real; Fri, 5 Apr 1996 03:36:38 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from deimos (deimos.sovam.com [194.67.1.156]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA06220 
          for <dbi-users@fugue.com>; Fri, 5 Apr 1996 03:36:11 -0800
Received: from nike.sovam.com ([194.67.3.241]) by deimos.sovam.com with SMTP 
          id <260587-6268>; Fri, 5 Apr 1996 15:35:17 +0400
Message-ID: <3165138A.4565@online.ru>
Date: Fri, 05 Apr 1996 15:35:22 +0300
From: "Roman L. Podshivalov" <romas@online.ru>
Reply-To: romas@online.ru
Organization: ROL
X-Mailer: Mozilla 3.0B2 (Win95; I)
MIME-Version: 1.0
To: Mark Korey <mlk@trinet.com>
CC: dbi-users@fugue.com, descarte@hermetica.com
Subject: Re: Help! Why won't this DBI UPDATE routine UPDATE?!?!
References: <Pine.BSD/.3.91.960404182620.13054A-100000@hope.trinet.com>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Mark Korey wrote:
> 
> We've successfully been using DBI-0.68 & DBD-Oracle-0.28 on Solaris 2.4
> to perform DB SELECT operations, but I can not for the life of me get
> the do method to perform an UPDATE, nor have I had any luck getting
> error msgs.
> 
> Hopefully you can help!
> 
> -------------------------------------------------------------------------
> The code:
> ---------------------------------------------------------------
> #!/usr/local/bin/perl
> 
> # Get Oracle environment settings
> $ENV{'ORACLE_HOME'} = '/opt/oracle/orahome';
> $ENV{'ORACLE_SID'} = 'msds';
> $dbuser = 'test_id/test_pw@TNS:msds';
> 
> $dbname = '';
> 
> use DBI;
> 
> print "\nAvail Drivers: ", join(", ", DBI->available_drivers()), "\n\n";
> 
> ############################################################################
> 
>     $sql_cmd = "UPDATE dbi_test SET description='Test 3' where code='T3'";
> 
>     print "$sql_cmd\n\n";
> 
>     #DB FUNCTIONS
>     $drh = DBI->install_driver( 'Oracle' );
>     $dbh = $drh->connect( $dbname, $dbuser, '' );
> 
>     $dbh->debug(0);
> 
>     $rc = $dbh->do($dbh, $sql_cmd)
            ^^^^^^^^^^^^^^^^^^^^^^^^
            $dbh->do($sql_cmd) - will be right ;-)  

>             || warn "UPDATE failed: $db_error:$db_errstr\n";
> 
>     print "db_errno: '$db_errno': $db_errstr\n";
>     print "Return Code: '$rc'; Error Code: '$err' \n";
> 
>     $dbh->commit;
>     print "DBI::err = '$DBI::err'\n\n";
> 
>     $dbh->disconnect;
> 
> -------------------------------------------------------------------------
> The output:
> ----------------------------------------------------------------
> Avail Drivers: ExampleP, NullP, Oracle, Sponge
> 
> UPDATE dbi_test SET description='Test 3' where code='T3'
> 
> UPDATE failed: :
> db_errno: '':
> Return Code: '1'; Error Code: ''
> DBI::err = ''
> 
> ------------------------------------------------------------------------
> What am I doing wrong??? The SQL cmd works from SQL*Plus.
> Why can't I get any error codes or error msgs?
> 
> Thanks for the help & ideas!
> 
> |   Mark L Korey                        TriNet Services, Inc.           |
> |   mlk@trinet.com                      150 Fayetteville Street Mall    |
> |   919-833-2247 ext 230                Suite 1340                      |
> |   http://www.trinet.com               Raleigh, NC 27601               |
> +-----------------------------------------------------------------------+
Be happy
---
Roman L. Podshivalov                     Sovam Teleport 
<mailto:romas@online.ru>                 (+7-501) 258-4170
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14672-3@oink>;
          Mon, 8 Apr 1996 07:07:05 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828732552:19700:2; Fri, 05 Apr 96 20:29:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa19370; 5 Apr 96 20:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA06798 for dbi-users-real; Fri, 5 Apr 1996 11:23:08 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeeper.volpe.dot.gov (gatekeeper.volpe.dot.gov [204.166.190.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA06794 
          for <dbi-users@fugue.com>; Fri, 5 Apr 1996 11:23:06 -0800
Received: from mailgate.volpe.dot.gov by gatekeeper.volpe.dot.gov;
          (5.65/1.1.8.2/25May95-1202PM) id AA14419;
          Thu, 4 Apr 1996 14:01:36 -0500
Received: from volpegate.volpe.dot.gov by mailgate.volpe.dot.gov;
          (5.65/1.1.8.2/12Dec95-1149AM) id AA19981;
          Thu, 4 Apr 1996 14:00:24 -0500
Received: by volpegate.dot.gov with Microsoft Mail 
          id <31639075@volpegate.dot.gov>; Thu, 04 Apr 96 14:03:49 EST
From: "Walzer, Jonathan (Unisys)" <Walzer@volpe3.dot.gov>
To: 'DBI Mailing List' <dbi-users@fugue.com>
Subject: RE: DBD 0.28 Build Problem (Solaris)
Date: Thu, 04 Apr 96 14:03:00 EST
Message-Id: <31639075@volpegate.dot.gov>
Encoding: 31 TEXT
X-Mailer: Microsoft Mail V3.0


I can now confirm that using DBD-Oracle-0.29 DID in fact solve my   
problem.  Much thanks to all!
Just goes to show that rank amateurs like myself can get this to work.   
 Actually, I'm just amateur (rankness bothers my coworkers).

But seriously, this is a very useful tool, so thanks to all involved!   
  How far along is the ODBC version?  Is it still in the formalizing   
stage?  Also,  is there anything online describing what's planned or   
being pondered (beyond the DBI readme) ?

 ----------
From:  mthurn[SMTP:mthurn@irnet.rest.tasc.com]
Sent:  Thursday, April 04, 1996 8:53 AM
To:  dedlow
Cc:  Walzer; dbi-users
Subject:  Re: DBD 0.28 Build Problem (Solaris)


> The current version, DBD-Oracle-0.29, solves your problem.

  On behalf of of me and all other newbies having the same trouble,
and to cut out 75% (?) of the traffic on the mailing list,

PLEASE PUT THE LATEST VERSION ON THE HERMETICA WEB SITE

Thank you.




---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14671-25@oink>;
          Mon, 8 Apr 1996 07:11:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828741700:10166:3; Fri, 05 Apr 96 23:01:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09824; 5 Apr 96 23:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA07237 for dbi-users-real; Fri, 5 Apr 1996 13:57:46 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bloodstone.cary.mci.net (bloodstone.Cary.mci.net [204.70.140.22]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA07233 
          for <dbi-users@fugue.com>; Fri, 5 Apr 1996 13:57:36 -0800
Received: (from adoles@localhost) by bloodstone.cary.mci.net (8.6.12/8.6.9) 
          id QAA15678; Fri, 5 Apr 1996 16:54:36 -0500
Date: Fri, 5 Apr 1996 16:54:35 -0500 (EST)
From: Andre Doles <adoles@bloodstone.cary.mci.net>
X-Sender: adoles@bloodstone.cary.mci.net
To: Alligator Descartes <descarte@hermetica.com>
cc: dbi-users@fugue.com
Subject: Re: Installing DBD (fwd)
In-Reply-To: <199603301128.LAA09335@fruitbat.mcqueen.com>
Message-ID: <Pine.SOL.3.91.960405165027.753C-100000@bloodstone.cary.mci.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

To all who have responded, I think a combination of everyones suggestions
have enabled it to finally compile without error!

MANY, MANY, MANY THANKS!!! 

I do still get an error message after each query
(Bad free() ignored at /app2 line 23.), but it doesn't
appear to be affecting the way it displays thru the Netscape
browser, so no biggie.  It works!  Thats all that matters!
I've been working towards this goal (Netscape/oracle front
end) for over a year now.  In a mere couple of days, with
everyone's help, I have accomplished my goal!  Again, thanks!
Fine job on the apps (DBI and DBD)!  You guys are the best!

	Andre'

On Sat, 30 Mar 1996, Alligator Descartes wrote:

> Date: Sat, 30 Mar 1996 11:28:06 +0000 (GMT)
> From: Alligator Descartes <descarte@hermetica.com>
> To: Andre Doles <adoles@bloodstone.cary.mci.net>
> Cc: dbi-users@fugue.com, adoles@mci.net
> Subject: Re: Installing DBD (fwd)
> 
> 
> > What does the below error message mean?  How can I get DBD
> > compiled?  Help appreciated as I'm extrememly anxious to get this working!
> > 
> > Thanks in advance.  
> > 
> > 	Andre'
> > -- 
> > /web/oracle/lib/libcore.a(ldtpme.o)
> > lippnmr                             0x1ec
> > /web/oracle/lib/libnlsrtl.a(lipp.o)
> > __cg92_used                         0x0
> > /web/oracle/lib/libcore.a(lstrrj.o)
> > __cg92_used                         0x0
> > /web/oracle/lib/libcore.a(lmfb24.o)
> > __cg92_used                         0x0
> > /web/oracle/lib/libcore.a(lmf42b.o)
> > ld: fatal: relocations remain against allocatable but non-writable
> > sections
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `blib/arch/auto/DBD/Oracle/Oracle.so'
> 
> If you're compiling Oracle applications with gcc on Solaris you need to
> link with a file called $ORACLE_HOME/lib/__fstd.o. If you compile with the
> SparcWorks compiler you need to add the command line option on -xcg92
> to resolve these symbol problems cleanly.
> 
> Regards.
> 
> -- 
> Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
> Anathematician			//   http://www.hermetica.com/nexus
> descarte@hermetica.com		\\      ** Java(TM) Powered! **
> 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14782-4@oink>;
          Mon, 8 Apr 1996 07:12:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828743188:21957:1; Fri, 05 Apr 96 23:26:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21866; 5 Apr 96 23:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA07314 for dbi-users-real; Fri, 5 Apr 1996 14:24:47 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA07310 
          for <dbi-users@fugue.com>; Fri, 5 Apr 1996 14:24:45 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA11539; Fri, 5 Apr 1996 23:18:10 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604052218.XAA11539@fruitbat.mcqueen.com>
Subject: Re: DBD 0.28 Build Problem (Solaris)
To: Walzer@volpe3.dot.gov (Walzer, Jonathan)
Date: Fri, 5 Apr 1996 23:18:09 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <31639075@volpegate.dot.gov> from "Walzer, Jonathan" at Apr 4, 96 02:03:00 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 647


> But seriously, this is a very useful tool, so thanks to all involved!   
>   How far along is the ODBC version?  Is it still in the formalizing   
> stage?  Also,  is there anything online describing what's planned or   
> being pondered (beyond the DBI readme) ?

See:

	http://www.hermetica.com/technologia/DBI

for general news and stuff. Stuff generally goes out on dbi-announce, then
I tend to wrap it into those WWW pages when I get the time to.

Hope that helps.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14782-17@oink>;
          Mon, 8 Apr 1996 07:14:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828826725:21713:2; Sat, 06 Apr 96 22:38:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21333; 6 Apr 96 22:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA08762 for dbi-users-real; Sat, 6 Apr 1996 13:26:06 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tripod.tripod.com (jeff@tripod.tripod.com [204.213.242.8]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA08758 
          for <dbi-users@fugue.com>; Sat, 6 Apr 1996 13:26:04 -0800
Received: (from jeff@localhost) by tripod.tripod.com (8.6.12/8.6.9) id QAA06064;
          Sat, 6 Apr 1996 16:29:28 -0500
Date: Sat, 6 Apr 1996 16:29:28 -0500 (EST)
From: Le roi du balai <jeff@tripod.tripod.com>
To: dbi-users@fugue.com
Subject: DBD::Informix build modification
Message-ID: <Pine.LNX.3.91.960406160159.5861D-100000@tripod.tripod.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

The build script caused me some grief that could have been avoided if I 
had been cleverer, or if the following modifications had been included:

$ diff build.orig build

0a1,2
> #!/bin/sh
> 
7c9
< echo "" >> Makefile.
---
> echo "" >> Makefile

The #!/bin/sh makes it easier on idiots like myself since there's no
longer any need to type 'sh build' to interpolate the environment
variables. Also note that I removed the period at the end of line 7. There
didn't seem to be any need for an empty 'Makefile.', and if I'm not
mistaken, the intent was to echo a newline into Makefile to delimit the
SUFFIXES rule. 

Cheers,

Jeff Vander Clute
Tripod Tech
http://www.tripod.com/

"I am not a UNIX kernel, nor have I ever tried to be."
	--Scott Barney, Informix Guru


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14859-1@oink>;
          Mon, 8 Apr 1996 07:16:47 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828861704:22315:1; Sun, 07 Apr 96 08:21:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22114; 7 Apr 96 8:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA09349 for dbi-users-real; Sat, 6 Apr 1996 23:14:49 -0800
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bunyip.cc.uq.oz.au (pp@bunyip.cc.uq.oz.au [130.102.2.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA09345 
          for <dbi-users@fugue.com>; Sat, 6 Apr 1996 23:14:40 -0800
Received: from bunyip.cc.uq.oz.au by bunyip.cc.uq.oz.au 
          id <00583-0@bunyip.cc.uq.oz.au>; Sun, 7 Apr 1996 17:14:39 +1000
Received: from saturn.mincom.oz.au by minbne.mincom.oz.au with SMTP 
          id AA23873 (5.65c/IDA-1.4.4 for dbi-users@fugue.com);
          Sun, 7 Apr 1996 17:17:00 +1000
Received: by saturn.mincom.oz.au id AA18329 (5.65c/IDA-1.4.4 
          for Tim.Bunce@ig.co.uk); Sun, 7 Apr 1996 17:13:09 +1000
From: Peter Golledge <petergg@saturn.mincom.oz.au>
Message-Id: <199604070713.AA18329@saturn.mincom.oz.au>
Subject: Bad free() warning message
To: dbi-users@fugue.com
Date: Sun, 7 Apr 1996 17:13:09 +1000 (EST)
Cc: Tim.Bunce@ig.co.uk
X-Mailer: ELM [version 2.4 PL21]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 11649

DBI people,

After building DBD::Oracle (version 0.28) under HP-UX 9.04 I receive
warnings of the form:  Bad free() ignored at test.pl line XXX where
line XXX is where the ora_logoff function is called.

The build was reasonably clean, the only change made was to correct
an include path in Makefile.pl (diff at the end of this mail).  I
have included the output from the build along with the Perl -V
output.  Any ideas on what is wrong?


Output from perl -V:

Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=hpux, osver=9, archname=PA-RISC1.1
    uname='hp-ux enisux02 a.09.04 e 9000887 480396261 8-user license '
    hint=recommended, useposix=true 
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib/pa1.1 /lib /usr/lib
    libs=-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
    libc=/lib/libc.sl, so=sl
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=, ccdlflags='-Wl,-E '
    cccdlflags='+z', lddlflags='-b -L/usr/local/lib'

@INC: /home/testuser/lib/perl5/PA-RISC1.1/5.002 /home/testuser/lib/perl5 /home/testuser/lib/perl5/site_perl/PA-RISC1.1 /home/testuser/lib/perl5/site_perl .


testuser@testhost> perl Makefile.PL LINKTYPE=static

Use of uninitialized value at Makefile.PL line 27.

Configuring DBD::Oracle -


	Remember to actually read the README file!

Using Oracle in /oracle/v7016
Oracle sysliblist: -lcl -lm
Using /oracle/v7016/proc/lib/proc.mk version 7.27
Warning: forced to build static not dynamic on hpux
         See README file for more information.
System: perl5.002 hp-ux testhost a.09.04 e 9000887 480396261 8-user license  PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
  CC:       cc
  CFLAGS:   -I. -O -Aa
  LDFLAGS:  -Wl,-aarchive -L$(LIBHOME)

Checking if your kit is complete...
Looks good

Warning: I could not locate your pod2man program. Please make sure,
         your pod2man program is in your PATH before you execute 'make'

Writing Makefile for DBD::Oracle
testuser@testhost> 
testuser@testhost> make
	umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
	umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
	umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
	./perl -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 /home/testuser/lib/perl5/ExtUtils/xsubpp  -typemap /home/testuser/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
	cc -c -I/oracle/v7016/rdbms/demo -I/home/testuser/lib/perl5/site_perl/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" +z -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE  Oracle.c
	cc -c -I/oracle/v7016/rdbms/demo -I/home/testuser/lib/perl5/site_perl/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" +z -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE  dbdimp.c
	ar cr ./blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o  dbdimp.o && : ./blib/arch/auto/DBD/Oracle/Oracle.a
	chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.a
Manifying ./blib/man3/DBD::Oraperl.3
testuser@testhost> make test
	ar cr ./blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o  dbdimp.o && : ./blib/arch/auto/DBD/Oracle/Oracle.a
	chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.a
Writing "Makefile.aperl" for this perl
Use of uninitialized value at Makefile.PL line 27.

Configuring DBD::Oracle version ...

	Remember to actually read the README file!

Using Oracle in /oracle/v7016
Oracle sysliblist: -lcl -lm
Using /oracle/v7016/proc/lib/proc.mk version 7.27
Warning: forced to build static not dynamic on hpux
         See README file for more information.
System: perl5.002 hp-ux testhost a.09.04 e 9000887 480396261 8-user license  PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
  CC:       cc
  CFLAGS:   -I. -O -Aa
  LDFLAGS:  -Wl,-aarchive -L$(LIBHOME)


Warning: I could not locate your pod2man program. Please make sure,
         your pod2man program is in your PATH before you execute 'make'

Writing Makefile.aperl for DBD::Oracle
	make -f Makefile.aperl static perl
	umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
	umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
	umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
Writing ./perlmain.c
	cd . && cc -c  -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE  -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\"  -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE perlmain.c
	cat ./blib/arch/auto/DBD/Oracle/extralibs.ld >> ./blib/arch/auto/DBD/Oracle/extralibs.all
	cat /home/testuser/lib/perl5/PA-RISC1.1/5.002/auto/DynaLoader/extralibs.ld >> ./blib/arch/auto/DBD/Oracle/extralibs.all
	cat /home/testuser/lib/perl5/site_perl/PA-RISC1.1/auto/DBI/extralibs.ld >> ./blib/arch/auto/DBD/Oracle/extralibs.all
	cc -L/usr/local/lib -Wl,-E  -o perl ./perlmain.o /home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE/libperl.a /home/testuser/lib/perl5/site_perl/PA-RISC1.1/auto/DBI/DBI.a  /home/testuser/lib/perl5/PA-RISC1.1/5.002/auto/DynaLoader/DynaLoader.a  ./blib/arch/auto/DBD/Oracle/Oracle.a `cat ./blib/arch/auto/DBD/Oracle/extralibs.all` -lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt 
To install the new "perl" binary, call
    make -f Makefile.aperl inst_perl MAP_TARGET=perl
To remove the intermediate files say
    make -f Makefile.aperl map_clean
	PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=2,  Tests=6,  1 secs ( 0.43 cusr  0.32 csys =  0.75 cpu)
	PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 test.pl
Oraperl test application $Revision: 1.19 $

Oraperl Emulation Interface version 1.23 
Oracle Driver 0.28
DBI-0.68 Switch by Tim Bunce, version 0.68


Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'foo/foo' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields:  4
Names:   'NUM_T',	'DATE_T',	'CHAR_T',	'NULL_T'
Lengths: '40',	'75',	'30',	'0'
Types:   '2',	'12',	'1',	'1'
Data rows:
    fetch: 79.2 06-APR-96 MIMSADM NULL

csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...

Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.


Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.

Test complete (1 seconds).


Ouput from perl -V:

Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=hpux, osver=9, archname=PA-RISC1.1
    uname='hp-ux enisux02 a.09.04 e 9000887 480396261 8-user license '
    hint=recommended, useposix=true 
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib/pa1.1 /lib /usr/lib
    libs=-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
    libc=/lib/libc.sl, so=sl
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=, ccdlflags='-Wl,-E '
    cccdlflags='+z', lddlflags='-b -L/usr/local/lib'

@INC: /home/testuser/lib/perl5/PA-RISC1.1/5.002 /home/testuser/lib/perl5 /home/testuser/lib/perl5/site_perl/PA-RISC1.1 /home/testuser/lib/perl5/site_perl .


make test TEST_VERBOSE=1
	PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
t/main..............t/main.t 
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
All tests successful.
Files=2,  Tests=6,  1 secs ( 0.42 cusr  0.31 csys =  0.73 cpu)
	PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 test.pl
Oraperl test application $Revision: 1.19 $

Oraperl Emulation Interface version 1.23 
Oracle Driver 0.28
DBI-0.68 Switch by Tim Bunce, version 0.68


Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'foo/foo' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields:  4
Names:   'NUM_T',	'DATE_T',	'CHAR_T',	'NULL_T'
Lengths: '40',	'75',	'30',	'0'
Types:   '2',	'12',	'1',	'1'
Data rows:
    fetch: 79.2 06-APR-96 MIMSADM NULL

csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...

Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.


Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.

Test complete (1 seconds).


Diff of changes made to Makefile.PL:


*** Makefile.PL-	Sat Apr  6 22:56:37 1996
--- Makefile.PL	Sat Apr  6 23:23:34 1996
***************
*** 66,76 ****
   
  print "Using $oraclemk version $MK{mkver}\n";
  
- 
  my $OCIINCLUDE = $MK{INCLUDE} || '';
  
  $opts{LIBS} = [ $sysliblist ];
! $opts{INC}  = "$OCIINCLUDE -I$OH/rdbms/demo -I$Config{archlibexp}/DBI";
  $opts{dynamic_lib} = { OTHERLDFLAGS => '-L$(LIBHOME) $(COMPOBJS) '.$linkwith };
  $opts{OBJECT} = '$(O_FILES)';
  
--- 66,75 ----
   
  print "Using $oraclemk version $MK{mkver}\n";
  
  my $OCIINCLUDE = $MK{INCLUDE} || '';
  
  $opts{LIBS} = [ $sysliblist ];
! $opts{INC}  = "$OCIINCLUDE -I$OH/rdbms/demo -I$Config{sitearchexp}/DBI";
  $opts{dynamic_lib} = { OTHERLDFLAGS => '-L$(LIBHOME) $(COMPOBJS) '.$linkwith };
  $opts{OBJECT} = '$(O_FILES)';
  


-- 
Peter Golledge 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14782-30@oink>;
          Mon, 8 Apr 1996 07:18:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828891743:27825:1; Sun, 07 Apr 96 16:42:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27757; 7 Apr 96 16:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA09738 for dbi-users-real; Sun, 7 Apr 1996 08:39:20 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA09734 
          for <dbi-users@fugue.com>; Sun, 7 Apr 1996 08:39:19 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id QAA03365 for dbi-users@fugue.com; Sun, 7 Apr 1996 16:33:09 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604071533.QAA03365@fruitbat.mcqueen.com>
Subject: Searchable mailing lists archive
To: dbi-users@fugue.com
Date: Sun, 7 Apr 1996 16:33:08 +0100 (BST)
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 390


The DBI mailing lists archive held at Hermetica is now searchable.

See:

	http://www.hermetica.com/search.html

for the interface doo-dad. You'll need a forms capable browser and all that
for it to work.

Regards.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14671-53@oink>;
          Mon, 8 Apr 1996 07:17:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828887975:25364:1; Sun, 07 Apr 96 15:39:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24868; 7 Apr 96 15:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA09673 for dbi-users-real; Sun, 7 Apr 1996 07:33:59 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from amunro.demon.co.uk (amunro.demon.co.uk [158.152.56.140]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA09669 
          for <dbi-users@fugue.com>; Sun, 7 Apr 1996 07:33:54 -0700
Received: by localhost 
          from amunro.demon.co.uk (router,WinSmtp -Win32- V1.07beta1.3.s(unregistered));
          Sun, 07 Apr 1996 15:35:08
Received: from amunro.demon.co.uk 
          by amunro.demon.co.uk (158.152.56.140::mail daemon,WinSmtp -Win32- V1.07beta1.3.s);
          Sun, 07 Apr 1996 15:34:14
Received: by amunro.demon.co.uk with Microsoft Mail 
          id <01BB2497.AB511520@amunro.demon.co.uk>;
          Sun, 7 Apr 1996 15:34:11 +-100
Message-ID: <01BB2497.AB511520@amunro.demon.co.uk>
From: Alastair Munro <alastair@amunro.demon.co.uk>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: FW: Bad free() warning message
Date: Sun, 7 Apr 1996 15:34:07 +-100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MailDaemon: <WinSmtp -Win32- V1.07beta1.3.s(unregistered)>


Dear all,

We get exactly the same problem on Digital Unix V3.2c systems. The =
problem does not appear to affect functionality, its just an annoying =
message.=20

Other than that, we are extremely pleased with Oraperl/DBD/DBI, and we =
are beginning to use it extensivly. Thanks to those who have done all =
the good work.

Alastair Munro
Unix Administrator/Oracle DBA
Videotron Communications PLC


----------
From: 	Peter Golledge[SMTP:petergg@saturn.mincom.oz.au]
Sent: 	07 April 1996 18:13 PM
To: 	dbi-users@fugue.com
Cc: 	Tim.Bunce@ig.co.uk
Subject: 	Bad free() warning message


DBI people,

After building DBD::Oracle (version 0.28) under HP-UX 9.04 I receive
warnings of the form:  Bad free() ignored at test.pl line XXX where
line XXX is where the ora_logoff function is called.

The build was reasonably clean, the only change made was to correct
an include path in Makefile.pl (diff at the end of this mail).  I
have included the output from the build along with the Perl -V
output.  Any ideas on what is wrong?


Output from perl -V:

Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=3Dhpux, osver=3D9, archname=3DPA-RISC1.1
    uname=3D'hp-ux enisux02 a.09.04 e 9000887 480396261 8-user license '
    hint=3Drecommended, useposix=3Dtrue=20
  Compiler:
    cc=3D'cc', optimize=3D'-O', gccversion=3D
    cppflags=3D'-D_HPUX_SOURCE -Aa -I/usr/local/include'
    ccflags =3D'-D_HPUX_SOURCE -Aa -I/usr/local/include'
    stdchar=3D'unsigned char', d_stdstdio=3Ddefine, usevfork=3Dfalse
    voidflags=3D15, castflags=3D0, d_casti32=3D, d_castneg=3Ddefine
    intsize=3D4, alignbytes=3D8, usemymalloc=3Dy, randbits=3D15
  Linker and Libraries:
    ld=3D'ld', ldflags =3D' -L/usr/local/lib'
    libpth=3D/usr/local/lib /lib/pa1.1 /lib /usr/lib
    libs=3D-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
    libc=3D/lib/libc.sl, so=3Dsl
  Dynamic Linking:
    dlsrc=3Ddl_hpux.xs, dlext=3Dsl, d_dlsymun=3D, ccdlflags=3D'-Wl,-E '
    cccdlflags=3D'+z', lddlflags=3D'-b -L/usr/local/lib'

@INC: /home/testuser/lib/perl5/PA-RISC1.1/5.002 /home/testuser/lib/perl5 =
/home/testuser/lib/perl5/site_perl/PA-RISC1.1 =
/home/testuser/lib/perl5/site_perl .


testuser@testhost> perl Makefile.PL LINKTYPE=3Dstatic

Use of uninitialized value at Makefile.PL line 27.

Configuring DBD::Oracle -


	Remember to actually read the README file!

Using Oracle in /oracle/v7016
Oracle sysliblist: -lcl -lm
Using /oracle/v7016/proc/lib/proc.mk version 7.27
Warning: forced to build static not dynamic on hpux
         See README file for more information.
System: perl5.002 hp-ux testhost a.09.04 e 9000887 480396261 8-user =
license  PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
  CC:       cc
  CFLAGS:   -I. -O -Aa
  LDFLAGS:  -Wl,-aarchive -L$(LIBHOME)

Checking if your kit is complete...
Looks good

Warning: I could not locate your pod2man program. Please make sure,
         your pod2man program is in your PATH before you execute 'make'

Writing Makefile for DBD::Oracle
testuser@testhost>=20
testuser@testhost> make
	umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
	umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
	umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
	./perl -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 =
-I/home/testuser/lib/perl5 /home/testuser/lib/perl5/ExtUtils/xsubpp  =
-typemap /home/testuser/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc =
&& mv Oracle.tc Oracle.c
	cc -c -I/oracle/v7016/rdbms/demo =
-I/home/testuser/lib/perl5/site_perl/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa =
-I/usr/local/include -O -DVERSION=3D\"0.28\" -DXS_VERSION=3D\"0.28\" +z =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE  Oracle.c
	cc -c -I/oracle/v7016/rdbms/demo =
-I/home/testuser/lib/perl5/site_perl/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa =
-I/usr/local/include -O -DVERSION=3D\"0.28\" -DXS_VERSION=3D\"0.28\" +z =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE  dbdimp.c
	ar cr ./blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o  dbdimp.o && : =
./blib/arch/auto/DBD/Oracle/Oracle.a
	chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.a
Manifying ./blib/man3/DBD::Oraperl.3
testuser@testhost> make test
	ar cr ./blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o  dbdimp.o && : =
./blib/arch/auto/DBD/Oracle/Oracle.a
	chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.a
Writing "Makefile.aperl" for this perl
Use of uninitialized value at Makefile.PL line 27.

Configuring DBD::Oracle version ...

	Remember to actually read the README file!

Using Oracle in /oracle/v7016
Oracle sysliblist: -lcl -lm
Using /oracle/v7016/proc/lib/proc.mk version 7.27
Warning: forced to build static not dynamic on hpux
         See README file for more information.
System: perl5.002 hp-ux testhost a.09.04 e 9000887 480396261 8-user =
license  PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
  CC:       cc
  CFLAGS:   -I. -O -Aa
  LDFLAGS:  -Wl,-aarchive -L$(LIBHOME)


Warning: I could not locate your pod2man program. Please make sure,
         your pod2man program is in your PATH before you execute 'make'

Writing Makefile.aperl for DBD::Oracle
	make -f Makefile.aperl static perl
	umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
	umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
	umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
Writing ./perlmain.c
	cd . && cc -c  -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE  =
-D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=3D\"0.28\" =
-DXS_VERSION=3D\"0.28\"  =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE perlmain.c
	cat ./blib/arch/auto/DBD/Oracle/extralibs.ld >> =
./blib/arch/auto/DBD/Oracle/extralibs.all
	cat =
/home/testuser/lib/perl5/PA-RISC1.1/5.002/auto/DynaLoader/extralibs.ld =
>> ./blib/arch/auto/DBD/Oracle/extralibs.all
	cat /home/testuser/lib/perl5/site_perl/PA-RISC1.1/auto/DBI/extralibs.ld =
>> ./blib/arch/auto/DBD/Oracle/extralibs.all
	cc -L/usr/local/lib -Wl,-E  -o perl ./perlmain.o =
/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE/libperl.a =
/home/testuser/lib/perl5/site_perl/PA-RISC1.1/auto/DBI/DBI.a  =
/home/testuser/lib/perl5/PA-RISC1.1/5.002/auto/DynaLoader/DynaLoader.a  =
./blib/arch/auto/DBD/Oracle/Oracle.a `cat =
./blib/arch/auto/DBD/Oracle/extralibs.all` -lnet -lnsl_s -lndbm -ldld =
-lm -lc -lndir -lcrypt=20
To install the new "perl" binary, call
    make -f Makefile.aperl inst_perl MAP_TARGET=3Dperl
To remove the intermediate files say
    make -f Makefile.aperl map_clean
	PERL_DL_NONLAZY=3D1 ./perl -I./blib/arch -I./blib/lib =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 =
-e 'use Test::Harness qw(&runtests $verbose); $verbose=3D0; runtests =
@ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=3D2,  Tests=3D6,  1 secs ( 0.43 cusr  0.32 csys =3D  0.75 cpu)
	PERL_DL_NONLAZY=3D1 ./perl -I./blib/arch -I./blib/lib =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 =
test.pl
Oraperl test application $Revision: 1.19 $

Oraperl Emulation Interface version 1.23=20
Oracle Driver 0.28
DBI-0.68 Switch by Tim Bunce, version 0.68


Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'foo/foo' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields:  4
Names:   'NUM_T',	'DATE_T',	'CHAR_T',	'NULL_T'
Lengths: '40',	'75',	'30',	'0'
Types:   '2',	'12',	'1',	'1'
Data rows:
    fetch: 79.2 06-APR-96 MIMSADM NULL

csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read =
only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of =
transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...

Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.


Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.

Test complete (1 seconds).


Ouput from perl -V:

Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=3Dhpux, osver=3D9, archname=3DPA-RISC1.1
    uname=3D'hp-ux enisux02 a.09.04 e 9000887 480396261 8-user license '
    hint=3Drecommended, useposix=3Dtrue=20
  Compiler:
    cc=3D'cc', optimize=3D'-O', gccversion=3D
    cppflags=3D'-D_HPUX_SOURCE -Aa -I/usr/local/include'
    ccflags =3D'-D_HPUX_SOURCE -Aa -I/usr/local/include'
    stdchar=3D'unsigned char', d_stdstdio=3Ddefine, usevfork=3Dfalse
    voidflags=3D15, castflags=3D0, d_casti32=3D, d_castneg=3Ddefine
    intsize=3D4, alignbytes=3D8, usemymalloc=3Dy, randbits=3D15
  Linker and Libraries:
    ld=3D'ld', ldflags =3D' -L/usr/local/lib'
    libpth=3D/usr/local/lib /lib/pa1.1 /lib /usr/lib
    libs=3D-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
    libc=3D/lib/libc.sl, so=3Dsl
  Dynamic Linking:
    dlsrc=3Ddl_hpux.xs, dlext=3Dsl, d_dlsymun=3D, ccdlflags=3D'-Wl,-E '
    cccdlflags=3D'+z', lddlflags=3D'-b -L/usr/local/lib'

@INC: /home/testuser/lib/perl5/PA-RISC1.1/5.002 /home/testuser/lib/perl5 =
/home/testuser/lib/perl5/site_perl/PA-RISC1.1 =
/home/testuser/lib/perl5/site_perl .


make test TEST_VERBOSE=3D1
	PERL_DL_NONLAZY=3D1 ./perl -I./blib/arch -I./blib/lib =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 =
-e 'use Test::Harness qw(&runtests $verbose); $verbose=3D1; runtests =
@ARGV;' t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
t/main..............t/main.t=20
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
All tests successful.
Files=3D2,  Tests=3D6,  1 secs ( 0.42 cusr  0.31 csys =3D  0.73 cpu)
	PERL_DL_NONLAZY=3D1 ./perl -I./blib/arch -I./blib/lib =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 =
\n";
 =20
  my $OCIINCLUDE =3D $MK{INCLUDE} || '';
 =20
  $opts{LIBS} =3D [ $sysliblist ];
! $opts{INC}  =3D "$OCIINCLUDE -I$OH/rdbms/demo =
-I$Config{sitearchexp}/DBI";
  $opts{dynamic_lib} =3D { OTHERLDFLAGS =3D> '-L$(LIBHOME) $(COMPOBJS) =
'.$linkwith };
  $opts{OBJECT} =3D '$(O_FILES)';
 =20


--=20
Peter Golledge=20



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14782-31@oink>;
          Mon, 8 Apr 1996 07:18:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828894024:17157:1; Sun, 07 Apr 96 17:20:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16961; 7 Apr 96 17:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA09779 for dbi-users-real; Sun, 7 Apr 1996 09:17:28 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail1.is.net (root@mail1.is.net [198.69.24.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA09775 
          for <dbi-users@fugue.com>; Sun, 7 Apr 1996 09:17:26 -0700
Received: from stimpy.encompass.is.net ([204.180.18.228]) 
          by mail1.is.net (8.6.11/8.6.12) with SMTP id LAA09155 
          for <dbi-users@fugue.com>; Sun, 7 Apr 1996 11:13:54 -0500
Message-Id: <1.5.4b12.32.19960407161543.00699c64@yakko>
X-Sender: terry@yakko
X-Mailer: Windows Eudora Light Version 1.5.4b12 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 07 Apr 1996 12:15:43 -0400
To: dbi-users@fugue.com
From: Terry Greenlaw <terry@encompass.is.net>
Subject: Re: FW: Bad free() warning message

At 03:34 PM 4/7/96 +-100, you wrote:
>
>Dear all,
>
>We get exactly the same problem on Digital Unix V3.2c systems. The problem
does not appear to affect functionality, its just an annoying message. 
>
>Other than that, we are extremely pleased with Oraperl/DBD/DBI, and we are
beginning to use it extensivly. Thanks to those who have done all the good work.
>
>Alastair Munro
>Unix Administrator/Oracle DBA
>Videotron Communications PLC
>

One solution is to add the line
close STDERR;

before logging off of Oracle.

It appears to be a memory leak in OCI routines that Oracle hasn't tracked
down yet.

tog
Terry Greenlaw                                           terry@encompass.is.net
Encompass Technologies                              http://www.encompass.is.net
(770) 591-8903

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14859-16@oink>;
          Mon, 8 Apr 1996 07:21:05 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828940477:12127:1; Mon, 08 Apr 96 06:14:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11964; 8 Apr 96 6:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA10453 for dbi-users-real; Sun, 7 Apr 1996 22:04:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tripod.tripod.com (jeff@tripod.tripod.com [204.213.242.8]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA10449 
          for <dbi-users@fugue.com>; Sun, 7 Apr 1996 22:04:10 -0700
Received: (from jeff@localhost) by tripod.tripod.com (8.6.12/8.6.9) id BAA12638;
          Mon, 8 Apr 1996 01:07:41 -0400
Date: Mon, 8 Apr 1996 01:07:41 -0400 (EDT)
From: Le roi du balai <jeff@tripod.tripod.com>
To: dbi-users@fugue.com
Subject: How to make DBI Informix-0.20pl0 happy (fwd)
Message-ID: <Pine.LNX.3.91.960408004443.11107E-100000@tripod.tripod.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Howdy all,

After much diligence, my pet gcc guru finally succeeded in compiling the
limited hacker release of the Informix driver. I've attached his comments 
after the relevant version information.

INFORMIX-ESQL Version 7.12.UC1 
INFORMIX-OnLine Version 7.12.UC1 
perl version 5.002
SparcStation (20) running Solaris 2.5
DBI-0.68

Salut,

Jeff Vander Clute
Tripod Tech
http://www.tripod.com/

"I am not a UNIX kernel, nor have I ever tried to be."
	--Scott Barney, Informix Guru


---------- Forwarded message ----------
Date: Mon, 8 Apr 1996 00:11:55 -0400 (EDT)
From: Nathan J Kurz <nate@tripod.tripod.com>
To: Le roi du balai <jeff@tripod.tripod.com>
Cc: bne@planetmedia.com
Subject: How to make DBI Informix-0.20pl0 happy

Jeff --

(cc'd to bne@planetmedia.com -- 
I saw your plea for help with the module.  Hope this helps you.)

Yikes!  When he said 'Limited hacker release' he meant it!!!
Well, I think I finally have the Informix DBI just about
working -- at least well enough to pass it on to you.
Here's a (partial) list of what needed to be done to get it
up:

First problems were with the 'build' script.  Two changes
were required:
1) Make the first line "#!/bin/sh" so bash doesn't try to
run it!
2) Change "Makefile." to read "Makefile" (typo)

Most of the changes happened with Makefile.PL:
1) Add '/usr/informix' (case) to the list of directories to
check for Informix.

2) There were references to $(INFORMIXDIR) and $(ID).   The
references to $(INFORMIXDIR) should be changed to refer to
$(ID).

3) Include files for esql are kept in $ID/incl/esql --
change $opts{INC} to agree.

4) Have to add in '-lasf' to the libraries to be linked in.
Order is very important.  I changed $sysliblist to be:
"-L$ID/lib -L$ID/lib/esql -lsql -lasf -lgen -los -lm"
If you are getting a symbol not found for 'ASF_Call'
libasf.a is not being found.  If you start getting other
symbol not found errors (like _oschinternet) the libraries
are being loaded in the wrong order.

5) $opts{macro} needs to be changed.  $ID should be in
double quotes, not single.

6) A number of other small rearrangments.  I moved stuff
around so it made a little more sense.  I can't remember all
of what I did, so here is what I ended up with for the guts
of Makefile.pl:
-------------------------------------------------------------
warn "Warning: Informix library does not appear to be installed.\n"
	unless -f "$ID/lib/esql/libgen.a"
           and -f "$ID/lib/esql/libos.a"
           and -f "$ID/lib/esql/libsql.a";

if ( $Config{osname} eq 'solaris' ) {
    $linkwith = "-R$ID/lib";
  } else {
    $linkwith = "";
  }

$sysliblist = "-L$ID/lib -L$ID/lib/esql -lsql -lasf -lgen -los -lm";
# The order of these libraries is very important!!!!
print "Informix sysliblist: $sysliblist\n";

$opts{LIBS} = [ $sysliblist ];
$opts{INC}  = "-I$ID/incl/esql -I$Config{archlib}/DBI";
$opts{dynamic_lib} = { OTHERLDFLAGS => $linkwith };
$opts{OBJECT} = '$(O_FILES) dbdimp.o';
$opts{macro} = { 'ESQL_LIB' => "$ID/incl/esql" };
----------------------------------------------------------------

Making these changes should get you far enough to get a new
error message, "Version mismatch" in module DBI.  Edit
Informix.pm so that the line about the version reads:
$VERSION = substr(q$Revision: 0.20pl0$, 10);

After that, you should be almost ready to roll.  Then just
change mSQLtest.pl to use Informix instead of mSQL:
my( $driver ) = 'Informix';

Run it, and with any luck you'll get an Informix error
message -- which is a lot farther than I was this morning.
At least I learned a lot about ld...

have fun!

--nate















---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <21706-1@oink>;
          Tue, 9 Apr 1996 07:06:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 828984399:16438:2; Mon, 08 Apr 96 18:26:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa16172; 8 Apr 96 18:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA11056 for dbi-users-real; Mon, 8 Apr 1996 10:13:08 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from skorpio3.usask.ca (skorpio3.usask.ca [128.233.128.56]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA11052 
          for <dbi-users@fugue.com>; Mon, 8 Apr 1996 10:12:27 -0700
Received: (from jrt128@localhost) by skorpio3.usask.ca (8.6.12/8.6.9) 
          id LAA12641 for dbi-users@fugue.com; Mon, 8 Apr 1996 11:12:47 -0600
From: Judi Thomson <jrt128@cs.usask.ca>
Message-Id: <199604081712.LAA12641@skorpio3.usask.ca>
Subject: DBI and NT
To: dbi-users@fugue.com
Date: Mon, 8 Apr 1996 11:12:46 -0600 (CST)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 515

(newbie warning)...
	I have looked through the mailing list archive and any FAQs I
could find but didn't find any answers.
	I'd like to interface perl on my NT machine with the DBI.  I don't
really care which database module at this point, I just want to get it 
working.  
	Has anyone done this already?  Are there changes I need to make to
the DBI or to the database module I choose?  Are there interfaces to "PCish"
databases such as Foxpro, Access, Paradox...?

	Thanks for any help you can give.
	Judi Thomson
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24404-5@oink>;
          Tue, 9 Apr 1996 12:21:46 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829047426:27039:1; Tue, 09 Apr 96 11:57:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26587; 9 Apr 96 11:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA13198 for dbi-users-real; Tue, 9 Apr 1996 03:32:21 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bme.inje.ac.kr (bme.inje.ac.kr [203.241.225.11]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA13194 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 03:32:15 -0700
Received: from Genius.inje.ac.kr ([203.241.225.54]) 
          by bme.inje.ac.kr (8.6.12h2/8.6.9) with SMTP id TAA18656 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 19:33:31 +0900
Message-Id: <2.2.32.19960410103217.006872c0@bme.inje.ac.kr>
X-Sender: jch93@bme.inje.ac.kr
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 10 Apr 1996 19:32:17 +0900
To: dbi-users@fugue.com
From: Chang Hoon Ji <jch93@bme.inje.ac.kr>

unsubscribe

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26162-0@oink>;
          Tue, 9 Apr 1996 15:50:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829060543:29290:2; Tue, 09 Apr 96 15:35:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28655; 9 Apr 96 15:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA13411 for dbi-users-real; Tue, 9 Apr 1996 07:27:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mns.bt.co.uk (fringe.mns.bt.co.uk [194.72.129.162]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA13407 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 07:27:36 -0700
Received: by fringe.mns.bt.co.uk via suspension id <20737>;
          Tue, 9 Apr 1996 15:20:54 +0100
Received: by fringe.mns.bt.co.uk id <20749>; Tue, 9 Apr 1996 12:47:57 +0100
X-Sender: wparker@mns.bt.co.uk
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 9 Apr 1996 12:54:47 +0100
To: dbi-users@fugue.com
From: Bill Parker <wparker@mns.bt.co.uk>
Subject: unsuscribe
Message-Id: <96Apr9.124757bst.20749@fringe.mns.bt.co.uk>


unsuscribe
Boggies are an unattractive but annoying people whose numbers have
decreased rather  precipitously  since the bottom fell out of  the
fairy-tale market.  Slow and sullen,  and yet dull, they prefer to
live simple lives of pastoral squalor.         Bored of the Rings.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26795-3@oink>;
          Tue, 9 Apr 1996 17:02:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829064710:29094:3; Tue, 09 Apr 96 16:45:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28639; 9 Apr 96 16:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA13495 for dbi-users-real; Tue, 9 Apr 1996 08:39:28 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from shark.amtrak.co.uk ([193.132.100.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA13491 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 08:39:08 -0700
Received: from lion.amtrak.co.uk (root@[192.9.201.1]) 
          by shark.amtrak.co.uk (8.7.3/8.7.3) with SMTP id QAA04291 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 16:41:17 +0100 (BST)
Received: from redwood by lion.amtrak.co.uk (5.x/SMI-SVR4) id AA07318;
          Tue, 9 Apr 1996 16:39:18 +0100
To: Dbi_Users:;
From: Simon Windsor <simonw@amtrak.co.uk>
Cc: simonw@lion.amtrak.co.uk
Subject: Problems with lookup
X-Originating-Host: redwood
Message-Id: <1996Apr09.164513+0000@redwood>
Date: 09 Apr 1996 16:45:12 +0000
Mime-Version: 1.0
X-Mailer: Hummingbird EMail for Windows Version 5.0

Hi

I have been using perl5 with the DBI(0.68) and DBD-Oracle(0.28) for
several weeks now without any problems. However, today I have noticed
the following:-

#!/usr/local/bin/perl5 -w

use DBI;

$drh = DBI->install_driver( 'Oracle' );

$dbh = $drh->connect( '', '/', '' );
die unless $dbh;

# Get Max Id
#-------------A------------
$MaxID = $dbh->lookup( "select max(id) from fuel_works");
#--------------------------

#-------------B------------
$cursor = $dbh->prepare( "select max(id) from fuel_works");
$cursor->execute;
$MaxID = $cursor->fetchrow;
$cursor->finish;
#--------------------------

print STDOUT "Max ID is ".$MaxID."\n";

$dbh->disconnect;

exit;

According to the DBI documentation, the lookup function can be used
for single selects, but code option A gives me the following error
message

Can't locate object method "lookup" via package "DBI::db" at lookup
line 11.

Option B however works, giving me the correct answer.

Has the lookup function been implemented, or am I doing something
silly?


Simon Windsor
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00621-11@oink>;
          Wed, 10 Apr 1996 03:16:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829098428:02229:0; Wed, 10 Apr 96 02:07:08 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa01782; 10 Apr 96 2:05 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa20328; 10 Apr 96 2:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA14108 for dbi-users-real; Tue, 9 Apr 1996 12:31:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from uswgco2.uswc.uswest.com (uswgco2.uswest.com [206.196.133.74]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA14104 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 12:31:33 -0700
Received: (from smap@localhost) by uswgco2.uswc.uswest.com (8.7.1/8.7.1) 
          id NAA22690 for <dbi-users@fugue.com>;
          Tue, 9 Apr 1996 13:31:26 -0600 (MDT)
Received: from egate.mnet.uswest.com(151.116.23.138) by uswgco2.uswc.uswest.com 
          via smap (V1.3) id sma022683; Tue Apr 9 13:31:24 1996
Received: from smokey.ecte.uswc.uswest.com (smokey.ecte.uswc.uswest.com [151.116.109.68]) 
          by egate.mnet.uswest.com (8.7.1/8.7.1) with ESMTP id NAA25489 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 13:31:20 -0600 (MDT)
Received: from jannu.ecte.uswc.uswest.com (jannu [151.116.138.124]) 
          by smokey.ecte.uswc.uswest.com (8.6.11/uswc-hub.950320) with ESMTP 
          id NAA28353 for <dbi-users@fugue.com>; Tue, 9 Apr 1996 13:31:19 -0600
Received: from jannu (localhost.ecte.uswc.uswest.com) 
          by jannu.ecte.uswc.uswest.com (1.39.111.2/uswc-hpux9.05-server.950106) 
          with SMTP id AA267278338; Tue, 9 Apr 1996 13:32:18 -0600
Message-Id: <199604091932.AA267278338@jannu.ecte.uswc.uswest.com>
Date: Tue, 09 Apr 96 13:32:18 -0600
From: Pat Hosokawa <phosoka@lookout.ecte.uswc.uswest.com>
X-Mailer: Mozilla 1.1N (X11; I; HP-UX B.10.01 9000/867)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: (no subject)
X-Url: http://www.hermetica.com/technologia/DBI/doc/faq.html#q14
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

I'm getting the following error

Can't load module DBI, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the DBI module statically linked into it.)
 at /opt/perl5/lib/site_perl/DBI.pm line 32
BEGIN failed--compilation aborted at DBI_Query.pl line 5.

I'm compiling on an HP platform, the script DBI_Query.pl is copied from the
sample query on Hermetica, line 5 reads simply

use DBI;

The message itself seems simple enough, but I'm not sure what to do to build
a perl executable which supports dynamic loading.

I remember seeing something about this on the mailing list, but I was a
bonehead
and didn't save it, if someone could help me with this off-line or point me
to an archive for the DBI-mailing list I would be eternally grateful.


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01283-3@oink>;
          Wed, 10 Apr 1996 04:34:17 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829103951:07129:1; Wed, 10 Apr 96 03:39:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06859; 10 Apr 96 3:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA15129 for dbi-users-real; Tue, 9 Apr 1996 19:31:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA15124 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 19:31:13 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa03097; 10 Apr 96 2:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aj03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27219-0@oink>;
          Tue, 9 Apr 1996 18:33:56 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06779;
          Tue, 9 Apr 1996 18:33:50 +0000
Date: Tue, 9 Apr 1996 18:33:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604091733.AA06779@toad.ig.co.uk>
To: mlk@trinet.com, descarte@hermetica.com
Subject: Re: Q: Web & DBI Interface - connect/disconnect
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 834
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > We've successfully put together a web-based system that interfaces
> > with Oracle thanks to DBI!
> > 
> > Now, I was wondering if a user clicks "STOP" on their web browser
> > while a DB process is underway will the DB connection close properly
> > or do we need to trap this condition and issue a disconnect???
> > 
> > If the later needs to be done, how? Examples would be great.
> > 
> > We're using perl 5.002 & Netsite.
> 
> The httpd should issue a SIGKILL to an interrupted CGI process,

Are you sure? Sending KILL first seems _very_ antisocial.
A HUP first with a KILL later if not dead would be more normal.

> and,
> provided you haven't overriden the signal handler, it should terminate
> the process cleanly.

You can't catch SIGKILL. It's always fatal.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01283-5@oink>;
          Wed, 10 Apr 1996 04:34:27 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829104023:07472:1; Wed, 10 Apr 96 03:40:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa07162; 10 Apr 96 3:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA15116 for dbi-users-real; Tue, 9 Apr 1996 19:31:04 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA15112 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 19:31:01 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa02856; 10 Apr 96 2:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27088-0@oink>;
          Tue, 9 Apr 1996 17:22:32 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06608;
          Tue, 9 Apr 1996 17:22:12 +0000
Date: Tue, 9 Apr 1996 17:22:12 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604091622.AA06608@toad.ig.co.uk>
To: dbi-users@fugue.com, kirby@shellie.rmt.utk.edu
Subject: Re: DBI-0.68 problems
X-Sun-Charset: US-ASCII
content-length: 1024
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Joe Kirby <kirby@shellie.rmt.utk.edu>
> 
> I suspect the following is a faq, but I haven't been able to find one, so 
> here goes:
> 
> the test fail with complaints about "strict refs"
> 
> PERL_DL_NONLAZY=1 /bin/perl -I./blib/i486-linux -I./blib -I/usr/lib/perl5/i486-linux/5.002 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/min...............Can't use string ("ENV") as a HASH ref while "strict refs" in use at blib/DBI.pm line 29.
> Can't use string ("DBI::dbi_debug") as a SCALAR ref while "strict refs" in use at blib/DBI.pm line 124.

I've not seen this problem before. Because of that I can be pretty sure
that it's local to you and not a problem with the DBI module itself.

The lines in my DBI/pm file are:

  27	use strict;
  28
  29	$DBI::dbi_debug = $ENV{PERL_DBI_DEBUG} || 0;

 123	END {
 124	    warn "DBI::END\n" if $DBI::dbi_debug;

and they've work fine for many many other people.

I suspect your perl and/or perl library is unwell.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01282-7@oink>;
          Wed, 10 Apr 1996 04:34:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829103883:26245:2; Wed, 10 Apr 96 03:38:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26077; 10 Apr 96 3:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA15141 for dbi-users-real; Tue, 9 Apr 1996 19:31:25 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA15134 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 19:31:22 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ah02900; 10 Apr 96 2:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id am03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27267-0@oink>;
          Tue, 9 Apr 1996 18:47:53 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06817;
          Tue, 9 Apr 1996 18:47:47 +0000
Date: Tue, 9 Apr 1996 18:47:47 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604091747.AA06817@toad.ig.co.uk>
To: norman_ho@qmgate.fnal.gov, dbi-users@fugue.com
Subject: Re: Subject-- Question abou
X-Sun-Charset: US-ASCII
content-length: 260
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Norman Ho <norman_ho@qmgate.fnal.gov>
>
> Hi there,
>   Is it possible in using Oraperl that user could control SQL
> transactions(like to be decided when to commit or rollback by user)? Any idea?

Umm,
	&ora_commit($dbh);
	&ora_tollback($dbh);

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01282-9@oink>;
          Wed, 10 Apr 1996 04:34:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829103956:26465:1; Wed, 10 Apr 96 03:39:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26296; 10 Apr 96 3:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA15137 for dbi-users-real; Tue, 9 Apr 1996 19:31:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA15131 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 19:31:20 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ad02900; 10 Apr 96 2:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ak03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27231-0@oink>;
          Tue, 9 Apr 1996 18:39:36 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06793;
          Tue, 9 Apr 1996 18:39:29 +0000
Date: Tue, 9 Apr 1996 18:39:29 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604091739.AA06793@toad.ig.co.uk>
To: dbi-users@fugue.com, descarte@hermetica.com
Subject: Re: Request for help (fwd)
X-Sun-Charset: US-ASCII
content-length: 541
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> I was trying to run the Makefile.PL for installing DBI driver.
> I have downloaded and installed MakeMaker 5.16. 
> On running Makefile.PL I am getting errors on "qw(&WriteMakefile,&Verbose)
> and also an error that "DBI.pm not found". 
> 
> I could not find out the possible cause of these errors.
> 
> Please let me know how can I get rid of these errors or the
> person whom I can contact for this. 

Get, build and install perl5.002 then fetch and build DBI version 0.68.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01282-11@oink>;
          Wed, 10 Apr 1996 04:34:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829103961:26453:2; Wed, 10 Apr 96 03:39:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26310; 10 Apr 96 3:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA15123 for dbi-users-real; Tue, 9 Apr 1996 19:31:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA15118 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 19:31:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ag02900; 10 Apr 96 2:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27187-0@oink>;
          Tue, 9 Apr 1996 18:17:46 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06735;
          Tue, 9 Apr 1996 18:17:40 +0000
Date: Tue, 9 Apr 1996 18:17:40 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604091717.AA06735@toad.ig.co.uk>
To: dbi-users@fugue.com, zarina@ms.mimos.my
Subject: Re: Oraperl build problem on Sun
X-Sun-Charset: US-ASCII
content-length: 723
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Zarina Musa <zarina@ms.mimos.my>
> 
> Hello...,
> 	I'm trying to build Oraperl on SunOS 4.1.4 I keep having
> this error when running make. I'm not sure which libraries it didn't
> find...whether it's oraperl's, perl's, oracle's or SunOS's itself.
> Can anybody look at the build message below and give suggestions? Any 
> pointers will be greatly appreciated.
> 
> Thanx in advance.
> Below is the build message....
>  
> cc -Bdynamic -L/home/oracle/orahome/lib -o oraperl 
> /usr/local/perl-4.036/uperl.
>       -lm /home/oracle/orahome/lib/libocic.a 
> /home/oracle/orahome/lib/osntab.o x
> ld: Undefined symbol
>    _lxclas
>    _lxhcrenv

Take a look in ftp://ftp.demon.co.uk/pub/perl/db/perl4/oraperl/

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01282-14@oink>;
          Wed, 10 Apr 1996 04:35:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829104642:29157:2; Wed, 10 Apr 96 03:50:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28864; 10 Apr 96 3:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA15147 for dbi-announce-real; Tue, 9 Apr 1996 19:31:41 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA15143 
          for <dbi-announce@fugue.com>; Tue, 9 Apr 1996 19:31:38 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ad02856; 10 Apr 96 2:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id az03275; 10 Apr 96 3:29 +0100
Received: from toad by oink with SMTP (PP) id <29302-0@oink>;
          Tue, 9 Apr 1996 21:56:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07344;
          Tue, 9 Apr 1996 21:55:49 +0000
Date: Tue, 9 Apr 1996 21:55:49 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604092055.AA07344@toad.ig.co.uk>
To: dbi-announce@fugue.com, simonw@amtrak.co.uk, descarte@mcqueen.com
Subject: Re: Problems with lookup
Cc: simonw@lion.amtrak.co.uk
X-Sun-Charset: US-ASCII
content-length: 1126
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Simon Windsor <simonw@amtrak.co.uk>
> 
> I have been using perl5 with the DBI(0.68) and DBD-Oracle(0.28) for
> several weeks now without any problems. However, today I have noticed
> the following:-

> According to the DBI documentation, the lookup function can be used
> for single selects, but code option A gives me the following error
> message
> 
> Can't locate object method "lookup" via package "DBI::db" at lookup
> line 11.
> 
> Has the lookup function been implemented, or am I doing something
> silly?

Well the problem is regarding the DBI spec as being a spec (but that's
hardly your fault). The lookup method has never been implemented.

I'll state this very clearly for everyone:

  1.  THE "DBperl SPECIFICATION" (0.6 etc) IS OF HISTORICAL INTEREST ONLY.

  2.  THE INTERFACE IT DEFINES DOES *NOT* REFLECT REALITY.

  3.  THE CURRENT INTERFACE IS SUMMARIZED AT THE END OF DBI.pm

  4.  THE CURRENT INTERFACE WILL CHANGE IN SOME (HOPEFULLY MINOR) DETAIL
      WHEN THE DBI ADDS ODBC SUPPORT.

I would appreciate it if this message could be writ large near the
'DBperl Spec' on the DBI web pages.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02105-3@oink>;
          Wed, 10 Apr 1996 05:41:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829110753:21192:3; Wed, 10 Apr 96 05:32:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21023; 10 Apr 96 5:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA15303 for dbi-users-real; Tue, 9 Apr 1996 21:28:24 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id VAA15299 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 21:28:19 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa13568; 10 Apr 96 5:28 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae08775; 10 Apr 96 5:22 +0100
Received: from toad by oink with SMTP (PP) id <01186-0@oink>;
          Wed, 10 Apr 1996 04:13:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16638;
          Wed, 10 Apr 1996 04:13:34 +0000
Date: Wed, 10 Apr 1996 04:13:34 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604100313.AA16638@toad.ig.co.uk>
To: dbi-users@fugue.com, jrt128@cs.usask.ca
Subject: Re: DBI and NT
X-Sun-Charset: US-ASCII
content-length: 721
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Judi Thomson <jrt128@cs.usask.ca>
> 
> (newbie warning)...
> 	I have looked through the mailing list archive and any FAQs I
> could find but didn't find any answers.
> 	I'd like to interface perl on my NT machine with the DBI.  I don't
> really care which database module at this point, I just want to get it 
> working.  
> 	Has anyone done this already?  Are there changes I need to make to
> the DBI or to the database module I choose?  Are there interfaces to "PCish"
> databases such as Foxpro, Access, Paradox...?
> 
> 	Thanks for any help you can give.
> 	Judi Thomson

To be honest, your best bet for NT is probably a direct ODBC interface
such as ftp://ftp.infowire.com/pub/ntperl/NTodbc_v0.5.zip

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00991-0@oink>;
          Wed, 10 Apr 1996 12:15:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829112028:25724:2; Wed, 10 Apr 96 05:53:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25638; 10 Apr 96 5:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA15370 for dbi-users-real; Tue, 9 Apr 1996 21:51:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from srvr7.engin.umich.edu (root@srvr7.engin.umich.edu [141.212.2.69]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA15366 
          for <dbi-users@fugue.com>; Tue, 9 Apr 1996 21:51:17 -0700
Received: from srvr5.engin.umich.edu (root@srvr5.engin.umich.edu [141.212.2.89]) 
          by srvr7.engin.umich.edu (8.7.5/8.7.3) with ESMTP id AAA01979;
          Wed, 10 Apr 1996 00:51:59 -0400 (EDT)
Received: from zaphod (pm038-29.dialip.mich.net [141.211.7.133]) 
          by srvr5.engin.umich.edu (8.7.5/8.7.3) with SMTP id AAA01060;
          Wed, 10 Apr 1996 00:51:31 -0400 (EDT)
Message-ID: <316B4D2D.3ECF@umich.edu>
Date: Wed, 10 Apr 1996 00:54:53 -0500
From: Dan DeMaggio <dmag@umich.edu>
Organization: None
X-Mailer: Mozilla 2.0GoldB1 (WinNT; I)
MIME-Version: 1.0
To: Judi Thomson <jrt128@cs.usask.ca>
CC: dbi-users@fugue.com
Subject: Re: DBI and NT
References: <199604081712.LAA12641@skorpio3.usask.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Judi Thomson wrote:
>         I'd like to interface perl on my NT machine with the DBI.

 No you don't. ;)  I don't think anyone's tried to compile DBI for NT, and I doubt any 
of the DBI database drivers would port either.  But there is a quick & dirty 
solution. Check out Dave Roth's rewrite of my ODBC Perl:

ftp://ftp.infowire.com/pub/ntperl/NTodbc_v0.5.zip or CPAN.

> Are there interfaces to "PCish" databases such as Foxpro, Access, Paradox...?

Anything you have an ODBC driver for. Access/Office/VisualBasic all come with These 
ODBC drivers.  I use it for SQL Server myself.

-- 
Dan DeMaggio (dmag@umich.edu)
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01923-0@oink>;
          Wed, 10 Apr 1996 14:05:05 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829141413:28641:3; Wed, 10 Apr 96 14:03:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28144; 10 Apr 96 14:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA15949 for dbi-users-real; Wed, 10 Apr 1996 05:49:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA15945 
          for <dbi-users@toccata.fugue.com>; Wed, 10 Apr 1996 05:49:29 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ak17165; 10 Apr 96 13:48 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae03012; 10 Apr 96 13:02 +0100
Received: from toad by oink with SMTP (PP) id <02362-0@oink>;
          Wed, 10 Apr 1996 06:15:07 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20296;
          Wed, 10 Apr 1996 06:14:56 +0000
Date: Wed, 10 Apr 1996 06:14:56 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604100514.AA20296@toad.ig.co.uk>
To: dbi-users@toccata.fugue.com, lebel@socom.com
Subject: Re: Bus Error with DBD-Oracle 0.28
X-Sun-Charset: US-ASCII
content-length: 829
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: David Lebel <lebel@socom.com>
> 
> When I try to compile and test DBD-Oracle 0.28 (with DBI-0.67), I get
> a bus error when my test application exit.  I've used one of the
> samples inside oraperl.ex and they all coredump (Bus Error) when they
> terminate. 

> PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5,002

Strange comma in 5,002. Odd but not fatal.

> 	This is with Oracle 7.1.6.2.0, gcc 2.7.2, perl 5.002,
> DBD-Oracle 0.28, DBI-0.67, and Solaris 2.5.
> 
> 	Any hints?

I need more hints first :-)

Try writing a _very_ small test case which still core dumps and then
run it after setting the PERL_DBI_DEBUG env var to 3 and send me the
output.

Also try to get a stack trace from the core file.

You could also try upgrading to the latest versions.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01941-0@oink>;
          Wed, 10 Apr 1996 14:06:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829141385:05778:1; Wed, 10 Apr 96 14:03:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05529; 10 Apr 96 14:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA15958 for dbi-users-real; Wed, 10 Apr 1996 05:58:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA15954 
          for <dbi-users@fugue.com>; Wed, 10 Apr 1996 05:58:20 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ad17457; 10 Apr 96 13:55 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af03012; 10 Apr 96 13:02 +0100
Received: from toad by oink with SMTP (PP) id <02381-0@oink>;
          Wed, 10 Apr 1996 06:17:29 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20304;
          Wed, 10 Apr 1996 06:17:21 +0000
Date: Wed, 10 Apr 1996 06:17:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604100517.AA20304@toad.ig.co.uk>
To: dbi-users@fugue.com, petergg@saturn.mincom.oz.au
Subject: Re: Bad free() warning message
X-Sun-Charset: US-ASCII
content-length: 404
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Peter Golledge <petergg@saturn.mincom.oz.au>
> 
> After building DBD::Oracle (version 0.28) under HP-UX 9.04 I receive
> warnings of the form:  Bad free() ignored at test.pl line XXX where
> line XXX is where the ora_logoff function is called.
> 
> Any ideas on what is wrong?

Yes, Oracle's QA department.

You try rebuilding perl with that warning disabled or with HIDEMYMALLOC
defined.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06204-17@oink>;
          Thu, 11 Apr 1996 07:15:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829182031:17470:0; Thu, 11 Apr 96 01:20:31 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16830; 11 Apr 96 1:19 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa05699; 11 Apr 96 1:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA16851 for dbi-users-real; Wed, 10 Apr 1996 13:43:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA16847 
          for <dbi-users@fugue.com>; Wed, 10 Apr 1996 13:43:00 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id VAA20373; Wed, 10 Apr 1996 21:30:26 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604102030.VAA20373@fruitbat.mcqueen.com>
Subject: Re: Q: Web & DBI Interface - connect/disconnect
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Date: Wed, 10 Apr 1996 21:30:26 +0100 (BST)
Cc: mlk@trinet.com, descarte@hermetica.com, dbi-users@fugue.com
In-Reply-To: <9604091733.AA06779@toad.ig.co.uk> from "Tim Bunce" at Apr 9, 96 06:33:50 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 976


> > > Now, I was wondering if a user clicks "STOP" on their web browser
> > > while a DB process is underway will the DB connection close properly
> > > or do we need to trap this condition and issue a disconnect???
> > 
> > The httpd should issue a SIGKILL to an interrupted CGI process,
> 
> Are you sure? Sending KILL first seems _very_ antisocial.
> A HUP first with a KILL later if not dead would be more normal.

Nope! Although, off the top of my head I do recall the CERN daemon exhibiting
this behaviour at one point....I'm not sure. Eitherway, it issues a SIG
something which should clear up any bizarrities..........

> > and,
> > provided you haven't overriden the signal handler, it should terminate
> > the process cleanly.
> 
> You can't catch SIGKILL. It's always fatal.

Boo! 

> Tim.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06204-18@oink>;
          Thu, 11 Apr 1996 07:15:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829182641:21339:0; Thu, 11 Apr 96 01:30:41 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa20985; 11 Apr 96 1:30 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa08037; 11 Apr 96 1:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA16875 for dbi-users-real; Wed, 10 Apr 1996 13:55:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA16871 
          for <dbi-users@fugue.com>; Wed, 10 Apr 1996 13:55:51 -0700
Received: from localhost (pixel@localhost) 
          by rhino.coe.missouri.edu (8.7.3/8.7.1) with SMTP id PAA13335;
          Wed, 10 Apr 1996 15:56:43 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Wed, 10 Apr 1996 15:56:42 -0500 (CDT)
From: James Cooper <pixel@tiger.coe.missouri.edu>
To: dbi-users@fugue.com
cc: Tim.Bunce@ig.co.uk
Subject: DBD-Oracle-0.29: install on IRIX 5.3
Message-ID: <Pine.SGI.3.92.960410155351.5826D-100000@rhino.coe.missouri.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello,

I just installed DBD-Oracle-0.29 on an SGI Indy running IRIX 5.3

I had to make the following change to the dbdimp.c file:

line 811:  from: safefree(imp_sth->fbh);
	     to: safefree((char *)imp_sth->fbh);

the built in cc compiler was complaining about incompatable pointer
assignments.  That change seems to have worked.  The test claim to have
run properly.

Is this a result of using a finiky compiler?

Thanks

-- James

.........................................................................
                        James Paul Cooper * Pixel
                         MU College of Education
       pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
.........................................................................

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <10322-0@oink>;
          Thu, 11 Apr 1996 16:51:29 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829237715:03593:3; Thu, 11 Apr 96 16:48:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa03176; 11 Apr 96 16:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA18856 for dbi-users-real; Thu, 11 Apr 1996 08:31:08 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA18852 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 08:31:06 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa02592; 11 Apr 96 16:26 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab22131; 11 Apr 96 16:26 +0100
Received: from toad by oink with SMTP (PP) id <09477-0@oink>;
          Thu, 11 Apr 1996 11:37:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA26091;
          Thu, 11 Apr 1996 11:37:36 +0000
Date: Thu, 11 Apr 1996 11:37:36 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604111037.AA26091@toad.ig.co.uk>
To: dbi-users@fugue.com, pixel@tiger.coe.missouri.edu
Subject: Re: DBD-Oracle-0.29: install on IRIX 5.3
X-Sun-Charset: US-ASCII
content-length: 583
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: James Cooper <pixel@tiger.coe.missouri.edu>
> 
> Hello,
> 
> I just installed DBD-Oracle-0.29 on an SGI Indy running IRIX 5.3
> 
> I had to make the following change to the dbdimp.c file:
> 
> line 811:  from: safefree(imp_sth->fbh);
> 	     to: safefree((char *)imp_sth->fbh);
> 
> the built in cc compiler was complaining about incompatable pointer
> assignments.  That change seems to have worked.  The test claim to have
> run properly.
> 
> Is this a result of using a finiky compiler?

Partly. My fix is to s/safefree/Safefree/ but it amounts to the same thing.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12769-2@oink>;
          Thu, 11 Apr 1996 20:23:05 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829250026:15282:0; Thu, 11 Apr 96 20:13:46 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa14772; 11 Apr 96 20:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa20288; 11 Apr 96 20:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA18850 for dbi-users-real; Thu, 11 Apr 1996 08:30:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from super.marketorder.com ([206.159.57.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA18846 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 08:30:54 -0700
Received: from LOCALHOST by super.marketorder.com (AIX 3.2/UCB 5.64/4.03) 
          id AA29918; Thu, 11 Apr 1996 08:31:24 -0700
Message-Id: <316D25CB.41C6@marketorder.com>
Date: Thu, 11 Apr 1996 08:31:23 -0700
From: Michael Moores <moores@super.marketorder.com>
Organization: Market Ware Corp.
X-Mailer: Mozilla 2.01 (X11; I; AIX 2)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: DBI::DBD w/ ODBC (an ODBC DBD ?)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

SOme time ago I posted a question regarding a DBD for 
Raima Velocis RDBMS.  Apparently there were no others aquainted
with the product then (http://www.raima.com).

I am migrating our product, with an embedded INformix V5 database,
to Velocis.   Interestingly enough, Raima was involved in the original 
round table discussions for ODBC and ended up using this API
as one of their native access APIs (their SQL API).

I have not kept up with the flurry of postings to this group, but
I faintly recall discussion of "free ODBC" in this group.  Correct??
If so, what is the relationship to DBI, and where do I get
more info?

If I need to, I will write a DBD for Velocis, but this will most likely
be an ODBC driver.  Is there anyone who has done this for a Unix
system?  Our instances run mostly on AIX, and it would be very nice
to have a perl5 interface to them.

In the future there wil likely be more Unix ODBC drivers for more
SQL engines.  Do you agree?


Best Regards,

--Michael Moores
MarketWare Corp.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13055-2@oink>;
          Thu, 11 Apr 1996 21:15:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829253447:15213:3; Thu, 11 Apr 96 21:10:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15056; 11 Apr 96 21:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA19402 for dbi-users-real; Thu, 11 Apr 1996 13:02:19 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.Clark.Net (mail.clark.net [168.143.0.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA19398 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 13:02:18 -0700
Received: from MCIWKS01 (mciwks01.pcy.mci.net [204.70.138.27]) 
          by mail.Clark.Net (8.7.3/8.6.5) with SMTP id QAA01132 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 16:03:24 -0400 (EDT)
Message-ID: <316D6567.392@clark.net>
Date: Thu, 11 Apr 1996 16:02:47 -0400
From: Jeff Posner <jposner@clark.net>
Organization: MCI
X-Mailer: Mozilla 2.01Gold (WinNT; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Memory Leak
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Has anyone noticed a memory leak with
dbi/dbd::oracle.  Here is a test case which leaks
after each open/close cycle:

    #!/usr/local/bin/perl
    use Oraperl;
    $l = ora_login($sid, $user, $pw) || die "Can't connect";
    while (1) {
        ora_close(ora_open($l, 'select * from user_tables')) ;
        printf "%d\n", $i++;
    }

My system is Solaris 2.4, gcc 2.7.2, perl5.002, DBI-68, 
DBD::Oracle-29, Oracle 7.2.2.

Thanks for any insight.

Jeff
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13559-7@oink>;
          Thu, 11 Apr 1996 21:55:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829255248:01502:2; Thu, 11 Apr 96 21:40:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01261; 11 Apr 96 21:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA19490 for dbi-users-real; Thu, 11 Apr 1996 13:36:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA19486 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 13:36:31 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ac19704; 11 Apr 96 21:26 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa19710; 11 Apr 96 21:25 +0100
Received: from toad by oink with SMTP (PP) id <13335-0@oink>;
          Thu, 11 Apr 1996 21:25:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00558;
          Thu, 11 Apr 1996 21:25:02 +0000
Date: Thu, 11 Apr 1996 21:25:02 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604112025.AA00558@toad.ig.co.uk>
To: dbi-users@fugue.com, jposner@clark.net
Subject: Re: Memory Leak
X-Sun-Charset: US-ASCII
content-length: 1108
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Jeff Posner <jposner@clark.net>
> 
> Has anyone noticed a memory leak with
> dbi/dbd::oracle.  Here is a test case which leaks
> after each open/close cycle:
> 
>     #!/usr/local/bin/perl
>     use Oraperl;
>     $l = ora_login($sid, $user, $pw) || die "Can't connect";
>     while (1) {
>         ora_close(ora_open($l, 'select * from user_tables')) ;
>         printf "%d\n", $i++;
>     }
> 
> My system is Solaris 2.4, gcc 2.7.2, perl5.002, DBI-68, 
> DBD::Oracle-29, Oracle 7.2.2.
> 
> Thanks for any insight.

No insight, but a handy trick... put it in a tight loop then send
it a SIGQUIT once it's grown very large. Then view the core file
(od -c for example) and see if you can spot a very large chunk
consisting of a regularly repeating pattern - that'll be the leak.

If you're lucky the contents may give you a clue, if not then at
least the size of the repeating pattern may be a clue.

Certainly knowing the size of leak per loop may be helpful but
you'll need to let it run through _many_ loops to get an accurate
figure.

Whatever happens I'm off for most of next week. Sorry.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13559-9@oink>;
          Thu, 11 Apr 1996 21:55:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829255318:02139:3; Thu, 11 Apr 96 21:41:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29772; 11 Apr 96 21:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA19474 for dbi-users-real; Thu, 11 Apr 1996 13:33:41 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA19470 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 13:33:37 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ab18272; 11 Apr 96 20:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa13856; 11 Apr 96 21:02 +0100
Received: from toad by oink with SMTP (PP) id <13015-0@oink>;
          Thu, 11 Apr 1996 21:02:09 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00459;
          Thu, 11 Apr 1996 21:02:01 +0000
Date: Thu, 11 Apr 1996 21:02:01 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604112002.AA00459@toad.ig.co.uk>
To: dbi-users@fugue.com, moores@super.marketorder.com
Subject: Re: DBI::DBD w/ ODBC (an ODBC DBD ?)
X-Sun-Charset: US-ASCII
content-length: 343
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Michael Moores <moores@super.marketorder.com>
> 
> If I need to, I will write a DBD for Velocis, but this will most likely
> be an ODBC driver.

I don't understand that sentance. If it's an ODBC driver then it's
not a DBD.

> In the future there wil likely be more Unix ODBC drivers for more
> SQL engines.  Do you agree?

Yes.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14103-0@oink>;
          Thu, 11 Apr 1996 22:22:58 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829257663:16580:2; Thu, 11 Apr 96 22:21:03 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa16429; 11 Apr 96 22:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA19612 for dbi-users-real; Thu, 11 Apr 1996 14:10:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA19608 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 14:10:40 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id WAA05739; Thu, 11 Apr 1996 22:04:59 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604112104.WAA05739@fruitbat.mcqueen.com>
Subject: Re: Can't connect to MSQL server
To: scheinin@crs4.it (Alan Scheinine)
Date: Thu, 11 Apr 1996 22:04:58 +0100 (BST)
Cc: dbi-users@fugue.com, descarte@hermetica.com, scheinin@crs4.it
In-Reply-To: <199604112046.AA26009@scallion.crs4.it> from "Alan Scheinine" at Apr 11, 96 10:46:23 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1170


> I am using a private database for testing with the following
> environmental variables.
> MSQL_UNIX_PORT=/u/scheinin/Minerva/msql.socket
> MSQL_TCP_PORT=1116
> MSQL_HOME=/u/scheinin/Minerva
> The database is there and the daemon is running, the
> command "relshow" finds it.
> 
> There error message is:
> $ make test
>         PERL_DL_NONLAZY=1 /u/perl/bin/r6k/perl5.002 -I./blib/arch -I./blib/lib -I/u/perl/lib/perl5002/aix/5.002 -I/u/perl/lib/perl5002 test.pl
> Testing: DBI->install_driver( 'mSQL' ): ok
> Testing: $drh->func( 'scallion', '_ListDBs' ): ok
> Connect: Connection refused
> not ok: Can't connect to MSQL server on scallion

If your machine is the same one as you're running perl on, change the hostname
to '' instead of whatever it is. If it's not and you need to use TCP/IP, there
is a patch for a 'ntohs' bug in mSQL that may fix it. I haven't had time to
apply and try yet, but that sounds exactly like the problem you're
experiencing.

> Alan Scheinine  scheinin@crs4.it

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14823-0@oink>;
          Thu, 11 Apr 1996 23:52:23 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829262963:19341:1; Thu, 11 Apr 96 23:49:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17432; 11 Apr 96 23:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA19901 for dbi-users-real; Thu, 11 Apr 1996 15:39:29 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ryan.hublink.com ([198.30.188.5]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA19897 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 15:39:13 -0700
Received: from grand.hublink.com by ryan.hublink.com (5.x/SMI-SVR4) id AA08494;
          Thu, 11 Apr 1996 18:38:21 -0400
Received: from grand (localhost) by grand.hublink.com (5.x/SMI-SVR4) id AA02322;
          Thu, 11 Apr 1996 18:38:22 -0400
Message-Id: <316D89DD.2DE2@hublink.com>
Date: Thu, 11 Apr 1996 18:38:21 -0400
From: Eric Lu <elu@hublink.com>
Organization: Hublink Inc.
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
Mime-Version: 1.0
To: dbi-users@fugue.com
Cc: elu@hublink.com
Subject: DBD-Oracle-0.29: "make test" failed on HP-UX 9.x
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

I just installed DBI-0.68 and DBD-Oracle-0.29 on HP-UX 9.x. Everying went ok except
I can't pass "make test" in DBD-Oracle-0.29.

I changed the "test.pl" to fit into my local environment. Set up:
	ORACLE_SID=hub
	ORACLE_USERID=cpd

Modify "test.pl" from
	$dbname = $ARGV[0] || '';	
to	
	$dbname = $ENV{TWO_TASK} || $ENV{ORACLE_SID} || 'crgs';
and	
	local($l) = &ora_login($dbname, $dbuser, '');
to	
	local($l) = &ora_login($dbname, $dbuser, 'password');

Then I got this message after did a "make test":

"elu:hp ->make test
        PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.002 -I/opt/perl5/lib -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=2,  Tests=6,  1 secs ( 1.00 cusr  0.17 csys =  1.17 cpu)
        PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.002 -I/opt/perl5/lib test.pl
Oraperl test application $Revision: 1.20 $

Oraperl Emulation Interface version 1.23 
Oracle Driver 0.29
DBI-0.68 Switch by Tim Bunce, version 0.68


Connecting
 to 'hub' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'cpd' (via ORACLE_USERID environment var or default)
ora_login: 1017: ORA-01017: invalid username/password; logon denied (DBD: login
failed)
*** Error code 255

Stop."

If I set up TWO_TASK=t:hp:hub, I got:
"elu:hp ->make test
        PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.002 -I/opt/perl5/lib -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=2,  Tests=6,  1 secs ( 0.99 cusr  0.19 csys =  1.18 cpu)
        PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.002 -I/opt/perl5/lib test.pl
Oraperl test application $Revision: 1.20 $

Oraperl Emulation Interface version 1.23 
Oracle Driver 0.29
DBI-0.68 Switch by Tim Bunce, version 0.68


Connecting
 to 't:hp:hub' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'cpd' (via ORACLE_USERID environment var or default)
ora_login: 6401: ORA-06401: NETCMN: invalid driver designator (DBD: login failed)

Could not connect to database. Test aborted.
*** Error code 2

Stop.
elu:hp ->"

Thanks very much for help.

--Eric
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15234-1@oink>;
          Fri, 12 Apr 1996 00:37:24 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829265797:07273:0; Fri, 12 Apr 96 00:36:37 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa06751; 12 Apr 96 0:35 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa09473; 12 Apr 96 0:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA19553 for dbi-users-real; Thu, 11 Apr 1996 13:56:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA19549 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 13:56:45 -0700
Received: by gw.home.vix.com id NAA20970; Thu, 11 Apr 1996 13:52:49 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: by scallion.crs4.it id AA26009 (5.67b/IDA-1.4.4 
          for dbi-users@fugue.com); Thu, 11 Apr 1996 22:46:23 +0200
Date: Thu, 11 Apr 1996 22:46:23 +0200
From: Alan Scheinine <scheinin@crs4.it>
Message-Id: <199604112046.AA26009@scallion.crs4.it>
To: dbi-users@fugue.com, descarte@hermetica.com, scheinin@crs4.it
Subject: Can't connect to MSQL server

Tests fail for DBD-mSQL, using versions
DBD-mSQL-0.60pl10
DBI-0.68

I am using a private database for testing with the following
environmental variables.
MSQL_UNIX_PORT=/u/scheinin/Minerva/msql.socket
MSQL_TCP_PORT=1116
MSQL_HOME=/u/scheinin/Minerva
The database is there and the daemon is running, the
command "relshow" finds it.

There error message is:
$ make test
        PERL_DL_NONLAZY=1 /u/perl/bin/r6k/perl5.002 -I./blib/arch -I./blib/lib -I/u/perl/lib/perl5002/aix/5.002 -I/u/perl/lib/perl5002 test.pl
Testing: DBI->install_driver( 'mSQL' ): ok
Testing: $drh->func( 'scallion', '_ListDBs' ): ok
Connect: Connection refused
not ok: Can't connect to MSQL server on scallion

Thanks in advance for your help,
Alan Scheinine  scheinin@crs4.it

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15273-2@oink>;
          Fri, 12 Apr 1996 00:47:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829266184:10190:2; Fri, 12 Apr 96 00:43:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09902; 12 Apr 96 0:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA20079 for dbi-users-real; Thu, 11 Apr 1996 16:38:08 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ids.net (ids.net [155.212.1.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA20075 
          for <dbi-users@fugue.com>; Thu, 11 Apr 1996 16:38:06 -0700
Received: from conan.ids.net by ids.net with SMTP;
          Thu, 11 Apr 1996 19:38:22 -0400 (EDT)
Date: Thu, 11 Apr 1996 19:38:16 -0400 (EDT)
From: Brian Jepson <bjepson@conan.ids.net>
To: Michael Moores <moores@super.marketorder.com>
cc: dbi-users@fugue.com
Subject: Re: DBI::DBD w/ ODBC (an ODBC DBD ?)
In-Reply-To: <316D25CB.41C6@marketorder.com>
Message-ID: <Pine.SUN.3.92.960411193439.14158B-100000@conan.ids.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 11 Apr 1996, Michael Moores wrote:

[...]
>
> I have not kept up with the flurry of postings to this group, but
> I faintly recall discussion of "free ODBC" in this group.  Correct??
> If so, what is the relationship to DBI, and where do I get
> more info?
>
freeODBC is presently in the "requirements" stage. It will basically be a
free ODBC driver development kit, and will probably "ship" with drivers
for Postgres95, Sybase, and Oracle. The discussion about freeODBC started
taking place on the dbi-dev list, and that list is the official
discusrrion list for the project. You can find out more info on:

http://www.ids.net/~bjepson/freeODBC

Hope this helps,

Brian Jepson (bjepson@conan.ids.net)
---===[[[@>>> Perl, FoxPro, SQL Server, HTML
http://www.ids.net/~bjepson/

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24060-0@oink>;
          Fri, 12 Apr 1996 23:34:00 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829340930:04007:1; Fri, 12 Apr 96 21:28:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa02677; 12 Apr 96 21:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA21662 for dbi-users-real; Fri, 12 Apr 1996 13:05:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bnr.ca (x400gate.bnr.ca [192.58.194.73]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA21658 
          for <dbi-users@fugue.com>; Fri, 12 Apr 1996 13:04:54 -0700
X400-Received: by mta bnr.ca in /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
               Fri, 12 Apr 1996 15:52:52 -0400
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
               Fri, 12 Apr 1996 15:51:36 -0400
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
               Fri, 12 Apr 1996 15:51:00 -0400
Date: Fri, 12 Apr 1996 15:51:00 -0400
X400-Originator: /dd.id=0509367/g=ayad/i=a/s=sabbagh/@bnr.ca
X400-MTS-Identifier: [/PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/;bcars520.b.672:12.03.96.19.51.36]
X400-Content-Type: P2-1984 (2)
Content-Identifier: Help
From: "ayad (a.) sabbagh" <asabbagh@bnr.ca>
Message-ID: <"8629 Fri Apr 12 15:51:57 1996"@bnr.ca>
To: dbi-users@fugue.com
Subject: Help

Hello

I'm installing DBD-mSQL-0.60pl9
Here is what I did:

edit the Makefile.PL
        - put the correct path to perl on the first line
          i.e. /usr/pde/perl/bin/hppa/perl
        - before the first use, add the following
          BEGIN {
             push (@INC, "/bnr/projects/cus_proj_reg/software/DBI-0.65/dummy/lib");
          }
          (replace the path with my path to DBI lib)
- set the environment variable MSQL_HOME as 
/bnr/projects/cus_proj_reg/software/minerva
- run '/usr/pde/perl/bin/hppa/perl Makefile.PL'

I GET THE FOLLOWING ERROR:

Can't find loadable object for module DBI in @INC at /bnr/projects/cus_proj_reg/software/DBI-0.65/dummy/lib/DBI.pm line 30
BEGIN failed--compilation aborted at Makefile.PL line 21.

WHY IS THIS HAPPENING AND HOW CAN I FIX IT???


Regards
Ayad
Nortel                                                                   
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24868-5@oink>;
          Sat, 13 Apr 1996 00:45:58 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829351454:04525:0; Sat, 13 Apr 96 00:24:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa03865; 13 Apr 96 0:23 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa14071; 13 Apr 96 0:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA21936 for dbi-users-real; Fri, 12 Apr 1996 16:16:39 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sahp088 (sahp088.ttd.sandia.gov [132.175.125.22]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA21932 
          for <dbi-users@fugue.com>; Fri, 12 Apr 1996 16:16:33 -0700
Received: from saquad001 by sahp088 with SMTP (1.38.193.4/16.2) id AA13339;
          Fri, 12 Apr 1996 17:17:52 -0600
Message-Id: <316EE4A1.30AD@ttd.sandia.gov>
Date: Fri, 12 Apr 1996 17:17:53 -0600
From: "Steven D. Wix" <sdwix@sahp088.ttd.sandia.gov>
X-Mailer: Mozilla 2.0 (Macintosh; I; PPC)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Remote ORACLE and ACCESS connections
X-Url: http://www.hermetica.com/technologia/DBI/DBD/index.html#Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm interested in using DBI to contact remote Oracle and ACCESS 
databases. Is it possible to connect to remote databases using DBI?
Thanks in advance

-- 
______________________________________________________________________
__
                                               Steven D. Wix
     _/_/_/    _/     _/   _/        SANDIA NATIONAL LABORATORIES        
_/_/_/
   _/            _/_/  _/  _/        P. O. Box 5800, MS 0717                      
_/_/
  _/_/_/   _/ _/ _/  _/        Albuquerque, NM 87185-0717       
_/_/_/_/_/_/
         _/   _/  _/_/  _/        phone: (505) 844-0778                 
_/   _/_/    _/
_/_/_/   _/    _/  _/_/_/    fax: (505) 842-0244                  _/  
_/_/    _/
                                                                                                 
_/_/
  Transportation Systems            Thermal Analyst
 Technology Department (6642)       Acting LAN 25 System Administrator
  e-mail: sdwix@ttd.sandia.gov

"These are my opinions only"_
______________________________________________________________________
_
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00850-20@oink>;
          Mon, 15 Apr 1996 07:11:24 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829541571:27688:1; Mon, 15 Apr 96 05:12:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa27438; 15 Apr 96 5:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA24627 for dbi-users-real; Sun, 14 Apr 1996 20:47:10 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA24623 
          for <dbi-users@fugue.com>; Sun, 14 Apr 1996 20:47:08 -0700
Received: from localhost (pixel@localhost) 
          by rhino.coe.missouri.edu (8.7.3/8.7.1) with SMTP id WAA14379 
          for <dbi-users@fugue.com>; Sun, 14 Apr 1996 22:45:48 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Sun, 14 Apr 1996 22:45:48 -0500 (CDT)
From: James Cooper <pixel@tiger.coe.missouri.edu>
To: dbi-users@fugue.com
Subject: Getting DESCRIBE data from Oracle w/DBI
Message-ID: <Pine.SGI.3.92.960414223754.11578F-100000@rhino.coe.missouri.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello,

I'm trying to write a generic administration utility that will allow one
to add/edit/delete rows from an Oracle table via the web.

The basis of this script is a menu of all the tables owned by a particular
user.  That information is easy enough to get:

select table_name from all_tables where owner = 'PIXEL';

But the next step is where I'm having trouble. I need to be able to ask
Oracle what columns are in a given table.  Normally I would use the
DESCRIBE command to do this, but I can't seem to pass a DESCRIBE command
to DBI (I've tried using cursors, via $sth = $dbh->prepare($sql), and I've
tried using $sth = $dbh->do($sql)...)

Is there a way to either:

1) Get the results of a DESCRIBE back from Oracle using DBI

or

2) SELECT the row definitions for a given table (presumably from some
all_* table in Oracle).

Thanks

-- James

.........................................................................
                        James Paul Cooper * Pixel
                         MU College of Education
       pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
.........................................................................

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00853-28@oink>;
          Mon, 15 Apr 1996 07:13:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829394480:00364:2; Sat, 13 Apr 96 12:21:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00307; 13 Apr 96 12:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA22677 for dbi-users-real; Sat, 13 Apr 1996 04:11:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id EAA22673 
          for <dbi-users@fugue.com>; Sat, 13 Apr 1996 04:11:36 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id MAA10567; Sat, 13 Apr 1996 12:06:08 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604131106.MAA10567@fruitbat.mcqueen.com>
Subject: Re: Remote ORACLE and ACCESS connections
To: sdwix@sahp088.ttd.sandia.gov (Steven D. Wix)
Date: Sat, 13 Apr 1996 12:06:07 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <316EE4A1.30AD@ttd.sandia.gov> from "Steven D. Wix" at Apr 12, 96 05:17:53 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 427


> I'm interested in using DBI to contact remote Oracle and ACCESS 
> databases. Is it possible to connect to remote databases using DBI?
> Thanks in advance

Access, no at the moment.

Remote ORACLE databases: Use SQL*Net as your underlying transport.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06285-0@oink>;
          Mon, 15 Apr 1996 17:03:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829576192:29386:2; Mon, 15 Apr 96 14:49:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa29317; 15 Apr 96 14:49 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa16911; 15 Apr 96 14:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA25071 for dbi-users-real; Mon, 15 Apr 1996 06:33:41 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from aruba.lerc.nasa.gov (aruba.lerc.nasa.gov [139.88.35.16]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA25067 
          for <dbi-users@fugue.com>; Mon, 15 Apr 1996 06:33:38 -0700
Received: from bytor.lerc.nasa.gov by aruba.lerc.nasa.gov 
          with ESMTP (NASA LeRC 8.7.4.1/2.01-main) id JAA12572;
          Mon, 15 Apr 1996 09:35:17 -0400 (EDT)
Received: by bytor.lerc.nasa.gov (NASA LeRC 8.7.4.1/2.01-local) id JAA02968;
          Mon, 15 Apr 1996 09:35:32 -0400 (EDT)
From: Gary Gapinski <gapinski@lerc.nasa.gov>
Message-Id: <9604150935.ZM2966@bytor.lerc.nasa.gov>
Date: Mon, 15 Apr 1996 09:35:32 -0400
In-Reply-To: James Cooper <pixel@tiger.coe.missouri.edu> "Getting DESCRIBE data from Oracle w/DBI" (Apr 14, 10:45pm)
References: <Pine.SGI.3.92.960414223754.11578F-100000@rhino.coe.missouri.edu>
X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
To: James Cooper <pixel@tiger.coe.missouri.edu>, dbi-users@fugue.com
Subject: Re: Getting DESCRIBE data from Oracle w/DBI
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Hello, James:

The USER_TAB_COLUMNS or ALL_TAB_COLUMNS joined with USER_TABLES or ALL_TABLES
should suffice.

Also, the column names are available from a cursor after its associated select
statement has been prepared.

Regards,

Gary

-- 
__________________________________________________________
Gary Gapinski                email: Gapinski@lerc.nasa.gov
NASA Lewis Research Center   voice: +1 216 433 5251
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08938-12@oink>;
          Tue, 16 Apr 1996 07:08:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829607373:18391:0; Mon, 15 Apr 96 23:29:33 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa17984; 15 Apr 96 23:28 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa24719; 15 Apr 96 23:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA25418 for dbi-users-real; Mon, 15 Apr 1996 11:29:16 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mycogen.com (mycogen.com [199.183.103.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA25414 
          for <dbi-users@fugue.com>; Mon, 15 Apr 1996 11:29:15 -0700
Received: from gouda ([192.9.200.53]) by mycogen.com (4.1/SMI-4.1) id AA02230;
          Mon, 15 Apr 96 13:38:05 CDT
Message-Id: <317295BB.E0C@mycogen.com>
Date: Mon, 15 Apr 1996 13:30:19 -0500
From: Jeffrey David Horn <horn@mycogen.com>
Organization: Mycogen Corporation
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD::Ingres Development Status
X-Url: http://www.hermetica.com/technologia/DBI/DBD/index.html#Ingres
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Is DBI available for (commercial) Ingres?  If so, where can I 
get a copy?  If not, I am interested in developing a driver, who
should I contact regarding making the driver available?

-- Jeff Horn
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <08937-20@oink>;
          Tue, 16 Apr 1996 07:10:16 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829611911:20289:3; Tue, 16 Apr 96 00:45:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa19773; 16 Apr 96 0:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA26192 for dbi-users-real; Mon, 15 Apr 1996 16:32:20 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA26188 
          for <dbi-users@fugue.com>; Mon, 15 Apr 1996 16:32:17 -0700
Received: from localhost (pixel@localhost) 
          by rhino.coe.missouri.edu (8.7.3/8.7.1) with SMTP id SAA19399 
          for <dbi-users@fugue.com>; Mon, 15 Apr 1996 18:33:14 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Mon, 15 Apr 1996 18:33:14 -0500 (CDT)
From: James Cooper <pixel@tiger.coe.missouri.edu>
To: dbi-users@fugue.com
Subject: Oracle: getting primary key back from INSERT
Message-ID: <Pine.SGI.3.92.960415182947.17913D-100000@rhino.coe.missouri.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello again,

Is there a good way to get any data back from an INSERT using DBI?

I have a script that processes an uploaded file from Netscape, then makes
an INSERT into Oracle.  I'd like to name the uploaded file with the
primary key from the INSERT.

In the past I've done that by getting data back from a stored function
using PRO*C.  But that's pretty cumbersome, and this script won't be
executed too frequently.

The lame kludge that I'm currently using is to do a:

$sql = "select max(id) from imc_items";

after each INSERT, and using that.  But that is obvious open to concurency
problems.  Currently only one person would run this at a given time (it's
an internal-use only application), but that could definately change.

All thoughts appreciated.

-- James

.........................................................................
                        James Paul Cooper * Pixel
                         MU College of Education
       pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
.........................................................................

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13149-0@oink>;
          Tue, 16 Apr 1996 14:00:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829659519:16362:1; Tue, 16 Apr 96 13:58:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16031; 16 Apr 96 13:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA27003 for dbi-users-real; Tue, 16 Apr 1996 05:45:32 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA26999 
          for <dbi-users@fugue.com>; Tue, 16 Apr 1996 05:45:27 -0700
Received: by egate.citicorp.com id AA27891 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Tue, 16 Apr 1996 08:46:52 -0400
Message-Id: <199604161246.AA27891@egate.citicorp.com>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
          Tue, 16 Apr 1996 08:46:52 -0400
Date: Tue, 16 Apr 1996 08:51:31 -0100
From: Douglas Sur <doug.sur@citicorp.com>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Mail List Question
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

What is the address and command to unscribe myself from this 
list?  I cannot seem to locate that email I was suppose to save.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
               Douglas Y. Sur, OnLine Technologist
			   
Citicorp Global Information Network   VOICE: 703-708-1164
1900 Campus Commons Drive             FAX: 703-708-1184
Floor 3, Zone 8                       
Reston, Va. 22091
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13654-0@oink>;
          Tue, 16 Apr 1996 16:40:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829668963:28144:0; Tue, 16 Apr 96 16:36:03 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa27578; 16 Apr 96 16:34 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa23318; 16 Apr 96 16:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA27155 for dbi-users-real; Tue, 16 Apr 1996 08:21:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from grctechs.va.grci.com (grctechs.va.grci.com [192.246.37.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA27151 
          for <dbi-users@fugue.com>; Tue, 16 Apr 1996 08:21:27 -0700
Received: by grctechs.va.grci.com (5.65/25-eef) id AA10437;
          Tue, 16 Apr 96 11:11:49 -0400
My-Date: Tue, 16 Apr 1996 11:11:48 -0400 (EDT)
My-From: Greg Gerber <ggerber@grctechs.va.grci.com>
X-Full-Name: Greg Gerber
Date: Tue, 16 Apr 1996 11:11:48 -0400 (EDT)
From: Greg Gerber <ggerber@grctechs.va.grci.com>
To: James Cooper <pixel@tiger.coe.missouri.edu>
Cc: dbi-users@fugue.com
Subject: Re: Oracle: getting primary key back from INSERT
In-Reply-To: <Pine.SGI.3.92.960415182947.17913D-100000@rhino.coe.missouri.edu>
Message-Id: <Pine.SCO.3.91.960416110414.10407A-100000@grctechs.va.grci.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Mon, 15 Apr 1996, James Cooper wrote:
> Is there a good way to get any data back from an INSERT using DBI?
> I have a script that processes an uploaded file from Netscape, then makes
> an INSERT into Oracle.  I'd like to name the uploaded file with the
> primary key from the INSERT.
> In the past I've done that by getting data back from a stored function
> using PRO*C.  But that's pretty cumbersome, and this script won't be
> executed too frequently.
> The lame kludge that I'm currently using is to do a:
> $sql = "select max(id) from imc_items";
> after each INSERT, and using that.  But that is obvious open to concurency
> problems.  Currently only one person would run this at a given time (it's
> an internal-use only application), but that could definately change.
> 

You can use sequences in Oracle to generate unique key values,
for example.

   create sequence my_seq;
   create table my_table ( id number, val varchar(10) );

   insert into my_table ( id, val ) values ( my_seq.nextval, 'foo' );
   select my_seq.currval from dual;

You could also handle the sequence number generation using triggers
but it is a bit more complicated.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <13847-0@oink>;
          Tue, 16 Apr 1996 17:05:40 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829670640:20800:4; Tue, 16 Apr 96 17:04:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa20509; 16 Apr 96 17:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA27178 for dbi-users-real; Tue, 16 Apr 1996 08:50:08 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from deimos (deimos.sovam.com [194.67.1.156]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA27171 
          for <dbi-users@fugue.com>; Tue, 16 Apr 1996 08:49:57 -0700
Received: from nike.sovam.com ([194.67.3.241]) by deimos.sovam.com with SMTP 
          id <260562-229>; Tue, 16 Apr 1996 19:51:15 +0400
Message-ID: <3173C1F7.407E@online.ru>
Date: Tue, 16 Apr 1996 19:51:19 +0400
From: "Roman L. Podshivalov" <romas@online.ru>
Reply-To: romas@online.ru
Organization: ROL
X-Mailer: Mozilla 3.0B2 (Win95; I)
MIME-Version: 1.0
To: James Cooper <pixel@tiger.coe.missouri.edu>
CC: dbi-users@fugue.com
Subject: Re: Oracle: getting primary key back from INSERT
References: <Pine.SGI.3.92.960415182947.17913D-100000@rhino.coe.missouri.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

James Cooper wrote:
> 
> Hello again,
> 
> Is there a good way to get any data back from an INSERT using DBI?
> 
> I have a script that processes an uploaded file from Netscape, then makes
> an INSERT into Oracle.  I'd like to name the uploaded file with the
> primary key from the INSERT.
> 
> In the past I've done that by getting data back from a stored function
> using PRO*C.  But that's pretty cumbersome, and this script won't be
> executed too frequently.
> 
> The lame kludge that I'm currently using is to do a:
> 
> $sql = "select max(id) from imc_items";
> 
> after each INSERT, and using that.  But that is obvious open to concurency
> problems.  Currently only one person would run this at a given time (it's
> an internal-use only application), but that could definately change.

If so you can setup a sequence and use .nextval, .currval for it.

> 
> All thoughts appreciated.
> 
> -- James
> 
> .........................................................................
>                         James Paul Cooper * Pixel
>                          MU College of Education
>        pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
> .........................................................................

-- 
Roman L. Podshivalov                     Sovam Teleport 
<mailto:romas@online.ru>                 (+7-501) 258-4170
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16306-9@oink>;
          Wed, 17 Apr 1996 07:06:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829679846:27970:0; Tue, 16 Apr 96 19:37:26 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa27936; 16 Apr 96 19:37 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa06602; 16 Apr 96 19:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA27405 for dbi-users-real; Tue, 16 Apr 1996 11:20:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from localhost (mellon@localhost) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA27400;
          Tue, 16 Apr 1996 11:20:57 -0700
Message-Id: <199604161820.LAA27400@toccata.fugue.com>
To: Douglas Sur <doug.sur@citicorp.com>
cc: dbi-users@fugue.com
Subject: Re: Mail List Question
In-reply-to: Your message of "Tue, 16 Apr 1996 08:51:31 -0100." <199604161246.AA27891@egate.citicorp.com>
Date: Tue, 16 Apr 1996 11:20:57 -0700
From: Ted Lemon <mellon@fugue.com>


Douglas, when you want to unsubscribe from any mailing list on the
internet, you should expect that if you send mail to the -request
address for that list, you will at least get mail back containing
instructions on how to unsubscribe.

For any mailing list, the -request address is always made up of the
mailing list name, followed by -request, followed by the `@'
character, followed by the fully qualified domain name of the machine
on which that list resides.

In the case of dbi-users@fugue.com, the mailing list name is
dbi-users, the fully qualified domain name is fugue.com, and thus the
-request address is dbi-users-request@fugue.com.   If you wanted to
unsubscribe to, e.g., risks@csl.sri.com, you would send mail to
risks-request@csl.sri.com.

This is very consistent across most mailing lists you will encounter,
although sadly there are some mailing lists where the maintainer has
been too lazy to set up -request addresses.  Still, you should try the
-request address first.

Now, having explained all that, in order to avoid being flamed to a
crisp when you get the response from dbi-users-request and realize
that there's another step, I will tell you that what the
dbi-users-request address actually does is to send you instructions
saying, essentially, that you should go to http://www.fugue.com/dbi
with your favourite web browser (I recommend Netscape or Lynx) to
unsubscribe.

			       _MelloN_
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20290-0@oink>;
          Wed, 17 Apr 1996 11:47:37 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829731950:07625:1; Wed, 17 Apr 96 10:05:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa07377; 17 Apr 96 10:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA28653 for dbi-announce-real; Wed, 17 Apr 1996 01:50:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA28640;
          Wed, 17 Apr 1996 01:45:59 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id JAA27027; Wed, 17 Apr 1996 09:41:19 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604170841.JAA27027@fruitbat.mcqueen.com>
Subject: ANNOUNCE: DBD-Informix-0.20pl1
To: dbi-announce@fugue.com
Date: Wed, 17 Apr 1996 09:41:18 +0100 (BST)
Cc: dbi-users@fugue.com
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 860


DBD::Informix-0.20pl1 has been released!

This patchlevel fixes the following problems, bugs and issues. Test cases
showing bugs are welcomed.

	o CREATE, DROP, UPDATE, INSERT, DELETE now implemented
 	o Error code and message now populate $DBI::errnum and $DBI::errstr
	  correctly
	o Make procedure changed to support a single Makefile.PL, which can
	  handle Informix 5, 6 & 7 installations

As of just now, stored procedures and BLOB support have not been added. 
Those'll take another week or so.

Comments welcomed.

The module is available either off the DBI WWW pages or CPAN. If all else
fails:

	ftp://ftp.mcqueen.com/pub/databases/DBI/DBD/Informix

should do the trick.

A.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20287-7@oink>;
          Wed, 17 Apr 1996 11:48:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829731861:10579:1; Wed, 17 Apr 96 10:04:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07913; 17 Apr 96 9:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA28644 for dbi-users-real; Wed, 17 Apr 1996 01:46:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA28640;
          Wed, 17 Apr 1996 01:45:59 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id JAA27027; Wed, 17 Apr 1996 09:41:19 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604170841.JAA27027@fruitbat.mcqueen.com>
Subject: ANNOUNCE: DBD-Informix-0.20pl1
To: dbi-announce@fugue.com
Date: Wed, 17 Apr 1996 09:41:18 +0100 (BST)
Cc: dbi-users@fugue.com
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 860


DBD::Informix-0.20pl1 has been released!

This patchlevel fixes the following problems, bugs and issues. Test cases
showing bugs are welcomed.

	o CREATE, DROP, UPDATE, INSERT, DELETE now implemented
 	o Error code and message now populate $DBI::errnum and $DBI::errstr
	  correctly
	o Make procedure changed to support a single Makefile.PL, which can
	  handle Informix 5, 6 & 7 installations

As of just now, stored procedures and BLOB support have not been added. 
Those'll take another week or so.

Comments welcomed.

The module is available either off the DBI WWW pages or CPAN. If all else
fails:

	ftp://ftp.mcqueen.com/pub/databases/DBI/DBD/Informix

should do the trick.

A.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28703-1@oink>;
          Thu, 18 Apr 1996 13:54:58 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829829063:04497:1; Thu, 18 Apr 96 13:04:23 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa04035; 18 Apr 96 13:03 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa00304; 18 Apr 96 13:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA00913 for dbi-users-real; Thu, 18 Apr 1996 04:35:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id EAA00909 
          for <dbi-users@fugue.com>; Thu, 18 Apr 1996 04:35:28 -0700
Received: by mercury.Sun.COM (Sun.COM) id EAA10108;
          Thu, 18 Apr 1996 04:37:14 -0700
Received: from cby-home (cby-home.UK.Sun.COM) 
          by UK.Sun.COM (5.x/SMI-SVR4-sd.fkk200) id AA10003;
          Thu, 18 Apr 1996 12:37:56 +0100
Received: from cby-mail by cby-home (5.x/SMI-SVR4-se.fkk201) id AA11020;
          Thu, 18 Apr 1996 12:37:53 +0100
Received: from mercedes.uk.sun.com by cby-mail (SMI-8.6/SMI-SVR4-su.fkk202) 
          id MAA17771; Thu, 18 Apr 1996 12:39:46 +0100
Received: by mercedes.uk.sun.com (SMI-8.6/SMI-SVR4) id MAA14087;
          Thu, 18 Apr 1996 12:39:46 +0100
Date: Thu, 18 Apr 1996 12:39:46 +0100
From: Bob Franks - Sun UK - European Applications Support <Bob.Franks@uk.sun.com>
Message-Id: <199604181139.MAA14087@mercedes.uk.sun.com>
To: dbi-users@fugue.com
Subject: Sybase version
X-Sun-Charset: US-ASCII


Hi,

Could someone give me an update on the status of the DBI
sybase driver version?

is it available ?

the web page at http://www.hermetica.com/technologia/DBI/DBD/index.html
says "under development"


Thanks
Bob
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00985-0@oink>;
          Thu, 18 Apr 1996 18:12:40 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829846261:14010:2; Thu, 18 Apr 96 17:51:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa13384; 18 Apr 96 17:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA01365 for dbi-users-real; Thu, 18 Apr 1996 09:36:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from voyager.whoi.edu (voyager.whoi.edu [128.128.16.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA01361 
          for <dbi-users@fugue.com>; Thu, 18 Apr 1996 09:36:39 -0700
Received: from voyager (localhost [127.0.0.1]) 
          by voyager.whoi.edu (8.7.4/8.7.4) with SMTP id MAA22144 
          for <dbi-users@fugue.com>; Thu, 18 Apr 1996 12:39:03 -0400 (EDT)
Message-ID: <31767026.34D7@whoi.edu>
Date: Thu, 18 Apr 1996 12:39:02 -0400
From: Peter Schmitt <pschmitt@whoi.edu>
Organization: Woods Hole Oceanographic Institution
X-Mailer: Mozilla 2.01 (X11; I; HP-UX B.10.01 9000/715)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD::Informix 'perl Makefile.PL'
X-URL: http://www.hermetica.com/technologia/DBI/DBI/
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This the output:   (what am I missing?)

$ perl5db Makefile.PL 

Configuring DBD::Informix version 0.20pl1...
Remember to actually read the README file!

What version of Informix are you using? [5/6/7] 5
Using Informix version 5 in /usr/local/informix
Informix sysliblist: -L/usr/local/informix/lib/esql -lsql -lgen -los -lm
System: perl5.002 hp-ux vine b.10.01 u 9000829 127881311 unlimited-user
license  PA-RISC1.1 dl_none.xs
Compiler: cc   -D_HPUX_SOURCE -I/usr/local/include

Writing Makefile for DBD::Informix
sh: ESQL_LIB:  not found.
sh: PERL_LIB:  not found.
sh: PERL_ARCHLIB:  not found.
sh: PERL_ARCHLIB:  not found.
sh: PERL_ARCHLIB:  not found.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~u~~~~~~~~~~~~
Peter Schmitt                         EMail:  pschmitt@whoi.edu
Information Systems Associate II      WWW:
http://voyager.whoi.edu/~pete/
Computer Information Services         Phone:  508/289-2877
Woods Hole Oceanographic Institution  Fax:    508/457-2174
Woods Hole, Mass.  02543              Origin: pete@voyager.whoi.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00985-4@oink>;
          Thu, 18 Apr 1996 18:12:56 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829847155:23282:2; Thu, 18 Apr 96 18:05:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23022; 18 Apr 96 18:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA01083 for dbi-users-real; Thu, 18 Apr 1996 06:27:16 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ug.cs.ust.hk (root@ug.cs.ust.hk [143.89.41.155]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA01079 
          for <dbi-users@fugue.com>; Thu, 18 Apr 1996 06:27:11 -0700
Received: from csl3su21.cs.ust.hk (cs_kokim@csl3su21.cs.ust.hk [143.89.42.21]) 
          by ug.cs.ust.hk (8.7.4/8.6.9) with ESMTP id VAA27273 
          for <dbi-users@fugue.com>; Thu, 18 Apr 1996 21:29:23 +0800 (HKT)
From: Ko Kim Ho <cs_kokim@ug.cs.ust.hk>
Received: (from cs_kokim@localhost) by csl3su21.cs.ust.hk (8.7.5/8.7.3) 
          id VAA28879 for dbi-users@fugue.com;
          Thu, 18 Apr 1996 21:29:21 +0800 (HKT)
Message-Id: <199604181329.VAA28879@csl3su21.cs.ust.hk>
Subject: Any guide for writing iODBC drivers?
To: dbi-users@fugue.com
Date: Thu, 18 Apr 1996 21:29:20 +0800 (HKT)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

I'm going to add Data connectivity into my cross-platform GUI builder(It's
my final year project) and interested in using iODBC manager. In order to 
demontrate this idea, I need a simple ODBC driver (maybe based on
Sybase or mSQL). I expect my simple ODBC driver can do some simple tasks 
only like connecting database, simple queries, etc. 

Are there any guide line for writing ODBC drivers for iODBC? Any help
will be appreciated.

-- 
-------------------------------------------------------------------------
Ko Kim Ho, Raymond              | Email: sword@infolink.net
Computer Science Yr 3, HKUST    | URL:   http://www.infolink.net/~sword
                                | PGP:   finger sword@infolink.net
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07375-3@oink>;
          Fri, 19 Apr 1996 16:31:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829902578:18982:2; Fri, 19 Apr 96 09:29:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18573; 19 Apr 96 9:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA03022 for dbi-users-real; Fri, 19 Apr 1996 01:18:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nic.transpac.net (nic.transpac.net [194.52.1.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA03018 
          for <dbi-users@fugue.com>; Fri, 19 Apr 1996 01:18:54 -0700
Received: from www1 ([194.198.171.201]) by nic.transpac.net (8.6.9/8.6.9) 
          with SMTP id KAA28119 for <dbi-users@fugue.com>;
          Fri, 19 Apr 1996 10:20:17 +0200
Message-ID: <31774C93.5889@www1.psab.posten.se>
Date: Fri, 19 Apr 1996 10:19:31 +0200
From: Mikael Geijer <mikael@www1.psab.posten.se>
Organization: Guide Datakonsult
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Oraperl transaction handling
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!
Sorry if this is not the right fora, if not maybe someone can pinpoint
me somewhere else.
I have a question regarding the transaction handling in oraperl. I'm
running the per5.001 distribution. 
The problem we're having is that a commit seems to be executed even if I
don't do an explicit rollback when exiting my program. If I turn
autocommit off and start a connection to the DB and do an insert and
then an exit, the transaction is commited. I wonder if an undef of the
connection forces a commit? If this is a correct behaviour maybe someone
could give an example on how you should handle an abend situatin in a
long transaction.

Any help i appreciated, I've tried to RTFM but haven't found anything so
far.

Regards 

/Mikael

##########################################################################
# 
# Who:	   Mikael Geijer, Guide Datakonsult AB
# What:	   PSAB, Svenska Torg
# Phone:   +46 70 745 52 39, +46 8 750 47 75, +46 8 600 01 03
# Fax:     +46 8 750 69 11
# Email:   mge@guide.se
# Snail:   Kistag. 21 164 40 Kista Sweden
# 
##########################################################################
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08231-8@oink>;
          Fri, 19 Apr 1996 17:03:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829929487:21182:2; Fri, 19 Apr 96 16:58:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21028; 19 Apr 96 16:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA03505 for dbi-users-real; Fri, 19 Apr 1996 08:36:51 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from eclipse.clarify.com (eclipse.clarify.com [204.7.240.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA03501 
          for <dbi-users@fugue.com>; Fri, 19 Apr 1996 08:36:50 -0700
Received: (from smap@localhost) by eclipse.clarify.com (8.6.12/8.6.12) 
          id IAA03139 for <dbi-users@fugue.com>;
          Fri, 19 Apr 1996 08:52:19 -0700
Received: from clarify.clarify.com(130.130.84.1) by eclipse.clarify.com 
          via smap (V1.3) id sma003134; Fri Apr 19 08:52:15 1996
Received: from hqpo.clarify.com by clarify.com (4.1/SMI-4.1/jas9504290) 
          id AA25793; Fri, 19 Apr 96 08:44:54 PDT
Received: by hqpo.clarify.com with Microsoft Exchange (IMC 4.0.837.3) 
          id <01BB2DCC.0BC4DD50@hqpo.clarify.com>;
          Fri, 19 Apr 1996 08:41:47 -0800
Message-Id: <c=US%a=_%p=Clarify%l=PAPO-960419163821Z-166@hqpo.clarify.com>
From: Dave Moellenhoff <dmoellen@clarify.com>
To: 'dbi-users' <dbi-users@fugue.com>, 
    'Mikael Geijer' <mikael@www1.psab.posten.se>
Subject: RE: Oraperl transaction handling
Date: Fri, 19 Apr 1996 08:38:21 -0800
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

p. 4-64 in the Programmer's Guide to ORACLE Call Interfaces, Version
7.0:
	A COMMIT is automatically issued on a successful ologof (logoff) call;
all currently open cursors are closed.  If a program logs off
unsuccessfully or terminates abnormally, all outstanding transactions
are rolled back.


	This is the behavior of both OCI and Oracle applications like SQL*Plus.
 If you are really worried, you can define your $lda from ora_login
globally and use an END { } block to do an ora_rollback(), although it
shouldn't be necessary.

-Dave


>----------
>From: 	Mikael Geijer[SMTP:mikael@www1.psab.posten.se]
>Sent: 	Friday, April 19, 1996 7:19 AM
>To: 	dbi-users
>Subject: 	Oraperl transaction handling
>
>Hi!
>Sorry if this is not the right fora, if not maybe someone can pinpoint
>me somewhere else.
>I have a question regarding the transaction handling in oraperl. I'm
>running the per5.001 distribution. 
>The problem we're having is that a commit seems to be executed even if
>I
>don't do an explicit rollback when exiting my program. If I turn
>autocommit off and start a connection to the DB and do an insert and
>then an exit, the transaction is commited. I wonder if an undef of the
>connection forces a commit? If this is a correct behaviour maybe
>someone
>could give an example on how you should handle an abend situatin in a
>long transaction.
>
>Any help i appreciated, I've tried to RTFM but haven't found anything
>so
>far.
>
>Regards 
>
>/Mikael
>
>########################################################################
>##
># 
># Who:    Mikael Geijer, Guide Datakonsult AB
># What:    PSAB, Svenska Torg
># Phone:   +46 70 745 52 39, +46 8 750 47 75, +46 8 600 01 03
># Fax:     +46 8 750 69 11
># Email:   mge@guide.se
># Snail:   Kistag. 21 164 40 Kista Sweden
># 
>########################################################################
>##
>
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08764-0@oink>;
          Fri, 19 Apr 1996 17:58:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 829932800:16661:0; Fri, 19 Apr 96 17:53:20 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16165; 19 Apr 96 17:52 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa21284; 19 Apr 96 17:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA03679 for dbi-users-real; Fri, 19 Apr 1996 09:38:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from flern.onramp.net (flern.onramp.net [199.1.138.40]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA03675 
          for <dbi-users@fugue.com>; Fri, 19 Apr 1996 09:38:45 -0700
Received: (from turbo@localhost) by flern.onramp.net (8.7.4/8.7.4) id LAA17521;
          Fri, 19 Apr 1996 11:34:04 -0500 (CDT)
From: Chris Turbeville <turbo@flern.onramp.net>
Message-Id: <199604191634.LAA17521@flern.onramp.net>
Subject: Re: Static or dynamic Oraperl?
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Date: Fri, 19 Apr 1996 11:34:04 -0500 (CDT)
Cc: dbi-users@fugue.com, jake@vivid.com
In-Reply-To: <9603071227.AA14021@toad.ig.co.uk> from "Tim Bunce" at Mar 7, 96 12:27:52 pm
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> 
> 
> > From: jake@vivid.com (Jake Donham)
> > 
> > I've been using a statically linked Oraperl, on the theory that for CGI
> > scripts (where much of the execution time is in the interpreter startup) it
> > would be faster to avoid the dynamic link phase of the startup.
> > 
> > Is this theory true or not? If not, why not?
> 
> > From: Gary Evesson <gary@kcs.com.au>
> > 
> > I tried both dynamically and statically linked versions and the dynamically
> > linked version is almost twice as slow to load as the statically linked version.
> 
> Beware benchmarks but yes, dynamic linking is slightly slower in general.
> 
> To cut a long story short I would recommend using static linking if
> 
>    startup time is critical
> or
>    more than a couple of perl processes using DBD::Oracle are running
>    and your dynamic DBD::Oracle extension was linked to static Oracle libs
>    (7.2.? comes with a shared oracle library which fixes that problem)
> 
> Otherwise I'd use dynamic.
> 
> Tim.
I took this one step further and am undumping my static perl CGIs! I am
running into little errors here and there such as:
Can't locate DBI object method "DESTROY" via package "DBD::Oracle::dr"
during global destruction.
Callback called exit during global destruction.

I was wondering if there is anything I can do to help DBI and
DBD::Oracle know what is and isn't a static structure (ie don't destroy).
I get about another two times speed up.  Also my main lag is in DBI and
DBD startup (not DB login or any queries) is there any work going on or
a place I should look at streamlining this overhead?
Thanks
-Chris
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15734-6@oink>;
          Mon, 22 Apr 1996 07:17:45 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830069566:13168:1; Sun, 21 Apr 96 07:52:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13083; 21 Apr 96 7:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA08400 for dbi-users-real; Sat, 20 Apr 1996 23:36:05 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from metronet.com (root@feenix.metronet.com [192.245.137.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA08396 
          for <dbi-users@fugue.com>; Sat, 20 Apr 1996 23:36:02 -0700
Received: from metronet.com.hometown.com (hometown.com) by metronet.com 
          with SMTP id AA14211 (5.67a/IDA1.5hp for <dbi-users@fugue.com>);
          Sun, 21 Apr 1996 01:38:42 -0500
Message-Id: <2.2.32.19960421063435.00940c90@metronet.com>
X-Sender: mouche@metronet.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 21 Apr 1996 01:34:35 -0500
To: dbi-users@fugue.com
From: Steve Livingston <mouche@hometown.com>
Subject: DBD-0.29 "perl Makefile.PL" fails

DBI-0.68 installed OK.

DBD-0.29 "perl Makefile.PL" fails with:

------------------------------
% perl Makefile.PL
 
    Remember to actually *read* the README file!
 
    Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or
later.
 
    DO NOT build the DBI under the Perl source tree.
 
    Use 'make test' to execute self tests.
 
    Install DBI (using 'make install' before building DBD::* drivers.
 
MakeMaker (v5.21)
Checking if your kit is complete...
Looks good
        DEFINE => q[-Wall -pedantic -Wno-comment]
        NAME => q[DBI]
        VERSION_FROM => q[DBI.pm]
        clean => { FILES=>q[$(DISTVNAME)/] }
        dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
PREOP=>q[$(MAKE) -f Makefile.old distdir] }
Could not open 'DBI.pm' (attribute VERSION_FROM): No such file or
directory at /private1/ctxweb/perl/lib/ExtUtils/MM_Unix.pm line 609.
------------------------------

It looks like the DBI installation files are in their proper places.

Installation: perl5.002 - installed with: 
                 Configure -des -Dprefix=/private1/ctxweb/perl -Dcc=gcc
              gcc-2.6.3
              sparc/solaris 2.4
              Oracle 7.3.1

Cheers,
Steve

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15734-15@oink>;
          Mon, 22 Apr 1996 07:19:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830133385:19443:1; Mon, 22 Apr 96 01:36:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19161; 22 Apr 96 1:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA09225 for dbi-users-real; Sun, 21 Apr 1996 17:25:35 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from postman.osf.org (postman.osf.org [130.105.1.152]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA09221;
          Sun, 21 Apr 1996 17:25:34 -0700
Received: from defiant.osf.org (defiant.osf.org [130.105.3.33]) 
          by postman.osf.org (8.6.12/8.6.x) with SMTP id UAA22367;
          Sun, 21 Apr 1996 20:27:52 -0400
Received: by defiant.osf.org (1.38.193.4/4.7) id AA24577;
          Sun, 21 Apr 1996 20:27:50 -0400
Date: Sun, 21 Apr 1996 20:04:39 -0400 (EDT)
From: Doug MacEachern <dougm@osf.org>
Subject: Apache & DBI
To: dbi-dev@fugue.com, dbi-users@fugue.com
Message-Id: <Pine.3.07.9604212039.A24572-b100000@defiant.osf.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

I've put together an Apache authentication module that enables your Apache
server to authenticate against any database that has a DBI driver.
It embeds DBI and the driver of your choice, configured in .htaccess
files.  I thought I'd run it by y'all, and let you test and comment before
I tell anyone else.  Naturally, there are trade-offs and issues. 
Performance is slower than text or DBM files, but, well, all those reasons
most commercial database engines cost $$$.  Storing certain information in
.htaccess may not safe, but this no different than any other DBI app.  The
DBI and DBD::* modules may be in a place that the embedded interpreter
can't find on it's own, but you can add paths in .htaccess that get pushed
into @INC.  Speaking of which, maybe Tim or someone else knows why
incpush() is not part of libperl.a?  It's real handy for this type of
thing.  You can grab what you need from:
http://www.osf.org/~dougm/perl/mod_auth_dbi.tar.gz

Let me know if you have any comments, problems, etc...

-Doug


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15546-63@oink>;
          Mon, 22 Apr 1996 07:19:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830134481:25096:2; Mon, 22 Apr 96 01:54:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24822; 22 Apr 96 1:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA09233 for dbi-dev-real; Sun, 21 Apr 1996 17:30:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from postman.osf.org (postman.osf.org [130.105.1.152]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA09221;
          Sun, 21 Apr 1996 17:25:34 -0700
Received: from defiant.osf.org (defiant.osf.org [130.105.3.33]) 
          by postman.osf.org (8.6.12/8.6.x) with SMTP id UAA22367;
          Sun, 21 Apr 1996 20:27:52 -0400
Received: by defiant.osf.org (1.38.193.4/4.7) id AA24577;
          Sun, 21 Apr 1996 20:27:50 -0400
Date: Sun, 21 Apr 1996 20:04:39 -0400 (EDT)
From: Doug MacEachern <dougm@osf.org>
Subject: Apache & DBI
To: dbi-dev@fugue.com, dbi-users@fugue.com
Message-Id: <Pine.3.07.9604212039.A24572-b100000@defiant.osf.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

I've put together an Apache authentication module that enables your Apache
server to authenticate against any database that has a DBI driver.
It embeds DBI and the driver of your choice, configured in .htaccess
files.  I thought I'd run it by y'all, and let you test and comment before
I tell anyone else.  Naturally, there are trade-offs and issues. 
Performance is slower than text or DBM files, but, well, all those reasons
most commercial database engines cost $$$.  Storing certain information in
.htaccess may not safe, but this no different than any other DBI app.  The
DBI and DBD::* modules may be in a place that the embedded interpreter
can't find on it's own, but you can add paths in .htaccess that get pushed
into @INC.  Speaking of which, maybe Tim or someone else knows why
incpush() is not part of libperl.a?  It's real handy for this type of
thing.  You can grab what you need from:
http://www.osf.org/~dougm/perl/mod_auth_dbi.tar.gz

Let me know if you have any comments, problems, etc...

-Doug


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23716-1@oink>;
          Mon, 22 Apr 1996 20:05:55 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830190606:22416:3; Mon, 22 Apr 96 17:30:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa21978; 22 Apr 96 17:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA10129 for dbi-users-real; Mon, 22 Apr 1996 09:06:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA10125 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 09:06:07 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id bd12461; 22 Apr 96 17:01 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aj10851; 22 Apr 96 16:35 +0100
Received: from toad by oink with SMTP (PP) id <22062-0@oink>;
          Mon, 22 Apr 1996 15:28:35 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20911;
          Mon, 22 Apr 1996 15:28:28 +0000
Date: Mon, 22 Apr 1996 15:28:28 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604221428.AA20911@toad.ig.co.uk>
To: dbi-users@fugue.com, dougm@osf.org
Subject: Re: Apache & DBI
Cc: Jacqui.Caren@ig.co.uk
X-Sun-Charset: US-ASCII
content-length: 1024
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Doug MacEachern <dougm@osf.org>
> 
> I've put together an Apache authentication module that enables your Apache
> server to authenticate against any database that has a DBI driver.

Cute.

> It embeds DBI and the driver of your choice, configured in .htaccess
> files.  I thought I'd run it by y'all, and let you test and comment before
> I tell anyone else.  Naturally, there are trade-offs and issues. 
> Performance is slower than text or DBM files, but, well, all those reasons
> most commercial database engines cost $$$.

Presumably you could cache the info in memory for a time.

>  Storing certain information in
> .htaccess may not safe, but this no different than any other DBI app.  The
> DBI and DBD::* modules may be in a place that the embedded interpreter
> can't find on it's own, but you can add paths in .htaccess that get pushed
> into @INC.  Speaking of which, maybe Tim or someone else knows why
> incpush() is not part of libperl.a?

Umm. I'd recommend calling perl_eval("use lib ...").

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23716-10@oink>;
          Mon, 22 Apr 1996 20:06:34 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830196212:26154:3; Mon, 22 Apr 96 19:03:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25631; 22 Apr 96 19:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA10273 for dbi-users-real; Mon, 22 Apr 1996 10:53:23 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA10269 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 10:53:18 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ai22782; 22 Apr 96 17:54 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ai10851; 22 Apr 96 16:35 +0100
Received: from toad by oink with SMTP (PP) id <22046-0@oink>;
          Mon, 22 Apr 1996 15:21:00 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20889;
          Mon, 22 Apr 1996 15:20:53 +0000
Date: Mon, 22 Apr 1996 15:20:53 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604221420.AA20889@toad.ig.co.uk>
To: sdahmen@inxpress.net
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 744
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: sdahmen@inxpress.net (Stephen Dahmen)
> 
> Tim,
> 
> I'm trying to use the DBI/DBD modules, and noticed that a lot of the features
> documented at the end don't seem to be in place.  Is this true? I found it
> very confusing.  Perhaps you could separate out what works and what is
> "hopeful" or in progress.
> 
> Especially the error detection variables like $DBI::db_error and db_errstr.

Ooops, yes those were wrong in the docs. 'Fixed' in the next release.

> I eventually had to go to $DBD::Oracle::err.  eeew. :)

$DBI::err etc should work. See the 'tie' statements at the top of DBI.pm.

> I've got v 1.48.  Is there a newer one out?

Wow, that's clever. I've only got as far as 0.68! Perhaps you could
send me yours? :-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23718-2@oink>;
          Mon, 22 Apr 1996 20:06:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830192837:00973:1; Mon, 22 Apr 96 18:07:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00309; 22 Apr 96 18:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA10197 for dbi-users-real; Mon, 22 Apr 1996 09:58:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA10193 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 09:58:48 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa16174; 22 Apr 96 17:58 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad10851; 22 Apr 96 16:34 +0100
Received: from toad by oink with SMTP (PP) id <21758-0@oink>;
          Mon, 22 Apr 1996 14:29:26 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19125;
          Mon, 22 Apr 1996 14:29:17 +0000
Date: Mon, 22 Apr 1996 14:29:17 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604221329.AA19125@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: DBD/DBI latest release (fwd)
X-Sun-Charset: US-ASCII
content-length: 650
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

----- Begin Included Message -----

From: Alligator Descartes <descarte@hermetica.com>

------------8<------------------8<--------------------

I know you may not be the right person to talk to, but I figure that you 
know a whole heck of a lot more than me.

The ftp.demon.co.uk has the latest release of DBD/DBI, however, no one 
can get them because only the root is allowed to read them.  Could you 
please direct this mail to whoever can help?  A simple chmod +r * will 
take care of the problem.

Thanks,

Jonathan
(jbolson@lal.cs.utah.edu)

----- End Included Message -----

Now fixed (service provider problems). Sorry for the hassle.

Tim.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23718-9@oink>;
          Mon, 22 Apr 1996 20:07:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830198432:22271:0; Mon, 22 Apr 96 19:40:32 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa21923; 22 Apr 96 19:39 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa09868; 22 Apr 96 19:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA10401 for dbi-users-real; Mon, 22 Apr 1996 11:31:27 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA10397 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 11:31:21 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id cp22955; 22 Apr 96 18:21 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ah10851; 22 Apr 96 16:34 +0100
Received: from toad by oink with SMTP (PP) id <21968-0@oink>;
          Mon, 22 Apr 1996 15:04:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20319;
          Mon, 22 Apr 1996 15:04:14 +0000
Date: Mon, 22 Apr 1996 15:04:14 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604221404.AA20319@toad.ig.co.uk>
To: cbal@europeonline.com
Subject: Re: Problem DBD on HP-UX 9.04 and Oracle 7.1.6
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1809
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Cyryl Balma <cbal@europeonline.com>
> 
> HI Tim,
> My name is cyryl  and I am trying to establish the communication between
> Perl5 (5.002b) and Oracle (7.1.6). I have downloaded the most recent
> versions of the DBI (0.68) and DBD (0.29) and have successfully
> installed and tested DBI. 
> Nevertheless, I always the same problem during "make test" for DBD.

Please send messages to the dbi-users mailing list (see the README file).

> Command : perl Makefile.PL
> 
> Configuring DBD::Oracle ...
> 
> Using Oracle in /disc1/oracle/product/7.1.6
> Using /disc1/oracle/product/7.1.6/proc/lib/proc.mk version 1.17
> Warning: forced to build static not dynamic on hpux
>          See README and Makefile.PL for more information.

Did you read this?

> System: perl5.002 hp-ux hera a.09.04 b 9000887 438396292 16-user license
> PA-RISC1.1 dl_hpux.xs
> 
> Compiler: gcc -O -D_HPUX_SOURCE -I/usr/local/include
> Oracle proc.mk would have used these values but we override them:
>   CC:       gcc
>   CFLAGS:   -I. -O -Aa -D_HPUX_SOURCE +ESsfc +ESlit
>   LDFLAGS:  -Wl,-aarchive -L$(LIBHOME)

>         gcc -L/usr/local/lib -Wl,-E  -o perl ./perlmain.o
> /opt/perl5/lib/PA-RISC1.1/5.002/CORE/libperl
> .a /disc3/opt/perl5/lib/site_perl/PA-RISC1.1/auto/Tk/Tk.a
> /disc3/opt/perl5/lib/PA-RISC1.1/5.002/auto/
> DynaLoader/DynaLoader.a  ./blib/arch/auto/DBD/Oracle/Oracle.a `cat
> ./blib/arch/auto/DBD/Oracle/extrali
> bs.all` -lnet -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt
> collect2: ld returned 1 exit status
> /bin/ld: Data Linkage Table (+z) overflow in file
> ./blib/arch/auto/DBD/Oracle/Oracle.a(Oracle.o) - use
>  +Z option to recompile
> *** Error code 1

I don't know HPUX well, hopefully someone else on the list can help.

Meanwhile try building it using static linking (see the README).

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-11@oink>;
          Mon, 22 Apr 1996 22:03:36 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830202603:11966:1; Mon, 22 Apr 96 20:50:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa11293; 22 Apr 96 20:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10537 for dbi-users-real; Mon, 22 Apr 1996 12:42:23 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from proxy.midamerican.com (firewall-user@proxy.midamerican.com [199.120.122.129]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA10533 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 12:42:17 -0700
Received: by proxy.midamerican.com; id OAA03355;
          Mon, 22 Apr 1996 14:44:27 -0500 (CDT)
Received: from mailgate.midamerican.com(10.48.0.12) by proxy.midamerican.com 
          via smap (V3.1) id xma003352; Mon, 22 Apr 96 14:44:14 -0500
Received: by sic001.midamerican.com; Mon, 22 Apr 96 14:44:55 CDT
Date: Mon, 22 Apr 96 14:39:24 CDT
Message-ID: <vines.Pzb7+g,ySlA@sic001.midamerican.com>
X-Priority: 3 (Normal)
To: dbi-users <dbi-users@fugue.com>
From: kmacleod <kmacleod@midamerican.com> (Ken MacLeod)
Subject: Cancel INSTALLSITEARCH or INST_PM not defined correctly
X-Incognito-SN: 1127
X-Incognito-Format: VERSION=2.01a ENCRYPTED=NO

Definitely my misunderstanding of `MakeMaker'.


I found the answer reading the MakeMaker documentation, I must explicitly 
set all of the `INSTALL*' variables on the `perl Makefile.PL' command line.

Apologies for not RTFMing the right docs :-).  Of course, the answer would 
pop out 10 minutes after hitting ``Send''.

  -- Ken
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-13@oink>;
          Mon, 22 Apr 1996 22:03:43 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830203108:17700:1; Mon, 22 Apr 96 20:58:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa16670; 22 Apr 96 20:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10546 for dbi-users-real; Mon, 22 Apr 1996 12:48:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA10542 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 12:48:51 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id bj25951; 22 Apr 96 20:33 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aj23605; 22 Apr 96 20:06 +0100
Received: from toad by oink with SMTP (PP) id <23431-0@oink>;
          Mon, 22 Apr 1996 18:13:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24998;
          Mon, 22 Apr 1996 18:13:39 +0000
Date: Mon, 22 Apr 1996 18:13:39 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604221713.AA24998@toad.ig.co.uk>
To: dbi-users@fugue.com, mikael@www1.psab.posten.se, dmoellen@clarify.com
Subject: RE: Oraperl transaction handling
X-Sun-Charset: US-ASCII
content-length: 697
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Dave Moellenhoff <dmoellen@clarify.com>
> 
> p. 4-64 in the Programmer's Guide to ORACLE Call Interfaces, Version
> 7.0:
> 	A COMMIT is automatically issued on a successful ologof (logoff) call;
> all currently open cursors are closed.  If a program logs off
> unsuccessfully or terminates abnormally, all outstanding transactions
> are rolled back.

True, but the old "DBperl Spec" does state that DBperl would rollback any
uncommited transactions before disconnection.

I'm tempted to change DBD::Oracle but for the time being I'll just state
that the behaviour (from DBI's point of view) is undefined and if you're
concerned (which you should be) you should control it manually.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-1@oink>;
          Mon, 22 Apr 1996 22:02:47 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830201094:24615:1; Mon, 22 Apr 96 20:24:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23766; 22 Apr 96 20:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10471 for dbi-users-real; Mon, 22 Apr 1996 12:15:20 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA10467 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 12:15:17 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ae09673; 22 Apr 96 19:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac23605; 22 Apr 96 20:06 +0100
Received: from toad by oink with SMTP (PP) id <22801-0@oink>;
          Mon, 22 Apr 1996 17:12:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22745;
          Mon, 22 Apr 1996 17:12:09 +0000
Date: Mon, 22 Apr 1996 17:12:09 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604221612.AA22745@toad.ig.co.uk>
To: dbi-users@fugue.com, mouche@hometown.com
Subject: Re: DBD-0.29 "perl Makefile.PL" fails
X-Sun-Charset: US-ASCII
content-length: 1581
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve Livingston <mouche@hometown.com>
> Subject: DBD-0.29 "perl Makefile.PL" fails
> 
> DBI-0.68 installed OK.
> 
> DBD-0.29 "perl Makefile.PL" fails with:
> 
> ------------------------------
> % perl Makefile.PL
>  
>     Remember to actually *read* the README file!
>  
>     Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or
> later.
>  
>     DO NOT build the DBI under the Perl source tree.
>  
>     Use 'make test' to execute self tests.
>  
>     Install DBI (using 'make install' before building DBD::* drivers.
>  
> MakeMaker (v5.21)
> Checking if your kit is complete...
> Looks good
>         DEFINE => q[-Wall -pedantic -Wno-comment]
>         NAME => q[DBI]
>         VERSION_FROM => q[DBI.pm]
>         clean => { FILES=>q[$(DISTVNAME)/] }
>         dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
> PREOP=>q[$(MAKE) -f Makefile.old distdir] }
> Could not open 'DBI.pm' (attribute VERSION_FROM): No such file or
> directory at /private1/ctxweb/perl/lib/ExtUtils/MM_Unix.pm line 609.
> ------------------------------
> 
> It looks like the DBI installation files are in their proper places.
> 
> Installation: perl5.002 - installed with: 
>                  Configure -des -Dprefix=/private1/ctxweb/perl -Dcc=gcc
>               gcc-2.6.3
>               sparc/solaris 2.4
>               Oracle 7.3.1

That makes no sense. You say DBI installed OK and then you're trying to
build it again but saying that DBD-0.29 won't build. Check what you're
doing carefully. Use different directories for DBI and DBD-Oracle builds.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-4@oink>;
          Mon, 22 Apr 1996 22:03:02 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830201681:01396:3; Mon, 22 Apr 96 20:34:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01158; 22 Apr 96 20:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10499 for dbi-users-real; Mon, 22 Apr 1996 12:28:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA10495 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 12:28:05 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ad09999; 22 Apr 96 19:14 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aq23605; 22 Apr 96 20:07 +0100
Received: from toad by oink with SMTP (PP) id <23646-0@oink>;
          Mon, 22 Apr 1996 19:49:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25212;
          Mon, 22 Apr 1996 19:49:05 +0000
Date: Mon, 22 Apr 1996 19:49:05 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604221849.AA25212@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: UPDATEING Oracle Tables.
Cc: avharbic@vax1.acs.jmu.edu
X-Sun-Charset: US-ASCII
content-length: 1047
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

----- Begin Included Message -----

From: avharbic <avharbic@vax1.acs.jmu.edu>
Sender: root@zeus.valhalla.com
Reply-To: avharbic <avharbic@vax1.acs.jmu.edu>
Subject: UPDATEING Oracle Tables.
To: Tim.Bunce@ig.co.uk

Hi Tim,

I have been using DBI/DBD:Oracle for a while now, and have run across a
problem.  I am developing an interface with which users could update an Oracle
table.  I tried two approaches (one as a result of the first failure).

First:
	$cursor=$dbh->prepare("UPDATE TABLE SET FIELD='Value'");
	$cursor->execute;
		or
	$value=$dbh->do("UPDATE TABLE SET FIELD='Value'");

Both of these hang when it tries to interact with the database i.e. when it
tries to do $cursor->execute.

Second:
I printed out an SQL statement to a file, and tried to execute that file as if
from the SQL> prompt using:
	$value=$dbh->do("@/tmp/whatever/scriptname");

That successfully ran, but did nothing to change the table.

Am I in the ballpark?  Should I do something else?  Help me?

Andy

----- End Included Message -----

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-6@oink>;
          Mon, 22 Apr 1996 22:03:10 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830201818:03206:2; Mon, 22 Apr 96 20:36:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01866; 22 Apr 96 20:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10490 for dbi-users-real; Mon, 22 Apr 1996 12:26:21 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from proxy.midamerican.com (firewall-user@proxy.midamerican.com [199.120.122.129]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA10486 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 12:26:15 -0700
Received: by proxy.midamerican.com; id OAA03304;
          Mon, 22 Apr 1996 14:26:57 -0500 (CDT)
Received: from mailgate.midamerican.com(10.48.0.12) by proxy.midamerican.com 
          via smap (V3.1) id xma003302; Mon, 22 Apr 96 14:26:46 -0500
Received: by sic001.midamerican.com; Mon, 22 Apr 96 14:27:27 CDT
Date: Mon, 22 Apr 96 12:56:20 CDT
Message-ID: <vines.Pzb7+2VwSlA@sic001.midamerican.com>
X-Priority: 3 (Normal)
To: dbi-users <dbi-users@fugue.com>
From: kmacleod <kmacleod@midamerican.com> (Ken MacLeod)
Subject: INSTALLSITEARCH or INST_PM not defined correctly in Makefile
X-Incognito-SN: 1127
X-Incognito-Format: VERSION=2.01a ENCRYPTED=NO

This is my first Perl extension using `MakeMaker' so it's probably my 
misunderstanding and not a problem with DBI.

DBI-0.68, Perl5.002 (installed in /usr/local), Solaris 2.4

A note on the Perl build, Perl was built according to the ``Changing the 
installation directory'' section in Perl's `INSTALL' file (Perl was 
``installed'' into a temporary directory, then tarred, then untarred in 
it's final directory).

I'm building DBI under  my home directory (~/isrc/DBI-0.68) as myself,

  perl Makefile.PL
  make

and get an error, apparently attempting to create/touch a file under `/usr' 
(PREFIX) rather than locally (under `blib'?).  The error is:

  make: Fatal error: Command failed for target 
`/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/.exists'

I ran a `make -d' to get the dependancy list and `/usr/...' is being built 
because it is out of date relative to `DBIXS.h'.  I tracked down the 
dependancy in the `Makefile', and `all' depends on `$(INST_PM)', and 
`$(INST_PM)' is defined:

  INST_PM = $(INSTALLSITEARCH)/DBI/DBIXS.h \
      $(INST_LIB)/DBD/ExampleP.pm \
      $(INST_LIB)/DBD/NullP.pm \
      $(INST_LIB)/DBD/Sponge.pm \
      $(INST_LIBDIR)/DBI.pm

then `$(INSTALLSITEARCH)', unlike the rest of the `INSTALL*' variables is 
defined:

  INSTALLDIRS = site
  INSTALLPRIVLIB = /home/ken/isrc/perl5.002/tmp/lib/perl5
  INSTALLARCHLIB = 
/home/ken/isrc/perl5.002/tmp/lib/perl5/sun4-solaris/5.002
  INSTALLSITELIB = /home/ken/isrc/perl5.002/tmp/lib/perl5/site_perl
  INSTALLSITEARCH = $(PREFIX)/lib/perl5/site_perl/sun4-solaris

I can change `INSTALLSITEARCH' to be like the others and it works, but I 
can't track this back to `Makefile.PL' to figure out why either `INST_PM' 
or `INSTALLSITEARCH' is wrong.  It's very possible this is related to using 
the ``temporary installation directory'' Perl-install method.

uh...  help?  :-)

  -- Ken

------------------ log of build --------------------
+ perl Makefile.PL

    Remember to actually *read* the README file!

    Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.

    DO NOT build the DBI under the Perl source tree.

    Use 'make test' to execute self tests.

    Install DBI (using 'make install' before building DBD::* drivers.


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 old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.

MakeMaker (v5.21)
Checking if your kit is complete...
Looks good
	DEFINE => q[-Wall -pedantic -Wno-comment]
	NAME => q[DBI]
	VERSION_FROM => q[DBI.pm]
	clean => { FILES=>q[$(DISTVNAME)/] }
	dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], 
PREOP=>q[$(MAKE) -f Makefile.old distdir] }
DBI VERSION is 0.68 (from DBI.pm)
Using PERL=/usr/bin/perl
Writing Makefile for DBI
+ make
Permission denied at -e line 4.
*** Error code 13
make: Fatal error: Command failed for target 
`/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/.exists'

------------------ perl -V --------------------
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=solaris, osver=2.4, archname=sun4-solaris
    uname='sunos sic200 5.4 generic_101945-34 sun4m sparc '
    hint=recommended, useposix=true 
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.7.2
    cppflags=''
    ccflags =''
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5 
/usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/sun4-solaris .

------------------ make -d --------------------
MAKEFLAGS value: 
      Building config because it is out of date relative to Makefile
        Building blib/lib/.exists because it is out of date relative to 
/usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h
      Building config because it is out of date relative to 
blib/lib/.exists
Target config rebuilt because dependency 0@config does not exist
        Building blib/arch/auto/DBI/.exists because it is out of date 
relative to /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h
      Building config because it is out of date relative to 
blib/arch/auto/DBI/.exists
Target config rebuilt because dependency 1@config does not exist
        Building blib/lib/auto/DBI/.exists because it is out of date 
relative to /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h
      Building config because it is out of date relative to 
blib/lib/auto/DBI/.exists
Target config rebuilt because dependency 2@config does not exist
      Building config because Version_check does not exist
Target config rebuilt because dependency 3@config does not exist
    Building all because config does not exist
     Building /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h 
because it is out of date relative to DBIXS.h
     Building /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h 
because it is out of date relative to Makefile
       Building /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/.exists 
because it is out of date relative to 
/usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-8@oink>;
          Mon, 22 Apr 1996 22:03:24 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830201826:03218:3; Mon, 22 Apr 96 20:37:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa02686; 22 Apr 96 20:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10510 for dbi-users-real; Mon, 22 Apr 1996 12:29:52 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailbox.osf.org (mailbox.osf.org [130.105.1.8]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA10506 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 12:29:49 -0700
Received: from gandalf (gandalf [130.105.3.186]) 
          by mailbox.osf.org (8.6.12/8.6.x) with SMTP id PAA00948;
          Mon, 22 Apr 1996 15:31:48 -0400
Date: Mon, 22 Apr 1996 15:31:48 -0400
Message-Id: <199604221931.PAA00948@mailbox.osf.org>
X-Sender: dougm@postman.osf.org
X-Mailer: Windows Eudora Version 2.0.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Tim Bunce <Tim.Bunce@ig.co.uk>, dbi-users@fugue.com
From: dougm@osf.org (Doug MacEachern)
Subject: Re: Apache & DBI
Cc: Jacqui.Caren@ig.co.uk

At 03:28 PM 4/22/96 +0000, Tim Bunce wrote:
>
>> From: Doug MacEachern <dougm@osf.org>
>> 
>> I've put together an Apache authentication module that enables your Apache
>> server to authenticate against any database that has a DBI driver.
>
>Cute.
>
>> It embeds DBI and the driver of your choice, configured in .htaccess
>> files.  I thought I'd run it by y'all, and let you test and comment before
>> I tell anyone else.  Naturally, there are trade-offs and issues. 
>> Performance is slower than text or DBM files, but, well, all those reasons
>> most commercial database engines cost $$$.
>
>Presumably you could cache the info in memory for a time.

This is possible, I just need to find the right place to store it.  

>
>>  Storing certain information in
>> .htaccess may not safe, but this no different than any other DBI app.  The
>> DBI and DBD::* modules may be in a place that the embedded interpreter
>> can't find on it's own, but you can add paths in .htaccess that get pushed
>> into @INC.  Speaking of which, maybe Tim or someone else knows why
>> incpush() is not part of libperl.a?
>
>Umm. I'd recommend calling perl_eval("use lib ...").

Well, that's what I was trying to avoid.  It's just a little cleaner in this
case to use incpush().  perl_require_pv() is there, who I think is lonely
without his friend incpush() to help him find his way around.  No matter,
the outcome is the same in either case.

-Doug
 
>
>Tim.
>
>

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-16@oink>;
          Mon, 22 Apr 1996 22:03:53 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830203859:26772:2; Mon, 22 Apr 96 21:10:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25507; 22 Apr 96 21:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA10585 for dbi-users-real; Mon, 22 Apr 1996 13:02:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from obscure.org (rbulling@marduk.obscure.org [204.192.122.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10571;
          Mon, 22 Apr 1996 13:01:47 -0700
Received: (from rbulling@localhost) by obscure.org (8.6.12/8.6.9) id QAA07563;
          Mon, 22 Apr 1996 16:04:25 -0400
Date: Mon, 22 Apr 1996 16:04:23 -0400 (EDT)
From: Richard Bullington <rbulling@obscure.org>
To: Doug MacEachern <dougm@osf.org>
cc: dbi-dev@fugue.com, dbi-users@fugue.com
Subject: Re: Apache & DBI
In-Reply-To: <Pine.3.07.9604212039.A24572-b100000@defiant.osf.org>
Message-ID: <Pine.LNX.3.91.960422155256.6085H-100000@marduk.obscure.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 21 Apr 1996, Doug MacEachern wrote:

> I've put together an Apache authentication module that enables your Apache
> server to authenticate against any database that has a DBI driver.

Wow. I read the code, and found it short and sweet. It gives me a much 
better idea of how to integrate Perl and Apache (a general purpose Perl 
interpreter embedded in Apache itself would be a Good Thing, IMHO.)

But, as you say...

> Naturally, there are trade-offs and issues. 
> Performance is slower than text or DBM files, but, well, all those reasons
> most commercial database engines cost $$$.

I have found in my database->perl experiences (mostly Msqlperl) that the 
connection to the database engine is the real time killer. Once the 
connection is up, the queries fly.

What about the following situation:

Somehow, get the Perl program running at Web server process initialization
time, and do the DBI database connection there. That way, the preforked
server already is connected, and can issue queries quickly. When the
server receives a request for authentication, perform the query against 
the already-connected database. 

I don't know enough about embedding perl yet to know if this is practical 
(call some functions in a perl program from C, have the perl functions 
return, and then call other functions in the same running perl process 
later on).

My holy grail right now is to get a general-purpose Perl integrated into 
Apache with Perl opening a DBI database connection at server startup. 

 -Richard
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24608-10@oink>;
          Mon, 22 Apr 1996 22:11:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830202218:26892:1; Mon, 22 Apr 96 20:43:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26385; 22 Apr 96 20:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10522 for dbi-users-real; Mon, 22 Apr 1996 12:36:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA10518 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 12:36:32 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ah10465; 22 Apr 96 19:18 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ap23605; 22 Apr 96 20:06 +0100
Received: from toad by oink with SMTP (PP) id <23630-0@oink>;
          Mon, 22 Apr 1996 19:44:46 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25200;
          Mon, 22 Apr 1996 19:44:38 +0000
Date: Mon, 22 Apr 1996 19:44:38 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604221844.AA25200@toad.ig.co.uk>
To: turbo@flern.onramp.net
Subject: Re: Static or dynamic Oraperl?
Cc: dbi-users@fugue.com, jake@vivid.com
X-Sun-Charset: US-ASCII
content-length: 1310
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Chris Turbeville <turbo@flern.onramp.net>
> 
> > To cut a long story short I would recommend using static linking if
> > 
> >    startup time is critical
> > or
> >    more than a couple of perl processes using DBD::Oracle are running
> >    and your dynamic DBD::Oracle extension was linked to static Oracle libs
> >    (7.2.? comes with a shared oracle library which fixes that problem)
> > 
> > Otherwise I'd use dynamic.

> I took this one step further and am undumping my static perl CGIs! I am
> running into little errors here and there such as:
> Can't locate DBI object method "DESTROY" via package "DBD::Oracle::dr"
> during global destruction.
> Callback called exit during global destruction.
> 
> I was wondering if there is anything I can do to help DBI and
> DBD::Oracle know what is and isn't a static structure (ie don't destroy).
> I get about another two times speed up.  Also my main lag is in DBI and
> DBD startup (not DB login or any queries) is there any work going on or
> a place I should look at streamlining this overhead?

Static vs Dynamic should make _no_ difference at all.

Try building perl with -DDEBUGGING and use perl -Do to trace object
method lookups to see when/why DESTROY is being called and how perl
is trying to find the method through the @ISA tree.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-18@oink>;
          Mon, 22 Apr 1996 22:04:02 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830203865:26774:3; Mon, 22 Apr 96 21:11:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25542; 22 Apr 96 21:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA10576 for dbi-users-real; Mon, 22 Apr 1996 13:01:51 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.ton.tut.fi (mylly.ton.tut.fi [193.166.80.16]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10572 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 13:01:48 -0700
Received: from mylly.ton.tut.fi (mylly.ton.tut.fi [193.166.80.16]) 
          by mail.ton.tut.fi (8.7.3/8.7.3) with SMTP id XAA06644 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 23:04:40 +0300 (EET DST)
Date: Mon, 22 Apr 1996 23:04:39 +0300 (EET DST)
From: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <sjm@ton.tut.fi>
To: dbi-users@fugue.com
Subject: udt2ndt & ndt2udt?
Message-ID: <Pine.SOL.3.92.960422225457.6574A-100000@mylly.ton.tut.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



Hello, I am using DBI-0.68 and DBD-Oracle-0.29 on a Sun SS20
with Solaris 2.5, perl 5.002 release, and Oracle 7.1.6.2.0 server.

Regarding the documentation I've found, I should be able to
write code like this:


require "timelocal.pl";
use DBI;

    $drh = DBI->install_driver('Oracle');
    $dbh = $drh->connect("orcl", "www_demo", "looser");

    # I got these values from somewhere...
    @timearr = ($sec, $min, $hour, $day, $monthnum{$month}, $year - 1900);
    $mytime = &timelocal(@timearr);
    $oratime = $dbh->udt2ndt($mytime);

I cannot find the date/time conversion function udt2ndt. I also
tried to use $drh-> as well as $dbh-> as the handle to find the
correct method with no success.

Do we have a function to convert native time_t into Oracle time?
I definitely need one second accuracy, date only is not sufficient.

// sjm
"Microsoft Responds to Netscape Misinformation
 NETSCAPE'S WEB SERVER SOLUTIONS FALL SHORT
 Netscape ships pieces of their product line across
 a confusing array of operating system platforms."
	- http://www.microsoft.com/InfoServ/response.htm

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-23@oink>;
          Mon, 22 Apr 1996 22:04:27 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830205567:17321:6; Mon, 22 Apr 96 21:39:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17180; 22 Apr 96 21:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA10580 for dbi-dev-real; Mon, 22 Apr 1996 13:02:03 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from obscure.org (rbulling@marduk.obscure.org [204.192.122.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10571;
          Mon, 22 Apr 1996 13:01:47 -0700
Received: (from rbulling@localhost) by obscure.org (8.6.12/8.6.9) id QAA07563;
          Mon, 22 Apr 1996 16:04:25 -0400
Date: Mon, 22 Apr 1996 16:04:23 -0400 (EDT)
From: Richard Bullington <rbulling@obscure.org>
To: Doug MacEachern <dougm@osf.org>
cc: dbi-dev@fugue.com, dbi-users@fugue.com
Subject: Re: Apache & DBI
In-Reply-To: <Pine.3.07.9604212039.A24572-b100000@defiant.osf.org>
Message-ID: <Pine.LNX.3.91.960422155256.6085H-100000@marduk.obscure.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 21 Apr 1996, Doug MacEachern wrote:

> I've put together an Apache authentication module that enables your Apache
> server to authenticate against any database that has a DBI driver.

Wow. I read the code, and found it short and sweet. It gives me a much 
better idea of how to integrate Perl and Apache (a general purpose Perl 
interpreter embedded in Apache itself would be a Good Thing, IMHO.)

But, as you say...

> Naturally, there are trade-offs and issues. 
> Performance is slower than text or DBM files, but, well, all those reasons
> most commercial database engines cost $$$.

I have found in my database->perl experiences (mostly Msqlperl) that the 
connection to the database engine is the real time killer. Once the 
connection is up, the queries fly.

What about the following situation:

Somehow, get the Perl program running at Web server process initialization
time, and do the DBI database connection there. That way, the preforked
server already is connected, and can issue queries quickly. When the
server receives a request for authentication, perform the query against 
the already-connected database. 

I don't know enough about embedding perl yet to know if this is practical 
(call some functions in a perl program from C, have the perl functions 
return, and then call other functions in the same running perl process 
later on).

My holy grail right now is to get a general-purpose Perl integrated into 
Apache with Perl opening a DBI database connection at server startup. 

 -Richard
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24608-36@oink>;
          Mon, 22 Apr 1996 22:13:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830206597:07293:0; Mon, 22 Apr 96 21:56:37 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa06849; 22 Apr 96 21:55 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa08523; 22 Apr 96 21:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA10712 for dbi-users-real; Mon, 22 Apr 1996 13:41:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailbox.osf.org (mailbox.osf.org [130.105.1.8]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10708;
          Mon, 22 Apr 1996 13:41:08 -0700
Received: from gandalf (gandalf [130.105.3.186]) 
          by mailbox.osf.org (8.6.12/8.6.x) with SMTP id QAA01377;
          Mon, 22 Apr 1996 16:43:21 -0400
Date: Mon, 22 Apr 1996 16:43:21 -0400
Message-Id: <199604222043.QAA01377@mailbox.osf.org>
X-Sender: dougm@postman.osf.org
X-Mailer: Windows Eudora Version 2.0.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Richard Bullington <rbulling@obscure.org>
From: Doug MacEachern <dougm@osf.org>
Subject: Re: Apache & DBI
Cc: dbi-dev@fugue.com, dbi-users@fugue.com

At 04:04 PM 4/22/96 -0400, Richard Bullington wrote:
>On Sun, 21 Apr 1996, Doug MacEachern wrote:
>
>> I've put together an Apache authentication module that enables your Apache
>> server to authenticate against any database that has a DBI driver.
>
>Wow. I read the code, and found it short and sweet. It gives me a much 
>better idea of how to integrate Perl and Apache (a general purpose Perl 
>interpreter embedded in Apache itself would be a Good Thing, IMHO.)

Yes, this in the works.

>
>But, as you say...
>
>> Naturally, there are trade-offs and issues. 
>> Performance is slower than text or DBM files, but, well, all those reasons
>> most commercial database engines cost $$$.
>
>I have found in my database->perl experiences (mostly Msqlperl) that the 
>connection to the database engine is the real time killer. Once the 
>connection is up, the queries fly.
>
>What about the following situation:
>
>Somehow, get the Perl program running at Web server process initialization
>time, and do the DBI database connection there. That way, the preforked
>server already is connected, and can issue queries quickly. When the
>server receives a request for authentication, perform the query against 
>the already-connected database. 

I am thinking of ways to do this, but I still need to learn more about
Apache and it's API.  

>
>I don't know enough about embedding perl yet to know if this is practical 
>(call some functions in a perl program from C, have the perl functions 
>return, and then call other functions in the same running perl process 
>later on).

I have this working in a filtering proxy server written in C that parses and
runs all of your Perl code when it starts, at which time you can open a
persistent DBI connection.  Then, a subroutine is perl_call_*'ed to handle
each request.

>
>My holy grail right now is to get a general-purpose Perl integrated into 
>Apache with Perl opening a DBI database connection at server startup. 

The module I mentioned that is in the works creates a new interpreter object
and parses your script for each request, in which case this would not work.
But, I'm not saying it can't be done.  

-Doug

>
> -Richard
>
>

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24765-0@oink>;
          Mon, 22 Apr 1996 23:16:05 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830208162:18591:1; Mon, 22 Apr 96 22:22:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17986; 22 Apr 96 22:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA10721 for dbi-dev-real; Mon, 22 Apr 1996 13:43:37 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailbox.osf.org (mailbox.osf.org [130.105.1.8]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10708;
          Mon, 22 Apr 1996 13:41:08 -0700
Received: from gandalf (gandalf [130.105.3.186]) 
          by mailbox.osf.org (8.6.12/8.6.x) with SMTP id QAA01377;
          Mon, 22 Apr 1996 16:43:21 -0400
Date: Mon, 22 Apr 1996 16:43:21 -0400
Message-Id: <199604222043.QAA01377@mailbox.osf.org>
X-Sender: dougm@postman.osf.org
X-Mailer: Windows Eudora Version 2.0.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Richard Bullington <rbulling@obscure.org>
From: dougm@osf.org (Doug MacEachern)
Subject: Re: Apache & DBI
Cc: dbi-dev@fugue.com, dbi-users@fugue.com

At 04:04 PM 4/22/96 -0400, Richard Bullington wrote:
>On Sun, 21 Apr 1996, Doug MacEachern wrote:
>
>> I've put together an Apache authentication module that enables your Apache
>> server to authenticate against any database that has a DBI driver.
>
>Wow. I read the code, and found it short and sweet. It gives me a much 
>better idea of how to integrate Perl and Apache (a general purpose Perl 
>interpreter embedded in Apache itself would be a Good Thing, IMHO.)

Yes, this in the works.

>
>But, as you say...
>
>> Naturally, there are trade-offs and issues. 
>> Performance is slower than text or DBM files, but, well, all those reasons
>> most commercial database engines cost $$$.
>
>I have found in my database->perl experiences (mostly Msqlperl) that the 
>connection to the database engine is the real time killer. Once the 
>connection is up, the queries fly.
>
>What about the following situation:
>
>Somehow, get the Perl program running at Web server process initialization
>time, and do the DBI database connection there. That way, the preforked
>server already is connected, and can issue queries quickly. When the
>server receives a request for authentication, perform the query against 
>the already-connected database. 

I am thinking of ways to do this, but I still need to learn more about
Apache and it's API.  

>
>I don't know enough about embedding perl yet to know if this is practical 
>(call some functions in a perl program from C, have the perl functions 
>return, and then call other functions in the same running perl process 
>later on).

I have this working in a filtering proxy server written in C that parses and
runs all of your Perl code when it starts, at which time you can open a
persistent DBI connection.  Then, a subroutine is perl_call_*'ed to handle
each request.

>
>My holy grail right now is to get a general-purpose Perl integrated into 
>Apache with Perl opening a DBI database connection at server startup. 

The module I mentioned that is in the works creates a new interpreter object
and parses your script for each request, in which case this would not work.
But, I'm not saying it can't be done.  

-Doug

>
> -Richard
>
>

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28620-2@oink>;
          Tue, 23 Apr 1996 06:01:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830234036:00619:1; Tue, 23 Apr 96 05:33:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00404; 23 Apr 96 5:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA11345 for dbi-users-real; Mon, 22 Apr 1996 21:24:46 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id VAA11341 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 21:24:44 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa05293; 23 Apr 96 5:27 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab27001; 23 Apr 96 5:13 +0100
Received: from toad by oink with SMTP (PP) id <24635-0@oink>;
          Mon, 22 Apr 1996 22:15:31 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25723;
          Mon, 22 Apr 1996 22:15:24 +0000
Date: Mon, 22 Apr 1996 22:15:24 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604222115.AA25723@toad.ig.co.uk>
To: dbi-users@fugue.com, dougm@osf.org
Subject: Re: Apache & DBI
X-Sun-Charset: US-ASCII
content-length: 771
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: dougm@osf.org (Doug MacEachern)
> 
> >> Speaking of which, maybe Tim or someone else knows why
> >> incpush() is not part of libperl.a?
> >
> >Umm. I'd recommend calling perl_eval("use lib ...").
> 
> Well, that's what I was trying to avoid.  It's just a little cleaner in this
> case to use incpush().  perl_require_pv() is there, who I think is lonely
> without his friend incpush() to help him find his way around.  No matter,
> the outcome is the same in either case.

Well 'use lib ...' is the 'right way' for perl scripts to do it and so
will always be a valid way for internals work. The 'use lib ...' approach
also automatically handles the architecture specific libraries.

It might not be the fastest way but I'm assuming you'll only do it once.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28620-5@oink>;
          Tue, 23 Apr 1996 06:01:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830234046:00610:3; Tue, 23 Apr 96 05:34:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00415; 23 Apr 96 5:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA11351 for dbi-users-real; Mon, 22 Apr 1996 21:25:40 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id VAA11347 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 21:25:38 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa05310; 23 Apr 96 5:28 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae27001; 23 Apr 96 5:13 +0100
Received: from toad by oink with SMTP (PP) id <24670-0@oink>;
          Mon, 22 Apr 1996 22:30:18 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25762;
          Mon, 22 Apr 1996 22:30:11 +0000
Date: Mon, 22 Apr 1996 22:30:11 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604222130.AA25762@toad.ig.co.uk>
To: dbi-users@fugue.com, kmacleod@midamerican.com
Subject: Re: INSTALLSITEARCH or INST_PM not defined correctly in Makefile
X-Sun-Charset: US-ASCII
content-length: 475
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: kmacleod <kmacleod@midamerican.com> (Ken MacLeod)
> 
> A note on the Perl build, Perl was built according to the ``Changing the 
> installation directory'' section in Perl's `INSTALL' file (Perl was 
> ``installed'' into a temporary directory, then tarred, then untarred in 
> it's final directory).

Don't do that! It's wrong and will cause you lots of grief.
Perl has those paths built in.

Rebuild and reinstall perl directly into it's final resting place.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29906-2@oink>;
          Tue, 23 Apr 1996 07:57:17 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830242595:11419:2; Tue, 23 Apr 96 07:56:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11104; 23 Apr 96 7:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA11510 for dbi-users-real; Mon, 22 Apr 1996 23:49:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA11497;
          Mon, 22 Apr 1996 23:44:58 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac07731; 23 Apr 96 6:47 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af27001; 23 Apr 96 5:13 +0100
Received: from toad by oink with SMTP (PP) id <24680-0@oink>;
          Mon, 22 Apr 1996 22:39:29 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25783;
          Mon, 22 Apr 1996 22:39:22 +0000
Date: Mon, 22 Apr 1996 22:39:22 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604222139.AA25783@toad.ig.co.uk>
To: dbi-users@fugue.com, sjm@ton.tut.fi
Subject: Re: udt2ndt & ndt2udt?
Cc: dbi-announce@fugue.com, descarte@hermetica.com
X-Sun-Charset: US-ASCII
content-length: 1130
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <sjm@ton.tut.fi>
> 
>     $oratime = $dbh->udt2ndt($mytime);
> 
> I cannot find the date/time conversion function udt2ndt. I also
> tried to use $drh-> as well as $dbh-> as the handle to find the
> correct method with no success.

You have the (sadly very common) idea that the "DBperl Spec" is
closely related to the DBI interface. That's not true.

The "DBperl Spec" is of historical interest only. It's at least
a couple of years old. The DBI WWW pages should make that clear
(I've not checked if they do yet, CC'd to Alligator).

The only "documentation" (if you want to call it that) is at the
end of the DBI.pm file, and even that's not always accurate.

Sorry.

This situation will continue till the ODBC support is added
(don't ask when).

The only fully documented and supported stable interface is the
Oraperl emulation supplied with DBD::Oracle. Use 'perldoc Oraperl'
to read it. All else is liable to change.

On the up side I'll be doing more work on DBD::Oracle in the next
month or so. A row cache will probably be added and Oraperl may
officially be 'released'.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29933-0@oink>;
          Tue, 23 Apr 1996 08:03:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830242667:11894:1; Tue, 23 Apr 96 07:57:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11514; 23 Apr 96 7:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA11521 for dbi-users-real; Mon, 22 Apr 1996 23:51:52 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA11517 
          for <dbi-users@fugue.com>; Mon, 22 Apr 1996 23:51:50 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa15913; 23 Apr 96 7:54 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa13538; 23 Apr 96 7:54 +0100
Received: from toad by oink with SMTP (PP) id <29883-0@oink>;
          Tue, 23 Apr 1996 07:53:53 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27735;
          Tue, 23 Apr 1996 07:53:46 +0000
Date: Tue, 23 Apr 1996 07:53:46 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604230653.AA27735@toad.ig.co.uk>
To: cbal@europeonline.com
Subject: Re: Problem DBD on HP-UX 9.04 and Oracle 7.1.6
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 606
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Cyryl Balma <cbal@europeonline.com>
> 
> Hi Tim,
> 
> Yesterday, I solved my problem:
> After several unlucky tests on my system, (always the same error), I
> decided to desinstall on the perl package (perl, DBD/DBI) and to
> reinstalled the following package:
> - perl 5.002 (test and compilation ok with the dynamic librairies)
> - DBI 0.68 (test and installation ok)
> - DBD 0.29 Oracle (test and installation ok)
> - Configuraton of the variable TNS_ADMIN
> After many tests on my database, it's working fine and you know what : I
> am very happy!!!!

Great. Thanks for letting me know.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29933-2@oink>;
          Tue, 23 Apr 1996 08:03:28 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830242747:12268:4; Tue, 23 Apr 96 07:59:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12221; 23 Apr 96 7:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA11501 for dbi-announce-real; Mon, 22 Apr 1996 23:45:01 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA11497;
          Mon, 22 Apr 1996 23:44:58 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac07731; 23 Apr 96 6:47 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af27001; 23 Apr 96 5:13 +0100
Received: from toad by oink with SMTP (PP) id <24680-0@oink>;
          Mon, 22 Apr 1996 22:39:29 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25783;
          Mon, 22 Apr 1996 22:39:22 +0000
Date: Mon, 22 Apr 1996 22:39:22 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604222139.AA25783@toad.ig.co.uk>
To: dbi-users@fugue.com, sjm@ton.tut.fi
Subject: Re: udt2ndt & ndt2udt?
Cc: dbi-announce@fugue.com, descarte@hermetica.com
X-Sun-Charset: US-ASCII
content-length: 1130
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <sjm@ton.tut.fi>
> 
>     $oratime = $dbh->udt2ndt($mytime);
> 
> I cannot find the date/time conversion function udt2ndt. I also
> tried to use $drh-> as well as $dbh-> as the handle to find the
> correct method with no success.

You have the (sadly very common) idea that the "DBperl Spec" is
closely related to the DBI interface. That's not true.

The "DBperl Spec" is of historical interest only. It's at least
a couple of years old. The DBI WWW pages should make that clear
(I've not checked if they do yet, CC'd to Alligator).

The only "documentation" (if you want to call it that) is at the
end of the DBI.pm file, and even that's not always accurate.

Sorry.

This situation will continue till the ODBC support is added
(don't ask when).

The only fully documented and supported stable interface is the
Oraperl emulation supplied with DBD::Oracle. Use 'perldoc Oraperl'
to read it. All else is liable to change.

On the up side I'll be doing more work on DBD::Oracle in the next
month or so. A row cache will probably be added and Oraperl may
officially be 'released'.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00664-4@oink>;
          Tue, 23 Apr 1996 08:36:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830244179:21092:5; Tue, 23 Apr 96 08:22:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21035; 23 Apr 96 8:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA11561 for dbi-users-real; Tue, 23 Apr 1996 00:17:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id AAA11557 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 00:17:43 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa18017; 23 Apr 96 8:20 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa11359; 23 Apr 96 7:42 +0100
Received: from toad by oink with SMTP (PP) id <29708-0@oink>;
          Tue, 23 Apr 1996 07:41:37 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27665;
          Tue, 23 Apr 1996 07:41:25 +0000
Date: Tue, 23 Apr 1996 07:41:25 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604230641.AA27665@toad.ig.co.uk>
To: descarte@hermetica.com
Subject: Re: $DBI::errstr
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1909
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> Tim, has the functionality of this changed at all on DBI-0.68?
> Or is there a known problem with it under DBD::Oracle-0.29.
> 
> I tried the following under perl5.002delta and the above combo.
> 
> use DBI;
> $drh = DBI->install_driver( 'Oracle' ) || die "Cannot load driver: $!\n";
> $dbh = $drh->connect( 'DBASE', 'BLAH', 'BLAH' );
> if ( !defined $dbh ) {
>     print "Error: $DBI::errstr\n";
>   }
> $dbh->disconnect;
> 
> Excuse the use of $drh->DBI......8-) The connect is set to fail.
> 
> Reports:
> 
> Can't read $DBI::errstr, lost last handle at test.pl line 4.
> Error: 

Here's the fix. Apply to DBI.xs:

***************
*** 53,58 ****
--- 53,59 ----
  #define IMA_KEEP_ERR		0x0004	/* don't reset err & errstr	*/
  
  #define DBI_LAST_HANDLE		dbi_last_h /* special fake inner handle	*/
+ #define DBI_LAST_HANDLE_PARENT	(DBIc_PARENT_H(DBIh_COM(DBI_LAST_HANDLE)))
  #define DBI_IS_LAST_HANDLE(h)	(SvRVx(DBI_LAST_HANDLE) == SvRV(h))
  #define DBI_SET_LAST_HANDLE(h)	(SvRVx(DBI_LAST_HANDLE) =  SvRV(h))
  #define DBI_UNSET_LAST_HANDLE	(SvRVx(DBI_LAST_HANDLE) =  &sv_undef)
***************
*** 836,843 ****
  
      /* record this inner handle for use by DBI::var::FETCH	*/
      if (is_destroy) {	/* we use devious means here...	*/
! 	if (DBI_IS_LAST_HANDLE(h))
! 	    DBI_UNSET_LAST_HANDLE;	/* if destroying _this_ handle */
  	/* otherwise don't alter it */
      }
      else DBI_SET_LAST_HANDLE(h);
--- 837,846 ----
  
      /* record this inner handle for use by DBI::var::FETCH	*/
      if (is_destroy) {	/* we use devious means here...	*/
! 	if (DBI_IS_LAST_HANDLE(h)) {	/* if destroying _this_ handle */
! 	    SV *lhp = DBI_LAST_HANDLE_PARENT;
! 	    (SvROK(lhp)) ? DBI_SET_LAST_HANDLE(lhp) : DBI_UNSET_LAST_HANDLE;
! 	}
  	/* otherwise don't alter it */
      }
      else DBI_SET_LAST_HANDLE(h);

It'll be in the next release.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00839-4@oink>;
          Tue, 23 Apr 1996 09:01:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830245684:01140:2; Tue, 23 Apr 96 08:48:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00967; 23 Apr 96 8:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA11590 for dbi-users-real; Tue, 23 Apr 1996 00:41:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id AAA11586 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 00:41:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac22377; 23 Apr 96 7:44 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa21628; 23 Apr 96 8:36 +0100
Received: from toad by oink with SMTP (PP) id <00628-0@oink>;
          Tue, 23 Apr 1996 08:30:34 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27867;
          Tue, 23 Apr 1996 08:30:28 +0000
Date: Tue, 23 Apr 1996 08:30:28 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604230730.AA27867@toad.ig.co.uk>
To: dbi-users@fugue.com, jposner@clark.net
Subject: Re: Memory Leak
X-Sun-Charset: US-ASCII
content-length: 1061
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> To: dbi-users@fugue.com
> 
> Has anyone noticed a memory leak with
> dbi/dbd::oracle.  Here is a test case which leaks
> after each open/close cycle:
> 
>     #!/usr/local/bin/perl
>     use Oraperl;
>     $l = ora_login($sid, $user, $pw) || die "Can't connect";
>     while (1) {
>         ora_close(ora_open($l, 'select * from user_tables')) ;
>         printf "%d\n", $i++;
>     }
> 
> My system is Solaris 2.4, gcc 2.7.2, perl5.002, DBI-68, 
> DBD::Oracle-29, Oracle 7.2.2.
> 
> Thanks for any insight.

Umm, after browsing through a swollen core dump with less (a remarkably
effective way to spot what's leaking) I've tracked it down to this code
in DBI.xs:

/*  SV *sv = sv_newmortal(); XXX swap back to fix small leak */
    SV *sv = newSV(0);

Well, what can I say! :-) I've no idea why I changed it. Changing it
back fixes the leak with no visible side effects (and none likely).

It'll be in the next release. Meanwhile patch it by hand if a 64 byte
leak per query (for all DBD's not just Oracle) worries you.

Thanks for spotting the leak.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02179-1@oink>;
          Tue, 23 Apr 1996 12:56:07 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830256080:02923:1; Tue, 23 Apr 96 11:41:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa02432; 23 Apr 96 11:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA11842 for dbi-announce-real; Tue, 23 Apr 1996 03:27:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA11838;
          Tue, 23 Apr 1996 03:27:15 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id LAA08450; Tue, 23 Apr 1996 11:22:47 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604231022.LAA08450@fruitbat.mcqueen.com>
Subject: Re: udt2ndt & ndt2udt?
To: Tim.Bunce@ig.co.uk (Tim Bunce)
Date: Tue, 23 Apr 1996 11:22:46 +0100 (BST)
Cc: dbi-users@fugue.com, sjm@ton.tut.fi, dbi-announce@fugue.com, 
    descarte@hermetica.com
In-Reply-To: <9604222139.AA25783@toad.ig.co.uk> from "Tim Bunce" at Apr 22, 96 10:39:22 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1091


> >     $oratime = $dbh->udt2ndt($mytime);
> > 
> > I cannot find the date/time conversion function udt2ndt. I also
> > tried to use $drh-> as well as $dbh-> as the handle to find the
> > correct method with no success.
> 
> You have the (sadly very common) idea that the "DBperl Spec" is
> closely related to the DBI interface. That's not true.
> 
> The "DBperl Spec" is of historical interest only. It's at least
> a couple of years old. The DBI WWW pages should make that clear
> (I've not checked if they do yet, CC'd to Alligator).

Not yet. Not yet! Later this week, hopefully.

> The only "documentation" (if you want to call it that) is at the
> end of the DBI.pm file, and even that's not always accurate.

It may be worthwhile building a spec from here, since one of the most common
questions I get pestered with is

	What methods can I use?

I suppose I should get the finger out with the new FAQ

> Tim.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02183-12@oink>;
          Tue, 23 Apr 1996 12:57:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830255753:16877:1; Tue, 23 Apr 96 11:35:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16519; 23 Apr 96 11:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA11847 for dbi-users-real; Tue, 23 Apr 1996 03:29:16 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA11838;
          Tue, 23 Apr 1996 03:27:15 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id LAA08450; Tue, 23 Apr 1996 11:22:47 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199604231022.LAA08450@fruitbat.mcqueen.com>
Subject: Re: udt2ndt & ndt2udt?
To: Tim.Bunce@ig.co.uk (Tim Bunce)
Date: Tue, 23 Apr 1996 11:22:46 +0100 (BST)
Cc: dbi-users@fugue.com, sjm@ton.tut.fi, dbi-announce@fugue.com, 
    descarte@hermetica.com
In-Reply-To: <9604222139.AA25783@toad.ig.co.uk> from "Tim Bunce" at Apr 22, 96 10:39:22 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1091


> >     $oratime = $dbh->udt2ndt($mytime);
> > 
> > I cannot find the date/time conversion function udt2ndt. I also
> > tried to use $drh-> as well as $dbh-> as the handle to find the
> > correct method with no success.
> 
> You have the (sadly very common) idea that the "DBperl Spec" is
> closely related to the DBI interface. That's not true.
> 
> The "DBperl Spec" is of historical interest only. It's at least
> a couple of years old. The DBI WWW pages should make that clear
> (I've not checked if they do yet, CC'd to Alligator).

Not yet. Not yet! Later this week, hopefully.

> The only "documentation" (if you want to call it that) is at the
> end of the DBI.pm file, and even that's not always accurate.

It may be worthwhile building a spec from here, since one of the most common
questions I get pestered with is

	What methods can I use?

I suppose I should get the finger out with the new FAQ

> Tim.

-- 
Alligator Descartes		\\ Nexus - Multi-User Virtual Reality 
Anathematician			//   http://www.hermetica.com/nexus
descarte@hermetica.com		\\      ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03683-9@oink>;
          Tue, 23 Apr 1996 16:22:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830272358:24653:1; Tue, 23 Apr 96 16:12:38 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa24418; 23 Apr 96 16:11 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa14562; 23 Apr 96 16:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA12102 for dbi-users-real; Tue, 23 Apr 1996 08:02:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from proxy.midamerican.com (firewall-user@proxy.midamerican.com [199.120.122.129]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA12098 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 08:01:57 -0700
Received: by proxy.midamerican.com; id KAA06281;
          Tue, 23 Apr 1996 10:04:19 -0500 (CDT)
Received: from mailgate.midamerican.com(10.48.0.12) by proxy.midamerican.com 
          via smap (V3.1) id xma006279; Tue, 23 Apr 96 10:04:13 -0500
Received: by sic001.midamerican.com; Tue, 23 Apr 96 10:04:46 CDT
Date: Tue, 23 Apr 96 9:31:56 CDT
Message-ID: <vines.Pzb7+QbCTlA@sic001.midamerican.com>
X-Priority: 3 (Normal)
To: dbi-users@fugue.com
MMDF-Warning: Parse error in original version of preceding line at 
              relay-1.mail.demon.net
From: kmacleod@midamerican.com
MMDF-Warning: Parse error in original version of preceding line at 
              relay-1.mail.demon.net
Subject: Re: INSTALLSITEARCH or INST_PM not defined correctly in Makefi
X-Incognito-SN: 1127
X-Incognito-Format: VERSION=2.01a ENCRYPTED=NO

Tim wrote:
>> From: kmacleod <kmacleod@midamerican.com> (Ken MacLeod)
>> 
>> A note on the Perl build, Perl was built according to the ``Changing the 
>> installation directory'' section in Perl's `INSTALL' file (Perl was 
>> ``installed'' into a temporary directory, then tarred, then untarred in 
>> it's final directory).
>
>Don't do that! It's wrong and will cause you lots of grief.
>Perl has those paths built in.
>
>Rebuild and reinstall perl directly into it's final resting place.

Perl's much better about that now.  The only place the temporary directory 
path appears in the installed Perl is where you'd expect:  the `install*' 
variables in the `Config.pm' file.  For a long time now I've been using a 
``packaging'' style method for installing software and you're right, some 
packages are more conducive to packaging than others.  I tested again using 
`strings' on every file, just to make sure :-).
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06505-6@oink>;
          Tue, 23 Apr 1996 19:58:37 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830285780:00547:4; Tue, 23 Apr 96 19:56:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa00336; 23 Apr 96 19:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA12399 for dbi-users-real; Tue, 23 Apr 1996 11:34:15 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from proxy.netlabs.com (ns.sems.com [192.94.48.47]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA12395 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 11:34:09 -0700
Received: by proxy.netlabs.com (4.1/SMI-4.1) id AA02197;
          Tue, 23 Apr 96 11:43:35 PDT
Received: from vaccine-bb.sems.com(192.190.199.1) by ns.sems.com 
          via smap (V1.3) id sma002194; Tue Apr 23 11:43:17 1996
Received: from base (base.netlabs.com) by vaccine-bb.netlabs.com (4.1/SMI-4.1) 
          id AA24148; Tue, 23 Apr 96 11:37:34 PDT
Message-Id: <317D236D.446B9B3D@sems.com>
Date: Tue, 23 Apr 1996 11:37:33 -0700
From: Chuck Kung <chuck@sems.com>
X-Mailer: Mozilla 2.0 (X11; U; SunOS 4.1.3_U1 sun4m)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: unsubscribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07567-9@oink>;
          Tue, 23 Apr 1996 20:55:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830288481:13321:0; Tue, 23 Apr 96 20:41:21 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa12869; 23 Apr 96 20:40 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa08951; 23 Apr 96 20:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA12464 for dbi-users-real; Tue, 23 Apr 1996 12:25:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeeper.resumix.com (firewall-user@gatekeeper.resumix.com [206.52.124.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA12460 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 12:25:21 -0700
Received: by gatekeeper.resumix.com; id AA12698; Tue, 23 Apr 96 12:31:00 PDT
Received: from vulcan.resumix.com(199.171.160.2) by gatekeeper.resumix.com 
          via smap (V3.1) id xma012686; Tue, 23 Apr 96 12:30:56 -0700
Received: from InfoSys-Temp.resumix.com (webdev-pc.resumix.com [199.171.160.167]) 
          by vulcan.resumix.com (8.7.3/8.7.3) with SMTP id MAA28024;
          Tue, 23 Apr 1996 12:24:57 -0700 (PDT)
Message-Id: <2.2.32.19960423192526.006b5bb0@mailhost.resumix.com>
X-Wisecrack: Madness takes its toll. Please have exact change.
X-Sender: creed@mailhost.resumix.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=====================_830312726==_"
Date: Tue, 23 Apr 1996 12:25:26 -0700
To: dbi-users@fugue.com
From: Creed Erickson <creed@resumix.com>
Subject: Bad free() in DBD::Oracle
Cc: Tim.Bunce@ig.co.uk, John Carlson <carlson@tis.llnl.gov>
X-Attachments: C:\My Documents\Archives\DBDtest.txt;

--=====================_830312726==_
Content-Type: text/plain; charset="us-ascii"

I found the following reference in the DBD::Oracle perl module README file:
------
Environment:  SunOS 4.1.3, Oracle 7.1.3  John Carlson <carlson@tis.llnl.gov>
 
Problem:  oraperl and DBD::Oracle fail to link.  Some messing around with
the library order makes the link succeed.  Now I get a "Bad free()" when
ora_logoff is called.
 
Solution:
In my case, this was caused by a faulty oracle install.  The install grabbed
the wrong version of mergelib (The X11R6 one) instead of the one in
$ORACLE_HOME/bin.  Try a more limited path and reinstall Oracle again.
-------

I am recving the same "bad free()" message when ora_logoff is called. In my
case I have no trouble linking. Solaris 2.5, Oracle 7.1.3, DBD::Oracle 0.29,
perl 5.002

I am not sure how to test for the faulty Oracle install. () However 'which
mergelib' yields $ORACLE_HOME/bin/mergelib.

Caveat: I'm NOT real saavy about Oracle but I'm smart enough to know that I
don't even know what I don't know.

All the data from the build/test run is attached for reference.

Any hints and/or direction would be appreciated.

--=====================_830312726==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="DBDtest.txt"

creed@argon(106): perl Makefile.PL
 
Configuring DBD::Oracle ...
 
        Remember to actually read the README file!
 
Using Oracle in /local/oracle
Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
Using /local/oracle/proc/lib/proc.mk version 1.11
System: perl5.002 sunos argon 5.5 generic sun4m sparc sunw,sparcstation-20  sun4s dl_dlopen.xs
Compiler: gcc -O -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
  CC:       ld -dy $(COMPOBJS) $(LDSTRING)
  LDFLAGS:  -L$(LIBHOME)
  LDSTRING: -Y P,$(LD_LIBRARY_PATH):/usr/ccs/lib:/usr/lib -Qy -lc $(COMPOBJ)/crtn.o
 
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.
 
Writing Makefile for DBD::Oracle
creed@argon(107): make
umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
/bin/perl -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib /local/perl/lib/ExtUtils/xsubpp  -typemap /local/perl/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
gcc -c -I/local/oracle/rdbms/demo -I/local/perl/lib/site_perl/sun4s/DBI -I/local/perl/lib/sun4s/5.002/DBI -I/usr/local/include -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/local/perl/lib/sun4s/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
gcc -c -I/local/oracle/rdbms/demo -I/local/perl/lib/site_perl/sun4s/DBI -I/local/perl/lib/sun4s/5.002/DBI -I/usr/local/include -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/local/perl/lib/sun4s/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional dbdimp.c
dbdimp.c:126: warning: `dump_error_status' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/lib" gcc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o  dbdimp.o -L/local/oracle/lib /local/oracle/lib/__fstd.o -locic /local/oracle/lib/osntab.o -lsqlnet -lora  -lsqlnet  -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6           -lcore  `cat /local/oracle/rdbms/lib/sysliblist`   -lsocket -lnsl -lm -ldl -laio  
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
Manifying ./blib/man3/DBD::Oraperl.3
creed@argon(108): make test
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=2,  Tests=6,  2 secs ( 1.02 cusr  0.38 csys =  1.40 cpu)
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib test.pl
Oraperl test application $Revision: 1.20 $
 
Oraperl Emulation Interface version 1.23 
Oracle Driver 0.29
DBI-0.68 Switch by Tim Bunce, version 0.68
 
 
Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'itest/itest' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields:  4
Names:   'NUM_T',       'DATE_T',       'CHAR_T',       'NULL_T'
Lengths: '40',  '75',   '30',   '0'
Types:   '2',   '12',   '1',    '1'
Data rows:
    fetch: 79.2 23-APR-96 ITEST NULL
 
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...
 
Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.
 
 
Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.
 
Test complete (1 seconds).
creed@argon(109): 

creed@argon(122): make test TEST_VERBOSE=1 
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
t/main..............t/main.t 
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
All tests successful.
Files=2,  Tests=6,  2 secs ( 1.13 cusr  0.29 csys =  1.42 cpu)
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib test.pl
Oraperl test application $Revision: 1.20 $
 
Oraperl Emulation Interface version 1.23 
Oracle Driver 0.29
DBI-0.68 Switch by Tim Bunce, version 0.68
 
 
Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'itest/itest' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields:  4
Names:   'NUM_T',       'DATE_T',       'CHAR_T',       'NULL_T'
Lengths: '40',  '75',   '30',   '0'
Types:   '2',   '12',   '1',    '1'
Data rows:
    fetch: 79.2 23-APR-96 ITEST NULL
 
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...
 
Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.
 
 
Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.
 
Test complete (1 seconds).
creed@argon(123): perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=solaris, osver=2.5, archname=sun4s
    uname='sunos argon 5.5 generic sun4m sparc sunw,sparcstation-20 '
    hint=recommended, useposix=true 
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.6.3
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib'
 
@INC: /local/perl/lib/sun4s/5.002 /local/perl/lib /local/perl/lib/site_perl/sun4s /local/perl/lib/site_perl .
creed@argon(124): 


--=====================_830312726==_
Content-Type: text/plain; charset="us-ascii"

--
Creed Erickson <creed@resumix.com>
Professional Nitpicker, Instigator, and Software Test Pilot.
Is the glass half empty, half full, or twice as large as it needs to be? 

--=====================_830312726==_--

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08384-0@oink>;
          Tue, 23 Apr 1996 21:51:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830291979:15253:1; Tue, 23 Apr 96 21:39:39 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15199; 23 Apr 96 21:39 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22807; 23 Apr 96 21:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA12603 for dbi-users-real; Tue, 23 Apr 1996 13:28:37 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA12599 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 13:28:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac10866; 23 Apr 96 20:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad25592; 23 Apr 96 21:31 +0100
Received: from toad by oink with SMTP (PP) id <07612-0@oink>;
          Tue, 23 Apr 1996 21:00:39 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00919;
          Tue, 23 Apr 1996 21:00:21 +0000
Date: Tue, 23 Apr 1996 21:00:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604232000.AA00919@toad.ig.co.uk>
To: dbi-users@fugue.com, creed@resumix.com, carlson@tis.llnl.gov
Subject: Re: Bad free() in DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 1228
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Creed Erickson <creed@resumix.com>
> 
> I found the following reference in the DBD::Oracle perl module README file:
> ------
> Environment:  SunOS 4.1.3, Oracle 7.1.3  John Carlson <carlson@tis.llnl.gov>
>  
> Problem:  oraperl and DBD::Oracle fail to link.  Some messing around with
> the library order makes the link succeed.  Now I get a "Bad free()" when
> ora_logoff is called.
>  
> Solution:
> In my case, this was caused by a faulty oracle install.  The install grabbed
> the wrong version of mergelib (The X11R6 one) instead of the one in
> $ORACLE_HOME/bin.  Try a more limited path and reinstall Oracle again.
> -------
> 
> I am recving the same "bad free()" message when ora_logoff is called. In my
> case I have no trouble linking. Solaris 2.5, Oracle 7.1.3, DBD::Oracle 0.29,
> perl 5.002

I've seen the same problem with Oracle 7.1.3.

> I am not sure how to test for the faulty Oracle install. () However 'which
> mergelib' yields $ORACLE_HOME/bin/mergelib.

Umm. Neither do I. John, can you shed some more light on the exact
nature of the problem and how you fixed it?

> Any hints and/or direction would be appreciated.

Meanwhile you could rebuild perl with that warning (in perl.c) disabled.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09033-8@oink>;
          Tue, 23 Apr 1996 22:36:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830295321:16332:0; Tue, 23 Apr 96 22:35:21 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16243; 23 Apr 96 22:35 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa05330; 23 Apr 96 22:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA12740 for dbi-users-real; Tue, 23 Apr 1996 14:24:20 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from w3-design.softaware.com (w3-design.com [206.117.78.129]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA12736 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 14:24:19 -0700
Received: from [206.117.64.66] (highball.w3-design.com [206.117.64.66]) 
          by w3-design.softaware.com (8.6.9/8.6.9) with SMTP id OAA05205;
          Tue, 23 Apr 1996 14:25:34 -0700
Message-Id: <199604232125.OAA05205@w3-design.softaware.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 23 Apr 1996 14:22:50 -0700
To: Tim Bunce <Tim.Bunce@ig.co.uk>
From: Frank San Filippo <frank@w3-design.com>
Subject: Re: Memory Leak
Cc: dbi-users@fugue.com

Tim Bunce <Tim.Bunce@ig.co.uk> wrote, regarding a memory leak in DBI.pm:

>Umm, after browsing through a swollen core dump with less (a remarkably
>effective way to spot what's leaking) I've tracked it down to this code
>in DBI.xs:
>
>/*  SV *sv = sv_newmortal(); XXX swap back to fix small leak */
>    SV *sv = newSV(0);
>
>Well, what can I say! :-) I've no idea why I changed it. Changing it
>back fixes the leak with no visible side effects (and none likely).
>
>It'll be in the next release. Meanwhile patch it by hand if a 64 byte
>leak per query (for all DBD's not just Oracle) worries you.
>

Do you mean to just uncomment the top line and comment out the bottom? It's
not clear from what you wrote. You seem pretty nonchallant about a
(admittedly small) leak -- but this could seriously afect performance over
the course of a few days, couldn't it? Or is it not worth worrying about?

TIA,
F.

<html><head><title>
F r a n k  S a n  F i l i p p o
</title></head><body><a href="http://www.w3-design.com/">
w 3 - d e s i g n
<p>(310) 815-1177 fax:(310) 815-1133</p>
</a></body></html>


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09413-4@oink>;
          Tue, 23 Apr 1996 23:21:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830295979:22471:0; Tue, 23 Apr 96 22:46:19 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa21947; 23 Apr 96 22:45 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa07907; 23 Apr 96 22:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA12834 for dbi-users-real; Tue, 23 Apr 1996 14:35:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeeper.resumix.com (firewall-user@gatekeeper.resumix.com [206.52.124.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA12828 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 14:34:59 -0700
Received: by gatekeeper.resumix.com; id AA14729; Tue, 23 Apr 96 14:40:39 PDT
Received: from vulcan.resumix.com(199.171.160.2) by gatekeeper.resumix.com 
          via smap (V3.1) id xma014725; Tue, 23 Apr 96 14:40:24 -0700
Received: from InfoSys-Temp.resumix.com (webdev-pc.resumix.com [199.171.160.167]) 
          by vulcan.resumix.com (8.7.3/8.7.3) with SMTP id OAA29114;
          Tue, 23 Apr 1996 14:34:24 -0700 (PDT)
Message-Id: <2.2.32.19960423213453.006dc0fc@mailhost.resumix.com>
X-Wisecrack: Madness takes its toll. Please have exact change.
X-Sender: creed@mailhost.resumix.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 23 Apr 1996 14:34:53 -0700
To: Tim Bunce <Tim.Bunce@ig.co.uk>, dbi-users@fugue.com
From: Creed Erickson <creed@resumix.com>
Subject: Re: Bad free() in DBD::Oracle

At 09:00 PM 4/23/96 +0000, Tim Bunce wrote:
>
>Meanwhile you could rebuild perl with that warning (in perl.c) disabled.
>
>Tim.

It appears the message comes from perl's malloc.c rather than perl.c
--
Creed Erickson <creed@resumix.com>
Professional Nitpicker, Instigator, and Software Test Pilot.
Is the glass half empty, half full, or twice as large as it needs to be? 

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09634-0@oink>;
          Tue, 23 Apr 1996 23:27:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830298352:14206:1; Tue, 23 Apr 96 23:25:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa13974; 23 Apr 96 23:25 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa16600; 23 Apr 96 23:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA12983 for dbi-users-real; Tue, 23 Apr 1996 15:13:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA12979 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 15:13:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ae05266; 23 Apr 96 23:16 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa26788; 23 Apr 96 23:15 +0100
Received: from toad by oink with SMTP (PP) id <09354-0@oink>;
          Tue, 23 Apr 1996 23:11:28 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01320;
          Tue, 23 Apr 1996 23:11:21 +0000
Date: Tue, 23 Apr 1996 23:11:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604232211.AA01320@toad.ig.co.uk>
To: frank@w3-design.com
Subject: Re: Memory Leak
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1654
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Frank San Filippo <frank@w3-design.com>
> 
> Tim Bunce <Tim.Bunce@ig.co.uk> wrote, regarding a memory leak in DBI.pm:
> 
> >Umm, after browsing through a swollen core dump with less (a remarkably
> >effective way to spot what's leaking) I've tracked it down to this code
> >in DBI.xs:
> >
> >/*  SV *sv = sv_newmortal(); XXX swap back to fix small leak */
> >    SV *sv = newSV(0);
> >
> >Well, what can I say! :-) I've no idea why I changed it. Changing it
> >back fixes the leak with no visible side effects (and none likely).
> >
> >It'll be in the next release. Meanwhile patch it by hand if a 64 byte
> >leak per query (for all DBD's not just Oracle) worries you.
> 
> Do you mean to just uncomment the top line and comment out the bottom? It's
> not clear from what you wrote.

Yes. Sorry it wasn't clear.

> You seem pretty nonchallant about a
> (admittedly small) leak -- but this could seriously afect performance over
> the course of a few days, couldn't it? Or is it not worth worrying about?

I'm not nonchallant about memory leaks in general.

Only a few users have very long running applications or applications
that make _thousands_ of calls. 64 bytes is a drop in the ocean of the
average perl database application (sadly).

You need to make over 1000 queries before you've lost 64Kb. Looking back
in my version history I can see that the leak has been there since 0.61,
released in August 95, yet this is the first report of it.

Those who _do_ have such applications will know who they are and will
make the change. The rest need not bother unless it does worry them.

Either way, I hope to make a new release this week.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <10781-7@oink>;
          Wed, 24 Apr 1996 07:07:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830304942:06064:1; Wed, 24 Apr 96 01:15:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05316; 24 Apr 96 1:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA13169 for dbi-users-real; Tue, 23 Apr 1996 17:05:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id RAA13165 
          for <dbi-users@fugue.com>; Tue, 23 Apr 1996 17:05:42 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ad25616; 24 Apr 96 0:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa02638; 23 Apr 96 23:36 +0100
Received: from toad by oink with SMTP (PP) id <09394-0@oink>;
          Tue, 23 Apr 1996 23:18:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01363;
          Tue, 23 Apr 1996 23:18:35 +0000
Date: Tue, 23 Apr 1996 23:18:35 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604232218.AA01363@toad.ig.co.uk>
To: dbi-users@fugue.com, creed@resumix.com
Subject: Re: Bad free() in DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 350
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> To: Tim Bunce <Tim.Bunce@ig.co.uk>, dbi-users@fugue.com
> 
> At 09:00 PM 4/23/96 +0000, Tim Bunce wrote:
> >
> >Meanwhile you could rebuild perl with that warning (in perl.c) disabled.
> 
> It appears the message comes from perl's malloc.c rather than perl.c

Quite right. Sorry. I'm practically brain dead at the moment.

Tim [off home, honest!]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15718-0@oink>;
          Wed, 24 Apr 1996 18:41:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830367551:19706:0; Wed, 24 Apr 96 18:39:11 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa19235; 24 Apr 96 18:38 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa25125; 24 Apr 96 18:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA14131 for dbi-users-real; Wed, 24 Apr 1996 10:14:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA14127 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 10:14:31 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa20608; 24 Apr 96 17:10 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae11219; 24 Apr 96 17:04 +0100
Received: from toad by oink with SMTP (PP) id <14736-0@oink>;
          Wed, 24 Apr 1996 14:22:20 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA03895;
          Wed, 24 Apr 1996 14:22:11 +0000
Date: Wed, 24 Apr 1996 14:22:11 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604241322.AA03895@toad.ig.co.uk>
To: holoch@ccnet.com
Subject: Re: OraPerl 2.4 & Perl 4.036 or DBI/DBD and Perl 4.002?
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 832
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Rich Holoch <holoch@ccnet.com>
> 
> Seems like I am right on the fence.  We will need to start developing fairly 
> simple booking CGI forms that do DML with Oracle 7.2.2.3 on a DEC Alpha V3.2.
> 
> What would you suggest?  I have installed Perl 4.036,  and am going through the 
> undefined symbols to get OraPerl to make,  but could easily can this effort 
> if its a waste of time.
> 
> I care more about stability and documentation availability than the latest 
> and greatest - I won't have much time to hack my way around serious bugs.

Perl4 oraperl is _very_ stable simple because no one is working on it!

Bugs in DBI, DBD::Oracle and the Oraperl emulation seem to get fixed
pretty quickly.

Perl4 oraperl is currently slightly quicker but DBD::Oracle should
catch up before too long.

Suck'em both and see.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16546-11@oink>;
          Wed, 24 Apr 1996 23:20:47 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830380099:07278:1; Wed, 24 Apr 96 22:08:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06600; 24 Apr 96 22:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA14553 for dbi-users-real; Wed, 24 Apr 1996 13:48:55 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from igate1.hac.com (igate1.HAC.COM [192.48.33.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA14549 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 13:48:53 -0700
Received: from msmail3.hac.com ([147.17.106.41]) 
          by igate1.hac.com (4.1/SMI-4.1) id AA29201;
          Wed, 24 Apr 96 13:49:07 PDT
Message-Id: <n1381768596.96813@MSMAIL3.HAC.COM>
Date: 24 Apr 1996 15:55:59 -0800
From: "Bergquist, Denis J" <djbergquist@msmail3.hac.com>
Subject: IRIX 5.3 SGI can't compile DBD::Oracle - Incompatible pointer type 
         assignment
To: "Bunce, Tim" <Tim.Bunce@ig.co.uk>, dbi-users <dbi-users@fugue.com>
X-Mailer: Mail*Link SMTP-MS 3.0.2

I read the readme, I think I did everything correctly, and yet . . .

SGI Onyx running IRIX 5.3, tcsh
Oracle 7.1.4 (sort of)
perl 5.002 (what's later, 5.002 or 5.002beta2???)
DBI 0.68 tests OK

onyx1-dbergqui:/usr6/dbergqui/internet_bin/src/DBD/DBD-Oracle-0.29-533 > make
        umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
        umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
        umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
        /usr6/dbergqui/perl5/perl -I/usr6/dbergqui/perl5/lib/sgi-irix/5.002
-I/usr6/dbergqui/perl5/lib /usr6/dbergqui/perl5/lib/ExtUtils/xsubpp  -typemap
/usr6/dbergqui/perl5/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc
Oracle.c
        cc -c -I/usr/local/oracle/rdbms/demo
-I/usr6/dbergqui/perl5/lib/site_perl/sgi-irix/DBI
-I/usr6/dbergqui/perl5/lib/sgi-irix/5.002/DBI -D_POSIX_SOURCE -ansiposix
-D_BSD_TYPES -Olimit 3000 -I/usr/local/include -DLANGUAGE_C -O
-DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" 
-I/usr6/dbergqui/perl5/lib/sgi-irix/5.002/CORE  Oracle.c
        cc -c -I/usr/local/oracle/rdbms/demo
-I/usr6/dbergqui/perl5/lib/site_perl/sgi-irix/DBI
-I/usr6/dbergqui/perl5/lib/sgi-irix/5.002/DBI -D_POSIX_SOURCE -ansiposix
-D_BSD_TYPES -Olimit 3000 -I/usr/local/include -DLANGUAGE_C -O
-DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" 
-I/usr6/dbergqui/perl5/lib/sgi-irix/5.002/CORE  dbdimp.c
cfe: Error: dbdimp.c, line 811: Incompatible pointer type assignment
(3.3.16.1, 3.5.4.1(21))
     safefree(imp_sth->fbh);
 --------------------^
cfe: Error: dbdimp.c, line 811: Type imp_fbh_t *  of this argument  is
incompatible with type unsigned char *  of function prototype description
(3.3.16.1)
     safefree(imp_sth->fbh);
 --------------------^
*** Error code 1 (bu21)

Changing dbdimp.c lines 811-813 as so

<     safefree((char *)(imp_sth->fbh));
<     safefree((char *)(imp_sth->fbh_cbuf));
<     safefree((char *)(imp_sth->statement));
---
>     safefree(imp_sth->fbh);
>     safefree(imp_sth->fbh_cbuf);
>     safefree(imp_sth->statement);

seems to solve the problem (make, make test, and make install seem to go
well).

I don't speak 'c', but my c guru tells me that this is an OK thing to have
done. (First he looked for the prototype of safefree which seems to have come
from handy.h, perl.h, or proto.h in perl5/lib/sgi-irix/5.002/CORE.)

Any comment? Should this have worked or have I got an old version of
something?

Thanks for any feedback.

Denis Bergquist
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18873-0@oink>;
          Wed, 24 Apr 1996 23:53:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830386374:09537:2; Wed, 24 Apr 96 23:52:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08923; 24 Apr 96 23:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA14891 for dbi-users-real; Wed, 24 Apr 1996 15:46:26 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from audumla.students.wisc.edu (students.wisc.edu [144.92.104.66]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA14886 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 15:46:13 -0700
Received: from rain.wisc.edu by audumla.students.wisc.edu; id RAA78548;
          8.6.9W/42; Wed, 24 Apr 1996 17:49:24 -0500
Message-Id: <2.2.32.19960424225001.00693f4c@facstaff.wisc.edu>
X-Sender: nikolai@facstaff.wisc.edu
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 24 Apr 1996 17:50:01 -0500
To: dbi-users@fugue.com
From: "Ken P. Nikolai" <nikolai@facstaff.wisc.edu>
Subject: Re: WinNt version

I run this on AIX 4.1.4 with much success.

Ken


<snip>
>
>=================================================
>
>Module Name: DBD::Oracle
>Author: Tim Bunce
>Current Version: 0.29
>Requirements: 
>
>     perl 5.001m 
>     DBI-0.68 
>     Oracle7 RDBMS 
>     Any C compiler 
>
>Known Working Platforms: 
>
>     SunOS 4.1.3_U1 
>     Solaris 2.3 
>     Solaris 2.4 
>     DYNIX/ptx 2.1.0 
>     DYNIX/ptx 2.1.5 
>     HP-UX 10.01
>
                                  (' ')
-------------------------------ooO-(_)-Ooo-------------------------------       
       Ken Nikolai: _ http://axle.doit.wisc.edu/~kpn/ _
                    _ nikolai@facstaff.wisc.edu       _
---------------------------------oO---Oo---------------------------------

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18933-0@oink>;
          Wed, 24 Apr 1996 23:59:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830386515:10871:0; Wed, 24 Apr 96 23:55:15 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa10249; 24 Apr 96 23:54 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa21855; 24 Apr 96 23:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA14189 for dbi-users-real; Wed, 24 Apr 1996 10:38:35 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ews3.iac.honeywell.com (ews3.iac.honeywell.com [160.221.3.194]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA14182 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 10:37:19 -0700
Received: from pace-pc90 (pcserge.iac.honeywell.com) by ews3.iac.honeywell.com 
          with SMTP (1.39.111.2/16.2) id AA059541144;
          Tue, 23 Apr 1996 19:39:04 +0200
Message-Id: <317E6676.6C46@Belgium.Honeywell.com>
Date: Wed, 24 Apr 1996 19:35:50 +0200
From: Serge Hoffmann <Serge.Hoffmann@belgium.honeywell.com>
Organization: Honeywell PACE Europe
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: WinNt version
X-Url: http://www.hermetica.com/technologia/DBI/DBD/index.html#mSQL
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

Do you if a version of your program runs on WinNt ?

Thanks

Serge Hoffmann 
Serge.hoffmann@Belgium.Honeywell.com

=================================================

Module Name: DBD::Oracle
Author: Tim Bunce
Current Version: 0.29
Requirements: 

     perl 5.001m 
     DBI-0.68 
     Oracle7 RDBMS 
     Any C compiler 

Known Working Platforms: 

     SunOS 4.1.3_U1 
     Solaris 2.3 
     Solaris 2.4 
     DYNIX/ptx 2.1.0 
     DYNIX/ptx 2.1.5 
     HP-UX 10.01
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18933-1@oink>;
          Wed, 24 Apr 1996 23:59:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830386516:10897:0; Wed, 24 Apr 96 23:55:16 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa10629; 24 Apr 96 23:54 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id ab22095; 24 Apr 96 23:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA14848 for dbi-users-real; Wed, 24 Apr 1996 15:41:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from inet-smtp-gw-1.us.oracle.com (inet-smtp-gw-1.us.oracle.com [192.86.155.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA14844 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 15:41:10 -0700
From: wcoekaer@be.oracle.com
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id GAA10991; Wed, 24 Apr 1996 06:40:23 -0700
Message-Id: <199604241340.GAA10991@inet-smtp-gw-1.us.oracle.com>
Received: from behux2.be.oracle.com by behux0.be.oracle.com 
          with SMTP (1.39.111.2/16.2) id AA205963193;
          Wed, 24 Apr 1996 15:39:53 +0200
Subject: linking perl and DBD:Oracle shared.
To: dbi-users@fugue.com
Date: Wed, 24 Apr 1996 15:40:20 CES
Cc: wcoekaer@be.oracle.com
X-Mailer: Elm [revision: 111.1]

Hi...

Just a sidenote, to link with shared libs on hp... or other systems that
normally say static linking ... Only with oracle 7.2+...

If you compile DBD (oracle) with a 7.2+ version of oracle
check in $ORACLE_HOME/rdbms/lib... there should be a file
called clntsh.mk, do a make -f clntsh.mk shlib

this generates libclntsh.sl in ORACLE_HOME/lib

generate your DBD things and go to
./blib/arch/auto/DBD/Oracle/

mv extralibs.all extralibs.all.old

do

cat $ORACLE_HOME/rdbms/lib/sysliblist > extralibs.all

and add :

-L/opt/oracle/product/7.2.3/lib -lclntsh

you should get something like 

-lcl -lm -L/opt/oracle/product/7.2.3/lib -lclntsh
in your extralibs.all file... 

do a make perl again in DBD/
if everything goes well you have a shared perl executable now, ie also with
oracle shared libs.

hope this helps.

cheers
Wim

================================================================
Wim Coekaerts                          Work    Tel.:32-2-7195978
                                       Work    Fax.:32-2-7191314
			               Home    Tel.:32-16-470641	
Oracle Belgium
Ora*mail: wcoekaer.be           Internet: wcoekaer@be.oracle.com

     "The significant problems we face cannot be solved at the
        same level of thinking we were at when we created them"
                           Albert Einstein

	The statements and opinions expressed here are my own and 
	do not necessarily represent those of Oracle Corporation.  

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19600-0@oink>;
          Thu, 25 Apr 1996 02:52:57 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830387166:26701:3; Thu, 25 Apr 96 00:06:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26506; 25 Apr 96 0:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA14925 for dbi-users-real; Wed, 24 Apr 1996 15:58:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA14921 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 15:58:28 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ah09331; 24 Apr 96 23:01 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa13764; 24 Apr 96 23:57 +0100
Received: from toad by oink with SMTP (PP) id <18913-0@oink>;
          Wed, 24 Apr 1996 23:57:15 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07698;
          Wed, 24 Apr 1996 23:57:08 +0000
Date: Wed, 24 Apr 1996 23:57:08 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604242257.AA07698@toad.ig.co.uk>
To: bidwell@andrews.edu
Subject: Re: DBD-Oracle-0.29
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 223
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: bidwell@andrews.edu (Daniel R. Bidwell)
> 
> I noticed that DBD-Oracle-0.29 was not readable by the anonymous ftp
> user this morning.  Was this intentional?

No. Service provider problems. Sorry. Fixed now.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19601-3@oink>;
          Thu, 25 Apr 1996 02:53:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830387304:17409:0; Thu, 25 Apr 96 00:08:24 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16887; 25 Apr 96 0:07 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa24158; 25 Apr 96 0:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA14917 for dbi-users-real; Wed, 24 Apr 1996 15:57:10 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA14913 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 15:57:07 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa06951; 24 Apr 96 23:59 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa13846; 24 Apr 96 23:58 +0100
Received: from toad by oink with SMTP (PP) id <18923-0@oink>;
          Wed, 24 Apr 1996 23:57:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07703;
          Wed, 24 Apr 1996 23:57:39 +0000
Date: Wed, 24 Apr 1996 23:57:39 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604242257.AA07703@toad.ig.co.uk>
To: dbi-users@fugue.com, djbergquist@msmail3.hac.com
Subject: Re: IRIX 5.3 SGI can't compile DBD::Oracle - Incompatible pointer type 
         assignment
X-Sun-Charset: US-ASCII
content-length: 413
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "Bergquist, Denis J" <djbergquist@msmail3.hac.com>

>      safefree(imp_sth->fbh);
>  --------------------^
> cfe: Error: dbdimp.c, line 811: Type imp_fbh_t *  of this argument  is
> incompatible with type unsigned char *  of function prototype description

> Any comment? Should this have worked or have I got an old version of
> something?

It's okay. s/safefree/Safefree/mg is the official fix.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20835-1@oink>;
          Thu, 25 Apr 1996 07:05:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830398079:23423:2; Thu, 25 Apr 96 03:07:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23123; 25 Apr 96 3:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA15527 for dbi-users-real; Wed, 24 Apr 1996 18:57:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id SAA15523 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 18:57:46 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab22483; 25 Apr 96 3:00 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab03186; 25 Apr 96 2:53 +0100
Received: from toad by oink with SMTP (PP) id <19200-0@oink>;
          Thu, 25 Apr 1996 00:17:19 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07767;
          Thu, 25 Apr 1996 00:17:12 +0000
Date: Thu, 25 Apr 1996 00:17:12 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604242317.AA07767@toad.ig.co.uk>
To: dbi-users@fugue.com, wcoekaer@be.oracle.com
Subject: Re: linking perl and DBD:Oracle shared.
X-Sun-Charset: US-ASCII
content-length: 1265
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: wcoekaer@be.oracle.com
> 
> Hi...
> 
> Just a sidenote, to link with shared libs on hp... or other systems that
> normally say static linking ... Only with oracle 7.2+...
> 
> If you compile DBD (oracle) with a 7.2+ version of oracle
> check in $ORACLE_HOME/rdbms/lib... there should be a file
> called clntsh.mk, do a make -f clntsh.mk shlib
> 
> this generates libclntsh.sl in ORACLE_HOME/lib
> 
> generate your DBD things and go to
> ./blib/arch/auto/DBD/Oracle/
> 
> mv extralibs.all extralibs.all.old
> 
> do
> 
> cat $ORACLE_HOME/rdbms/lib/sysliblist > extralibs.all
> 
> and add :
> 
> -L/opt/oracle/product/7.2.3/lib -lclntsh
> 
> you should get something like 
> 
> -lcl -lm -L/opt/oracle/product/7.2.3/lib -lclntsh
> in your extralibs.all file... 
> 
> do a make perl again in DBD/
> if everything goes well you have a shared perl executable now, ie also with
> oracle shared libs.
> 
> hope this helps.
> 
> cheers
> Wim

Thanks wim. I'll add that to the notes in the distribution.
Are the details the same for 7.2 and 7.3 on Suns as well as HP's etc?

Once I've upgraded our oracle here I'll automate it as far as possible.

I seem to recall mention of a liboracle.sl (or .so on Sun's) awhile ago.
Is that related? A name change perhaps?

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20835-3@oink>;
          Thu, 25 Apr 1996 07:06:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830398570:25664:5; Thu, 25 Apr 96 03:16:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25502; 25 Apr 96 3:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA15562 for dbi-users-real; Wed, 24 Apr 1996 19:08:36 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from inet-smtp-gw-1.us.oracle.com (inet-smtp-gw-1.us.oracle.com [192.86.155.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA15557 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 19:08:35 -0700
From: wcoekaer@be.oracle.com
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id GAA20362; Wed, 24 Apr 1996 06:57:03 -0700
Message-Id: <199604241357.GAA20362@inet-smtp-gw-1.us.oracle.com>
Received: from behux2.be.oracle.com by behux0.be.oracle.com 
          with SMTP (1.39.111.2/16.2) id AA213854193;
          Wed, 24 Apr 1996 15:56:33 +0200
Subject: Re: Problem DBD on HP-UX 9.04 and Oracle 7.1.6
To: dbi-users@fugue.com
Date: Wed, 24 Apr 1996 15:57:00 CES
Cc: cbal@europeonline.com
X-Mailer: Elm [revision: 111.1]

> System: perl5.002 hp-ux hera a.09.04 b 9000887 438396292 16-user license
> PA-RISC1.1 dl_hpux.xs
> 
> Compiler: gcc -O -D_HPUX_SOURCE -I/usr/local/include
> Oracle proc.mk would have used these values but we override them:
>   CC:       gcc
>   CFLAGS:   -I. -O -Aa -D_HPUX_SOURCE +ESsfc +ESlit
>   LDFLAGS:  -Wl,-aarchive -L$(LIBHOME)

CFLAGS are the flags for hp cc. not for gcc...

can you try with cc instead?

and actually use the +Z option, but this only works if you recompile
your main. so do it with cc and make sure perlmain.c is recompiled.
with +Z as compiler option

      +z,+Z          Both of these options cause the compiler to generate
                     position independent code (PIC) for use in building
                     shared libraries.  The -G and -p options are ignored if
                     +z or +Z is used.  Normally, +z should be used to
                     generate PIC; however, when certain limits are
                     exceeded, +Z is required to generate PIC.  The ld
                     linker issues the error indicating when +Z is required.
                     If both +z and +Z are specified, only the last one
                     encountered applies.  For a more complete discussion
                     regarding PIC and these options, see the manual
                     Programming on HP-UX.


cheers
Wim


================================================================
Wim Coekaerts                          Work    Tel.:32-2-7195978
                                       Work    Fax.:32-2-7191314
			               Home    Tel.:32-16-470641	
Oracle Belgium
Ora*mail: wcoekaer.be           Internet: wcoekaer@be.oracle.com

     "The significant problems we face cannot be solved at the
        same level of thinking we were at when we created them"
                           Albert Einstein

	The statements and opinions expressed here are my own and 
	do not necessarily represent those of Oracle Corporation.  



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20835-9@oink>;
          Thu, 25 Apr 1996 07:06:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830408542:05755:3; Thu, 25 Apr 96 06:02:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05690; 25 Apr 96 6:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA15920 for dbi-users-real; Wed, 24 Apr 1996 21:52:17 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from blob.best.net (blob.best.net [204.156.128.88]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA15916 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 21:52:16 -0700
Received: from au (au.com [204.156.142.70]) by blob.best.net (8.6.12/8.6.5) 
          with SMTP id VAA16831 for <dbi-users@fugue.com>;
          Wed, 24 Apr 1996 21:55:36 -0700
Message-ID: <317F04F4.1D9F@au.com>
Date: Wed, 24 Apr 1996 21:52:04 -0700
From: Mike Linksvayer <ml@au.com>
Organization: AU
X-Mailer: Mozilla 2.0 (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Run (not compile) DBD without Oracle on client?
X-URL: http://www.hyperion.com/~koreth/uncgi-changes.html
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I don't know much about Oracle, but I have managed to get DBD::Oracle
running on a machine (SPARC Solaris 2.4) running Oracle (7.2.3), not
talking through SQL*Net (I'm pretty sure).

I know it's not possible to compile DBD::Oracle on a machine that
isn't running Oracle, but I'm not sure whether it's possible to use
DBD::Oracle on a client machine that isn't running any Oracle software
to talk to an Oracle server (without a huge amount of extra work).

If it is possible, I'd appreciate any crumbs to set me on the right
path.  If not, someone please let me know!  Thanks.

Mike Linksvayer   ml@au.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20835-15@oink>;
          Thu, 25 Apr 1996 07:08:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830410060:12369:2; Thu, 25 Apr 96 06:27:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12151; 25 Apr 96 6:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA16020 for dbi-users-real; Wed, 24 Apr 1996 22:20:48 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tweety.bhp.com.au (tweety.bhp.com.au [192.83.224.130]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA16016 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 22:20:44 -0700
Received: from gossamer (gossamer.itmel.bhp.com.au [134.18.115.254]) 
          by tweety.bhp.com.au (8.7.5/8.7.5) with ESMTP id QAA16538;
          Thu, 25 Apr 1996 16:23:37 +1100 (EST)
Received: from merlin.resmel.bhp.com.au (merlin.resmel.bhp.com.au [134.18.1.6]) 
          by gossamer (8.7.1/8.7.1) with ESMTP id PAA06386;
          Thu, 25 Apr 1996 15:23:41 +1000 (EST)
Received: from sov (sov.resmel.bhp.com.au [134.18.1.18]) 
          by merlin.resmel.bhp.com.au (8.7.1/8.7.1) with ESMTP id PAA10271;
          Thu, 25 Apr 1996 15:23:29 +1000 (EST)
Received: from MIME-DAEMON by SOV.RESMEL.BHP.COM.AU (PMDF V4.3-13 #7229) 
          id <01I3YOTZB8O0000C0T@SOV.RESMEL.BHP.COM.AU>;
          Thu, 25 Apr 1996 15:21:45 +1000
X400-Received: by /PRMD=BHPMEL04/ADMD=TELEMEMO/C=AU/; Relayed;
               Thu, 25 Apr 1996 15:17:38 +1100
Date: Thu, 25 Apr 1996 15:17:38 +1100
From: "See, Matthew ME" <see.matthew.me@bhp.com.au>
Subject: Help compiling DBI
To: dbi-users <dbi-users@fugue.com>
Cc: "Tim Bunce (DBI - Oracle Perl)" <Tim.Bunce@ig.co.uk>
Message-id: <003C23B9.MAI*/I=me/G=matthew/S=see/OU=msmail/O=bhp/PRMD=bhpmel04/ADMD=telememo/C=au/@MHS>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
UA-content-id: CSI NC V3.0
X400-Content-type: P2-1984 (2)
X400-MTS-identifier: [/PRMD=bhpmel04/ADMD=telememo/C=au/;960425041738]


Hi all,

I am trying to compile DBI-0.66 on a Solaris 2.4 system with perl 5.002 and 
gcc (or a full SUN compiler).

The following is a trace of the session.
 ----
$ perl Makefile.PL

    Remember to actually *read* the README file!

    Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.

    DO NOT build the DBI under the Perl source tree.

    Use 'make test' to execute self tests.

    Install DBI (using 'make install' before building DBD::* drivers.

MakeMaker (v5.21)
Checking if your kit is complete...
Looks good
        NAME => q[DBI]
        VERSION_FROM => q[DBI.pm]
        dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist] }
DBI VERSION is 0.66 (from DBI.pm)
Using PERL=/usr/bin/perl
Writing Makefile for DBI
$
$ make
umask 0 && cp DBIXS.h blib/arch/DBI/DBIXS.h
umask 0 && cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
umask 0 && cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
umask 0 && cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
umask 0 && cp DBI.pm blib/lib/DBI.pm
/usr/bin/perl -I/usr/local/lib/perl5.002/sun4-solaris/5.002 
 -I/usr/local/lib/per
l5.002 /usr/local/lib/perl5.002/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5.0
02/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c  -I/usr/local/include -O -DVERSION=\"0.66\" -DXS_VERSION=\"0.66\" 
 -I/usr/
local/lib/perl5.002/sun4-solaris/5.002/CORE  DBI.c
"DBI.c", line 1269: warning: end-of-loop code not reached
"DBI.c", line 1283: warning: end-of-loop code not reached
"DBI.c", line 1327: warning: end-of-loop code not reached
ar cr blib/arch/auto/DBI/DBI.a DBI.o && : blib/arch/auto/DBI/DBI.a
chmod 755 blib/arch/auto/DBI/DBI.a
$
$ make test
Writing "Makefile.aperl" for this perl

    Remember to actually *read* the README file!

    Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.

    DO NOT build the DBI under the Perl source tree.

    Use 'make test' to execute self tests.

    Install DBI (using 'make install' before building DBD::* drivers.

MakeMaker (v5.21)
        CCCDLFLAGS => q[]
        DIR => []
        LINKTYPE => q[static]
        MAKEAPERL => q[1]
        MAKEFILE => q[Makefile.aperl]
        NAME => q[DBI]
        NORECURS => q[1]
        VERSION_FROM => q[DBI.pm]
        dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist] }
DBI VERSION is 0.66 (from DBI.pm)
Using PERL=/usr/bin/perl
Writing Makefile.aperl for DBI
make -f Makefile.aperl static perl
umask 0 && cp DBIXS.h blib/arch/DBI/DBIXS.h
umask 0 && cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
umask 0 && cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
umask 0 && cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
umask 0 && cp DBI.pm blib/lib/DBI.pm
Writing perlmain.c
cd . && cc -c  -I/usr/local/lib/perl5.002/sun4-solaris/5.002/CORE 
 -I/usr/local/
include -O -DVERSION=\"0.66\" -DXS_VERSION=\"0.66\" 
 -I/usr/local/lib/perl5.002/
sun4-solaris/5.002/CORE perlmain.c
cat ./blib/arch/auto/DBI/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/DB_File/extralibs.ld >> 
bli
b/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/DynaLoader/extralibs.ld 
>>
blib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Fcntl/extralibs.ld >> 
blib/
arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/FileHandle/extralibs.ld 
>>
blib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/NDBM_File/extralibs.ld 
>> b
lib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/ODBM_File/extralibs.ld 
>> b
lib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/POSIX/extralibs.ld >> 
blib/
arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/SDBM_File/extralibs.ld 
>> b
lib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Safe/extralibs.ld >> 
blib/a
rch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Socket/extralibs.ld >> 
blib
/arch/auto/DBI/extralibs.all
cc -L/usr/local/lib -o perl ./perlmain.o 
/usr/local/lib/perl5.002/sun4-solaris/5
.002/CORE/libperl.a 
/usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Socket/Sock
et.a  /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Safe/Safe.a 
 /usr/local/l
ib/perl5.002/sun4-solaris/5.002/auto/SDBM_File/SDBM_File.a 
 /usr/local/lib/perl5
.002/sun4-solaris/5.002/auto/POSIX/POSIX.a 
 /usr/local/lib/perl5.002/sun4-solari
s/5.002/auto/ODBM_File/ODBM_File.a 
 /usr/local/lib/perl5.002/sun4-solaris/5.002/
auto/NDBM_File/NDBM_File.a 
 /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Fil
eHandle/FileHandle.a 
 /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Fcntl/Fcn
tl.a 
 /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/DynaLoader/DynaLoader.a
/usr/local/lib/perl5.002/sun4-solaris/5.002/auto/DB_File/DB_File.a 
 ./blib/arch/
auto/DBI/DBI.a `cat ./blib/arch/auto/DBI/extralibs.all` -lsocket -lnsl -ldbm 
 -ld
b -ldl -lm -lc -lcrypt -lucb
ld: warning: symbol `dc' has differing sizes:
        (file 
/usr/local/lib/perl5.002/sun4-solaris/5.002/CORE/libperl.a(globals
.o) value=0x4; file /usr/local/lib/libucb.so value=0x108);
         
 /usr/local/lib/perl5.002/sun4-solaris/5.002/CORE/libperl.a(globals.o) de
finition taken and updated with larger size
To install the new "perl" binary, call
    make -f Makefile.aperl inst_perl MAP_TARGET=perl
To remove the intermediate files say
    make -f Makefile.aperl map_clean
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib 
 -I/usr/local/lib/perl5.002/s
un4-solaris/5.002 -I/usr/local/lib/perl5.002 -e 'use Test::Harness 
qw(&runtests
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/min...............Aborting test: output counter mismatch [test 4 answered 
when
 test 5 expected]
FAILED tests 5-11
        Failed 7/11 tests, 36.36% okay
        Test returned status 0 (wstat 13)
Failed 1 test script, 0.00% okay. 6/11 subtests failed, 45.45% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_static'
$
$ make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib 
 -I/usr/local/lib/perl5.002/s
un4-solaris/5.002 -I/usr/local/lib/perl5.002 -e 'use Test::Harness 
qw(&runtests
$verbose); $verbose=1; runtests @ARGV;' t/*.t
t/min...............1..11
ok 1
ok 2
ok 3
ok 4
ok 4
Aborting test: output counter mismatch [test 4 answered when test 5 
expected]
FAILED tests 5-11
        Failed 7/11 tests, 36.36% okay
        Test returned status 0 (wstat 13)
Failed 1 test script, 0.00% okay. 6/11 subtests failed, 45.45% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_static'
$
 -----
$ perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=solaris, osver=2.4, archname=sun4-solaris
    uname='sunos omux1 5.4 generic_101945-27 sun4m sparc '
    hint=recommended, useposix=true
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/lib /usr/lib /usr/ccs/lib /usr/local/lib /etc/lib /usr/ucblib
    libs=-lsocket -lnsl -ldbm -ldb -ldl -lm -lc -lcrypt -lucb
    libc=, so=so
  Dynamic Linking:
    dlsrc=dl_none.xs, dlext=none, d_dlsymun=, ccdlflags=''
    cccdlflags='', lddlflags=''
@INC: /usr/local/lib/perl5.002/sun4-solaris/5.002 /usr/local/lib/perl5.002 
/usr/
local/lib/perl5.002/site_perl/sun4-solaris 
/usr/local/lib/perl5.002/site_perl .
 -----

Thanks in advance,
Matthew See.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20941-1@oink>;
          Thu, 25 Apr 1996 07:10:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830412443:23387:2; Thu, 25 Apr 96 07:07:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23296; 25 Apr 96 7:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA16143 for dbi-users-real; Wed, 24 Apr 1996 23:01:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tweety.bhp.com.au (tweety.bhp.com.au [192.83.224.130]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA16139 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 23:00:43 -0700
Received: from gossamer (gossamer.itmel.bhp.com.au [134.18.115.254]) 
          by tweety.bhp.com.au (8.7.5/8.7.5) with ESMTP id RAA17113;
          Thu, 25 Apr 1996 17:03:35 +1100 (EST)
Received: from merlin.resmel.bhp.com.au (merlin.resmel.bhp.com.au [134.18.1.6]) 
          by gossamer (8.7.1/8.7.1) with ESMTP id QAA08146;
          Thu, 25 Apr 1996 16:03:40 +1000 (EST)
Received: from sov (sov.resmel.bhp.com.au [134.18.1.18]) 
          by merlin.resmel.bhp.com.au (8.7.1/8.7.1) with ESMTP id QAA10830;
          Thu, 25 Apr 1996 16:03:32 +1000 (EST)
Received: from MIME-DAEMON by SOV.RESMEL.BHP.COM.AU (PMDF V4.3-13 #7229) 
          id <01I3YQ8NKY1S000C16@SOV.RESMEL.BHP.COM.AU>;
          Thu, 25 Apr 1996 16:01:49 +1000
X400-Received: by /PRMD=BHPMEL04/ADMD=TELEMEMO/C=AU/; Relayed;
               Thu, 25 Apr 1996 15:56:57 +1100
Date: Thu, 25 Apr 1996 15:56:57 +1100
From: "See, Matthew ME" <see.matthew.me@bhp.com.au>
Subject: RE: Help compiling DBI - Please Ignore (Answer found)
To: dbi-users <dbi-users@fugue.com>
Cc: "Tim Bunce (DBI - Oracle Perl)" <Tim.Bunce@ig.co.uk>
Message-id: <003C2551.MAI*/I=me/G=matthew/S=see/OU=msmail/O=bhp/PRMD=bhpmel04/ADMD=telememo/C=au/@MHS>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
UA-content-id: CSI NC V3.0
X400-Content-type: P2-1984 (2)
X400-MTS-identifier: [/PRMD=bhpmel04/ADMD=telememo/C=au/;960425045657]


Sorry all,

I found the problem in the archives ... Apologies for not being thorough 
enough in the first place.

It was the old "output counter mismatch in the test suite" problem!

I suppose that's what you get if you're stupid enough to work on a public 
holiday, whilst feeling sick, & doing work that you aren't being paid for! 
 :-(

Do I hear violins? Nah ...

Matthew.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21632-3@oink>;
          Thu, 25 Apr 1996 08:06:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830415944:13804:2; Thu, 25 Apr 96 08:05:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11655; 25 Apr 96 8:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA16225 for dbi-users-real; Wed, 24 Apr 1996 23:54:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from inet-smtp-gw-1.us.oracle.com (inet-smtp-gw-1.us.oracle.com [192.86.155.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA16221 
          for <dbi-users@fugue.com>; Wed, 24 Apr 1996 23:54:48 -0700
From: wcoekaer@be.oracle.com
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id XAA17708; Wed, 24 Apr 1996 23:58:13 -0700
Message-Id: <199604250658.XAA17708@inet-smtp-gw-1.us.oracle.com>
Received: from behux2.be.oracle.com by behux0.be.oracle.com 
          with SMTP (1.39.111.2/16.2) id AA032015463;
          Thu, 25 Apr 1996 08:57:43 +0200
Subject: Re: Run (not compile) DBD without Oracle on client?
To: dbi-users@fugue.com
Date: Thu, 25 Apr 1996 8:57:54 CES
X-Mailer: Elm [revision: 111.1]

Mike,

> I don't know much about Oracle, but I have managed to get DBD::Oracle
> running on a machine (SPARC Solaris 2.4) running Oracle (7.2.3), not
> talking through SQL*Net (I'm pretty sure).

Thats good !:)

> I know it's not possible to compile DBD::Oracle on a machine that
> isn't running Oracle, but I'm not sure whether it's possible to use
> DBD::Oracle on a client machine that isn't running any Oracle software
> to talk to an Oracle server (without a huge amount of extra work).

Ok, well, of course you need the oracle libraries to compile the perl
executable with all the necessary libs. So yes in the first case you 
need oracle or at least all those libs installed.

Now, it should be possible to use dbd on a client machine thats not got
any oracle software installed, ie, you make sure you linked STATIC...
and depending on whether you linked with sqlnet v1 or sqlnet v2 or both
you need to set up your client system, set TWO_TASK=connectstring 
and give as connectstring either the V1 or V2 connect string. in case of
v1 you dont need to have extra config files, in case of v2 you ll need
to create your tnsnames.ora and sqlnet.ora so that the libs can find
these files and use them...

Setting your ORACLE_HOME and ORACLE_SID is not necessary either. So
in case of V1 it should be Very easy. in case of V2 you need the 
2 extra .ora files somewhere in /etc or in a directory you want and
point TNS_ADMIN to that directory.

lemme know if you have any trouble getting this to work.

cheers
Wim
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23723-0@oink>;
          Thu, 25 Apr 1996 17:01:22 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830427310:20908:2; Thu, 25 Apr 96 11:15:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa20802; 25 Apr 96 11:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA16498 for dbi-users-real; Thu, 25 Apr 1996 03:08:32 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from inet-smtp-gw-1.us.oracle.com (inet-smtp-gw-1.us.oracle.com [192.86.155.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA16494 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 03:08:30 -0700
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id DAA14722; Thu, 25 Apr 1996 03:11:56 -0700
Message-Id: <199604251011.DAA14722@inet-smtp-gw-1.us.oracle.com>
Received: from b-w001.be.oracle.com by behux0.be.oracle.com 
          with SMTP (1.39.111.2/16.2) id AA134727085;
          Thu, 25 Apr 1996 12:11:25 +0200
From: Philippe Vanhaesendonck <pvanhaes@be.oracle.com>
Subject: Re: Run (not compile) DBD without Oracle on client?
To: dbi-users@fugue.com
Date: Thu, 25 Apr 1996 12:11:53 CES
X-Mailer: Elm [revision: 110.32]

> <SNIP>
> 
> > I know it's not possible to compile DBD::Oracle on a machine that
> > isn't running Oracle, but I'm not sure whether it's possible to use
> > DBD::Oracle on a client machine that isn't running any Oracle software
> > to talk to an Oracle server (without a huge amount of extra work).
> 
> Ok, well, of course you need the oracle libraries to compile the perl
> executable with all the necessary libs. So yes in the first case you 
> need oracle or at least all those libs installed.
> 
> Now, it should be possible to use dbd on a client machine thats not got
> any oracle software installed, ie, you make sure you linked STATIC...
> and depending on whether you linked with sqlnet v1 or sqlnet v2 or both
> you need to set up your client system, set TWO_TASK=connectstring 
> and give as connectstring either the V1 or V2 connect string. in case of
> v1 you dont need to have extra config files, in case of v2 you ll need
> to create your tnsnames.ora and sqlnet.ora so that the libs can find
> these files and use them...

Keep in mind that Oracle stores its messages in files, so if you want to
see the full text, you need the $OH/<prod>/mesg/<cat><lang>.msb files...

Also as from 7.2, NLSRTL loads the character sets at run time, so if you
want to use a non US7ASCII cset, ORA_NLS must point to where you have your
cset definitions(e.g.: ORA_NLS=$OH/ocommon/nls/admin/data)

--

Phil.

The statements and opinions expressed here are my own and do not necessarily 
represent those of Oracle Corporation. 

+--------------------------------------+
| Philippe Vanhaesendonck              |
| Senior Technical Support Specialist+-------------------------------------+
| Oracle Belgium - Vuurberg 80       | Internet     pvanhaes@be.oracle.com |
| B-1831 Diegem   (Belgium)          | Compuserve   75611,1504             |
+------------------------------------| Voice        +32-2-719.59.59        |
                                     | Fax          +32-2-719.13.14        |
                                     +-------------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23753-10@oink>;
          Thu, 25 Apr 1996 17:04:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830443789:12325:0; Thu, 25 Apr 96 15:49:49 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa11811; 25 Apr 96 15:48 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa25274; 25 Apr 96 15:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA16791 for dbi-users-real; Thu, 25 Apr 1996 07:33:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netra.merc.com (netra.merc.com [204.255.152.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA16787 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 07:33:53 -0700
Received: (from dcasson@localhost) by netra.merc.com (8.7.5/960319.09ccg) 
          id IAA11275 for dbi-users@fugue.com;
          Thu, 25 Apr 1996 08:35:25 -0600 (MDT)
From: Dan Casson <dcasson@merc.com>
Message-Id: <199604251435.IAA11275@netra.merc.com>
Subject: Stored Procedures w/Oracle
To: dbi-users@fugue.com
Date: Thu, 25 Apr 1996 08:35:24 -0600 (MDT)
X-Mailer: ELM [version 2.4 PL23]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi all,

	Can Perl5/Oracle handle stored procedures?  And if so how are
they implemented.

Thanks

-Dan

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26588-6@oink>;
          Fri, 26 Apr 1996 07:09:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830455259:16020:0; Thu, 25 Apr 96 19:00:59 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15692; 25 Apr 96 19:00 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa02898; 25 Apr 96 18:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA17150 for dbi-users-real; Thu, 25 Apr 1996 10:39:20 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gwdu42.gwdg.de (root@gwdu42.gwdg.de [134.76.10.26]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA17146 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 10:39:18 -0700
Received: from gwdu20.gwdg.de by gwdu42.gwdg.de with SMTP (PP);
          Thu, 25 Apr 1996 19:39:44 +0200
Received: by gwdu20.gwdg.de; (5.65v3.2/1.1.8.2/15Jan96-0158PM) id AA00255;
          Thu, 25 Apr 1996 19:39:39 +0200
From: bbeilke <bbeilke@gwdg.de>
Message-Id: <9604251739.AA00255@gwdu20.gwdg.de>
Subject: unsubscribe
To: dbi-users@fugue.com
Date: Thu, 25 Apr 1996 19:39:39 +0200 (MET DST)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text
Content-Length: 33

Please unsubscribe Bernd Beilke!
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26588-8@oink>;
          Fri, 26 Apr 1996 07:09:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830455394:17208:0; Thu, 25 Apr 96 19:03:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16709; 25 Apr 96 19:02 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa03344; 25 Apr 96 19:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA17169 for dbi-users-real; Thu, 25 Apr 1996 10:50:32 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vivid.com (vivid.vivid.com [205.163.51.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA17165 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 10:50:31 -0700
Received: from greedo.vivid.com by vivid.com (NX5.67c/NeXT-2.0) id AA23661;
          Thu, 25 Apr 96 10:50:33 -0700
Date: Thu, 25 Apr 96 10:50:33 -0700
X-Sender: jake@vivid.vivid.com
Message-Id: <ada508d001021004a213@[205.163.51.232]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Dan Casson <dcasson@merc.com>
From: Jake in Denial <jake@vivid.com>
Subject: Re: Stored Procedures w/Oracle
Cc: dbi-users@fugue.com

At 2:35 PM 4/25/96, Dan Casson wrote:
>Hi all,
>
>        Can Perl5/Oracle handle stored procedures?  And if so how are
>they implemented.

You can call stored procedures but you can't get any return values back
(the bind variable stuff is not supported). Just put "begin sproc(args);
end;" in the SQL you pass to Oraperl.

One way to get a return value is to have the sproc store it in a global and
then do a separate select to retrieve it after calling the sproc.

Jake


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26588-16@oink>;
          Fri, 26 Apr 1996 07:11:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830459054:19110:0; Thu, 25 Apr 96 20:04:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa18606; 25 Apr 96 20:03 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa15616; 25 Apr 96 20:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA17323 for dbi-users-real; Thu, 25 Apr 1996 11:50:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from colossus.cse.psu.edu (root@colossus.cse.psu.edu [130.203.1.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA17319 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 11:50:39 -0700
Received: from localhost by colossus.cse.psu.edu with SMTP id <78694>;
          Thu, 25 Apr 1996 14:53:45 -0400
X-Mailer: exmh version 1.6.5 12/11/95
X-uri: <URL:http://www.cse.psu.edu/~groenvel/>
X-work-address: Manufacturing Technology - Systems Development Group PO Box 30 
                The Applied Research Lab State College, PA 16804
X-work-phone: +1 814 863 9896 (Voice) +1 814 863 1183 (Fax)
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Cc: dbi-users@fugue.com
Subject: Re: Undocumented MiniSvr Feature
In-reply-to: Your message of "Wed, 24 Apr 1996 19:46:25 EDT." <9604242246.AA07654@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 25 Apr 1996 14:53:26 -0400
From: John D Groenveld <groenvel@cse.psu.edu>
Message-Id: <96Apr25.145345edt.78694@colossus.cse.psu.edu>

> p.s. I didn't know anyone was using CGI::MiniSvr!
> I'd be interested to hear some tales of it's use and abuse :-)
Well, I'm still trying to figure out how to use it and safely keep open the 
Oracle connection. If I spawn and then dont do the &ora_logoff, I get stuck 
with open connections to the database. I'd love some code examples.

On a related note, what kind of work is being done to emulate Oracle's Request 
Broker. WRB is the daemon in Oracle WebServer 2.0 which waits for Web-PL/SQL 
transactions and mitigates the DB connection overhead.

BTW, Doug MacEachern's Apache passwd module is a step above what Oracle can do 
with their WebServer. Oracle WebServer still doesnt tie database 
authentication to the httpd.
John "dbperl promoter" Groenveld

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26586-24@oink>;
          Fri, 26 Apr 1996 07:12:36 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830464688:11603:3; Thu, 25 Apr 96 21:38:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa11335; 25 Apr 96 21:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA16900 for dbi-users-real; Thu, 25 Apr 1996 08:20:09 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA16896 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 08:20:01 -0700
Received: from localhost (pixel@localhost) 
          by rhino.coe.missouri.edu (8.7.3/8.7.1) with SMTP id KAA06330;
          Thu, 25 Apr 1996 10:21:34 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Thu, 25 Apr 1996 10:21:33 -0500 (CDT)
From: James Cooper <pixel@tiger.coe.missouri.edu>
To: "Bergquist, Denis J" <djbergquist@msmail3.hac.com>
cc: dbi-users <dbi-users@fugue.com>
Subject: Re: IRIX 5.3 SGI can't compile DBD::Oracle - Incompatible pointer type 
         assignment
In-Reply-To: <n1381768596.96813@MSMAIL3.HAC.COM>
Message-ID: <Pine.SGI.3.92.960425102033.6318A-100000@rhino.coe.missouri.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On 24 Apr 1996, Bergquist, Denis J wrote:
> cfe: Error: dbdimp.c, line 811: Type imp_fbh_t *  of this argument  is
> incompatible with type unsigned char *  of function prototype description
> (3.3.16.1)
>      safefree(imp_sth->fbh);
>  --------------------^
> *** Error code 1 (bu21)
>
> Changing dbdimp.c lines 811-813 as so
>
> <     safefree((char *)(imp_sth->fbh));
> <     safefree((char *)(imp_sth->fbh_cbuf));
> <     safefree((char *)(imp_sth->statement));
> ---
> >     safefree(imp_sth->fbh);
> >     safefree(imp_sth->fbh_cbuf);
> >     safefree(imp_sth->statement);
>
>
> I don't speak 'c', but my c guru tells me that this is an OK thing to have
> done. (First he looked for the prototype of safefree which seems to have come
> from handy.h, perl.h, or proto.h in perl5/lib/sgi-irix/5.002/CORE.)
>
> Any comment? Should this have worked or have I got an old version of
> something?


I'm running DBB::Oracle on an Indy w/IRIX 5.3, and I had the *exact* same
problem.  I did the same pointer typecast that you did, and have had no
problems, so I guess it's ok!

-- James

.........................................................................
                        James Paul Cooper * Pixel
                         MU College of Education
       pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
.........................................................................

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26588-26@oink>;
          Fri, 26 Apr 1996 07:13:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830462868:22032:2; Thu, 25 Apr 96 21:07:48 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa21974; 25 Apr 96 21:07 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa26968; 25 Apr 96 21:06 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA17472 for dbi-users-real; Thu, 25 Apr 1996 12:49:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fullfeed.msn.fullfeed.com (fullfeed.msn.fullfeed.com [199.184.182.42]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA17468 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 12:49:35 -0700
Received: from sumatra.americantv.com 
          by fullfeed.msn.fullfeed.com (8.6.9/FF-1.1) id OAA27014;
          Thu, 25 Apr 1996 14:52:01 -0500
Received: (from uucp@localhost) by sumatra.americantv.com (8.6.12/8.6.12) 
          with UUCP id OAA05897; Thu, 25 Apr 1996 14:38:59 -0500
Received: (jlemon@localhost) by right.PCS (8.6.12/8.6.4) id OAA16312;
          Thu, 25 Apr 1996 14:53:20 -0500
From: Jonathan Lemon <jlemon@americantv.com>
Message-Id: <199604251953.OAA16312@right.PCS>
Subject: Re: Stored Procedures w/Oracle
To: Jake in Denial <jake@vivid.com>, Dan Casson <dcasson@merc.com>
Date: Thu, 25 Apr 1996 14:53:19 -0500 (CDT)
Cc: dbi-users@fugue.com
In-Reply-To: <ada508d001021004a213@[205.163.51.232]> from "Jake in Denial" at Apr 25, 96 10:50:33 am
X-Mailer: ELM [version 2.4 PL21]
Content-Type: text
Content-Length: 768

> At 2:35 PM 4/25/96, Dan Casson wrote:
> >Hi all,
> >
> >        Can Perl5/Oracle handle stored procedures?  And if so how are
> >they implemented.
> 
> You can call stored procedures but you can't get any return values back
> (the bind variable stuff is not supported). Just put "begin sproc(args);
> end;" in the SQL you pass to Oraperl.
> 
> One way to get a return value is to have the sproc store it in a global and
> then do a separate select to retrieve it after calling the sproc.

Well, perl5/oracle can handle stored procedures _with_ return values (eg:
fully supported bind variables), with the patch that I submitted to Tim
last July.  I haven't followed this mailing list for a looong time - did the
patch ever make it into the distribution?
--
Jonathan
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26695-15@oink>;
          Fri, 26 Apr 1996 07:16:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830479594:10081:2; Fri, 26 Apr 96 01:46:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09802; 26 Apr 96 1:45 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA18426 for dbi-users-real; Thu, 25 Apr 1996 17:28:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA18422 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 17:28:11 -0700
Received: from windmill (dyn000147.belt.digex.net [206.181.16.147]) 
          by svcs1.digex.net (8.6.12/8.6.12) with SMTP id UAA09461 
          for <dbi-users@fugue.com>; Thu, 25 Apr 1996 20:31:37 -0400
Message-ID: <317FD333.1B82@access.digex.net>
Date: Thu, 25 Apr 1996 20:32:03 +0100
From: "Wayne D. Elias" <wdelias@access.digex.net>
Organization: RWD Technologies, Inc.
X-Mailer: Mozilla 2.01 (WinNT; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: unsubscribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Please unsubscribe Wayne D. Elias.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01787-0@oink>;
          Fri, 26 Apr 1996 15:25:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830515693:07229:1; Fri, 26 Apr 96 11:48:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06756; 26 Apr 96 11:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA19436 for dbi-users-real; Fri, 26 Apr 1996 03:42:14 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id DAA19432 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 03:42:11 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ae08577; 26 Apr 96 11:45 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae00906; 26 Apr 96 11:36 +0100
Received: from toad by oink with SMTP (PP) id <00220-0@oink>;
          Fri, 26 Apr 1996 11:33:49 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21725;
          Fri, 26 Apr 1996 11:33:42 +0000
Date: Fri, 26 Apr 1996 11:33:42 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604261033.AA21725@toad.ig.co.uk>
To: jake@vivid.com, dcasson@merc.com, jlemon@americantv.com
Subject: Re: Stored Procedures w/Oracle
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 998
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Jonathan Lemon <jlemon@americantv.com>
> 
> > At 2:35 PM 4/25/96, Dan Casson wrote:
> > >Hi all,
> > >
> > >        Can Perl5/Oracle handle stored procedures?  And if so how are
> > >they implemented.
> > 
> > You can call stored procedures but you can't get any return values back
> > (the bind variable stuff is not supported). Just put "begin sproc(args);
> > end;" in the SQL you pass to Oraperl.
> > 
> > One way to get a return value is to have the sproc store it in a global and
> > then do a separate select to retrieve it after calling the sproc.
> 
> Well, perl5/oracle can handle stored procedures _with_ return values (eg:
> fully supported bind variables), with the patch that I submitted to Tim
> last July.  I haven't followed this mailing list for a looong time - did the
> patch ever make it into the distribution?

Sadly not. Mainly because it didn't do things quite the way I wanted.
But I've still got it and may well use parts when I do implement this.

Thanks.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01791-0@oink>;
          Fri, 26 Apr 1996 15:25:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830515455:00178:3; Fri, 26 Apr 96 11:44:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29908; 26 Apr 96 11:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA19418 for dbi-users-real; Fri, 26 Apr 1996 03:33:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id DAA19414 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 03:33:29 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac12574; 26 Apr 96 10:36 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab00906; 26 Apr 96 11:36 +0100
Received: from toad by oink with SMTP (PP) id <00167-0@oink>;
          Fri, 26 Apr 1996 11:20:18 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21679;
          Fri, 26 Apr 1996 11:20:10 +0000
Date: Fri, 26 Apr 1996 11:20:10 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604261020.AA21679@toad.ig.co.uk>
To: dcasson@merc.com, jake@vivid.com
Subject: Re: Stored Procedures w/Oracle
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 761
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Jake in Denial <jake@vivid.com>
> 
> At 2:35 PM 4/25/96, Dan Casson wrote:
> >Hi all,
> >
> >        Can Perl5/Oracle handle stored procedures?  And if so how are
> >they implemented.
> 
> You can call stored procedures but you can't get any return values back
> (the bind variable stuff is not supported). Just put "begin sproc(args);
> end;" in the SQL you pass to Oraperl.
> 
> One way to get a return value is to have the sproc store it in a global and
> then do a separate select to retrieve it after calling the sproc.

Maybe if you all cross your fingers and pray quietly I might just add
better support for stored procedures in DBD::Oracle.

It looks like I'll need it for some Real Work I'm doing.

No promises and no timescales. Sorry.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01791-2@oink>;
          Fri, 26 Apr 1996 15:25:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830515749:02467:4; Fri, 26 Apr 96 11:49:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02391; 26 Apr 96 11:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA19444 for dbi-users-real; Fri, 26 Apr 1996 03:43:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail1.is.net (root@mail1.is.net [198.69.24.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA19440 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 03:43:10 -0700
Received: from terry.is.net (terry.is.net [204.180.29.139]) 
          by mail1.is.net (8.6.11/8.6.12) with SMTP id HAA16874 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 07:42:45 -0400
Message-Id: <199604261142.HAA16874@mail1.is.net>
Comments: Authenticated sender is <terry@mail1.is.net>
From: Terry Ferentinos <Terry.Ferentinos@mail1.is.net>
To: dbi-users@fugue.com
Date: Fri, 26 Apr 1996 06:47:29 -0500
Subject: unsubscribe
Reply-to: terry@is.net
Priority: normal
X-mailer: Pegasus Mail for Win32 (v2.30)

Please unsubscribe Terry Ferentinos

Thanks

Terry
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01791-4@oink>;
          Fri, 26 Apr 1996 15:25:58 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830515963:04101:1; Fri, 26 Apr 96 11:52:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03642; 26 Apr 96 11:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA19453 for dbi-users-real; Fri, 26 Apr 1996 03:46:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id DAA19449 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 03:46:31 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id an08813; 26 Apr 96 11:47 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac00906; 26 Apr 96 11:36 +0100
Received: from toad by oink with SMTP (PP) id <00177-0@oink>;
          Fri, 26 Apr 1996 11:22:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21691;
          Fri, 26 Apr 1996 11:22:51 +0000
Date: Fri, 26 Apr 1996 11:22:51 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604261022.AA21691@toad.ig.co.uk>
To: groenvel@cse.psu.edu
Subject: Re: Undocumented MiniSvr Feature
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 691
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: John D Groenveld <groenvel@cse.psu.edu>
> 
> > p.s. I didn't know anyone was using CGI::MiniSvr!
> > I'd be interested to hear some tales of it's use and abuse :-)
> Well, I'm still trying to figure out how to use it and safely keep open the 
> Oracle connection. If I spawn and then dont do the &ora_logoff, I get stuck 
> with open connections to the database. I'd love some code examples.

Don't login till after the spawn (fork).

> On a related note, what kind of work is being done to emulate Oracle's Request 
> Broker. WRB is the daemon in Oracle WebServer 2.0 which waits for Web-PL/SQL 
> transactions and mitigates the DB connection overhead.

I don't know of any.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02049-0@oink>;
          Fri, 26 Apr 1996 15:54:15 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830530148:17258:2; Fri, 26 Apr 96 15:49:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17117; 26 Apr 96 15:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA19782 for dbi-users-real; Fri, 26 Apr 1996 07:39:03 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA19778 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 07:38:55 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ad26336; 26 Apr 96 14:39 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab01261; 26 Apr 96 15:35 +0100
Received: from toad by oink with SMTP (PP) id <01940-0@oink>;
          Fri, 26 Apr 1996 15:35:29 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22996;
          Fri, 26 Apr 1996 15:35:13 +0000
Date: Fri, 26 Apr 1996 15:35:13 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604261435.AA22996@toad.ig.co.uk>
To: LeongF@logica.com
Subject: re: OraPerl extensions for Perl
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1090
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Leong Freda <LeongF@logica.com>
> 
> Tim,
> 
> I am currently working on a Web-based project, that is considering of using
> OraPerl to get access into an Oracle 7 database.  We are planning to use 
> Perl 5
> for writing scripts.  I wonder if you could help me on some of our queries:
> 
> 1.  Our development for the webs have to be finished around July 96.  I am
> concerned that the current OraPerl extensions for Perl 5 is Alpha software.
> Therefore thinking of the possibility of using Perl 4 with the corresponding 
> OraPerl extensions, yet sooner or later everything has to be upgraded... 
> What will OraPerl have a definitive version for Perl5?

So long as you stick to the Oraperl emulation you can regard it as
release quality and stability now. I'll probably make that clear in
the next release.

> 2.  Can we have use OraPerl scripts on one machine to access an Oracle 
> database which sits on another machine?

Yes. Ask on the dbi-users mailing list if you have problems (in fact
always ask everything there since I may not have time to answer personally).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02233-2@oink>;
          Fri, 26 Apr 1996 16:42:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830533322:15948:0; Fri, 26 Apr 96 16:42:02 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15403; 26 Apr 96 16:40 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa25771; 26 Apr 96 16:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA20610 for dbi-users-real; Fri, 26 Apr 1996 08:31:36 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA20606 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 08:31:24 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa02208; 26 Apr 96 16:28 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab14583; 26 Apr 96 16:26 +0100
Received: from toad by oink with SMTP (PP) id <02024-0@oink>;
          Fri, 26 Apr 1996 15:47:52 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23041;
          Fri, 26 Apr 1996 15:47:37 +0000
Date: Fri, 26 Apr 1996 15:47:37 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604261447.AA23041@toad.ig.co.uk>
To: dbi-users@fugue.com, terry@is.net
Subject: Re: unsubscribe
X-Sun-Charset: US-ASCII
content-length: 1762
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Terry Ferentinos <Terry.Ferentinos@mail1.is.net>
> 
> Please unsubscribe Terry Ferentinos
> 
> Thanks
> 
> Terry

As recently posted:


----- Begin Included Message -----

Subject: HOW TO UNSUBSCRIBE
Date: Tue, 16 Apr 1996 11:20:57 -0700
From: Ted Lemon <mellon@fugue.com>
Cc: dbi-users@fugue.com


Douglas, when you want to unsubscribe from any mailing list on the
internet, you should expect that if you send mail to the -request
address for that list, you will at least get mail back containing
instructions on how to unsubscribe.

For any mailing list, the -request address is always made up of the
mailing list name, followed by -request, followed by the `@'
character, followed by the fully qualified domain name of the machine
on which that list resides.

In the case of dbi-users@fugue.com, the mailing list name is
dbi-users, the fully qualified domain name is fugue.com, and thus the
-request address is dbi-users-request@fugue.com.   If you wanted to
unsubscribe to, e.g., risks@csl.sri.com, you would send mail to
risks-request@csl.sri.com.

This is very consistent across most mailing lists you will encounter,
although sadly there are some mailing lists where the maintainer has
been too lazy to set up -request addresses.  Still, you should try the
-request address first.

Now, having explained all that, in order to avoid being flamed to a
crisp when you get the response from dbi-users-request and realize
that there's another step, I will tell you that what the
dbi-users-request address actually does is to send you instructions
saying, essentially, that you should go to http://www.fugue.com/dbi
with your favourite web browser (I recommend Netscape or Lynx) to
unsubscribe.

			       _MelloN_


----- End Included Message -----


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <10671-3@oink>;
          Mon, 29 Apr 1996 07:11:44 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830558735:08910:3; Fri, 26 Apr 96 23:45:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa08653; 26 Apr 96 23:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA22649 for dbi-users-real; Fri, 26 Apr 1996 15:36:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from csiunx.it.csi.cuny.edu (csiunx.it.csi.cuny.edu [163.238.1.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA22645 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 15:36:52 -0700
Received: by csiunx.it.csi.cuny.edu (5.57/Ultrix3.0-C) id AA04518;
          Fri, 26 Apr 96 18:43:50 -0400
Date: Fri, 26 Apr 96 18:43:50 -0400
From: dsinha@csiunx.it.csi.cuny.edu (Dr. Divyendu Sinha)
Message-Id: <9604262243.AA04518@csiunx.it.csi.cuny.edu>
To: dbi-users@fugue.com
Subject: unsubscribe


Please unsubscribe Div Sinha
thanks
div sinha
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10587-29@oink>;
          Mon, 29 Apr 1996 07:13:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830558810:19946:0; Fri, 26 Apr 96 23:46:50 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa19492; 26 Apr 96 23:45 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa09623; 26 Apr 96 23:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA22655 for dbi-users-real; Fri, 26 Apr 1996 15:37:28 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from inet-smtp-gw-1.us.oracle.com (inet-smtp-gw-1.us.oracle.com [192.86.155.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA22651 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 15:37:28 -0700
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id FAA27985; Fri, 26 Apr 1996 05:12:53 -0700
Message-Id: <199604261212.FAA27985@inet-smtp-gw-1.us.oracle.com>
Received: from b-w001.be.oracle.com by behux0.be.oracle.com 
          with SMTP (1.39.111.2/16.2) id AA161150742;
          Fri, 26 Apr 1996 14:12:22 +0200
From: Philippe Vanhaesendonck <pvanhaes@be.oracle.com>
Subject: Re: Undocumented MiniSvr Feature
To: dbi-users@fugue.com
Date: Fri, 26 Apr 1996 14:12:50 CES
X-Mailer: Elm [revision: 110.32]

> From: John D Groenveld <groenvel@cse.psu.edu>
> 
> On a related note, what kind of work is being done to emulate Oracle's Request 
> Broker. WRB is the daemon in Oracle WebServer 2.0 which waits for Web-PL/SQL 
> transactions and mitigates the DB connection overhead.

Note that the WRB 2.0 does not maintain Oracle connection. The benefit is mainly
due to the fact that you have pre-spawned Web Agents...

Phil.

The statements and opinions expressed here are my own and do not necessarily 
represent those of Oracle Corporation. 

+--------------------------------------+
| Philippe Vanhaesendonck              |
| Senior Technical Support Specialist+-------------------------------------+
| Oracle Belgium - Vuurberg 80       | Internet     pvanhaes@be.oracle.com |
| B-1831 Diegem   (Belgium)          | Compuserve   75611,1504             |
+------------------------------------| Voice        +32-2-719.59.59        |
                                     | Fax          +32-2-719.13.14        |
                                     +-------------------------------------+
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <10586-20@oink>;
          Mon, 29 Apr 1996 07:13:09 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830733043:25422:1; Mon, 29 Apr 96 00:10:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25192; 29 Apr 96 0:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA26996 for dbi-users-real; Sun, 28 Apr 1996 16:01:43 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns1.inxpress.net (root@ns1.inxpress.net [204.120.4.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA26992 
          for <dbi-users@fugue.com>; Sun, 28 Apr 1996 16:01:42 -0700
Received: from [204.120.4.137] (d9.inxpress.net [204.120.4.137]) 
          by ns1.inxpress.net (8.7.4/8.7.3) with SMTP id RAA08290;
          Sun, 28 Apr 1996 17:59:48 -0500 (CDT)
X-Sender: joyfire@inxpress.net
Message-Id: <v02140b07ada9a91573ef@[204.120.4.137]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 28 Apr 1996 18:02:38 -0500
To: dbi-users@fugue.com
From: sdahmen@inxpress.net (Stephen Dahmen)
Subject: Test can't find three symbols
Cc: Tim Bunce <Tim.Bunce@ig.co.uk>, preston@clotho.com

Hello again...

make test is having problems resolving a few symbols, and I do not understand
how Perl interacts with C enough to try and track them down.

Any clues?

/usr/local/src/DBI/DBI-0.68 % make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/li
b/perl5/NEXTSTEP/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests
 $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/min...............1..12
Can't load './blib/arch/auto/DBI/DBI.so' for module DBI: rld(): Undefined symbol
s:
_dirty
_perl_destruct_level
_runlevel

 at blib/lib/DBI.pm line 32
FAILED tests 1-12
        Failed 12/12 tests, 0.00% okay
        Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 12/12 subtests failed, 0.00% okay.
*** Exit 2
Stop.

~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen   **  sdahmen@inxpress.net
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:  http://www.clotho.com/smd


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10587-38@oink>;
          Mon, 29 Apr 1996 07:15:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830578267:22241:2; Sat, 27 Apr 96 05:11:07 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22122; 27 Apr 96 5:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA23305 for dbi-users-real; Fri, 26 Apr 1996 20:57:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from colossus.cse.psu.edu (root@colossus.cse.psu.edu [130.203.1.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA23301 
          for <dbi-users@fugue.com>; Fri, 26 Apr 1996 20:57:17 -0700
Received: by colossus.cse.psu.edu id <79013>; Sat, 27 Apr 1996 00:00:19 -0400
From: John D Groenveld <groenvel@cse.psu.edu>
To: pvanhaes@be.oracle.com
Subject: Re: Undocumented MiniSvr Feature
Cc: dbi-users@fugue.com
Message-Id: <96Apr27.000019edt.79013@colossus.cse.psu.edu>
Date: Sat, 27 Apr 1996 00:00:08 -0400

>Note that the WRB 2.0 does not maintain Oracle connection. The benefit is mainly
>due to the fact that you have pre-spawned Web Agents...
Oops, Broker, as the name implies, handles and routes requests. Do I need to
configure seperate agents for each database user or can I have multiple users
connect thru the same Agent?
Maybe it doesnt make sense for us to try to emulate this Oracle feature.
John
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10587-56@oink>;
          Mon, 29 Apr 1996 07:22:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830726913:04541:1; Sun, 28 Apr 96 22:28:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03943; 28 Apr 96 22:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA26821 for dbi-users-real; Sun, 28 Apr 1996 14:08:36 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns1.inxpress.net (root@ns1.inxpress.net [204.120.4.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA26817 
          for <dbi-users@fugue.com>; Sun, 28 Apr 1996 14:08:34 -0700
Received: from [204.120.4.137] (d9.inxpress.net [204.120.4.137]) 
          by ns1.inxpress.net (8.7.4/8.7.3) with SMTP id QAA06954;
          Sun, 28 Apr 1996 16:06:28 -0500 (CDT)
X-Sender: joyfire@inxpress.net
Message-Id: <v02140b01ada980f80746@[204.120.4.147]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 28 Apr 1996 16:09:27 -0500
To: dbi-users@fugue.com
From: sdahmen@inxpress.net (Stephen Dahmen)
Subject: HELP: Build of DBI failing on NeXT UNIX
Cc: Tim Bunce <Tim.Bunce@ig.co.uk>, preston@clotho.com

hi Tim, et. al.:

I'm way stumped as to why DBI will not compile on our NeXT workstation.
None of the cc errors make any sense, or line up with any lines in the
files. That is, all the line numbers state an error which is simply not ON
the line in the file. OFten the line numbers aren't even IN the source file
(too big).

Is this an objective C thing?  I've never seen such scrappy errors.

From all the mail headers that had NeXT as their mailer, I imagine somebody
here has a fix.

I read through all the archives, and didn't see anything.

Any help would be much much appreciated.

Sincerely,

Stephen M. Dahmen.

Here's what was asked for in the README

bash# perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=next, osver=3, archname=NEXTSTEP
    uname=''
    hint=previous, useposix=true
  Compiler:
    cc='cc', optimize='-O', gccversion=NeXT DevKit-based CPP 3.1
    cppflags='-g -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY'
    ccflags ='-g -ObjC  -arch m68k -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY'
    stdchar='char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=4, usemymalloc=n, randbits=31
  Linker and Libraries:
    ld='cc', ldflags =' -arch m68k -all_load -L/usr/local/lib'
    libpth=/usr/local/lib /usr/shlib /lib /usr/lib
    libs=-ldbm
    libc=/lib/libsys_s.a, so=so
  Dynamic Linking:
    dlsrc=dl_next.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags=' ', lddlflags='-nostdlib -r  -arch m68k -L/usr/local/lib'

@INC: /usr/local/lib/perl5/NEXTSTEP/5.002 /usr/local/lib/perl5 /usr/local/lib/pe
rl5/site_perl/NEXTSTEP /usr/local/lib/perl5/site_perl /usr/local/lib/site/perl5/
NEXTSTEP /usr/local/lib/site/perl5 .

bash# perl Makefile.PL
Use of uninitialized value at Makefile.PL line 21.

    Remember to actually *read* the README file!

    Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.

    DO NOT build the DBI under the Perl source tree.

    Use 'make test' to execute self tests.

    Install DBI (using 'make install' before building DBD::* drivers.

MakeMaker (v5.21)
Checking if your kit is complete...
Looks good
        NAME => q[DBI]
        VERSION_FROM => q[DBI.pm]
        clean => { FILES=>q[$(DISTVNAME)/] }
        dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
PREOP=>q[$(MAKE) -f Makefile.old distdir] }
DBI VERSION is 0.68 (from DBI.pm)
Using PERL=/usr/local/bin/perl

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 old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.

Writing Makefile for DBI
bash# make
umask 0 && cp DBIXS.h /tmp/perl5/lib/perl5/site_perl/NEXTSTEP/DBI/DBIXS.h
umask 0 && cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
umask 0 && cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
umask 0 && cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
umask 0 && cp DBI.pm blib/lib/DBI.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/NEXTSTEP/5.002
-I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c  -g -ObjC -arch m68k -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY -O
-DVERSION=\"0.68\" -DXS_VERSION=\"0.68\"
-I/usr/local/lib/perl5/NEXTSTEP/5.002/CORE  DBI.c
DBIXS.h:238: syntax error, found `->'
DBIXS.h:253: illegal external declaration, found `}'
DBIXS.h:23: syntax error, found `->'
DBIXS.h:23: illegal external declaration, missing `;' after
`Iperl_destruct_level'
DBIXS.h:43: undefined type, found `dbistate_t'
DBIXS.h:73: illegal expression, found `)'
DBIXS.h:81: illegal expression, found `)'
DBIXS.h:84: illegal member reference, found `('
DBIXS.h:219: illegal member reference, found `('
DBIXS.h:301: illegal member reference, found `('
DBIXS.h:419: illegal member reference, found `('
DBIXS.h:449: illegal member reference, found `('
DBIXS.h:476: illegal member reference, found `('
DBIXS.h:499: illegal member reference, found `('
DBIXS.h:549: illegal member reference, found `('
DBIXS.h:574: illegal member reference, found `('
DBIXS.h:620: illegal member reference, found `('
DBIXS.h:665: illegal member reference, found `('
DBIXS.h:692: illegal member reference, found `('
DBIXS.h:760: syntax error, found `->'
DBIXS.h:760: syntax error, missing `;' after `Idebug'
DBIXS.h:761: illegal expression, found `int'
DBIXS.h:762: illegal expression, found `int'
DBIXS.h:764: illegal expression, found `char'
DBIXS.h:1078: syntax error, found `->'
DBIXS.h:1078: syntax error, missing `;' after `Idebug'
DBIXS.h:1108: illegal member reference, found `('
DBIXS.h:1140: illegal member reference, found `('
DBIXS.h:1162: illegal member reference, found `('
DBIXS.h:1163: illegal member reference, found `('
DBIXS.h:1165: illegal member reference, found `('
DBIXS.h:1260: illegal member reference, found `('
DBIXS.h:1279: illegal member reference, found `('
DBIXS.h:1292: illegal member reference, found `('
DBIXS.h:1311: illegal member reference, found `('
DBIXS.h:1318: illegal member reference, found `('
DBIXS.h:1325: illegal member reference, found `('
*** Exit 1
Stop.
bash#

~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen   **  sdahmen@inxpress.net
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:  http://www.clotho.com/smd


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10753-20@oink>;
          Mon, 29 Apr 1996 07:23:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830727760:12815:1; Sun, 28 Apr 96 22:42:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12563; 28 Apr 96 22:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA26844 for dbi-users-real; Sun, 28 Apr 1996 14:35:52 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns1.inxpress.net (root@ns1.inxpress.net [204.120.4.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA26840 
          for <dbi-users@fugue.com>; Sun, 28 Apr 1996 14:35:51 -0700
Received: from [204.120.4.137] (d9.inxpress.net [204.120.4.137]) 
          by ns1.inxpress.net (8.7.4/8.7.3) with SMTP id QAA07278;
          Sun, 28 Apr 1996 16:33:55 -0500 (CDT)
X-Sender: joyfire@inxpress.net
Message-Id: <v02140b04ada994859efa@[204.120.4.137]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 28 Apr 1996 16:36:46 -0500
To: dbi-users@fugue.com
From: sdahmen@inxpress.net (Stephen Dahmen)
Subject: Re: HELP: Build of DBI failing on NeXT UNIX
Cc: Tim Bunce <Tim.Bunce@ig.co.uk>, preston@clotho.com

Necessity is the mother of invention, for sure:

I wrote:

>I'm way stumped as to why DBI will not compile on our NeXT workstation.
>None of the cc errors make any sense, or line up with any lines in the files.
>...
>cc -c  -g -ObjC -arch m68k -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY -O
-DVERSION=\"0.68\" -DXS_VERSION=\"0.68\"
-I/usr/local/lib/perl5/NEXTSTEP/5.002/CORE  DBI.c
>
> [ many errors deleted ]

I found the problem.  The default Perl5.002 configuration uses the flags:
-ObjC -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY which I am just guessing all
apply to Objective-C coding styles.  I removed all these flags and the
compile went well.

Stephen


~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen   **  sdahmen@inxpress.net
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:  http://www.clotho.com/smd


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14466-2@oink>;
          Mon, 29 Apr 1996 10:00:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830765865:13857:2; Mon, 29 Apr 96 09:17:45 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13553; 29 Apr 96 9:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA27743 for dbi-users-real; Mon, 29 Apr 1996 01:04:15 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from chambertin.inferentia.it (chambertin.inferentia.it [194.184.62.9]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA27739 
          for <dbi-users@fugue.com>; Mon, 29 Apr 1996 01:04:12 -0700
Received: from picolit.noc.inferentia.it (picolit.noc.inferentia.it [194.184.62.88]) 
          by chambertin.inferentia.it (8.7.5/8.7.3) with SMTP id KAA06480;
          Mon, 29 Apr 1996 10:08:25 +0200
Received: by picolit.noc.inferentia.it with Microsoft Mail 
          id <01BB35B3.D5ACA460@picolit.noc.inferentia.it>;
          Mon, 29 Apr 1996 10:08:38 +-200
Message-ID: <01BB35B3.D5ACA460@picolit.noc.inferentia.it>
From: Davide Migliavacca <davide.migliavacca@inferentia.it>
To: Dan Casson <dcasson@merc.com>
Cc: "dbi-users@fugue.com" <dbi-users@fugue.com>
Subject: RE: Stored Procedures w/Oracle
Date: Mon, 29 Apr 1996 10:03:38 +-200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

On the line of Jake's suggestion, you can fetch =
ftp://ftp.inferentia.it/pub/perl/dbperl/wowperl.tar. This uses PL/SQL =
tables to store the results of a store procedure to be fetched later =
(after the call).
In the archive you'll find a canned PL/SQL package to handle that.
Best
	Davide

On gioved=EC 25 aprile 1996 19.50, Jake in Denial[SMTP:jake@vivid.com] =
wrote:
>At 2:35 PM 4/25/96, Dan Casson wrote:
>>Hi all,
>>
>>        Can Perl5/Oracle handle stored procedures?  And if so how are
>>they implemented.
>
>You can call stored procedures but you can't get any return values back
>(the bind variable stuff is not supported). Just put "begin =
sproc(args);
>end;" in the SQL you pass to Oraperl.
>
>One way to get a return value is to have the sproc store it in a global =
and
>then do a separate select to retrieve it after calling the sproc.
>
>Jake
>
>
>
>


-----------------------------------------
Davide Migliavacca - Inferentia S.r.l., Milano IT
phone +39 2 59928-1 fax -221
Standard disclaimer applies
-----------------------------------------

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <15353-0@oink>;
          Mon, 29 Apr 1996 13:21:25 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830780392:28229:3; Mon, 29 Apr 96 13:19:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa27727; 29 Apr 96 13:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA28002 for dbi-users-real; Mon, 29 Apr 1996 05:10:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA27998 
          for <dbi-users@fugue.com>; Mon, 29 Apr 1996 05:10:06 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa17750; 29 Apr 96 13:12 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab08780; 29 Apr 96 13:06 +0100
Received: from toad by oink with SMTP (PP) id <14895-0@oink>;
          Mon, 29 Apr 1996 11:59:25 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05486;
          Mon, 29 Apr 1996 11:59:18 +0000
Date: Mon, 29 Apr 1996 11:59:18 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604291059.AA05486@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: RE: Getting Long vars outta oracle.
Cc: sdahmen@inxpress.net
X-Sun-Charset: US-ASCII
content-length: 748
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


----- Begin Included Message -----

Date: Fri, 26 Apr 1996 15:11:37 -0500
To: Tim Bunce <Tim.Bunce@ig.co.uk>
From: sdahmen@inxpress.net (Stephen Dahmen)
Subject: RE: Getting Long vars outta oracle.


I figured out blob_read... nevermind.

It's not clear what the blocksize & buffer are about as far as  optional params.

Will either of these speed up the retrieval?  Seems sorta slow.

Thanks for DBI.

STephen

~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen   **  sdahmen@inxpress.net
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:  http://www.clotho.com/smd

----- End Included Message -----

Read in the blob sequence and experiment with the buffer size.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15360-2@oink>;
          Mon, 29 Apr 1996 13:22:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830780424:05517:0; Mon, 29 Apr 96 13:20:24 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa04928; 29 Apr 96 13:19 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa08303; 29 Apr 96 13:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA27988 for dbi-users-real; Mon, 29 Apr 1996 05:05:59 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA27984 
          for <dbi-users@fugue.com>; Mon, 29 Apr 1996 05:05:57 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab17372; 29 Apr 96 13:08 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa08780; 29 Apr 96 13:06 +0100
Received: from toad by oink with SMTP (PP) id <14879-0@oink>;
          Mon, 29 Apr 1996 11:53:44 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05466;
          Mon, 29 Apr 1996 11:53:36 +0000
Date: Mon, 29 Apr 1996 11:53:36 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604291053.AA05466@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Getting Long vars outta oracle.
Cc: sdahmen@inxpress.net
X-Sun-Charset: US-ASCII
content-length: 964
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users because that's where it should have gone
and I've no time to think about it right now. Sorry.

----- Begin Included Message -----

Date: Fri, 26 Apr 1996 14:35:35 -0500
To: Tim Bunce <Tim.Bunce@ig.co.uk>
From: sdahmen@inxpress.net (Stephen Dahmen)
Subject: Getting Long vars outta oracle.

Tim,

DBI is truncating long oracle columns to 81 chars.

Is it possible to use DBI to get the full long column?  Also, could you
explain how the blob_read is used... methinks it might be used to access
long fields, but it's not clear.

We have to stay with the Perl 5.001m version as 5.002 is causing problems
on our system.

Any light you could shed would be appreciated.

Stephen

~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen   **  sdahmen@inxpress.net
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:  http://www.clotho.com/smd


----- End Included Message -----

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17894-14@oink>;
          Mon, 29 Apr 1996 20:56:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830801962:01811:0; Mon, 29 Apr 96 19:19:22 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa01489; 29 Apr 96 19:18 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa14256; 29 Apr 96 19:16 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA28883 for dbi-users-real; Mon, 29 Apr 1996 11:02:07 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from csiunx.it.csi.cuny.edu (csiunx.it.csi.cuny.edu [163.238.1.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA28878 
          for <dbi-users@fugue.com>; Mon, 29 Apr 1996 11:01:10 -0700
Received: by csiunx.it.csi.cuny.edu (5.57/Ultrix3.0-C) id AA07675;
          Mon, 29 Apr 96 14:08:37 -0400
Date: Mon, 29 Apr 96 14:08:37 -0400
From: "Dr. Divyendu Sinha" <dsinha@csiunx.it.csi.cuny.edu>
Message-Id: <9604291808.AA07675@csiunx.it.csi.cuny.edu>
To: dbi-users@fugue.com
Subject: unsubscribe

Please unsubscribe Divyendu Sinha

Thanks
Div Sinha
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <18823-0@oink>;
          Mon, 29 Apr 1996 22:18:56 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830810096:17858:3; Mon, 29 Apr 96 21:34:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa16570; 29 Apr 96 21:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA29803 for dbi-users-real; Mon, 29 Apr 1996 13:24:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA29799 
          for <dbi-users@fugue.com>; Mon, 29 Apr 1996 13:24:41 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ap17523; 29 Apr 96 20:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa02379; 29 Apr 96 21:01 +0100
Received: from toad by oink with SMTP (PP) id <18046-0@oink>;
          Mon, 29 Apr 1996 21:00:49 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA09463;
          Mon, 29 Apr 1996 21:00:42 +0000
Date: Mon, 29 Apr 1996 21:00:42 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9604292000.AA09463@toad.ig.co.uk>
To: dbi-users@fugue.com, dsinha@csiunx.it.csi.cuny.edu
Subject: Re: unsubscribe
X-Sun-Charset: US-ASCII
content-length: 2049
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "Dr. Divyendu Sinha" <dsinha@csiunx.it.csi.cuny.edu>
> To: dbi-users@fugue.com
> Subject: unsubscribe
> 
> Please unsubscribe Divyendu Sinha

Please follow the instructions.

Tim.

----- Begin Included Message -----

From owner-dbi-users@fugue.com  Wed Apr 17 07:24:59 1996
Sender: owner-perldb-interest@fugue.com
To: Douglas Sur <doug.sur@citicorp.com>
Cc: dbi-users@fugue.com
Subject: HOW TO UNSUBSCRIBE
In-Reply-To: Your message of "Tue, 16 Apr 1996 08:51:31 -0100." <199604161246.AA27891@egate.citicorp.com>
Date: Tue, 16 Apr 1996 11:20:57 -0700
From: Ted Lemon <mellon@fugue.com>


Douglas, when you want to unsubscribe from any mailing list on the
internet, you should expect that if you send mail to the -request
address for that list, you will at least get mail back containing
instructions on how to unsubscribe.

For any mailing list, the -request address is always made up of the
mailing list name, followed by -request, followed by the `@'
character, followed by the fully qualified domain name of the machine
on which that list resides.

In the case of dbi-users@fugue.com, the mailing list name is
dbi-users, the fully qualified domain name is fugue.com, and thus the
-request address is dbi-users-request@fugue.com.   If you wanted to
unsubscribe to, e.g., risks@csl.sri.com, you would send mail to
risks-request@csl.sri.com.

This is very consistent across most mailing lists you will encounter,
although sadly there are some mailing lists where the maintainer has
been too lazy to set up -request addresses.  Still, you should try the
-request address first.

Now, having explained all that, in order to avoid being flamed to a
crisp when you get the response from dbi-users-request and realize
that there's another step, I will tell you that what the
dbi-users-request address actually does is to send you instructions
saying, essentially, that you should go to http://www.fugue.com/dbi
with your favourite web browser (I recommend Netscape or Lynx) to
unsubscribe.

			       _MelloN_


----- End Included Message -----

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22698-0@oink>;
          Tue, 30 Apr 1996 07:29:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830845723:23731:1; Tue, 30 Apr 96 07:28:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23598; 30 Apr 96 7:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA01563 for dbi-users-real; Mon, 29 Apr 1996 23:16:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from inet-smtp-gw-1.us.oracle.com (inet-smtp-gw-1.us.oracle.com [192.86.155.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA01559 
          for <dbi-users@fugue.com>; Mon, 29 Apr 1996 23:16:05 -0700
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id XAA30300; Mon, 29 Apr 1996 23:20:19 -0700
Message-Id: <199604300620.XAA30300@inet-smtp-gw-1.us.oracle.com>
Received: by behux0.be.oracle.com (1.39.111.2/16.2) id AA103255189;
          Tue, 30 Apr 1996 08:19:49 +0200
Date: Tue, 30 Apr 1996 08:19:49 +0200
From: "WCOEKAER.BE.ORACLE.COM" <WCOEKAER@be.oracle.com>
To: dbi-users@fugue.com
Subject: Re: linking perl and DBD:Oracle shared.
X-Orcl-Application: In-Reply-To:BEUNIX.BE.ORACLE.COM:Tim.Bunce@ig.co.uk's 
                    message of 25-Apr-96 00:17
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=Boundary-482898-0-0


--Boundary-482898-0-0

Hiya Tim,  
 
late reply i was trying to find a 7.3 to see if it was the same 
there with libclntsh.sl. 
 
so..Yes. its the same. 7.2 and 7.3 sun ,hp or... its default naming. 
 
liboracle.sl is what it was called in version 7.1. But there are  
a few libs which are not shared inthere and they are in the libclntsh.sl 
 
Wim 
 
 
================================================================ 
Wim Coekaerts                          Work    Tel.:32-2-7195978 
                                       Work    Fax.:32-2-7191314 
			               Home    Tel.:32-16-470641	 
Oracle Belgium 
Ora*mail: wcoekaer.be           Internet: wcoekaer@be.oracle.com 
 
     "The significant problems we face cannot be solved at the 
        same level of thinking we were at when we created them" 
                           Albert Einstein 
 
	The statements and opinions expressed here are my own and  
	do not necessarily represent those of Oracle Corporation.   
 
 



--Boundary-482898-0-0
Content-Type: message/rfc822

Date: 25 Apr 96 00:17:12
From:"Tim Bunce " <Tim.Bunce@ig.co.uk>
To: dbi-users@fugue.com,wcoekaer
Subject: Re: linking perl and DBD:Oracle shared.
X-Sun-Charset: US-ASCII
X-Orcl-Application: Content-Length: 1265
X-Orcl-Application: Organization: Paul Ingram Group, Software Systems, +44 1 483 424424



> From: wcoekaer@be.oracle.com
> 
> Hi...
> 
> Just a sidenote, to link with shared libs on hp... or other systems that
> normally say static linking ... Only with oracle 7.2+...
> 
> If you compile DBD (oracle) with a 7.2+ version of oracle
> check in $ORACLE_HOME/rdbms/lib... there should be a file
> called clntsh.mk, do a make -f clntsh.mk shlib
> 
> this generates libclntsh.sl in ORACLE_HOME/lib
> 
> generate your DBD things and go to
> ./blib/arch/auto/DBD/Oracle/
> 
> mv extralibs.all extralibs.all.old
> 
> do
> 
> cat $ORACLE_HOME/rdbms/lib/sysliblist > extralibs.all
> 
> and add :
> 
> -L/opt/oracle/product/7.2.3/lib -lclntsh
> 
> you should get something like 
> 
> -lcl -lm -L/opt/oracle/product/7.2.3/lib -lclntsh
> in your extralibs.all file... 
> 
> do a make perl again in DBD/
> if everything goes well you have a shared perl executable now, ie also with
> oracle shared libs.
> 
> hope this helps.
> 
> cheers
> Wim

Thanks wim. I'll add that to the notes in the distribution.
Are the details the same for 7.2 and 7.3 on Suns as well as HP's etc?

Once I've upgraded our oracle here I'll automate it as far as possible.

I seem to recall mention of a liboracle.sl (or .so on Sun's) awhile ago.
Is that related? A name change perhaps?

Tim.


--Boundary-482898-0-0--
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02764-0@oink>;
          Tue, 30 Apr 1996 17:39:07 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830882080:11237:1; Tue, 30 Apr 96 17:34:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa10570; 30 Apr 96 17:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA02721 for dbi-dev-real; Tue, 30 Apr 1996 08:41:39 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA02717 
          for <dbi-dev@fugue.com>; Tue, 30 Apr 1996 08:41:37 -0700
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail.austin.ibm.com (8.6.12/8.6.11) with SMTP id KAA44704 
          for <dbi-dev@fugue.com>; Tue, 30 Apr 1996 10:45:47 -0500
Received: by dax.austin.ibm.com (AIX 4.1/UCB 5.64/4.03-client-2.6) 
          for dbi-dev@fugue.com at austin.ibm.com; id AA25362;
          Tue, 30 Apr 1996 10:45:45 -0500
Message-Id: <9604301545.AA25362@dax.austin.ibm.com>
To: dbi-dev@fugue.com
Subject: HP-UX 10, dynamic loading...HELP
Date: Tue, 30 Apr 96 10:45:45 -0500


Can someone explain what the following is attempting to tell me and how
to fix it.

Thanks.
Mike

        PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.00201 -I/opt/perl5/lib -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............install_driver(DB2) failed: Can't load
'./blib/arch/auto/DBD/DB2/DB2.sl' for module DBD::DB2: Not enough space
at /opt/perl5/lib/DynaLoader.pm line 140.

 at blib/lib/DBD/DB2.pm line 23
        DBI::install_driver called at t/base.t line 16
FAILED tests 4-5
        Failed 2/5 tests, 60.00% okay
        Test returned status 12 (wstat 3072)
t/main..............ok
Failed 1 test script, 50.00% okay. 2/6 subtests failed, 66.67% okay.
*** Error exit code 255

Stop.




------------------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content of  
mhm@austin.ibm.com                | this posting is independent of 
Commercial Performance            | official IBM position.
IBM Corporation, Austin, Texas    |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04540-12@oink>;
          Wed, 1 May 1996 07:09:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830900841:05390:1; Tue, 30 Apr 96 22:47:21 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa05262; 30 Apr 96 22:47 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22538; 30 Apr 96 22:46 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA06776 for dbi-dev-real; Tue, 30 Apr 1996 13:59:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from paloalto.access.hp.com (daemon@paloalto.access.hp.com [15.254.56.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA06772 
          for <dbi-dev@fugue.com>; Tue, 30 Apr 1996 13:59:40 -0700
Received: from hpcc123.corp.hp.com (okamoto.corp.hp.com) 
          by paloalto.access.hp.com with ESMTP (1.37.109.16/15.5+ECS 3.3) 
          id AA156717995; Tue, 30 Apr 1996 13:59:56 -0700
Received: by hpcc123.corp.hp.com (1.37.109.16/15.5+ECS 3.3) id AA076997994;
          Tue, 30 Apr 1996 13:59:55 -0700
From: Jeff Okamoto <okamoto@hpcc123.corp.hp.com>
Message-Id: <199604302059.AA076997994@hpcc123.corp.hp.com>
Subject: Re: HP-UX 10, dynamic loading...HELP
To: mhm@austin.ibm.com
Date: Tue, 30 Apr 96 13:59:52 PDT
Cc: dbi-dev@fugue.com
In-Reply-To: <9604301545.AA25362@dax.austin.ibm.com>; from "mhm@austin.ibm.com" at Apr 30, 96 10:45 am
Mailer: Elm [revision: 70.85]

> Can someone explain what the following is attempting to tell me and how
> to fix it.

The error "Not enough space" means either you've exceeded one of maxtsiz,
maxdsiz, or maxssiz, or you've run out of swap space.

>         PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -I./blib/arch -I./blib/lib
> -I/opt/perl5/lib/PA-RISC1.1/5.00201 -I/opt/perl5/lib -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/base..............install_driver(DB2) failed: Can't load
> './blib/arch/auto/DBD/DB2/DB2.sl' for module DBD::DB2: Not enough space
> at /opt/perl5/lib/DynaLoader.pm line 140.

Jeff
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10672-34@oink>;
          Thu, 2 May 1996 07:12:28 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 830994152:10432:1; Thu, 02 May 96 00:42:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09568; 2 May 96 0:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA11512 for dbi-users-real; Wed, 1 May 1996 16:24:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gateway.tcsi.com ([137.134.47.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA11508 
          for <dbi-users@fugue.com>; Wed, 1 May 1996 16:24:11 -0700
Received: from center.tcs.com (center.tcs.com [137.134.51.2]) 
          by gateway.tcsi.com (8.7.4/8.6.10) with ESMTP id QAA16194 
          for <dbi-users@fugue.com>; Wed, 1 May 1996 16:24:52 -0700 (PDT)
Received: from center (localhost [127.0.0.1]) by center.tcs.com (8.7.4/8.6.10) 
          with SMTP id QAA19377 for <dbi-users@fugue.com>;
          Wed, 1 May 1996 16:24:51 -0700 (PDT)
Message-ID: <3187F2C3.41C67EA6@tcs.com>
Date: Wed, 01 May 1996 16:24:51 -0700
From: Murthy Jarugumilli <murthy@tcsi.com>
Organization: TCSI
X-Mailer: Mozilla 2.01 (X11; I; SunOS 4.1.4 sun4m)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Oraperl: Output from stored procs/functions
X-URL: http://www.hermetica.com/technologia/DBI/doc/faq.html
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi

I'm using DBI-0.68, DBD-Oracle-029 with per5.002 on an HP-UX system.
I had earlier successfully executed stored procedures from perl 
scripts. But I couldnt figure how to specify Oracle stored procedure
in(put) and out(put) parameters. In OCI or Pro*C, I would bind
a host variable (by specifying the address) to a ':' variable
in the SQL statement. The oraperl doc says that I can only bind
a value (as opposed to the address of a variable) to the ':'
vars specified in the SQL statement.
I might have misinterpreted/misunderstood something. I would
appreciate any help.

Thanks in advance

Murthy Jarugumilli.
murthy@tcsi.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17314-14@oink>;
          Fri, 3 May 1996 07:07:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831059916:15917:4; Thu, 02 May 96 18:58:36 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15709; 2 May 96 18:58 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22048; 2 May 96 18:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA15168 for dbi-users-real; Thu, 2 May 1996 10:21:00 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nebula.mpn.com (nebula.mpn.com [194.72.64.30]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA15164 
          for <dbi-users@fugue.com>; Thu, 2 May 1996 10:20:57 -0700
Received: from helios.mpn.com by nebula.mpn.com (5.x/SMI-SVR4) id AA12574;
          Thu, 2 May 1996 18:18:26 +0100
From: Nikos Drakos <nikos@mpn.com>
Received: by helios.mpn.com (5.x/Spike-2.0/sweh-1.0) id AA29091;
          Thu, 2 May 1996 18:18:24 +0100
Date: Thu, 2 May 1996 18:18:24 +0100
Message-Id: <9605021718.AA29091@helios.mpn.com>
To: dbi-users@fugue.com
Subject: Oracle Stored procedures from DBPerl
Cc: sweh@mpn.com
X-Sun-Charset: US-ASCII



Has anyone extended the Oracle driver in DBD to handle calling
stored procedures? Everything else works like a charm. Thanks Tim!

We use Perl 5.002, DBI version 0.68, DBD version 0.29 on 
Sun Solaris 2.4 Generic_101945-34.

Cheers,

Nikos.


--
Nikos Drakos                      
MatriX Publishing Network         nikos@mpn.net
32/34 Broadwick Street            Tel: +44-171 316 9291
London                            Fax: +44-171 437 9951 
W1A 2HG                           http://www.mpn.net/


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29897-8@oink>;
          Mon, 6 May 1996 07:06:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831321056:01851:4; Sun, 05 May 96 19:30:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01806; 5 May 96 19:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA23088 for dbi-users-real; Sun, 5 May 1996 11:14:39 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com ([194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA23084 
          for <dbi-users@fugue.com>; Sun, 5 May 1996 11:14:36 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id TAA28710; Sun, 5 May 1996 19:07:28 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605051807.TAA28710@fruitbat.mcqueen.com>
Subject: MsqlPerl emulation module
To: dbi-users@fugue.com
Date: Sun, 5 May 1996 19:07:28 +0100 (BST)
Cc: Tim.Bunce@ig.co.uk, k@anna.mind.de
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 428


Just a quick note to any users of MsqlPerl........

DBD::mSQL should be sporting an emulation layer for this module in the next
few days, time willing. I shall announce in the usual places once it's
passing MsqlPerl's tests completely.

Regards.

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: A Lava Lamp!
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02327-0@oink>;
          Mon, 6 May 1996 13:40:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831383729:28423:4; Mon, 06 May 96 12:55:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28198; 6 May 96 12:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA23925 for dbi-users-real; Mon, 6 May 1996 04:43:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA23921 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 04:43:04 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa15825; 6 May 96 12:42 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa05073; 6 May 96 12:00 +0100
Received: from toad by oink with SMTP (PP) id <01947-0@oink>;
          Mon, 6 May 1996 11:42:37 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14479;
          Mon, 6 May 1996 11:42:30 +0000
Date: Mon, 6 May 1996 11:42:30 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605061042.AA14479@toad.ig.co.uk>
To: HADDAD_CHARLES_L@lilly.com
Subject: Re: Request for Information on DBPerl
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 2168
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Charlie Haddad <HADDAD_CHARLES_L@Lilly.com>
> 
> Tim,
> 
> I am trying to develop a Web application that interfaces with an Oracle
> Database.  I was successful in implementing a solution that was a Perl
> program that initiated a SQLPLUS session and executed SQL commands but ran
> into performance problems because I couldn't evaluate the results of a
> query in my program without closing my Oracle connection (basically I had
> to reopen an Oracle connection for each SQL statement in my program).  
> This resulted in a 30 second delay in bringing up my page - completely
> unacceptable.  To remedy the situation I looked into more reliable and
> direct ways to connect to Oracle through Perl (and other methods including
> Oracle Web Server and Bluestone Sapphire).  I ran across Oraperl and have
> been trying to compile it unsuccessfully for a couple of days.  I have
> noticed that you have posted numerous messages referencing your web page
> discussing DBPerl.  I also looked at your sample code and it appears that
> it will allow me to accomplish my objectives.   My questions/concerns are
> the following:
> 
> 1.  Is DBI a freeware product?

Totally. Same terms as Perl itself.

> 2.  How difficult is the product to support?

Depends how long your piece of string is.
(E.g., ask a more quantifiable question :-)

> 3.  Is there a technical support organization (or individual) available
> for questions?  If not, is this planned any time in the future?

Well, there's me and there's several hundred people on the dbi-users
mailing list.

I'll let them comment on their perception of the ``technical support''
they have received.

> 4.  Do you plan to support other platforms than those listed i.e. IRIX?

I don't formally ``support'' anything (unless you send me a cheque :-).
I have only _ever_ built the DBI and DBD::Oracle modules on Solaris 1
and Solaris 2. All the other platforms listed are listed simply because
people have told me that _they_ have built it on those platforms.
It is very portable code.

Seriously though. I, and my company, are happy to offer technical support
on normal commercial terms to anyone who wants it.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02533-0@oink>;
          Mon, 6 May 1996 14:00:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831387238:23483:1; Mon, 06 May 96 13:53:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23073; 6 May 96 13:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA23978 for dbi-users-real; Mon, 6 May 1996 05:45:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA23974 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 05:45:32 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ad23167; 6 May 96 13:45 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae23047; 6 May 96 13:40 +0100
Received: from toad by oink with SMTP (PP) id <02180-0@oink>;
          Mon, 6 May 1996 12:58:39 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14662;
          Mon, 6 May 1996 12:58:33 +0000
Date: Mon, 6 May 1996 12:58:33 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605061158.AA14662@toad.ig.co.uk>
To: MXC@math.ams.org
Subject: Re: ingperl
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 478
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Michael Carcieri <MXC@MATH.AMS.ORG>
> 
> Hi, Tim.  I have heard via the Perl FAQ that you are working on Ingperl.
> Can you give me some info on it?  We have had Ingres for 10 yrs and
> are just getting into Perl.  Thanks.

I'm not doing Ingperl now, someone else is. (I don't have the name to hand,
CC'd to the dbi-users mailing list incase someone else knows).

It may be some time before anything is working.

Tim.

p.s. See http://www.hermetica.com/technologia/DBI
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03780-0@oink>;
          Mon, 6 May 1996 16:19:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831391427:25279:0; Mon, 06 May 96 15:03:47 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa24827; 6 May 96 15:02 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22240; 6 May 96 15:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA24065 for dbi-users-real; Mon, 6 May 1996 06:53:01 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.industry.net (mail.industry.net [206.150.196.12]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA24061 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 06:52:56 -0700
Received: from dns2.industry.net (dns2.industry.net [206.150.196.30]) 
          by mail.industry.net (8.6.9/8.6.8) with SMTP id JAA28939 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 09:58:29 -0400
Message-ID: <318C570A.167EB0E7@ind70.industry.net>
Date: Sun, 05 May 1996 03:21:46 -0400
From: "Rujith S. de Silva" <desilva@ind70.industry.net>
Organization: Industry.Net
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Returning number of rows
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

In the Oraperl functions that return the number of rows processed, there
are occurrences of code like:

    ($rows == 0) ? "OK" : $rows;

so that a true value is returned when no error occurred, but no rows
were processed.  The 'OK' generates some obnoxious warnings when it is
coerced into a number, so would it be possible to use the following
little Perl hack that has friendlier behaviour:

    ($rows == 0) ? '0E0' : $rows;

'0E0' is a string with a true value, but it converts cleanly to an
arithmetic value of 0.

This perl hack of appending 'E0' is utilized by Perl itself in another
context, viz., in the return value of the range operator `..' used in an
array context.

Later,
Rujith.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04261-0@oink>;
          Mon, 6 May 1996 17:01:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831398344:20039:2; Mon, 06 May 96 16:59:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19931; 6 May 96 16:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA24275 for dbi-users-real; Mon, 6 May 1996 08:53:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA24271 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 08:53:53 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa09508; 6 May 96 15:53 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab26904; 6 May 96 16:53 +0100
Received: from toad by oink with SMTP (PP) id <04106-0@oink>;
          Mon, 6 May 1996 16:39:54 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15517;
          Mon, 6 May 1996 16:39:48 +0000
Date: Mon, 6 May 1996 16:39:48 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605061539.AA15517@toad.ig.co.uk>
To: dbi-users@fugue.com, murthy@tcsi.com, nikos@mpn.com
Subject: Re: Oraperl: Output from stored procs/functions
X-Sun-Charset: US-ASCII
content-length: 1095
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Murthy Jarugumilli <murthy@tcsi.com>
> 
> Hi
> 
> I'm using DBI-0.68, DBD-Oracle-029 with per5.002 on an HP-UX system.
> I had earlier successfully executed stored procedures from perl 
> scripts. But I couldnt figure how to specify Oracle stored procedure
> in(put) and out(put) parameters. In OCI or Pro*C, I would bind
> a host variable (by specifying the address) to a ':' variable
> in the SQL statement. The oraperl doc says that I can only bind
> a value (as opposed to the address of a variable) to the ':'
> vars specified in the SQL statement.
> I might have misinterpreted/misunderstood something. I would
> appreciate any help.

> From: Nikos Drakos <nikos@mpn.com>
> 
> Has anyone extended the Oracle driver in DBD to handle calling
> stored procedures? Everything else works like a charm. Thanks Tim!

Right now you can only pass values _into_ PL/SQL code, e.g., 

	"begin ... stored_proc_name(:foo, :bar) ... end"

You can't retreive modified values or get return values from
stored procedure calls.

I plan to work on these shortly (a relative term, no promises).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04261-2@oink>;
          Mon, 6 May 1996 17:02:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831398417:20573:3; Mon, 06 May 96 17:00:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19957; 6 May 96 16:59 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA24269 for dbi-users-real; Mon, 6 May 1996 08:53:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA24265 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 08:53:18 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa09413; 6 May 96 15:53 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac26904; 6 May 96 16:53 +0100
Received: from toad by oink with SMTP (PP) id <04090-0@oink>;
          Mon, 6 May 1996 16:33:19 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15503;
          Mon, 6 May 1996 16:33:12 +0000
Date: Mon, 6 May 1996 16:33:12 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605061533.AA15503@toad.ig.co.uk>
To: dbi-users@fugue.com, desilva@ind70.industry.net
Subject: Re: Returning number of rows
X-Sun-Charset: US-ASCII
content-length: 1007
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "Rujith S. de Silva" <desilva@ind70.industry.net>
> 
> In the Oraperl functions that return the number of rows processed, there
> are occurrences of code like:
> 
>     ($rows == 0) ? "OK" : $rows;
> 
> so that a true value is returned when no error occurred, but no rows
> were processed.  The 'OK' generates some obnoxious warnings when it is
> coerced into a number, so would it be possible to use the following
> little Perl hack that has friendlier behaviour:
> 
>     ($rows == 0) ? '0E0' : $rows;
> 
> '0E0' is a string with a true value, but it converts cleanly to an
> arithmetic value of 0.
> 
> This perl hack of appending 'E0' is utilized by Perl itself in another
> context, viz., in the return value of the range operator `..' used in an
> array context.
> 
> Later,
> Rujith.

Clever.

I've got no objection and if no one shouts within the next few days
I'll make the change.

People who explicitly check for 'OK' should shout now!
(But might get told to change their code :-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06060-10@oink>;
          Tue, 7 May 1996 03:30:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831432412:22453:3; Tue, 07 May 96 02:26:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22240; 7 May 96 2:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA26967 for dbi-users-real; Mon, 6 May 1996 18:12:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mimos.my (mimos.my [192.228.128.18]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA26963 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 18:12:41 -0700
Received: from ms.mimos.my (ms.mimos.my [192.228.129.33]) 
          by mimos.my (8.7.5/8.7.1) with SMTP id JAA20193 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 09:12:07 +0800 (MYT)
Received: from servtest4.mimos.my by ms.mimos.my (5.64/7.0) id AA02284;
          Tue, 7 May 96 09:12:04 +0800
Message-Id: <9605070112.AA02284@ms.mimos.my>
To: "dbi-users@fugue.com" <dbi-users@fugue.com>
Subject: web to oracle interface
Date: Tue, 07 May 96 10:13:58 -0500
From: Nina <zarina@ms.mimos.my>
X-Mailer: E-Mail Connection v2.5.03

-- [ From: Nina * EMC.Ver #2.5.02 ] --


Hello all...,
	I am currently trying to develop a Web application that interfaces with an 
Oracle database in a remote machine. What I have tried is using Oraperl..but
it took some time for the result to come back from the database and to be
displayed on the  screen.  Why is that so....did I miss something?  So, I
switched to using Pro*C programs that have embedded SQL statements in them. 
I am successful in doing simple querys but still facing some problems in
passing values when trying to integrate with the web.  I have been going
through this mailing list and encountered DBI and DBD. Could someone please
explain 
these terms to me ? What other ways that I can use to develop this Web
application other
than using Oraperl or Pro*C programs? Which is the best way..? Could someone
please
brief a liitle bit...?

Thanx in advance. 

-Zarina

    
    
	
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07953-1@oink>;
          Tue, 7 May 1996 04:14:05 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831437518:13288:1; Tue, 07 May 96 03:51:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13113; 7 May 96 3:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA27250 for dbi-users-real; Mon, 6 May 1996 19:48:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA27246 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 19:48:05 -0700
Received: by egate.citicorp.com id AA02249 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Mon, 6 May 1996 22:47:36 -0400
Message-Id: <199605070247.AA02249@egate.citicorp.com>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
          Mon, 6 May 1996 22:47:36 -0400
Date: Mon, 06 May 1996 22:47:58 -0400
From: Douglas Sur <doug.sur@citicorp.com>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.01 (Win95; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Where can I get ORAPERL support?
Content-Type: multipart/mixed; boundary="------------148DF21BD1"

This is a multi-part message in MIME format.

--------------148DF21BD1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am sorry to bother you with such a trivial question, but is
there a place where I can get oraperl programming support? A listserver,
WWW site, etc.  Any information regarding this would be most
appreciated.
        My problem is I keep getting the following error message from my
Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
cgi-parse-output reports: the CGI program
/apps/ns-home/docs/register/view.cgi did not produce a valid header (too
many headers from CGI script (max 200))

        The program that produced this error is attached.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                  Douglas Y. Sur, Online Technologist

Citicorp Global Information Network      VOICE:703-708-1164
1900 Campus Commons Drive                FAX: 703-708-1184
Reston, Va. 22091                        EMAIL: doug.sur@citicorp.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--------------148DF21BD1
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="view.cgi"

<BASE HREF="file:///D|/view.cgi">

#!/usr/local/bin/oraperl
#

#
# Setup environment
#
push(@INC,"/opt/perl5/lib");
require("cgi-lib.pl");
$ENV{'ORACLE_SID'} = "citiweb";
$ENV{'ORACLE_HOME'} = "/apps/oracle/product/7.2.3";


#
# Try to get data from database
#
$lda=&ora_login('citiweb', 'nobody2', 'nobody2') || &ErrorMsg($ora_errno,$ora_errstr,"ora_login");
$csr=&ora_open($lda,"select * from citiweb.vemp") || &ErrorMsg($ora_errno, $ora_errstr,"ora_open"); 

#
# Dump contents of table
#
print &PrintHeader;
print<<"print_tag";
<HTML><HEAD><TITLE>View Registration Table</TITLE></HEAD><BODY>
[ Go Back To <A HREF="register-admin.html">Registration Admin Menu</A> ]    
<HR><PRE>
print_tag

while (($empid, $fname, $lname, $onum, $fnum, $email, $mail) = &ora_fetch($csr))
{
	print $empid, $fname, $lname, $onum, $fnum, $email, $mail, "<BR>", "\n";
}
if ( $ora_errno )
{
	print $ora_errstr;
}

print<<"print_tag";
<HR></PRE>
</BODY></HTML>
print_tag

#
# Cleanup
#
&ora_close($csr);
&ora_logoff($lda);
exit;

#
# Subroutines
#

sub ErrorMsg {
	local($errno, $errstr, $routine) = @_;

	print &PrintHeader;
	print<<"print_tag";
<HTML><HEAD><TITLE>Error Message</TITLE></HEAD>
<BODY>
<HR>
<H1>Registration Error</H1>
$errno : $errstr <BR>
Called from $routine <BR>
<HR>
</BODY>
</HTML>
print_tag
}


--------------148DF21BD1--

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08224-0@oink>;
          Tue, 7 May 1996 04:45:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831439266:19790:1; Tue, 07 May 96 04:21:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19699; 7 May 96 4:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA27314 for dbi-users-real; Mon, 6 May 1996 20:18:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA27310 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 20:18:34 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa27622; 7 May 96 3:17 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa02660; 7 May 96 4:17 +0100
Received: from toad by oink with SMTP (PP) id <07986-0@oink>;
          Tue, 7 May 1996 04:16:50 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16720;
          Tue, 7 May 1996 04:16:41 +0000
Date: Tue, 7 May 1996 04:16:41 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605070316.AA16720@toad.ig.co.uk>
To: dbi-users@fugue.com, doug.sur@citicorp.com
Subject: Re: Where can I get ORAPERL support?
X-Sun-Charset: US-ASCII
content-length: 845
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Douglas Sur <doug.sur@citicorp.com>
> 
> I am sorry to bother you with such a trivial question, but is
> there a place where I can get oraperl programming support? A listserver,
> WWW site, etc.  Any information regarding this would be most
> appreciated.

This mailing list is it (short of a commercial support agreement).

>         My problem is I keep getting the following error message from my
> Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
> nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
> cgi-parse-output reports: the CGI program
> /apps/ns-home/docs/register/view.cgi did not produce a valid header (too
> many headers from CGI script (max 200))
> 
>         The program that produced this error is attached.

Use the CGI::ErrorWrap module.

That'll be $0.02 please.

:-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08508-1@oink>;
          Tue, 7 May 1996 05:55:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831441261:26334:2; Tue, 07 May 96 04:54:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26149; 7 May 96 4:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA27406 for dbi-users-real; Mon, 6 May 1996 20:48:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA27402 
          for <dbi-users@fugue.com>; Mon, 6 May 1996 20:48:41 -0700
Received: by egate.citicorp.com id AA02806 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Mon, 6 May 1996 23:48:18 -0400
Message-Id: <199605070348.AA02806@egate.citicorp.com>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
          Mon, 6 May 1996 23:48:18 -0400
Date: Mon, 06 May 1996 23:48:33 -0400
From: Douglas Sur <doug.sur@citicorp.com>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.01 (Win95; I)
Mime-Version: 1.0
To: Nina <zarina@ms.mimos.my>
Cc: "dbi-users@fugue.com" <dbi-users@fugue.com>
Subject: Re: web to oracle interface
References: <9605070112.AA02284@ms.mimos.my>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Nina wrote:
> 
> -- [ From: Nina * EMC.Ver #2.5.02 ] --
> 
> Hello all...,
>         I am currently trying to develop a Web application that interfaces with an
> Oracle database in a remote machine. What I have tried is using Oraperl..but
> it took some time for the result to come back from the database and to be
> displayed on the  screen.  Why is that so....did I miss something?  So, I
> switched to using Pro*C programs that have embedded SQL statements in them.
> I am successful in doing simple querys but still facing some problems in
> passing values when trying to integrate with the web.  I have been going
> through this mailing list and encountered DBI and DBD. Could someone please
> explain
> these terms to me ? What other ways that I can use to develop this Web
> application other
> than using Oraperl or Pro*C programs? Which is the best way..? Could someone
> please
> brief a liitle bit...?
> 
> Thanx in advance.
> 
> -Zarina
> 
> 
> 
> 

Zarina-
	I am just a beginner but the first thing I noticed about writing 
Perl scripts is it inherits some of the problems of writing large Unix 
scripts.  You don't know 
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
                  Douglas Y. Sur, Online Technologist

Citicorp Global Information Network      VOICE:703-708-1164
1900 Campus Commons Drive                FAX: 703-708-1184
Reston, Va. 22091                        EMAIL: doug.sur@citicorp.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09898-12@oink>;
          Tue, 7 May 1996 10:37:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831461398:26077:1; Tue, 07 May 96 10:29:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25530; 7 May 96 10:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id CAA27877 for dbi-users-real; Tue, 7 May 1996 02:21:51 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tom.compulink.co.uk (tom.compulink.co.uk [194.153.0.51]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id CAA27873 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 02:21:49 -0700
Received: (from root@localhost) by tom.compulink.co.uk (8.6.9/8.6.9) 
          id KAA04854 for dbi-users@fugue.com; Tue, 7 May 1996 10:20:30 +0100
Date: Tue, 7 May 96 10:20 BST-1
From: richardd@cix.compulink.co.uk (Richard Donkin)
Subject: Perl, Windows NT and SQL Server
To: dbi-users@fugue.com
Cc: richardd@cix.compulink.co.uk
Reply-To: richardd@cix.compulink.co.uk
Message-Id: <memo.115732@cix.compulink.co.uk>

Hi

I am looking for a good way to access Microsoft SQL Server 6.x from Perl 5.001 
on Windows NT.  I know Unix would be nicer but the customer is always right :)

I understand from the web sites and CPAN that Sybperl and DBI/DBD for Sybase 
are only tested on Sybase and Unix - has anyone built these for NT and tried 
them on SQL Server?

I have also had a look at the NT ODBC.pm package by Dave Roth - is anyone else 
using this at all, even if not on SQL Server? 

Thanks

Richard
--
richardd@cix.compulink.co.uk | PGP key: pgp-public-keys@keys.pgp.net
Inside Edge Consultancy Ltd  | Web: http://www.inside-edge.co.uk/

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11360-1@oink>;
          Tue, 7 May 1996 13:32:21 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831472075:27177:1; Tue, 07 May 96 13:27:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25452; 7 May 96 13:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA28070 for dbi-users-real; Tue, 7 May 1996 05:12:24 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gateway1.srs.gov (gateway1.srs.gov [192.33.240.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA28066 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 05:12:11 -0700
Received: by gateway1.srs.gov id AA14714 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Tue, 7 May 1996 08:11:06 -0400
Message-Id: <199605071211.AA14714@gateway1.srs.gov>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
          Tue, 7 May 1996 08:11:06 -0400
Date: Tue, 07 May 1996 08:09:04 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: Re: Where can I get ORAPERL support?
To: Douglas Sur <doug.sur@citicorp.com>
Cc: dbi-users@fugue.com
Mime-Version: 1.0
X-Mailer: Mozilla 3.0b3 (X11; I; SunOS 5.4 sun4m)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <199605070247.AA02249@egate.citicorp.com>

Douglas Sur wrote:
> 
> I am sorry to bother you with such a trivial question, but is
> there a place where I can get oraperl programming support? A listserver,
> WWW site, etc.  Any information regarding this would be most
> appreciated.
>         My problem is I keep getting the following error message from my
> Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
> nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
> cgi-parse-output reports: the CGI program
> /apps/ns-home/docs/register/view.cgi did not produce a valid header (too
> many headers from CGI script (max 200))
> 
>         The program that produced this error is attached.

When I had the same problem with the Netscape server, I had to use a
begin statement...

BEGIN {
    $ENV{'ORACLE_HOME'} = '/home/oracle/product/7.1.4';
}

use Oraperl; 

This fixed the problem.  The problem is that the Netscape server
combines STDERR and STDOUT and if the ORACLE_HOME environment is not set
before the "use Oraperl" statement then the path to ORACLE_HOME is
printed to STDERR (thus STDOUT) before your "&PrintHeader" is executed.
This generates the error messsage for a malformed header. (At least in
my case)

James

> 
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>                   Douglas Y. Sur, Online Technologist
> 
> Citicorp Global Information Network      VOICE:703-708-1164
> 1900 Campus Commons Drive                FAX: 703-708-1184
> Reston, Va. 22091                        EMAIL: doug.sur@citicorp.com
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
>     ---------------------------------------------------------------
> #!/usr/local/bin/oraperl # # # Setup environment #
> push(@INC,"/opt/perl5/lib"); require("cgi-lib.pl"); $ENV{'ORACLE_SID'}
> = "citiweb"; $ENV{'ORACLE_HOME'} = "/apps/oracle/product/7.2.3"; # #
> Try to get data from database # $lda=&ora_login('citiweb', 'nobody2',
> 'nobody2') || &ErrorMsg($ora_errno,$ora_errstr,"ora_login");
> $csr=&ora_open($lda,"select * from citiweb.vemp") ||
> &ErrorMsg($ora_errno, $ora_errstr,"ora_open"); # # Dump contents of
> table # print &PrintHeader; print<<"print_tag"; [ Go Back To
> Registration Admin Menu ]
> ----------------------------------------------------------------------
> 
> print_tag
> 
> while (($empid, $fname, $lname, $onum, $fnum, $email, $mail) = &ora_fetch($csr))
> {
>         print $empid, $fname, $lname, $onum, $fnum, $email, $mail, "
> ", "\n";
> }
> if ( $ora_errno )
> {
>         print $ora_errstr;
> }
> 
> print<<"print_tag";
> ----------------------------------------------------------------------
> 
> print_tag # # Cleanup # &ora_close($csr); &ora_logoff($lda); exit; # #
> Subroutines # sub ErrorMsg { local($errno, $errstr, $routine) = @_;
> print &PrintHeader; print<<"print_tag";
> ----------------------------------------------------------------------
> 
> Registration Error
> 
> $errno : $errstr
> Called from $routine
> ----------------------------------------------------------------------
> print_tag }
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11810-5@oink>;
          Tue, 7 May 1996 16:13:30 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831475667:00410:1; Tue, 07 May 96 14:27:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29804; 7 May 96 14:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA28145 for dbi-users-real; Tue, 7 May 1996 06:20:05 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA28141 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 06:20:04 -0700
Received: by egate.citicorp.com id AA07353 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Tue, 7 May 1996 09:19:43 -0400
Message-Id: <199605071319.AA07353@egate.citicorp.com>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
          Tue, 7 May 1996 09:19:43 -0400
Date: Tue, 07 May 1996 09:24:11 -0100
From: Douglas Sur <doug.sur@citicorp.com>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To: James Taylor <james.taylor@srs.gov>
Cc: Douglas Sur <doug.sur@citicorp.com>, dbi-users@fugue.com
Subject: Re: Where can I get ORAPERL support?
References: <199605070247.AA02249@egate.citicorp.com> <199605071211.AA14714@gateway1.srs.gov>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

James Taylor wrote:
> 
> Douglas Sur wrote:
> >
> > I am sorry to bother you with such a trivial question, but is
> > there a place where I can get oraperl programming support? A listserver,
> > WWW site, etc.  Any information regarding this would be most
> > appreciated.
> >         My problem is I keep getting the following error message from my
> > Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
> > nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
> > cgi-parse-output reports: the CGI program
> > /apps/ns-home/docs/register/view.cgi did not produce a valid header (too
> > many headers from CGI script (max 200))
> >
> >         The program that produced this error is attached.
> 
> When I had the same problem with the Netscape server, I had to use a
> begin statement...
> 
> BEGIN {
>     $ENV{'ORACLE_HOME'} = '/home/oracle/product/7.1.4';
> }
> 
> use Oraperl;
> 
> This fixed the problem.  The problem is that the Netscape server
> combines STDERR and STDOUT and if the ORACLE_HOME environment is not set
> before the "use Oraperl" statement then the path to ORACLE_HOME is
> printed to STDERR (thus STDOUT) before your "&PrintHeader" is executed.
> This generates the error messsage for a malformed header. (At least in
> my case)
> 
> James
> 
> >
> > --
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=
> >                   Douglas Y. Sur, Online Technologist
> >
> > Citicorp Global Information Network      VOICE:703-708-1164
> > 1900 Campus Commons Drive                FAX: 703-708-1184
> > Reston, Va. 22091                        EMAIL: doug.sur@citicorp.com
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=
> >
> >     ---------------------------------------------------------------
> > #!/usr/local/bin/oraperl # # # Setup environment #
> > push(@INC,"/opt/perl5/lib"); require("cgi-lib.pl"); $ENV{'ORACLE_SID'}
> > = "citiweb"; $ENV{'ORACLE_HOME'} = "/apps/oracle/product/7.2.3"; # #
> > Try to get data from database # $lda=&ora_login('citiweb', 'nobody2',
> > 'nobody2') || &ErrorMsg($ora_errno,$ora_errstr,"ora_login");
> > $csr=&ora_open($lda,"select * from citiweb.vemp") ||
> > &ErrorMsg($ora_errno, $ora_errstr,"ora_open"); # # Dump contents of
> > table # print &PrintHeader; print<<"print_tag"; [ Go Back To
> > Registration Admin Menu ]
> > ----------------------------------------------------------------
------
> >
> > print_tag
> >
> > while (($empid, $fname, $lname, $onum, $fnum, $email, $mail) = &ora_fetch($csr))
> > {
> >         print $empid, $fname, $lname, $onum, $fnum, $email, $mail, "
> > ", "\n";
> > }
> > if ( $ora_errno )
> > {
> >         print $ora_errstr;
> > }
> >
> > print<<"print_tag";
> > ----------------------------------------------------------------
------
> >
> > print_tag # # Cleanup # &ora_close($csr); &ora_logoff($lda); exit; # #
> > Subroutines # sub ErrorMsg { local($errno, $errstr, $routine) = @_;
> > print &PrintHeader; print<<"print_tag";
> > ----------------------------------------------------------------
------
> >
> > Registration Error
> >
> > $errno : $errstr
> > Called from $routine
> > ----------------------------------------------------------------
------
> > print_tag }

James-
	Excuse my ignorance but isn't the BEGIN and USE Perl5 
statements?  I am currently using Perl4 because I didn't think 
OraPerl works with Perl5.  If it does, what modifications did 
you do to make it work?
	I appreciate any information you can shed on this 
subject.
				
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
               Douglas Y. Sur, OnLine Technologist
			   
Citicorp Global Information Network   VOICE: 703-708-1164
1900 Campus Commons Drive             FAX: 703-708-1184
Floor 3, Zone 8                       
Reston, Va. 22091
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11812-11@oink>;
          Tue, 7 May 1996 16:14:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831477088:14700:1; Tue, 07 May 96 14:51:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13283; 7 May 96 14:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA28216 for dbi-users-real; Tue, 7 May 1996 06:44:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gateway1.srs.gov (gateway1.srs.gov [192.33.240.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA28212 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 06:44:05 -0700
Received: by gateway1.srs.gov id AA27117 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Tue, 7 May 1996 09:43:01 -0400
Message-Id: <199605071343.AA27117@gateway1.srs.gov>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
          Tue, 7 May 1996 09:43:01 -0400
Date: Tue, 07 May 1996 09:40:34 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: Re: Where can I get ORAPERL support?
To: Douglas Sur <doug.sur@citicorp.com>
Cc: dbi-users@fugue.com
Mime-Version: 1.0
X-Mailer: Mozilla 3.0b3 (X11; I; SunOS 5.4 sun4m)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <199605070247.AA02249@egate.citicorp.com> <199605071211.AA14714@gateway1.srs.gov> <199605071319.AA07353@egate.citicorp.com>

Douglas Sur wrote:
> 
> James-
>         Excuse my ignorance but isn't the BEGIN and USE Perl5
> statements?  I am currently using Perl4 because I didn't think
> OraPerl works with Perl5.  If it does, what modifications did
> you do to make it work?
>         I appreciate any information you can shed on this
> subject.
> 

Sorry, my mistake.  Those were perl5 commands.  I'm using the DBI/DBD
extensions to access Oracle with perl5.

You can pick up the sources at CPAN.  Other than adding the "use
Oraperl" command, you should not have to modify your Oraperl scripts.

James
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12856-0@oink>;
          Tue, 7 May 1996 17:15:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831485641:04165:2; Tue, 07 May 96 17:14:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03327; 7 May 96 17:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA28537 for dbi-users-real; Tue, 7 May 1996 09:03:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from skorpio3.usask.ca (skorpio3.usask.ca [128.233.128.56]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA28532 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 09:01:45 -0700
Received: (from jrt128@localhost) by skorpio3.usask.ca (8.6.12/8.6.9) 
          id JAA09577; Tue, 7 May 1996 09:59:44 -0600
From: Judi Thomson <jrt128@cs.usask.ca>
Message-Id: <199605071559.JAA09577@skorpio3.usask.ca>
Subject: Re: Perl, Windows NT and SQL Server
To: richardd@cix.compulink.co.uk
Date: Tue, 7 May 1996 09:59:44 -0600 (CST)
Cc: dbi-users@fugue.com
In-Reply-To: <memo.115732@cix.compulink.co.uk> from "Richard Donkin" at May 7, 96 10:20:00 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 544


> 
> I have also had a look at the NT ODBC.pm package by Dave Roth - is anyone else 
> using this at all, even if not on SQL Server? 
> 


I am using the NT ODBC.pm with borland's DBD.  Right now I'm using the dbase
driver because it came installed and I didn't have to fiddle with it.  I'm
eventually going to try to install the driver for interbase and play with it.

ODBC.pm installed easily and so far has worked well.  I'm not doing anything
fancy with it, but I'd be happy to try to help answer questions you might have.

Judi Thomson


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13077-3@oink>;
          Tue, 7 May 1996 17:54:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831487062:17527:2; Tue, 07 May 96 17:37:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17103; 7 May 96 17:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA28624 for dbi-users-real; Tue, 7 May 1996 09:34:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from paradigm.webvision.com (paradigm.webvision.com [204.33.249.66]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA28620 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 09:34:10 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id JAA07422;
          Tue, 7 May 1996 09:34:00 -0700
Date: Tue, 7 May 1996 09:34:00 -0700
Message-Id: <199605071634.JAA07422@paradigm.webvision.com>
From: dave madden <dhm@paradigm.webvision.com>
To: zarina@ms.mimos.my
CC: dbi-users@fugue.com
In-reply-to: <9605070112.AA02284@ms.mimos.my> (message from Nina on Tue, 07 May 96 10:13:58 -0500)
Subject: Re: web to oracle interface

 =>From: Nina <zarina@ms.mimos.my>
 =>...
 =>	I am currently trying to develop a Web application that interfaces with an 
 =>Oracle database in a remote machine. What I have tried is using Oraperl..but
 =>it took some time for the result to come back from the database and to be
 =>displayed on the  screen.  Why is that so....did I miss something?

We're doing the same kind of things, and have found the same problem.
I suspect the Oracle login procedure (we're using SQL*Net) is a real
dog.  We've had some success by leaving an SQL query server connected
to the DB, and then connecting to *that* with plain TCP, but I think
the ultimate solution will be to allow the HTTP server to connect to
the database directly.  (The queries will then be written into the
HTML documents; the whole thing will be processed by a
server-side-include extension that we've found to be tremendously
useful.  This extension, btw, is available for free to anyone
interested.  Check <http://wheat.webvision.com/lab/> for more info,
including a white paper, FAQ, demos, and download links.)

d.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13540-6@oink>;
          Tue, 7 May 1996 18:41:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831490209:19482:2; Tue, 07 May 96 18:30:09 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa19327; 7 May 96 18:29 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa00661; 7 May 96 18:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA28777 for dbi-users-real; Tue, 7 May 1996 10:24:03 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vivid.vivid.com (vivid.vivid.com [205.163.51.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA28773 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 10:24:02 -0700
Received: from [205.163.51.232] (greedo.vivid.com [205.163.51.232]) 
          by vivid.vivid.com (8.7.5/8.7.3) with SMTP id KAA07574;
          Tue, 7 May 1996 10:23:29 -0700 (PDT)
Date: Tue, 7 May 1996 10:23:29 -0700 (PDT)
X-Sender: jake@vivid.vivid.com
Message-Id: <adb4d3e1180210044d95@[205.163.51.232]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Douglas Sur <doug.sur@citicorp.com>
From: Jake in Denial <jake@vivid.com>
Subject: Re: Where can I get ORAPERL support?
Cc: dbi-users@fugue.com

At 2:47 AM 5/7/96, Douglas Sur wrote:
>        My problem is I keep getting the following error message from my
>Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
>nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
>cgi-parse-output reports: the CGI program
>/apps/ns-home/docs/register/view.cgi did not produce a valid header (too
>many headers from CGI script (max 200))

Does the script work if you call it from the command line? Does it print
out a valid-looking HTTP header? The Netscape server combines stdout and
stderr from the CGI script, so if you're getting Perl compilation errors or
database errors the server will think that the error text is an HTTP
header.

Jake

--
In twenty-seven years I drunk fifty thousand beers
and they just wash against me like the sea into a pier
Mm hmm hmm
                                --Silver Jews


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14271-21@oink>;
          Tue, 7 May 1996 22:34:17 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831496445:26150:0; Tue, 07 May 96 20:14:05 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa25392; 7 May 96 20:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa19643; 7 May 96 20:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA29060 for dbi-users-real; Tue, 7 May 1996 12:06:13 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA29056 
          for <dbi-users@fugue.com>; Tue, 7 May 1996 12:06:08 -0700
Received: by egate.citicorp.com id AA14152 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Tue, 7 May 1996 15:05:44 -0400
Message-Id: <199605071905.AA14152@egate.citicorp.com>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
          Tue, 7 May 1996 15:05:44 -0400
Date: Tue, 07 May 1996 15:10:11 -0100
From: Douglas Sur <doug.sur@citicorp.com>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Re: Where can I get ORAPERL support?
References: <adb4d3e1180210044d95@[205.163.51.232]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I want to thank all of you for helping me through my 
problem.  The WAS because of the STDERR and STDOUT routing of 
information.  
	For some reason, when I compiled the OraPerl module, it 
put in full debugging information on.  This information gets 
routed to STDERR every time I run OraPerl.  As a stop gap fix I 
simply set the $ora_debug variable to 0.  Until I can figure out 
how to recompile to OraPerl software without the debugging 
turned on.
	Anyway, Thanks!

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
               Douglas Y. Sur, OnLine Technologist
			   
Citicorp Global Information Network   VOICE: 703-708-1164
1900 Campus Commons Drive             FAX: 703-708-1184
Floor 3, Zone 8                       
Reston, Va. 22091
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18396-0@oink>;
          Wed, 8 May 1996 09:55:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831540010:26222:3; Wed, 08 May 96 08:20:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26163; 8 May 96 8:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA01397 for dbi-users-real; Wed, 8 May 1996 00:14:35 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id AAA01342;
          Wed, 8 May 1996 00:01:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id af08615; 8 May 96 8:01 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae29729; 8 May 96 7:06 +0100
Received: from toad by oink with SMTP (PP) id <14444-0@oink>;
          Tue, 7 May 1996 22:48:00 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19854;
          Tue, 7 May 1996 22:47:54 +0000
Date: Tue, 7 May 1996 22:47:54 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605072147.AA19854@toad.ig.co.uk>
To: dbi-announce@fugue.com
Subject: Announce: DBI-0.69 and DBD-Oracle-0.30 (minor releases)
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1101
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Changes in DBI 0.69, 7th May 1996

    Fixed small memory leak.
    Clarified the behaviour of DBI->connect.
    $dbh->do now returns '0E0' instead of 'OK'.
    Fixed "Can't read $DBI::errstr, lost last handle" problem.

Changes in DBD::Oracle 0.30, 7th May 1996

    THE ORAPERL EMULATION LAYER IS NOW FORMALLY RELEASED (NO LONGER ALPHA).

    Note that the underlying DBI and DBD::Oracle interfaces remain alpha
    because they are still subject to, possibly significant, change.

    Oraperl v2 used to return the string 'OK' to indicate success
    with a zero numeric value. The Oraperl emulation now uses the
    string '0E0' to achieve the same effect since it does not cause
    any -w warnings when used in a numeric context.

    Fixed typecast warning (s/safefree/Safefree).
    Automatically sets/resets ORACLE_HOME from oratab value for sid.

    TO DO: Automatic configuration from Oracle 7.3 is not yet working
    (Oracle have reorganised the makefiles yet again!).

Uploaded to ftp://ftp.demon.co.uk/pub/perl/db/ DBI/ and DBD/Oracle/
Will be mirrored to CPAN in time.

Enjoy.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18396-2@oink>;
          Wed, 8 May 1996 09:55:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831540074:26708:1; Wed, 08 May 96 08:21:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26541; 8 May 96 8:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA01346 for dbi-announce-real; Wed, 8 May 1996 00:01:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id AAA01342;
          Wed, 8 May 1996 00:01:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id af08615; 8 May 96 8:01 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae29729; 8 May 96 7:06 +0100
Received: from toad by oink with SMTP (PP) id <14444-0@oink>;
          Tue, 7 May 1996 22:48:00 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19854;
          Tue, 7 May 1996 22:47:54 +0000
Date: Tue, 7 May 1996 22:47:54 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605072147.AA19854@toad.ig.co.uk>
To: dbi-announce@fugue.com
Subject: Announce: DBI-0.69 and DBD-Oracle-0.30 (minor releases)
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1101
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Changes in DBI 0.69, 7th May 1996

    Fixed small memory leak.
    Clarified the behaviour of DBI->connect.
    $dbh->do now returns '0E0' instead of 'OK'.
    Fixed "Can't read $DBI::errstr, lost last handle" problem.

Changes in DBD::Oracle 0.30, 7th May 1996

    THE ORAPERL EMULATION LAYER IS NOW FORMALLY RELEASED (NO LONGER ALPHA).

    Note that the underlying DBI and DBD::Oracle interfaces remain alpha
    because they are still subject to, possibly significant, change.

    Oraperl v2 used to return the string 'OK' to indicate success
    with a zero numeric value. The Oraperl emulation now uses the
    string '0E0' to achieve the same effect since it does not cause
    any -w warnings when used in a numeric context.

    Fixed typecast warning (s/safefree/Safefree).
    Automatically sets/resets ORACLE_HOME from oratab value for sid.

    TO DO: Automatic configuration from Oracle 7.3 is not yet working
    (Oracle have reorganised the makefiles yet again!).

Uploaded to ftp://ftp.demon.co.uk/pub/perl/db/ DBI/ and DBD/Oracle/
Will be mirrored to CPAN in time.

Enjoy.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18396-7@oink>;
          Wed, 8 May 1996 09:56:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831541858:10114:2; Wed, 08 May 96 08:50:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09555; 8 May 96 8:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA01470 for dbi-users-real; Wed, 8 May 1996 00:45:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from auspex-gw.auspex.com (auspex-gw.auspex.com [144.48.1.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA01466 
          for <dbi-users@fugue.com>; Wed, 8 May 1996 00:45:49 -0700
Received: from nova.auspex.fr ([194.2.216.2]) 
          by auspex-gw.auspex.com (8.6.12/8.6.12) with ESMTP id AAA02447;
          Wed, 8 May 1996 00:45:27 -0700
Received: (from kstock@localhost) by nova.auspex.fr (8.6.9/8.6.9) id JAA00542;
          Wed, 8 May 1996 09:44:22 +0200
Date: Wed, 8 May 1996 09:44:22 +0200
Message-Id: <199605080744.JAA00542@nova.auspex.fr>
To: dbi-users@fugue.com, doug.sur@citicorp.com
Subject: Re: Where can I get ORAPERL support?
From: KStock@auspex.com (Kevin Stock)
Organisation: Auspex Systems European Technical Support Centre
Phone: +33 1 46 29 99 37
Reply-To: KStock@auspex.com

> I want to thank all of you for helping me through my 
> problem.  The WAS because of the STDERR and STDOUT routing of 
> information.  
> 	For some reason, when I compiled the OraPerl module, it 
> put in full debugging information on.  This information gets 
> routed to STDERR every time I run OraPerl.  As a stop gap fix I 
> simply set the $ora_debug variable to 0.  Until I can figure out 
> how to recompile to OraPerl software without the debugging 
> turned on.

I'm sorry to say this, but: RTFM.

'Readme' states:

You may need to change the definitions below:
[...]
        DEBUG           -DDEBUGGING, -DPERL_DEBUGGING or leave blank;
                        see the file Debugging for an explanation
        DBUG_O          the debugging library, if debugging is required

'Debugging' states: 

If your uperl.o was built with -DDEBUGGING, you can define PERL_DEBUGGING
at compilation and the oraperl debugging will be initialised from the -D
flag. If not, you can still define DEBUGGING, but you will have to set
ora_debug from within your program.

and finally, 'Makefile' states:

# Set DEBUG to -DDEBUGGING, -DPERL_DEBUGGING or leave blank (see orafns.h)
# If it is not blank, uncomment the definition of DBUG_O
#
DEBUG           = -DPERL_DEBUGGING
DBUG_O          = dbug/dbug.o

To summarise, you need to change the two Makfile lines to read:

	DEBUG		=
	#DBUG_O         = dbug/dbug.o

Then issue 

	make clean		# to get rid of the old .o files
	make

and a new, debug-less, Oraperl will be built.

Maybe someone could add this information to the FTP site and/or Web page?

	Kevin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18396-13@oink>;
          Wed, 8 May 1996 09:56:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831544119:00780:2; Wed, 08 May 96 09:28:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00100; 8 May 96 9:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA01537 for dbi-users-real; Wed, 8 May 1996 01:22:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bbbsr1.bau.tu-dresden.de (bbbsr1.bau.tu-dresden.de [141.30.140.32]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id BAA01533 
          for <dbi-users@fugue.com>; Wed, 8 May 1996 01:22:30 -0700
Received: from localhost by bbbsr1.bau.tu-dresden.de 
          with SMTP (1.38.193.4/16.2) id AA13125;
          Wed, 8 May 1996 10:21:41 +0200
Message-Id: <31905995.34F7@bbbsr1.bau.tu-dresden.de>
Date: Wed, 08 May 1996 10:21:41 +0200
From: Markus Hauser <markus@bbbsr1.bau.tu-dresden.de>
Organization: University of Technology Dresden
X-Mailer: Mozilla 2.01 (X11; I; HP-UX A.09.05 9000/735)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: dbd-oracle connect problem
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I did the following in our HP-UX 9.05 enviroment:

- installed perl 5.0 (patchlevel 2), all tests ok
- installed dbi-0.68 ,all tests ok
- installed dbd-oracle 0.29, 
       test base ok
       test main ok

    oraperl emulation interface
    ORA 01034 ERROR (ORACLE NOT AVAILABLE)

I receive login failures also when using ora_login directly.
The server is definitely running and a connection with sqlplus
is possible.
I tried to establish a connection from the machine where the server is 
running as well as from client machines.

For client machines the environent is:

Database Name:  CIB.bau.tu-dreden.de
                (defined in tnsnames.ora: host bbbsr1.bau.tu-dresden.de
                                          protocol TCP, port 1526)
                CIB instance is up on bbbsr1
User: scott
Passwd: tiger
   
Things like ora_login('CIB.bau.tu-dresden.de','scott','tiger') for 
clients or ora_login('CIB','scott','tiger') or 
ora_login('',scott,tiger) on the server wont work.
 

Any hints are very much appreciated. By the way is the some 
documentation avialable for dbd-oracle and the oraperl emulation?
-- 
Dipl.-Inform. Markus Hauser       Technische Universitaet Dresden   	
Lehrstuhl fuer Computeranwendung  Mommsenstrasse 13                 
im Bauwesen                       D-01062 Dresden, Germany          
Phone: +49-351-463-4615           Fax:   +49-351-463-3975           
http://bbbsr1.bau.tu-dresden.de/~markus/
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19855-7@oink>;
          Wed, 8 May 1996 15:25:49 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831561501:16016:1; Wed, 08 May 96 14:18:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15263; 8 May 96 14:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA01869 for dbi-users-real; Wed, 8 May 1996 06:08:27 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.industry.net (mail.industry.net [206.150.196.12]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA01865 
          for <dbi-users@fugue.com>; Wed, 8 May 1996 06:08:26 -0700
Received: from dns2.industry.net (dns2.industry.net [206.150.196.30]) 
          by mail.industry.net (8.6.9/8.6.8) with SMTP id JAA02678;
          Wed, 8 May 1996 09:11:12 -0400
Message-ID: <318EEED7.41C67EA6@ind70.industry.net>
Date: Tue, 07 May 1996 02:33:59 -0400
From: "Rujith S. de Silva" <desilva@ind70.industry.net>
Organization: Industry.Net
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
MIME-Version: 1.0
To: Markus Hauser <markus@bbbsr1.bau.tu-dresden.de>
CC: dbi-users@fugue.com
Subject: Re: dbd-oracle connect problem
References: <31905995.34F7@bbbsr1.bau.tu-dresden.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Markus Hauser wrote:
> Things like ora_login('CIB.bau.tu-dresden.de','scott','tiger') for
> clients or ora_login('CIB','scott','tiger') or
> ora_login('',scott,tiger) on the server wont work.

Try using the exact same string as you'd give sqlplus, i.e., if you can
invoke sqlplus with:

	sqlplus scott/tiger@CIB

try doing:

	ora_login ('', 'scott/tiger@CIB', '')

Later,
Rujith.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20791-0@oink>;
          Wed, 8 May 1996 16:17:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831568388:06349:3; Wed, 08 May 96 16:13:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06138; 8 May 96 16:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA02099 for dbi-users-real; Wed, 8 May 1996 08:07:14 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from unicorn.it.wsu.edu (unicorn.it.wsu.edu [134.121.1.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA02095 
          for <dbi-users@fugue.com>; Wed, 8 May 1996 08:07:13 -0700
Received: by unicorn.it.wsu.edu; (5.65v3.2/1.1.8.2/11Jan95-0459PM) id AA23688;
          Wed, 8 May 1996 08:07:05 -0700
Date: Wed, 8 May 1996 08:07:05 -0700 (PDT)
From: kathleen duncan <duncan@wsunix.wsu.edu>
X-Sender: duncan@unicorn.it.wsu.edu
To: "dbi-users@fugue.com" <dbi-users@fugue.com>
Subject: Quoting an SQL string
Message-Id: <Pine.OSF.3.91.960508075928.19520B@unicorn.it.wsu.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


I have recently installed DBI 0.68, DBD-mSQL 0.60pl10, perl 5.002 and
mSQL-1.0.10 on a DEC Alpha.  So far, everything seems to be working except
when I try to quote a string.  Then the program just stops. 

The line I am entering is : $tmp = $dbh->quote($db, $mystring);

Could someone tell me what I am doing wrong or if there is another 
package that I need to install.

Thanks in advance.

Kathleen Duncan
Washington State University
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22011-0@oink>;
          Wed, 8 May 1996 19:55:58 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831581452:18062:2; Wed, 08 May 96 19:50:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa17867; 8 May 96 19:50 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa15421; 8 May 96 19:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA02905 for dbi-users-real; Wed, 8 May 1996 11:42:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA02899 
          for <dbi-users@fugue.com>; Wed, 8 May 1996 11:42:40 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab21219; 8 May 96 19:36 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa08246; 8 May 96 19:36 +0100
Received: from toad by oink with SMTP (PP) id <20836-0@oink>;
          Wed, 8 May 1996 16:34:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29957;
          Wed, 8 May 1996 16:34:50 +0000
Date: Wed, 8 May 1996 16:34:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605081534.AA29957@toad.ig.co.uk>
To: dbi-users@fugue.com, duncan@wsunix.wsu.edu
Subject: Re: Quoting an SQL string
X-Sun-Charset: US-ASCII
content-length: 692
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: kathleen duncan <duncan@wsunix.wsu.edu>
> 
> I have recently installed DBI 0.68, DBD-mSQL 0.60pl10, perl 5.002 and
> mSQL-1.0.10 on a DEC Alpha.  So far, everything seems to be working except
> when I try to quote a string.  Then the program just stops. 
> 
> The line I am entering is : $tmp = $dbh->quote($db, $mystring);

The _default_ quote method is:

    sub quote   { my $str=shift; $str=~s/'/''/g; "'$str'"; } # ISO SQL2

(which, on inspection, is broken - but that's not the problem here)

DBD-mSQL may have overridden the default method with another.

Either way I'd suggest just writing your own quote function
based on the above (modified to suite mSQL if needed).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26881-23@oink>;
          Thu, 9 May 1996 07:10:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831621712:06180:1; Thu, 09 May 96 07:01:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05913; 9 May 96 7:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA05731 for dbi-users-real; Wed, 8 May 1996 22:48:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from engr.orst.edu (ENGR.ORST.EDU [128.193.54.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA05727 
          for <dbi-users@fugue.com>; Wed, 8 May 1996 22:48:28 -0700
Received: from mi.ENGR.ORST.EDU (mi.ENGR.ORST.EDU [198.106.200.32]) 
          by engr.orst.edu (8.6.10/8.6.10) with SMTP id WAA16521 
          for <dbi-users@fugue.com>; Wed, 8 May 1996 22:48:27 -0700
Received: by mi.ENGR.ORST.EDU (1.38.193.4/ENGR-Client) id AA18552;
          Wed, 8 May 1996 22:48:20 -0700
Message-Id: <9605090548.AA18552@mi.ENGR.ORST.EDU>
To: dbi-users@fugue.com
Subject: Free DBperl engines/modules?
Date: Wed, 08 May 1996 22:48:19 -0700
From: Eric Altendorf <altender@engr.orst.edu>


This is probably a stupid question asked many times before, but is
there a free database engine and module to sit under the DBperl
interface?

I'm involved in a small project and we need a fairly simple database
system to keep track of students and grades in an online class.  We've
started writing our own ascii/flat-file type system, but I think it
would be much better if we could reuse code, especially if it would
allow us to easily upgrade to a commercial relational database engine
later.

Thanks in advance,
-eric altendorf
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01385-6@oink>;
          Thu, 9 May 1996 16:47:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831656205:28338:0; Thu, 09 May 96 16:36:45 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa27857; 9 May 96 16:36 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa01445; 9 May 96 16:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA06522 for dbi-users-real; Thu, 9 May 1996 08:16:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA06518 
          for <dbi-users@fugue.com>; Thu, 9 May 1996 08:16:01 -0700
Received: from localhost (pixel@localhost) 
          by rhino.coe.missouri.edu (8.7.3/8.7.3) with SMTP id KAA05228;
          Thu, 9 May 1996 10:15:48 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Thu, 9 May 1996 10:15:47 -0500 (CDT)
From: James Cooper <pixel@tiger.coe.missouri.edu>
To: Eric Altendorf <altender@engr.orst.edu>
cc: dbi-users@fugue.com
Subject: Re: Free DBperl engines/modules?
In-Reply-To: <9605090548.AA18552@mi.ENGR.ORST.EDU>
Message-ID: <Pine.SGI.3.93.960509101343.5211A-100000@rhino.coe.missouri.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

> This is probably a stupid question asked many times before, but is
> there a free database engine and module to sit under the DBperl
> interface?

mSQL is shareware...I'm not sure what the registration fee is for
educational institutions (and if it's different from a commercial install)

Postgres95 is a free RDBMS, but unfortunately no one has written a DBI
driver for it.  There is a free perl API for it called pg95perl.
Hopefully one day someone will try to bring Postgres into the DBI project.

The Postgres95 home page is at:
http://epoch.cs.berkeley.edu:8000/postgres95/

Hope that helps

-- James

.........................................................................
                        James Paul Cooper * Pixel
                         MU College of Education
       pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
.........................................................................

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04225-11@oink>;
          Fri, 10 May 1996 07:09:34 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831672588:18005:3; Thu, 09 May 96 21:09:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa12666; 9 May 96 21:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA07613 for dbi-users-real; Thu, 9 May 1996 12:52:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vega.math.ualberta.ca (daemon@vega.math.ualberta.ca [129.128.88.12]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA07609 
          for <dbi-users@fugue.com>; Thu, 9 May 1996 12:52:07 -0700
Received: from ellpspace.math.ualberta.ca by vega.math.ualberta.ca 
          with SMTP (1.37.109.16/16.2) id AA208981224;
          Thu, 9 May 1996 13:47:04 -0600
Received: by ellpspace.math.ualberta.ca (Linux Smail3.1.29.1 #3) 
          id m0uHbl1-000MjeC; Thu, 9 May 96 13:52 MDT
Message-Id: <m0uHbl1-000MjeC@ellpspace.math.ualberta.ca>
From: michal@ellpspace.math.ualberta.ca (Michal Jaegermann)
Subject: Some problems with DBD-Oracle-0.30
To: Tim.Bunce@ig.co.uk
Date: Thu, 9 May 1996 13:52:15 -0600 (MDT)
Cc: dbi-users@fugue.com
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 4259


So far I have to problems with just released DBD-Oracle-0.30.

First really a minor one.  It seems to me that 'load_oratab' subroutine
is a bit overenthusiastic.  It should skip not "turned-on" names, i.e.
these without trailing 'Y' in a record.

The other is that deleting records does not always work correctly with
Oracle 7 (I reported that with 0.29, but apparently this report was
lost).  Below is attached slight modification of one original Kevin
Stock test programs - mkdb.pl.  When used with '-v' option to make
record labels of 'varchar2', then results are as expected.  Without
'-v', i.e. type 'char' for record labels, deletes "by name" do not work.
Results of both tests are correct and look the same, save a difference
in reported types, with oraperl 2.4 for Perl 4 on the same platform
(Digital Unix 3.2, Alpha).  Am I the only one with this gotcha?

  Michal
  michal@ellpspace.math.ualberta.ca

#!/usr/local/bin/perl

eval 'use Oraperl; 1' || die $@ if $] >= 5;

require 'getopts.pl';

# This test will create and drop a table 'tryit'!!

#
# this example modified to use fixed width strings
# type 'char' in Oracle 6 was variable; it is fixed in Oracle 7
# and if you want variable type use 'varchar2' instead
#

##$ora_debug = shift if $ARGV[0] =~ /-#/;

$opt_v = '';
&Getopts('v') || die "Usage: $0 [-v] base user pass\n";
$varchar = 'yes' if $opt_v;

$ora_errno = 0;

(($base = shift) &&
 ($user = shift) &&
 ($pass = shift)) || die "Usage: $0 [-v] base user pass\n";

push(@INC, '..');
require('oraperl.ph');

$fwidth = 10;

$lda = &ora_login($base, $user, $pass) || die "$ora_errstr\n";

format STDOUT_TOP =
       Name         Ext
       ====         ===
.

format STDOUT =
       @<<<<<<<<<   @>>
       $name,       $ext
.

# function to list the database

sub list
{
	local($csr, $name, $ext,);

	$- = 0;

	$csr = &ora_open($lda, $LIST)			|| die $ora_errstr;
	$nfields = &ora_fetch($csr)			|| die $ora_errstr;
	print "$nfields fields, lengths ",
        	join(', ', &ora_lengths($csr)), "\n";
	local(@types) = &ora_types($csr);
	print "\ttypes ", join(', ', @types), "\n";
#	print "\ttypes ", join(', ', grep($ora_types{$_}, @types)), "\n";
	local($line) = "\ttypes ";
	foreach $code (@types) {
	    $line .=  $ora_types{$code} . ', ';
	}
	$line =~ s/, $/\n/;
	print $line;

	while (($name, $ext) = &ora_fetch($csr))
	{
		grep(defined || ($_ = '<-NULL->'), $name, $ext);
		write;
	}
	print "\n";
	die $ora_errstr if ($ora_errno != 0);
	&ora_close($csr)				|| die $ora_errstr;
}

# set these as strings to make the code more readable
if (defined($varchar)) {
    $CREATE = "create table tryit (name varchar2($fwidth), ext number(3))";
}
else {
    $CREATE = "create table tryit (name char($fwidth), ext number(3))";
}
$INSERT = "insert into tryit values (:1, :2)";
$LIST	= "select * from tryit order by name";
$DELETE	= "delete from tryit where name = :1";
$DROP	= "drop table tryit";

# create the database

&ora_do($lda, $CREATE)				|| die $ora_errstr;

# put some data into it

$csr = &ora_open($lda, $INSERT)			|| die $ora_errstr;
while (<DATA>)
{
	chop;
	($name, $telno) = split(':', $_);
	undef $name if $name eq 'NULL';
	undef $telno if $telno eq 'NULL';

	&ora_bind($csr, $name, $telno);
}
&ora_close($csr)				|| die $ora_errstr;

# check the result
&list();

# remove a few lines

$csr = &ora_open($lda, $DELETE)			|| die $ora_errstr;
if (defined($varchar)) {
    foreach $name ('catherine', 'angela', 'arnold', 'julia') {
	&ora_bind($csr, $name)			|| die $ora_errstr;
    }
}
else {
    $fmt = "%-${fwidth}s";
    foreach $name ('catherine', 'angela', 'arnold', 'julia') {
	# with Perl 5 we cannot do 
        # $name = sprintf($fmt, $name);
	# since we iterate over immutable data
        $xnm = sprintf($fmt, $name);
#        print "!$xnm!\n";
	&ora_bind($csr, $xnm)			|| die $ora_errstr;
    }
}
&ora_close($csr)				|| die $ora_errstr;
&ora_do($lda, 'delete from tryit where name is null')	|| die $ora_errstr;

# check the result
&list();

# remove the database and log out
&ora_do($lda, $DROP)				|| die $ora_errstr;
&ora_logoff($lda)				|| die $ora_errstr;

# This is the data which will go into the database
__END__
julia:292
angela:208
larry:424
catherine:201
randal:306
arnold:305
NULL:999
nonumber:NULL
NULL:NULL

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07629-2@oink>;
          Fri, 10 May 1996 13:05:28 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831728580:13691:3; Fri, 10 May 96 12:43:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa13550; 10 May 96 12:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA10592 for dbi-users-real; Fri, 10 May 1996 04:37:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tom.compulink.co.uk (tom.compulink.co.uk [194.153.0.51]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id EAA10588 
          for <dbi-users@fugue.com>; Fri, 10 May 1996 04:37:50 -0700
Received: (from root@localhost) by tom.compulink.co.uk (8.6.9/8.6.9) 
          id MAA17629 for dbi-users@fugue.com; Fri, 10 May 1996 12:37:16 +0100
Date: Fri, 10 May 96 12:36 BST-1
From: richardd@cix.compulink.co.uk (Richard Donkin)
Subject: ODBC.pm users?
To: dbi-users@fugue.com
Cc: richardd@cix.compulink.co.uk
Reply-To: richardd@cix.compulink.co.uk
Message-Id: <memo.227825@cix.compulink.co.uk>

Not really a DBI question, but until DBI is ported to NT / ODBC I am using 
ODBC.pm instead.  Is there anyone out there using ODBC.pm successfully?  I 
have installed ODBC on NT and can use it via the ODBC Test program, but can't 
get ODBC.pm to see the installed drivers and data sources - nothing is listed 
by the test.pl program and it gives a generic error on trying to connect to a 
data source.  I am using the ODBC SDK 2.10 and its built-in dBase driver.

Any ideas or FAQ pointers on ODBC setup would help.  Thanks.

Richard
--
richardd@cix.compulink.co.uk | PGP key: pgp-public-keys@keys.pgp.net
Inside Edge Consultancy Ltd  | Web: http://www.inside-edge.co.uk/

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07633-20@oink>;
          Fri, 10 May 1996 13:06:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831724730:29995:3; Fri, 10 May 96 11:38:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29762; 10 May 96 11:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA10491 for dbi-users-real; Fri, 10 May 1996 03:27:29 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from inet-smtp-gw-1.us.oracle.com (inet-smtp-gw-1.us.oracle.com [192.86.155.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA10487 
          for <dbi-users@fugue.com>; Fri, 10 May 1996 03:27:28 -0700
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id DAA07517; Fri, 10 May 1996 03:27:25 -0700
Message-Id: <199605101027.DAA07517@inet-smtp-gw-1.us.oracle.com>
Received: from b-w001.be.oracle.com by behux0.be.oracle.com 
          with SMTP (1.39.111.2/16.2) id AA120165020;
          Fri, 10 May 1996 09:57:00 +0200
From: Philippe Vanhaesendonck <pvanhaes@be.oracle.com>
Subject: Re: Some problems with DBD-Oracle-0.30
To: michal@ellpspace.math.ualberta.ca (Michal Jaegermann)
Date: Fri, 10 May 1996 9:57:27 CES
Cc: dbi-users@fugue.com
In-Reply-To: <m0uHbl1-000MjeC@ellpspace.math.ualberta.ca>; from "Michal Jaegermann" at May 9, 96 1:52 pm
X-Mailer: Elm [revision: 110.32]

> First really a minor one.  It seems to me that 'load_oratab' subroutine
> is a bit overenthusiastic.  It should skip not "turned-on" names, i.e.
> these without trailing 'Y' in a record.

This is not a good idea: the 'Y' flag means that the DB is automatically 
Started/stopped by dbstart/dbshut, this does not mean that DB is not
available...

(look at the dbhome oracle script which do about the same)


Phil.

The statements and opinions expressed here are my own and do not necessarily 
represent those of Oracle Corporation. 

+--------------------------------------+
| Philippe Vanhaesendonck              |
| Senior Technical Support Specialist+-------------------------------------+
| Oracle Belgium - Vuurberg 80       | Internet     pvanhaes@be.oracle.com |
| B-1831 Diegem   (Belgium)          | Compuserve   75611,1504             |
+------------------------------------| Voice        +32-2-719.59.59        |
                                     | Fax          +32-2-719.13.14        |
                                     +-------------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09055-21@oink>;
          Fri, 10 May 1996 17:06:24 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831740757:24833:1; Fri, 10 May 96 16:05:57 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa24719; 10 May 96 16:05 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa11500; 10 May 96 16:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA10870 for dbi-users-real; Fri, 10 May 1996 07:49:17 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA10866 
          for <dbi-users@fugue.com>; Fri, 10 May 1996 07:49:04 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id PAA17385; Fri, 10 May 1996 15:39:55 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605101439.PAA17385@fruitbat.mcqueen.com>
Subject: Re: Quoting an SQL string
To: kathleen duncan <duncan@wsunix.wsu.edu>
Date: Fri, 10 May 1996 15:39:54 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <Pine.OSF.3.91.960508075928.19520B@unicorn.it.wsu.edu> from "kathleen duncan" at May 8, 96 08:07:05 am
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 796


> I have recently installed DBI 0.68, DBD-mSQL 0.60pl10, perl 5.002 and
> mSQL-1.0.10 on a DEC Alpha.  So far, everything seems to be working except
> when I try to quote a string.  Then the program just stops. 
> 
> The line I am entering is : $tmp = $dbh->quote($db, $mystring);
> 
> Could someone tell me what I am doing wrong or if there is another 
> package that I need to install.

Um, no idea, but there's been no messing by me on the quote method. I wasn't
even aware it existed! It's possibly quoting things in a non-mSQL-way, or
just flat doesn't work. 

I'll add it into the ToDo.

> Kathleen Duncan

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: V for Vendetta
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09055-26@oink>;
          Fri, 10 May 1996 17:07:31 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831743794:24352:2; Fri, 10 May 96 16:56:34 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa24186; 10 May 96 16:55 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa19903; 10 May 96 16:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA11048 for dbi-users-real; Fri, 10 May 1996 08:36:21 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from skorpio3.usask.ca (skorpio3.usask.ca [128.233.128.56]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA11044 
          for <dbi-users@fugue.com>; Fri, 10 May 1996 08:36:18 -0700
Received: (from jrt128@localhost) by skorpio3.usask.ca (8.6.12/8.6.9) 
          id JAA10850; Fri, 10 May 1996 09:35:15 -0600
From: Judi Thomson <jrt128@cs.usask.ca>
Message-Id: <199605101535.JAA10850@skorpio3.usask.ca>
Subject: Re: ODBC.pm users?
To: richardd@cix.compulink.co.uk
Date: Fri, 10 May 1996 09:35:15 -0600 (CST)
Cc: dbi-users@fugue.com
In-Reply-To: <memo.227825@cix.compulink.co.uk> from "Richard Donkin" at May 10, 96 12:36:00 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 824

> 
> Not really a DBI question, but until DBI is ported to NT / ODBC I am using 
> ODBC.pm instead.  Is there anyone out there using ODBC.pm successfully?  I 
> have installed ODBC on NT and can use it via the ODBC Test program, but can't 
> get ODBC.pm to see the installed drivers and data sources - nothing is listed 
> by the test.pl program and it gives a generic error on trying to connect to a 
> data source.  I am using the ODBC SDK 2.10 and its built-in dBase driver.
> 
> Any ideas or FAQ pointers on ODBC setup would help.  Thanks.
> 

I had the same problem with ODBC.pm I have 16 bit ODBC drivers from
Borland's DBD as well as the 32 bit drivers that come with NT.
ODBC.pm will only interact with the 32 bit drivers.  As long as I
define my data source using those drivers it happily connects.

Judi Thomson


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09055-27@oink>;
          Fri, 10 May 1996 17:07:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831743870:25039:3; Fri, 10 May 96 16:57:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24846; 10 May 96 16:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA11073 for dbi-users-real; Fri, 10 May 1996 08:50:36 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA11069 
          for <dbi-users@fugue.com>; Fri, 10 May 1996 08:50:33 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id QAA19085 for dbi-users@fugue.com; Fri, 10 May 1996 16:40:54 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605101540.QAA19085@fruitbat.mcqueen.com>
Subject: DBD::Informix (fwd)
To: dbi-users@fugue.com
Date: Fri, 10 May 1996 16:40:53 +0100 (BST)
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1353

Forwarded message:
From nigel@theplanet.net  Fri May 10 16:30:23 1996
Message-Id: <m0uHuGD-0006XuC@dingo.theplanet.co.uk>
X-Mailer: exmh version 1.6.7 5/3/96
To: descarte@hermetica.com
From: Nigel Metheringham <Nigel.Metheringham@theplanet.net>
Subject: DBD::Informix
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 10 May 1996 16:37:40 +0100
Sender: nigel@theplanet.net

Hi,

We're just looking at getting a copy of Informix.  
I need it to work with Perl.  
The current version of Informix is 7.11/7.12 - is there any reason 
you know of why the DBD interface may break with this slightly later 
version than the 7.01 you tested against?  [ie should I ask for the 
eval version to be shipped as 7.01 rather than their current]

[As ever the sales guy asked what I would be developing in, I said 
perl, he managed to look blank even down a phone line :-) ]

	Nigel.

-- 
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House     Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656       ]



-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: V for Vendetta
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12573-15@oink>;
          Sat, 11 May 1996 15:27:55 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831756595:16645:1; Fri, 10 May 96 20:29:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15723; 10 May 96 20:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA11789 for dbi-users-real; Fri, 10 May 1996 12:18:16 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ganymed.mto.de (root@ganymed.mto.de [194.77.229.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA11782 
          for <dbi-users@fugue.com>; Fri, 10 May 1996 12:17:58 -0700
Received: from 194.77.229.14 (leda.mto.de [194.77.229.14]) 
          by ganymed.mto.de (8.6.12/8.6.12) with SMTP id VAA13120 
          for <dbi-users@fugue.com>; Fri, 10 May 1996 21:21:51 +0200
Message-ID: <31939660.445B@mto.de>
Date: Fri, 10 May 1996 21:17:52 +0200
From: Dirk Theisen <dth@mto.de>
Reply-To: dth@mto.de
Organization: m&t online service
X-Mailer: Mozilla 2.02 (Macintosh; I; PPC)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Empress working?
X-URL: http://www.hermetica.com/technologia/DBI/index.html
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi, Tim!

----------------
DBD::Empress working! ( 31/03/96 ) 

            Our Empress porter-at-work has reported some success with 
interfacing DBI to Empress
            databases. More news as we get it! See also: DBD::Empress. 

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

Waht's on? Where is it?

Dirk, desperately waiting
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17212-0@oink>;
          Sat, 11 May 1996 21:23:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831836011:24223:2; Sat, 11 May 96 18:33:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21311; 11 May 96 18:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA14709 for dbi-users-real; Sat, 11 May 1996 10:18:53 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from macaria.pucp.edu.pe (macaria.pucp.edu.pe [161.132.23.13]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA14705 
          for <dbi-users@fugue.com>; Sat, 11 May 1996 10:18:37 -0700
Received: (jcalder@localhost) by macaria.pucp.edu.pe (8.6.10/8.6.5) id MAA17343;
          Sat, 11 May 1996 12:21:31 -0700
Date: Sat, 11 May 1996 12:21:31 -0700
From: Juan Calderon /NOC-RICPUCP 01/96 <jcalder@pucp.edu.pe>
Message-Id: <199605111921.MAA17343@macaria.pucp.edu.pe >
To: dbi-users@fugue.com
Subject: Problems installin DBD-Oracle-0.29
Cc: Bunce@ig.co.uk
X-Sun-Charset: US-ASCII

	I'm trying to install DBD and hava problems. I've already installed perl5.002, DBI-0.68 and their tests seemed to be OK, but when i try to install DBD the tests fail. Here are the results of perl Makefile.PL, make, make test y make test TEST-VERBOSE=1:

--------------------------------------------------------------------------------
# perl Makefile.PL

Configuring DBD::Oracle ...

	Remember to actually read the README file!

$ORACLE_HOME not defined. Searching for Oracle...
Using Oracle in /home/oracle
Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
Using /home/oracle/proc/lib/proc.mk version 1.17
System: perl5.002 sunos macaria 5.3 generic sun4m sparc  sun4-solaris dl_dlopen.xs
Compiler: gcc -O 
Oracle proc.mk would have used these values but we override them:
  CC:       ld -dy $(COMPOBJS) $(LDSTRING)
  LDFLAGS:  -L$(LIBHOME)
  LDSTRING: -Y P,$(LD_LIBRARY_PATH):/usr/ccs/lib:/usr/lib -Qy -lc $(COMPOBJ)/crtn.o

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.

Writing Makefile for DBD::Oracle
--------------------------------------------------------------------------------
# make
umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
/usr/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
gcc -c -I/home/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
In file included from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/param.h:37,
                 from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:102,
                 from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                 from Oracle.h:14,
                 from Oracle.c:19:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:49: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:50: warning: ANSI C does not support `long long'
In file included from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:108,
                 from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                 from Oracle.h:14,
                 from Oracle.c:19:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:31: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:32: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:146: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:147: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:147: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:148: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:148: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:149: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:150: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:151: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:152: warning: ANSI C does not support `long long'
gcc -c -I/home/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional dbdimp.c
In file included from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/param.h:37,
                 from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:102,
                 from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                 from Oracle.h:14,
                 from dbdimp.c:11:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:49: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:50: warning: ANSI C does not support `long long'
In file included from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:108,
                 from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                 from Oracle.h:14,
                 from dbdimp.c:11:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:31: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:32: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:146: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:147: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:147: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:148: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:148: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:149: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:150: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:151: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:152: warning: ANSI C does not support `long long'
dbdimp.c:126: warning: `dump_error_status' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/lib" gcc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib -L/opt/gnu/lib Oracle.o  dbdimp.o -L/home/oracle/lib /home/oracle/lib/__fstd.o -locic /home/oracle/lib/osntab.o -lsqlnet -lora  -lsqlnet  -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6           -lcore  `cat /home/oracle/rdbms/lib/sysliblist`   -lsocket -lnsl -lm -ldl -laio  
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
Manifying ./blib/man3/DBD::Oraperl.3

--------------------------------------------------------------------------------
#make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found: lxclas: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 20
	DBI::install_driver called at t/base.t line 16
FAILED tests 4-5
	Failed 2/5 tests, 60.00% okay
	Test returned status 2 (wstat 512)
t/main..............ok
Failed 1 test script, 50.00% okay. 2/6 subtests failed, 66.67% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

--------------------------------------------------------------------------------
#  make test TEST_VERBOSE=1 
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found: lxclas: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 20
	DBI::install_driver called at t/base.t line 16
1..5
ok 1
ok 2
ok 3
FAILED tests 4-5
	Failed 2/5 tests, 60.00% okay
	Test returned status 2 (wstat 512)
t/main..............t/main.t 
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
Failed 1 test script, 50.00% okay. 2/6 subtests failed, 66.67% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

--------------------------------------------------------------------------------
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=solaris, osver=2.3, archname=sun4-solaris
    uname='sunos macaria 5.3 generic sun4m sparc '
    hint=recommended, useposix=true 
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.5.6
    cppflags=''
    ccflags =''
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/sun4-solaris .

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

I'm using Oracle 7, the one that comes with OracleWeb Server.
I'm working in a Sun SparcStationLX with SunOS Release 5.3 (solaris 2.3).

The c compiler i've used is gcc 2.5.6.

Please let me know what could be failing and i'll try to correct it.
Thanks.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17212-2@oink>;
          Sat, 11 May 1996 21:23:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831836147:25536:1; Sat, 11 May 96 18:35:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21883; 11 May 96 18:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA14703 for dbi-users-real; Sat, 11 May 1996 10:17:09 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from macaria.pucp.edu.pe (macaria.pucp.edu.pe [161.132.23.13]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA14699 
          for <dbi-users@fugue.com>; Sat, 11 May 1996 10:16:58 -0700
Received: (jcalder@localhost) by macaria.pucp.edu.pe (8.6.10/8.6.5) id MAA17335;
          Sat, 11 May 1996 12:19:32 -0700
Date: Sat, 11 May 1996 12:19:32 -0700
From: Juan Calderon /NOC-RICPUCP 01/96 <jcalder@pucp.edu.pe>
Message-Id: <199605111919.MAA17335@macaria.pucp.edu.pe >
To: dbi-users@fugue.com
Subject: Problems installin DBD-Oracle-0.29
Cc: Bunce@ig.co.uk
X-Sun-Charset: US-ASCII

	I'm trying to install DBD and hava problems. I've already installed perl5.002, DBI-0.68 and their tests seemed to be OK, but when i try to install DBD the tests fail. Here are the results of perl Makefile.PL, make, make test y make test TEST-VERBOSE=1:

--------------------------------------------------------------------------------
# perl Makefile.PL

Configuring DBD::Oracle ...

	Remember to actually read the README file!

$ORACLE_HOME not defined. Searching for Oracle...
Using Oracle in /home/oracle
Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
Using /home/oracle/proc/lib/proc.mk version 1.17
System: perl5.002 sunos macaria 5.3 generic sun4m sparc  sun4-solaris dl_dlopen.xs
Compiler: gcc -O 
Oracle proc.mk would have used these values but we override them:
  CC:       ld -dy $(COMPOBJS) $(LDSTRING)
  LDFLAGS:  -L$(LIBHOME)
  LDSTRING: -Y P,$(LD_LIBRARY_PATH):/usr/ccs/lib:/usr/lib -Qy -lc $(COMPOBJ)/crtn.o

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.

Writing Makefile for DBD::Oracle
--------------------------------------------------------------------------------
# make
umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
/usr/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
gcc -c -I/home/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
In file included from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/param.h:37,
                 from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:102,
                 from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                 from Oracle.h:14,
                 from Oracle.c:19:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:49: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:50: warning: ANSI C does not support `long long'
In file included from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:108,
                 from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                 from Oracle.h:14,
                 from Oracle.c:19:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:31: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:32: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:146: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:147: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:147: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:148: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:148: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:149: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:150: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:151: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:152: warning: ANSI C does not support `long long'
gcc -c -I/home/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional dbdimp.c
In file included from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/param.h:37,
                 from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:102,
                 from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                 from Oracle.h:14,
                 from dbdimp.c:11:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:49: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:50: warning: ANSI C does not support `long long'
In file included from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:108,
                 from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                 from Oracle.h:14,
                 from dbdimp.c:11:
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:31: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:32: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:146: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:147: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:147: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:148: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:148: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:149: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:150: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:151: warning: ANSI C does not support `long long'
/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/stdlib.h:152: warning: ANSI C does not support `long long'
dbdimp.c:126: warning: `dump_error_status' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/lib" gcc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib -L/opt/gnu/lib Oracle.o  dbdimp.o -L/home/oracle/lib /home/oracle/lib/__fstd.o -locic /home/oracle/lib/osntab.o -lsqlnet -lora  -lsqlnet  -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6           -lcore  `cat /home/oracle/rdbms/lib/sysliblist`   -lsocket -lnsl -lm -ldl -laio  
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
Manifying ./blib/man3/DBD::Oraperl.3

--------------------------------------------------------------------------------
#make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found: lxclas: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 20
	DBI::install_driver called at t/base.t line 16
FAILED tests 4-5
	Failed 2/5 tests, 60.00% okay
	Test returned status 2 (wstat 512)
t/main..............ok
Failed 1 test script, 50.00% okay. 2/6 subtests failed, 66.67% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

--------------------------------------------------------------------------------
#  make test TEST_VERBOSE=1 
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found: lxclas: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 20
	DBI::install_driver called at t/base.t line 16
1..5
ok 1
ok 2
ok 3
FAILED tests 4-5
	Failed 2/5 tests, 60.00% okay
	Test returned status 2 (wstat 512)
t/main..............t/main.t 
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
Failed 1 test script, 50.00% okay. 2/6 subtests failed, 66.67% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

--------------------------------------------------------------------------------
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=solaris, osver=2.3, archname=sun4-solaris
    uname='sunos macaria 5.3 generic sun4m sparc '
    hint=recommended, useposix=true 
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.5.6
    cppflags=''
    ccflags =''
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/sun4-solaris .

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

I'm using Oracle 7, the one that comes with OracleWeb Server.
I'm working in a Sun SparcStationLX with SunOS Release 5.3 (solaris 2.3).

The c compiler i've used is gcc 2.5.6.

Please let me know what could be failing and i'll try to correct it.
Thanks.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17212-13@oink>;
          Sat, 11 May 1996 21:24:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831838962:23554:14; Sat, 11 May 96 19:22:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23446; 11 May 96 19:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA14884 for dbi-users-real; Sat, 11 May 1996 11:18:29 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA14880 
          for <dbi-users@fugue.com>; Sat, 11 May 1996 11:18:02 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab15532; 11 May 96 18:43 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa18833; 11 May 96 16:54 +0100
Received: from toad by oink with SMTP (PP) id <16349-0@oink>;
          Sat, 11 May 1996 16:54:32 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA13896;
          Sat, 11 May 1996 16:54:26 +0000
Date: Sat, 11 May 1996 16:54:26 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605111554.AA13896@toad.ig.co.uk>
To: dbi-users@fugue.com, dth@mto.de
Subject: Re: Empress working?
X-Sun-Charset: US-ASCII
content-length: 519
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Dirk Theisen <dth@mto.de>
> 
> Hi, Tim!
> 
> ----------------
> DBD::Empress working! ( 31/03/96 ) 
> 
>             Our Empress porter-at-work has reported some success with 
> interfacing DBI to Empress
>             databases. More news as we get it! See also: DBD::Empress. 
> 
> ----------------
> 
> Waht's on? Where is it?
> 
> Dirk, desperately waiting

Don't ask me. I think that's a message from Alligator Descartes
<descarte@hermetica.com>. Check out http://www.hermetica.com/technologia/DBI.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17615-6@oink>;
          Sat, 11 May 1996 21:56:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831847203:13708:0; Sat, 11 May 96 21:40:03 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa13528; 11 May 96 21:39 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22900; 11 May 96 21:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA15184 for dbi-users-real; Sat, 11 May 1996 13:28:52 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA15180 
          for <dbi-users@fugue.com>; Sat, 11 May 1996 13:28:49 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id VAA29417 for dbi-users@fugue.com; Sat, 11 May 1996 21:21:48 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605112021.VAA29417@fruitbat.mcqueen.com>
Subject: Re: Empress working?
To: dbi-users@fugue.com
Date: Sat, 11 May 1996 21:21:47 +0100 (BST)
In-Reply-To: <9605111554.AA13896@toad.ig.co.uk> from "Tim Bunce" at May 11, 96 04:54:26 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1066


> > DBD::Empress working! ( 31/03/96 ) 
> > 
> >             Our Empress porter-at-work has reported some success with 
> > interfacing DBI to Empress
> >             databases. More news as we get it! See also: DBD::Empress. 
> > 
> > ----------------
> > 
> > Waht's on? Where is it?
> 
> Don't ask me. I think that's a message from Alligator Descartes
> <descarte@hermetica.com>. Check out http://www.hermetica.com/technologia/DBI.

Likewise, don't ask me. I'm not writing the module. Write to the developer
in question.

*passing the buck vigourously*

This, in itself, is a useful exercise. That news was the last I heard on
what was happening. So, can any developers let me know what's what as of just
now so's I can update the pages with appropriate information? The information
I put out on the WWW pages can be no better than that I receive.

Thanks.

> Tim.

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17865-2@oink>;
          Sat, 11 May 1996 22:21:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831849534:07357:3; Sat, 11 May 96 22:18:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06725; 11 May 96 22:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA15303 for dbi-users-real; Sat, 11 May 1996 14:13:52 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA15294 
          for <dbi-users@fugue.com>; Sat, 11 May 1996 14:09:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa15230; 11 May 96 22:01 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa18010; 11 May 96 22:00 +0100
Received: from toad by oink with SMTP (PP) id <17642-0@oink>;
          Sat, 11 May 1996 22:00:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15091;
          Sat, 11 May 1996 22:00:21 +0000
Date: Sat, 11 May 1996 22:00:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605112100.AA15091@toad.ig.co.uk>
To: dbi-users@fugue.com, descarte@hermetica.com
Subject: Re: Empress working?
X-Sun-Charset: US-ASCII
content-length: 735
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > > DBD::Empress working! ( 31/03/96 ) 
> > > 
> > >             Our Empress porter-at-work has reported some success with 
> > > interfacing DBI to Empress
> > >             databases. More news as we get it! See also: DBD::Empress. 
> > > 
> > > Waht's on? Where is it?
> > 
> > Don't ask me. I think that's a message from Alligator Descartes
> > <descarte@hermetica.com>. Check out http://www.hermetica.com/technologia/DBI.
> 
> Likewise, don't ask me. I'm not writing the module. Write to the developer
> in question.

Yes, but who is the developer in question?
(I thought you kept a list of who was working on what.)

> *passing the buck vigourously*

Indeed!

:-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18272-20@oink>;
          Sun, 12 May 1996 01:25:05 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831856392:14949:3; Sun, 12 May 96 00:13:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13738; 12 May 96 0:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA15669 for dbi-users-real; Sat, 11 May 1996 16:07:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA15664 
          for <dbi-users@fugue.com>; Sat, 11 May 1996 16:07:50 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ag04682; 12 May 96 0:05 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa21257; 11 May 96 22:17 +0100
Received: from toad by oink with SMTP (PP) id <17794-0@oink>;
          Sat, 11 May 1996 22:10:26 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15126;
          Sat, 11 May 1996 22:10:19 +0000
Date: Sat, 11 May 1996 22:10:19 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605112110.AA15126@toad.ig.co.uk>
To: dbi-users@fugue.com, jcalder@pucp.edu.pe
Subject: Re: Problems installin DBD-Oracle-0.29
X-Sun-Charset: US-ASCII
content-length: 1730
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> 	I'm trying to install DBD and hava problems. I've already installed perl5.002, DBI-0.68 and their tests seemed to be OK, but when i try to install DBD the tests fail. Here are the results of perl Makefile.PL, make, make test y make test TEST-VERBOSE=1:

> $ORACLE_HOME not defined. Searching for Oracle...
> Using Oracle in /home/oracle

Is that right?

> Using /home/oracle/proc/lib/proc.mk version 1.17

What version of Oracle is it? 7.1, 7.2 or 7.3?

> In file included from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/param.h:37,
>                  from /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h:102,
>                  from /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
>                  from Oracle.h:14,
>                  from Oracle.c:19:
> /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/include/sys/types.h:49: warning: ANSI C does not support `long long'

Note that this warning relates to a file #included from perl.h.
That implies that you would have seen the same warning when you built perl.
Did you? If not what has changed? (New compiler version? etc).

> t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found: lxclas: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so

That looks like a problem reading your proc.mk file.

> I'm using Oracle 7, the one that comes with OracleWeb Server.
> I'm working in a Sun SparcStationLX with SunOS Release 5.3 (solaris 2.3).
> 
> The c compiler i've used is gcc 2.5.6.

I strongly recommend you upgrade.

In fact I'd say that I'm certain you need to upgrade. Go for GCC 2.6.3 or 2.7.2.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18272-24@oink>;
          Sun, 12 May 1996 01:25:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831857184:22548:2; Sun, 12 May 96 00:26:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21912; 12 May 96 0:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA15702 for dbi-users-real; Sat, 11 May 1996 16:23:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA15698 
          for <dbi-users@fugue.com>; Sat, 11 May 1996 16:23:42 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id AAA00175 for dbi-users@fugue.com; Sun, 12 May 1996 00:16:37 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605112316.AAA00175@fruitbat.mcqueen.com>
Subject: Re: Empress working?
To: dbi-users@fugue.com
Date: Sun, 12 May 1996 00:16:36 +0100 (BST)
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 591


> > Likewise, don't ask me. I'm not writing the module. Write to the developer
> > in question.
> 
> Yes, but who is the developer in question?
> (I thought you kept a list of who was working on what.)

I do. It's on the driver page.

	http://www.hermetica.com/technologia/DBI/DBD/index.html

	http://www.hermetica.com/technologia/DBI/DBD/index.html#Empress

for Empress specifically.

> Tim.

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21023-46@oink>;
          Sun, 12 May 1996 22:34:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 831914794:27896:3; Sun, 12 May 96 16:26:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27439; 12 May 96 16:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA16616 for dbi-users-real; Sun, 12 May 1996 08:17:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tom.compulink.co.uk (tom.compulink.co.uk [194.153.0.51]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA16612 
          for <dbi-users@fugue.com>; Sun, 12 May 1996 08:17:48 -0700
Received: (from root@localhost) by tom.compulink.co.uk (8.6.9/8.6.9) 
          id QAA03857 for dbi-users@fugue.com; Sun, 12 May 1996 16:17:09 +0100
Date: Sun, 12 May 96 15:54 BST-1
From: richardd@cix.compulink.co.uk (Richard Donkin)
Subject: Re: ODBC.pm users?
To: dbi-users@fugue.com
Cc: richardd@cix.compulink.co.uk
Reply-To: richardd@cix.compulink.co.uk
Message-Id: <memo.277658@cix.compulink.co.uk>

In-Reply-To: <199605101535.JAA10850@skorpio3.usask.ca>
> > [ODBC.pm not finding any data sources or drivers]
> 
> I had the same problem with ODBC.pm I have 16 bit ODBC drivers from
> Borland's DBD as well as the 32 bit drivers that come with NT.
> ODBC.pm will only interact with the 32 bit drivers.  As long as I
> define my data source using those drivers it happily connects.
> 
> Judi Thomson

Thanks, this was the problem, and things are now working fine.  Worth noting 
since the error messages are not very helpful.

Richard
--
richardd@cix.compulink.co.uk | PGP key: pgp-public-keys@keys.pgp.net
Inside Edge Consultancy Ltd  | Web: http://www.inside-edge.co.uk/

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01581-36@oink>;
          Tue, 14 May 1996 07:14:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832045171:03663:2; Tue, 14 May 96 04:39:31 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa03545; 14 May 96 4:38 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa26408; 14 May 96 4:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA20805 for dbi-users-real; Mon, 13 May 1996 17:14:35 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from skyserv1.med.osd.mil (skyserv1.med.osd.mil [192.206.242.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id RAA20801 
          for <dbi-users@fugue.com>; Mon, 13 May 1996 17:14:32 -0700
Received: from ae1556.med.osd.mil by skyserv1.med.osd.mil 
          with SMTP (5.65/1.2-eef) id AA03349; Mon, 13 May 96 20:14:28 -0400
Message-Id: <3197984F.1993@skyserv1.med.osd.mil>
Date: Mon, 13 May 1996 20:15:11 +0000
From: Patrick Hollins <phollins@skyserv1.med.osd.mil>
Reply-To: phollins@skyserv1.med.osd.mil
Organization: EDS - D/SIDDOMS
X-Mailer: Mozilla 3.0b3 (WinNT; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD for Microsoft?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Which DBD is best suited for use with Microsoft SQL Server 6.5, or should 
I look elsewhere if I am to use CGI programs to connect to MS SQL 
servers?

I would also like to read related FAQs (beyond hermetica.com content).

Thanks to all who created/worked on DBI and DBD's !  Works great w/ mSQL.

Patrick
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03806-1@oink>;
          Tue, 14 May 1996 09:09:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832061245:03775:5; Tue, 14 May 96 09:07:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03319; 14 May 96 9:06 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA21568 for dbi-users-real; Tue, 14 May 1996 00:59:53 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tfs.com (tfs.com [140.145.250.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id AAA21564 
          for <dbi-users@fugue.com>; Tue, 14 May 1996 00:59:52 -0700
Original-Received: from ariel 
                   by tfs.com (smail3.1.28.1) with SMTP
PP-warning: Illegal Received field on preceding line
From: msteed@tfs.com (Martin Steed)
Original-Received: by ariel (smail3.1.28.1)
PP-warning: Illegal Received field on preceding line
Message-Id: <m0uJEzx-000146C@ariel>
Subject: Odd ora_lengths() return values
To: dbi-users@fugue.com
Date: Tue, 14 May 1996 08:58:25 +0100 (BST)
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
Content-Length: 643

Hello there,

We are seeing something odd with Perl5 and Oracle.

The function ora_lengths always returns a 0 as the length of the first field in
the database.

Has anyone seen this before?

We are using DBI-0.68, DBD-0.23 Oracle7, Perl5, this is under HPUX.

Has this been fixed in a later version of the programs? (Since using HPUX I
have to link statically, and don't have the available time to build and test on
a supposition).

Thanks,
	Martin
-- 
Martin N. Steed							<msteed@tfs.com>

Things that never happen in StarTrek, number 1

The Enterprise runs into a mysterious energy field of a type it has encountered
several times before.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04199-4@oink>;
          Tue, 14 May 1996 10:08:46 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832063922:22312:1; Tue, 14 May 96 09:52:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa21617; 14 May 96 9:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA21642 for dbi-users-real; Tue, 14 May 1996 01:46:40 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id BAA21638 
          for <dbi-users@fugue.com>; Tue, 14 May 1996 01:46:32 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac10635; 14 May 96 8:26 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa07592; 14 May 96 9:09 +0100
Received: from toad by oink with SMTP (PP) id <03805-0@oink>;
          Tue, 14 May 1996 09:09:02 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28853;
          Tue, 14 May 1996 09:08:49 +0000
Date: Tue, 14 May 1996 09:08:49 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605140808.AA28853@toad.ig.co.uk>
To: dbi-users@fugue.com, phollins@skyserv1.med.osd.mil
Subject: Re: DBD for Microsoft?
X-Sun-Charset: US-ASCII
content-length: 319
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Patrick Hollins <phollins@skyserv1.med.osd.mil>
> 
> Which DBD is best suited for use with Microsoft SQL Server 6.5, or should 
> I look elsewhere if I am to use CGI programs to connect to MS SQL 
> servers?

Elsewhere. Try the Sybase modules from Michael Peppler <mpeppler@bix.com>
(available on CPAN).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04920-6@oink>;
          Tue, 14 May 1996 11:52:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832069092:17355:4; Tue, 14 May 96 11:18:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17169; 14 May 96 11:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA21734 for dbi-users-real; Tue, 14 May 1996 03:12:46 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id DAA21730 
          for <dbi-users@fugue.com>; Tue, 14 May 1996 03:12:44 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ae10270; 14 May 96 10:12 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa25151; 14 May 96 10:08 +0100
Received: from toad by oink with SMTP (PP) id <04089-0@oink>;
          Tue, 14 May 1996 09:20:59 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29017;
          Tue, 14 May 1996 09:20:52 +0000
Date: Tue, 14 May 1996 09:20:52 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605140820.AA29017@toad.ig.co.uk>
To: dbi-users@fugue.com, msteed@tfs.com
Subject: Re: Odd ora_lengths() return values
X-Sun-Charset: US-ASCII
content-length: 703
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: msteed@tfs.com (Martin Steed)
> 
> The function ora_lengths always returns a 0 as the length of the first field in
> the database.
> 
> Has anyone seen this before?

When you run 'make test' you should see this:

Fields:  4
Names:   'NUM_T',	'DATE_T',	'CHAR_T',	'NULL_T'
Lengths: '40',	'75',	'30',	'0'
Types:   '2',	'12',	'1',	'1'

> We are using DBI-0.68, DBD-0.23 Oracle7, Perl5, this is under HPUX.
> 
> Has this been fixed in a later version of the programs? (Since using HPUX I
> have to link statically, and don't have the available time to build and test on
> a supposition).

DBD-Oracle is now upto 0.30. Upgrade. I don't have the available time to
support old versions

:-)  1/2

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09892-7@oink>;
          Wed, 15 May 1996 07:06:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832095847:28954:1; Tue, 14 May 96 18:44:07 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa28833; 14 May 96 18:43 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa23492; 14 May 96 18:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA22387 for dbi-users-real; Tue, 14 May 1996 10:30:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA22383 
          for <dbi-users@fugue.com>; Tue, 14 May 1996 10:30:27 -0700
Received: from localhost (pixel@localhost) 
          by rhino.coe.missouri.edu (8.7.3/8.7.3) with SMTP id MAA15295 
          for <dbi-users@fugue.com>; Tue, 14 May 1996 12:30:05 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Tue, 14 May 1996 12:30:05 -0500 (CDT)
From: James Cooper <pixel@tiger.coe.missouri.edu>
To: dbi-users@fugue.com
Subject: Java -> DBI gateway concept
Message-ID: <Pine.SGI.3.93.960514122323.14829E-100000@rhino.coe.missouri.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hey everyone,

I've been using DBI for about two months, and I think it's great.
However, I want to write some Java applets that talk to Oracle.  Correct
me if I'm wrong, but I don't think Oracle has released Java classes that
comply with the JDBC spec.

Tell me if this is a dumb idea:

DBI already has support for a bunch of databases.  Lots of folks know how
to use it.  what if we wrote a small gateway in perl that sat on a socket
and accepted connections from java applets.  I'm not sure how the Java API
to the gateway would look, but presumably it would allow the applet to:

	o connect to any DBI::DBD database
	o pass SQL queries to the database (via $dbh->do())
	o pass SQL SELECTs to the database (with the results returned in a
               preformatted structure rather than a cursor to keep things
               simple..)

Given that the JDBC is probably only a few months away this may not be a
great idea, but I'm not totally sure of the JDBC classes will be freely
available.  If they aren't, then this might be something worth putting
together.

Thanks

-- James

.........................................................................
                        James Paul Cooper * Pixel
                         MU College of Education
       pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
.........................................................................

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09891-17@oink>;
          Wed, 15 May 1996 07:08:54 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832125678:17847:2; Wed, 15 May 96 03:01:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15963; 15 May 96 3:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA23203 for dbi-users-real; Tue, 14 May 1996 14:50:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA23199 
          for <dbi-users@fugue.com>; Tue, 14 May 1996 14:50:28 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id WAA08042; Tue, 14 May 1996 22:43:18 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605142143.WAA08042@fruitbat.mcqueen.com>
Subject: Re: Java -> DBI gateway concept
To: pixel@tiger.coe.missouri.edu (James Cooper)
Date: Tue, 14 May 1996 22:43:17 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <Pine.SGI.3.93.960514122323.14829E-100000@rhino.coe.missouri.edu> from "James Cooper" at May 14, 96 12:30:05 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1553


> I've been using DBI for about two months, and I think it's great.
> However, I want to write some Java applets that talk to Oracle.  Correct
> me if I'm wrong, but I don't think Oracle has released Java classes that
> comply with the JDBC spec.
> 
> Tell me if this is a dumb idea:
> 
> DBI already has support for a bunch of databases.  Lots of folks know how
> to use it.  what if we wrote a small gateway in perl that sat on a socket
> and accepted connections from java applets.  I'm not sure how the Java API
> to the gateway would look, but presumably it would allow the applet to:
> 
> 	o connect to any DBI::DBD database
> 	o pass SQL queries to the database (via $dbh->do())
> 	o pass SQL SELECTs to the database (with the results returned in a
>                preformatted structure rather than a cursor to keep things
>                simple..)
> 
> Given that the JDBC is probably only a few months away this may not be a
> great idea, but I'm not totally sure of the JDBC classes will be freely
> available.  If they aren't, then this might be something worth putting
> together.

This sounds quite close ( to my hears ) to the DBI proxy driver Tim was
muttering about quite some time ago.........

Is anyone game to spec this? If not, I'll take the pumpkin on it, if we have
a consensus it may be a useful addition...........

> -- James

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09892-43@oink>;
          Wed, 15 May 1996 07:14:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832126194:01190:0; Wed, 15 May 96 03:09:54 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa00987; 15 May 96 3:08 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa19040; 15 May 96 3:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA23436 for dbi-users-real; Tue, 14 May 1996 16:03:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA23432 
          for <dbi-users@fugue.com>; Tue, 14 May 1996 16:03:03 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA08424; Tue, 14 May 1996 23:55:49 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605142255.XAA08424@fruitbat.mcqueen.com>
Subject: Re: Java -> DBI gateway concept
To: James Cooper <pixel@tiger.coe.missouri.edu>
Date: Tue, 14 May 1996 23:55:47 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <Pine.SGI.3.93.960514174410.15327D-100000@rhino.coe.missouri.edu> from "James Cooper" at May 14, 96 05:44:37 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1258


> > This sounds quite close ( to my hears ) to the DBI proxy driver Tim was
> > muttering about quite some time ago.........
> > 
> > Is anyone game to spec this? If not, I'll take the pumpkin on it, if we have
> > a consensus it may be a useful addition...........
> 
> What else would this proxy driver encompass?  out of curiosity

Well, I'd code it as a server that listens for TCP/IP requests which has
it's own protocol that's fairly dumb. That means this 'proxy' server can
service anything that talks to it, eg,

	LIST DRIVERS
	<- mSQL
	<- Oracle
	<- Informix
	<- Sybase
	# Some cooky this server! 8-)
	USE mSQL
	<- Return code implying success or failure
	SHOW HANDLES
	<- Possible databases to connect to?
	CONNECT <handle_name>
	<- Return code
	DISCONNECT <handle_name>
	<- Return code
	QUIT

Actually, this is what I'd class as a GoodThing(TM), and, if agreed that this
is a GT(TM), I'll go ahead and work out some sort of spec?

Yes? No? Tim?

Personally speaking, for the environment I work in, this'd be completely
useful...........

> -- James

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16938-0@oink>;
          Wed, 15 May 1996 16:27:39 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832161307:18647:3; Wed, 15 May 96 12:55:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa18023; 15 May 96 12:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA25251 for dbi-users-real; Wed, 15 May 1996 04:38:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA25246 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 04:38:27 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa04789; 15 May 96 12:34 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab00946; 15 May 96 12:33 +0100
Received: from toad by oink with SMTP (PP) id <11098-0@oink>;
          Wed, 15 May 1996 11:39:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA03025;
          Wed, 15 May 1996 11:39:44 +0000
Date: Wed, 15 May 1996 11:39:44 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605151039.AA03025@toad.ig.co.uk>
To: pixel@tiger.coe.missouri.edu, descarte@hermetica.com
Subject: Re: Java -> DBI gateway concept
Cc: dbi-users@fugue.com, perl5-porters@nicoh.com
X-Sun-Charset: US-ASCII
content-length: 1847
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > > This sounds quite close ( to my hears ) to the DBI proxy driver Tim was
> > > muttering about quite some time ago.........
> > > 
> > > Is anyone game to spec this? If not, I'll take the pumpkin on it, if we have
> > > a consensus it may be a useful addition...........
> > 
> > What else would this proxy driver encompass?  out of curiosity
> 
> Well, I'd code it as a server that listens for TCP/IP requests which has
> it's own protocol that's fairly dumb. That means this 'proxy' server can
> service anything that talks to it, eg,
> 
> 	LIST DRIVERS
> 	<- mSQL
> 	<- Oracle
> 	<- Informix
> 	<- Sybase
> 	# Some cooky this server! 8-)
> 	USE mSQL
> 	<- Return code implying success or failure
> 	SHOW HANDLES
> 	<- Possible databases to connect to?
> 	CONNECT <handle_name>
> 	<- Return code
> 	DISCONNECT <handle_name>
> 	<- Return code
> 	QUIT
> 
> Actually, this is what I'd class as a GoodThing(TM), and, if agreed that this
> is a GT(TM), I'll go ahead and work out some sort of spec?
> 
> Yes? No? Tim?
> 
> Personally speaking, for the environment I work in, this'd be completely
> useful...........

Yes, but perferably not like that.

If we ignore JDBC for now, it should be possible to implement a Proxy
object class where any method call and it arguments are intercepted
(via AUTOLOAD) and 'marshalled' (via FreezeThaw, Data::Dumper or a
similar module) into a string, sent across a comms link, unpacked
and reinvoked on the remote side. No DBI specifics. Truly generic.

Take a look at Malcolm's Proxy module:

Proxy          adpO  Transport-independent remote processing      MICB

it's rather old now but it'll be a start. I'vve CC'd this to perl5-porters
for comments (and in the hope that someone who has gone further down
this road can offer some advise).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16941-4@oink>;
          Wed, 15 May 1996 16:28:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832161451:26781:1; Wed, 15 May 96 12:57:31 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa26575; 15 May 96 12:56 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa06543; 15 May 96 12:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA25272 for dbi-users-real; Wed, 15 May 1996 04:50:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA25268 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 04:50:20 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab04630; 15 May 96 12:33 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa00946; 15 May 96 12:33 +0100
Received: from toad by oink with SMTP (PP) id <11015-0@oink>;
          Wed, 15 May 1996 11:20:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02905;
          Wed, 15 May 1996 11:20:46 +0000
Date: Wed, 15 May 1996 11:20:46 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605151020.AA02905@toad.ig.co.uk>
To: pixel@tiger.coe.missouri.edu, descarte@hermetica.com
Subject: Re: Java -> DBI gateway concept
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1684
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > I've been using DBI for about two months, and I think it's great.
> > However, I want to write some Java applets that talk to Oracle.  Correct
> > me if I'm wrong, but I don't think Oracle has released Java classes that
> > comply with the JDBC spec.
> > 
> > Tell me if this is a dumb idea:
> > 
> > DBI already has support for a bunch of databases.  Lots of folks know how
> > to use it.  what if we wrote a small gateway in perl that sat on a socket
> > and accepted connections from java applets.  I'm not sure how the Java API
> > to the gateway would look, but presumably it would allow the applet to:
> > 
> > 	o connect to any DBI::DBD database
> > 	o pass SQL queries to the database (via $dbh->do())
> > 	o pass SQL SELECTs to the database (with the results returned in a
> >                preformatted structure rather than a cursor to keep things
> >                simple..)
> > 
> > Given that the JDBC is probably only a few months away this may not be a
> > great idea, but I'm not totally sure of the JDBC classes will be freely
> > available.  If they aren't, then this might be something worth putting
> > together.
> 
> This sounds quite close ( to my hears ) to the DBI proxy driver Tim was
> muttering about quite some time ago.........
> 
> Is anyone game to spec this? If not, I'll take the pumpkin on it, if we have
> a consensus it may be a useful addition...........

A general proxy would be very useful. We would need to define an
on-the-wire protocol for it. If there is an on-the-wire spec for JDBC
then we might as well try to kill two birds with one stone (if possible).

Go for it.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16941-6@oink>;
          Wed, 15 May 1996 16:28:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832161597:28247:1; Wed, 15 May 96 12:59:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26039; 15 May 96 12:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA25290 for dbi-users-real; Wed, 15 May 1996 04:53:23 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA25286 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 04:53:17 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab04630; 15 May 96 12:33 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa00946; 15 May 96 12:33 +0100
Received: from toad by oink with SMTP (PP) id <11015-0@oink>;
          Wed, 15 May 1996 11:20:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02905;
          Wed, 15 May 1996 11:20:46 +0000
Date: Wed, 15 May 1996 11:20:46 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605151020.AA02905@toad.ig.co.uk>
To: pixel@tiger.coe.missouri.edu, descarte@hermetica.com
Subject: Re: Java -> DBI gateway concept
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1684
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > I've been using DBI for about two months, and I think it's great.
> > However, I want to write some Java applets that talk to Oracle.  Correct
> > me if I'm wrong, but I don't think Oracle has released Java classes that
> > comply with the JDBC spec.
> > 
> > Tell me if this is a dumb idea:
> > 
> > DBI already has support for a bunch of databases.  Lots of folks know how
> > to use it.  what if we wrote a small gateway in perl that sat on a socket
> > and accepted connections from java applets.  I'm not sure how the Java API
> > to the gateway would look, but presumably it would allow the applet to:
> > 
> > 	o connect to any DBI::DBD database
> > 	o pass SQL queries to the database (via $dbh->do())
> > 	o pass SQL SELECTs to the database (with the results returned in a
> >                preformatted structure rather than a cursor to keep things
> >                simple..)
> > 
> > Given that the JDBC is probably only a few months away this may not be a
> > great idea, but I'm not totally sure of the JDBC classes will be freely
> > available.  If they aren't, then this might be something worth putting
> > together.
> 
> This sounds quite close ( to my hears ) to the DBI proxy driver Tim was
> muttering about quite some time ago.........
> 
> Is anyone game to spec this? If not, I'll take the pumpkin on it, if we have
> a consensus it may be a useful addition...........

A general proxy would be very useful. We would need to define an
on-the-wire protocol for it. If there is an on-the-wire spec for JDBC
then we might as well try to kill two birds with one stone (if possible).

Go for it.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17953-0@oink>;
          Wed, 15 May 1996 17:01:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832175241:10692:1; Wed, 15 May 96 16:47:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08936; 15 May 96 16:45 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA26036 for dbi-users-real; Wed, 15 May 1996 08:35:10 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bsfiles.nerc-bas.ac.uk (bsfiles.nerc-bas.ac.uk [192.171.137.25]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA26032 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 08:34:59 -0700
Received: from bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk 
          by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id QAA28243;
          Wed, 15 May 1996 16:34:39 +0100
Date: Wed, 15 May 1996 16:34:38 +0100
Message-Id: <18025.199605151534@bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk>
From: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
To: ou79138@deere.com
CC: dbi-users@fugue.com
In-reply-to: <319A0FFE.57B@deere.com> (ou79138@deere.com)
Subject: Re: How to Unpack/uncompress DBI, DBD?
Reply-to: agw@mail.nerc-bas.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII


    > Tim: We downloaded DBI and DBD/Oracle from your server.  We now
    > have these files:
    > w-r----- 1 oracle oracle 43443 May 15 09:19 dbd-oracle.tar.gz
    > -rw-r----- 1 oracle oracle 35017 May 15 09:11 dbi-0_69.tar.gz

    > We tried uncompress and it didn't work.

    > Can you help? Are these the right file sizes?

Any file with an extension of .gz is ususlly GZIPed .... see your
local GNU archive for gunzip.

    > We understand that these are C sources that we need to compile
    > and then somehow add to Perl 5. Is this correct.

Sort of .... gunzip the file and RTFM.

Andy.

+--------------------------------------------+
|   Dr Andy Wood, Database Administrator     |
|   British  Antarctic  Survey               |
|   High Cross, Madingley Road            +----------------------------------+
|   Cambridge,   CB3 0ET,   UK            |    A.Wood@bas.ac.uk              |
|      +44 (0) 1223 361188                |    agw@mail.nerc-bas.ac.uk       |
+-----------------------------------------|    A.G.Wood@bcs.org.uk           |
                                          +----------------------------------+
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19896-12@oink>;
          Thu, 16 May 1996 07:09:22 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832186297:01127:1; Wed, 15 May 96 19:51:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28020; 15 May 96 19:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA27092 for dbi-users-real; Wed, 15 May 1996 11:38:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from colossus.cse.psu.edu (root@colossus.cse.psu.edu [130.203.1.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA27088 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 11:38:56 -0700
Received: from localhost by colossus.cse.psu.edu with SMTP id <78402>;
          Wed, 15 May 1996 14:38:42 -0400
X-Mailer: exmh version 1.6.5 12/11/95
X-uri: <URL:http://www.cse.psu.edu/~groenvel/>
X-work-address: Manufacturing Technology - Systems Development Group PO Box 30 
                The Applied Research Lab State College, PA 16804
X-work-phone: +1 814 863 9896 (Voice) +1 814 863 1183 (Fax)
To: "Dr. Richard G. Ramirez" <ou79138@deere.com>
cc: dbi-users@fugue.com
Subject: Re: How to Unpack/uncompress DBI, DBD?
In-reply-to: Your message of "Wed, 15 May 1996 13:10:22 EDT." <319A0FFE.57B@deere.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 15 May 1996 14:37:10 -0400
From: John D Groenveld <groenvel@cse.psu.edu>
Message-Id: <96May15.143842edt.78402@colossus.cse.psu.edu>

You need gzip uncompress these files. gzip is available from your favorite GNU 
archive or prep.ai.mit.edu.
John

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19897-24@oink>;
          Thu, 16 May 1996 07:11:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832187101:14126:0; Wed, 15 May 96 20:05:01 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa13573; 15 May 96 20:04 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa10790; 15 May 96 20:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA27286 for dbi-users-real; Wed, 15 May 1996 11:54:17 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from csie.ntu.edu.tw (root@cslab.csie.ntu.edu.tw [140.112.30.25]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA27282 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 11:54:11 -0700
From: vivian@csie.ntu.edu.tw
Received: from ntucsl.csie.ntu.edu.tw (ntucsl.csie.ntu.edu.tw [140.112.30.40]) 
          by csie.ntu.edu.tw (8.6.11/8.6.11) with SMTP id AAA24197 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 00:09:43 +0800
Message-Id: <199605151609.AAA24197@csie.ntu.edu.tw>
Subject: no subject (file transmission)
To: dbi-users@fugue.com
Date: Thu, 16 May 1996 00:10:36 +0800 (CST)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 5847

 
  
 
I have some trouble when I installed the DBD-mSQL-0.60pl10.
So I posted this message here.
 
 
Here is the log of perl Makefile.PL

==================================================================
 
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
Can't open perl script "Makefile.PL": No such file or directory
bee# cd DBD-mSQL-0.60pl10               
bee# perl Makefile.PL
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.

Configuring DBD::mSQL version 0.60pl10...
Remember to actually read the README file!

And YES, I REALLY MEAN READ IT!

Hints, tips, ramblings at:

                http://www.hermetica.com/technologia/DBI

$MSQL_HOME not defined. Searching for mSQL...
Using mSQL in /usr/local/Minerva
mSQL sysliblist: -L/usr/local/Minerva/lib -lmsql -lm
-> Is this installation a root install or non-root? [root/notroot]
You say you're a root install....
Using port: 1112 as default
System: perl5.002 sunos bee 4.1.3_u1 1 sun4c  sun4-sunos dl_dlopen.xs
Compiler: cc -O -I/usr/local/include

Running '/bin/perl /usr/local/lib/perl5/ExtUtils/xsubpp temp000 2>&1' exits with status 2 at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 1428.
Writing Makefile for DBD::mSQL
               
========================================================================
I use Perl 5.002 , msql msql-1.0.14
But after executed perl Makefile.PL        
I encountered some trouble when I tried to make them

Here is the result after make
 
bee# make
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
 

cc -c -I/usr/local/Minerva/include -I/usr/local/lib/perl5/sun4-sunos/5.002/DBI -I/usr/local/lib/perl5/site_perl/sun4-sunos/DBI -I/usr/local/include -O -DVERSION=\"0.60pl10\" -DXS_VERSION=\"0.60pl10\" -pic -I/usr/local/lib/perl5/sun4-sunos/5.002/CORE  dbdimp.c
"./dbdimp.h", line 94: syntax error at or near variable name "signed"
"./dbdimp.h", line 104: syntax error at or near variable name "signed"
"./dbdimp.h", line 130: syntax error at or near variable name "signed"
"dbdimp.c", line 32: syntax error at or near variable name "signed"
"dbdimp.c", line 46: cbuf undefined
"dbdimp.c", line 46: nullok undefined
"dbdimp.c", line 48: dbtype undefined
"dbdimp.c", line 48: dbsize undefined
"dbdimp.c", line 48: dsize undefined
"dbdimp.c", line 48: prec undefined
"dbdimp.c", line 48: scale undefined
"dbdimp.c", line 50: ftype undefined
"dbdimp.c", line 50: indp undefined
"dbdimp.c", line 50: bufl undefined
"dbdimp.c", line 50: rlen undefined
"dbdimp.c", line 50: rcode undefined
"dbdimp.c", line 380: ftype undefined
"dbdimp.c", line 485: signed undefined
"dbdimp.c", line 485: syntax error at or near type word "char"
"dbdimp.c", line 502: t_cbufl undefined
"dbdimp.c", line 511: field_info_loop undefined
"dbdimp.c", line 512: curField undefined
"dbdimp.c", line 517: f_cbufl undefined
"dbdimp.c", line 521: length undefined
"dbdimp.c", line 550: length undefined
"dbdimp.c", line 561: cbuf_ptr undefined
"dbdimp.c", line 561: syntax error at or near type word "char"
"dbdimp.c", line 563: cur undefined
"dbdimp.c", line 568: i undefined
"dbdimp.c", line 571: cbuf undefined
"dbdimp.c", line 572: cbufl undefined
"dbdimp.c", line 572: fatal error: too many errors
*** Error code 1
make: Fatal error: Command failed for target `dbdimp.o'

==========================================================================
Here is my output of perl -e 'use Config; print Config::myconfig()'
 

bee# perl -e 'use Config; print Config::myconfig()'
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "iso_8859_1", LANG = "(null)",
warning: falling back to the "C" locale.
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=sunos, osver=4.1.3_u1, archname=sun4-sunos
    uname='sunos bee 4.1.3_u1 1 sun4c '
    hint=previous, useposix=true 
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=true
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=31
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ucblib
    libs=-lnsl -ldbm -ldl -lm -lc -lposix
    libc=/lib/libc.so.101.7, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-pic', lddlflags='-assert nodefinitions -L/usr/local/lib'

==========================================================================
Thanks for your help !

Ying-Chau 
Huang
National Taiwan University
Institution for Information Industry

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19985-6@oink>;
          Thu, 16 May 1996 07:13:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832190003:16385:1; Wed, 15 May 96 20:53:23 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16175; 15 May 96 20:53 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa17017; 15 May 96 20:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA25934 for dbi-users-real; Wed, 15 May 1996 08:14:52 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay6.UU.NET (relay6.UU.NET [192.48.96.16]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA25930 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 08:14:50 -0700
Received: from gateway.deere.com by relay6.UU.NET 
          with SMTP (peer crosschecked as: gateway.deere.com [192.43.69.34]) 
          id QQapuy12286; Wed, 15 May 1996 11:14:43 -0400 (EDT)
Received: by gateway.deere.com; id KAA16930; Wed, 15 May 1996 10:14:43 -0500
Received: from deere.com(192.43.1.3) by gateway.deere.com via smap (g3.0.1) 
          id xma015457; Wed, 15 May 96 10:10:26 -0500
Received: from ou79138 ([204.53.32.66]) by deere.dx.deere.com (4.1/SMI-4.0) 
          id AA15348; Wed, 15 May 96 10:10:24 CDT
Message-Id: <319A0FFE.57B@deere.com>
Date: Wed, 15 May 1996 10:10:22 -0700
From: "Dr. Richard G. Ramirez" <ou79138@deere.com>
Organization: Data Admin, JDC
X-Mailer: Mozilla 2.0 (Win16; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: How to Unpack/uncompress DBI, DBD?
X-Url: http://www.hermetica.com/technologia/DBI/DBI/index.html
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim:

We downloaded DBI and DBD/Oracle from your server.
We now have these files:
w-r-----   1 oracle   oracle     43443 May 15 09:19 dbd-oracle.tar.gz
-rw-r-----   1 oracle   oracle     35017 May 15 09:11 dbi-0_69.tar.gz

We tried uncompress and it didn't work.

Can you help? Are these the right file sizes?

We understand that these are C sources that we need to compile
and then somehow add to Perl 5. Is this correct.

We are using Oracle 7 on AIX.

Thanks in advance,

Richard
------------------
Richard G. Ramirez
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19897-35@oink>;
          Thu, 16 May 1996 07:14:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832199315:01119:0; Wed, 15 May 96 23:28:35 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa00852; 15 May 96 23:27 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa10579; 15 May 96 23:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA28579 for dbi-users-real; Wed, 15 May 1996 15:18:28 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from xmission.xmission.com (shea@xmission.xmission.com [198.60.22.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA28575 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 15:18:26 -0700
Received: (from shea@localhost) by xmission.xmission.com (8.7.5/8.7.5) 
          id QAA02482 for dbi-users@fugue.com;
          Wed, 15 May 1996 16:17:59 -0600 (MDT)
Date: Wed, 15 May 1996 16:17:59 -0600 (MDT)
From: Gary Shea <shea@xmission.com>
Message-Id: <199605152217.QAA02482@xmission.xmission.com>
To: dbi-users@fugue.com
Subject: Sybase/Oracle DBD in production use?

According to the web pages the Sybase DBD is not ready for
any kind of use -- is that true?

Is anyone on this list using the Oracle DBD in a production
environment?

I'm wanting to use Sybase or Oracle in a CGI environment,
replacing mSQL.  I don't want to sacrifice all my nice Perl5
code to use oraperl or sybperl.

Comments or suggestions welcomed.

	Gary

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19896-38@oink>;
          Thu, 16 May 1996 07:15:24 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832217575:28594:1; Thu, 16 May 96 04:32:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28236; 16 May 96 4:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA29101 for dbi-users-real; Wed, 15 May 1996 17:42:04 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA29097 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 17:42:01 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id BAA27173; Thu, 16 May 1996 01:34:47 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605160034.BAA27173@fruitbat.mcqueen.com>
Subject: Re: Sybase/Oracle DBD in production use?
To: shea@xmission.com (Gary Shea)
Date: Thu, 16 May 1996 01:34:45 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199605152217.QAA02482@xmission.xmission.com> from "Gary Shea" at May 15, 96 04:17:59 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 602


> According to the web pages the Sybase DBD is not ready for
> any kind of use -- is that true?
> 
> Is anyone on this list using the Oracle DBD in a production
> environment?

Yes, I run around 4 different systems using DBI/DBD::Oracle *not* under
Oraperl emulation. These range from complex Tk database monitoring programs,
TCP/IP/ database communications layers and CGI stuff on WWW servers.

> 	Gary

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19897-40@oink>;
          Thu, 16 May 1996 07:15:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832202519:03964:1; Thu, 16 May 96 00:21:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03769; 16 May 96 0:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA28791 for dbi-users-real; Wed, 15 May 1996 16:18:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vivid.vivid.com (vivid.vivid.com [205.163.51.81]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA28787 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 16:18:37 -0700
Received: from [205.163.51.232] (greedo.vivid.com [205.163.51.232]) 
          by vivid.vivid.com (8.7.5/8.7.3) with SMTP id QAA24399;
          Wed, 15 May 1996 16:17:47 -0700 (PDT)
Date: Wed, 15 May 1996 16:17:47 -0700 (PDT)
X-Sender: jake@vivid.vivid.com
Message-Id: <adbfb38f050210040dc7@[205.163.51.232]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Gary Shea <shea@xmission.com>
From: jake@vivid.com (Jake in Cognito)
Subject: Re: Sybase/Oracle DBD in production use?
Cc: dbi-users@fugue.com

At 10:17 PM 5/15/96, Gary Shea wrote:
>Is anyone on this list using the Oracle DBD in a production
>environment?

Yes, with the Oraperl emulation layer. It works like a champ.

Jake


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20100-0@oink>;
          Thu, 16 May 1996 07:21:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832227442:11426:1; Thu, 16 May 96 07:17:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09742; 16 May 96 7:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA00375 for dbi-users-real; Wed, 15 May 1996 23:07:08 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA00371 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 23:06:59 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab17546; 16 May 96 7:06 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa00826; 16 May 96 7:06 +0100
Received: from toad by oink with SMTP (PP) id <18405-0@oink>;
          Wed, 15 May 1996 17:25:14 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05587;
          Wed, 15 May 1996 17:25:05 +0000
Date: Wed, 15 May 1996 17:25:05 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605151625.AA05587@toad.ig.co.uk>
To: citydev@innotts.co.uk
Subject: Re: Problems with DBI at Nottingham City Hospital
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 3237
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "I.M.& T." <citydev@innotts.co.uk>
> 
> Dear Tim ,
> 
> I have upgraded a 30,000 line perl 4/oraperl commercial application
> to perl 5 at Nottingham City Hospital on a UNIX Pyramid .
> 
> The application is passing most of the system tests however the following
> has halted progress :
> 
> In Perl 4 ora_bind for a sql update returns 'OK' for failure or the number
> of rows updated for success . 
> 
> In Perl 5.001 DBI-0.65 DBD-Oracle-0.27 ora_bind returns 1 instead
> of 'OK'  and $ora_errno is not set .
> 
> I know this seems odd but it repeats in a small stand alone piece of perl .
> 
> How do I trap errors from ora_bind ?
> 
> Could you suggest a solution to what from our position is a serious problem .
> 
> Regards , Steve Musgrave

Here are two patches (over DBD-Oracle-*0.30*) which will, I think, fix the
incompatibility:

*** 1.39	1996/03/05 02:04:42
--- Oracle.xs	1996/05/15 16:20:10
***************
*** 182,187 ****
--- 182,188 ----
      SV *	sth
      CODE:
      D_imp_sth(sth);
+     int retval;
      if (items > 1) {
  	/* Handle binding supplied values to placeholders	*/
  	int i, error = 0;
***************
*** 201,207 ****
  	    XSRETURN_UNDEF;	/* dbd_bind_ph already registered error	*/
  	}
      }
!     ST(0) = dbd_st_execute(sth) ? &sv_yes : &sv_no;
  
  
  void
--- 202,214 ----
  	    XSRETURN_UNDEF;	/* dbd_bind_ph already registered error	*/
  	}
      }
!     retval = dbd_st_execute(sth);
!     if (retval < 0)
! 	XST_mUNDEF(0);		/* error        		*/
!     else if (retval == 0)
! 	XST_mPV(0, "0E0");	/* true but zero		*/
!     else
! 	XST_mIV(0, retval);	/* typically 1 or rowcount	*/
  
  
  void

*** 1.15	1996/05/07 20:28:50
--- dbdimp.c	1996/05/15 16:02:33
***************
*** 620,626 ****
  
  
  int
! dbd_st_execute(sth)
      SV *sth;
  {
      D_imp_sth(sth);
--- 620,626 ----
  
  
  int
! dbd_st_execute(sth)	/* <0 is error, >=0 is ok (row count) */
      SV *sth;
  {
      D_imp_sth(sth);
***************
*** 628,643 ****
      if (!imp_sth->done_desc) {
  	/* describe and allocate storage for results		*/
  	if (!dbd_describe(sth, imp_sth))
! 	    return 0; /* dbd_describe already called ora_error()	*/
      }
  
      /* Trigger execution of the statement			*/
      if (oexec(imp_sth->cda)) {  /* may change to oexfet later	*/
          ora_error(sth, imp_sth->cda, imp_sth->cda->rc, "oexec error");
! 	return 0;
      }
      DBIc_ACTIVE_on(imp_sth);
!     return 1;
  }
  
  
--- 628,643 ----
      if (!imp_sth->done_desc) {
  	/* describe and allocate storage for results		*/
  	if (!dbd_describe(sth, imp_sth))
! 	    return -1; /* dbd_describe already called ora_error()	*/
      }
  
      /* Trigger execution of the statement			*/
      if (oexec(imp_sth->cda)) {  /* may change to oexfet later	*/
          ora_error(sth, imp_sth->cda, imp_sth->cda->rc, "oexec error");
! 	return -1;
      }
      DBIc_ACTIVE_on(imp_sth);
!     return imp_sth->cda->rpc;	/* row count	*/
  }
  
  

Please test and let me know.

Note that all perl4 oraperl's 'OK's are now represented as '0E0' to
avoid perl5 -w warnings.

Developers of other DBD drivers should apply the first patch to their
XS file and make a corresponding change to their dbd_st_execute function.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20434-2@oink>;
          Thu, 16 May 1996 07:40:44 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832228664:23237:3; Thu, 16 May 96 07:37:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22438; 16 May 96 7:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA29495 for dbi-users-real; Wed, 15 May 1996 19:32:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from macaria.pucp.edu.pe (macaria.pucp.edu.pe [161.132.23.13]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA29491 
          for <dbi-users@fugue.com>; Wed, 15 May 1996 19:32:19 -0700
Received: (jcalder@localhost) by macaria.pucp.edu.pe (8.6.10/8.6.5) id VAA14594;
          Wed, 15 May 1996 21:35:03 -0700
Date: Wed, 15 May 1996 21:35:03 -0700
From: Juan Calderon /NOC-RICPUCP 01/96 <jcalder@pucp.edu.pe>
Message-Id: <199605160435.VAA14594@macaria.pucp.edu.pe >
To: dbi-users@fugue.com
Subject: Problems installing DBD
Cc: Tim.Bunce@ig.co.uk
X-Sun-Charset: US-ASCII

	Hi, here i am again. I've received your suggestions for getting DBD run on my system, but i still have troubles.
I've installed Perl.5002 again, and DBI 0.68 without any kind of problems. Now I'm working with gcc v2.7.2 and all kind of warnings have dissapeared. But i still get errors building DBD 
Here are the steps :

# perl Makefile.PL

Configuring DBD::Oracle ...

	Remember to actually read the README file!

$ORACLE_HOME not defined. Searching for Oracle...
Using Oracle in /home/oracle
Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
Using /home/oracle/proc/lib/proc.mk version 1.17
System: perl5.002 sunos macaria 5.3 generic sun4m sparc  sun4-solaris dl_dlopen.xs
Compiler: /usr/local/bin/gcc -O -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
  CC:       ld -dy $(COMPOBJS) $(LDSTRING)
  LDFLAGS:  -L$(LIBHOME)
  LDSTRING: -Y P,$(LD_LIBRARY_PATH):/usr/ccs/lib:/usr/lib -Qy -lc $(COMPOBJ)/crtn.o

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.

Writing Makefile for DBD::Oracle

Oracle Home is really in /home/oracle ( don't ask me why:) ), and it has proc.mk
in /home/oracle/proc/lib/proc.mk. The version of Oracle is 7.1, and it's working (slow but working).

Here are the results of make :

# make
umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
/usr/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
/usr/local/bin/gcc -c -I/home/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -I/usr/local/include -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE  Oracle.c
/usr/local/bin/gcc -c -I/home/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -I/usr/local/include -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/lib" /usr/local/bin/gcc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib -L/opt/gnu/lib Oracle.o  dbdimp.o -L/home/oracle/lib /home/oracle/lib/__fstd.o -locic /home/oracle/lib/osntab.o -lsqlnet -lora  -lsqlnet  -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6           -lcore  `cat /home/oracle/rdbms/lib/sysliblist`   -lsocket -lnsl -lm -ldl -laio  
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
Manifying ./blib/man3/DBD::Oraperl.3

now the results of make test :
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found: lxclas: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 20
	DBI::install_driver called at t/base.t line 16
FAILED tests 4-5
	Failed 2/5 tests, 60.00% okay
	Test returned status 2 (wstat 512)
t/main..............ok
Failed 1 test script, 50.00% okay. 2/6 subtests failed, 66.67% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

and make test TEST_VERBOSE=1 :
# make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found: lxclas: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 20
	DBI::install_driver called at t/base.t line 16
1..5
ok 1
ok 2
ok 3
FAILED tests 4-5
	Failed 2/5 tests, 60.00% okay
	Test returned status 2 (wstat 512)
t/main..............t/main.t 
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
Failed 1 test script, 50.00% okay. 2/6 subtests failed, 66.67% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

Now the results of perl -V :
# perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=solaris, osver=2.3, archname=sun4-solaris
    uname='sunos macaria 5.3 generic sun4m sparc '
    hint=recommended, useposix=true 
  Compiler:
    cc='/usr/local/bin/gcc', optimize='-O', gccversion=2.7.2
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='/usr/local/bin/gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/sun4-solaris .

I'm using SunOS Release 5.3 on a SunSparcstation LX.

Thanks for your time.
bye
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24495-1@oink>;
          Thu, 16 May 1996 11:44:55 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832232514:21240:0; Thu, 16 May 96 08:41:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa20794; 16 May 96 8:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA00548 for dbi-dev-real; Wed, 15 May 1996 23:58:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA00544 
          for <dbi-dev@fugue.com>; Wed, 15 May 1996 23:58:05 -0700
Received: from localhost (pixel@localhost) 
          by rhino.coe.missouri.edu (8.7.3/8.7.3) with SMTP id BAA23760 
          for <dbi-dev@fugue.com>; Thu, 16 May 1996 01:58:01 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Thu, 16 May 1996 01:58:01 -0500 (CDT)
From: James Cooper <pixel@tiger.coe.missouri.edu>
To: dbi-dev@fugue.com
Subject: Using sockets with DBI to implement server
Message-ID: <Pine.SGI.3.93.960516014655.22849E-100000@rhino.coe.missouri.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello,

Yesterday I posted about the possibility of implementing a Java -> DBI
gateway that would allow a Java application/applet to access backend
databsaes by way of a DBI server.  The original thread took place on the
dbi-users list (probably the wrong list...my apologies).

Tim and Alligator responded that they would like to implement a proxy
driver for DBI.  I'm not familiar with what that would involve, but
decided to start playing with some sockets code in perl.

I've hacked together a quick little server as a proof of concept.
Currently the client is also a perl script, but it knows nothing about
DBI, so it serves as a reasonable test.  Basically the server waits for a
connection, and forks a child when it receives one.  The client is
extremely simple, it just takes in STDIN from the keyboard and streams it
to the server on a socket.

The server then takes that stream and checks to see if each line might be
an SQL query (very very dumb at the moment...basically checks to see if
the line starts with SELECT, INSERT, or UPDATE  and then acts
accordingly).

The SELECT stuff works fine in that the server can execute a DBI query,
and stream the query results back to the client (shows up in the client
shell..).

However, I'm having the following problem:

Whatever process I initialize the dbh driver in seems to react badly to
the EOF sent from the client (to signal the end of a client session).
That is, when the client disconnects from the server, the server dies
horribly (the parent, not the child), and no future connections are
possible.

I've tested the server code with and without the DBI stuff, and it's
definately the DBI initialization that is causing the process to die.

....

My question is:

How do I initialize a DBI connection so that it won't become upset by this
socket activity.  I've tried initializing the database connection before
any of the socket activity.  That didn't work.  I've tried re-connecting
to the database after the child forks, and disconnecting before the child
exists -- that has the equally unpleasant effect of kicking the client off
after the first query (presumably $sth->finish is knocking the client
off).

Please excuse my general ignorance on the subject.  I may be presenting
the problem incorrectly, and I realize that my approach to writing this
server is certainly far from ideal.  I mainly just wanted to see what the
potential problems would be of trying to do something like this.

For those interested, source code for the client and server is located at:

http://rhino.coe.missouri.edu/~planet/socket/

Thanks

-- James

.........................................................................
                        James Paul Cooper * Pixel
                         MU College of Education
       pixel@coe.missouri.edu - http://tiger.coe.missouri.edu/~pixel/
.........................................................................

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25415-7@oink>;
          Thu, 16 May 1996 14:47:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832248974:24603:3; Thu, 16 May 96 13:16:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23726; 16 May 96 13:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA01653 for dbi-users-real; Thu, 16 May 1996 04:59:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA01649 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 04:59:08 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa04933; 16 May 96 12:39 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa29714; 16 May 96 12:39 +0100
Received: from toad by oink with SMTP (PP) id <24909-0@oink>;
          Thu, 16 May 1996 12:03:36 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08754;
          Thu, 16 May 1996 12:03:28 +0000
Date: Thu, 16 May 1996 12:03:28 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605161103.AA08754@toad.ig.co.uk>
To: BSielaff@msmail.hsii.ccare.com
Subject: DBD::Oracle & Oracle 7.3
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1119
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


----- Begin Included Message -----

Date: Mon, 13 May 1996 14:48:00 -0500 (CDT)
From: "Sielaff, Bruce" <BSielaff@msmail.hsii.ccare.com>
Subject: DBD::Oracle & Oracle 7.3.2
To: "'Tim.Bunce@ig.co.uk'" <Tim.Bunce@ig.co.uk>

Tim,

In reading the README file which accompanies the DBD::Oracle v0.30  module, 
I discovered that "Automatic configuration from Oracle 7.3 is not yet 
working".  We are running Oracle 7.3.2 and need to build the Oracle DBD.

Is the information available on what modifications need to be made to the 
source distribution to allow it to successfully build?  If you could email 
the information to me, or point me to where I can find it, I would be most 
appreciative.

Thank you,
Bruce

----- End Included Message -----

Basically the new proc.mk has an 'include' statement to read in
another file, and that the one with the macros we need in.

So, for now, I'd copy proc.mk into your local directory and manually
edit it to replace the include with the contents of the file being
included.

You can then say	perl Makefile.PL -m your_proc.mk

I'll support 7.3 properly in the next release.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25415-16@oink>;
          Thu, 16 May 1996 14:48:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832251452:18516:2; Thu, 16 May 96 13:57:32 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa18141; 16 May 96 13:56 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa00346; 16 May 96 13:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA01788 for dbi-users-real; Thu, 16 May 1996 05:46:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA01783 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 05:46:38 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa05125; 16 May 96 12:40 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ag29714; 16 May 96 12:39 +0100
Received: from toad by oink with SMTP (PP) id <24934-0@oink>;
          Thu, 16 May 1996 12:07:12 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08824;
          Thu, 16 May 1996 12:07:05 +0000
Date: Thu, 16 May 1996 12:07:05 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605161107.AA08824@toad.ig.co.uk>
To: shea@xmission.com, descarte@hermetica.com
Subject: Re: Sybase/Oracle DBD in production use?
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 683
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > According to the web pages the Sybase DBD is not ready for
> > any kind of use -- is that true?
> > 
> > Is anyone on this list using the Oracle DBD in a production
> > environment?
> 
> Yes, I run around 4 different systems using DBI/DBD::Oracle *not* under
> Oraperl emulation. These range from complex Tk database monitoring programs,
> TCP/IP/ database communications layers and CGI stuff on WWW servers.

Alligator knows the risk he is taking by *not* using the Oraperl emulation.

And I know that Alligator will be a strong force keeping me from making
too many major incompatible changes to the DBI API.

:-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25415-27@oink>;
          Thu, 16 May 1996 14:48:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832253321:06914:0; Thu, 16 May 96 14:28:41 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa06568; 16 May 96 14:27 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa04546; 16 May 96 14:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA01930 for dbi-users-real; Thu, 16 May 1996 06:21:32 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA01926 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 06:21:28 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id OAA08676; Thu, 16 May 1996 14:09:10 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605161309.OAA08676@fruitbat.mcqueen.com>
Subject: Re: Sybase/Oracle DBD in production use?
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Date: Thu, 16 May 1996 14:09:09 +0100 (BST)
Cc: shea@xmission.com, descarte@hermetica.com, dbi-users@fugue.com
In-Reply-To: <9605161107.AA08824@toad.ig.co.uk> from "Tim Bunce" at May 16, 96 12:07:05 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1292


> > > Is anyone on this list using the Oracle DBD in a production
> > > environment?
> > 
> > Yes, I run around 4 different systems using DBI/DBD::Oracle *not* under
> > Oraperl emulation. These range from complex Tk database monitoring programs,
> > TCP/IP/ database communications layers and CGI stuff on WWW servers.
> 
> Alligator knows the risk he is taking by *not* using the Oraperl emulation.

Indeed so. However, I never liked the oraperl layer, even since it came out
on perl4. Sorry Kevin! Wonderfully useful, but I hated the API. 8-)

> And I know that Alligator will be a strong force keeping me from making
> too many major incompatible changes to the DBI API.

Oh no, I wouldn't do that. I will say, though, have you ever seen the
Godfather? ;-)

Honestly though, changing the API isn't too big a problem, provided there's
either a conversion script, emulation layer or we get enough warning on what
the changes are likely to be. Going by work pressures, 1 and 2 may be a problem
for either Tim or myself, and by historical precedent, warning seems unlikely
too....

:-)

> Tim.

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28555-0@oink>;
          Fri, 17 May 1996 07:06:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832267039:22351:2; Thu, 16 May 96 18:17:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa21461; 16 May 96 18:16 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA02536 for dbi-announce-real; Thu, 16 May 1996 09:57:32 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA02532 
          for <dbi-announce@fugue.com>; Thu, 16 May 1996 09:57:29 -0700
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail.austin.ibm.com (8.6.12/8.6.11) with ESMTP id LAA55043 
          for <dbi-announce@fugue.com>; Thu, 16 May 1996 11:57:10 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX 9610R-UP4.1/UCB 8.7/8.7-client1.0) 
          id LAA21410; Thu, 16 May 1996 11:57:08 -0500 (CDT)
Message-Id: <199605161657.LAA21410@dax.austin.ibm.com>
X-Mailer: exmh version 1.6.5 12/11/95
To: dbi-announce@fugue.com
Subject: DBD::DB2 going to CPAN shortly.
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 16 May 96 11:57:07 -0500


The battle has been won.  I have managed to fight my way through the hordes
of lawyers, so the I can release an unencombered DBD::DB2 to the world.

Yikes, it has only taken SIX and Half months :-(

Mike

------------------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content of  
mhm@austin.ibm.com                | this posting is independent of 
Commercial Performance            | official IBM position.
IBM Corporation, Austin, Texas    |


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28553-3@oink>;
          Fri, 17 May 1996 07:06:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832273676:08143:1; Thu, 16 May 96 20:07:56 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa07955; 16 May 96 20:07 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa19465; 16 May 96 20:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA03109 for dbi-users-real; Thu, 16 May 1996 11:55:17 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from itesocci.gdl.iteso.mx (itesocci.gdl.iteso.mx [148.201.1.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA03105 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 11:55:10 -0700
Received: (from is23237@localhost) by itesocci.gdl.iteso.mx (8.6.12/8.6.12) 
          id NAA29285; Thu, 16 May 1996 13:54:52 -0500
Date: Thu, 16 May 1996 13:54:52 -0500 (CDT)
From: Carlos Ernesto Gonzalez Gonzalez <is23237@itesocci.gdl.iteso.mx>
To: dbi-users@fugue.com
Subject: unsubscribe
Message-ID: <Pine.BSF.3.91.960516135325.29014D-100000@itesocci.gdl.iteso.mx>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

unsubscribe is23237@itesocci.gdl.iteso.mx

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28555-12@oink>;
          Fri, 17 May 1996 07:08:19 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832294894:01657:2; Fri, 17 May 96 02:01:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa00312; 17 May 96 1:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA03553 for dbi-users-real; Thu, 16 May 1996 14:15:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from europa.ikonic.com (mypop.ikonic2.com [204.119.99.106]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA03549 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 14:15:43 -0700
Received: from 204.119.99.40.ikonic.com ([204.119.99.18]) 
          by europa.ikonic.com (post.office MTA v1.9.3 ID# 0-11965) with SMTP 
          id AAA148; Thu, 16 May 1996 14:16:39 +0100
X-Sender: dparker@ikonic.com
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Alligator Descartes <descarte@hermetica.com>
From: Drew Parker <dparker@ikonic.com>
Subject: Re: Sybase/Oracle DBD in production use?
Cc: dbi-users@fugue.com
Date: Thu, 16 May 1996 14:16:39 +0100
Message-ID: <19960516131638895.AAA148@204.119.99.40.ikonic.com>

At 02:09 PM 5/16/96 +0100, you wrote:
>
>> > > Is anyone on this list using the Oracle DBD in a production
>> > > environment?
>> > 
>> > Yes, I run around 4 different systems using DBI/DBD::Oracle *not* under
>> > Oraperl emulation. These range from complex Tk database monitoring
programs,
>> > TCP/IP/ database communications layers and CGI stuff on WWW servers.
>> 
>> Alligator knows the risk he is taking by *not* using the Oraperl emulation.
>
>Indeed so. However, I never liked the oraperl layer, even since it came out
>on perl4. Sorry Kevin! Wonderfully useful, but I hated the API. 8-)
>
>> And I know that Alligator will be a strong force keeping me from making
>> too many major incompatible changes to the DBI API.
>
>Oh no, I wouldn't do that. I will say, though, have you ever seen the
>Godfather? ;-)
>
>Honestly though, changing the API isn't too big a problem, provided there's
>either a conversion script, emulation layer or we get enough warning on what
>the changes are likely to be. Going by work pressures, 1 and 2 may be a problem
>for either Tim or myself, and by historical precedent, warning seems unlikely
>too....
>
>:-)
>
>> Tim.
>
>-- 
>Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
>Anathematician		|         http://www.hermetica.com/nexus
>descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
>

Can you elaborate on what the risk is of *not* using the OraPerl emulation
layer?

We are thinking of porting some OraPerl code to use the DBI directly
(without the emulation layer).  We are also writing code for a customer who
has DBI/DBD installed, but specifically requested that we NOT use OraPerl
emulation.

Thanks,

Drew
------------------
Drew Parker
dparker@ikonic.com
Ikonic Interactive
2 Harrison Street, Top Floor
San Francisco, California  94105 USA
(415) 908-8069


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28555-14@oink>;
          Fri, 17 May 1996 07:08:43 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832295443:04708:1; Fri, 17 May 96 02:10:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa03368; 17 May 96 2:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA03442 for dbi-users-real; Thu, 16 May 1996 14:02:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from europa.ikonic.com (mypop.ikonic2.com [204.119.99.106]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA03438 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 14:02:42 -0700
Received: from 204.119.99.40.ikonic.com ([204.119.99.18]) 
          by europa.ikonic.com (post.office MTA v1.9.3 ID# 0-11965) with SMTP 
          id AAA152 for <dbi-users@fugue.com>; Thu, 16 May 1996 14:03:38 +0100
X-Sender: dparker@ikonic.com
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: Drew Parker <dparker@ikonic.com>
Subject: Success Stories building DBI/DBD Oracle on Irix 5.3?
Date: Thu, 16 May 1996 14:03:38 +0100
Message-ID: <19960516130338433.AAA152@204.119.99.40.ikonic.com>

Hello all,

On the web page, I don't see SGI/Irix listed as a "known" working platform.
Has anyone tried building the DBI/Oracle DBD on Irix 5.3?  We are using
Oracle 7.2.3.  If you have any tips on doing so, please pass them along.

I have previously built OraPerl on Irix without major difficulty, but the
Make files had to be changed in various ways (that I don't remember).

Thanks in advance,

Drew Parker

------------------
Drew Parker
dparker@ikonic.com
Ikonic Interactive
2 Harrison Street, Top Floor
San Francisco, California  94105 USA
(415) 908-8069


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29985-0@oink>;
          Fri, 17 May 1996 08:05:54 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832314746:01502:2; Fri, 17 May 96 07:32:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa00788; 17 May 96 7:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA05038 for dbi-users-real; Thu, 16 May 1996 23:25:10 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA05034 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 23:24:54 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa11532; 17 May 96 7:06 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa23983; 17 May 96 7:06 +0100
Received: from toad by oink with SMTP (PP) id <27178-0@oink>;
          Thu, 16 May 1996 17:53:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA13640;
          Thu, 16 May 1996 17:53:51 +0000
Date: Thu, 16 May 1996 17:53:51 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605161653.AA13640@toad.ig.co.uk>
To: dbi-users@fugue.com, jcalder@pucp.edu.pe
Subject: Re: Problems installing DBD
X-Sun-Charset: US-ASCII
content-length: 1764
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Juan Calderon /NOC-RICPUCP 01/96 <jcalder@pucp.edu.pe>
> 
> $ORACLE_HOME not defined. Searching for Oracle...
> Using Oracle in /home/oracle
> Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
> Using /home/oracle/proc/lib/proc.mk version 1.17
> System: perl5.002 sunos macaria 5.3 generic sun4m sparc  sun4-solaris dl_dlopen.xs
> Compiler: /usr/local/bin/gcc -O -I/usr/local/include
> Oracle proc.mk would have used these values but we override them:
>   CC:       ld -dy $(COMPOBJS) $(LDSTRING)
>   LDFLAGS:  -L$(LIBHOME)
>   LDSTRING: -Y P,$(LD_LIBRARY_PATH):/usr/ccs/lib:/usr/lib -Qy -lc $(COMPOBJ)/crtn.o

> LD_RUN_PATH="/lib" /usr/local/bin/gcc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib -L/opt/gnu/lib Oracle.o  dbdimp.o -L/home/oracle/lib /home/oracle/lib/__fstd.o -locic /home/oracle/lib/osntab.o -lsqlnet -lora  -lsqlnet  -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6           -lcore  `cat /home/oracle/rdbms/lib/sysliblist`   -lsocket -lnsl -lm -ldl -laio  

> t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found: lxclas: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so

Well, basically, I don't know.

Certainly looks like an Oracle symbol.

Try this in the oracle home directory (using /bin/sh) as a quick check:
$ for l in lib/lib*.a lib/*.o */*/*.o; do echo $l; nm -p $l | grep lxclas; done'

(for reference I can't find that symbol in the Oracle 7.1 I have here.)

Otherwise try building the sample Pro*C application in proc/demo and
if you have problems ask Oracle for help.

Did you install GNU ld? If so, don't. It's broken for Solaris.

Has anyone else seen this problem?

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00968-6@oink>;
          Fri, 17 May 1996 11:07:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832324301:23565:1; Fri, 17 May 96 10:11:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23162; 17 May 96 10:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA05002 for dbi-dev-real; Thu, 16 May 1996 23:11:09 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA04998 
          for <dbi-dev@fugue.com>; Thu, 16 May 1996 23:11:05 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab11514; 17 May 96 7:06 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab23983; 17 May 96 7:06 +0100
Received: from toad by oink with SMTP (PP) id <27138-0@oink>;
          Thu, 16 May 1996 17:32:48 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA13215;
          Thu, 16 May 1996 17:32:37 +0000
Date: Thu, 16 May 1996 17:32:37 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605161632.AA13215@toad.ig.co.uk>
To: dbi-dev@fugue.com, pixel@tiger.coe.missouri.edu
Subject: Re: Using sockets with DBI to implement server
X-Sun-Charset: US-ASCII
content-length: 1460
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: James Cooper <pixel@tiger.coe.missouri.edu>
> 
> The server then takes that stream and checks to see if each line might be
> an SQL query (very very dumb at the moment...basically checks to see if
> the line starts with SELECT, INSERT, or UPDATE  and then acts
> accordingly).

Far from ideal. How would you return binary data from the select (for example)?

> How do I initialize a DBI connection so that it won't become upset by this
> socket activity.

I have no idea what the problem is. You'll have to dig further.
It may be trying to write to the disconnected socket and getting a SIGPIPE.

> Please excuse my general ignorance on the subject.  I may be presenting
> the problem incorrectly, and I realize that my approach to writing this
> server is certainly far from ideal.  I mainly just wanted to see what the
> potential problems would be of trying to do something like this.

You need a protocol that intercepts *any* method call and stringifies
the method name and the args (see Data::Dumper, Storable etc) and
sends it across the link. The same in reverse for the results.
You also need a way to map object refs into proxies and the reverse.

Any other approach is doomed to problems.

I urge you to look into the work of others in this area. Especially the
Proxy module.

Take a look around (at Proxy etc) and then ask the perl5-porters and/or
usenet if anyone's done any more work on this other than whats in the
CPAN archives.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00968-8@oink>;
          Fri, 17 May 1996 11:07:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832324378:24184:3; Fri, 17 May 96 10:12:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23725; 17 May 96 10:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA05068 for dbi-users-real; Thu, 16 May 1996 23:35:25 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA05064 
          for <dbi-users@fugue.com>; Thu, 16 May 1996 23:35:23 -0700
Received: by gw.home.vix.com id XAA10000; Thu, 16 May 1996 23:35:12 -0700
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa11540; 17 May 96 7:06 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac23983; 17 May 96 7:06 +0100
Received: from toad by oink with SMTP (PP) id <27194-0@oink>;
          Thu, 16 May 1996 17:55:34 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA13647;
          Thu, 16 May 1996 17:55:27 +0000
Date: Thu, 16 May 1996 17:55:27 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605161655.AA13647@toad.ig.co.uk>
To: dbi-users@fugue.com, shea@xmission.com
Subject: Re: Sybase/Oracle DBD in production use?
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Gary Shea <shea@xmission.com>
> 
> I'm wanting to use Sybase or Oracle in a CGI environment,
> replacing mSQL.  I don't want to sacrifice all my nice Perl5
> code to use oraperl or sybperl.

Regardless of quality you will loose speed. It takes much longer
to connect to Oracle (and presumably Sybase) than mSQL.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01891-1@oink>;
          Fri, 17 May 1996 12:53:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832331695:01483:2; Fri, 17 May 96 12:14:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00640; 17 May 96 12:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA05669 for dbi-users-real; Fri, 17 May 1996 04:08:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA05665 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 04:08:23 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ao16268; 17 May 96 12:03 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac02874; 17 May 96 11:40 +0100
Received: from toad by oink with SMTP (PP) id <01488-0@oink>;
          Fri, 17 May 1996 11:32:14 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA17000;
          Fri, 17 May 1996 11:32:06 +0000
Date: Fri, 17 May 1996 11:32:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605171032.AA17000@toad.ig.co.uk>
To: descarte@hermetica.com, dparker@ikonic.com
Subject: Re: Sybase/Oracle DBD in production use?
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 687
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Drew Parker <dparker@ikonic.com>
> 
> Can you elaborate on what the risk is of *not* using the OraPerl emulation
> layer?

The DBI API will change when it moves to support ODBC (happening, but slowly).
 
> We are thinking of porting some OraPerl code to use the DBI directly
> (without the emulation layer).

Not recommended.

> We are also writing code for a customer who
> has DBI/DBD installed, but specifically requested that we NOT use OraPerl
> emulation.

Educate them.

The Oraperl emulation is now FORMALLY RELEASED the DBI interface
is still ALPHA and will change. When it changes all your/their code
will need carefull checking and changing. It's not worth it.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02670-7@oink>;
          Fri, 17 May 1996 17:01:32 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832342441:13246:1; Fri, 17 May 96 15:14:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa12220; 17 May 96 15:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA05439 for dbi-users-real; Fri, 17 May 1996 01:41:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gwdu42.gwdg.de (root@gwdu42.gwdg.de [134.76.10.26]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id BAA05435 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 01:41:28 -0700
Received: from bernado (actually RAS001.gwdg.de) by gwdu42.gwdg.de 
          with SMTP (PP); Fri, 17 May 1996 10:37:22 +0200
Message-ID: <319C3ADE.1A07@gwdg.de>
Date: Fri, 17 May 1996 10:37:50 +0200
From: Bernd Beilke <bbeilke@gwdg.de>
Organization: GWDG
X-Mailer: Mozilla 2.0 (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: unsubscribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

unsubscribe bbeilke@gwdg.de
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02670-10@oink>;
          Fri, 17 May 1996 17:01:54 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832343353:22556:3; Fri, 17 May 96 15:29:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22324; 17 May 96 15:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA06061 for dbi-announce-real; Fri, 17 May 1996 07:23:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA06057 
          for <dbi-announce@fugue.com>; Fri, 17 May 1996 07:22:58 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id PAA05139; Fri, 17 May 1996 15:15:33 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605171415.PAA05139@fruitbat.mcqueen.com>
Subject: Re: DBD::DB2 going to CPAN shortly.
To: mhm@austin.ibm.com
Date: Fri, 17 May 1996 15:15:33 +0100 (BST)
Cc: dbi-announce@fugue.com
In-Reply-To: <199605161657.LAA21410@dax.austin.ibm.com> from "mhm@austin.ibm.com" at May 16, 96 11:57:07 am
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 646


> The battle has been won.  I have managed to fight my way through the hordes
> of lawyers, so the I can release an unencombered DBD::DB2 to the world.
> 
> Yikes, it has only taken SIX and Half months :-(

Nah, I don't believe you. Since when has IBM's lawyers/vultures managed to
make *any* sort of decision in six and a half months..?

*ducks*

...especially lawsuits.....

Good news though. Any comments or witticisms for the WWW page?

> Mike

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02669-19@oink>;
          Fri, 17 May 1996 17:03:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832343391:23420:2; Fri, 17 May 96 15:29:51 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa23249; 17 May 96 15:29 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa21089; 17 May 96 15:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA05397 for dbi-users-real; Fri, 17 May 1996 01:10:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bsfiles.nerc-bas.ac.uk (bsfiles.nerc-bas.ac.uk [192.171.137.25]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA05393 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 01:10:37 -0700
Received: from bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk 
          by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id JAA18966;
          Fri, 17 May 1996 09:09:55 +0100
Date: Fri, 17 May 1996 09:09:54 +0100
Message-Id: <21132.199605170809@bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk>
From: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
To: dparker@ikonic.com
CC: dbi-users@fugue.com
In-reply-to: <19960516130338433.AAA152@204.119.99.40.ikonic.com> (message from Drew Parker on Thu, 16 May 1996 14:03:38 +0100)
Subject: Re: Success Stories building DBI/DBD Oracle on Irix 5.3?
Reply-to: agw@mail.nerc-bas.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII

>>>>> "Drew" == Drew Parker <dparker@ikonic.com> writes:

    > Hello all, On the web page, I don't see SGI/Irix listed as a
    > "known" working platform.  Has anyone tried building the
    > DBI/Oracle DBD on Irix 5.3?  We are using Oracle 7.2.3.  If you
    > have any tips on doing so, please pass them along.

Extract from DBD-Oracle-0.30/README ......

>Some Users of DBD::Oracle on Specific Platforms:
>(this is out of date now, there are many users on many platforms)
>
>[....]
>
>SGI Iris Indigo R4000 Irix 5.3:
>        Andrew G Wood <agw@mail.nerc-bas.ac.uk>
>

I use Oracle 7.1.3 with no problems at all.  Just get yourself
perl 5.002 .... unpack the distribution .... RTFM .... and away you
go.

No hacking of anything .... Tim has done a great job :-)

Andy.

+--------------------------------------------+
|   Dr Andy Wood, Database Administrator     |
|   British  Antarctic  Survey               |
|   High Cross, Madingley Road            +----------------------------------+
|   Cambridge,   CB3 0ET,   UK            |    A.Wood@bas.ac.uk              |
|      +44 (0) 1223 361188                |    agw@mail.nerc-bas.ac.uk       |
+-----------------------------------------|    A.G.Wood@bcs.org.uk           |
                                          +----------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02669-22@oink>;
          Fri, 17 May 1996 17:04:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832344120:01173:0; Fri, 17 May 96 15:42:00 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa00520; 17 May 96 15:40 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22755; 17 May 96 15:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA06080 for dbi-users-real; Fri, 17 May 1996 07:28:48 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA06076 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 07:28:38 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id PAA05242; Fri, 17 May 1996 15:20:32 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199605171420.PAA05242@fruitbat.mcqueen.com>
Subject: Re: Sybase/Oracle DBD in production use?
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Date: Fri, 17 May 1996 15:20:32 +0100 (BST)
Cc: dbi-users@fugue.com, shea@xmission.com
In-Reply-To: <9605161655.AA13647@toad.ig.co.uk> from "Tim Bunce" at May 16, 96 05:55:27 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1227


> > I'm wanting to use Sybase or Oracle in a CGI environment,
> > replacing mSQL.  I don't want to sacrifice all my nice Perl5
> > code to use oraperl or sybperl.
> 
> Regardless of quality you will loose speed. It takes much longer
> to connect to Oracle (and presumably Sybase) than mSQL.

Indeed so. I can say this from dire experience. mSQL connections are almost
instantaneous and require under 100K or RAM ( on Solaris, dynalinked ). Oracle
requires 2.3M *per process* ( probably a bit less if the processes are
sharing properly ). Oracle takes about 30 times longer to connect than mSQL.
For WWW page handling, Oracle isn't really an option, IMHO, unless you're
scanning 1 million rows per query, in which case you have a delay anyway.
Basically, if the wait for Oracle's connection is longer than the time it
takes to execute the query, don't do it!

Also, remember that 2.3M per connection.......On a busy WWW server, expect
to see things grind to a standstill fairly quickly unless you have around
128M RAM....

> Tim.

-- 
Alligator Descartes	|       Nexus - Multi-User Virtual Reality 
Anathematician		|         http://www.hermetica.com/nexus
descarte@hermetica.com	| Muse of the Day: "Juliette" - Marquis de Sade
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02669-30@oink>;
          Fri, 17 May 1996 17:05:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832346004:20093:1; Fri, 17 May 96 16:13:24 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa19569; 17 May 96 16:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa27048; 17 May 96 16:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA06132 for dbi-announce-real; Fri, 17 May 1996 07:52:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail1.austin.ibm.com (netmail1.austin.ibm.com [129.35.208.96]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA06128 
          for <dbi-announce@fugue.com>; Fri, 17 May 1996 07:52:55 -0700
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail1.austin.ibm.com (8.6.12/8.6.11) with ESMTP id JAA05312;
          Fri, 17 May 1996 09:52:53 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX 9610R-UP4.1/UCB 8.7/8.7-client1.0) 
          id JAA19376; Fri, 17 May 1996 09:52:53 -0500 (CDT)
Message-Id: <199605171452.JAA19376@dax.austin.ibm.com>
X-Mailer: exmh version 1.6.5 12/11/95
To: Alligator Descartes <descarte@hermetica.com>
cc: dbi-announce@fugue.com
Subject: Re: DBD::DB2 going to CPAN shortly.
In-reply-to: Your message of Fri, 17 May 96 15:15:33 +0100. <199605171415.PAA05139@fruitbat.mcqueen.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 17 May 96 09:52:52 -0500


Alligator Descartes <descarte@hermetica.com>  writes:
> 
> > The battle has been won.  I have managed to fight my way through the hordes
> > of lawyers, so the I can release an unencombered DBD::DB2 to the world.
> > 
> > Yikes, it has only taken SIX and Half months :-(
> 
> Nah, I don't believe you. Since when has IBM's lawyers/vultures managed to
> make *any* sort of decision in six and a half months..?
> 
> *ducks*
> 
> ...especially lawsuits.....
> 
> Good news though. Any comments or witticisms for the WWW page?
> 

I think I'll hold off on the witticisms for awhile as I might have to deal
with the same lawyers again in the future and I hurt a few feelings...I know
it is very hard to believe that lawyers have feelings.

Mike
-- 
--------------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content of  
mhm@austin.ibm.com                | this posting is independent of 
Commercial Performance            | official IBM position.
IBM Corporation, Austin, Texas    |


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09311-26@oink>;
          Sun, 19 May 1996 17:31:04 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832432606:04554:1; Sat, 18 May 96 16:16:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01352; 18 May 96 16:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA09174 for dbi-users-real; Sat, 18 May 1996 07:57:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tom.compulink.co.uk (tom.compulink.co.uk [194.153.0.51]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA09170 
          for <dbi-users@fugue.com>; Sat, 18 May 1996 07:54:49 -0700
Received: (from root@localhost) by tom.compulink.co.uk (8.6.9/8.6.9) 
          id PAA09739 for dbi-users@fugue.com; Sat, 18 May 1996 15:26:03 +0100
Date: Sat, 18 May 96 15:24 BST-1
From: richardd@cix.compulink.co.uk (Richard Donkin)
Subject: Re: DBI<->WWW persistent connections
To: dbi-users@fugue.com
Cc: richardd@cix.compulink.co.uk
Reply-To: richardd@cix.compulink.co.uk
Message-Id: <memo.474317@cix.compulink.co.uk>

In-Reply-To: <199605171948.PAA20679@mailbox.osf.org>
dougm@osf.org (Doug MacEachern) wrote:

> This has come up before, and there has been some recent talk on the list
> related to WWW<->Database integration and it's "slowness".  I'm working 
> on
> an Apache/Perl module that embeds a perl interpreter rather than 
> starting a
> CGI process, your code is "compiled" and run (allowing you initiate a
> database connection) when the servers starts, and then a subroutine in
> memory is called to handle each request (which would have access to the
> ready and waiting $dbh).  

Useful performance improvement there.  Anyone who is using Internet 
Information Server on NT might like to use PerlIS.dll, from www.hip.com, 
which does something very similar.

Unfortunately instaling this DLL under Purveyor makes it trivial to crash 
the web server, so it is not an unalloyed thing of wonder :(

I'm not sure how your scheme for leaving the database connected would 
work if two or more database requests hit the Perl code at the same time, 
but as long as some sort of locking is done this is not going to be a 
problem at most sites.  Combining embedded Perl with a pool of server 
processes that stay connected to the database would be more complicated 
but could accommodate larger sites.

Richard
--
richardd@cix.compulink.co.uk | PGP key: pgp-public-keys@keys.pgp.net
Inside Edge Consultancy Ltd  | Web: http://www.inside-edge.co.uk/

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09311-1@oink>;
          Sun, 19 May 1996 17:25:34 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832357002:15931:2; Fri, 17 May 96 19:16:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id ab11477; 17 May 96 19:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA05695 for dbi-announce-real; Fri, 17 May 1996 04:19:29 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA05691 
          for <dbi-announce@fugue.com>; Fri, 17 May 1996 04:19:27 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac12978; 17 May 96 11:18 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab02874; 17 May 96 11:40 +0100
Received: from toad by oink with SMTP (PP) id <01480-0@oink>;
          Fri, 17 May 1996 11:30:06 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16993;
          Fri, 17 May 1996 11:29:57 +0000
Date: Fri, 17 May 1996 11:29:57 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605171029.AA16993@toad.ig.co.uk>
To: dbi-announce@fugue.com, mhm@austin.ibm.com
Subject: Re: DBD::DB2 going to CPAN shortly.
X-Sun-Charset: US-ASCII
content-length: 319
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: mhm@austin.ibm.com
>
> The battle has been won.  I have managed to fight my way through the hordes
> of lawyers, so the I can release an unencombered DBD::DB2 to the world.

Great! Same copyright terms as Perl itself?

Drop it into CPAN - see the Module List for how.

Tim.

p.s. please mail me a copy direct.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10980-4@oink>;
          Mon, 20 May 1996 07:06:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832550732:07222:4; Mon, 20 May 96 01:05:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06847; 20 May 96 1:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA12382 for dbi-users-real; Sun, 19 May 1996 16:49:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from chan.crim.ca (chan.crim.ca [132.218.1.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA12378 
          for <dbi-users@fugue.com>; Sun, 19 May 1996 16:49:00 -0700
Received: from zorro.crim.ca by chan.crim.ca (4.1/SMI-4.1) id AA18602;
          Sun, 19 May 96 19:49:13 EDT
Received: by zorro.crim.ca (5.0/SMI-SVR4) id AA10663;
          Sun, 19 May 1996 19:49:27 +0500
Date: Sun, 19 May 1996 19:49:27 -0400 (EDT)
From: Marc-Antoine Parent <maparent@zorro.crim.ca>
To: dbi-users@fugue.com
Subject: DBD_Oracle with Oracle Text Services
Message-Id: <Pine.SUN.3.91.960519194114.10655A-100000@zorro>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Length: 352

Did anybody try using Oracle Text Services Extended SQL queries with 
DBD_Oracle? Is there a fundamental reason why it should or should not 
work, and hom much fiddling around and for how long I should expect to get 
me anywhere? Any hint/experience appreciated.

Marc-Antoine Parent
Senior Research Agent
Centre de Recherche Informatique de Montreal

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09311-7@oink>;
          Sun, 19 May 1996 17:26:22 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832363291:24177:2; Fri, 17 May 96 21:01:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23590; 17 May 96 21:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA06987 for dbi-users-real; Fri, 17 May 1996 12:49:27 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailbox.osf.org (mailbox.osf.org [130.105.1.8]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA06983 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 12:49:24 -0700
Received: from gandalf (gandalf [130.105.3.186]) 
          by mailbox.osf.org (8.6.12/8.6.x) with SMTP id PAA20679 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 15:48:46 -0400
Date: Fri, 17 May 1996 15:48:46 -0400
Message-Id: <199605171948.PAA20679@mailbox.osf.org>
X-Sender: dougm@postman.osf.org
X-Mailer: Windows Eudora Version 2.0.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: dougm@osf.org (Doug MacEachern)
Subject: DBI<->WWW persistent connections

This has come up before, and there has been some recent talk on the list
related to WWW<->Database integration and it's "slowness".  I'm working on
an Apache/Perl module that embeds a perl interpreter rather than starting a
CGI process, your code is "compiled" and run (allowing you initiate a
database connection) when the servers starts, and then a subroutine in
memory is called to handle each request (which would have access to the
ready and waiting $dbh).  

Here are some benchmarks, using LWP::Simple for a client, where 'cgi' and
'embedded' both do a simple query to an mSQL database via DBI.  However, the
'cgi' script runs under standard CGI, the embedded script uses the apache
module:

Benchmark: timing 1 iterations of cgi, embedded...
       cgi:  3 secs
  embedded:  0 secs

Benchmark: timing 5 iterations of cgi, embedded...
       cgi: 12 secs 
  embedded:  2 secs 

Benchmark: timing 10 iterations of cgi, embedded...
       cgi: 26 secs 
  embedded:  3 secs 

Benchmark: timing 15 iterations of cgi, embedded...
       cgi: 37 secs 
  embedded:  5 secs 

Sybase/Oracle may be slower than mSQL, but this module should help speed
things up a bit.  The module is still in alpha, but I'm looking for more
people to try it out and provide some feedback, if you are interested check out:

http://www.osf.org/~dougm/apache/mod_perl-0.50a2.tar.gz

Let me know how it goes...

-Doug

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09318-4@oink>;
          Sun, 19 May 1996 17:26:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832351258:12882:0; Fri, 17 May 96 17:40:58 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa12660; 17 May 96 17:40 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa12804; 17 May 96 17:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA05669 for dbi-users-real; Fri, 17 May 1996 04:08:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA05665 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 04:08:23 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ao16268; 17 May 96 12:03 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac02874; 17 May 96 11:40 +0100
Received: from toad by oink with SMTP (PP) id <01488-0@oink>;
          Fri, 17 May 1996 11:32:14 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA17000;
          Fri, 17 May 1996 11:32:06 +0000
Date: Fri, 17 May 1996 11:32:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605171032.AA17000@toad.ig.co.uk>
To: descarte@hermetica.com, dparker@ikonic.com
Subject: Re: Sybase/Oracle DBD in production use?
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 687
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Drew Parker <dparker@ikonic.com>
> 
> Can you elaborate on what the risk is of *not* using the OraPerl emulation
> layer?

The DBI API will change when it moves to support ODBC (happening, but slowly).
 
> We are thinking of porting some OraPerl code to use the DBI directly
> (without the emulation layer).

Not recommended.

> We are also writing code for a customer who
> has DBI/DBD installed, but specifically requested that we NOT use OraPerl
> emulation.

Educate them.

The Oraperl emulation is now FORMALLY RELEASED the DBI interface
is still ALPHA and will change. When it changes all your/their code
will need carefull checking and changing. It's not worth it.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09364-4@oink>;
          Sun, 19 May 1996 17:32:17 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832454843:00599:1; Sat, 18 May 96 22:27:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29934; 18 May 96 22:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA09608 for dbi-users-real; Sat, 18 May 1996 14:20:24 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from lynx.csn.net (lynx.csn.net [199.117.160.129]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA09604 
          for <dbi-users@fugue.com>; Sat, 18 May 1996 14:20:18 -0700
Received: from wcc.com (sunspot.wcc.com [144.207.1.50]) 
          by lynx.csn.net (8.6.12/8.6.12) with SMTP id PAA29955;
          Sat, 18 May 1996 15:19:27 -0600
Received: from den3960.wcc.com (smferris.wcc.com) by wcc.com (4.1/SMI-4.1) 
          id AA01925; Sat, 18 May 96 15:19:25 MDT
Message-Id: <9605182119.AA01925@wcc.com>
Comments: Authenticated sender is <smferri0@corp890>
From: Shawn M Ferris <smferri0@wcc.com>
Organization: Woodward-Clyde
To: dbi-users@fugue.com, Tim.Bunce@ig.co.uk
Date: Sat, 18 May 1996 14:17:51 +0000
Subject: Oracle DBD. Cant find loadable object.
Priority: normal
X-Mailer: Pegasus Mail for Win32 (v2.31)

I used the test script at:
http://www.hermetica.com/technologia/DBI/examples/ex2.html
with modifications to connect to my DB and get the following:

install_driver(Oracle) failed: Can't find loadable object for module
DBD::Oracle in @INC (/usr/lib/perl5/PA-RISC1.1/5.002 /usr/lib/perl5
/usr/lib/perl5/site_perl/PA-RISC1.1 /usr/lib/perl5/site_perl .) at
/usr/lib/perl5/DBD/Oracle.pm line 20

        DBI::install_driver called at ./test.pl line 7

I know Im overlooking something stupid. On another machine I have set 
up an mSQL DBD and it works great. What am I missing? Which file is 
it looking for? 8) Need more info I'll give the README Specifics. BTW: 
This is running on an HP/G30 running HPUX 9.04, 128mb ram, oracle 
7.0.16. Perl 5.002b3, DBI 0.69, Oracle-DBD 0.29. Any and all help will 
be greatly appreciated.

Thanks again, and kudos!
SMF
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09379-9@oink>;
          Sun, 19 May 1996 17:32:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832375803:03253:1; Sat, 18 May 96 00:30:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03122; 18 May 96 0:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA07038 for dbi-users-real; Fri, 17 May 1996 13:02:27 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from utsi.com (server.utsi.com [199.99.226.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA07034 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 13:02:23 -0700
Received: from keener.utsi.com (UTSI132.utsi.com [199.99.226.132]) 
          by utsi.com (8.7.5/8.6.11) with SMTP id PAA03490 
          for <dbi-users@fugue.com>; Fri, 17 May 1996 15:02:45 -0500
Date: Fri, 17 May 1996 15:02:45 -0500
Message-Id: <1.5.4.16.19960517150031.58a78350@server.utsi.com>
X-Sender: jwk@server.utsi.com
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: John Keener <jkeener@utsi.com>
Subject: Reading Oracle long's with oraperl emulation.

Hi,
    I am having problems reading long fields from Oracle.  I've searched
through the dbi-users archive, and read the oraperl.pm file.  Nothing that I
have tried works, including blob_read.  Any suggestion or working examples
would be greatly appreciated.  I am running DBI 0.60, DBD-Oracle 0.30,
Oracle 7.1.4, Solaris 2.4

        Thanks

							jkeener@utsi.com
							John W. Keener
							UTSI International Corp.
							1560 West Bay Area Blvd.
								Suite 300
							Friendswood, TX 77546
							(713) 480 - 8786

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09318-24@oink>;
          Sun, 19 May 1996 17:30:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832367317:02816:1; Fri, 17 May 96 22:08:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29836; 17 May 96 22:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA05996 for dbi-announce-real; Fri, 17 May 1996 06:59:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail1.austin.ibm.com (netmail1.austin.ibm.com [129.35.208.96]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA05992 
          for <dbi-announce@fugue.com>; Fri, 17 May 1996 06:59:29 -0700
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail1.austin.ibm.com (8.6.12/8.6.11) with ESMTP id IAA14374;
          Fri, 17 May 1996 08:59:27 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX 9610R-UP4.1/UCB 8.7/8.7-client1.0) 
          id IAA20044; Fri, 17 May 1996 08:59:27 -0500 (CDT)
Message-Id: <199605171359.IAA20044@dax.austin.ibm.com>
X-Mailer: exmh version 1.6.5 12/11/95
To: Tim Bunce <Tim.Bunce@ig.co.uk>
cc: dbi-announce@fugue.com
Subject: Re: DBD::DB2 going to CPAN shortly.
In-reply-to: Your message of Fri, 17 May 96 11:29:57 +0000. <9605171029.AA16993@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 17 May 96 08:59:25 -0500


Tim Bunce <Tim.Bunce@ig.co.uk>  writes:
> 
> > From: mhm@austin.ibm.com
> >
> > The battle has been won.  I have managed to fight my way through the hordes
> > of lawyers, so the I can release an unencombered DBD::DB2 to the world.
> 
> Great! Same copyright terms as Perl itself?

Unfortunately, not.  The lawyers around here could not understand either
the GPL or the Artistic license and thus require me to put something that
looks more like a standard IBM License in place...NOW DON'T panic, the
license that has been hammered out gives all of the same "rights" as the
Artistic License.  It is just written in Legalese -- I think I should
go and get my JD (Degree in Law) after all of the cycles put in while
hammering out the new license.

> 
> Drop it into CPAN - see the Module List for how.
> 

I hit a snag with the contents of my README file -- lawyers :-(  I hope
to get it all straightened out and delivered by the time I leave this
afternoon ( 22:00 UTC ).

> p.s. please mail me a copy direct.

Your copy will go out at the same time.

Mike
-- 
--------------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content of  
mhm@austin.ibm.com                | this posting is independent of 
Commercial Performance            | official IBM position.
IBM Corporation, Austin, Texas    |


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19647-0@oink>;
          Mon, 20 May 1996 19:37:06 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832617343:29372:1; Mon, 20 May 96 19:35:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28343; 20 May 96 19:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA15711 for dbi-users-real; Mon, 20 May 1996 11:26:15 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA15707 
          for <dbi-users@fugue.com>; Mon, 20 May 1996 11:26:14 -0700
Received: by gw.home.vix.com id LAA11975; Mon, 20 May 1996 11:26:10 -0700
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ad06056; 20 May 96 19:24 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab10339; 20 May 96 19:24 +0100
Received: from toad by oink with SMTP (PP) id <15095-0@oink>;
          Mon, 20 May 1996 18:14:51 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00573;
          Mon, 20 May 1996 18:14:15 +0000
Date: Mon, 20 May 1996 18:14:15 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605201714.AA00573@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: DBD for Qi?
Cc: Otis.Gospodnetic@mail.middlebury.edu
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


----- Begin Included Message -----

Date: Fri, 17 May 1996 14:28:38 -0500
From: Otis.Gospodnetic@mail.middlebury.edu (Otis Gospodnetic)
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: about DBI
References: <4n6itt$3lc@doc.zippo.com> <DrE68K.3tK@ig.co.uk>

Hi Tim.

got a simple question - I looked at DBI, and it looks like a nice thing
that will hopefully become a standard, so to speak, and I was wondering if
you have any plans for writing DBI::Qi, for the Qi/Ph database.
If nobody is doing it, and you think it would be good to have that, I
could try writing something like that this summer, if I have any free
time.
I know how Qi works pretty well, and I've written a couple of Perl scripts
to work with it, but I never wrote them as perl modules.
So, if I were to do that, I might need some help just with the way a perl
module is written (I'm a perl module virgin), but that is about it.  Qi I
can handle on my own, pretty much.

please let me know what you think,

Thanks

Otis

-- 
Otis.Gospodnetic@mail.middlebury.edu
Information Technology Services
Middlebury College

----- End Included Message -----

Feel free. But I've not time to help. Others on the dbi-users list may.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20569-0@oink>;
          Mon, 20 May 1996 20:55:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832620687:13527:1; Mon, 20 May 96 20:31:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12342; 20 May 96 20:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA16038 for dbi-users-real; Mon, 20 May 1996 12:22:46 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA16034 
          for <dbi-users@fugue.com>; Mon, 20 May 1996 12:22:37 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab06052; 20 May 96 19:24 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac10339; 20 May 96 19:24 +0100
Received: from toad by oink with SMTP (PP) id <15776-0@oink>;
          Mon, 20 May 1996 18:17:55 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00630;
          Mon, 20 May 1996 18:16:57 +0000
Date: Mon, 20 May 1996 18:16:57 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605201716.AA00630@toad.ig.co.uk>
To: dbi-users@fugue.com, HNguyenk@bdm.com
Subject: Re: DBPERL
X-Sun-Charset: US-ASCII
content-length: 1183
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Hoa Nguyenkhoa <HNguyenk@bdm.com>
> 
> Is there a sequentail step to install perl in HP 9000 K200 series and
> HP-UX 10.01 and Oracle version 7.2?

Do a 'make realclean' and then apply this patch to the Makefile.PL and
start over:

diff -c -r1.35 Makefile.PL
*** 1.35	1996/05/07 20:47:15
--- Makefile.PL	1996/05/17 10:20:12
***************
*** 83,89 ****
  # Since the # .a libs that Oracle supplies contain non-PIC object
  # files, we sadly have to build static on HP-UX :(
  # XXX Fixed for HP-UX 10 and Oracle 7.2
! if ($Config{osname} eq 'hpux') {
      print "Warning: forced to build static not dynamic on $Config{osname}\n";
      print "         See README and Makefile.PL for more information.\n";
      $opts{LINKTYPE} = 'static';
--- 83,89 ----
  # Since the # .a libs that Oracle supplies contain non-PIC object
  # files, we sadly have to build static on HP-UX :(
  # XXX Fixed for HP-UX 10 and Oracle 7.2
! if ($Config{osname} eq 'hpux' and $Config{osver} < 10) {
      print "Warning: forced to build static not dynamic on $Config{osname}\n";
      print "         See README and Makefile.PL for more information.\n";
      $opts{LINKTYPE} = 'static';

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20570-2@oink>;
          Mon, 20 May 1996 20:56:43 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 832618919:17559:3; Mon, 20 May 96 20:01:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17365; 20 May 96 20:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA15952 for dbi-users-real; Mon, 20 May 1996 11:55:25 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA15948 
          for <dbi-users@fugue.com>; Mon, 20 May 1996 11:55:17 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa06307; 20 May 96 19:26 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af10339; 20 May 96 19:26 +0100
Received: from toad by oink with SMTP (PP) id <13860-0@oink>;
          Mon, 20 May 1996 18:02:34 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00453;
          Mon, 20 May 1996 18:02:21 +0000
Date: Mon, 20 May 1996 18:02:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9605201702.AA00453@toad.ig.co.uk>
To: dbi-users@fugue.com, maparent@zorro.crim.ca
Subject: Re: DBD_Oracle with Oracle Text Services
X-Sun-Charset: US-ASCII
content-length: 436
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Marc-Antoine Parent <maparent@zorro.crim.ca>
> 
> Did anybody try using Oracle Text Services Extended SQL queries with 
> DBD_Oracle? Is there a fundamental reason why it should or should not 
> work, and hom much fiddling around and for how long I should expect to get 
> me anywhere? Any hint/experience appreciated.

If it's done server side then there should be no problem.

Suck it an see. It'll either work or not.

Tim.
---+++---
