Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06267-0@oink>;
          Wed, 10 Jul 1996 03:43:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 836965330:17930:2; Wed, 10 Jul 96 03:22:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17780; 10 Jul 96 3:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA09338 for dbi-users-real; Tue, 9 Jul 1996 19:14:21 -0700
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 TAA09334 
          for <dbi-users@fugue.com>; Tue, 9 Jul 1996 19:14:20 -0700
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id TAA00016; Tue, 9 Jul 1996 19:11:35 -0700
Message-Id: <199607100211.TAA00016@voro.lbl.gov>
X-Mailer: exmh version 1.6.2 7/18/95
To: Dave Anderson - SMCC Reseller SE - Cary NC <david.anderson@east.sun.com>
cc: dbi-users@fugue.com, danderso@east.sun.com
Subject: Re: LD_LIBRARY_PATH problem
In-reply-to: Your message of "Tue, 09 Jul 1996 17:46:07 EDT." <31E2D31F.1F43@east.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 09 Jul 1996 19:11:35 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>

>From: Dave Anderson - SMCC Reseller SE - Cary NC <david.anderson@east.sun.com>
> Greetings,
> 
> I'm writing a small web application the uses the Oracle DB driver but
> I've been having some problems.  Apparently, the script I've written
> only works if I have LD_LIBRARY_PATH set to the $ORACLE_HOME/lib
> directory.  Otherwise, it give me the following error:
> 
> install_driver(Oracle) failed: Can't load '/opt/local/perl5/lib/site_perl/sun
4-solaris/auto/DBD/Oracle/Oracle.so'
> for module DBD::Oracle: ld.so.1: /opt/local/bin/perl: fatal:
> libclntsh.so.1.0: can't open file: errno=2 at
> /opt/local/perl5/lib/DynaLoader.pm line 140.
> 
>  at /opt/local/perl5/lib/site_perl/DBD/Oracle.pm line 24
>         DBI::install_driver called at xx.pl line 7
> 
> 
> This is not a problem when I ran my perl scripts by hand because I can
> set the LD_LIBRARY_PATH variable but I don't see a way to do this with
> CGI/Perl.  BTW, I have tried to use
> $ENV{'LD_LIBRARY_PATH'}=$ORACLE_HOME/lib but I haven't had any luck
> getting it to work.  Is there a way around this error or procedure so
> that I don't need to use the LD_LIBRARY_PATH variable? Are there any
> compiler flags such as -R that will help this problem?
> 
> Other information:
> OS/Version: Solaris 2.5
> Perl Version: 5.002
> Oracle: 7.3.2
> 
> 
> Any pointers or comments are welcome.

Wrap the ENV in a BEGIN { } END block.  

BEGIN { $ENV{'LD_LIBRARY_PATH'}=$ORACLE_HOME/lib ; } END

I think this may not be necessary with the newest DBI.

> 
> TIA,
> Dave


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06266-5@oink>;
          Wed, 10 Jul 1996 03:44:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 836966572:12660:1; Wed, 10 Jul 96 03:42:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12300; 10 Jul 96 3:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA09395 for dbi-users-real; Tue, 9 Jul 1996 19:38: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 TAA09391 
          for <dbi-users@fugue.com>; Tue, 9 Jul 1996 19:38:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id af17714; 10 Jul 96 2:37 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab21138; 10 Jul 96 3:14 +0100
Received: from toad by oink with SMTP (PP) id <06126-0@oink>;
          Wed, 10 Jul 1996 03:10:39 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA10977;
          Wed, 10 Jul 1996 03:10:31 +0000
Date: Wed, 10 Jul 1996 03:10:31 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607100210.AA10977@toad.ig.co.uk>
To: dbi-users@fugue.com, david.anderson@east.sun.com
Subject: Re: LD_LIBRARY_PATH problem
X-Sun-Charset: US-ASCII
content-length: 1292
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Dave Anderson - SMCC Reseller SE - Cary NC <david.anderson@east.sun.com>
> 
> Greetings,
> 
> I'm writing a small web application the uses the Oracle DB driver but
> I've been having some problems.  Apparently, the script I've written
> only works if I have LD_LIBRARY_PATH set to the $ORACLE_HOME/lib
> directory.  Otherwise, it give me the following error:
> 
> install_driver(Oracle) failed: Can't load '/opt/local/perl5/lib/site_perl/sun4-solaris/auto/DBD/Oracle/Oracle.so'
> for module DBD::Oracle: ld.so.1: /opt/local/bin/perl: fatal:
> libclntsh.so.1.0: can't open file: errno=2 at
> 
> This is not a problem when I ran my perl scripts by hand because I can
> set the LD_LIBRARY_PATH variable but I don't see a way to do this with
> CGI/Perl.  BTW, I have tried to use
> $ENV{'LD_LIBRARY_PATH'}=$ORACLE_HOME/lib but I haven't had any luck
> getting it to work.  Is there a way around this error or procedure so
> that I don't need to use the LD_LIBRARY_PATH variable? Are there any
> compiler flags such as -R that will help this problem?
> 
> Other information:
> OS/Version: Solaris 2.5
> Perl Version: 5.002
> Oracle: 7.3.2

Common mistakes:

	- not telling me the version of DBD::Oracle being used
	  (use 0.35)
and
	- not putting $ENV{...} into a BEGIN block.

:-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07040-1@oink>;
          Wed, 10 Jul 1996 07:37:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 836967772:19713:2; Wed, 10 Jul 96 04:02:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19444; 10 Jul 96 4:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA09421 for dbi-users-real; Tue, 9 Jul 1996 19:59:14 -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 TAA09414;
          Tue, 9 Jul 1996 19:59:12 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac24720; 10 Jul 96 2:59 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa22903; 10 Jul 96 3:51 +0100
Received: from toad by oink with SMTP (PP) id <06362-0@oink>;
          Wed, 10 Jul 1996 03:51:26 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11584;
          Wed, 10 Jul 1996 03:51:18 +0000
Date: Wed, 10 Jul 1996 03:51:18 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607100251.AA11584@toad.ig.co.uk>
To: dbi-announce@fugue.com
Subject: Announce: DBI-0.71 and DBD-Oracle-0.36
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 657
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Changes in DBI 0.71,    10 July 1996

    Removed spurious abort() from invalid handle check.
    Added quote method to DBI interface and added test.

Changes in DBD::Oracle 0.36 (Oraperl 1.28), 10 July 1996

    Fixed bind_param ora_type attribute.
    Fixed preparse to allocate enough memory for worst case.
    Fixed broken HP-UX 10 check in Makefile.PL.
    Other assorted Makefile.PL improvements.
    (Many thanks to those who sent in fixes.)

Note that DBD::Oracle 0.36 requires DBI 0.71 and both require perl 5.003.

Uploaded to ftp://ftp.demon.co.uk/pub/perl/db/ DBI/ and DBD/Oracle/ as usual.
Should propogate around CPAN in a day or two.

Tim.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07040-3@oink>;
          Wed, 10 Jul 1996 07:37:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 836968279:22622:5; Wed, 10 Jul 96 04:11:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22514; 10 Jul 96 4:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA09449 for dbi-users-real; Tue, 9 Jul 1996 20:06:24 -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 UAA09445 
          for <dbi-users@fugue.com>; Tue, 9 Jul 1996 20:06:22 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac26955; 10 Jul 96 3:06 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac21138; 10 Jul 96 3:14 +0100
Received: from toad by oink with SMTP (PP) id <06151-0@oink>;
          Wed, 10 Jul 1996 03:13:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA10990;
          Wed, 10 Jul 1996 03:13:35 +0000
Date: Wed, 10 Jul 1996 03:13:35 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607100213.AA10990@toad.ig.co.uk>
To: dbi-users@fugue.com, xuhao@cs.pdx.edu
Subject: Re: Question
X-Sun-Charset: US-ASCII
content-length: 863
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: xuhao@cs.pdx.edu (Hao Xu)
> 
> Now, I have nearly finished compiling, but
> whenever I run a DBperl script, there is
> 'Bus Error(core dump)' *after* the script
> is executed.
> 
> I.E., things work now, but the last message
> of core dump frustrates me a lot, though it
> seems to be not prevent me from working:->
> 
> I found that the core dump is due to
> "eval 'use Oraperl; 1' || die $@ if ] >=5;"
> 
> Could you give me any hint on this? This is my 
> problem of installation or your bug?
> 
> p.s.: besides, i didn't find the core file after all.

Make sure you are using the latest version.

Read *all* the README *carefully* and then send *all* the
information it asks for, especially logs of the build.

You could also find the core file and get the Devel::CoreStack
module from a CPN site and use it to get a stack trace from the core.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <08315-1@oink>;
          Wed, 10 Jul 1996 12:03:35 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 836985824:24144:1; Wed, 10 Jul 96 09:03:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23638; 10 Jul 96 9:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA09765 for dbi-users-real; Wed, 10 Jul 1996 00:56:01 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from butterfly (root@butterfly.hgf.de [194.173.67.99]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA09761 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 00:55:59 -0700
Received: from freddie.hgf.de (freddie.hgf.de [194.173.67.5]) 
          by butterfly (8.6.12/8.6.12) with SMTP id KAA02620 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 10:00:11 +0200
Message-ID: <31E36202.5DC1@sektor.de>
Date: Wed, 10 Jul 1996 09:55:46 +0200
From: Volker Richert <volkerr@sektor.de>
Reply-To: volkerr@sektor.de
Organization: Sektor Online Services GmbH
X-Mailer: Mozilla 3.0b5a (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
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09187-1@oink>;
          Wed, 10 Jul 1996 15:25:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837006673:17962:0; Wed, 10 Jul 96 14:51:13 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa17241; 10 Jul 96 14:50 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa17043; 10 Jul 96 14:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA10031 for dbi-users-real; Wed, 10 Jul 1996 06:36:15 -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 GAA10027 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 06:35:29 -0700
Received: by gateway1.srs.gov id AA05629 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Wed, 10 Jul 1996 09:33:45 -0400
Message-Id: <199607101333.AA05629@gateway1.srs.gov>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
          Wed, 10 Jul 1996 09:33:45 -0400
Date: Wed, 10 Jul 1996 09:33:04 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: Error message
To: dbi-users@fugue.com
Mime-Version: 1.0
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.4 sun4m)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I had already deleted my old mail, but I seem to recall someone asking
about an error message like this:

Can't load '/usr/local/lib/perl5/sun4-solaris/auto/DBI/DBI.so' for
module DBI: ld.so.1: /usr/local/bin/perl: fatal: relocation error:
symbol not found: sv_undef: referenced in
/usr/local/lib/perl5/sun4-solaris/auto/DBI/DBI.so at
/usr/local/lib/perl5/DynaLoader.pm line 140.
 
 at /usr/local/lib/perl5/DBI.pm line 32
BEGIN failed--compilation aborted at ./nph-msds_sql_access.pl line 5.

(or maybe it was some other error)  Anyway, this just happened to me
too.  The problem was that I upgraded from perl 5.002 to 5.003.

To fix I installed DBD::Oracle 0.36 that Tim just announced.

-- 
---
James Taylor              | All opinions expressed here are my
Net: james.taylor@srs.gov | own and should not be interpreted as
Phone: (803) 725-5323     | representing the views of DOE or WSRC.
---
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09923-4@oink>;
          Wed, 10 Jul 1996 18:01:15 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837016139:22590:5; Wed, 10 Jul 96 17:28:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22215; 10 Jul 96 17:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA10309 for dbi-users-real; Wed, 10 Jul 1996 09:19:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vogon.informatik.hu-berlin.de (vogon.informatik.hu-berlin.de [141.20.33.30]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA10298 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 09:19:34 -0700
Received: (from tschirpk@localhost) 
          by vogon.informatik.hu-berlin.de (8.7.4/8.7.1) id RAA00249 
          for dbi-users@fugue.com; Wed, 10 Jul 1996 17:18:36 +0200
From: Steffen Tschirpke <tschirpk@vogon.informatik.hu-berlin.de>
Message-Id: <9607101718.ZM248@vogon.informatik.hu-berlin.de>
Date: Wed, 10 Jul 1996 17:18:35 +0200
X-Mailer: Z-Mail (3.2.1 24feb96 Caldera)
To: dbi-users@fugue.com
Subject: unsubscribe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

unsubscribe
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11157-10@oink>;
          Wed, 10 Jul 1996 23:03:09 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837031063:25095:3; Wed, 10 Jul 96 21:37:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa24223; 10 Jul 96 21:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA10840 for dbi-users-real; Wed, 10 Jul 1996 13:29:25 -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 NAA10836 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 13:29:23 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id VAA26142; Wed, 10 Jul 1996 21:21:20 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607102021.VAA26142@fruitbat.mcqueen.com>
Subject: Re: DBD-Oracle-0.35 Make Question (no shouting)
To: jbolson@lal.cs.utah.edu (Jonathan Olson)
Date: Wed, 10 Jul 1996 21:21:19 +0100 (BST)
Cc: dbi-users@fugue.com, Tim.Bunce@ig.co.uk
In-Reply-To: <Pine.SOL.3.91.960710130127.29214A@lal.cs.utah.edu> from "Jonathan Olson" at Jul 10, 96 01:05: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: 1245


> I continue to have problems making DBD Oracle on SunOS 5.5.
> 
> Please forgive me if this is already in the README file (I searched but 
> could find nothing), or a stupid compiler question (man, Tim really made me 
> feel bad).
> 
> # make
> LD_RUN_PATH="/usr/oracle/lib:/lib" cc -o 
> blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o  
> dbdimp.o /usr/oracle/lib/osntab.o   -L/usr/oracle/lib -locic -lsqlnet 
> -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm  
> ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
> process using elf(3E) libraries
> ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
> process using elf(3E) libraries
> ld: fatal: library -locic: not found
> ... Much much more of stuff like this ...
> 
> Any help/flames appreciated.

Are you running with a SunOS4.x compiler or SunOS4.x ORACLE RDBMS release?
If you're not, and you've upgraded to Solaris recently, you need to upgrade
your RDBMS binaries and libraries to native Solaris ELF.

> Jonathan

-- 
Alligator Descartes	| "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		|     "Ohhh! Dearie me!"
descarte@hermetica.com	|         -- The High Life 
http://www.hermetica.com| 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11157-19@oink>;
          Wed, 10 Jul 1996 23:03:42 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837035310:18641:2; Wed, 10 Jul 96 22:48:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17700; 10 Jul 96 22:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10698 for dbi-users-real; Wed, 10 Jul 1996 12:12:31 -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 MAA10694 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 12:12:30 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id UAA25598 for dbi-users@fugue.com; Wed, 10 Jul 1996 20:04:42 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607101904.UAA25598@fruitbat.mcqueen.com>
Subject: FAQ Updates
To: dbi-users@fugue.com
Date: Wed, 10 Jul 1996 20:04:42 +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: 346


The FAQ has been updated to cover perl4 DBperl modules, and why you should
use the perl5 ones, Emulation layers and some common compilation problems.

-- 
Alligator Descartes	| "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		|     "Ohhh! Dearie me!"
descarte@hermetica.com	|         -- The High Life 
http://www.hermetica.com| 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11191-8@oink>;
          Wed, 10 Jul 1996 23:08:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837022481:01324:1; Wed, 10 Jul 96 19:14:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01084; 10 Jul 96 19:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA10520 for dbi-users-real; Wed, 10 Jul 1996 11:08:15 -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 LAA10516 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 11:08:04 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id av12654; 10 Jul 96 18:05 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa28978; 10 Jul 96 15:52 +0100
Received: from toad by oink with SMTP (PP) id <09215-0@oink>;
          Wed, 10 Jul 1996 15:33:07 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15375;
          Wed, 10 Jul 1996 15:32:50 +0000
Date: Wed, 10 Jul 1996 15:32:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607101432.AA15375@toad.ig.co.uk>
To: dbi-users@fugue.com, james.taylor@srs.gov
Subject: Re: Error message
X-Sun-Charset: US-ASCII
content-length: 887
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: James Taylor <james.taylor@srs.gov>
> 
> I had already deleted my old mail, but I seem to recall someone asking
> about an error message like this:
> 
> Can't load '/usr/local/lib/perl5/sun4-solaris/auto/DBI/DBI.so' for
> module DBI: ld.so.1: /usr/local/bin/perl: fatal: relocation error:
> symbol not found: sv_undef: referenced in
> /usr/local/lib/perl5/sun4-solaris/auto/DBI/DBI.so at
> /usr/local/lib/perl5/DynaLoader.pm line 140.
>  
>  at /usr/local/lib/perl5/DBI.pm line 32
> BEGIN failed--compilation aborted at ./nph-msds_sql_access.pl line 5.
> 
> (or maybe it was some other error)  Anyway, this just happened to me
> too.  The problem was that I upgraded from perl 5.002 to 5.003.
> 
> To fix I installed DBD::Oracle 0.36 that Tim just announced.

Such errors relate to a change in perl between 5.002 and 5.003.
You need to rebuild all third-party extensions.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11191-25@oink>;
          Wed, 10 Jul 1996 23:09:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837026018:11043:2; Wed, 10 Jul 96 20:13:38 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa10787; 10 Jul 96 20:13 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa26732; 10 Jul 96 20:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA10683 for dbi-users-real; Wed, 10 Jul 1996 12:09:32 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cs.utah.edu (cs.utah.edu [128.110.4.21]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA10679 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 12:09:31 -0700
Received: from lal.cs.utah.edu by cs.utah.edu (8.6.12/utah-2.21-cs) id NAA03475;
          Wed, 10 Jul 1996 13:05:47 -0600
Received: by lal.cs.utah.edu (8.6.12/utah-2.15sun-leaf) id NAA29457;
          Wed, 10 Jul 1996 13:05:39 -0600
Date: Wed, 10 Jul 1996 13:05:38 -0600 (MDT)
From: Jonathan Olson <jbolson@lal.cs.utah.edu>
To: dbi-users@fugue.com
cc: Tim.Bunce@ig.co.uk
Subject: DBD-Oracle-0.35 Make Question (no shouting)
Message-ID: <Pine.SOL.3.91.960710130127.29214A@lal.cs.utah.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


I continue to have problems making DBD Oracle on SunOS 5.5.

Please forgive me if this is already in the README file (I searched but 
could find nothing), or a stupid compiler question (man, Tim really made me 
feel bad).

# make
LD_RUN_PATH="/usr/oracle/lib:/lib" cc -o 
blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o  
dbdimp.o /usr/oracle/lib/osntab.o   -L/usr/oracle/lib -locic -lsqlnet 
-lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm  
ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
process using elf(3E) libraries
ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
process using elf(3E) libraries
ld: fatal: library -locic: not found
... Much much more of stuff like this ...

Any help/flames appreciated.

Jonathan


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12419-9@oink>;
          Thu, 11 Jul 1996 01:27:11 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837042547:14236:3; Thu, 11 Jul 96 00:49:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa14006; 11 Jul 96 0:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA11336 for dbi-users-real; Wed, 10 Jul 1996 16:46:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from yucca.cs.odu.edu (yucca.cs.odu.edu [128.82.4.6]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA11332 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 16:46:54 -0700
Received: from fabio.cs-suns (fabio@fabio.cs.odu.edu [128.82.5.86]) 
          by yucca.cs.odu.edu (8.7.3/8.6.4) with SMTP id TAA16258 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 19:12:37 -0400 (EDT)
Received: by fabio.cs-suns (SMI-8.6/SMI-SVR4) id TAA02571;
          Wed, 10 Jul 1996 19:09:37 -0400
Date: Wed, 10 Jul 1996 19:09:37 -0400
From: fabio@cs.odu.edu (Andrea Di Fabio)
Message-Id: <199607102309.TAA02571@fabio.cs-suns>
To: dbi-users@fugue.com
Subject: unsubscribe

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12420-9@oink>;
          Thu, 11 Jul 1996 01:27:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837041970:00586:1; Thu, 11 Jul 96 00:39:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00480; 11 Jul 96 0:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA11279 for dbi-users-real; Wed, 10 Jul 1996 16:33:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from austin.asc.slb.com (PIGPEN-CLEAR.AUSTIN.ASC.SLB.COM [163.185.74.6]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA11275 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 16:32:59 -0700
Received: from batman (BATMAN-CLEAR.AUSTIN.ASC.SLB.COM) 
          by austin.asc.slb.com (4.1/relay.951226a) id AA00431 
          for <dbi-users@fugue.com>; Wed, 10 Jul 96 18:30:47 CDT
Received: from jade by batman (4.1/client.nfs.930819) id AA00559;
          Wed, 10 Jul 96 18:30:47 CDT
Message-Id: <31E43D1D.74D1@slb.com>
Date: Wed, 10 Jul 1996 18:30:37 -0500
From: Jim Fox <jfox@slb.com>
X-Mailer: Mozilla 2.02 (X11; I; SunOS 5.5 sun4m)
Mime-Version: 1.0
To: dbi-users@fugue.com
Cc: "Fox, J.R." <fox@austin.apc.slb.com>, Tim.Bunce@ig.co.uk
Subject: Trouble with DBI-0.71, DBD-Oracle-0.36, Oracle 7.3.2.1.0, Solaris 2.5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

In order to get DBI/DBD flying on NT, I thought I should get
current on perl 5.003, Solaris 2.5 and Oracle 7.3.2.1.0.  I've
run into 3 problems building DBI-0.71 and DBD-Oracle-0.36.
(The requirement for 5.003 may mean I'm SOL on NT for now....)


Problem #1
==========
In proc.mk, CCFLAGS gets defined by the included file:
  include $(ORACLE_HOME)/precomp/env_precomp.mk
to the value:
  CCFLAGS= -Xc -xstrconst -xcg92 -xF -mr -K PIC -DSLXMX_ENABLE
-DSLTS_ENABLE -D_REENTRANT

During make, I see:

 cc: Warning: multiple use of -K option, previous one discarded.

Makefile.PL appends a -Kpic (from config) to these flags.
I reconfigured and rebuilt perl with -K PIC.
(If not, the more stringent -K PIC would be overridden by
the later-occurring and less stringent -K pic.)
Correcting to -K PIC still leaves the compile error.

Problem #2
==========

The compile of Oracle.c fails with the following (inter alia):

  "/scratch/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h", line 1367:
   undefined or not a type: sigjmp_buf

To fix the compile error, I manually removed -Xc from CCFLAGS
(this also comes from env_prcomp.mk).  I'll look at how
to get Makefile.PL to do this now that I know the problem.


Problem #3
===========
The next problem is libclntsh.so is not found at runtime.
I don't know why LD_RUN_PATH is being ignored during the
build--I tried both csh and sh.  I'll try to figure out
how to get -R $(LIBHOME) into the link command tomorrow.  
I have to set LD_LIBRARY_PATH to get the tests to pass, or
patch the link command with -R $(LIBHOME).

Here's the requested log of the make (before removing -Xc)
and perl -V (before rebuilding with -K PIC instead of -Kpic):

fox@jade 46 % perl Makefile.PL

 Configuring DBD::Oracle ...

>>>	Remember to actually *READ* the README file!

Using Oracle in /gf/env/solaris2/oracle-7.3.2
Using /gf/env/solaris2/oracle-7.3.2/precomp/demo/proc/proc.mk
/gf/env/solaris2/oracle-7.3.2/precomp/env_precomp.mk 
Warning: Solaris 2.5 bug #1224467 may cause '_rmutex_unlock' error.
Deleting -lthread from link list as a possible workround.
System: perl5.003 sunos jade 5.5 generic_103093-02 sun4m sparc
sunw,sparcstation-5 
Compiler: cc -O -I/scratch/local/include
Linker:   /usr/ccs/bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       cc
  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS)
$(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)
  LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) -L/opt/SUNWcluster/lib
-R/opt/SUNWcluster/lib
Linking with  -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm
-ldl -lm 

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
fox@jade 47 % make
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
perl -I/scratch/local/lib/perl5/sun4-solaris/5.003
-I/scratch/local/lib/perl5 /scratch/local/lib/perl5/ExtUtils/xsubpp
-typemap /scratch/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc
&& mv Oracle.tc Oracle.c
cc -c -I. -I/gf/env/solaris2/oracle-7.3.2/precomp/public
-I/gf/env/solaris2/oracle-7.3.2/rdbms/demo
-I/scratch/local/lib/perl5/site_perl/sun4-solaris/DBI
-I/scratch/local/lib/perl5/sun4-solaris/5.003/DBI -Xc -xstrconst -xcg92
-xF -mr -K PIC -DSLXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT -xO4
-DVERSION=\"0.36\"  -DXS_VERSION=\"0.36\" -Kpic
-I/scratch/local/lib/perl5/sun4-solaris/5.003/CORE  Oracle.c
cc: Warning: multiple use of -K option, previous one discarded.
"/scratch/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h", line 1367:
undefined or not a type: sigjmp_buf
"/scratch/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h", line 1367:
syntax error before or at: top_env
"/scratch/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h", line 1367:
warning: old-style declaration or incorrect type for: top_env
"Oracle.c", line 144: warning: end-of-loop code not reached
"Oracle.c", line 256: warning: end-of-loop code not reached
"Oracle.c", line 265: warning: end-of-loop code not reached
"Oracle.c", line 305: warning: end-of-loop code not reached
"Oracle.c", line 400: warning: end-of-loop code not reached
"Oracle.c", line 404: warning: end-of-loop code not reached
cc: acomp failed for Oracle.c
*** Error code 2
make: Fatal error: Command failed for target `Oracle.o'

fox@jade 57 % perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.5, archname=sun4-solaris
    uname='sunos jade 5.5 generic_103093-02 sun4m sparc
sunw,sparcstation-5 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-I/scratch/local/include'
    ccflags ='-I/scratch/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='cc', ldflags ='-L/scratch/local/lib -R /scratch/local/lib'
    libpth=/scratch/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G -L/scratch/local/lib -R
/scratch/local/lib'

@INC: /scratch/local/lib/perl5/sun4-solaris/5.003
/scratch/local/lib/perl5 /scratch/local/lib/perl5/site_perl/sun4-solaris
/scratch/local/lib/perl5/site_perl .

fox@jade 146 % CC -V
CC: SC4.0 18 Oct 1995 C++ 4.1
Usage: CC [ options ] files.  Use 'CC -flags' for details
fox@jade 147 % cc -v
usage: cc [ options] files.  Use 'cc -flags' for details
fox@jade 148 % uname -a
SunOS jade 5.5 Generic_103093-02 sun4m sparc SUNW,SPARCstation-5
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13079-0@oink>;
          Thu, 11 Jul 1996 02:00:45 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837046365:08713:1; Thu, 11 Jul 96 01:52:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08228; 11 Jul 96 1:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA11423 for dbi-users-real; Wed, 10 Jul 1996 17:47:38 -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 RAA11419 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 17:47:35 -0700
Received: from mailsun2.us.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id RAA13410; Wed, 10 Jul 1996 17:47:34 -0700
Received: by mailsun2.us.oracle.com (SMI-8.6/37.8) id RAA26681;
          Wed, 10 Jul 1996 17:50:54 -0700
Message-Id: <199607110050.RAA26681@mailsun2.us.oracle.com>
Date: 10 Jul 96 17:45:01 -0700
From: CGOODRIC <CGOODRIC@us.oracle.com>
To: dbi-users@fugue.com
Subject: Having problems getting DBD to work
MIME-Version: 1.0
X-Mailer: Oracle InterOffice (version 2.1.16.1.0)
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"

I can get everything to compile but during the tests, the dynamic loader  
complains that it can't find the object "osnptt". It's called from 
$ORACLE_HOME/lib/osntab.o but beyond that, I don't know what it does. 
 
Platform:	Sun SparcCenter 1000 
OS:		Solaris 2.4 
Oracle Version:	7.3.2.1 (This is production as far as I know.) 
Perl Version:	5.003 
GCC Version:	2.5.8	(The DBI and DBD builds both complain that gcc is 
really  
                         old but I haven't been able to find a newer one.) 
DBI Version:	0.71 
DBD Version:	0.36 
 
Typescript from the DBD build follows .sig. 
 
Anyone have any ideas? 
 
 
Thanx, 
 
Calvin. 
 
Disclaimer: My inability to figure out the Oracle code is in no way a 
            reflection on Oracle as a whole. I'm just a sysadmin and barely 
            know my way around "select * from ..." :] 
 
 
___________________________________________________________________________ 
 
 .  .		    Calvin Goodrich	  "Kill 'em all. 
 |\/|assively 	    Systems Manager, MPP   Let /etc/init sort 'em out." 
 | _|_		    Oracle, Inc.	    - Me   
   |__)arallel	    Phone: 415/506-9680 
   | ___	    Fax:   415/506-7409 
     |__)roducts    Pager: 800/SKYPAGE PIN#4954355 or 
     |		           4954355@skymail.com (<240 chars) 
		    Email: cgoodric@us.oracle.com 
___________________________________________________________________________ 
    For MPP Technical and Marketing questions email INFOMPP@us.oracle.com 
  
 
----%<---- DBD build output -----%<----- 
Script started on Wed Jul 10 17:22:56 1996 
mpserv1% ksh 
cgoodric@mpserv1[936] perl Makefile.PL 
 
 Configuring DBD::Oracle ... 
 
>>>	Remember to actually *READ* the README file! 
 
Using Oracle in /usr/oracle 
Using /usr/oracle/proc/lib/proc.mk (version 1.17) 
WARNING: Your GNU C compiler is very old. Please upgrade. 
System: perl5.003 sunos mpserv1 5.4 generic_101945-27 sun4d sparc  
Compiler: gcc -O  
Linker:   /usr/ccs/bin/ld 
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 
Linking with /usr/oracle/lib/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora 
-lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl  
 
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 
cgoodric@mpserv1[937] make 
cp Oraperl.pm ./blib/lib/Oraperl.pm 
cp Oracle.pm ./blib/lib/DBD/Oracle.pm 
cp oraperl.ph ./blib/lib/oraperl.ph 
/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.003 -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/usr/oracle/rdbms/demo 
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI 
-I/usr/local/lib/perl5/sun4-solaris/5.003/DBI  -O     -DVERSION=\"0.36\"  
-DXS_VERSION=\"0.36\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE 
-Wall -pedantic -Wno-comment -Wtraditional Oracle.c 
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/param.h:37, 
                 from /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h:125, 
                 from 
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13, 
                 from Oracle.h:14, 
                 from Oracle.c:19: 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/types.h:47: 
warning: ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/types.h:48: 
warning: ANSI C does not support `long long' 
In file included from /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h:131, 
                 from 
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13, 
                 from Oracle.h:14, 
                 from Oracle.c:19: 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:29: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:30: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:141: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:142: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:142: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:143: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:143: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:144: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:145: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:146: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:147: warning: 
ANSI C does not support `long long' 
Oracle.c: In function `XS_DBD__Oracle__db_disconnect': 
Oracle.c:144: warning: ANSI C forbids braced-groups within expressions 
Oracle.c: In function `XS_DBD__Oracle__st_execute': 
Oracle.c:256: warning: ANSI C forbids braced-groups within expressions 
Oracle.c:265: warning: ANSI C forbids braced-groups within expressions 
Oracle.c: In function `XS_DBD__Oracle__st_fetchrow': 
Oracle.c:305: warning: ANSI C forbids braced-groups within expressions 
Oracle.c:311: warning: ANSI C forbids braced-groups within expressions 
Oracle.c: In function `XS_DBD__Oracle__st_finish': 
Oracle.c:400: warning: ANSI C forbids braced-groups within expressions 
Oracle.c:404: warning: ANSI C forbids braced-groups within expressions 
Oracle.c: In function `boot_DBD__Oracle': 
Oracle.c:444: warning: ANSI C forbids braced-groups within expressions 
gcc -c -I/usr/oracle/rdbms/demo 
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI 
-I/usr/local/lib/perl5/sun4-solaris/5.003/DBI  -O     -DVERSION=\"0.36\"  
-DXS_VERSION=\"0.36\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE 
-Wall -pedantic -Wno-comment -Wtraditional dbdimp.c 
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/param.h:37, 
                 from /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h:125, 
                 from 
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13, 
                 from Oracle.h:14, 
                 from dbdimp.c:11: 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/types.h:47: 
warning: ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/types.h:48: 
warning: ANSI C does not support `long long' 
In file included from /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h:131, 
                 from 
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13, 
                 from Oracle.h:14, 
                 from dbdimp.c:11: 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:29: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:30: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:141: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:142: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:142: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:143: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:143: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:144: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:145: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:146: warning: 
ANSI C does not support `long long' 
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:147: warning: 
ANSI C does not support `long long' 
dbdimp.c: In function `dbd_st_blob_read': 
dbdimp.c:756: warning: ANSI C forbids braced-groups within expressions 
dbdimp.c: At top level: 
dbdimp.c:126: warning: `dump_error_status' defined but not used 
Running Mkbootstrap for DBD::Oracle () 
chmod 644 Oracle.bs 
LD_RUN_PATH="/usr/oracle/lib:/lib" gcc -o blib/arch/auto/DBD/Oracle/Oracle.so 
-G -L/usr/local/lib Oracle.o  dbdimp.o /usr/oracle/lib/osntab.o 
/usr/oracle/lib/__fstd.o   -L/usr/oracle/lib -locic -lsqlnet -lora -lsqlnet 
-lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl  
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 
cgoodric@mpserv1[938] make test TEST_VERBOSE=1 
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib 
-I/usr/local/lib/perl5/sun4-solaris/5.003 -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: 
/bin/perl: fatal: relocation error: symbol not found: osnptt: 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 24 
	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) 
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay. 
*** Error code 29 
make: Fatal error: Command failed for target `test_dynamic' 
cgoodric@mpserv1[939] exit 
mpserv1% exit 
mpserv1%  
script done on Wed Jul 10 17:24:08 1996 

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13521-4@oink>;
          Thu, 11 Jul 1996 03:27:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837049481:01599:3; Thu, 11 Jul 96 02:44:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01428; 11 Jul 96 2:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA11471 for dbi-users-real; Wed, 10 Jul 1996 18:31:40 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id SAA11467 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 18:31:38 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id af05305;
          11 Jul 96 2:02 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa02600; 11 Jul 96 1:50 +0100
Received: from toad by oink with SMTP (PP) id <12492-0@oink>;
          Thu, 11 Jul 1996 01:49:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20999;
          Thu, 11 Jul 1996 01:49:49 +0000
Date: Thu, 11 Jul 1996 01:49:49 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607110049.AA20999@toad.ig.co.uk>
To: dbi-users@fugue.com, fabio@cs.odu.edu
Subject: Re: unsubscribe
X-Sun-Charset: US-ASCII
content-length: 1681
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: fabio@cs.odu.edu (Andrea Di Fabio)
> 
> unsubscribe
> 

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

Cc: dbi-users@fugue.com
Subject: HOW TO UNSUBSCRIBE
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 <13521-6@oink>;
          Thu, 11 Jul 1996 03:28:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837050606:08647:3; Thu, 11 Jul 96 03:03:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08321; 11 Jul 96 3:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA11520 for dbi-users-real; Wed, 10 Jul 1996 18:56:34 -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 SAA11516 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 18:56:32 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id CAA29448; Thu, 11 Jul 1996 02:47:13 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607110147.CAA29448@fruitbat.mcqueen.com>
Subject: Re: Having problems getting DBD to work
To: CGOODRIC@us.oracle.com (CGOODRIC)
Date: Thu, 11 Jul 1996 02:47:13 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199607110050.RAA26681@mailsun2.us.oracle.com> from "CGOODRIC" at Jul 10, 96 05:45:01 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: 1205


> I can get everything to compile but during the tests, the dynamic loader  
> complains that it can't find the object "osnptt". It's called from 
> $ORACLE_HOME/lib/osntab.o but beyond that, I don't know what it does. 
>  
> Platform:	Sun SparcCenter 1000 
> OS:		Solaris 2.4 
> Oracle Version:	7.3.2.1 (This is production as far as I know.) 
> Perl Version:	5.003 
> GCC Version:	2.5.8	(The DBI and DBD builds both complain that gcc is 
> really  
>                          old but I haven't been able to find a newer one.) 
> DBI Version:	0.71 
> DBD Version:	0.36 
>  
> Typescript from the DBD build follows .sig. 
>  
> Anyone have any ideas? 

Upgrade gcc. You can get the latest which is 2.7.2 from prep.ai.mit.edu,
or your nearest GNU mirror.

I'm going to make the sweeping comment that the gcc version *may* be the problem
since osntab.o is in the link line. There were link order issues on earlier
gcc versions, which is what you may be seeing. So, upgrade immediately and
try again.

> Calvin. 

-- 
Alligator Descartes	| "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		|     "Ohhh! Dearie me!"
descarte@hermetica.com	|         -- The High Life 
http://www.hermetica.com| 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13521-8@oink>;
          Thu, 11 Jul 1996 03:28:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837051163:12221:4; Thu, 11 Jul 96 03:12:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12138; 11 Jul 96 3:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA11539 for dbi-users-real; Wed, 10 Jul 1996 19:07:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA11535 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 19:07:42 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id ae05770;
          11 Jul 96 2:27 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa03205; 11 Jul 96 2:00 +0100
Received: from toad by oink with SMTP (PP) id <13029-0@oink>;
          Thu, 11 Jul 1996 01:58:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21021;
          Thu, 11 Jul 1996 01:58:39 +0000
Date: Thu, 11 Jul 1996 01:58:39 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607110058.AA21021@toad.ig.co.uk>
To: dbi-users@fugue.com, jfox@slb.com
Subject: Re: Trouble with DBI-0.71, DBD-Oracle-0.36, Oracle 7.3.2.1.0, Solaris 
         2.5
Cc: fox@austin.apc.slb.com
X-Sun-Charset: US-ASCII
content-length: 1624
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Jim Fox <jfox@slb.com>
> 
> In order to get DBI/DBD flying on NT, I thought I should get
> current on perl 5.003, Solaris 2.5 and Oracle 7.3.2.1.0.  I've
> run into 3 problems building DBI-0.71 and DBD-Oracle-0.36.
> (The requirement for 5.003 may mean I'm SOL on NT for now....)

You could get away with 5.002 easily or 5.001m with some pain.

> Problem #1
> ==========
> In proc.mk, CCFLAGS gets defined by the included file:
>   include $(ORACLE_HOME)/precomp/env_precomp.mk
> to the value:
>   CCFLAGS= -Xc -xstrconst -xcg92 -xF -mr -K PIC -DSLXMX_ENABLE
> -DSLTS_ENABLE -D_REENTRANT
> 
> During make, I see:
> 
>  cc: Warning: multiple use of -K option, previous one discarded.
> 
> Makefile.PL appends a -Kpic (from config) to these flags.
> I reconfigured and rebuilt perl with -K PIC.
> (If not, the more stringent -K PIC would be overridden by
> the later-occurring and less stringent -K pic.)
> Correcting to -K PIC still leaves the compile error.

It says it's a warning.

> Problem #3
> ===========
> The next problem is libclntsh.so is not found at runtime.
> I don't know why LD_RUN_PATH is being ignored during the
> build--I tried both csh and sh.  I'll try to figure out
> how to get -R $(LIBHOME) into the link command tomorrow.  
> I have to set LD_LIBRARY_PATH to get the tests to pass, or
> patch the link command with -R $(LIBHOME).
> 
> Here's the requested log of the make (before removing -Xc)
> and perl -V (before rebuilding with -K PIC instead of -Kpic):

Sending me _that_ log doesn't help me help you fix Problem #3.

Is LD_RUN_PATH getting set correctly on the ld command line?

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14272-0@oink>;
          Thu, 11 Jul 1996 07:39:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837053535:25959:3; Thu, 11 Jul 96 03:52:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25725; 11 Jul 96 3:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA11589 for dbi-users-real; Wed, 10 Jul 1996 19:42:55 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA11585 
          for <dbi-users@fugue.com>; Wed, 10 Jul 1996 19:42:53 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id bn04620;
          11 Jul 96 1:52 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac01402; 11 Jul 96 1:26 +0100
Received: from toad by oink with SMTP (PP) id <12183-0@oink>;
          Wed, 10 Jul 1996 23:32:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20590;
          Wed, 10 Jul 1996 23:32:32 +0000
Date: Wed, 10 Jul 1996 23:32:32 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607102232.AA20590@toad.ig.co.uk>
To: dbi-users@fugue.com, jbolson@lal.cs.utah.edu
Subject: Re: DBD-Oracle-0.35 Make Question (no shouting)
X-Sun-Charset: US-ASCII
content-length: 1237
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Jonathan Olson <jbolson@lal.cs.utah.edu>
> 
> I continue to have problems making DBD Oracle on SunOS 5.5.
> 
> Please forgive me if this is already in the README file (I searched but 
> could find nothing), or a stupid compiler question (man, Tim really made me 
> feel bad).

Sorry. Not my intention I can assure you.

> # make
> LD_RUN_PATH="/usr/oracle/lib:/lib" cc -o 
> blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o  
> dbdimp.o /usr/oracle/lib/osntab.o   -L/usr/oracle/lib -locic -lsqlnet 
> -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm  
> ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
> process using elf(3E) libraries
> ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
> process using elf(3E) libraries
> ld: fatal: library -locic: not found
> ... Much much more of stuff like this ...
> 
> Any help/flames appreciated.

Flames? Well how about my standard mantra about including *all* the
information the README asks for? :-)

Specifically, did the MakeMaker output say "Linker: /usr/ccs/bin/ld"?

Other than that, Alligators comments about it not being a Solaris 2
version of Oracle (or at least the libraries) sound plausable.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15321-7@oink>;
          Thu, 11 Jul 1996 11:47:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837075513:01810:1; Thu, 11 Jul 96 09:58:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01237; 11 Jul 96 9:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA12016 for dbi-users-real; Thu, 11 Jul 1996 01:50:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vogon.informatik.hu-berlin.de (vogon.informatik.hu-berlin.de [141.20.33.30]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA12012 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 01:50:48 -0700
Received: (from tschirpk@localhost) 
          by vogon.informatik.hu-berlin.de (8.7.4/8.7.1) id JAA02707 
          for dbi-users@fugue.com; Thu, 11 Jul 1996 09:49:22 +0200
From: Steffen Tschirpke <tschirpk@vogon.informatik.hu-berlin.de>
Message-Id: <9607110949.ZM2706@vogon.informatik.hu-berlin.de>
Date: Thu, 11 Jul 1996 09:49:21 +0200
X-Mailer: Z-Mail (3.2.1 24feb96 Caldera)
To: dbi-users@fugue.com
Subject: unsubscribe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

unsubscribe
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <17051-0@oink>;
          Thu, 11 Jul 1996 18:00:54 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837090940:06426:3; Thu, 11 Jul 96 14:15:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06173; 11 Jul 96 14:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA12231 for dbi-users-real; Thu, 11 Jul 1996 06:10:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from austin.asc.slb.com (PIGPEN-CLEAR.AUSTIN.ASC.SLB.COM [163.185.74.6]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA12227 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 06:10:09 -0700
Received: from batman (BATMAN-CLEAR.AUSTIN.ASC.SLB.COM) 
          by austin.asc.slb.com (4.1/relay.951226a) id AA20665 
          for <dbi-users@fugue.com>; Thu, 11 Jul 96 08:08:20 CDT
Received: from jade by batman (4.1/client.nfs.930819) id AA24765;
          Thu, 11 Jul 96 08:08:18 CDT
Message-Id: <31E4FCB6.30F2@slb.com>
Date: Thu, 11 Jul 1996 08:08:06 -0500
From: Jim Fox <jfox@slb.com>
X-Mailer: Mozilla 2.02 (X11; I; SunOS 5.5 sun4m)
Mime-Version: 1.0
To: dbi-users@fugue.com
Cc: Tim.Bunce@ig.co.uk
Subject: Re: Trouble with DBI-0.71, DBD-Oracle-0.36, Oracle 7.3.2.1.0, Solaris 
         2.5
References: <9607110058.AA21021@toad.ig.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
> 
> > From: Jim Fox <jfox@slb.com>
> >
> > [Trying to get DBI/DBD on NT again, but...]
> > (The requirement for 5.003 may mean I'm SOL on NT for now....)
> 
> You could get away with 5.002 easily or 5.001m with some pain.

Good. I'll proceed with the NT effort (and change the require...).

> Sending me _that_ log doesn't help me help you fix Problem #3.
> Is LD_RUN_PATH getting set correctly on the ld command line?

Sorry, I didn't want to make the mail any more confusing than I
already had.  I'll include the new log to show that LD_RUN_PATH
is being set in the link command.

Duh...I just figured out the problem.  We have a non-standard
installation of GDBM, which requires perl to build with -R
to be able to dynamically load GDBM, and gives the following 
link command:

LD_RUN_PATH="/gf/env/solaris2/oracle-7.3.2/lib:/lib" ld -o
  blib/arch/auto/DBD/Oracle/Oracle.so -G -L/scratch/local/lib 
  -R /scratch/local/lib Oracle.o  dbdimp.o
  /gf/env/solaris2/oracle-7.3.2/lib/__fstd.o 
  -L/gf/env/solaris2/oracle-7.3.2/lib -lclntsh -lsql -lsqlnet -lncr
  -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet 
  -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 
  -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm 

From the Solaris 2.5 AnswerBook for C:

-Rdir[:dir] (Solaris 2.X) If both LD_RUN_PATH and the -R option
            are specified, the -R option takes precedence.

Is there an overriding reason to favor LD_RUN_PATH for Solaris
rather than adding a -R$(LIBHOME) to the ld command?

=Jim Fox
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17052-1@oink>;
          Thu, 11 Jul 1996 18:01:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837091786:09624:3; Thu, 11 Jul 96 14:29:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09494; 11 Jul 96 14:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA12279 for dbi-users-real; Thu, 11 Jul 1996 06:25:19 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gateway.novasoft.com (gateway.novasoft.com [208.195.229.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA12275 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 06:25:16 -0700
Received: (from binkley@localhost) by gateway.novasoft.com (8.7.1/8.7.1) 
          id JAA03832; Thu, 11 Jul 1996 09:19:23 -0400 (EDT)
Date: Thu, 11 Jul 1996 09:19:23 -0400 (EDT)
From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
Message-Id: <199607111319.JAA03832@gateway.novasoft.com>
To: dbi-users@fugue.com
Subject: Running out of open cursors
Reply-to: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>

I'm writing a CGI::MiniSvr/Oraperl application for Oracle access from
the web, but am hitting a rather nasty snag.  I run out of open
cursors in Oracle after a while of running my mini-server.  This makes
it seem like the classic case of a leak in my code (since cursors are
automatically closed when they go out of scope), so I arranged to do
this:

All cursor access goes through wrapper routines that store/refer to
the last-opened cursor as a private global in the mini-server, like
this:

  OraFetch (...);

is a wrapper for:

  ora_fetch ($server->PrivateOraCursor, ...);

where "$server->PrivateOraCursor" is just an access method to the
previously stored cursor from your call to ora_open.

Fine, this seems to work quite ok, and relieves my other programmers
from needing to keep track of things; they can just use the wrapper
access methods my server's API provides.

But... after running for a long while, I run out of open cursors.
So--methought--a leak!  Well, my mini-server does everything via an
event loop, looking for new HTTP requests, so I arranged to do this:

At the end of each handled HTTP request, I explicitly close the
globally stored cursor, like this:

  while (some-test-goes-here) {
    # process request
    ...
    my $cursor = $server->PrivateOraCursor;
    ora_close ($cursor);
  }

I thought this would do the trick for sure... but it doesn't.  So I
considered that maybe I really was running out of open cursors.  We
have the database tuned to provide 1000 cursors.  This seems like
plenty (*crosses fingers*).

How can I get DBI/DBD to tell me about opening/using/closing cursors?
Is there something else besides "$cursor->debug (2)", which might be
quite enough, but I haven't tried it yet since I need to arrange for
debug output to show up in my server's log files, and not elsewhere.

Oh, I almost forgot:  DBI 0.69; DBD 0.32; Perl 5.002_01.

Any suggestions?


Thanks much,
--binkley
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <17051-4@oink>;
          Thu, 11 Jul 1996 18:01:16 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837093921:08737:1; Thu, 11 Jul 96 15:05:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa07475; 11 Jul 96 15:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA12313 for dbi-users-real; Thu, 11 Jul 1996 06:58:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail2.ip.pt (mail2.ip.pt [146.193.60.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA12309 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 06:57:55 -0700
Received: from nb.novabase.pt by mail2.ip.pt (/) id OAA14245;
          Thu, 11 Jul 1996 14:58:33 GMT
Received: from vibora.novabase.pt by nb.novabase.pt (4.1/SMI-4.1) id AA05707;
          Thu, 11 Jul 96 14:58:52 GMT
Message-Id: <31E508C0.6F49@novabase.pt>
Date: Thu, 11 Jul 1996 14:59:28 +0100
From: Filipe Custodio <fmc@novabase.pt>
Organization: Novabase, SA
X-Mailer: Mozilla 2.0 (Win95; I)
Mime-Version: 1.0
To: dbi-users <dbi-users@fugue.com>
Subject: Newbie question: DBI / ODBC / iODBC?
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

What's the relationship between iODBC and DBI? Can DBD drivers be used
as OBDC drivers with iODBC?
 =

Thank you!

--
---------------------------------------
   Filipe Cust=F3dio - fmc@novabase.pt
---------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17052-14@oink>;
          Thu, 11 Jul 1996 18:02:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837095149:13833:2; Thu, 11 Jul 96 15:25:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13048; 11 Jul 96 15:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA12358 for dbi-users-real; Thu, 11 Jul 1996 07:18:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gateway.novasoft.com (gateway.novasoft.com [208.195.229.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA12354 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 07:18:52 -0700
Received: (from binkley@localhost) by gateway.novasoft.com (8.7.1/8.7.1) 
          id KAA04730; Thu, 11 Jul 1996 10:12:57 -0400 (EDT)
Date: Thu, 11 Jul 1996 10:12:57 -0400 (EDT)
From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
Message-Id: <199607111412.KAA04730@gateway.novasoft.com>
To: dbi-users@fugue.com
CC: "Dr. Robin Hillyard (my boss)" <Robin.Hillyard@gateway.novasoft.com>
In-reply-to: <199607111319.JAA03832@gateway.novasoft.com> (binkley@gateway.novasoft.com)
Subject: Re: Running out of open cursors
Reply-to: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>

>>>>> "BKO" == B K Oxley (binkley) <Brian.Oxley@NOVASOFT.COM> writes:

 BKO> But... after running for a long while, I run out of open
 BKO> cursors.  So--methought--a leak!  Well, my mini-server does
 BKO> everything via an event loop, looking for new HTTP requests, so
 BKO> I arranged to do this:

I peeked through "dbdimp.c", and found this code which I guess is
executed when a cursor is closed.  The comment that the cursor isn't
actually closed until DBD is destroy'ed makes the hair go up on my
neck.  Is _this_ why I run out of open cursors?

If so, what can I do about it besides logging in/out of the database
after every transaction (yuck!)?

Not entirely clueful,
--binkley


int
dbd_st_finish(sth)
    SV *sth;
{
    D_imp_sth(sth);
    /* Cancel further fetches from this cursor.                 */
    /* We don't close the cursor till DESTROY.                  */
    /* The application may re execute it.			*/
    if (DBIc_ACTIVE(imp_sth) && ocan(imp_sth->cda) ) {
        ora_error(sth, imp_sth->cda, imp_sth->cda->rc, "ocan error");
	return 0;
    }
    DBIc_ACTIVE_off(imp_sth);
    return 1;
}
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <17051-15@oink>;
          Thu, 11 Jul 1996 18:02:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837102276:13569:2; Thu, 11 Jul 96 17:24:36 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa13370; 11 Jul 96 17:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA12580 for dbi-users-real; Thu, 11 Jul 1996 09:18:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pluto.wildfire.com (pluto.wildfire.com [199.181.68.125]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA12576 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 09:18:36 -0700
Received: (from pwd@localhost) by pluto.wildfire.com (8.7.3/8.7.1) id QAA26195;
          Thu, 11 Jul 1996 16:18:11 GMT
Date: Thu, 11 Jul 96 12:18 EDT
From: pwd@wildfire.com
To: "Symbol.not.found.on.require.DBD": wildfire.com
PP-Warning: Parse error in original version of preceding line
Original-To: Symbol.not.found.on.require.DBD::Oracle@wildfire.com
To: dbi-users@fugue.com, pwd@wildfire.com
Content-Type: text/plain
Message-ID: <31e529420.6651@pluto.wildfire.com>

I've built perl 5.003 and DBI 0.70 in my home directory
under UnixWare [basicly, svr4] DBI passes all it's tests
and can load all three drivers in the package (ExampleP,
NullP, and Sponge)  However, I can't seem to load Oracle.

You may also note that I had to modify Makefile.PL
(had to change "use DBI 0.70;" to "use DBI;"  I don't
know what impact this had, but it let me build the Makefile.

I noted a SVR4 tip in the README of DBD::Oracle, but I
don't understand what it means (there is no such string
anywhere that I can find...)

> Environment:  SVR4, stephen.zander@mckesson.com
>
> Error: 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
> Fix: Try adding the '-lc' to $ORACLE_HOME/rdbms/lib/sysliblist (just
> make sure it's not on a new line).

[I wrote directly to steven.zander, but he seems to be busy]

Thanks for any help,  [Info requested in README follows]
-Pete 

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

bash$ uname -a
UNIX_SV pluto 4.2MP 2.03 i386 x86at

bash$ perl Makefile.PL -m ~rki/src/oracle/proc.mk PERL_SRC=../perl5.003
".7" is not exported by the DBI module at ../perl5.003/lib/Exporter.pm line 95
        Exporter::export called at ../perl5.003/lib/Exporter.pm line 149
        Exporter::import called at Makefile.PL line 18
        main::BEGIN called at ../DBI-0.70/blib/lib/DBI.pm line 0
        eval {...} called at ../DBI-0.70/blib/lib/DBI.pm line 0
Can't continue after import errors at Makefile.PL line 18
BEGIN failed--compilation aborted at Makefile.PL line 18.

[ so I comment out the "0.70" part of "use DBI 0.70" in Makefile.PL--bad idea?]
bash$ vi Makefile.PL
bash$ perl Makefile.PL -m ~rki/src/oracle/proc.mk PERL_SRC=../perl5.003
Identifier "DBI::PERL_ENDING" used only once: possible typo at ../DBI-0.70/DBI.pm line 126.
Identifier "ExtUtils::MM_Unix::VERSION" used only once: possible typo at ../perl5.003/lib/ExtUtils/MM_Unix.pm line 3.
Identifier "ExtUtils::MM_Unix::current_package" used only once: possible typo at ../perl5.003/lib/ExtUtils/MM_Unix.pm line 2323.
Identifier "ExtUtils::MakeMaker::Version" used only once: possible typo at ../perl5.003/lib/ExtUtils/MakeMaker.pm line 5.
Identifier "File::Find::prune" used only once: possible typo at ../perl5.003/lib/ExtUtils/MM_Unix.pm line 1221.
Identifier "DBD::Switch::dr::imp_data_size" used only once: possible typo at ../DBI-0.70/DBI.pm line 392.

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!

Using Oracle in /home/oracle7
Using /net/steroids/home/rki/src/oracle/proc.mk (version 1.16)
WARNING: Your GNU C compiler is very old. Please upgrade.
System: perl5.003 unix_sv pluto 4.2mp 2.03 i386 x86at 
Compiler: /bin/cc -O -I/usr/include -I/usr/ucbinclude -I/usr/local/include
Linker:   /usr/bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       /usr/ccs/bin/cc
  LDFLAGS:  -L$(LIBHOME)
Linking with $(LIBHOME)/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl -lthread 

Checking if your kit is complete...
Looks good
Processing hints file hints/svr4.pl

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.
UX:find: ERROR: /usr/local/lib/perl5/i386-svr4/5.003 No such file or directory

Writing Makefile for DBD::Oracle


[Now I had to add ../DBI-0.70 into the INC Makefile var]
bash$ vi Makefile
bash$ make
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
        ../perl5.003/perl -I../perl5.003/lib -I../perl5.003/lib ../perl5.003/lib/ExtUtils/xsubpp  -typemap ../perl5.003/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
c -I../perl5.003  Oracle.c
UX:acomp: WARNING: "Oracle.c", line 144: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 256: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 265: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 305: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 400: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 404: end-of-loop code not reached
        /bin/cc -c -I/home/oracle7/rdbms/demo -I/usr/local/lib/perl5/site_perl/i386-svr4/DBI -I/usr/local/lib/perl5/i386-svr4/5.003/DBI -I../DBI-0.70 -I/usr/inc
lude -I/usr/ucbinclude -I/usr/local/include -O     -DVERSION=\"0.35\"  -DXS_VERSION=\"0.35\" -Kpic -I../perl5.003  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl -lthread 
        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
bash$ 
bash$ perl -e 'require DBD::Oracle'
Can't load '../DBD-Oracle-0.35/blib/arch/auto/DBD/Oracle/Oracle.so'
	for module DBD::Oracle: dynamic linker:
	perl: relocation error: symbol not found:
	select at ../perl5.003/lib/DynaLoader.pm line 140.

 at ../DBD-Oracle-0.35/blib/lib/DBD/Oracle.pm line 24


[All the paths are correct.]

bash$ perl -v

This is perl, version 5.003 with EMBED
        built under svr4 at Jul  9 1996 15:20:09
        + suidperl security patch

Copyright 1987-1996, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

bash$ perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=svr4, osver=, archname=i386-svr4
    uname='unix_sv pluto 4.2mp 2.03 i386 x86at '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='/bin/cc', optimize='-O', gccversion=2.2.2
    cppflags='-I/usr/include -I/usr/ucbinclude -I/usr/local/include'
    ccflags ='-I/usr/include -I/usr/ucbinclude -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=4, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='/bin/cc', ldflags ='-L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib -L/usr/gnu/lib'
    libpth=/usr/local/lib /usr/gnu/lib /lib /usr/lib /usr/ccs/lib /usr/ucblib
    libs=-lsocket -lnsl -lgdbm -ldbm -ldl -lld -lm -lc -lcrypt -lucb -lx
    libc=/lib/libc.so.1.1, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G -L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib -L/usr/gnu/lib'

te_perl .

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <17051-20@oink>;
          Thu, 11 Jul 1996 18:04:19 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837104381:06209:1; Thu, 11 Jul 96 17:59:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05599; 11 Jul 96 17:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA12720 for dbi-users-real; Thu, 11 Jul 1996 09:53:25 -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 JAA12711 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 09:53:21 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id RAA04873; Thu, 11 Jul 1996 17:45:23 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607111645.RAA04873@fruitbat.mcqueen.com>
Subject: Re: Running out of open cursors
To: Brian.Oxley@gateway.novasoft.com
Date: Thu, 11 Jul 1996 17:45:23 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199607111319.JAA03832@gateway.novasoft.com> from "B. K. Oxley" at Jul 11, 96 09:19:23 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: 1036


> I thought this would do the trick for sure... but it doesn't.  So I
> considered that maybe I really was running out of open cursors.  We
> have the database tuned to provide 1000 cursors.  This seems like
> plenty (*crosses fingers*).
> 
> How can I get DBI/DBD to tell me about opening/using/closing cursors?
> Is there something else besides "$cursor->debug (2)", which might be
> quite enough, but I haven't tried it yet since I need to arrange for
> debug output to show up in my server's log files, and not elsewhere.
> 
> Oh, I almost forgot:  DBI 0.69; DBD 0.32; Perl 5.002_01.
> 
> Any suggestions?

Are you *sure* you've not run out of cursors in the database? The open_cursors
init.ora parameter is per transaction ( if remember correctly ), but data
dictionary sizing may prevent you opening them.

> Thanks much,
> --binkley

-- 
Alligator Descartes	| "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		|     "Ohhh! Dearie me!"
descarte@hermetica.com	|         -- The High Life 
http://www.hermetica.com| 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <18776-0@oink>;
          Thu, 11 Jul 1996 20:18:34 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837108533:27770:2; Thu, 11 Jul 96 19:08:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26891; 11 Jul 96 19:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA12908 for dbi-users-real; Thu, 11 Jul 1996 11:03:40 -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 LAA12904 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 11:03:35 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id SAA05356; Thu, 11 Jul 1996 18:55:39 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607111755.SAA05356@fruitbat.mcqueen.com>
Subject: Re: Running out of open cursors
To: Brian.Oxley@gateway.novasoft.com
Date: Thu, 11 Jul 1996 18:55:38 +0100 (BST)
Cc: descarte@hermetica.com, dbi-users@fugue.com
In-Reply-To: <199607111714.NAA07872@gateway.novasoft.com> from "B. K. Oxley" at Jul 11, 96 01:14:52 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: 2639


> >>>>> "AD" == Alligator Descartes <descarte@hermetica.com> writes:
> 
>  AD> Are you *sure* you've not run out of cursors in the database? The
>  AD> open_cursors init.ora parameter is per transaction ( if remember
>  AD> correctly ), but data dictionary sizing may prevent you opening
>  AD> them.
> 
> Oh, I am quite sure I am running out of cursors in the database.
> That's the point--why does it happen?  In another context (a "C"
> program using Oracle's API), the same SQL operations do not run out of
> cursors, or come even close.  I really am wit's end on this.

OK, this attached hacked script ( including Tim's hated DBI->install_driver()
call. Hi Tim! 8-) ) *may* show up your problem. It didn't with me. I may have
the semantics wrong, as per usual. Basically, this extracts the session ID
of the session that's hopefully running this script ( this bit's serious
crap ). It'll then recursively open and close a cursor that shows the open
cursors for that session. In your case, it'd imply that number keeps increasing.
On mine, as expected, it's always one. Anyway, try it and see. You'll need
to change some obvious bits in the code for your setup. It's raw DBI.

Oh, and if this inadvertantly destroys your database, I take no responsibilty,
but can be contracted at UKP750/day to fix it. 8-)

-----------------8<---------------------8<---------------------------
use DBI;
$drh = DBI->install_driver( 'Oracle' );
$dbh = $drh->connect( "YOURCDESC", "sys", "YOURPASSWORD" );
if ( !defined $dbh ) {
    die "Cannot connect: $DBI::errstr\n";
  }

$cursor1 =
    $dbh->prepare( "
        SELECT saddr
        FROM v\$session
        WHERE osuser = 'UNIXUSERNAME'" );

if ( !defined $cursor1 ) {
    die "cannot prepare cursor1: $DBI::errstr\n";
  }
$cursor1->execute;

( $saddr ) = $cursor1->fetchrow;

$cursor1->finish;
undef $cursor1;

for ( $i = 0 ; $i < 100 ; $i++ ) {
    $cursor =
        $dbh->prepare( "
            SELECT saddr, user_name 
            FROM v\$open_cursor
            WHERE saddr = '$saddr'" );

    if ( !defined $cursor ) {
        die "cannot prepare cursor: $DBI::errstr\n";
      }

    $cursor->execute;

    print "OpenCursors:\n";
    while ( ( $saddr2, $username ) = $cursor->fetchrow ) {
        print "\t$saddr2\t$username\n";
      }

    $cursor->finish;
    undef $cursor;
  }
   

$dbh->disconnect;

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

> --binkley
> 


-- 
Alligator Descartes	| "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		|     "Ohhh! Dearie me!"
descarte@hermetica.com	|         -- The High Life 
http://www.hermetica.com| 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18792-5@oink>;
          Thu, 11 Jul 1996 20:20:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837110283:23439:1; Thu, 11 Jul 96 19:38:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21918; 11 Jul 96 19:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA12958 for dbi-users-real; Thu, 11 Jul 1996 11:32:07 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cs.utah.edu (cs.utah.edu [128.110.4.21]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA12954 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 11:32:00 -0700
Received: from lal.cs.utah.edu by cs.utah.edu (8.6.12/utah-2.21-cs) id MAA25533;
          Thu, 11 Jul 1996 12:31:08 -0600
Received: by lal.cs.utah.edu (8.6.12/utah-2.15sun-leaf) id MAA05877;
          Thu, 11 Jul 1996 12:30:55 -0600
Date: Thu, 11 Jul 1996 12:30:54 -0600 (MDT)
From: Jonathan Olson <jbolson@lal.cs.utah.edu>
To: Tim Bunce <Tim.Bunce@ig.co.uk>
cc: dbi-users@fugue.com
Subject: Re: DBD-Oracle-0.35 Make Question (no shouting)
In-Reply-To: <9607102232.AA20590@toad.ig.co.uk>
Message-ID: <Pine.SOL.3.91.960711122427.5055F-100000@lal.cs.utah.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


The rest of the information :

# perl Makefile.PL

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!

Using Oracle in /usr/oracle
Using /usr/oracle/proc/lib/proc.mk (version 1.9)
System: perl5.002 sunos orchid 5.5 generic sun4m sparc 
sunw,sparcstation-20 
Compiler: cc -O -I/usr/local/include
Linker:   <ld not found>
Oracle proc.mk would have used these values but we override them:
  CC:       /usr/5bin/cc
  CFLAGS:   -I. -O
  LDFLAGS:  -Bdynamic -L$(LIBHOME)
Linking with $(LIBHOME)/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora 
-lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm 


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
cc -c -I/usr/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.35\" -DXS_VERSION=\"0.35\" -Kpic 
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE  Oracle.c
"Oracle.c", line 144: warning: end-of-loop code not reached
"Oracle.c", line 256: warning: end-of-loop code not reached
"Oracle.c", line 265: warning: end-of-loop code not reached
"Oracle.c", line 305: warning: end-of-loop code not reached
"Oracle.c", line 400: warning: end-of-loop code not reached
"Oracle.c", line 404: warning: end-of-loop code not reached
cc -c -I/usr/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.35\" -DXS_VERSION=\"0.35\" -Kpic 
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/usr/oracle/lib:/lib" cc -o 
blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o  
dbdimp.o /usr/oracle/lib/osntab.o   -L/usr/oracle/lib -locic -lsqlnet 
-lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm  
ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
process using elf(3E) libraries
ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
process using elf(3E) libraries
ld: fatal: library -locic: not found

# perl -V

Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=solaris, osver=2.5, archname=sun4-solaris
    uname='sunos orchid 5.5 generic sun4m sparc sunw,sparcstation-20 '
    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='cc', 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='-Kpic', lddlflags='-G -L/usr/local/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 .

Oracle : Oracle 7.2.2.4.0 - Production Releas
         SQL*Net v 2
         Pro*C 1.6 (and the other one)

Perl   : v5.002

On Wed, 10 Jul 1996, Tim Bunce wrote:

> 
> > From: Jonathan Olson <jbolson@lal.cs.utah.edu>
> > 
> > I continue to have problems making DBD Oracle on SunOS 5.5.
> > 
> > Please forgive me if this is already in the README file (I searched but 
> > could find nothing), or a stupid compiler question (man, Tim really made me 
> > feel bad).
> 
> Sorry. Not my intention I can assure you.
> 
> > # make
> > LD_RUN_PATH="/usr/oracle/lib:/lib" cc -o 
> > blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o  
> > dbdimp.o /usr/oracle/lib/osntab.o   -L/usr/oracle/lib -locic -lsqlnet 
> > -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm  
> > ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
> > process using elf(3E) libraries
> > ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
> > process using elf(3E) libraries
> > ld: fatal: library -locic: not found
> > ... Much much more of stuff like this ...
> > 
> > Any help/flames appreciated.
> 
> Flames? Well how about my standard mantra about including *all* the
> information the README asks for? :-)
> 
> Specifically, did the MakeMaker output say "Linker: /usr/ccs/bin/ld"?
> 
> Other than that, Alligators comments about it not being a Solaris 2
> version of Oracle (or at least the libraries) sound plausable.
> 
> Tim.
> 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18792-10@oink>;
          Thu, 11 Jul 1996 20:21:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837112472:16272:1; Thu, 11 Jul 96 20:14:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15656; 11 Jul 96 20:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA13002 for dbi-users-real; Thu, 11 Jul 1996 12:08: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 MAA12998 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 12:08:55 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id af04821; 11 Jul 96 20:08 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa05930; 11 Jul 96 18:47 +0100
Received: from toad by oink with SMTP (PP) id <17683-0@oink>;
          Thu, 11 Jul 1996 18:47:01 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24073;
          Thu, 11 Jul 1996 18:46:55 +0000
Date: Thu, 11 Jul 1996 18:46:55 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607111746.AA24073@toad.ig.co.uk>
To: dbi-users@fugue.com, fmc@novabase.pt
Subject: Re: Newbie question: DBI / ODBC / iODBC?
X-Sun-Charset: US-ASCII
content-length: 355
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Filipe Custodio <fmc@novabase.pt>
> 
> What's the relationship between iODBC and DBI?

Currently none (regretfully).

> Can DBD drivers be used as OBDC drivers with iODBC?

Currently not (regretfully).

There are plans. There is little time.

Sigh.

It will happen, one day. Hopefully sooner rather than later.

But don't hold your breath.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19163-0@oink>;
          Thu, 11 Jul 1996 20:47:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837113526:27739:14; Thu, 11 Jul 96 20:32:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27121; 11 Jul 96 20:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA13048 for dbi-users-real; Thu, 11 Jul 1996 12:26:00 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.penton.com (web.penton.com [206.21.66.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA13044 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 12:25:59 -0700
Received: from www.penton.com (206.21.66.2) by mail.penton.com 
          with SMTP (Apple Internet Mail Server 1.0);
          Thu, 11 Jul 1996 15:31:19 +0000
Received: by www.penton.com (940816.SGI.8.6.9/940406.SGI) id PAA03035;
          Thu, 11 Jul 1996 15:23:26 -0400
From: Anthony Bucci <abucci@www.penton.com>
Message-Id: <9607111523.ZM3033@www.penton.com>
Date: Thu, 11 Jul 1996 15:23:26 -0400
X-Mailer: Z-Mail (3.2.2 10apr95 MediaMail)
To: dbi-users@fugue.com
Subject: Trouble connecting to remote Oracle instance
Cc: Tim.Bunce@ig.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Hopefully I am not making a glaring error which will get me flamed (and don't
think there isn't a good chance I am :-)

I have a two server setup here, one of which runs Oracle7.1.6 (among other
things), the other which runs a web server.  I need to be able to access the
Oracle7 database remotely from the web server box, and wanted to use perl to do
it.  I built DBI 0.69 with no problems, then built DBD::Oracle 0.32.  To do the
latter I mounted the ORACLE_HOME from the remote machine onto the web server,
added an appropriate login with the proper oracle environment, and let her rip.
 All went well there too.

However, when I attempt "make test", I am given error ORA 12203, ORACLE_HOME
not set.  As I said, I am using the proper environment, so ORACLE_HOME is
definitely set correctly.  Also, when I exported the remote filesystem I was
sure to set the default uid as the oracle DBA login, which, of course, also has
the proper ORACLE_HOME.  The output from the "make test" follows this letter.

For the sake of information, I am using DBI v. 0.69, perl 5.002, oracle 7.1.6,
and DBD::Oracle 0.32.  The remote database instance runs on an SGI Challenge S
server running IRIX 5.3; the web server box is an SGI Indy running IRIX 5.3
also.  perl (and the modules) run on the Indy, while Oracle runs on the
Challenge S.  The database server is in fact running, and I can connext to it
on the remote machine.  Any ideas?

Thanks in advance for any help you might give

Anthony
----------------------

        PERL_DL_NONLAZY=1 /usr/freeware/bin/perl -I./blib/arch -I./blib/lib
-I/usr/freeware/lib/perl5/irix -I/usr/freeware/lib/perl5 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
All tests successful.
Files=1,  Tests=5,  1 secs ( 0.35 cusr  0.08 csys =  0.43 cpu)
        PERL_DL_NONLAZY=1 /usr/freeware/bin/perl -I./blib/arch -I./blib/lib
-I/usr/freeware/lib/perl5/irix -I/usr/freeware/lib/perl5 test.pl
Oraperl test application $Revision: 1.20 $

Oraperl Emulation Interface version 1.26
Oracle Driver 0.32
DBI-0.69 Switch by Tim Bunce, version 0.69


Connecting
 to 'TX01' (from command line, else uses ORACLE_SID/TWO_TASK)
 as '********/********' (via ORACLE_USERID environment var or default)
Use of uninitialized value at blib/lib/DBD/Oracle.pm line 72.
ora_login: 12203: ORA-12203: TNS:unable to connect to destination (DBD: login
failed)

Could not connect to database. Test aborted.
*** Error code 2 (bu21)
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19162-1@oink>;
          Thu, 11 Jul 1996 20:47:18 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837114181:05485:2; Thu, 11 Jul 96 20:43:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa04519; 11 Jul 96 20:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA12734 for dbi-users-real; Thu, 11 Jul 1996 10:00:21 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from newyork (newyork.lab254.bellcore.com [128.96.169.79]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA12730 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 10:00:19 -0700
Message-Id: <199607111700.KAA12730@toccata.fugue.com>
Received: by newyork (1.39.111.2/16.2) id AA035634416;
          Thu, 11 Jul 1996 13:00:16 -0400
Subject: Mirrored in newsgroup
To: dbi-users@fugue.com
Date: Thu, 11 Jul 1996 13:00:15 -0400 (EDT)
Reply-To: aksyeo@lab254.bellcore.com
From: aksyeo@lab254.bellcore.com (Arthur K. S. Yeo)
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 443

Hi folks,

Are the questions/answers in this mailinglist mirrored in any newgroup?
If yes, what's the name?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aksyeo@lab254.bellcore.com       ATTN: Arthur Yeo
ayeo@notes.cc.bellcore.com             Bell Communications Research (Bellcore)
Tel: (908) 699-6146 (Voice)            33 Knightsbridge,
     (908) 336-2423 (Fax)              Piscataway, NJ 08854-3980
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-0@oink>;
          Fri, 12 Jul 1996 07:35:54 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837139864:11322:2; Fri, 12 Jul 96 03:51:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa11255; 12 Jul 96 3:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA14085 for dbi-users-real; Thu, 11 Jul 1996 19:40:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from iconz.co.nz (iconz.co.nz [202.14.100.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA14081 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 19:40:09 -0700
Received: from smtp.solutions.co.nz (smtp.solutions.co.nz [202.37.138.95]) 
          by iconz.co.nz (8.6.12/8.6.10) with SMTP id OAA06008 
          for <dbi-users@fugue.com>; Fri, 12 Jul 1996 14:40:10 +1200
Received: by smtp.solutions.co.nz with Microsoft Mail 
          id <31E6C687@smtp.solutions.co.nz>; Fri, 12 Jul 96 14:41:27 PDT
From: Mike Slack <MXS@solutions.co.nz>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: DBD::Oracle on NT
Date: Fri, 12 Jul 96 14:27:00 PDT
Message-ID: <31E6C687@smtp.solutions.co.nz>
Encoding: 2 TEXT
X-Mailer: Microsoft Mail V3.0


Are you aware of DBD::Oracle running on NT3.51 using Oracle 7 for NT?
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20634-2@oink>;
          Fri, 12 Jul 1996 07:36:05 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837116863:02994:2; Thu, 11 Jul 96 21:27:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02320; 11 Jul 96 21:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA13145 for dbi-users-real; Thu, 11 Jul 1996 13:21:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gateway.novasoft.com (gateway.novasoft.com [208.195.229.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA13141 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 13:21:48 -0700
Received: (from binkley@localhost) by gateway.novasoft.com (8.7.1/8.7.1) 
          id QAA11226; Thu, 11 Jul 1996 16:15:14 -0400 (EDT)
Date: Thu, 11 Jul 1996 16:15:14 -0400 (EDT)
From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
Message-Id: <199607112015.QAA11226@gateway.novasoft.com>
To: Tim.Bunce@ig.co.uk
CC: dbi-users@fugue.com, Robin.Hillyard@gateway.novasoft.com
In-reply-to: <9607111745.AA24066@toad.ig.co.uk> (Tim.Bunce@ig.co.uk)
Subject: Re: Running out of open cursors
Reply-to: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>

>>>>> "TB" == Tim Bunce <Tim.Bunce@ig.co.uk> writes:

 TB> It does not say "until DBD is destroy'ed", only "till DESTROY".
 TB> The DESTROY method wil be called when the last reference to the
 TB> cursor is deleted/undefined etc.

 >> If so, what can I do about it besides logging in/out of the
 >> database after every transaction (yuck!)?

 TB> undef $server->PrivateOraCursor;

 TB> (e.g., remove/delete/undef etc _all_ references to the cursor)

Yah, I've suspected this sort of leakage from the beginning; that's
why I kept the cursor as a global in the first place so that my
mini-server could keep an eye on it, and hopefully avoid mislaid
references doing this to me.  But so far, no luck.  I'm not trying to
fault DBI/DBD--I'm quite willing to accept blame if I could just
figure out where it happens!

But I don't have any evidence yet of this happening.  Is there are way
to get an objects reference count from inside of scripts?


--binkley
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20634-4@oink>;
          Fri, 12 Jul 1996 07:36:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837117149:05945:1; Thu, 11 Jul 96 21:32:29 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa05340; 11 Jul 96 21:31 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa26416; 11 Jul 96 21:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA13130 for dbi-users-real; Thu, 11 Jul 1996 13:15: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 NAA13126 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 13:15:35 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id af12550; 11 Jul 96 21:15 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa05419; 11 Jul 96 18:45 +0100
Received: from toad by oink with SMTP (PP) id <17673-0@oink>;
          Thu, 11 Jul 1996 18:45:12 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24066;
          Thu, 11 Jul 1996 18:45:06 +0000
Date: Thu, 11 Jul 1996 18:45:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607111745.AA24066@toad.ig.co.uk>
To: dbi-users@fugue.com, Brian.Oxley@gateway.novasoft.com
Subject: Re: Running out of open cursors
Cc: Robin.Hillyard@gateway.novasoft.com
X-Sun-Charset: US-ASCII
content-length: 1013
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
> 
> >>>>> "BKO" == B K Oxley (binkley) <Brian.Oxley@NOVASOFT.COM> writes:
> 
>  BKO> But... after running for a long while, I run out of open
>  BKO> cursors.  So--methought--a leak!  Well, my mini-server does
>  BKO> everything via an event loop, looking for new HTTP requests, so
>  BKO> I arranged to do this:
> 
> I peeked through "dbdimp.c", and found this code which I guess is
> executed when a cursor is closed.  The comment that the cursor isn't
> actually closed until DBD is destroy'ed makes the hair go up on my
> neck.  Is _this_ why I run out of open cursors?

It does not say "until DBD is destroy'ed", only "till DESTROY".
The DESTROY method wil be called when the last reference to the cursor
is deleted/undefined etc.

> If so, what can I do about it besides logging in/out of the database
> after every transaction (yuck!)?

	undef $server->PrivateOraCursor;

(e.g., remove/delete/undef etc _all_ references to the cursor)

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-4@oink>;
          Fri, 12 Jul 1996 07:36:17 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837118701:29949:2; Thu, 11 Jul 96 21:58:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29438; 11 Jul 96 21:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA12824 for dbi-users-real; Thu, 11 Jul 1996 10:20:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gateway.novasoft.com (gateway.novasoft.com [208.195.229.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA12816 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 10:20:52 -0700
Received: (from binkley@localhost) by gateway.novasoft.com (8.7.1/8.7.1) 
          id NAA07872; Thu, 11 Jul 1996 13:14:52 -0400 (EDT)
Date: Thu, 11 Jul 1996 13:14:52 -0400 (EDT)
From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
Message-Id: <199607111714.NAA07872@gateway.novasoft.com>
To: descarte@hermetica.com
CC: dbi-users@fugue.com
In-reply-to: <199607111645.RAA04873@fruitbat.mcqueen.com> (descarte@hermetica.com)
Subject: Re: Running out of open cursors
Reply-to: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>

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

 AD> Are you *sure* you've not run out of cursors in the database? The
 AD> open_cursors init.ora parameter is per transaction ( if remember
 AD> correctly ), but data dictionary sizing may prevent you opening
 AD> them.

Oh, I am quite sure I am running out of cursors in the database.
That's the point--why does it happen?  In another context (a "C"
program using Oracle's API), the same SQL operations do not run out of
cursors, or come even close.  I really am wit's end on this.

--binkley

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20634-7@oink>;
          Fri, 12 Jul 1996 07:36:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837117301:07388:2; Thu, 11 Jul 96 21:35:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07254; 11 Jul 96 21:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA13173 for dbi-users-real; Thu, 11 Jul 1996 13:30:20 -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 NAA13169 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 13:30:18 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ad15088; 11 Jul 96 21:29 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab07948; 11 Jul 96 20:46 +0100
Received: from toad by oink with SMTP (PP) id <18964-0@oink>;
          Thu, 11 Jul 1996 20:26:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24358;
          Thu, 11 Jul 1996 20:26:21 +0000
Date: Thu, 11 Jul 1996 20:26:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607111926.AA24358@toad.ig.co.uk>
To: jbolson@lal.cs.utah.edu
Subject: Re: DBD-Oracle-0.35 Make Question (no shouting)
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 406
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Jonathan Olson <jbolson@lal.cs.utah.edu>
> 
> Linker:   <ld not found>

Very suspicious.

Find out what linker cc is using!

If it's a GNU ld _delete it_!

> ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to 
> process using elf(3E) libraries

Do a
	file /usr/oracle/lib/libocic.a

and try
	cd /tmp
	ar -x /usr/oracle/lib/libocic.a
	file <one of the extracted object files>

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-8@oink>;
          Fri, 12 Jul 1996 07:36:38 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837120877:26109:3; Thu, 11 Jul 96 22:34:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25925; 11 Jul 96 22:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA13302 for dbi-users-real; Thu, 11 Jul 1996 14:21:35 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA13298 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 14:21:33 -0700
Received: from jovial.cse.psu.edu (jovial.cse.psu.edu [130.203.10.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id RAA23885 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 17:22:17 -0400 (EDT)
Received: from localhost (groenvel@localhost) 
          by jovial.cse.psu.edu (8.7.5/8.7.3) with SMTP id RAA19114 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 17:20:45 -0400 (EDT)
Message-Id: <199607112120.RAA19114@jovial.cse.psu.edu>
X-Authentication-Warning: jovial.cse.psu.edu: groenvel owned process doing -bs
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: dbi-users@fugue.com
Subject: Oracle Workgroup Server for Solaris x86
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 11 Jul 1996 17:20:44 -0400
From: John D Groenveld <groenvel@cse.psu.edu>

I guess I'm not the only one thats done this, but DBI/DBD-Oracle builds under 
Solaris x86/Oracle Workgroup Server (7.1.4). I had to use a proc.mk from a 
Solaris (sparc) distribution, since my evaluation version of Oracle doesnt 
include it. I also had to comment COMPOBJS=  $(COMPOBJ)/__fstd.o in the 
Makefile.
With a newer, production version of Workgroup server, does it build out of the 
box?
John

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-16@oink>;
          Fri, 12 Jul 1996 07:38:29 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837124137:06840:3; Thu, 11 Jul 96 23:28:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06642; 11 Jul 96 23:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA13533 for dbi-users-real; Thu, 11 Jul 1996 15:21:32 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ihgw2.att.com (ihgw2.att.com [207.19.48.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA13529 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 15:21:27 -0700
From: fvigil@ihgp.ih.lucent.com
Received: from ihgp12.ih.lucent.com by ihig2.att.att.com (SMI-8.6/EMS-1.2 sol2) 
          id RAA18396; Thu, 11 Jul 1996 17:17:50 -0500
Received: by ihgp12.ih.lucent.com (SMI-8.6/EMS-L sol2) id RAA09777;
          Thu, 11 Jul 1996 17:18:06 -0500
Received: from fvigilpc.ih.att.com by ihgp12.ih.lucent.com (SMI-8.6/EMS-L sol2) 
          id RAA09766; Thu, 11 Jul 1996 17:18:02 -0500
Received: by fvigilpc.ih.att.com with Microsoft Mail 
          id <01BB6F4C.E55E9800@fvigilpc.ih.att.com>;
          Thu, 11 Jul 1996 17:17:53 -0500
Message-ID: <01BB6F4C.E55E9800@fvigilpc.ih.att.com>
Original-From: Fernando Vigil <fvigil@ihgp.ih.lucent.com>
To: "dbi-users@fugue.com" <dbi-users@fugue.com>
Date: Thu, 11 Jul 1996 17:17:51 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubsribe

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-19@oink>;
          Fri, 12 Jul 1996 07:39:08 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837126318:02643:2; Fri, 12 Jul 96 00:05:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa02057; 12 Jul 96 0:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA13666 for dbi-users-real; Thu, 11 Jul 1996 15:58:20 -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 PAA13662 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 15:58:16 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id bj29345; 11 Jul 96 23:55 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa18362; 11 Jul 96 18:00 +0100
Received: from toad by oink with SMTP (PP) id <16689-0@oink>;
          Thu, 11 Jul 1996 15:50:52 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23404;
          Thu, 11 Jul 1996 15:50:45 +0000
Date: Thu, 11 Jul 1996 15:50:45 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607111450.AA23404@toad.ig.co.uk>
To: dbi-users@fugue.com, jfox@slb.com
Subject: Re: Trouble with DBI-0.71, DBD-Oracle-0.36, Oracle 7.3.2.1.0, Solaris 
         2.5
Cc: makemaker@franz.ww.tu-berlin.de
X-Sun-Charset: US-ASCII
content-length: 2186
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Jim Fox <jfox@slb.com>
> 
> Duh...I just figured out the problem.  We have a non-standard
> installation of GDBM, which requires perl to build with -R
> to be able to dynamically load GDBM, and gives the following 
> link command:
> 
> LD_RUN_PATH="/gf/env/solaris2/oracle-7.3.2/lib:/lib" ld -o
>   blib/arch/auto/DBD/Oracle/Oracle.so -G -L/scratch/local/lib 
>   -R /scratch/local/lib Oracle.o  dbdimp.o
>   /gf/env/solaris2/oracle-7.3.2/lib/__fstd.o 
>   -L/gf/env/solaris2/oracle-7.3.2/lib -lclntsh -lsql -lsqlnet -lncr
>   -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet 
>   -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 
>   -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm 
> 
> >From the Solaris 2.5 AnswerBook for C:
> 
> -Rdir[:dir] (Solaris 2.X) If both LD_RUN_PATH and the -R option
>             are specified, the -R option takes precedence.
> 
> Is there an overriding reason to favor LD_RUN_PATH for Solaris
> rather than adding a -R$(LIBHOME) to the ld command?

-R is Solaris specific. LD_RUN_PATH is SVR4 generic.

Once again, since you didn't *all* the log I can't see if MakeMaker
said "Unrecognized argument in LIBS ignored: /scratch/local/lib".

I think MakeMaker would have done 'the right thing' if there was
no space between the -R and the path. Try it. 

It's a MakeMaker bug. Try this patch:

*** Liblist.pm.prev	Thu Jul 11 15:42:43 1996
--- Liblist.pm	Thu Jul 11 15:48:14 1996
***************
*** 38,41 ****
--- 38,44 ----
      my($found) = 0;
  
+     # Must remove optional space after -L and -R linker options
+     $potential_libs =~ s/(-[LR])\s+/$1/g;
+ 
      foreach $thislib (split ' ', $potential_libs){
  
***************
*** 43,47 ****
  	if ($thislib =~ s/^(-[LR])//){	# save path flag type
  	    my($ptype) = $1;
! 	    unless (-d $thislib){
  		print STDOUT "$ptype$thislib ignored, directory does not exist\n"
  			if $Verbose;
--- 46,50 ----
  	if ($thislib =~ s/^(-[LR])//){	# save path flag type
  	    my($ptype) = $1;
! 	    unless ($thislib && -d $thislib){
  		print STDOUT "$ptype$thislib ignored, directory does not exist\n"
  			if $Verbose;
  
CC'd to the makemaker mailing list.


Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20634-19@oink>;
          Fri, 12 Jul 1996 07:39:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837120279:08305:1; Thu, 11 Jul 96 22:24:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07280; 11 Jul 96 22:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA13286 for dbi-users-real; Thu, 11 Jul 1996 14:16:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA13282 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 14:16:39 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id aj25341;
          11 Jul 96 10:20 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab03938; 11 Jul 96 2:12 +0100
Received: from toad by oink with SMTP (PP) id <13128-0@oink>;
          Thu, 11 Jul 1996 02:12:19 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21089;
          Thu, 11 Jul 1996 02:12:11 +0000
Date: Thu, 11 Jul 1996 02:12:11 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607110112.AA21089@toad.ig.co.uk>
To: dbi-users@fugue.com, CGOODRIC@us.oracle.com
Subject: Re: Having problems getting DBD to work
X-Sun-Charset: US-ASCII
content-length: 2653
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: CGOODRIC <CGOODRIC@us.oracle.com>
> 
> I can get everything to compile but during the tests, the dynamic loader  
> complains that it can't find the object "osnptt". It's called from 
> $ORACLE_HOME/lib/osntab.o but beyond that, I don't know what it does. 
>  
> Platform:	Sun SparcCenter 1000 
> OS:		Solaris 2.4 
> Oracle Version:	7.3.2.1 (This is production as far as I know.) 
> Perl Version:	5.003 
> GCC Version:	2.5.8	(The DBI and DBD builds both complain that gcc is 
>                       really old but I haven't been able to find a newer one.)

GNU's ftp home is prep.ai.mit.edu else try any of these mirrors:

	ASIA: ftp.cs.titech.ac.jp, utsun.s.u-tokyo.ac.jp:/ftpsync/prep,
  cair-archive.kaist.ac.kr:/pub/gnu, ftp.nectec.or.th:/pub/mirrors/gnu
	AUSTRALIA: archie.au:/gnu (archie.oz or archie.oz.au for ACSnet)
	AFRICA: ftp.sun.ac.za:/pub/gnu
	MIDDLE-EAST: ftp.technion.ac.il:/pub/unsupported/gnu
	EUROPE: irisa.irisa.fr:/pub/gnu, ftp.univ-lyon1.fr:pub/gnu,
  ftp.mcc.ac.uk, unix.hensa.ac.uk:/mirrors/uunet/systems/gnu,
  src.doc.ic.ac.uk:/gnu, ftp.ieunet.ie:pub/gnu, ftp.eunet.ch,
  nic.switch.ch:/mirror/gnu, ftp.informatik.rwth-aachen.de:/pub/gnu,
  ftp.informatik.tu-muenchen.de, ftp.win.tue.nl:/pub/gnu, ftp.nl.net,
  ftp.etsimo.uniovi.es:/pub/gnu ftp.funet.fi:/pub/gnu, ftp.denet.dk,
  ftp.stacken.kth.se, isy.liu.se, ftp.luth.se:/pub/unix/gnu,
  ftp.sunet.se:/pub/gnu, archive.eu.net
	SOUTH AMERICA: ftp.inf.utfsm.cl:/pub/gnu, ftp.unicamp.br:/pub/gnu
	WESTERN CANADA: ftp.cs.ubc.ca:/mirror2/gnu
	USA: wuarchive.wustl.edu:/systems/gnu, labrea.stanford.edu,
  ftp.digex.net:/pub/gnu, ftp.kpc.com:/pub/mirror/gnu, f.ms.uky.edu:/pub3/gnu,
  jaguar.utah.edu:/gnustuff, ftp.hawaii.edu:/mirrors/gnu,
  uiarchive.cso.uiuc.edu:/pub/gnu, ftp.cs.columbia.edu:/archives/gnu/prep,
  col.hp.com:/mirrors/gnu, gatekeeper.dec.com:/pub/GNU,
  ftp.uu.net:/systems/gnu

> DBI Version:	0.71 
> DBD Version:	0.36 
>  
> Typescript from the DBD build follows .sig. 
>  
> Anyone have any ideas? 

Upgrade GCC first if at all possible. Many people have reported odd
problems which have gone away after using a newer GCC (your perl will
probably go faster as well).

> t/base..............install_driver(Oracle) failed: Can't load 
> './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: 
> /bin/perl: fatal: relocation error: symbol not found: osnptt: referenced in 
> ./blib/arch/auto/DBD/Oracle/Oracle.so at /usr/local/lib/perl5/DynaLoader.pm 

You could try

	perl Makefile.PL -s osnptt

and send me anything 'interesting' it says.

I'm unlikely to do anything before you've upgraded gcc though.
Sorry, that's life.

Tim.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-24@oink>;
          Fri, 12 Jul 1996 07:40:02 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837129042:00350:3; Fri, 12 Jul 96 00:50:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa00275; 12 Jul 96 0:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA13316 for dbi-users-real; Thu, 11 Jul 1996 14:28:10 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gateway.novasoft.com (gateway.novasoft.com [208.195.229.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA13312 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 14:28:08 -0700
Received: (from binkley@localhost) by gateway.novasoft.com (8.7.1/8.7.1) 
          id RAA12194; Thu, 11 Jul 1996 17:22:04 -0400 (EDT)
Date: Thu, 11 Jul 1996 17:22:04 -0400 (EDT)
From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
Message-Id: <199607112122.RAA12194@gateway.novasoft.com>
To: Alligator Descartes <descarte@hermetica.com>, Tim.Bunce@ig.co.uk
CC: dbi-users@fugue.com, Robin.Hillyard@gateway.novasoft.com
In-reply-to: <199607112015.QAA11226@gateway.novasoft.com> (binkley@gateway.novasoft.com)
Subject: Re: Running out of open cursors
Reply-to: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>

>>>>> "BKO" == B K Oxley (binkley) <binkley@gateway.novasoft.com> writes:

>>>>> "TB" == Tim Bunce <Tim.Bunce@ig.co.uk> writes:
 TB> It does not say "until DBD is destroy'ed", only "till DESTROY".
 TB> The DESTROY method wil be called when the last reference to the
 TB> cursor is deleted/undefined etc.

 BKO> Yah, I've suspected this sort of leakage from the beginning;
 BKO> that's why I kept the cursor as a global in the first place so
 BKO> that my mini-server could keep an eye on it, and hopefully avoid
 BKO> mislaid references doing this to me.  But so far, no luck.  I'm
 BKO> not trying to fault DBI/DBD--I'm quite willing to accept blame
 BKO> if I could just figure out where it happens!

Thank you, Mr. Bunce!!!

This was indeed the problem.  I had been storing a copy of the cursor
as an instance variable in my server object, and apparently I'm
leaking references to the server object.  I'm a little annoyed that at
this, but who can I blame but myself?  Because of the extra
references, DBI/DBD was too smart to actually close the cursor, I
surmise.

I'm now using a file-scope global to refer to the current open cursor,
and--voila!--no leakage of references.  And now the cursor is nicely
closed when I explicitly close it.

Many thanks to Mr. Descartes for the script/suggestion to examine
v$open_cursors as the SYS account so that I could watch in real-time
my cursory habits.  :-)  Without this, I could not verify the problem
nor the fix.

On to my next challenge...

Gratefully yours,
--binkley

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20634-24@oink>;
          Fri, 12 Jul 1996 07:40:17 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837123808:15609:2; Thu, 11 Jul 96 23:23:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14989; 11 Jul 96 23:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA13508 for dbi-users-real; Thu, 11 Jul 1996 15:17:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netguide.com (nexus.netguide.com [206.169.37.129]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA13504 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 15:17:44 -0700
Received: from dogbert.netguide.com by netguide.com (SMI-8.6/SMI-SVR4) 
          id PAA23693; Thu, 11 Jul 1996 15:19:21 -0700
Received: from dogbert by dogbert.netguide.com (SMI-8.6/SMI-SVR4) id PAA10115;
          Thu, 11 Jul 1996 15:38:02 -0700
Message-Id: <199607112238.PAA10115@dogbert.netguide.com>
To: dbi-users@fugue.com
Subject: ILLUSTRA?
Date: Thu, 11 Jul 1996 15:38:02 -0700
From: Jonathan Swartz <swartz@netguide.com>

Has anyone written, or is anyone currently writing, a DBI
driver for Illustra? If not, I would consider doing it...

Thanks
Jon
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-26@oink>;
          Fri, 12 Jul 1996 07:40:22 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837129198:01577:4; Fri, 12 Jul 96 00:53:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01460; 12 Jul 96 0:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA13207 for dbi-users-real; Thu, 11 Jul 1996 13:54:16 -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 NAA13203 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 13:54:14 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id al17542; 11 Jul 96 21:52 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab04183; 11 Jul 96 18:41 +0100
Received: from toad by oink with SMTP (PP) id <17571-0@oink>;
          Thu, 11 Jul 1996 18:41:33 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24026;
          Thu, 11 Jul 1996 18:41:11 +0000
Date: Thu, 11 Jul 1996 18:41:11 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607111741.AA24026@toad.ig.co.uk>
To: "Symbol.not.found.on.require.DBD": wildfire.com@fugue.com, 
    dbi-users@fugue.com, pwd@wildfire.com
PP-Warning: Parse error in original version of preceding line
Original-To: "Symbol.not.found.on.require.DBD":wildfire.com@fugue.com;@toccata.fugue.com,
             dbi-users@fugue.com, pwd@wildfire.com
MMDF-Warning: Parse error in original version of preceding line at 
              relay-3.mail.demon.net
PP-Warning: Parse error in original version of preceding line
Original-To: Symbol.not.found.on.require.DBD:wildfire.com@fugue.com, 
             dbi-users@fugue.com, pwd@wildfire.com
X-Sun-Charset: US-ASCII
content-length: 1013
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: pwd@wildfire.com
> 
> I've built perl 5.003 and DBI 0.70 in my home directory
> under UnixWare [basicly, svr4] DBI passes all it's tests
> and can load all three drivers in the package (ExampleP,
> NullP, and Sponge)  However, I can't seem to load Oracle.
> 
> You may also note that I had to modify Makefile.PL
> (had to change "use DBI 0.70;" to "use DBI;"  I don't
> know what impact this had, but it let me build the Makefile.

> bash$ perl Makefile.PL -m ~rki/src/oracle/proc.mk PERL_SRC=../perl5.003
> ".7" is not exported by the DBI module at ../perl5.003/lib/Exporter.pm line 95

Do NOT use perl Makefile.PL ... PERL_SRC=../perl5.003.

The README file says:

    Build, test and install Perl 5 (at least 5.002beta2).
    It is very important to test it and install it!
    ^^^^^^^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^

    Build, test and install the DBI module (at least DBI 0.69).
    It is very important to test it and install it!
    ^^^^^^^^^^^^^^^^^^^^^^^             ^^^^^^^^^^^

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20634-29@oink>;
          Fri, 12 Jul 1996 07:41:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837128128:28378:7; Fri, 12 Jul 96 00:35:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28065; 12 Jul 96 0:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA13351 for dbi-users-real; Thu, 11 Jul 1996 14:31:05 -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 OAA13344 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 14:31:02 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id WAA07098; Thu, 11 Jul 1996 22:22:15 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607112122.WAA07098@fruitbat.mcqueen.com>
Subject: Re: Running out of open cursors
To: Brian.Oxley@gateway.novasoft.com
Date: Thu, 11 Jul 1996 22:22:14 +0100 (BST)
Cc: descarte@hermetica.com, Tim.Bunce@ig.co.uk, dbi-users@fugue.com, 
    Robin.Hillyard@gateway.novasoft.com
In-Reply-To: <199607112122.RAA12194@gateway.novasoft.com> from "B. K. Oxley" at Jul 11, 96 05:22:04 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: 576


[snip]

> Thank you, Mr. Bunce!!!

[snip]

> Many thanks to Mr. Descartes for the script/suggestion to examine
> v$open_cursors as the SYS account so that I could watch in real-time
> my cursory habits.  :-)  Without this, I could not verify the problem
> nor the fix.
> 
> On to my next challenge...

Good to hear you've got it fixed! Have fun in your exploits!

> --binkley

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-30@oink>;
          Fri, 12 Jul 1996 07:41:11 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837139863:11306:2; Fri, 12 Jul 96 03:51:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa11227; 12 Jul 96 3:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA14091 for dbi-users-real; Thu, 11 Jul 1996 19:41:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from Shalmaneser.Stanford.EDU (Shalmaneser.Stanford.EDU [171.64.75.107]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA14087 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 19:41:56 -0700
Received: (from agupta@localhost) by Shalmaneser.Stanford.EDU (8.7.1/8.7.1) 
          id TAA18617; Thu, 11 Jul 1996 19:41:54 -0700
Date: Thu, 11 Jul 1996 19:41:54 -0700
From: Ashish Gupta <agupta@DB.Stanford.EDU>
Message-Id: <199607120241.TAA18617@Shalmaneser.Stanford.EDU>
To: dbi-users@fugue.com
cc: tim.bunce@ig.co.uk
Subject: problems installing DBD on SOlaris 2.5
Reply-to: Ashish Gupta <agupta@DB.Stanford.EDU>


I have installed perl 5.003 using gcc 2.7.2 as the compiler.
Then installed DBI 0.71 that seems to run the test successfully.
We have recently installed Oracle 7.3.2.1 (however the DBD install
does not seem to get that far).

I get the following errors when trying to instal DBD 0.36.

Sequence of commands:
 make realclean
 perl Makefile.PL
 make 

"make"  results in the following (complete) trace:

gcc -c -I. -I/u01/app/oracle/product/7.3.2/precomp/public
-I/u01/app/oracle/product/7.3.2/rdbms/demo
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI
-I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -Xc -xstrconst -xcg92
-xF -mr -K  PIC -DSLXM X_ENABLE -DSLTS_ENABLE -D_REENTRANT -xO4
-DVERSION=\"0.36\" -DXS_VERSION=\"0.36\" -fpic
-I/usr/local/lib/perl5/sun4-solaris/5.003/CORE -Wall -pedantic -Wno 
-comment -Wtraditional Oracle.c
gcc: PIC: No such file or directory
gcc: unrecognized option `-Xc'
gcc: unrecognized option `-K'
gcc: language O4 not recognized
cc1: Invalid option `r'
Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__such that_execute':
Oracle.c:256: warning: ANSI C forbids braced-groups within expressions
Oracle.c:265: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__such that_fetchrow':
Oracle.c:305: warning: ANSI C forbids braced-groups within expressions
Oracle.c:311: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__such that_finish':
Oracle.c:400: warning: ANSI C forbids braced-groups within expressions
Oracle.c:404: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `boot_DBD__Oracle':
Oracle.c:444: warning: ANSI C forbids braced-groups within expressions
*** Error code 1
make: Fatal error: Command failed for target `Oracle.o'


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

Please suggest what might be wrong that is causing the above. Some of
the options being passed to gcc are illegal (like -K). Editing them
does not resolve the problem. 
Thanks much.

ashish
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20634-34@oink>;
          Fri, 12 Jul 1996 07:42:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837132714:07612:1; Fri, 12 Jul 96 01:51:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07123; 12 Jul 96 1:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA13865 for dbi-users-real; Thu, 11 Jul 1996 17:45:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from athena.romoidoy.com (athena.zoom.com [140.174.196.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA13861 
          for <dbi-users@fugue.com>; Thu, 11 Jul 1996 17:45:29 -0700
Received: from aurora (sabat@aurora.zoom.com [140.174.196.6]) 
          by athena.romoidoy.com (8.6.12/Romoidoy-Hub-022896) with SMTP 
          id RAA24635 for <dbi-users@fugue.com>;
          Thu, 11 Jul 1996 17:14:49 -0700
Date: Thu, 11 Jul 1996 17:14:42 -0700 (PDT)
From: Sabat <sabat@zoom.com>
X-Sender: sabat@aurora
To: dbi-users@fugue.com
Subject: DBD::Oracle make test failure
Message-ID: <Pine.SUN.3.91.960711170454.18410A-100000@aurora>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



I'm having the same problem Melanie and Mike are having -- make test
fails on Solaris 2.5, Oracle 7.3, after the first 3 tests.

Tim has posted two patches for this problem, but neither has fixed
or changed the make test output.

Has anyone found a solution to this?

Steve

---------- Forwarded message ----------
Date: Thu, 11 Jul 1996 16:43:27 -0700
From: Steve Abatangle <sabat@us.oracle.com>
To: sabat@zoom.com
Subject: output2


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.


 Configuring DBD::Oracle ...

>>>	Remember to actually *READ* the README file!

Using Oracle in /oracle
Using /oracle/proc/lib/proc.mk (version 1.9)
System: perl5.003 sunos oeo 5.5.1 generic sun4m sparc sunw,sparcstation-20 
Compiler: cc -O3 -I/opt/gnu/include
Linker:   /usr/ccs/bin/ld
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
Linking with $(LIBHOME)/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lm -ldl -laio 

Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Oracle
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
/bin/perl -I/export/home/perl/lib/perl5/sun4-solaris/5.003 -I/export/home/perl/lib/perl5 /export/home/perl/lib/perl5/ExtUtils/xsubpp  -typemap /export/home/perl/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
cc -c -I/oracle/rdbms/demo -I/export/home/perl/lib/perl5/site_perl/sun4-solaris/DBI -I/export/home/perl/lib/perl5/sun4-solaris/5.003/DBI -I/opt/gnu/include -O3     -DVERSION=\"0.35\"  -DXS_VERSION=\"0.35\" -fpic -I/export/home/perl/lib/perl5/sun4-solaris/5.003/CORE  Oracle.c
cc -c -I/oracle/rdbms/demo -I/export/home/perl/lib/perl5/site_perl/sun4-solaris/DBI -I/export/home/perl/lib/perl5/sun4-solaris/5.003/DBI -I/opt/gnu/include -O3     -DVERSION=\"0.35\"  -DXS_VERSION=\"0.35\" -fpic -I/export/home/perl/lib/perl5/sun4-solaris/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/oracle/lib:/lib" cc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib -L/opt/gnu/lib Oracle.o  dbdimp.o /oracle/lib/osntab.o /oracle/lib/__fstd.o   -L/oracle/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -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 /bin/perl -I./blib/arch -I./blib/lib -I/export/home/perl/lib/perl5/sun4-solaris/5.003 -I/export/home/perl/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: /bin/perl: fatal: relocation error: symbol not found: osnptt: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /export/home/perl/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 24
	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)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'


make test TEST_VERBOSE=1


PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/export/home/perl/lib/perl5/sun4-solaris/5.003 -I/export/home/perl/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: /bin/perl: fatal: relocation error: symbol not found: osnptt: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /export/home/perl/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 24
	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)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'



Perl 5.003
Oracle 7.3.2
Solaris 2.5.1


Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.5, archname=sun4-solaris
    uname='sunos oeo 5.5.1 generic sun4m sparc sunw,sparcstation-20 '
    hint=previous, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O3', gccversion=2.7.2
    cppflags='-I/opt/gnu/include'
    ccflags ='-I/opt/gnu/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='cc', 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: /export/home/perl/lib/perl5/sun4-solaris/5.003 /export/home/perl/lib/perl5 /export/home/perl/lib/perl5/site_perl/sun4-solaris /export/home/perl/lib/perl5/site_perl .

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24657-9@oink>;
          Fri, 12 Jul 1996 16:46:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837179451:16288:1; Fri, 12 Jul 96 14:50:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15819; 12 Jul 96 14:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA14828 for dbi-users-real; Fri, 12 Jul 1996 06:39:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from po.nextwork.rose-hulman.edu (po.rose-hulman.edu [137.112.5.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA14824 
          for <dbi-users@fugue.com>; Fri, 12 Jul 1996 06:39:56 -0700
Received: from public-3.rose-hulman.edu ([137.112.3.32]) 
          by po.nextwork.rose-hulman.edu (8.7.5/8.7.3) with SMTP id IAA18221 
          for <dbi-users@fugue.com>; Fri, 12 Jul 1996 08:39:54 -0500
Message-ID: <31E6559F.77A1@po.nextwork.rose-hulman.edu>
Date: Fri, 12 Jul 1996 08:39:43 -0500
From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
Organization: Rose-Hulman Institute of Technology
X-Mailer: Mozilla 2.02Gold (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Re: Newbie question: DBI / ODBC / iODBC? (fwd)
References: <199607112240.RAA16892@cows.68k.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
> > From: Filipe Custodio <fmc@novabase.pt>
> >
> > What's the relationship between iODBC and DBI?
> 
> Currently none (regretfully).
> 
> > Can DBD drivers be used as OBDC drivers with iODBC?
> 
> Currently not (regretfully).
> 
> There are plans. There is little time.
> 
> Sigh.
> 
> It will happen, one day. Hopefully sooner rather than later.
> 
> But don't hold your breath.
> 
> Tim.	First,  I've just joined this group.  Second, I've been working the past couple of weeks on a perl 
extension to iODBC.  Core ODBC support should be finished soon, so I guess before I finish doing this I would 
like to know what the _plans_ are if there are any.  The extension, as it is right now, is tied very close to 
the C-libraries, with the hopes of maybe building a nice object oriented, perl-like interface on top of it.  I 
guess that's where DBI could come in...[OK I've now read DBI-0.71.readme this explains a lot.]...  I would like 
to help, but I lack a lot of experience.  I do have time, however, to work on something, and as I've said I've 
already have most of the core ODBC API implemented.

--Michael Mahan
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02715-0@oink>;
          Mon, 15 Jul 1996 07:37:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837192267:25931:4; Fri, 12 Jul 96 18:24:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21070; 12 Jul 96 18:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA15084 for dbi-users-real; Fri, 12 Jul 1996 10:09:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from jsc-ems-gws01.jsc.nasa.gov (jsc-ems-gws01.jsc.nasa.gov [139.169.15.5]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA15080 
          for <dbi-users@fugue.com>; Fri, 12 Jul 1996 10:09:10 -0700
Received: by jsc-ems-gws01.jsc.nasa.gov 
          with Microsoft Exchange (IMC 4.0.838.14) 
          id <01BB6FEC.5AA57B20@jsc-ems-gws01.jsc.nasa.gov>;
          Fri, 12 Jul 1996 12:19:20 -0500
Message-ID: <c=US%a=Telemail%p=NASA%l=JSC-EMS-MBS01-960712171236Z-884@jsc-ems-gws01.jsc.nasa.gov>
From: "Daumas, Henri W" <HDaumas@ems.jsc.nasa.gov>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: RE: unsubscribe
Date: Fri, 12 Jul 1996 12:12:36 -0500
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.838.14
Encoding: 1 TEXT

>unsubscribe
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02714-21@oink>;
          Mon, 15 Jul 1996 07:42:28 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837203496:08069:4; Fri, 12 Jul 96 21:31:36 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa07334; 12 Jul 96 21:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA15418 for dbi-users-real; Fri, 12 Jul 1996 13:28:16 -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 NAA15414 
          for <dbi-users@fugue.com>; Fri, 12 Jul 1996 13:28:13 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ae00470; 12 Jul 96 21:27 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa12679; 12 Jul 96 17:10 +0100
Received: from toad by oink with SMTP (PP) id <25266-0@oink>;
          Fri, 12 Jul 1996 17:03:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28291;
          Fri, 12 Jul 1996 17:03:20 +0000
Date: Fri, 12 Jul 1996 17:03:20 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607121603.AA28291@toad.ig.co.uk>
To: dbi-users@fugue.com, mahanm@nextwork.rose-hulman.edu
Subject: Re: Newbie question: DBI / ODBC / iODBC? (fwd)
X-Sun-Charset: US-ASCII
content-length: 1630
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
> 
> Tim Bunce wrote:
> > > From: Filipe Custodio <fmc@novabase.pt>
> > >
> > > What's the relationship between iODBC and DBI?
> > 
> > Currently none (regretfully).
> > 
> > > Can DBD drivers be used as OBDC drivers with iODBC?
> > 
> > Currently not (regretfully).
> > 
> > There are plans. There is little time.
> > 
> > Sigh.
> > 
> > It will happen, one day. Hopefully sooner rather than later.
> > 
> > But don't hold your breath.
> > 
> > Tim.

	First,  I've just joined this group.  Second, I've been working the past couple of weeks on a perl 
> extension to iODBC.  Core ODBC support should be finished soon, so I guess before I finish doing this I would 
> like to know what the _plans_ are if there are any.  The extension, as it is right now, is tied very close to 
> the C-libraries, with the hopes of maybe building a nice object oriented, perl-like interface on top of it.  I 
> guess that's where DBI could come in...[OK I've now read DBI-0.71.readme this explains a lot.]...  I would like 
> to help, but I lack a lot of experience.  I do have time, however, to work on something, and as I've said I've 
> already have most of the core ODBC API implemented.

Long lines are a pain.

Okay, how about this... re-implement your ODBC code as a DBD. Use the DBD::DB2
module as a guide (DB2's interface is very close to ODBC's).

Once it's working as a DBD we can look at tighter integration into the DBI.

Interested? (I know a few hundred people who'd be very grateful :-)

All I ask is that you licence the code on the same terms as Perl itself

Tim.


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02714-25@oink>;
          Mon, 15 Jul 1996 07:43:46 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837207256:22236:4; Fri, 12 Jul 96 22:34:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa21997; 12 Jul 96 22:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA15514 for dbi-users-real; Fri, 12 Jul 1996 14:29:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from aladdin.rotterdam.luna.net (ns.rotterdam.luna.net [194.151.24.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA15510 
          for <dbi-users@fugue.com>; Fri, 12 Jul 1996 14:29:47 -0700
Received: (from schuller@localhost) by aladdin.rotterdam.luna.net (8.7.5/8.7.3) 
          id XAA10873; Fri, 12 Jul 1996 23:19:28 +0200 (MET DST)
Message-Id: <199607122119.XAA10873@aladdin.rotterdam.luna.net>
Subject: Re: Newbie question: DBI / ODBC / iODBC? (fwd)
To: mahanm@nextwork.rose-hulman.edu (J. Michael Mahan)
Date: Fri, 12 Jul 1996 23:19:27 +0200 (MET DST)
Cc: dbi-users@fugue.com
In-Reply-To: <31E6559F.77A1@po.nextwork.rose-hulman.edu> from "J. Michael Mahan" at Jul 12, 96 08:39:43 am
From: Bart Schuller <Schuller@Lunatech.com>
X-Mailer: ELM [version 2.4 PL24 ME8b]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> lack a lot of experience.  I do have time, however, to work on
> something, and as I've said I've already have most of the core ODBC
> API implemented.
> --Michael Mahan

That's great!

I've started the first few steps writing a perl extension for a lean
mean inexpensive database called Solid (see www.solidtech.com), which
uses ODBC as its native API.

I think it's time to participate in the discussion about the future of
the DBI.

In the mean time, would you be willing to share your work? That would
help me a great deal (the NT ODBC stuff doesn't seem to be written in
XS, just raw C++, which makes it a bad starting point).

Bart.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02715-32@oink>;
          Mon, 15 Jul 1996 07:44:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837211662:24243:2; Fri, 12 Jul 96 23:47:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21992; 12 Jul 96 23:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA15384 for dbi-users-real; Fri, 12 Jul 1996 13:20:19 -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 NAA15379 
          for <dbi-users@fugue.com>; Fri, 12 Jul 1996 13:20:16 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa29515; 12 Jul 96 21:19 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac04575; 12 Jul 96 16:44 +0100
Received: from toad by oink with SMTP (PP) id <24514-0@oink>;
          Fri, 12 Jul 1996 15:50:10 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27791;
          Fri, 12 Jul 1996 15:50:03 +0000
Date: Fri, 12 Jul 1996 15:50:03 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607121450.AA27791@toad.ig.co.uk>
To: dbi-users@fugue.com, agupta@db.stanford.edu
Subject: Re: problems installing DBD on SOlaris 2.5
X-Sun-Charset: US-ASCII
content-length: 1464
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Ashish Gupta <agupta@DB.Stanford.EDU>
> 
> I have installed perl 5.003 using gcc 2.7.2 as the compiler.

I don't think so.

> Then installed DBI 0.71 that seems to run the test successfully.
> We have recently installed Oracle 7.3.2.1 (however the DBD install
> does not seem to get that far).
> 
> I get the following errors when trying to instal DBD 0.36.
> 
> gcc -c -I. -I/u01/app/oracle/product/7.3.2/precomp/public
> -I/u01/app/oracle/product/7.3.2/rdbms/demo
> -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI
> -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -Xc -xstrconst -xcg92
> -xF -mr -K  PIC -DSLXM X_ENABLE -DSLTS_ENABLE -D_REENTRANT -xO4
> -DVERSION=\"0.36\" -DXS_VERSION=\"0.36\" -fpic
> -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE -Wall -pedantic -Wno 
> -comment -Wtraditional Oracle.c
> gcc: PIC: No such file or directory
> gcc: unrecognized option `-Xc'
> gcc: unrecognized option `-K'
> gcc: language O4 not recognized
> cc1: Invalid option `r'

> Please suggest what might be wrong that is causing the above. Some of
> the options being passed to gcc are illegal (like -K). Editing them
> does not resolve the problem. 
> Thanks much.

Those options are stored in Config.pm when perl was built. The fact
they are not gcc options indicates that you have not properly installed
a perl which was built using gcc.

You need to build extensions with the same compiler as perl. It doesn't
matter which compiler (within reason).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02803-5@oink>;
          Mon, 15 Jul 1996 07:47:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837234001:21651:1; Sat, 13 Jul 96 06:00:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21354; 13 Jul 96 5:59 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA16049 for dbi-users-real; Fri, 12 Jul 1996 21:48:01 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mikigw2.paris-miki.co.jp (mikigw2.paris-miki.co.jp [160.233.40.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA16045 
          for <dbi-users@fugue.com>; Fri, 12 Jul 1996 21:47:58 -0700
Received: (from takami@localhost) 
          by mikigw2.paris-miki.co.jp (8.6.12+2.4W/3.3W9-LOCAL_VERSION=NEC) 
          id NAA26979; Sat, 13 Jul 1996 13:48:24 +0900
Date: Sat, 13 Jul 1996 13:48:24 +0900
From: "K.Takami" <takami@mikigw2.paris-miki.co.jp>
Message-Id: <199607130448.NAA26979@mikigw2.paris-miki.co.jp>
To: dbi-users@fugue.com, Tim.Bunce@ig.co.uk
Subject: I can't make DBD-Oracle-0.36
Content-Length: 2554


Greetings! folks.

  Finally I got the Oracle7.3 software on my workstation
(NEC EWS4800/310PX CPU=Mips R4000, OS=svr4.2), I'd like
to master to use the dbms.
  I downloaded both DBI-0.71 and DBD-Oracle-0.36. But I
can't make DBD-Oracle-0.36.

  > perl Makefile.PL

  Configuring DBD::Oracle ...

  >>>     Remember to actually *READ* the README file!

  Using Oracle in /home/oracle
  Unable to locate proc.mk (use -m /path/to/proc.mk to specify)


I found above messages. I couldn't find the file "proc.mk"
although I looked for it, , therefore, I replaced (A) with (B).

  (A) $oraclemk = "$OH/proc16/lib/proc16.mk"      unless -f $oraclemk;
  (B) $oraclemk = "$OH/rdbms/lib/oracle.mk"  unless -f $oraclemk;

And I reexecuted.

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!

Using Oracle in /home/oracle
Using /home/oracle/rdbms/lib/oracle.mk (version 1.4)
System: perl5.003 unix_sv cgewsf 4.2mp 1.release.1025.08:24 r4000 r4000
Compiler: /usr/abiccs/bin/cc -O -I/usr/include
Linker:   /usr/abiccs/bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       oracc
  CFLAGS:   -I. -O
  LDFLAGS:  -L$(LIBHOME)
Linking with /home/oracle/lib/osntab.o -L/home/oracle/lib -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lelf-lm -lcore3

Checking if your kit is complete...
Looks good
Processing hints file hints/svr4.pl

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

It looks good.
But "make test" after "make" output the following messages:

ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /usr/bin/perl: relocation error: symbol not found: sys_nerr at /usr/local/lib/perl5/DynaLoader.pmline 140.

 at blib/lib/DBD/Oracle.pm line 24
        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)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2 (bu21)
make: fatal error.


Why can't I pass the "make test" ?

Thank you in advance.

---------------------------------------
Takami Keiichi
Paris-MIKI inc.
((takami@mikigw2.paris-miki.co.jp)
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02757-27@oink>;
          Mon, 15 Jul 1996 07:48:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837248286:09208:1; Sat, 13 Jul 96 09:58:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09027; 13 Jul 96 9:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA16224 for dbi-users-real; Sat, 13 Jul 1996 01:47: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 BAA16220 
          for <dbi-users@fugue.com>; Sat, 13 Jul 1996 01:47:47 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ae05602; 13 Jul 96 9:46 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa04575; 12 Jul 96 16:43 +0100
Received: from toad by oink with SMTP (PP) id <24455-0@oink>;
          Fri, 12 Jul 1996 15:26:06 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27727;
          Fri, 12 Jul 1996 15:25:59 +0000
Date: Fri, 12 Jul 1996 15:25:59 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607121425.AA27727@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Re: oraperl information
Cc: ejnaiman@access.digex.net
X-Sun-Charset: US-ASCII
content-length: 1117
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Forwarded to dbi-users.

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

From ejnaiman@access.digex.net  Fri Jul 12 07:38:49 1996
Date: Thu, 11 Jul 1996 17:06:29 -0400
From: "Ephrayim J. Naiman" <ejnaiman@access.digex.net>
To: Tim.Bunce@ig.co.uk
Subject: Re: oraperl information

Hi there (again),

I'm in the process of tracking down a problem with (ora)perl scripts
that use command substitution (``) or open on a command with a pipe
(open(CH, "cat /etc/passwd|").

It seems as though, at times, the data does not come back up the pipe.
There is a possibility that somehow the parent is getting a death
of a child signal (or maybe some other signal) and the data does not
get back up the pipe.

Have you heard anything like this?

I'm running this on a HP/UX - 10.10 with perl-4.035 and oraperl on top of it.


Ephrayim "EJ" Naiman

Compuware                               WORK  : 410-234-1334
300 East Lombard Street                 FAX   : 410-234-1337
Suite 1400                              HOME  : 410-358-0907
Baltimore, MD 21202                     EMAIL : ejnaiman@access.digex.net


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

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02803-10@oink>;
          Mon, 15 Jul 1996 07:48:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837261860:23183:1; Sat, 13 Jul 96 13:44:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22987; 13 Jul 96 13:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA16373 for dbi-users-real; Sat, 13 Jul 1996 05:37:57 -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 FAA16369 
          for <dbi-users@fugue.com>; Sat, 13 Jul 1996 05:37:55 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id NAA18648; Sat, 13 Jul 1996 13:29:49 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607131229.NAA18648@fruitbat.mcqueen.com>
Subject: Re: I can't make DBD-Oracle-0.36
To: takami@mikigw2.paris-miki.co.jp (K.Takami)
Date: Sat, 13 Jul 1996 13:29:47 +0100 (BST)
Cc: dbi-users@fugue.com, Tim.Bunce@ig.co.uk
In-Reply-To: <199607130448.NAA26979@mikigw2.paris-miki.co.jp> from "K.Takami" at Jul 13, 96 01:48:24 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: 2140


>   Finally I got the Oracle7.3 software on my workstation
> (NEC EWS4800/310PX CPU=Mips R4000, OS=svr4.2), I'd like
> to master to use the dbms.
>   I downloaded both DBI-0.71 and DBD-Oracle-0.36. But I
> can't make DBD-Oracle-0.36.
> 
>   > perl Makefile.PL
> 
>   Configuring DBD::Oracle ...
> 
>   >>>     Remember to actually *READ* the README file!
> 
>   Using Oracle in /home/oracle
>   Unable to locate proc.mk (use -m /path/to/proc.mk to specify)
> 
> 
> I found above messages. I couldn't find the file "proc.mk"
> although I looked for it, , therefore, I replaced (A) with (B).
> 
>   (A) $oraclemk = "$OH/proc16/lib/proc16.mk"      unless -f $oraclemk;
>   (B) $oraclemk = "$OH/rdbms/lib/oracle.mk"  unless -f $oraclemk;
> 
> And I reexecuted.
> 
>  Configuring DBD::Oracle ...
> 
> >>>     Remember to actually *READ* the README file!
> 
> It looks good.
> But "make test" after "make" output the following messages:
> 
> ARGV;' t/*.t
> t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /usr/bin/perl: relocation error: symbol not found: sys_nerr at /usr/local/lib/perl5/DynaLoader.pmline 140.
> 
>  at blib/lib/DBD/Oracle.pm line 24
>         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)
> Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
> *** Error code 2 (bu21)
> make: fatal error.
> 
> 
> Why can't I pass the "make test" ?

Because 'oracle.mk' isn't the correct Makefile you should be referencing.
There is, believe it or not, a reason why we try and automate the make process.
It's to stop people messing about with things.

Now, try this:

	find $ORACLE_HOME -name 'proc.mk' -print

and see if it returns anything. If it does, follow the instructions in the
README. If it doesn't, install Pro*C.

A.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02803-16@oink>;
          Mon, 15 Jul 1996 07:49:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837279945:03050:1; Sat, 13 Jul 96 18:45:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02766; 13 Jul 96 18:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA16543 for dbi-users-real; Sat, 13 Jul 1996 10:35:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zu.zdk.com (ron@zu.zdk.com [199.183.114.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA16539 
          for <dbi-users@fugue.com>; Sat, 13 Jul 1996 10:35:55 -0700
Received: (from ron@localhost) by zu.zdk.com (8.6.9/8.6.9) id NAA08339 
          for dbi-users@fugue.com; Sat, 13 Jul 1996 13:35:50 -0400
From: Ron Schmidt <ron@zedak.com>
Message-Id: <199607131735.NAA08339@zu.zdk.com>
Subject: unsubscribe
To: dbi-users@fugue.com
Date: Sat, 13 Jul 1996 13:35:49 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 12

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02757-43@oink>;
          Mon, 15 Jul 1996 07:51:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837329631:12386:1; Sun, 14 Jul 96 08:33:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12101; 14 Jul 96 8:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA17065 for dbi-users-real; Sun, 14 Jul 1996 00:15:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from athena.romoidoy.com (athena.romoidoy.com [208.193.64.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA17061 
          for <dbi-users@fugue.com>; Sun, 14 Jul 1996 00:15:33 -0700
Received: from aurora (sabat@aurora.zoom.com [140.174.196.6]) 
          by athena.romoidoy.com (8.6.12/Romoidoy-Hub-022896) with SMTP 
          id AAA08070 for <dbi-users@fugue.com>;
          Sun, 14 Jul 1996 00:15:36 -0700
Date: Sun, 14 Jul 1996 00:15:28 -0700 (PDT)
From: Sabat <sabat@zoom.com>
X-Sender: sabat@aurora
To: dbi-users@fugue.com
Subject: Re: I can't make DBD-Oracle-0.36
In-Reply-To: <199607131229.NAA18648@fruitbat.mcqueen.com>
Message-ID: <Pine.SUN.3.91.960714001326.29958A-100000@aurora>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Sat, 13 Jul 1996, Alligator Descartes wrote:

> > But "make test" after "make" output the following messages:
> > 
> > ARGV;' t/*.t
> > t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /usr/bin/perl: relocation error: symbol not found: sys_nerr at /usr/local/lib/perl5/DynaLoader.pmline 140.
> 
> Because 'oracle.mk' isn't the correct Makefile you should be referencing.
> There is, believe it or not, a reason why we try and automate the make process.
> It's to stop people messing about with things.

True enough, but it doesn't explain why he's getting the same error,
*exactly*, as I am -- and I'm using proc.mk.

There's something fishier going on here than just the wrong make file.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02715-66@oink>;
          Mon, 15 Jul 1996 07:52:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837376363:24698:2; Sun, 14 Jul 96 21:32:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24330; 14 Jul 96 21:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA17515 for dbi-users-real; Sun, 14 Jul 1996 13:20:42 -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 NAA17511 
          for <dbi-users@fugue.com>; Sun, 14 Jul 1996 13:20:41 -0700
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com 
          with ESMTP (8.6.12/37.7) id NAA29571; Sun, 14 Jul 1996 13:20:37 -0700
Message-Id: <199607142020.NAA29571@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 AA223725609;
          Sun, 14 Jul 1996 22:20:09 +0200
From: Philippe Vanhaesendonck <pvanhaes@be.oracle.com>
Subject: Re: Oracle Workgroup Server for Solaris x86
To: groenvel@cse.psu.edu (John D Groenveld)
Date: Sun, 14 Jul 1996 22:20:35 CES
Cc: dbi-users@fugue.com
In-Reply-To: <199607112120.RAA19114@jovial.cse.psu.edu>; from "John D Groenveld" at Jul 11, 96 5:20 pm
X-Mailer: Elm [revision: 111.1]

> I guess I'm not the only one thats done this, but DBI/DBD-Oracle builds under 
> Solaris x86/Oracle Workgroup Server (7.1.4). I had to use a proc.mk from a 
> Solaris (sparc) distribution, since my evaluation version of Oracle doesnt 
> include it. I also had to comment COMPOBJS=  $(COMPOBJ)/__fstd.o in the 
> Makefile.
> With a newer, production version of Workgroup server, does it build out of the 
> box?

I don't think so... proc.mk is the makefile for precompilers, so Oracle will
not deliver it with a workgroup distribution which does not contains
precompilers...

So as long as DBI/DBD requires proc.mk, you will run into this (small) problem.

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 <08620-1@oink>;
          Mon, 15 Jul 1996 11:43:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837424987:00232:2; Mon, 15 Jul 96 11:03:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29466; 15 Jul 96 11:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id CAA18328 for dbi-users-real; Mon, 15 Jul 1996 02:47:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from truffaut.webservices.net (truffaut.webservices.net [194.72.236.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id CAA18324 
          for <dbi-users@fugue.com>; Mon, 15 Jul 1996 02:47:42 -0700
Received: from benm.webdev.co.uk (benm.webdev.co.uk [194.72.236.198]) 
          by truffaut.webservices.net (8.7.4/8.7.3) with SMTP id JAA15479 
          for <dbi-users@fugue.com>; Mon, 15 Jul 1996 09:47:53 GMT
Message-ID: <31EA143B.630BAD8B@webdev.co.uk>
Date: Mon, 15 Jul 1996 10:49:47 +0100
From: Ben Middleton <benm@webdev.co.uk>
Organization: Webdevelopment Ltd.
X-Mailer: Mozilla 3.0b5aGold (X11; I; Linux 2.0.0 i586)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Oraperl LONG insert question...
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Just a quick and simple question...

What is wrong with the following:

  $sth = $lda->prepare ("INSERT INTO bulletins
                         VALUES (:1, bulletin_seq.nextval, :2, SYSDATE,
:3)")
         or &HtmlDie ("Error submitting data", $ora_errstr);
  &ora_bind ($sth, '$Q::head_code', '$Q::title', '$Q::content');
  $attrib{'ora_type'} = 23;
  $sth->bind_param (3, '$Q::content', \%attrib);
  $sth->execute or &HtmlDie ("Error submitting data", $ora_errstr);
  $sth->finish; 

My main objective is to bind the third paramater as an Oracle LONG type.

Ben M

(benm@webdev.co.uk)
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12452-16@oink>;
          Tue, 16 Jul 1996 07:43:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837487388:04348:1; Tue, 16 Jul 96 04:23:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04053; 16 Jul 96 4:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA20979 for dbi-users-real; Mon, 15 Jul 1996 16:42:09 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA20975 
          for <dbi-users@fugue.com>; Mon, 15 Jul 1996 16:42:07 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          with MHSnet id JAA26929 for dbi-users@fugue.com;
          Tue, 16 Jul 1996 09:42:03 +1000
Received: from booey by wurrup (AIX 3.2/UCB 5.64/4.03) id AA57009;
          Tue, 16 Jul 1996 09:37:47 +1000
Message-Id: <31EAD6FD.3672@bha.oz.au>
Date: Tue, 16 Jul 1996 09:40:45 +1000
From: Andrew Berry <adb@bha.oz.au>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: Ben Middleton <benm@webdev.co.uk>
Cc: dbi-users@fugue.com
Subject: Re: Oraperl LONG insert question...
References: <31EA143B.630BAD8B@webdev.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Ben Middleton wrote:
> What is wrong with the following:
> 
>   $sth = $lda->prepare ("INSERT INTO bulletins
>                          VALUES (:1, bulletin_seq.nextval, :2, SYSDATE,
> :3)")
>          or &HtmlDie ("Error submitting data", $ora_errstr);
>   &ora_bind ($sth, '$Q::head_code', '$Q::title', '$Q::content');
>   $attrib{'ora_type'} = 23;
>   $sth->bind_param (3, '$Q::content', \%attrib);
>   $sth->execute or &HtmlDie ("Error submitting data", $ora_errstr);
>   $sth->finish;

A couple of problems in there.  Firstly, you're mixing the oraperl and DBI 
interfaces to Oracle.  The 'ora_bind' is equivalent to the 'execute', so the 
'ora_bind' call is actually inserting your data into the database.  Second, if 
you use 'bind_param', you need to use it for all three bound values.

You should be able to insert LONG values using 'execute' or 'ora_bind' without 
explicitly setting the type attribute.  It's only RAW and LONG RAW values that 
require the use of 'bind_param', so something like:

  $sth = $lda->prepare ("INSERT INTO bulletins 
         VALUES (:1, bulletin_seq.nextval, :2, SYSDATE, :3)") or die ...;
  $sth->execute($Q::head_code, $Q::title, $Q::content) | die ... ;

should work.  Alternatively, you can bind each of your values using 'bind_param' 
and call 'execute' with no parameters. 

Ciao,

AndyB
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18916-0@oink>;
          Tue, 16 Jul 1996 18:42:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837538844:29390:1; Tue, 16 Jul 96 18:40:44 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa28823; 16 Jul 96 18:39 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa17367; 16 Jul 96 18:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA22566 for dbi-users-real; Tue, 16 Jul 1996 10:19:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from po.nextwork.rose-hulman.edu (po.rose-hulman.edu [137.112.5.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA22562 
          for <dbi-users@fugue.com>; Tue, 16 Jul 1996 10:19:47 -0700
Received: from public-3.rose-hulman.edu (public-3.rose-hulman.edu [137.112.3.22]) 
          by po.nextwork.rose-hulman.edu (8.7.5/8.7.3) with SMTP id MAA12726;
          Tue, 16 Jul 1996 12:18:23 -0500
Message-ID: <31EBCEED.676E@po.nextwork.rose-hulman.edu>
Date: Tue, 16 Jul 1996 12:18:37 -0500
From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
Organization: Rose-Hulman Institute of Technology
X-Mailer: Mozilla 2.02Gold (Win95; I)
MIME-Version: 1.0
To: Bart Schuller <Schuller@lunatech.com>
CC: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>, dbi-users@fugue.com
Subject: Re: Newbie question: DBI / ODBC / iODBC? (fwd)
References: <199607122119.XAA10873@aladdin.rotterdam.luna.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm moving this discussion to the dbi-dev list.
Michael Mahan

Bart Schuller wrote:

> 
> > lack a lot of experience.  I do have time, however, to work on
> > something, and as I've said I've already have most of the core ODBC
> > API implemented.
> > --Michael Mahan
> 
> That's great!
> 
> I've started the first few steps writing a perl extension for a lean
> mean inexpensive database called Solid (see www.solidtech.com), which
> uses ODBC as its native API.
> 
> I think it's time to participate in the discussion about the future of
> the DBI.
> 
> In the mean time, would you be willing to share your work? That would
> help me a great deal (the NT ODBC stuff doesn't seem to be written in
> XS, just raw C++, which makes it a bad starting point).
> 
> Bart.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <21464-0@oink>;
          Wed, 17 Jul 1996 07:35:59 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837551165:13219:0; Tue, 16 Jul 96 22:06:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa12150; 16 Jul 96 22:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA22560 for dbi-dev-real; Tue, 16 Jul 1996 10:19:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from po.nextwork.rose-hulman.edu (po.rose-hulman.edu [137.112.5.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA22546 
          for <dbi-dev@fugue.com>; Tue, 16 Jul 1996 10:16:45 -0700
Received: from public-3.rose-hulman.edu (public-3.rose-hulman.edu [137.112.3.22]) 
          by po.nextwork.rose-hulman.edu (8.7.5/8.7.3) with SMTP id MAA12693;
          Tue, 16 Jul 1996 12:15:48 -0500
Message-ID: <31EBCE52.75CC@po.nextwork.rose-hulman.edu>
Date: Tue, 16 Jul 1996 12:16:02 -0500
From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
Organization: Rose-Hulman Institute of Technology
X-Mailer: Mozilla 2.02Gold (Win95; I)
MIME-Version: 1.0
To: Tim Bunce <Tim.Bunce@ig.co.uk>
CC: dbi-dev@fugue.com
Subject: Re: Newbie question: DBI / ODBC / iODBC? (fwd)
References: <9607121603.AA28291@toad.ig.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
> 
> > From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
> >        First,  I've just joined this group.  Second, I've been 
> > working the past couple of weeks on a perl extension to iODBC.  Core 
> > ODBC support should be finished soon, so I guess before I finish 
> > doing this I would like to know what the _plans_ are if there are 
> > any.  The extension, as it is right now, is tied very close to the 
> > C-libraries, with the hopes of maybe building a nice object oriented, 
> > perl-like interface on top of it.  I guess that's where DBI could 
> > come in...[OK I've now read DBI-0.71.readme this explains a lot.]... 
> >  I would like to help, but I lack a lot of experience. I do have 
> > time, however, to work on something, and as I've said I've already 
> > have most of the core ODBC API implemented.
> 
> Long lines are a pain.I hope they are shorter now.
> 
> Okay, how about this... re-implement your ODBC code as a DBD. Use the 
> DBD::DB2 module as a guide (DB2's interface is very close to ODBC's).

> Once it's working as a DBD we can look at tighter integration into the 
> DBI.
> 
> Interested? (I know a few hundred people who'd be very grateful :-)
> 
> All I ask is that you licence the code on the same terms as Perl itself
> 
> Tim.

How about this... first a picture. I hope this formats properly.
--------------------------------------------
  
            .-------------------.
            | Perl script using |
            |     DBperl API    |
            `-------------------'
                      |
                      |
                     API
                      |
                      |
               .--------------.
               |    Switch    |
               `--------------'
                |            |
                |            |
          .----------.  .---------.
          | ODBC DBD |  | XYZ DBD |
          `----------'  `---------'
                |            |
                |            |
       .----------------. .----------.
       | ODBC Extension | | XYZ DATA |
       |   interface    | |  SOURCE  |      
       `----------------' `----------'
                |
                |
    .---------------------.
    | ODBC Driver Manager |
    `---------------------'
    |         |          |
    |         |          |
.--------. .--------. .--------.
| Driver | | Driver | | Driver |
`--------' `--------' `--------'
    |         |          |
    |         |          |
.--------. .--------. .--------.                        
|  DATA  | |  DATA  | |  DATA  |
| SOURCE | | SOURCE | | SOURCE |
`--------' `--------' `--------'

--------------End of picture-----------------

I have already written a alpha ODBC Extension interface with core support 
(and will provide it to the public soon).  Anyone who knows the ODBC API 
can use this to access the iODBC Driver Manager from perl.  Because it is 
so much like the C-iODBC API it isn't very perlesque.  That is where the 
ODBC DBD could come in.  Once the ODBC Extension Interface is working 
well, I could write the DBD.  What do you think of this?

Michael Mahan
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21463-8@oink>;
          Wed, 17 Jul 1996 07:36:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837552527:02467:2; Tue, 16 Jul 96 22:28:47 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa02294; 16 Jul 96 22:28 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa28451; 16 Jul 96 22:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA22641 for dbi-users-real; Tue, 16 Jul 1996 10:55:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from athena.romoidoy.com (athena.romoidoy.com [208.193.64.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA22637 
          for <dbi-users@fugue.com>; Tue, 16 Jul 1996 10:55:56 -0700
Received: from aurora (sabat@aurora.zoom.com [140.174.196.6]) 
          by athena.romoidoy.com (8.6.12/Romoidoy-Hub-022896) with SMTP 
          id KAA21703 for <dbi-users@fugue.com>;
          Tue, 16 Jul 1996 10:56:06 -0700
Date: Tue, 16 Jul 1996 10:55:57 -0700 (PDT)
From: Sabat <sabat@zoom.com>
X-Sender: sabat@aurora
To: dbi-users@fugue.com
Subject: test
Message-ID: <Pine.SUN.3.91.960716105514.12327A-100000@aurora>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24529-1@oink>;
          Wed, 17 Jul 1996 13:10:05 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837589038:22330:2; Wed, 17 Jul 96 08:37:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21685; 17 Jul 96 8:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA24155 for dbi-users-real; Wed, 17 Jul 1996 00:21:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from DB.Stanford.EDU (DB.Stanford.EDU [171.64.75.91]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA24151 
          for <dbi-users@fugue.com>; Wed, 17 Jul 1996 00:21:49 -0700
Received: (from agupta@localhost) by DB.Stanford.EDU (8.7.1/8.7.1) id AAA20158;
          Wed, 17 Jul 1996 00:21:48 -0700
Date: Wed, 17 Jul 1996 00:21:48 -0700
From: Ashish Gupta <agupta@DB.Stanford.EDU>
Message-Id: <199607170721.AAA20158@DB.Stanford.EDU>
To: dbi-users@fugue.com
Subject: calling PL/SQL functions from DBI-DBD



Hi,
i am trying to call a PL/SQL procedure (function) using DBI-DBD
with not much success. Any advice on how to do so will be greatly
appreciated.
thanks much.

ashish
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25847-17@oink>;
          Wed, 17 Jul 1996 15:55:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837611733:00425:3; Wed, 17 Jul 96 14:55:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29963; 17 Jul 96 14:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA24523 for dbi-users-real; Wed, 17 Jul 1996 06:44:10 -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 GAA24519 
          for <dbi-users@fugue.com>; Wed, 17 Jul 1996 06:44:09 -0700
Received: by gw.home.vix.com id GAA22461; Wed, 17 Jul 1996 06:44:03 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk by relay-5.mail.demon.net id bs04226;
          17 Jul 96 13:51 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ai06065; 17 Jul 96 13:10 +0100
Received: from toad by oink with SMTP (PP) id <24380-0@oink>;
          Wed, 17 Jul 1996 12:21:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27544;
          Wed, 17 Jul 1996 12:20:58 +0000
Date: Wed, 17 Jul 1996 12:20:58 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607171120.AA27544@toad.ig.co.uk>
To: dfogg@us.oracle.com
Subject: Re: Can't mix placeholder styles
Cc: dtow@us.oracle.com, dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> To: Tim.Bunce@ig.co.uk

Please always mail the dbi-users list (CC me). Don't just mail me direct.

> I'm new to Perl and Oraperl, but I believe I've run into an Oraperl bug.
> The problem appears when I do an explain plan using ora_do
> and the sql to be explained has question marks in it.
> eg:
> 
> &ora_do($lda_ex, "explain plan into plan_table for         
> 		SELECT ORACLE_USERNAME                 /* to do this??          */
>     	        INTO :fndname
>     	        FROM FND_ORACLE_USERID
>      	        WHERE ORACLE_ID = 0");
> 
> This call results in the following message printed out and then 
> termination of Perl:
> 
> Can't mix placeholder styles (2/3) at /fnddev/X11/lib/site_perl/DBD/Oracle.pm line 168.
> 
> I can execute the explain plan with question marks in sqlplus
> and it will succeed, so it appears to be a problem in Oraperl.
> Using ora_do, if I try to escape the question marks:
> 
>  /* to do this\?\?          */
> 
> I still get the same error message.
> When remove the '??', then the ora_do call succeeds.
> Oddly, when I do an insert using ora_do which includes
> strings with question marks, the call succeeds so it
> might be something special to explain plan.
> 
> Dennis Fogg

It's not related to explain plan. Any time you prepare a statement with
question marks or :name in comments you will probably get this problem.

Call it a mis-feature!

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28334-0@oink>;
          Wed, 17 Jul 1996 20:23:21 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837631297:01655:3; Wed, 17 Jul 96 20:21:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01561; 17 Jul 96 20:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA25058 for dbi-users-real; Wed, 17 Jul 1996 12:04:55 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns1.eds.com (ns1.eds.com [192.85.154.78]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA25054 
          for <dbi-users@fugue.com>; Wed, 17 Jul 1996 12:04:52 -0700
Received: by ns1.eds.com (hello) id PAA23791; Wed, 17 Jul 1996 15:04:41 -0400
Received: from quasi.mmts.eds.com (quasi [148.94.230.18]) 
          by geronimo.mmts.eds.com (8.7.5/8.7.3) with SMTP id OAA09771 
          for <dbi-users@fugue.com>; Wed, 17 Jul 1996 14:03:18 -0500 (CDT)
Received: by quasi.mmts.eds.com with Microsoft Mail 
          id <01BB73E8.A1F02F20@quasi.mmts.eds.com>;
          Wed, 17 Jul 1996 14:02:46 -0500
Message-ID: <01BB73E8.A1F02F20@quasi.mmts.eds.com>
From: Josh Oh <joh@mmts.eds.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: Testing DBD-Informix-0.20pl1
Date: Wed, 17 Jul 1996 14:02:45 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Help!!!

I am quite new to Informix and also to DBI/DBD, but I am giving it a
try anyway...

I am running Sun Solaris 2.5, perl 5.002, DBI 0.69, and Informix 7.1
(to the best of my knowledge).

I downloaded DBD-Informix-0.20pl1 and was successful in creating a
makefile and running the 'make install'.  Where I am running into problem
is in trying to run the test.pl script.  Each time I run the script I get the
following error:
   not ok: Database not found or no system permission.
   Database handle DBI::db=HASH(0xcd414) DESTROY ignored - never set up.
   Testing: $drh->connect( 'dbhost', $dbname, 'dbuser', 'dbpass' ): 

I attempted changing the test script to use valid host, db, user, and password
information and still received the same error message.  I attempted to chase
down the error and found that the script died in the connect method in 
Informix.pm.  Specifically when it calls 'DBD::Informix::db::_login(...)'.

I do not know if this problem is a configuration related problem, or if I am
missing something, or what...  I would appreciate any help you can provide
in resolving this problem.

Thanks in advance.

Josh Oh
joh@mmts.eds.com

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29834-19@oink>;
          Thu, 18 Jul 1996 07:39:12 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837643388:02309:2; Wed, 17 Jul 96 23:43:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01773; 17 Jul 96 23:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA25414 for dbi-users-real; Wed, 17 Jul 1996 15:32:50 -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 PAA25410 
          for <dbi-users@fugue.com>; Wed, 17 Jul 1996 15:32:48 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA19034; Wed, 17 Jul 1996 23:24:42 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607172224.XAA19034@fruitbat.mcqueen.com>
Subject: Re: install_driver error
To: pray@aquila.eaglemap.com (Pratik Ray)
Date: Wed, 17 Jul 1996 23:24:41 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <9607172012.AA08464@osprey.eaglemap.com> from "Pratik Ray" at Jul 17, 96 03:12:03 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: 677


> We installed the DBI at our site.  I am on Solaris 2.4. I copied the program from  http://www.hermetica.com/technologia/DBI/ and tried to run it. 
> 
> I get following error:
> 
> install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC at (eval 1)    line 2.
>         DBI::install_driver called at test.perl line 7
> 
> I don't have this Oracle.pm file.  If I need this file where do I get it from ?
> Please let me know ASAP.

You need DBD::Oracle.

> Pratik Ray

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29833-23@oink>;
          Thu, 18 Jul 1996 07:39:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837634911:26766:0; Wed, 17 Jul 96 21:21:51 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa26264; 17 Jul 96 21:21 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa21972; 17 Jul 96 21:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA25168 for dbi-users-real; Wed, 17 Jul 1996 13:12:25 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.entech.com (ns.entech.com [198.65.158.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA25164 
          for <dbi-users@fugue.com>; Wed, 17 Jul 1996 13:12:24 -0700
Received: from [199.117.206.111] by ns.entech.com (NTMail 3.01.03) id ta013799;
          Wed, 17 Jul 1996 15:10:06 -0400
Received: from osprey.eaglemap.com by eaglemap.com (5.x/SMI-SVR4) id AA10744;
          Wed, 17 Jul 1996 15:12:03 -0500
Received: by osprey.eaglemap.com (5.x/SMI-SVR4) id AA08464;
          Wed, 17 Jul 1996 15:12:03 -0500
Date: Wed, 17 Jul 1996 15:12:03 -0500
From: Pratik Ray <pray@aquila.eaglemap.com>
Message-Id: <9607172012.AA08464@osprey.eaglemap.com>
To: dbi-users@fugue.com
Subject: install_driver error
X-Sun-Charset: US-ASCII


I am a new user of DBD::Oracle.

We installed the DBI at our site.  I am on Solaris 2.4. I copied the program from  http://www.hermetica.com/technologia/DBI/ and tried to run it. 

I get following error:

install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC at (eval 1)    line 2.
        DBI::install_driver called at test.perl line 7

I don't have this Oracle.pm file.  If I need this file where do I get it from ?
Please let me know ASAP.

Thanks in advance.

Pratik Ray
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29948-14@oink>;
          Thu, 18 Jul 1996 07:43:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837643241:28600:2; Wed, 17 Jul 96 23:40:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27939; 17 Jul 96 23:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA25426 for dbi-users-real; Wed, 17 Jul 1996 15:35:11 -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 PAA25422 
          for <dbi-users@fugue.com>; Wed, 17 Jul 1996 15:35:08 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA19062; Wed, 17 Jul 1996 23:27:07 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607172227.XAA19062@fruitbat.mcqueen.com>
Subject: Re: Testing DBD-Informix-0.20pl1
To: joh@mmts.eds.com (Josh Oh)
Date: Wed, 17 Jul 1996 23:27:06 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <01BB73E8.A1F02F20@quasi.mmts.eds.com> from "Josh Oh" at Jul 17, 96 02:02:45 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: 1682


> I am quite new to Informix and also to DBI/DBD, but I am giving it a
> try anyway...
> 
> I downloaded DBD-Informix-0.20pl1 and was successful in creating a
> makefile and running the 'make install'.  Where I am running into problem
> is in trying to run the test.pl script.  Each time I run the script I get the
> following error:
>    not ok: Database not found or no system permission.
>    Database handle DBI::db=HASH(0xcd414) DESTROY ignored - never set up.
>    Testing: $drh->connect( 'dbhost', $dbname, 'dbuser', 'dbpass' ): 
> 
> I attempted changing the test script to use valid host, db, user, and password
> information and still received the same error message.  I attempted to chase
> down the error and found that the script died in the connect method in 
> Informix.pm.  Specifically when it calls 'DBD::Informix::db::_login(...)'.
> 
> I do not know if this problem is a configuration related problem, or if I am
> missing something, or what...  I would appreciate any help you can provide
> in resolving this problem.

Well, it implies the user you are runing the script as has no permissions
within the database you're attempting to connect to. Either that, or the
database you've given in doesn't exist.

The hostname, username and password arguments are dummy. The 2nd one in
the connect string ( marked $dbname in the test.pl script ) is the only
one that makes any difference. Try connecting to the database using dbaccess
and see what happens.

> Josh Oh

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03548-1@oink>;
          Thu, 18 Jul 1996 10:54:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837676569:17545:1; Thu, 18 Jul 96 08:56:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17066; 18 Jul 96 8:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA26157 for dbi-users-real; Thu, 18 Jul 1996 00:50:19 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cwis.isu.edu (kellcrai@cwis.isu.edu [134.50.254.11]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA26153 
          for <dbi-users@fugue.com>; Thu, 18 Jul 1996 00:50:17 -0700
Received: by cwis.isu.edu (1.37.109.18/16.2) id AA027416277;
          Thu, 18 Jul 1996 01:51:17 -0600
Date: Thu, 18 Jul 1996 01:30:57 -0600 (MDT)
From: "Inconnu (Craig)" <kellcrai@cwis.isu.edu>
Subject: Oraperl-0.36 on AIX
To: dbi-users@fugue.com
Cc: Tim.Bunce@ig.co.uk
Message-Id: <Pine.3.87.9607180156.A26010-0100000@cwis.isu.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello, I have used oraperl for about a year now on our Powerstation 570 
(AIX) and have had next to no problems with it up until now.  I had to 
manually link -bI:/home/oracle/product/7.1.4/lib/mili.exp for it to 
compile  and I noticed that the bugreport wanted to know how to automize 
future installations, so here it is:

What happened->
....
# perl Makefile.PL

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!

Using Oracle in /home/oracle/product/7.1.4
Using /home/oracle/product/7.1.4/proc/lib/proc.mk (version 1.17)
System: perl5.003 aix dur 2 3 000045183700 
Compiler: cc -O -D_ALL_SOURCE -D_NO_PROTO
Linker:   /bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       oraxlc
  CFLAGS:   -I. -O
  LDFLAGS:  -L$(LIBHOME)
Linking with /home/oracle/product/7.1.4/lib/osntab.o /lib/crt0.o -locic -lsqlne
t -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm -lld -lm 
 -lc -bI:/home/oracle/product/7.1.4/lib/mili.exp

Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '-bI:/home/oracle/product/7.1.4/lib/mili.
exp'

....
And then, after a 'make' it finds unresolved symbols becuase it is unable
to link with mili.exp:
....

Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
        LD_RUN_PATH="/home/oracle/product/7.1.4/lib:/lib" ld -H512 -T512 
-bhalt:
4 -o ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE -bI:/usr
/local/lib/perl5/aix/5.003/CORE/perl.exp -bE:Oracle.exp -e _nostart -lc Oracle.o
 dbdimp.o /home/oracle/product/7.1.4/lib/osntab.o /lib/crt0.o  -L/home/oracle
/product/7.1.4/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -l
nlsrtl -lcv6 -lcore -lm -lld -lm -lc 
0706-317 ERROR: Unresolved or undefined symbols detected:
                 Symbols in error (followed by references) are
                 dumped to the load map.
                 The -bloadmap:<filename> option will create a load map.
.__mulh
.__divss
.__divus
.__quous
.__quoss
The error code from the last failed command is 8.

Make Quitting.
....

The solution was to just run ld myself-- and everything worked fine.

Thank you all for such a useful tool -- it has been of great use to our 
college's Drug Utilization Review program!  


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04908-7@oink>;
          Thu, 18 Jul 1996 16:02:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837700129:04704:1; Thu, 18 Jul 96 15:28:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04037; 18 Jul 96 15:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA26647 for dbi-users-real; Thu, 18 Jul 1996 07:20:24 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from lassie.eunet.fi (lassie.eunet.fi [192.26.119.7]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA26643 
          for <dbi-users@fugue.com>; Thu, 18 Jul 1996 07:20:21 -0700
Received: from sysdeco.fi (sunsol.sysdeco.fi) by lassie.eunet.fi with SMTP 
          id AA03300 (5.67a/IDA-1.5 for <dbi-users@fugue.com>);
          Thu, 18 Jul 1996 17:20:13 +0300
Received: from matti (matti.sysdeco.fi) by sysdeco.fi (5.0/SMI-SVR4) id AA00712;
          Thu, 18 Jul 1996 17:19:14 +0300
Message-Id: <2.2.32.19960718142038.009bf3e4@stekt.oulu.fi>
X-Sender: ilmari@stekt.oulu.fi
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 18 Jul 1996 17:20:38 +0300
To: dbi-users@fugue.com
From: Matti Keravuo <Matti.Keravuo@sysdeco.fi>
Subject: Problems with Oraperl on DBD-Oracle 0.36
Content-Length: 868

I have run across some problems using the Oraperl emulation on DBI 0.71 +
DBD-Oracle 0.36. I'm trying to fetch rows containing LONGs using 

        $ora_long = 512;
        $cursor = &ora_open($lda, SQL);
        while (@row = &ora_fetch($cursor)) {
	  $cursor->blob_read(0, 0, $row[1], \$blob);
          ... print the row in some file ...
        &ora_close($cursor);

from which I get after a while
        
        Warning: ORA-03113: end-of-file on communication channel (DBD: oflng
error)

just before I get an

        ora_close: 3114: ORA-03114: not connected to ORACLE (DBD: ocan error)

Any ideas why this might be happening?

The Oracle version is  7.1.6.2.0 on Solaris 2.4 with Perl 5.003 

        Matti Keravuo


	* Matti.Keravuo@sypress.fi	* Sysdeco Finland Oy	*
	* Ahjotie 1 E, 90150 Oulu	* tel.+358-81-5377654	*
	* FINLAND			* fax.+358-81-5377650	*

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07311-37@oink>;
          Fri, 19 Jul 1996 07:39:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837731282:07706:3; Fri, 19 Jul 96 00:08:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07179; 19 Jul 96 0:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA27623 for dbi-users-real; Thu, 18 Jul 1996 15:55:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from athena.romoidoy.com (athena.romoidoy.com [208.193.64.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA27619 
          for <dbi-users@fugue.com>; Thu, 18 Jul 1996 15:55:32 -0700
Received: from aurora (sabat@aurora.zoom.com [140.174.196.6]) 
          by athena.romoidoy.com (8.6.12/Romoidoy-Hub-022896) with SMTP 
          id PAA27157 for <dbi-users@fugue.com>;
          Thu, 18 Jul 1996 15:55:46 -0700
Date: Thu, 18 Jul 1996 15:55:35 -0700 (PDT)
From: Sabat <sabat@zoom.com>
X-Sender: sabat@aurora
To: dbi-users@fugue.com
Subject: Re: DBD::Oracle make test failure
In-Reply-To: <Pine.SUN.3.91.960711170454.18410A-100000@aurora>
Message-ID: <Pine.SUN.3.91.960718154709.23810C-100000@aurora>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

> make test
> 
> PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/export/home/perl/lib/perl5/sun4-solaris/5.003 -I/export/home/perl/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: /bin/perl: fatal: relocation error: symbol not found: osnptt: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /export/home/perl/lib/perl5/DynaLoader.pm line 140.
> 
>  at blib/lib/DBD/Oracle.pm line 24
> 	DBI::install_driver called at t/base.t line 16
>
> Oracle 7.3.2
> Solaris 2.5.1

Still no solution to the above -- I've looked at LIBHOME, to make sure
proper linking is set up by MakeMaker (it is), and that osnptt is actually
in the osntab.o library.

Is there anything else I can look at?

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07311-52@oink>;
          Fri, 19 Jul 1996 07:40:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837735637:19168:2; Fri, 19 Jul 96 01:20:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18886; 19 Jul 96 1:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA27776 for dbi-users-real; Thu, 18 Jul 1996 17:15:35 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA27772 
          for <dbi-users@fugue.com>; Thu, 18 Jul 1996 17:15:30 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          with MHSnet id KAA27351 for dbi-users@fugue.com;
          Fri, 19 Jul 1996 10:15:26 +1000
Received: from booey by wurrup (AIX 3.2/UCB 5.64/4.03) id AA23275;
          Fri, 19 Jul 1996 10:11:39 +1000
Message-Id: <31EED370.2603@bha.oz.au>
Date: Fri, 19 Jul 1996 10:14:41 +1000
From: Andrew Berry <adb@bha.oz.au>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: Matti Keravuo <Matti.Keravuo@sysdeco.fi>
Cc: dbi-users@fugue.com
Subject: Re: Problems with Oraperl on DBD-Oracle 0.36
References: <2.2.32.19960718142038.009bf3e4@stekt.oulu.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> I have run across some problems using the Oraperl emulation on DBI 0.71 +
> DBD-Oracle 0.36. I'm trying to fetch rows containing LONGs using
> 
>         $ora_long = 512;
>         $cursor = &ora_open($lda, SQL);
>         while (@row = &ora_fetch($cursor)) {
>           $cursor->blob_read(0, 0, $row[1], \$blob);
>           ... print the row in some file ...
>         &ora_close($cursor);

Check the order of parameters for blob_read.  The way I have used it (successfully) 
is:

  $offset = 0;
  $chunksize = 10000;
  $buf = $cursor->blob_read(row[0], $offset, $chunksize);

Note that I've had problems reading a LONG when it wasn't the first element of the 
returned row (i.e. row[0]).  Note also that you never get back more than $chunksize, 
so if you're LONG is larger, you have to loop.  I used:

    $buf = $sh->blob_read($row[0], $offset, $chunk);
    while (length($buf) == $chunk) {
        $offset += $chunk;
        $blob .= $buf;
        $buf = $sh->blob_read($row[0], $offset, $chunk);
    }
    $blob .= $buf;

Ciao,

AndyB
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07311-59@oink>;
          Fri, 19 Jul 1996 07:40:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837739614:17992:5; Fri, 19 Jul 96 02:26:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17849; 19 Jul 96 2:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA27905 for dbi-users-real; Thu, 18 Jul 1996 18:21:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ws5.justintime.com (ws5.justintime.com [205.149.189.36]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA27901 
          for <dbi-users@fugue.com>; Thu, 18 Jul 1996 18:21:52 -0700
Received: (from ml@localhost) by ws5.justintime.com (8.7.3/8.7.3) id SAA16078;
          Thu, 18 Jul 1996 18:23:03 -0700 (PDT)
Date: Thu, 18 Jul 1996 18:23:03 -0700 (PDT)
Message-Id: <199607190123.SAA16078@ws5.justintime.com>
To: dbi-users@fugue.com
Subject: Making DBD::Oracle, linking with __fstd.o
Cc: ml@justintime.com
From: ml@justintime.com


I'm still having trouble making DBD::Oracle, transcript below.
I think that linking with $ORACLE_HOME/lib/__fstd.o, as the
README says, might help, but I'm not sure how to make this
happen.  

Thanks for any suggestions,
Mike Linksvayer ml@justintime.com

redcomet:/export/home/oracle/DBD-Oracle-0.36# perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.4, archname=sun4-solaris
    uname='sunos redcomet 5.4 generic_101945-39 sun4m sparc '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='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='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: /usr/local/lib/perl5/sun4-solaris/5.003 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .

redcomet:/export/home/oracle/DBD-Oracle-0.36# perl Makefile.PL
 
 Configuring DBD::Oracle ...
 
>>>     Remember to actually *READ* the README file!
 
Using Oracle in /export/home/oracle
Using /export/home/oracle/precomp/demo/proc/proc.mk /export/home/oracle/precomp/env_precomp.mk 
System: perl5.003 sunos redcomet 5.4 generic_101945-39 sun4m sparc 
Compiler: gcc -O -I/usr/local/include
Linker:   /usr/ccs/bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       cc
  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)
  LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib
Linking with  -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -laio -lposix4 -lm -lthread
 
Checking if your kit is complete...
Looks good
Warning (will try anyway): No library found for -lncr
Warning (will try anyway): No library found for -lclient
Warning (will try anyway): No library found for -lcommon
Warning (will try anyway): No library found for -lgeneric
Warning (will try anyway): No library found for -lncr
Warning (will try anyway): No library found for -lclient
Warning (will try anyway): No library found for -lcommon
Warning (will try anyway): No library found for -lgeneric
Warning (will try anyway): No library found for -lepc
 
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
redcomet:/export/home/oracle/DBD-Oracle-0.36# make
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
perl -I/usr/local/lib/perl5/sun4-solaris/5.003 -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. -I/export/home/oracle/precomp/public -I/export/home/oracle/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -Xc -xstrconst -xcg92 -xF -mr -K PIC -DSLXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT -xO4     -DVERSION=\"0.36\"  -DXS_VERSION=\"0.36\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
gcc: PIC: No such file or directory
gcc: unrecognized option `-Xc'
gcc: unrecognized option `-K'
gcc: language O4 not recognized
cc1: Invalid option `r'
Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_execute':
Oracle.c:256: warning: ANSI C forbids braced-groups within expressions
Oracle.c:265: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_fetchrow':
Oracle.c:305: warning: ANSI C forbids braced-groups within expressions
Oracle.c:311: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_finish':
Oracle.c:400: warning: ANSI C forbids braced-groups within expressions
Oracle.c:404: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `boot_DBD__Oracle':
Oracle.c:444: warning: ANSI C forbids braced-groups within expressions
*** Error code 1
make: Fatal error: Command failed for target `Oracle.o'

THE END
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21216-36@oink>;
          Mon, 22 Jul 1996 07:44:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 837901776:04598:1; Sat, 20 Jul 96 23:29:36 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04005; 20 Jul 96 23:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA01618 for dbi-users-real; Sat, 20 Jul 1996 15:16:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from motgate2.mot.com (motgate2.mot.com [129.188.136.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA01614 
          for <dbi-users@fugue.com>; Sat, 20 Jul 1996 15:16:44 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) 
          by motgate2.mot.com (8.7.3/8.6.10/MOT-3.8) with ESMTP id WAA07099 
          for <dbi-users@fugue.com>; Sat, 20 Jul 1996 22:13:38 GMT
Received: from po_box.cig.mot.com (po_box.cig.mot.com [136.182.15.5]) 
          by pobox.mot.com (8.7.3/8.6.10/MOT-3.8) with SMTP id RAA22916 
          for <dbi-users@fugue.com>; Sat, 20 Jul 1996 17:16:09 -0500 (CDT)
Message-Id: <199607202216.SAA26428@po_box.cig.mot.com>
Received: (chinay@localhost) by booboo.cig.mot.com (8.6.9/SCERG-1.12B) 
          id RAA18289 for dbi-users@fugue.com; Sat, 20 Jul 1996 17:16:08 -0500
From: Albert Chin-A-Young <chinay@cig.mot.com>
Subject: Re: Announce: DBI-0.71 and DBD-Oracle-0.36
To: dbi-users@fugue.com
Date: Sat, 20 Jul 1996 17:16:08 -0500 (CDT)
In-Reply-To: <199607100412.AAA07244@po_box.cig.mot.com> from "Tim Bunce" at Jul 10, 96 03:51:18 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

>Note that DBD::Oracle 0.36 requires DBI 0.71 and both require perl 5.003.

Why? I don't have sperl or suidperl installed here so I don't see the
need to upgrade to 5.003 (from 5.002). What problems will be caused by
changing the require from 5.003 to 5.002? I've taken a look at the
patch list from 5.002 to 5.003 and see no compelling reason to
upgrade.

>Tim.

-- 
albert chin (RC cola)
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21294-30@oink>;
          Mon, 22 Jul 1996 07:47:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838001925:07080:1; Mon, 22 Jul 96 03:18:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06708; 22 Jul 96 3:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA02988 for dbi-users-real; Sun, 21 Jul 1996 19:03:25 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mikigw2.paris-miki.co.jp ([160.233.40.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA02984 
          for <dbi-users@fugue.com>; Sun, 21 Jul 1996 19:03:09 -0700
Received: (from takami@localhost) 
          by mikigw2.paris-miki.co.jp (8.6.12+2.4W/3.3W9-LOCAL_VERSION=NEC) 
          id LAA22351 for dbi-users@fugue.com; Mon, 22 Jul 1996 11:03:42 +0900
Date: Mon, 22 Jul 1996 11:03:42 +0900
From: "K.Takami" <takami@mikigw2.paris-miki.co.jp>
Message-Id: <199607220203.LAA22351@mikigw2.paris-miki.co.jp>
To: dbi-users@fugue.com
Subject: I can't pass "make test" on DBD-Oracle-0.36
Content-Length: 3338


  I use the Oracle ver7.22, I installed "Pro*C" software.
I could pass the following two steps.

  > perl Makefile.PL
 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!

Using Oracle in /home/oracle
Using /home/oracle/proc/lib/proc.mk (version 1.4)
System: perl5.003 unix_sv cgewsf 4.2mp 1.release.1025.08:24 r4000 r4000
Compiler: /usr/abiccs/bin/cc -O -I/usr/include
Linker:   /usr/bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       cc
  CFLAGS:   -I. -O
  LDFLAGS:  -L$(LIBHOME)
Linking with /home/oracle/lib/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lelf -lm

Processing hints file hints/svr4.pl

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
  Oracle.c
  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lelf -lm
        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


But I can't pass "make test" like this,

  > make test
ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /usr/local/bin/perl: relocation error: symbol not found: sys_nerr at /usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 24
        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)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2 (bu21)
make: fatal error.



This error messages said that "Can't load './blib/arch/auto/DBD/Oracle/Oracle.so'", however, I could make sure such a file existed.

The output of perl -V is "
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=svr4, osver=, archname=R4000-svr4
    uname='unix_sv cgewsf 4.2mp 1.release.1025.08:24 r4000 r4000 '
    hint=previous, useposix=true, d_sigaction=define
  Compiler:
    cc='/usr/abiccs/bin/cc', optimize='-O', gccversion=
    cppflags='-I/usr/include'
    ccflags ='-I/usr/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=1, d_casti32=define, d_castneg=
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='/usr/abiccs/bin/cc', ldflags ='-L/usr/abiccs/lib'
    libpth=/usr/abiccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    libc=/usr/abiccs/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags='-ZXNd=5000 -KOlimit=3000'
    cccdlflags=' ', lddlflags='-G -L/usr/abiccs/lib'

INC: /usr/local/lib/perl5/R4000-svr4/5.003 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/R4000-svr4 /usr/local/lib/perl5/site_perl .

What should I do?

-------------------------
Paris-miki inc.
Takami Keiichi
(takami@mikigw2.paris-miki.co.jp)
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21216-51@oink>;
          Mon, 22 Jul 1996 07:47:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838006136:26330:1; Mon, 22 Jul 96 04:28:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26136; 22 Jul 96 4:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA03046 for dbi-users-real; Sun, 21 Jul 1996 20:24:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bnl.gov (bnl.gov [130.199.128.163]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA03042 
          for <dbi-users@fugue.com>; Sun, 21 Jul 1996 20:24:44 -0700
Received: from sun10.sep.bnl.gov.sep (sun10.sep.bnl.gov [130.199.50.6]) 
          by bnl.gov (8.7.5/8.7.1) with SMTP id XAA08071 
          for <dbi-users@fugue.com>; Sun, 21 Jul 1996 23:24:32 -0400 (EDT)
Received: by sun10.sep.bnl.gov.sep (4.1/SMI-4.1) id AA25603;
          Sun, 21 Jul 96 23:26:17 EDT
From: sailer@sun10.sep.bnl.gov (Tim 'The Unslept' Sailer)
Message-Id: <9607220326.AA25603@sun10.sep.bnl.gov.sep>
Subject: DBD-mSQL0.60pl10
To: dbi-users@fugue.com
Date: Sun, 21 Jul 1996 23:26:17 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text

I'm running Debian Linux, and just upgraded to the perl 5.003
package. perl -v states:


This is perl, version 5.003 with EMBED
        built under linux at Jul  1 1996 10:21:20
        + suidperl security patch

Copyright 1987-1996, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.


OK.. now when I rebuilt DBI .71, all was well, but when I tried
the mSQL module, I get:

users~/DBD-mSQL-0.60pl10> perl Makefile.PL
"%att" is not exported by the ExtUtils::MakeMaker module at /usr/lib/perl5/Exporter.pm line 95
        Exporter::export called at /usr/lib/perl5/Exporter.pm line 149
        Exporter::import called at Makefile.PL line 12
        main::BEGIN called at /usr/lib/perl5/ExtUtils/MakeMaker.pm line 0
        eval {...} called at /usr/lib/perl5/ExtUtils/MakeMaker.pm line 0
Can't continue after import errors at Makefile.PL line 12
BEGIN failed--compilation aborted at Makefile.PL line 12.
users~/DBD-mSQL-0.60pl10>


Where do I look to try to fix this?

Tim

-- 
		       sailer@sun10.sep.bnl.gov
             "Too much information running through my brain,
                too much information, driving me insane."
              -- The Police
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21294-33@oink>;
          Mon, 22 Jul 1996 07:47:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838014457:05339:1; Mon, 22 Jul 96 06:47:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05114; 22 Jul 96 6:46 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA03212 for dbi-users-real; Sun, 21 Jul 1996 22:43:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from anna.in-berlin.de (f1752166.in-berlin.de [193.175.21.66]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA03208 
          for <dbi-users@fugue.com>; Sun, 21 Jul 1996 22:43:29 -0700
Received: by anna.in-berlin.de (940816.SGI.8.6.9/940406.SGI) id HAA20990;
          Mon, 22 Jul 1996 07:43:06 +0200
Date: Mon, 22 Jul 1996 07:43:06 +0200
Message-Id: <199607220543.HAA20990@anna.in-berlin.de>
From: Andreas Koenig <k@anna.in-berlin.de>
To: sailer@sun10.sep.bnl.gov
CC: dbi-users@fugue.com
In-reply-to: <9607220326.AA25603@sun10.sep.bnl.gov.sep> (sailer@sun10.sep.bnl.gov)
Subject: Re: DBD-mSQL0.60pl10
Reply-to: andreas.koenig@franz.ww.tu-berlin.de

>>>>> sailer@sun10.sep.bnl.gov (Tim 'The Unslept' Sailer) writes:

  > users~/DBD-mSQL-0.60pl10> perl Makefile.PL
  > "%att" is not exported by the ExtUtils::MakeMaker module at /usr/lib/perl5/Exporter.pm line 95

  > Where do I look to try to fix this?

Just delete "%att" where it appears in Makefile.PL. It's not needed at
all.

andreas

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21294-34@oink>;
          Mon, 22 Jul 1996 07:48:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838014676:06318:2; Mon, 22 Jul 96 06:51:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06229; 22 Jul 96 6:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA03221 for dbi-users-real; Sun, 21 Jul 1996 22:48:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from athena.romoidoy.com (athena.romoidoy.com [208.193.64.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA03216 
          for <dbi-users@fugue.com>; Sun, 21 Jul 1996 22:48:53 -0700
Received: from aurora (sabat@aurora.zoom.com [140.174.196.6]) 
          by athena.romoidoy.com (8.6.12/Romoidoy-Hub-022896) with SMTP 
          id WAA25950; Sun, 21 Jul 1996 22:48:56 -0700
Date: Sun, 21 Jul 1996 22:48:45 -0700 (PDT)
From: Sabat <sabat@zoom.com>
X-Sender: sabat@aurora
To: "K.Takami" <takami@mikigw2.paris-miki.co.jp>
cc: dbi-users@fugue.com
Subject: Re: I can't pass "make test" on DBD-Oracle-0.36
In-Reply-To: <199607220203.LAA22351@mikigw2.paris-miki.co.jp>
Message-ID: <Pine.SUN.3.91.960721224738.3921A-100000@aurora>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


You and me, both. I'm using Oracle 7.3, and am getting a
similar error. So far I've gotten no response on the matter
from anyone on this list, but I remain hopeful. :)

Anyway, you're not alone.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <25320-1@oink>;
          Mon, 22 Jul 1996 14:11:07 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838040465:23952:2; Mon, 22 Jul 96 14:01:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23479; 22 Jul 96 14:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA04179 for dbi-users-real; Mon, 22 Jul 1996 05:52:23 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bnl.gov (bnl.gov [130.199.128.163]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA04175 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 05:52:22 -0700
Received: from sun10.sep.bnl.gov.sep (sun10.sep.bnl.gov [130.199.50.6]) 
          by bnl.gov (8.7.5/8.7.1) with SMTP id IAA14299;
          Mon, 22 Jul 1996 08:52:20 -0400 (EDT)
Received: by sun10.sep.bnl.gov.sep (4.1/SMI-4.1) id AA05298;
          Mon, 22 Jul 96 08:54:06 EDT
From: sailer@sun10.sep.bnl.gov (Tim 'The Unslept' Sailer)
Message-Id: <9607221254.AA05298@sun10.sep.bnl.gov.sep>
Subject: Re: DBD-mSQL0.60pl10
To: descarte@hermetica.com (Alligator Descartes)
Date: Mon, 22 Jul 1996 08:54:05 -0400 (EDT)
Cc: andreas.koenig@franz.ww.tu-berlin.de, dbi-users@fugue.com
In-Reply-To: <199607221022.LAA15688@fruitbat.mcqueen.com> from "Alligator Descartes" at Jul 22, 96 11:22:39 am
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text

In your email to me, Alligator Descartes, you wrote:
> 
> 
> > >>>>> sailer@sun10.sep.bnl.gov (Tim 'The Unslept' Sailer) writes:
> > 
> >   > users~/DBD-mSQL-0.60pl10> perl Makefile.PL
> >   > "%att" is not exported by the ExtUtils::MakeMaker module at /usr/lib/perl5/Exporter.pm line 95
> > 
> >   > Where do I look to try to fix this?
> > 
> > Just delete "%att" where it appears in Makefile.PL. It's not needed at
> > all.
> 
> It's also in the FAQ! 8-)
> 
> 	http://www.hermetica.com/technologia/DBI
> 

Sheesh.. I *read* that FAQ... didn't see it the first time.. :(
Sorry all.. thanks for the help.

Tim

-- 
		       sailer@sun10.sep.bnl.gov
          Nihil illegitemi carborvndvm.
  --anon
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25321-5@oink>;
          Mon, 22 Jul 1996 14:11:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838032195:01647:2; Mon, 22 Jul 96 11:43:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01467; 22 Jul 96 11:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA04006 for dbi-users-real; Mon, 22 Jul 1996 03:30:57 -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 DAA04002 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 03:30:55 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id LAA15688; Mon, 22 Jul 1996 11:22:40 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607221022.LAA15688@fruitbat.mcqueen.com>
Subject: Re: DBD-mSQL0.60pl10
To: andreas.koenig@franz.ww.tu-berlin.de
Date: Mon, 22 Jul 1996 11:22:39 +0100 (BST)
Cc: sailer@sun10.sep.bnl.gov, dbi-users@fugue.com
In-Reply-To: <199607220543.HAA20990@anna.in-berlin.de> from "Andreas Koenig" at Jul 22, 96 07:43: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: 630


> >>>>> sailer@sun10.sep.bnl.gov (Tim 'The Unslept' Sailer) writes:
> 
>   > users~/DBD-mSQL-0.60pl10> perl Makefile.PL
>   > "%att" is not exported by the ExtUtils::MakeMaker module at /usr/lib/perl5/Exporter.pm line 95
> 
>   > Where do I look to try to fix this?
> 
> Just delete "%att" where it appears in Makefile.PL. It's not needed at
> all.

It's also in the FAQ! 8-)

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

> andreas

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26165-1@oink>;
          Mon, 22 Jul 1996 17:06:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838042668:14365:2; Mon, 22 Jul 96 14:37:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13724; 22 Jul 96 14:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA04252 for dbi-users-real; Mon, 22 Jul 1996 06:31:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA04248 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 06:31:28 -0700
Received: from [152.62.242.119] by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) 
          id AA21831; Mon, 22 Jul 1996 09:30:51 -0400
Received: from chrysalis by fdce13.europe.dg.com (5.4R3.10/dg-gens08) 
          id AA08468; Mon, 22 Jul 1996 14:30:49 +0100
Received: by chrysalis.europe.dg.com with Microsoft Exchange (IMC 4.0.837.3) 
          id <01BB77D9.FB75A3A0@chrysalis.europe.dg.com>;
          Mon, 22 Jul 1996 14:27:59 -0000
Message-Id: <c=GB%a=_%p=Data_General_UK_%l=CHRYSALIS-960722142757Z-40@chrysalis.europe.dg.com>
From: Stuart Harris <StuartH@TSG.europe.dg.com>
To: 'DBI users' <dbi-users@fugue.com>
Cc: 'Tim Bunce' <Tim.Bunce@ig.co.uk>
Subject: compiling oracle-DBD-0.36
Date: Mon, 22 Jul 1996 14:27:57 -0000
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

Hi, Tim et al.
Can anyone suggest why I can't compile DBD-oracle-0.36.
0.35 compiled OK as far as I remember and it certainly works fine.  The
errors from the make (and perl -V) are listed below:
Thanks
Stuart

-------------------------------------------------------------------------
---------------------------------------
        gcc -c -I/usr/opt/oracle/product/7.1.4/rdbms/demo
-I/usr/local/lib/perl5/site_perl/AViiON-dgux/DBI
-I/usr/local/lib/perl5/AViiON-dgux/5.003/DBI -Dflock=dg_flock
-I/usr/local/include -D_NO_PROTO -O2     -DVERSION=\"0.36\" 
-DXS_VERSION=\"0.36\" -fpic
-I/usr/local/lib/perl5/AViiON-dgux/5.003/CORE -Wall -pedantic
-Wno-comment -Wtraditional Oracle.c
Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_execute':
Oracle.c:256: warning: ANSI C forbids braced-groups within expressions
Oracle.c:265: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_fetchrow':
Oracle.c:305: warning: ANSI C forbids braced-groups within expressions
Oracle.c:311: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_finish':
Oracle.c:400: warning: ANSI C forbids braced-groups within expressions
Oracle.c:404: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `boot_DBD__Oracle':
Oracle.c:444: warning: ANSI C forbids braced-groups within expressions
as: "/var/tmp/cca00211.s": line 23: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 23: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 23: operand 'hi16(@L3' type mismatch for
'or.u'
as: "/var/tmp/cca00211.s": line 26: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 26: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 26: operand 'lo16(@L3' type mismatch for
'or'
as: "/var/tmp/cca00211.s": line 92: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 92: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 92: operand 'hi16(@L15' type mismatch
for 'or.u'
as: "/var/tmp/cca00211.s": line 95: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 95: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 95: operand 'lo16(@L15' type mismatch
for 'or'
as: "/var/tmp/cca00211.s": line 253: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 253: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 253: operand 'hi16(@L27' type mismatch
for 'or.u'
as: "/var/tmp/cca00211.s": line 256: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 256: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 256: operand 'lo16(@L27' type mismatch
for 'or'
as: "/var/tmp/cca00211.s": line 381: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 381: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 381: operand 'hi16(@L33' type mismatch
for 'or.u'
as: "/var/tmp/cca00211.s": line 384: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 384: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 384: operand 'lo16(@L33' type mismatch
for 'or'
as: "/var/tmp/cca00211.s": line 444: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 444: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 444: operand 'hi16(@L38' type mismatch
for 'or.u'
as: "/var/tmp/cca00211.s": line 447: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 447: illegal expression for 16-bit value
as: "/var/tmp/cca00211.s": line 447: operand 'lo16(@L38' type mismatch
for 'or'
as: "/var/tmp/cca00211.s": line 508: unbalanced parentheses
as: "/var/tmp/cca00211.s": line 508: too many errors, goodbye!
*** Error code 1

Stop.

# perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=dgux, osver=5.4r3.10, archname=AViiON-dgux
    uname='dgux fdce13 5.4r3.10 generic aviion mc88110 '
    hint=previous, useposix=true, d_sigaction=define
  Compiler:
    cc='gcc', optimize='-O2', gccversion=2.5.8
    cppflags='-Dflock=dg_flock -I/usr/local/include -D_NO_PROTO'
    ccflags ='-Dflock=dg_flock -I/usr/local/include -D_NO_PROTO'
    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=15
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/sde/m88kdgux/usr/lib /lib /usr/lib
    libs=-ldgc -lnsl -lgdbm -ldbm -ldl -lld -lm -lc -lposix -lcrypt -lPW
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

@INC: /usr/local/lib/perl5/AViiON-dgux/5.003 /usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/AViiON-dgux
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/AViiON-dgux .

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26163-1@oink>;
          Mon, 22 Jul 1996 17:06:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838044186:02965:2; Mon, 22 Jul 96 15:03:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa02668; 22 Jul 96 15:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA04296 for dbi-users-real; Mon, 22 Jul 1996 06:56:16 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA04292 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 06:56:14 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id ax06655;
          22 Jul 96 14:53 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae16932; 22 Jul 96 14:11 +0100
Received: from toad by oink with SMTP (PP) id <24905-0@oink>;
          Mon, 22 Jul 1996 12:26:31 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25318;
          Mon, 22 Jul 1996 12:26:24 +0000
Date: Mon, 22 Jul 1996 12:26:24 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607221126.AA25318@toad.ig.co.uk>
To: dbi-users@fugue.com, chinay@cig.mot.com
Subject: Re: Announce: DBI-0.71 and DBD-Oracle-0.36
X-Sun-Charset: US-ASCII
content-length: 707
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Albert Chin-A-Young <chinay@cig.mot.com>
> 
> >Note that DBD::Oracle 0.36 requires DBI 0.71 and both require perl 5.003.
> 
> Why? I don't have sperl or suidperl installed here so I don't see the
> need to upgrade to 5.003 (from 5.002). What problems will be caused by
> changing the require from 5.003 to 5.002? I've taken a look at the
> patch list from 5.002 to 5.003 and see no compelling reason to upgrade.

So don't.

You have the choice. It's not a dictatorship :-)

You'll need to edit all files that say 'require 5.003' but you'll find
that I'll be reluctant to support you if you have any subtle problems
since it's a free service and I can't afford the time.

You have the choice.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26165-7@oink>;
          Mon, 22 Jul 1996 17:06:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838045352:11823:1; Mon, 22 Jul 96 15:22:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11189; 22 Jul 96 15:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA04335 for dbi-users-real; Mon, 22 Jul 1996 07:14:59 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dekalb.vf.mmc.com (dekalb.vf.mmc.com [192.35.35.21]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA04331 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 07:14:58 -0700
Received: from franklin.vf.lmco.com ([166.17.5.51]) 
          by dekalb.vf.mmc.com (8.7.5/8.7.3) with ESMTP id KAA07328 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 10:14:55 -0400 (EDT)
Received: from atl.lmco.com (hannibal.ATL.LMCO.COM [166.20.244.250]) 
          by franklin.vf.lmco.com (8.7.5/8.7.3) with SMTP id KAA32227 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 10:14:49 -0400 (EDT)
Received: from husnock by atl.lmco.com (8.6.13/ATL 1.14) with SMTP id KAA16707;
          Mon, 22 Jul 1996 10:14:39 -0400
Message-ID: <31F38CCC.890@atl.lmco.com>
Date: Mon, 22 Jul 1996 10:14:36 -0400
From: Amy McGovern <amcgover@atl.lmco.com>
Organization: Lockheed Martin Advanced Technology Laboratory
X-Mailer: Mozilla 2.02 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Re: Announce: DBI-0.71 and DBD-Oracle-0.36
References: <9607221126.AA25318@toad.ig.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
> You have the choice.

Actually, some of us don't have the choice.  Once you have an entire lab using
Perl 5.002 and it works, the sys admin doesn't always want to upgrade to 5.003
to support maybe one small feature that might cause everything else to
break...

-Amy
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27175-0@oink>;
          Mon, 22 Jul 1996 18:05:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838055056:20198:1; Mon, 22 Jul 96 18:04:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19600; 22 Jul 96 18:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA04557 for dbi-users-real; Mon, 22 Jul 1996 09:54:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA04553 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 09:54:29 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id ba05747;
          22 Jul 96 14:17 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af16932; 22 Jul 96 14:11 +0100
Received: from toad by oink with SMTP (PP) id <24913-0@oink>;
          Mon, 22 Jul 1996 12:28:53 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25328;
          Mon, 22 Jul 1996 12:28:46 +0000
Date: Mon, 22 Jul 1996 12:28:46 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607221128.AA25328@toad.ig.co.uk>
To: dbi-users@fugue.com, chinay@cig.mot.com
Subject: Re: Announce: DBI-0.71 and DBD-Oracle-0.36
X-Sun-Charset: US-ASCII
content-length: 639
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Albert Chin-A-Young <chinay@cig.mot.com>
> 
> >Note that DBD::Oracle 0.36 requires DBI 0.71 and both require perl 5.003.
> 
> Why? I don't have sperl or suidperl installed here so I don't see the
> need to upgrade to 5.003 (from 5.002). What problems will be caused by
> changing the require from 5.003 to 5.002? I've taken a look at the
> patch list from 5.002 to 5.003 and see no compelling reason to upgrade.

I'll also add to my previous note that Perl5.002 had a very serious bug
with basic maths. I forget the details but I think $x < 1 and $x < 1.0
could return different results! I do strongly recommend an upgrade.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28440-0@oink>;
          Tue, 23 Jul 1996 02:18:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838057754:21567:1; Mon, 22 Jul 96 18:49:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20883; 22 Jul 96 18:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA04674 for dbi-users-real; Mon, 22 Jul 1996 10:41:35 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA04670 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 10:41:33 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id ca11210;
          22 Jul 96 17:53 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa07040; 22 Jul 96 17:14 +0100
Received: from toad by oink with SMTP (PP) id <26239-0@oink>;
          Mon, 22 Jul 1996 17:14:22 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02479;
          Mon, 22 Jul 1996 17:14:13 +0000
Date: Mon, 22 Jul 1996 17:14:13 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607221614.AA02479@toad.ig.co.uk>
To: dbi-users@fugue.com, amcgover@atl.lmco.com
Subject: Re: Announce: DBI-0.71 and DBD-Oracle-0.36
X-Sun-Charset: US-ASCII
content-length: 405
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Amy McGovern <amcgover@atl.lmco.com>
> 
> Tim Bunce wrote:
> > You have the choice.
> 
> Actually, some of us don't have the choice.  Once you have an entire lab using
> Perl 5.002 and it works, the sys admin doesn't always want to upgrade to 5.003
> to support maybe one small feature that might cause everything else to
> break...

So you have the choice to not use 5.003 as I explained.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28437-8@oink>;
          Tue, 23 Jul 1996 02:19:26 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838067450:27516:3; Mon, 22 Jul 96 21:30:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26644; 22 Jul 96 21:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA05548 for dbi-users-real; Mon, 22 Jul 1996 13:24:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA05544 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 13:24:39 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id an12161;
          22 Jul 96 18:49 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa19222; 22 Jul 96 18:00 +0100
Received: from toad by oink with SMTP (PP) id <26952-0@oink>;
          Mon, 22 Jul 1996 17:23:08 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02504;
          Mon, 22 Jul 1996 17:22:56 +0000
Date: Mon, 22 Jul 1996 17:22:56 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607221622.AA02504@toad.ig.co.uk>
To: dbi-users@fugue.com, StuartH@tsg.europe.dg.com
Subject: Re: compiling oracle-DBD-0.36
Cc: perl5-porters@nicoh.com
X-Sun-Charset: US-ASCII
content-length: 2420
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Stuart Harris <StuartH@TSG.europe.dg.com>
> 
> Hi, Tim et al.
> Can anyone suggest why I can't compile DBD-oracle-0.36.
> 0.35 compiled OK as far as I remember and it certainly works fine.  The
> errors from the make (and perl -V) are listed below:
> Thanks
> Stuart
> 
>         gcc -c -I/usr/opt/oracle/product/7.1.4/rdbms/demo
> -I/usr/local/lib/perl5/site_perl/AViiON-dgux/DBI
> -I/usr/local/lib/perl5/AViiON-dgux/5.003/DBI -Dflock=dg_flock
> -I/usr/local/include -D_NO_PROTO -O2     -DVERSION=\"0.36\" 
> -DXS_VERSION=\"0.36\" -fpic
> -I/usr/local/lib/perl5/AViiON-dgux/5.003/CORE -Wall -pedantic
> -Wno-comment -Wtraditional Oracle.c
> Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
> Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
...

> as: "/var/tmp/cca00211.s": line 23: unbalanced parentheses
> as: "/var/tmp/cca00211.s": line 23: illegal expression for 16-bit value
> as: "/var/tmp/cca00211.s": line 23: operand 'hi16(@L3' type mismatch for 'or.u'
...

> Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
>   Platform:
>     osname=dgux, osver=5.4r3.10, archname=AViiON-dgux
>     uname='dgux fdce13 5.4r3.10 generic aviion mc88110 '
>     hint=previous, useposix=true, d_sigaction=define
>   Compiler:
>     cc='gcc', optimize='-O2', gccversion=2.5.8
>     cppflags='-Dflock=dg_flock -I/usr/local/include -D_NO_PROTO'
>     ccflags ='-Dflock=dg_flock -I/usr/local/include -D_NO_PROTO'
>     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=15
>   Linker and Libraries:
>     ld='gcc', ldflags =' -L/usr/local/lib'
>     libpth=/usr/local/lib /usr/sde/m88kdgux/usr/lib /lib /usr/lib
>     libs=-ldgc -lnsl -lgdbm -ldbm -ldl -lld -lm -lc -lposix -lcrypt -lPW
>     libc=/lib/libc.so, so=so
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
>     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
> 
> @INC: /usr/local/lib/perl5/AViiON-dgux/5.003 /usr/local/lib/perl5
> /usr/local/lib/perl5/site_perl/AViiON-dgux
> /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/AViiON-dgux .

Looks like a GCC configuration problem. It's generating assembly code
that the assembler it's then calling doesn't understand.
I can't help much more than CC'ing this to perl5-porters. Sorry.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28437-10@oink>;
          Tue, 23 Jul 1996 02:19:35 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838067947:03723:2; Mon, 22 Jul 96 21:39:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa03356; 22 Jul 96 21:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA05581 for dbi-users-real; Mon, 22 Jul 1996 13:35:48 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns2.eds.com (ns2.eds.com [199.228.142.78]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA05577 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 13:35:45 -0700
Received: by ns2.eds.com (hello) id QAA03231; Mon, 22 Jul 1996 16:35:40 -0400
Received: by nnsp.eds.com (hello) id QAA20284;
          Mon, 22 Jul 1996 16:35:10 -0400 (EDT)
Received: from quasi.mmts.eds.com (quasi [148.94.230.18]) 
          by geronimo.mmts.eds.com (8.7.5/8.7.3) with SMTP id PAA12065 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 15:34:20 -0500 (CDT)
Received: by quasi.mmts.eds.com with Microsoft Mail 
          id <01BB77E3.215F5D00@quasi.mmts.eds.com>;
          Mon, 22 Jul 1996 15:33:28 -0500
Message-ID: <01BB77E3.215F5D00@quasi.mmts.eds.com>
From: Josh Oh <joh@mmts.eds.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: DBD-Informix: Getting column names from a cursor object
Date: Mon, 22 Jul 1996 15:33:27 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

Is it possible to obtain column names from a cursor object after having executed a
select statement?

Here's the snippet of code that works in Oracle but doesn't in Informix:

  $drh = DBI->install_driver( xxx );
  $dbh = $drh->connect( ... );
  $cursor = $dbh->prepare( "select * from some_table" );
  $cursor->execute();
  @fieldnames = @{$cursor->{'NAME'}};
  print "fields = @fieldnames\n";

If I run it in Oracle, the @{$cursor->{'NAME'}} returns an array of
string representing the column names.  If I run it in Informix and try
to print the contents of the array, I get a segmentation fault core dump.

Is the {'NAME'} attribute specific to Oracle?  If it is, are there any plans
to support it in Informix?

Any insight would be very much appreciated...

Josh Oh
joh@mmts.eds.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28440-17@oink>;
          Tue, 23 Jul 1996 02:20:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838061031:26230:5; Mon, 22 Jul 96 19:43:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25963; 22 Jul 96 19:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA05291 for dbi-users-real; Mon, 22 Jul 1996 11:36:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bock.ucs.ualberta.ca (bock.ucs.ualberta.ca [129.128.5.214]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA05287 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 11:36:31 -0700
Received: from maildrop.srv.ualberta.ca by bock.ucs.ualberta.ca 
          with ESMTP (8.6.5/UA3.0.0June95) id MAA09432 for ;
          Mon, 22 Jul 1996 12:34:36 -0600
Received: from gpu3.srv.ualberta.ca (gpu3.srv.ualberta.ca [129.128.98.13]) 
          by maildrop.srv.ualberta.ca (8.7.5/8.7.1) with SMTP id MAA39858;
          Mon, 22 Jul 1996 12:35:41 -0600
Date: Mon, 22 Jul 1996 12:35:39 -0600 (MDT)
From: Hayashi! <wlam@gpu.srv.ualberta.ca>
X-Sender: wlam@gpu3.srv.ualberta.ca
To: dbi-users@fugue.com
cc: Tim.Bunce@ig.co.uk
Subject: oraperl and perl5.001
Message-ID: <Pine.A32.3.93.960722123323.30662A-100000@gpu3.srv.ualberta.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

	I currently have perl 5.001 installed in solaris
	and I was wondering if there is something I can download that
	will take perl 5.001 rather than perl 4.0 or perl 5.003?
	Thanks in advance!



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28440-25@oink>;
          Tue, 23 Jul 1996 02:20:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838064506:05696:4; Mon, 22 Jul 96 20:41:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05522; 22 Jul 96 20:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA05426 for dbi-users-real; Mon, 22 Jul 1996 12:35:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from grumpy.nsg.nwu.edu (grumpy.nsg.nwu.edu [129.105.26.24]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA05422 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 12:35:56 -0700
Received: from aquarius (aquarius.acns.nwu.edu [129.105.110.169]) 
          by grumpy.nsg.nwu.edu (8.7.5/8.7.3/25.0) with SMTP id OAA02712 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 14:38:26 -0500 (CDT)
Message-Id: <2.2.32.19960722193543.0090cf20@grumpy.nsg.nwu.edu>
X-Sender: tracy@grumpy.nsg.nwu.edu
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 22 Jul 1996 14:35:43 -0500
To: dbi-users@fugue.com
From: Phil Tracy <ptracy@nwu.edu>
Subject: building perl5.003...

I've had nothing but trouble trying to build the ODBM_File stuff for perl
5.003.  Test 2 fails, saying there's no open database.  My question -- do I
need the ODBM_File extenstion in order to use dbd::oracle and dbi?

I'm just beginning to take a look at this, and I'm not sure yet exactly how
all the pieces fit together.  If I don't need ODBM_File for my Oracle work,
I'm happy to live without it.  Thanks for any hints.

        - Phil

--
Phillip Tracy  <ptracy@nwu.edu>
Northwestern University ACNS, Evanston, IL  USA
http://grumpy.nsg.nwu.edu/tracy/philtracy.html

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28440-41@oink>;
          Tue, 23 Jul 1996 02:21:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838071171:18875:1; Mon, 22 Jul 96 22:32:51 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa18244; 22 Jul 96 22:31 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa16238; 22 Jul 96 22:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA05797 for dbi-users-real; Mon, 22 Jul 1996 14:26:26 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cbgw2.att.com (cbgw2.att.com [192.20.239.134]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA05793 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 14:26:21 -0700
From: fvigil@ihgp.ih.lucent.com
Received: from ihgp12.ih.lucent.com by cbig2.att.att.com (SMI-8.6/EMS-1.2 sol2) 
          id RAA15081; Mon, 22 Jul 1996 17:24:54 -0400
Received: by ihgp12.ih.lucent.com (SMI-8.6/EMS-L sol2) id QAA03766;
          Mon, 22 Jul 1996 16:19:36 -0500
Original-From: Fernando Vigil <fjvigil@lucent.com>
Received: from fvigilpc.ih.att.com by ihgp12.ih.lucent.com (SMI-8.6/EMS-L sol2) 
          id QAA03762; Mon, 22 Jul 1996 16:19:33 -0500
Received: by fvigilpc.ih.att.com with Microsoft Mail 
          id <01BB77E9.9A2F5860@fvigilpc.ih.att.com>;
          Mon, 22 Jul 1996 16:19:48 -0500
Message-ID: <01BB77E9.9A2F5860@fvigilpc.ih.att.com>
Original-From: Fernando Vigil <fvigil@ihgp.ih.lucent.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Date: Mon, 22 Jul 1996 16:19:46 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubscribe!!!!!!!!!!!!!!1

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01169-0@oink>;
          Tue, 23 Jul 1996 06:13:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838098657:21121:3; Tue, 23 Jul 96 06:10:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20910; 23 Jul 96 6:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA06333 for dbi-users-real; Mon, 22 Jul 1996 22:00: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 WAA06328 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 22:00:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aa28008; 23 Jul 96 6:00 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab14407; 23 Jul 96 5:49 +0100
Received: from toad by oink with SMTP (PP) id <00241-0@oink>;
          Tue, 23 Jul 1996 03:28:50 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA10517;
          Tue, 23 Jul 1996 03:28:33 +0000
Date: Tue, 23 Jul 1996 03:28:33 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607230228.AA10517@toad.ig.co.uk>
To: dbi-users@fugue.com, ptracy@nwu.edu
Subject: Re: building perl5.003...
X-Sun-Charset: US-ASCII
content-length: 274
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Phil Tracy <ptracy@nwu.edu>
> 
> I've had nothing but trouble trying to build the ODBM_File stuff for perl
> 5.003.  Test 2 fails, saying there's no open database.  My question -- do I
> need the ODBM_File extenstion in order to use dbd::oracle and dbi?

No.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01170-1@oink>;
          Tue, 23 Jul 1996 06:13:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838098734:21544:1; Tue, 23 Jul 96 06:12:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21005; 23 Jul 96 6:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA06337 for dbi-users-real; Mon, 22 Jul 1996 22:00: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 WAA06329 
          for <dbi-users@fugue.com>; Mon, 22 Jul 1996 22:00:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ac27959; 23 Jul 96 6:00 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa14407; 23 Jul 96 5:49 +0100
Received: from toad by oink with SMTP (PP) id <00234-0@oink>;
          Tue, 23 Jul 1996 03:28:22 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA10514;
          Tue, 23 Jul 1996 03:28:00 +0000
Date: Tue, 23 Jul 1996 03:28:00 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607230228.AA10514@toad.ig.co.uk>
To: dbi-users@fugue.com, fvigil@ihgp.ih.lucent.com
X-Sun-Charset: US-ASCII
content-length: 2005
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: fvigil@ihgp.ih.lucent.com
> 
> unsubscribe!!!!!!!!!!!!!!1

Adding exclamation marks generally has the opposite effect to that desired.


----- 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 punt2.demon.co.uk by oink with SMTP (PP) id <02606-3@oink>;
          Tue, 23 Jul 1996 12:18:46 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838118188:20803:1; Tue, 23 Jul 96 11:36:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa20524; 23 Jul 96 11:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA06848 for dbi-users-real; Tue, 23 Jul 1996 03:30:51 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from www.usrconsult.be (www.usrconsult.be [193.74.142.250]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA06844 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 03:30:48 -0700
Received: (from uucp@localhost) by www.usrconsult.be (8.7.3/8.7.3) id MAA19414 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 12:30:43 +0200 (MDT)
Received: from gate-usrco(193.74.142.129) by scorpion via smap (V1.3) 
          id sma019412; Tue Jul 23 12:30:32 1996
Received: from usrco (localhost [127.0.0.1]) 
          by usrco.usrconsult.be (8.7.3/8.7.3) with SMTP id MAA20401 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 12:30:31 +0200 (MDT)
Message-ID: <31F4A9C6.2F1C@usrconsult.be>
Date: Tue, 23 Jul 1996 12:30:30 +0200
From: Christian LEMER <clemer@usrconsult.be>
Organization: USRConsult
X-Mailer: Mozilla 3.0b5aGold (X11; I; IRIX 5.3 IP22)
MIME-Version: 1.0
To: DBI-Users mailing list <dbi-users@fugue.com>
Subject: Speed improvements by fetchall
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I'm using DBI and DBD:Oracle for some days now and all works fine, but
I'm a little bit disappointed by the speed performance.


#!/usr/bin/perl -wxs

my $driver = DBI->install_driver('Oracle');
my $db;
$db = $driver->connect( ... , ... , ...);

my $select = $db->prepare("select the_column from the_table");

$select->execute;

my $elem;
my $n_elems;
while($elem = $select->fetchrow){
	print $elem."\n";
}
$select->finish;

$db->disconnect;

takes 6'30'' on a table of ~ 15000 items, it means an order of magniture
more than in a terminal based db interface. Is there any solution to
improve the performance?

I found a reference to the funtion &db_fetchall in the DBI specs, but I
can't find this function in my distribution. Is it just a subroutine
implemented using the db->fetchrow function or something which will
improve performance in huge selects.

Thanks in advance,

Chris.

-- 
Christian LEMER <chris@usrconsult.be>     Tel        : +32 10 65.44.11
UsrConsult S.P.R.L                        Tel direct : +32 10 65.44.17
37, Rue Margot   B-1457 Nil St Vincent    Fax        : +32 10 65.44.10
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04651-1@oink>;
          Tue, 23 Jul 1996 17:08:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838128226:23713:4; Tue, 23 Jul 96 14:23:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23460; 23 Jul 96 14:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA07020 for dbi-users-real; Tue, 23 Jul 1996 06:16:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA07016 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 06:16:45 -0700
Received: from [152.62.242.119] by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) 
          id AA03761; Tue, 23 Jul 1996 09:16:09 -0400
Received: from chrysalis by fdce13.europe.dg.com (5.4R3.10/dg-gens08) 
          id AA02640; Tue, 23 Jul 1996 14:16:06 +0100
Received: by chrysalis.europe.dg.com with Microsoft Exchange (IMC 4.0.837.3) 
          id <01BB78A1.17745BB0@chrysalis.europe.dg.com>;
          Tue, 23 Jul 1996 14:13:16 -0000
Message-Id: <c=GB%a=_%p=Data_General_UK_%l=CHRYSALIS-960723141307Z-53@chrysalis.europe.dg.com>
From: Stuart Harris <StuartH@TSG.europe.dg.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>, 
    'Tim Bunce' <Tim.Bunce@ig.co.uk>
Cc: "'perl5-porters@nicoh.com'" <perl5-porters@nicoh.com>
Subject: RE: compiling oracle-DBD-0.36
Date: Tue, 23 Jul 1996 14:13:07 -0000
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

Tim, thanks for your help - I since got it to compile OK with a newer
version of gcc.

>----------
>From: 	Tim Bunce[SMTP:Tim.Bunce@ig.co.uk]
>Sent: 	22 July 1996 18:22
>To: 	Stuart Harris; dbi-users@fugue.com
>Cc: 	perl5-porters@nicoh.com
>Subject: 	Re: compiling oracle-DBD-0.36
>
>
>> From: Stuart Harris <StuartH@TSG.europe.dg.com>
>> 
>> Hi, Tim et al.
>> Can anyone suggest why I can't compile DBD-oracle-0.36.
>> 0.35 compiled OK as far as I remember and it certainly works fine.  The
>> errors from the make (and perl -V) are listed below:
>> Thanks
>> Stuart
>> 
>>         gcc -c -I/usr/opt/oracle/product/7.1.4/rdbms/demo
>> -I/usr/local/lib/perl5/site_perl/AViiON-dgux/DBI
>> -I/usr/local/lib/perl5/AViiON-dgux/5.003/DBI -Dflock=dg_flock
>> -I/usr/local/include -D_NO_PROTO -O2     -DVERSION=\"0.36\" 
>> -DXS_VERSION=\"0.36\" -fpic
>> -I/usr/local/lib/perl5/AViiON-dgux/5.003/CORE -Wall -pedantic
>> -Wno-comment -Wtraditional Oracle.c
>> Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
>> Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
>...
>
>> as: "/var/tmp/cca00211.s": line 23: unbalanced parentheses
>> as: "/var/tmp/cca00211.s": line 23: illegal expression for 16-bit value
>> as: "/var/tmp/cca00211.s": line 23: operand 'hi16(@L3' type mismatch
>>for 'or.u'
>...
>
>> Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
>>   Platform:
>>     osname=dgux, osver=5.4r3.10, archname=AViiON-dgux
>>     uname='dgux fdce13 5.4r3.10 generic aviion mc88110 '
>>     hint=previous, useposix=true, d_sigaction=define
>>   Compiler:
>>     cc='gcc', optimize='-O2', gccversion=2.5.8
>>     cppflags='-Dflock=dg_flock -I/usr/local/include -D_NO_PROTO'
>>     ccflags ='-Dflock=dg_flock -I/usr/local/include -D_NO_PROTO'
>>     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=15
>>   Linker and Libraries:
>>     ld='gcc', ldflags =' -L/usr/local/lib'
>>     libpth=/usr/local/lib /usr/sde/m88kdgux/usr/lib /lib /usr/lib
>>     libs=-ldgc -lnsl -lgdbm -ldbm -ldl -lld -lm -lc -lposix -lcrypt -lPW
>>     libc=/lib/libc.so, so=so
>>   Dynamic Linking:
>>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
>>     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
>> 
>> @INC: /usr/local/lib/perl5/AViiON-dgux/5.003 /usr/local/lib/perl5
>> /usr/local/lib/perl5/site_perl/AViiON-dgux
>> /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/AViiON-dgux .
>
>Looks like a GCC configuration problem. It's generating assembly code
>that the assembler it's then calling doesn't understand.
>I can't help much more than CC'ing this to perl5-porters. Sorry.
>
>Tim.
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04651-4@oink>;
          Tue, 23 Jul 1996 17:08:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838129306:05155:1; Tue, 23 Jul 96 14:41:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04512; 23 Jul 96 14:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA07041 for dbi-users-real; Tue, 23 Jul 1996 06:34:14 -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 GAA07037 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 06:34:11 -0700
Received: from helios.mpn.com by nebula.mpn.com (5.x/SMI-SVR4) id AA23454;
          Tue, 23 Jul 1996 14:33:44 +0100
From: nikos@mpn.com (Nikos Drakos)
Received: by helios.mpn.com (5.x/Spike-2.0/sweh-1.0) id AA10545;
          Tue, 23 Jul 1996 14:33:42 +0100
Date: Tue, 23 Jul 1996 14:33:42 +0100
Message-Id: <9607231333.AA10545@helios.mpn.com>
To: clemer@usrconsult.be
Subject: Re: Speed improvements by fetchall
Cc: dbi-users@fugue.com, sweh@mpn.com
X-Sun-Charset: US-ASCII

> Hi,
> 
> I'm using DBI and DBD:Oracle for some days now and all works fine, but
> I'm a little bit disappointed by the speed performance.

[sample code and comments deleted...]

You may find that most of the performance penalty is because of 
start-up and connection costs (ie loading the drivers and connecting to 
Oracle ) especially if you are doing this over a network. 
To find out if that is the case, change your script to just connect
to the database, print something out and then exit. If it is almost 
as slow as it was when you were trying to do some work then the problem
is start-up and connection costs....

One way we have found to deal with this problem with very good results
is to turn your perl script into permanently running server process(es)
which has all the drivers loaded and the connection with Oracle established.
To speed things up even further you could also have all your perl application
code already loaded which may include prepared cursors etc...

Setting up servers is not exactly trivial but if speed is important it is
a way to achieve much better results. Any other ideas?

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 <08061-15@oink>;
          Wed, 24 Jul 1996 07:38:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838150351:17745:4; Tue, 23 Jul 96 20:32:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17344; 23 Jul 96 20:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA07596 for dbi-users-real; Tue, 23 Jul 1996 12:21:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA07592 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 12:21:31 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id ca20912;
          23 Jul 96 20:17 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad23522; 23 Jul 96 19:48 +0100
Received: from toad by oink with SMTP (PP) id <06315-0@oink>;
          Tue, 23 Jul 1996 19:04:23 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA12620;
          Tue, 23 Jul 1996 19:04:16 +0000
Date: Tue, 23 Jul 1996 19:04:16 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607231804.AA12620@toad.ig.co.uk>
To: dbi-users@fugue.com, ml@justintime.com
Subject: Re: Making DBD::Oracle, linking with __fstd.o
X-Sun-Charset: US-ASCII
content-length: 463
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: ml@justintime.com
> 
> I'm still having trouble making DBD::Oracle, transcript below.
> I think that linking with $ORACLE_HOME/lib/__fstd.o, as the
> README says, might help, but I'm not sure how to make this
> happen.  
> 
> Thanks for any suggestions,

Start afresh with a clean copy of the latest version and send details
of any problems you get _without_ hacking the Makefile*'s.

Include all the details the README asks for _without_ editing.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08061-20@oink>;
          Wed, 24 Jul 1996 07:39:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838154603:04432:2; Tue, 23 Jul 96 21:43:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04211; 23 Jul 96 21:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA07915 for dbi-users-real; Tue, 23 Jul 1996 13:36:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA07911 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 13:36:29 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id dh20820;
          23 Jul 96 20:14 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa23522; 23 Jul 96 19:48 +0100
Received: from toad by oink with SMTP (PP) id <06270-0@oink>;
          Tue, 23 Jul 1996 18:55:11 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA12592;
          Tue, 23 Jul 1996 18:54:57 +0000
Date: Tue, 23 Jul 1996 18:54:57 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607231754.AA12592@toad.ig.co.uk>
To: dbi-users@fugue.com, kellcrai@cwis.isu.edu
Subject: Re: Oraperl-0.36 on AIX
X-Sun-Charset: US-ASCII
content-length: 965
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "Inconnu (Craig)" <kellcrai@cwis.isu.edu>
> 
> Hello, I have used oraperl for about a year now on our Powerstation 570 
> (AIX) and have had next to no problems with it up until now.  I had to 
> manually link -bI:/home/oracle/product/7.1.4/lib/mili.exp for it to 
> compile  and I noticed that the bugreport wanted to know how to automize 
> future installations, so here it is:

Thanks for the information.

Try this Makefile.PL patch (on the latest version) to automate it:

*** 1.46	1996/07/10 02:27:52
--- Makefile.PL	1996/07/23 17:53:54
***************
*** 82,87 ****
--- 82,89 ----
  # extract object files, keep for use later
  my @linkwith_o;
  push @linkwith_o, $1 while $linkwith_s =~ s/(\S+\.[oa])\b//;
+ # also extract AIX .exp files since they confuse MakeMaker
+ push @linkwith_o, $1 while $linkwith_s =~ s/(-bI:\S+\.exp)\b//;
  
  if ($::opt_s) {
  	warn "Searching for symbol '$::opt_s' in $libhome ...\n";

Let me know if it works.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08061-31@oink>;
          Wed, 24 Jul 1996 07:40:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838158228:17106:0; Tue, 23 Jul 96 22:43:48 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16700; 23 Jul 96 22:43 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa12618; 23 Jul 96 22:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA08177 for dbi-users-real; Tue, 23 Jul 1996 14:35:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from king.silcom.com (clarence@king.silcom.com [207.71.206.17]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA08173 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 14:35:48 -0700
Received: (from clarence@localhost) by king.silcom.com (8.6.12/8.6.9) 
          id OAA01116; Tue, 23 Jul 1996 14:27:19 -0700
From: Clarence Gardner <clarence@king.silcom.com>
Message-Id: <199607232127.OAA01116@king.silcom.com>
Subject: Problem with Informix.so
To: dbi-users@fugue.com
Date: Tue, 23 Jul 1996 14:27:17 -0700 (PDT)
Cc: 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: 772


I'm trying to get the Informix dbd running on Irix 5.3.  When the shared
library is accessed, it is referencing a nonexistent symbol called MeAlloc.
I can't find the reference anywhere.  Does this ring a bell with anyone?
I thought we had Informix version 6, but dbaccess says version 7.something.
I configured it for both and got the same results.

For the implementer:  I had to put in declarations for dbd_db_FETCH()
and dbd_db_readblob() into Informix.c prior to their uses.  (Which
actually needs to be done in Informix.xs but I have no idea what kind of
a file that is -- putting a C declaration in it didn't work.)

TIA for any assistance.

-=-=-=-=-=-=-=-=
Clarence Gardner
Silicon Beach Communications
Software Products and Services Division
clarence@silcom.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08179-6@oink>;
          Wed, 24 Jul 1996 07:41:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838165312:04247:3; Wed, 24 Jul 96 00:41:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa03799; 24 Jul 96 0:41 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22641; 24 Jul 96 0:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA07806 for dbi-users-real; Tue, 23 Jul 1996 13:15:48 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zeus.socom.com (lebel@zeus.socom.com [206.108.56.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA07800 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 13:15:45 -0700
Received: (from lebel@localhost) by zeus.socom.com (8.7.3/8.7.3) id QAA29797;
          Tue, 23 Jul 1996 16:13:31 -0400
To: dbi-users@fugue.com
Subject: Unable to insert LONG RAW larger than 2000 chars
X-Face: #;FW:h$&D\OyS;d9lZ1+b"97JYWd;U#9Nz//7;m7g/^;ib<ciK$ai"RSjmT*!(_/:UoP0$'5Sgim6OTFAr1mP)LsqNW'jGs6V[GDjU;IXAnqeR[S--n&UJssL`5eO=Us[V_GO"prGqdUxIQe`\1cm~-1kwkF#9U$zoUTnSE[56[We'9~e*XH*^jnXQz15C^?BRw\$FF/],%f6p6l,,B$Md,d}&-ux|0Q!`:bQav#(IU5l(0C)#R)'x}HHiCF$\e7sFq
X-Home-Page: http://www.socom.com/~lebel/
Mime-Version: 1.0 (generated by tm-edit 7.70)
Content-Type: text/plain; charset=US-ASCII
From: David Lebel <lebel@socom.com>
Date: 23 Jul 1996 16:13:31 -0400
Message-ID: <m2ybkaenis.fsf@zeus.socom.com>
Lines: 47
X-Mailer: Gnus v5.2.37/XEmacs 19.14

The following code snippet refuses to insert LONG RAW larger than 2000
bytes (after being converted to hexadecimal):

---cut---
	local($prepare) = <<EOF;
insert into carnet
    (carnet_id, 
     carnet_priority, 
     carnet_titre, 
     carnet_auteur, 
     carnet_date, 
     carnet_text)
    values (seq_carnet.nextval, 
            $FORM{'carnet_priority'},
	    '$FORM{'carnet_titre'}',
	    '$FORM{'carnet_auteur'}',
	    SYSDATE,
	    :1)
EOF
        local($sth) = $lda->prepare ($prepare) 
	    || printf "unable to prepare (%s)!\n", $lda->errstr(); 

	local(%attrib);
	$attrib{'ora_type'} = 24;
 	$sth->bind_param(1, $FORM{'carnet_text'}, \%attrib)
 	    || printf "unable to bind_param (%s)!\n", $lda->errstr(); 

	$sth->execute
	    || printf "unable to execute (%s)!\n", $lda->errstr(); 
---cut---

	"ORA-01461: can bind a LONG value only for insert into a LONG
column (DBD: oexec error)" is the error I get when I insert something
bigger than 2000 chars.  I thought that the whole point of using long
raws was that you could insert things larger than 2000 chars.  Am I
doing something wrong?

	I'm using DBI-0.71 and DBD::Oracle 0.36 with Perl 5.002.


	...David

-- 
// d a v i d  l e b e l  <lebel@socom.com>      http://www.socom.com/~lebel/
// analyst / system administrator / hacker          socom technologies, inc.
// " thoughts from above hit the people down below, people in this world, we
//   have no place to go. "                       -- new order, _temptation_
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08179-11@oink>;
          Wed, 24 Jul 1996 07:42:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838168429:02317:3; Wed, 24 Jul 96 01:33:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01828; 24 Jul 96 1:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA08539 for dbi-users-real; Tue, 23 Jul 1996 17:27:39 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cwis.isu.edu (kellcrai@cwis.isu.edu [134.50.254.11]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA08535 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 17:27:37 -0700
Received: by cwis.isu.edu (1.37.109.18/16.2) id AA208148111;
          Tue, 23 Jul 1996 18:28:31 -0600
Date: Tue, 23 Jul 1996 18:27:08 -0600 (MDT)
From: "Inconnu (Craig)" <kellcrai@cwis.isu.edu>
Subject: Re: Oraperl-0.36 on AIX
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Cc: dbi-users@fugue.com
In-Reply-To: <9607231754.AA12592@toad.ig.co.uk>
Message-Id: <Pine.3.87.9607231807.A20381-0100000@cwis.isu.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Tue, 23 Jul 1996, Tim Bunce wrote:

> 
> > From: "Inconnu (Craig)" <kellcrai@cwis.isu.edu>

<snip about linking Oraperl on AIX>

> 
> Thanks for the information.
> 
> Try this Makefile.PL patch (on the latest version) to automate it:
> 
> *** 1.46	1996/07/10 02:27:52
> --- Makefile.PL	1996/07/23 17:53:54
> ***************
> *** 82,87 ****
> --- 82,89 ----
>   # extract object files, keep for use later
>   my @linkwith_o;
>   push @linkwith_o, $1 while $linkwith_s =~ s/(\S+\.[oa])\b//;
> + # also extract AIX .exp files since they confuse MakeMaker
> + push @linkwith_o, $1 while $linkwith_s =~ s/(-bI:\S+\.exp)\b//;
>   
>   if ($::opt_s) {
>   	warn "Searching for symbol '$::opt_s' in $libhome ...\n";

Everything worked fine with the patch.
Thanks again;
    -Craig


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08061-54@oink>;
          Wed, 24 Jul 1996 07:43:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838173755:10755:2; Wed, 24 Jul 96 03:02:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10439; 24 Jul 96 3:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA08683 for dbi-users-real; Tue, 23 Jul 1996 18:55:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.enterprise.ca (root@ns.enterprise.ca [205.210.250.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA08679 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 18:55:31 -0700
Received: from sngai (ppp80.ts1.enterprise.ca [198.96.16.80]) 
          by ns.enterprise.ca (8.7.5/8.7.3) with SMTP id VAA12244 
          for <dbi-users@fugue.com>; Tue, 23 Jul 1996 21:25:17 -0400
Message-ID: <31F585F2.77EE@enterprise.ca>
Date: Tue, 23 Jul 1996 22:09:54 -0400
From: Stuart Ngai <sngai@enterprise.ca>
X-Mailer: Mozilla 2.01 (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Info on DBD::Oracle
X-URL: http://www.hermetica.com/technologia/DBI/DBD/index.html#Oracle
Content-Type: text/plain; charset=big5
Content-Transfer-Encoding: 7bit

Hi, Tim:
	I've been looking for ways to access Oracle7 running on a web 
server.  I'm very interested in finding out more about DBD::oracle's
features (strengths and weaknesses).  One of my colleagues actually
implemented an application using Oracle's WebServer version 1 and
find it to be unacceptable.  Oracle just released their new Web
Request Broker info:
http://www.oracle.com/promotions/intranet/

Can you give me some insight as to the future directions of DBD::oracle?

Thanks in advance.

Stuart Ngai
Technical Architect, DMC Inc., Toronto, Canada.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12846-2@oink>;
          Wed, 24 Jul 1996 16:07:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838213642:29370:3; Wed, 24 Jul 96 14:07:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29100; 24 Jul 96 14:06 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA10071 for dbi-users-real; Wed, 24 Jul 1996 05:52:14 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA10067 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 05:52:12 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id ag24456;
          24 Jul 96 13:13 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa15538; 24 Jul 96 12:42 +0100
Received: from toad by oink with SMTP (PP) id <11618-0@oink>;
          Wed, 24 Jul 1996 12:42:08 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16322;
          Wed, 24 Jul 1996 12:42:01 +0000
Date: Wed, 24 Jul 1996 12:42:01 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607241142.AA16322@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Patch to fix Oracle 7.3.x build problems (sys_nerr etc)
X-Sun-Charset: US-ASCII
content-length: 1068
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

This patch should fix the problems some people have been having building
DBD::Oracle for Oracle 7.3.x (I've now got 7.3.2 myself so I was able to
look into it in more detail).


*** 1.46	1996/07/10 02:27:52
--- Makefile.PL	1996/07/24 11:30:15
***************
*** 233,239 ****
  
      # Don't include the following definitions in the generated
      # makefile (note that %MK stills gets these values).
!     my @edit = qw(SHELL CC CFLAGS ASFLAGS RCC LDFLAGS AR ECHO EXE OBJS);
      my %edit; @edit{@edit} = ('$_ = ""') x @edit;
  
      $edit{COMPOBJS} = q{
--- 235,241 ----
  
      # Don't include the following definitions in the generated
      # makefile (note that %MK stills gets these values).
!     my @edit = qw(SHELL CC CFLAGS CCFLAGS OPTIMIZE ASFLAGS RCC LD LDFLAGS AR ECHO EXE OBJS);
      my %edit; @edit{@edit} = ('$_ = ""') x @edit;
  
      $edit{COMPOBJS} = q{

All it does is add CCFLAGS, OPTIMIZE and LD to the list of macros
that should not be copied into the DBD::Oracle Makefile.

Please let me know how it works for you, ASAP.

Thanks.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12840-7@oink>;
          Wed, 24 Jul 1996 16:07:17 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838218709:25295:4; Wed, 24 Jul 96 15:31:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa24655; 24 Jul 96 15:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA10188 for dbi-users-real; Wed, 24 Jul 1996 07:19:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA10184 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 07:19:29 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id bi23430;
          24 Jul 96 12:53 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa14882; 24 Jul 96 12:40 +0100
Received: from toad by oink with SMTP (PP) id <11252-0@oink>;
          Wed, 24 Jul 1996 10:23:38 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15331;
          Wed, 24 Jul 1996 10:23:29 +0000
Date: Wed, 24 Jul 1996 10:23:29 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607240923.AA15331@toad.ig.co.uk>
To: dbi-users@fugue.com, sngai@enterprise.ca
Subject: Re: Info on DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 651
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Stuart Ngai <sngai@enterprise.ca>
> 
> Hi, Tim:
> 	I've been looking for ways to access Oracle7 running on a web 
> server.  I'm very interested in finding out more about DBD::oracle's
> features (strengths and weaknesses).

Suck it and see. Details at http://www.hermetica.com/technologia/DBI.

> Can you give me some insight as to the future directions of DBD::oracle?

Directions? Onwards and upwards :-)

Seriously though... I intend to implement a row cache for improving select
performance and better support for PL/SQL (stored procedures etc) in the not
too distant future (a couple of months - give or take a couple of months).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12846-4@oink>;
          Wed, 24 Jul 1996 16:07:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838213961:02657:1; Wed, 24 Jul 96 14:12:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02211; 24 Jul 96 14:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA10103 for dbi-users-real; Wed, 24 Jul 1996 06:06:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-5.mail.demon.net (relay-5.mail.demon.net [158.152.1.48]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA10099 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 06:06:57 -0700
Received: from post.demon.co.uk by relay-5.mail.demon.net id aa24480;
          24 Jul 96 13:13 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad14882; 24 Jul 96 12:40 +0100
Received: from toad by oink with SMTP (PP) id <11292-0@oink>;
          Wed, 24 Jul 1996 10:33:09 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15365;
          Wed, 24 Jul 1996 10:33:02 +0000
Date: Wed, 24 Jul 1996 10:33:02 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607240933.AA15365@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Why you should upgrade to 5.003...
X-Sun-Charset: US-ASCII
content-length: 536
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Here's just one reason why it's important to upgrade to 5.003:

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

#!/usr/bin/perl -w
test_value(-1.43);
test_value(-0.43);
 
sub test_value {
my($val) = shift;
$test1 = ($val < 0.0) ? 'GOOD' : 'EVIL';
$test2 = ($val < 0)   ? 'GOOD' : 'EVIL';
print "VAL=$val  TEST1=$test1  TEST2=$test2\n";
}

$ perl5.002 foo
VAL=-1.43  TEST1=GOOD  TEST2=GOOD
VAL=-0.43  TEST1=GOOD  TEST2=EVIL

$ perl5.003 foo
VAL=-1.43  TEST1=GOOD  TEST2=GOOD
VAL=-0.43  TEST1=GOOD  TEST2=GOOD

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

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14560-0@oink>;
          Wed, 24 Jul 1996 19:01:04 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838230042:18400:0; Wed, 24 Jul 96 18:40:42 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa17823; 24 Jul 96 18:39 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa05408; 24 Jul 96 18:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA10553 for dbi-users-real; Wed, 24 Jul 1996 10:27:53 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from iago.qualcomm.com (iago.qualcomm.com [129.46.50.28]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA10549 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 10:27:52 -0700
Received: (from ckoder@localhost) by iago.qualcomm.com (8.7.5/0.7/8.7.2/1.10) 
          id KAA29309 for dbi-users@fugue.com;
          Wed, 24 Jul 1996 10:27:14 -0700 (PDT)
Date: Wed, 24 Jul 1996 10:27:14 -0700 (PDT)
From: Corinne Koder <ckoder@qualcomm.com>
Message-Id: <199607241727.KAA29309@iago.qualcomm.com>
To: dbi-users@fugue.com
Subject: $cursor->fetchrow

Hello...

If there is *anybody else out there* having trouble getting
"select" statements to return specified rows, please reply!!

Using DBI::Informix with a Version 7 Informix database, the
$cursor->fetchrow command knows how many rows to return, but
will not return their contents.  I don't understand this problem
because the module can connect, insert, and delete with ease.
Selects are broken...

# DBI 0.69, Perl 5.002 
================
My code
================
$cursor = $dbh->prepare( 'select * from cori' );
$cursor->execute;
$cursor->debug(2);   # see below for results of debug
while ($row = $cursor->fetchrow) {
	print STDOUT "fetched row $row -- \n";
}
$cursor->finish;
$dbh->disconnect;
================= 
==============================================
$cursor->debug(2) results expecting five rows:
==============================================
Prepared cursor DBI::st=HASH(0x151cd4) 
Cursor executed. 
    DBI::st=HASH(0x151fec) debug level set to 2
    -> fetchrow for DBD::Informix::st (DBI::st=HASH(0x151cd4)~0x151fec)
    <- fetchrow= '................................................................'
fetched row  --
    -> fetchrow for DBD::Informix::st (DBI::st=HASH(0x151cd4)~0x151fec)
    <- fetchrow= '................................................................'
fetched row  --
    -> fetchrow for DBD::Informix::st (DBI::st=HASH(0x151cd4)~0x151fec)
    <- fetchrow= '................................................................'
fetched row  --
    -> fetchrow for DBD::Informix::st (DBI::st=HASH(0x151cd4)~0x151fec)
    <- fetchrow= '................................................................'
fetched row  --
    -> fetchrow for DBD::Informix::st (DBI::st=HASH(0x151cd4)~0x151fec)
    <- fetchrow= '................................................................'
fetched row  --
    -> fetchrow for DBD::Informix::st (DBI::st=HASH(0x151cd4)~0x151fec)
    <- fetchrow= undef
    -> finish for DBD::Informix::st (DBI::st=HASH(0x151cd4)~0x151fec)
    <- finish= 1
===================

What are all these dots?


Thank you...

Corinne Koder
ckoder@qualcomm.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14773-0@oink>;
          Wed, 24 Jul 1996 19:51:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838234179:03638:2; Wed, 24 Jul 96 19:49:39 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa03391; 24 Jul 96 19:49 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa27895; 24 Jul 96 19:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA10734 for dbi-users-real; Wed, 24 Jul 1996 11:37:14 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.penton.com (mail.penton.com [206.21.66.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA10730 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 11:37:07 -0700
Received: from www.penton.com (206.21.66.2) by mail.penton.com 
          with SMTP (Apple Internet Mail Server 1.0);
          Wed, 24 Jul 1996 14:42:29 +0000
Received: by www.penton.com (940816.SGI.8.6.9/940406.SGI) id OAA00654;
          Wed, 24 Jul 1996 14:33:29 -0400
From: Anthony Bucci <abucci@www.penton.com>
Message-Id: <9607241433.ZM652@www.penton.com>
Date: Wed, 24 Jul 1996 14:33:29 -0400
In-Reply-To: Tim Bunce <Tim.Bunce@ig.co.uk> "Why you should upgrade to 5.003..." (Jul 24, 10:33am)
References: <9607240933.AA15365@toad.ig.co.uk>
X-Mailer: Z-Mail (3.2.2 10apr95 MediaMail)
To: dbi-users@fugue.com
Subject: Re: Why you should upgrade to 5.003...
Cc: Tim Bunce <Tim.Bunce@ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

On Jul 24, 10:33am, Tim Bunce wrote:
> Subject: Why you should upgrade to 5.003...
> Here's just one reason why it's important to upgrade to 5.003:
>
> ----- Begin Included Message -----
>
> #!/usr/bin/perl -w
> test_value(-1.43);
> test_value(-0.43);
>
> sub test_value {
> my($val) = shift;
> $test1 = ($val < 0.0) ? 'GOOD' : 'EVIL';
> $test2 = ($val < 0)   ? 'GOOD' : 'EVIL';
> print "VAL=$val  TEST1=$test1  TEST2=$test2\n";
> }
>
> $ perl5.002 foo
> VAL=-1.43  TEST1=GOOD  TEST2=GOOD
> VAL=-0.43  TEST1=GOOD  TEST2=EVIL
>
> $ perl5.003 foo
> VAL=-1.43  TEST1=GOOD  TEST2=GOOD
> VAL=-0.43  TEST1=GOOD  TEST2=GOOD

What machine and operating system are you using?  I'm using perl5.002 on an SGI
Indy running IRIX 5.3, and I do not get the above results.  In fact, all tests
respond GOOD, just like your output for perl5.003.

That's not to say I won't upgrade to perl5.003.  But. perhaps the bug you see
is not as widespread as you think.



-- 
Regards,

Anthony Bucci
Web Site Coordinator
Penton Publshing
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16298-7@oink>;
          Thu, 25 Jul 1996 02:19:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838244611:01409:2; Wed, 24 Jul 96 22:43:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01014; 24 Jul 96 22:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA11255 for dbi-users-real; Wed, 24 Jul 1996 14:37:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeeper.itribe.net (gatekeeper.itribe.net [199.3.224.254]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA11251 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 14:37:24 -0700
Message-Id: <199607242135.RAA26781@gatekeeper.itribe.net>
Original-Received: forwarded by SMTP 
                   1.5.2.
PP-warning: Illegal Received field on preceding line
Date: Wed, 24 Jul 1996 17:37:32 -0400 (EDT)
From: "Mark A. Imbriaco" <mark@itribe.net>
Reply-To: "Mark A. Imbriaco" <mark@itribe.net>
Subject: DBD-Oracle woes.
To: dbi-users@fugue.com
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII



	I'm having a problem inserting a pretty long (~30k) string into
	a 'long' field in an Oracle database.  I'm using DBI-0.71 and 
	DBD-Oracle-0.36, and here's the message that I'm getting:

-----

ORA-01704: string literal too long (DBD: possibly parse error at characte
r 79 of 69875 in 'INSERT INTO dlrPages (id, page_num, free_text) VALUES
(3961041381389300, 3,'<center> this would be a lot more data in a real insert
but I've shortened this message for brevity </center>')

-----

	NOTE: The messaage was shortened for brevity.  The free_text field
	      is intended to hold all of the text needed to construct an
	      HTML page, so can get pretty long.

	where the table looks something like this:
	
	id 	  = number
	page_num  = integer
	free_text = long

	Is there any other way that I could insert this information into the
	database?  Any help would be greatly appreciated.

	-mark

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16298-9@oink>;
          Thu, 25 Jul 1996 02:20:03 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838244764:03210:3; Wed, 24 Jul 96 22:46:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa02613; 24 Jul 96 22:45 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA11281 for dbi-users-real; Wed, 24 Jul 1996 14:41:44 -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 OAA11277 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 14:41:41 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id bl03722; 24 Jul 96 21:27 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac11033; 24 Jul 96 20:24 +0100
Received: from toad by oink with SMTP (PP) id <14704-0@oink>;
          Wed, 24 Jul 1996 19:45:32 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19723;
          Wed, 24 Jul 1996 19:45:24 +0000
Date: Wed, 24 Jul 1996 19:45:24 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607241845.AA19723@toad.ig.co.uk>
To: dbi-users@fugue.com, abucci@www.penton.com
Subject: Re: Why you should upgrade to 5.003...
X-Sun-Charset: US-ASCII
content-length: 592
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Anthony Bucci <abucci@www.penton.com>
> 
> > $test2 = ($val < 0)   ? 'GOOD' : 'EVIL';
> 
> What machine and operating system are you using?  I'm using perl5.002 on an SGI
> Indy running IRIX 5.3, and I do not get the above results.  In fact, all tests
> respond GOOD, just like your output for perl5.003.
> 
> That's not to say I won't upgrade to perl5.003.  But. perhaps the bug you see
> is not as widespread as you think.

I don't know off-hand but it certainly affects enough systems to be a major
problem. Many people have reported it to perl5-porters over recent months.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16298-22@oink>;
          Thu, 25 Jul 1996 02:21:39 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838251758:27243:3; Thu, 25 Jul 96 00:42:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26805; 25 Jul 96 0:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA11727 for dbi-users-real; Wed, 24 Jul 1996 16:37:05 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA11723 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 16:36:56 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          with MHSnet id JAA29296 for dbi-users@fugue.com;
          Thu, 25 Jul 1996 09:36:46 +1000
Received: from booey by wurrup (AIX 3.2/UCB 5.64/4.03) id AA62593;
          Thu, 25 Jul 1996 09:32:42 +1000
Message-Id: <31F6B355.2F9@bha.oz.au>
Date: Thu, 25 Jul 1996 09:35:49 +1000
From: Andrew Berry <adb@bha.oz.au>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: "Mark A. Imbriaco" <mark@itribe.net>
Cc: dbi-users@fugue.com
Subject: Re: DBD-Oracle woes.
References: <199607242135.RAA26781@gatekeeper.itribe.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Mark,

>         I'm having a problem inserting a pretty long (~30k) string into
>         a 'long' field in an Oracle database.  I'm using DBI-0.71 and
>         DBD-Oracle-0.36, and here's the message that I'm getting:

I've successfully inserted LONG and LONG RAW values up to about 10k, but it's a 
bit hard to tell you what's going wrong without seeing your code.  You might find 
that you need to use placeholders in your INSERT clause and explicitly bind the 
values using 'bind_param'.  I've also found that Oracle prefers to see a LONG or 
LONG RAW first in any column list.

Ciao,

AndyB
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16299-22@oink>;
          Thu, 25 Jul 1996 02:21:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838244689:03008:1; Wed, 24 Jul 96 22:44:49 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa02541; 24 Jul 96 22:44 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa20832; 24 Jul 96 22:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA11240 for dbi-users-real; Wed, 24 Jul 1996 14:34:53 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from noc.cerf.net (noc.cerf.net [192.153.156.22]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA11236 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 14:34:52 -0700
Received: (from nbt@localhost) by noc.cerf.net (8.6.10/8.6.9) id OAA20382;
          Wed, 24 Jul 1996 14:31:40 -0700
From: Binh Thanh Nguyen <nbt@cerf.net>
Message-Id: <199607242131.OAA20382@noc.cerf.net>
Subject: Re: $cursor->fetchrow
To: Corinne Koder <ckoder@qualcomm.com>
Date: Wed, 24 Jul 1996 14:31:40 -0700 (PDT)
Cc: dbi-users@fugue.com
In-Reply-To: <199607241727.KAA29309@iago.qualcomm.com> from "Corinne Koder" at Jul 24, 96 10:27:14 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1141

> 
> Hello...
> 
> If there is *anybody else out there* having trouble getting
> "select" statements to return specified rows, please reply!!
> 
> Using DBI::Informix with a Version 7 Informix database, the
> $cursor->fetchrow command knows how many rows to return, but
> will not return their contents.  I don't understand this problem
> because the module can connect, insert, and delete with ease.
> Selects are broken...
> 
> # DBI 0.69, Perl 5.002 
> ================
> My code
> ================
> $cursor = $dbh->prepare( 'select * from cori' );
> $cursor->execute;
> $cursor->debug(2);   # see below for results of debug
> while ($row = $cursor->fetchrow) {
> 	print STDOUT "fetched row $row -- \n";
> }
> $cursor->finish;
> $dbh->disconnect;
> ================= 

try this !

...

$testtable= 'cori';
@mytable = {};
...

$cursor = $dbh->prepare ('select * from $testtable');
$cursor->execute;

while (@row = $cursor->fetchrow) {

   $mytable[$i] = [@row];
    print (" My row $i : @{$mytable[$i]}\n");
    $i++;
}

( $cursor->finish )
    and print( "ok\n" )
    or die "not ok: $DBI::errstr\n";


Binh Thanh Nguyen
CERFnet Inc.,


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16298-24@oink>;
          Thu, 25 Jul 1996 02:21:54 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838253101:10417:3; Thu, 25 Jul 96 01:05:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa09925; 25 Jul 96 1:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA11777 for dbi-users-real; Wed, 24 Jul 1996 17:00:40 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from internet-mail2.ford.com (internet-mail2.ford.com [198.111.80.24]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id RAA11773 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 17:00:37 -0700
Received: by internet-mail2.ford.com id AA24244 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Wed, 24 Jul 1996 20:00:34 -0400
Message-Id: <199607250000.AA24244@internet-mail2.ford.com>
Received: by internet-mail2.ford.com (Protected-side Proxy Mail Agent-1);
          Wed, 24 Jul 1996 20:00:34 -0400
Date: Wed, 24 Jul 1996 20:00:51 -0400
From: Ven Srinivasan <vsriniv1@ford.com>
Organization: Ford Motor Company
X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/735)
Mime-Version: 1.0
To: dbi-users@fugue.com
Cc: vsriniv1@ford.com
Subject: Query
X-Url: http://www.hermetica.com/technologia/DBI/DBD/index.html#Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce,
  Hi, I was trying to access an Oracle DB via the
web.
While reading comp.infosystems.webauthoring.cgi I
came 
across your database interface, and also somebody 
suggested using CGI.pm from http://www-genome.wi.mit.edu/ftp/pub/software/WWW/
as the front end for HTML Forms.


I would appreciate if you could answer the
following
questions:
(1) Do you see any problems with this combination.
(2) On dowloading version 0.71 of your software the
README suggested that the software is going to
undergo
a dramatic change and you are contemplating a
connection
using ODBC? So is it that the current software
should
not be used, and we might wait or look for some
other 
solution? What is the confidence level of the
Software?
(3) I tried to use JDBC as a connection method, and
got a JDBC driver from weblogic. I am a little bit
confused as to the approach to take. Is Java/JDBC a 
superior method to the current CGI/Script methods?
I can see that they have classes like Connection,
ResultSet. There was a memory problem with the
weblogic
driver, and I am still debating which way is really
better for short term.
  I would appreciate if you could give me some of
your
thoughts on item 3.

 Anyway thanks a lot for taking the time to put out
the 
DBI software.

regards,
-Ven
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16299-25@oink>;
          Thu, 25 Jul 1996 02:22:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838246996:29895:0; Wed, 24 Jul 96 23:23:16 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa29436; 24 Jul 96 23:22 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa02886; 24 Jul 96 23:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA10447 for dbi-users-real; Wed, 24 Jul 1996 09:49:51 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from charon.agents-inc.com (charon.agents-inc.com [206.139.194.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA10443 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 09:49:49 -0700
Received: from big-man.agents-inc.com (big-man.agents-inc.com [206.139.194.100]) 
          by charon.agents-inc.com (8.7.1/1.0mlbarrow@agents-inc.com) 
          with ESMTP id MAA02290 for <dbi-users@fugue.com>;
          Wed, 24 Jul 1996 12:47:04 -0400
Received: from [204.27.201.52] (astro.agents-inc.com [204.27.201.52]) 
          by big-man.agents-inc.com (8.7.1/1.0mlbarrow@agents-inc.com) 
          with ESMTP id MAA21546 for <dbi-users@fugue.com>;
          Wed, 24 Jul 1996 12:44:43 -0400 (EDT)
X-Sender: phensley@agents-inc.com
Message-Id: <v03007607ae1c03979607@[204.27.201.52]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 24 Jul 1996 12:49:45 -0400
To: dbi-users@fugue.com
From: Pat Hensley <pat@agents-inc.com>
Subject: support for blobs in DBD::Oracle


I would like to use DBD::Oracle as a DB loading tool, however,
I've encountered the same 2000 character limit on INSERT/UPDATE as
some other users. It seems there is a need for a blob_write function
to overcome this. Are there already plans to address this or should I go
write my DB tool in (ugh) Pro*C ?  Thanks

--  p a t r i c k   h e n s l e y
--  a g e n t s , i n c             m s g   pat@agents-inc.com
--  u r l   http://www.ffly.com     f o n   617.234.5451
--  u s r   astroman                f a x   617.234.5414


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16298-26@oink>;
          Thu, 25 Jul 1996 02:22:07 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838253574:14508:2; Thu, 25 Jul 96 01:12:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa14363; 25 Jul 96 1:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA11798 for dbi-users-real; Wed, 24 Jul 1996 17:10:00 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA11794 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 17:09:57 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          with MHSnet id KAA02397 for dbi-users@fugue.com;
          Thu, 25 Jul 1996 10:09:52 +1000
Received: from booey by wurrup (AIX 3.2/UCB 5.64/4.03) id AA54068;
          Thu, 25 Jul 1996 10:05:53 +1000
Message-Id: <31F6BB1B.1C1D@bha.oz.au>
Date: Thu, 25 Jul 1996 10:09:00 +1000
From: Andrew Berry <adb@bha.oz.au>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: David Lebel <lebel@socom.com>
Cc: dbi-users@fugue.com
Subject: Re: Unable to insert LONG RAW larger than 2000 chars
References: <m2ybkaenis.fsf@zeus.socom.com> <31F6AF7F.3613@bha.oz.au> <m2vifdgqoy.fsf@zeus.socom.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

David,

>         Would you mind to share some code snippet?  That would help me
> greatly.  Maybe that's something I overlooked.

The code is for copying tables in a generic fashion, and so has lots of irrelevant 
things in it.  I've attached what I think are the relevant bits.  Note that although 
this code doesn't depend on it, LONG RAW columns are always first in select and insert 
lists. 

Ciao,

AndyB


# Assuming the existence of @row and an associative array (%clauses) containing the 
# column names and placeholders, and an array @types containing column types ...

    $ih = $db->prepare("INSERT INTO $table ($clauses{names})
	                     VALUES ($clauses{places})")
	  || die "prepare insert into $table: " . $db->errstr;		  

    $attrib{'ora_type'} = $longrawtype;

    ##-- bind the parameter for each of the columns
    for ($i = 0; $i < @types; $i++) {
    
        ##-- long raw values must have their type attribute explicitly specified
        if ($types[$i] == $longrawtype) {
	    $ih->bind_param($i+1, $row[$i], \%attrib)
		|| die "binding placeholder for LONG RAW " . $db->errstr;
	}
	
	##-- other values work OK with the default attributes
	else {
	    $ih->bind_param($i+1, $row[$i])
		|| die "binding placeholder" . $db->errstr;
        }
    }

    $ih->execute || die "execute INSERT into $table: " . $db->errstr;
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16299-34@oink>;
          Thu, 25 Jul 1996 02:23:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838251004:14151:1; Thu, 25 Jul 96 00:30:04 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa13749; 25 Jul 96 0:29 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa25626; 25 Jul 96 0:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA11683 for dbi-users-real; Wed, 24 Jul 1996 16:20:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA11679 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 16:20:38 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          with MHSnet id JAA28306 for dbi-users@fugue.com;
          Thu, 25 Jul 1996 09:20:31 +1000
Received: from booey by wurrup (AIX 3.2/UCB 5.64/4.03) id AA28871;
          Thu, 25 Jul 1996 09:16:20 +1000
Message-Id: <31F6AF7F.3613@bha.oz.au>
Date: Thu, 25 Jul 1996 09:19:27 +1000
From: Andrew Berry <adb@bha.oz.au>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: David Lebel <lebel@socom.com>
Cc: dbi-users@fugue.com
Subject: Re: Unable to insert LONG RAW larger than 2000 chars
References: <m2ybkaenis.fsf@zeus.socom.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

David,

> The following code snippet refuses to insert LONG RAW larger than 2000
> bytes (after being converted to hexadecimal):

If you are explicitly binding the type, you don't need to convert to hexidecimal.


> ---cut---
>         local($prepare) = <<EOF;
> insert into carnet
>     (carnet_id,
>      carnet_priority,
>      carnet_titre,
>      carnet_auteur,
>      carnet_date,
>      carnet_text)
>     values (seq_carnet.nextval,
>             $FORM{'carnet_priority'},
>             '$FORM{'carnet_titre'}',
>             '$FORM{'carnet_auteur'}',
>             SYSDATE,
>             :1)
> EOF
>         local($sth) = $lda->prepare ($prepare)
>             || printf "unable to prepare (%s)!\n", $lda->errstr();
> 
>         local(%attrib);
>         $attrib{'ora_type'} = 24;
>         $sth->bind_param(1, $FORM{'carnet_text'}, \%attrib)
>             || printf "unable to bind_param (%s)!\n", $lda->errstr();
> 
>         $sth->execute
>             || printf "unable to execute (%s)!\n", $lda->errstr();

I've successfully inserted LONG RAW values into a table using similar code, but all 
of my values were explicitly bound using 'bind_param', and the LONG RAW value was 
the first column listed in the insert clause.  I've found that Oracle prefers to 
see LONG RAW columns first in a select clause (and haven't yet checked for insert).

Let us all know if you work it out.

Ciao,

AndyB
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16299-40@oink>;
          Thu, 25 Jul 1996 02:23:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838253953:12365:2; Thu, 25 Jul 96 01:19:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11859; 25 Jul 96 1:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA11814 for dbi-users-real; Wed, 24 Jul 1996 17:14:51 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA11810 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 17:14:47 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          with MHSnet id KAA02775 for dbi-users@fugue.com;
          Thu, 25 Jul 1996 10:14:43 +1000
Received: from booey by wurrup (AIX 3.2/UCB 5.64/4.03) id AA60556;
          Thu, 25 Jul 1996 10:10:29 +1000
Message-Id: <31F6BC2F.265C@bha.oz.au>
Date: Thu, 25 Jul 1996 10:13:35 +1000
From: Andrew Berry <adb@bha.oz.au>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: David Lebel <lebel@socom.com>, dbi-users@fugue.com
Subject: Re: Unable to insert LONG RAW larger than 2000 chars
References: <m2ybkaenis.fsf@zeus.socom.com> <31F6AF7F.3613@bha.oz.au> <m2vifdgqoy.fsf@zeus.socom.com> <31F6BB1B.1C1D@bha.oz.au>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I wrote:
> The code is for copying tables in a generic fashion, and so has lots of irrelevant
> things in it.  I've attached what I think are the relevant bits.  Note that although
> this code doesn't depend on it, LONG RAW columns are always first in select and insert
> lists.

I should add that the code has worked successfully for LONG and LONG RAW values of about 
10k (some larger I think).  I don't convert any data to hexideximal for 
insert---everything is as-retrieved from the database.

AndyB
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16299-44@oink>;
          Thu, 25 Jul 1996 02:24:31 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838255017:21478:3; Thu, 25 Jul 96 01:36:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20993; 25 Jul 96 1:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA11857 for dbi-users-real; Wed, 24 Jul 1996 17:31:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA11853 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 17:31:24 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          with MHSnet id KAA04106 for dbi-users@fugue.com;
          Thu, 25 Jul 1996 10:31:21 +1000
Received: from booey by wurrup (AIX 3.2/UCB 5.64/4.03) id AA54186;
          Thu, 25 Jul 1996 10:27:05 +1000
Message-Id: <31F6C013.E39@bha.oz.au>
Date: Thu, 25 Jul 1996 10:30:11 +1000
From: Andrew Berry <adb@bha.oz.au>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: David Lebel <lebel@socom.com>
Cc: dbi-users@fugue.com
Subject: Re: Unable to insert LONG RAW larger than 2000 chars
References: <m2ybkaenis.fsf@zeus.socom.com> <31F6AF7F.3613@bha.oz.au> <m2vifdgqoy.fsf@zeus.socom.com> <31F6BB1B.1C1D@bha.oz.au> <m291c95h0f.fsf@zeus.socom.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

David,

>         what could the values of $clauses{names} and $clauses{places}
> look like?  Sames for @types ?

'names' is just a comma-separated list of column names, e.g.

  ID, NAME, DATE

'places' is a comma separated list of placeholders (I use just the '?' 
character).  In some cases there is a function in there, for example:

  ?, ?, TO_DATE('DD-MM-YYYY HH24:MI:SI', ?)

Ciao,

AndyB
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16299-45@oink>;
          Thu, 25 Jul 1996 02:24:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838255272:23553:4; Thu, 25 Jul 96 01:41:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23101; 25 Jul 96 1:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA11881 for dbi-users-real; Wed, 24 Jul 1996 17:37:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from en.com (en.com [204.89.181.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA11877 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 17:37:39 -0700
Received: from en.en.com (p22-ts4.en.net [207.78.11.213]) 
          by en.com (8.7.4/8.7.4) with SMTP id UAA08149 
          for <dbi-users@fugue.com>; Wed, 24 Jul 1996 20:46:00 -0400 (EDT)
Message-ID: <31F6C11A.241A@en.com>
Date: Wed, 24 Jul 1996 20:34:34 -0400
From: FirstName LastName <YourENlogin@en.com>
Organization: Your Organization
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
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20519-0@oink>;
          Thu, 25 Jul 1996 13:06:28 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838290020:09317:1; Thu, 25 Jul 96 11:20:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08804; 25 Jul 96 11:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA12626 for dbi-users-real; Thu, 25 Jul 1996 03:12:05 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pc033.awe.be ([194.197.188.53]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA12622 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 03:11:57 -0700
Received: from rs009 (rs009 [88.0.6.9]) by pc033.awe.be (8.7.1/8.7.1) with SMTP 
          id MAA23235 for <dbi-users@fugue.com>;
          Thu, 25 Jul 1996 12:04:56 +0200
Received: by rs009 (AIX 3.2/UCB 5.64/4.03) id AA33356;
          Thu, 25 Jul 1996 12:06:26 +0200
From: filip@awe.be (Filip Bovyn)
Message-Id: <9607251006.AA33356@rs009>
Subject: Trouble building DBD-Informix-0.20pl on AIX
To: dbi-users@fugue.com
Date: Thu, 25 Jul 1996 11:24:44 +0200 (CETZ)
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text

Hi,

I am having trouble building DBD-Informix-0.20pl1 on AIX 3.2.5.

The first problem is that the informix libraries are completely
different from the ones in Makefile.PL:

-rwxr-xr-x   1 informix informix  388138 Feb 15 1971  fglc
-rwxr-xr-x   1 informix informix  223230 Feb 15 1971  fglc2
-rw-r--r--   1 informix informix  116397 Feb 15 1971  lib4gl.a
-rw-r--r--   1 informix informix  314267 Feb 15 1971  libfesql.a
-rw-r--r--   1 informix informix  498177 Feb 15 1971  libnforms.a
-rwsr-sr-x   1 root     informix 1240510 Feb 15 1971  sqlexec
-rwxr-xr-x   1 informix informix   55964 Feb 15 1971  sqlexecd
-rwxr-xr-x   1 informix informix  300186 Feb 15 1971  sqlrmsoctcp

Alse, .ec files are compiled with 'c4gl' instead of 'esql'. 

I hacked Makefile.PL to use the above libraries, and changed 'c4fl' to
'esql'. 

However, it still doesn't work. 'Allocate descriptor' gives a syntax error.
Isqlperl worked, but that does't use 'allocate descriptor'.

We have Informix-4GL version 4.10.UD3. 

rs009/filip> make
cp Informix.pm ./blib/lib/DBD/Informix.pm
        /usr/local/bin/perl "-I/usr/local/lib/perl5/aix/5.003" "-I/usr/local/lib
/perl5" -e 'use ExtUtils::Mksymlists; \
                Mksymlists("NAME" => "DBD::Informix", "DL_FUNCS" => {  }, "DL_VA
RS" => []);'
        /usr/local/bin/perl -I/usr/local/lib/perl5/aix/5.003 -I/usr/local/lib/pe
rl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/ExtUtils
/typemap Informix.xs >Informix.tc && mv Informix.tc Informix.c
Please specify prototyping behavior for Informix.xs (see perlxs manual)
        cc -c -I/usr/informix/incl -I/usr/local/lib/perl5/aix/5.003/DBI -I/usr/l
ocal/lib/perl5/site_perl/aix/DBI -D_ALL_SOURCE -I/usr/local/include -D_NO_PROTO
-O     -DVERSION=\"0.20pl1\"  -DXS_VERSION=\"0.20pl1\"  -I/usr/local/lib/perl5/a
ix/5.003/CORE  Informix.c
        c4gl -c -I/usr/informix/include -I/usr/local/lib/perl5 -I/usr/local/lib/
perl5/aix/5.003 -I/usr/local/lib/perl5/aix/5.003/DBI -I/usr/local/lib/perl5/aix/
5.003/CORE dbdimp.ec
fglc2: file "dbdimp.ec", line 437: type 'allocate' is unknown
fglc2: file "dbdimp.ec", line 437: Syntax error on identifier 'demodesc'. (ccdec
lare.y)
2 error(s) found
make: 1254-004 The error code from the last command is 1.

Filip Bovyn (filip@awe.be)

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20811-0@oink>;
          Thu, 25 Jul 1996 13:43:47 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838298587:01526:3; Thu, 25 Jul 96 13:43:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01057; 25 Jul 96 13:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA12726 for dbi-users-real; Thu, 25 Jul 1996 05:36: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 FAA12722 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 05:36:08 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ai18130; 25 Jul 96 13:35 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac17358; 25 Jul 96 13:16 +0100
Received: from toad by oink with SMTP (PP) id <20251-0@oink>;
          Thu, 25 Jul 1996 12:00:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23201;
          Thu, 25 Jul 1996 12:00:06 +0000
Date: Thu, 25 Jul 1996 12:00:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607251100.AA23201@toad.ig.co.uk>
To: dbi-users@fugue.com, YourENlogin@en.com
Subject: Re: unsubscribe
X-Sun-Charset: US-ASCII
content-length: 1683
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: FirstName LastName <YourENlogin@en.com>
> 
> unsubscribe

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

Cc: dbi-users@fugue.com
Subject: HOW TO UNSUBSCRIBE
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 <21129-0@oink>;
          Thu, 25 Jul 1996 14:27:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838300225:22486:1; Thu, 25 Jul 96 14:10:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21883; 25 Jul 96 14:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA12746 for dbi-users-real; Thu, 25 Jul 1996 05:59:16 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bbnplanet.com (poblano.near.net [198.114.157.116]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA12742 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 05:59:14 -0700
Received: from poblano.near.net by poblano.bbnplanet.com id aa24388;
          25 Jul 96 8:57 EDT
X-Mailer: exmh version 1.6.7 5/3/96
To: Filip Bovyn <filip@awe.be>
cc: dbi-users@fugue.com
Subject: Re: Trouble building DBD-Informix-0.20pl on AIX
In-reply-to: Your message of Thu, 25 Jul 1996 11:24:44 +0200. <9607251006.AA33356@rs009>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 25 Jul 1996 08:57:33 -0400
Message-ID: <24383.838299453@bbnplanet.com>
From: Bill Nugent <whn@bbnplanet.com>

Howdy,

I don't think you will be able to get this to work with Informix 4.  
There are features (such as allocate) which are used which only appear in 
Informix 5 and later.  If I am wrong please let me know because we have 
Informix 4 and would love to use dbperl as well!

	Bill

On Thursday, Jul 25 1996 at 11:24:44, Filip Bovyn wrote:

>Hi,
>
>I am having trouble building DBD-Informix-0.20pl1 on AIX 3.2.5.
>
>The first problem is that the informix libraries are completely
>different from the ones in Makefile.PL:
>
>-rwxr-xr-x   1 informix informix  388138 Feb 15 1971  fglc
>-rwxr-xr-x   1 informix informix  223230 Feb 15 1971  fglc2
>-rw-r--r--   1 informix informix  116397 Feb 15 1971  lib4gl.a
>-rw-r--r--   1 informix informix  314267 Feb 15 1971  libfesql.a
>-rw-r--r--   1 informix informix  498177 Feb 15 1971  libnforms.a
>-rwsr-sr-x   1 root     informix 1240510 Feb 15 1971  sqlexec
>-rwxr-xr-x   1 informix informix   55964 Feb 15 1971  sqlexecd
>-rwxr-xr-x   1 informix informix  300186 Feb 15 1971  sqlrmsoctcp
>
>Alse, .ec files are compiled with 'c4gl' instead of 'esql'. 
>
>I hacked Makefile.PL to use the above libraries, and changed 'c4fl' to
>'esql'. 
>
>However, it still doesn't work. 'Allocate descriptor' gives a syntax 
error.
>Isqlperl worked, but that does't use 'allocate descriptor'.
>
>We have Informix-4GL version 4.10.UD3. 
>
>rs009/filip> make
>cp Informix.pm ./blib/lib/DBD/Informix.pm
>        /usr/local/bin/perl "-I/usr/local/lib/perl5/aix/5.003" "-I/usr/local/l
>*ib
>/perl5" -e 'use ExtUtils::Mksymlists; \
>                Mksymlists("NAME" => "DBD::Informix", "DL_FUNCS" => {  }, "DL_
>*VA
>RS" => []);'
>        /usr/local/bin/perl -I/usr/local/lib/perl5/aix/5.003 -I/usr/local/lib/
>*pe
>rl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/ExtUti
>*ls
>/typemap Informix.xs >Informix.tc && mv Informix.tc Informix.c
>Please specify prototyping behavior for Informix.xs (see perlxs manual)
>        cc -c -I/usr/informix/incl -I/usr/local/lib/perl5/aix/5.003/DBI -I/usr
>*/l
>ocal/lib/perl5/site_perl/aix/DBI -D_ALL_SOURCE -I/usr/local/include 
-D_NO_PROT
>*O
>-O     -DVERSION=\"0.20pl1\"  -DXS_VERSION=\"0.20pl1\"  
-I/usr/local/lib/perl5
>*/a
>ix/5.003/CORE  Informix.c
>        c4gl -c -I/usr/informix/include -I/usr/local/lib/perl5 -I/usr/local/li
>*b/
>perl5/aix/5.003 -I/usr/local/lib/perl5/aix/5.003/DBI 
-I/usr/local/lib/perl5/ai
>*x/
>5.003/CORE dbdimp.ec
>fglc2: file "dbdimp.ec", line 437: type 'allocate' is unknown
>fglc2: file "dbdimp.ec", line 437: Syntax error on identifier 
'demodesc'. (ccd
>*ec
>lare.y)
>2 error(s) found
>make: 1254-004 The error code from the last command is 1.
>
>Filip Bovyn (filip@awe.be)



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21918-1@oink>;
          Thu, 25 Jul 1996 15:32:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838304757:09122:2; Thu, 25 Jul 96 15:25:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08803; 25 Jul 96 15:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA12865 for dbi-users-real; Thu, 25 Jul 1996 07:17:07 -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 HAA12861 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 07:17:06 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id as02233; 25 Jul 96 14:16 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad17358; 25 Jul 96 13:16 +0100
Received: from toad by oink with SMTP (PP) id <20260-0@oink>;
          Thu, 25 Jul 1996 12:02:44 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23212;
          Thu, 25 Jul 1996 12:02:37 +0000
Date: Thu, 25 Jul 1996 12:02:37 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607251102.AA23212@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: problems with install_driver()
Cc: rv33100@ggr.co.uk
X-Sun-Charset: US-ASCII
content-length: 756
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Forwarded to dbi-users.

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

From rv33100@ggr.co.uk  Thu Jul 25 07:40:39 1996
From: Dr R Voglmaier <rv33100@ggr.co.uk>
Date: 25 Jul 96 07:29:00 BST
Subject: problems with install_driver()
To: tim.bunce@ig.co.uk


Hi TIM
On my machine HP,HPUX 9.0, Oracel 7.2.3 I have installed PERL 5.003 with
the packages DBD-Oracle 0.36 and DBI-071.
The installation is gone fine and the tests seems to me to have positiv
results.
The only problem: when I call install_driver I get the following error:
install_driver(Oracle) failed: can't find loadable object for module
DBD::Oracle in @INC ( /usr/local/lib . . . )
What did I wrong ? have I to install something else ?
Thank you in advance.
Reinhard


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

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <25275-0@oink>;
          Thu, 25 Jul 1996 18:07:32 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838314238:19851:2; Thu, 25 Jul 96 18:03:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa19343; 25 Jul 96 18:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA13115 for dbi-users-real; Thu, 25 Jul 1996 09:53:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from noc.cerf.net (noc.cerf.net [192.153.156.22]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA13111 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 09:53:41 -0700
Received: (from nbt@localhost) by noc.cerf.net (8.6.10/8.6.9) id JAA27797;
          Thu, 25 Jul 1996 09:50:32 -0700
From: Binh Thanh Nguyen <nbt@cerf.net>
Message-Id: <199607251650.JAA27797@noc.cerf.net>
Subject: Re: problems with install_driver()
To: Tim.Bunce@ig.co.uk (Tim Bunce)
Date: Thu, 25 Jul 1996 09:50:32 -0700 (PDT)
Cc: dbi-users@fugue.com, rv33100@ggr.co.uk
In-Reply-To: <9607251102.AA23212@toad.ig.co.uk> from "Tim Bunce" at Jul 25, 96 12:02:37 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 980

> 
> 
> Forwarded to dbi-users.
> 
> ----- Begin Included Message -----
> 
> >From rv33100@ggr.co.uk  Thu Jul 25 07:40:39 1996
> From: Dr R Voglmaier <rv33100@ggr.co.uk>
> Date: 25 Jul 96 07:29:00 BST
> Subject: problems with install_driver()
> To: tim.bunce@ig.co.uk
> 
> 
> Hi TIM
> On my machine HP,HPUX 9.0, Oracel 7.2.3 I have installed PERL 5.003 with
> the packages DBD-Oracle 0.36 and DBI-071.
> The installation is gone fine and the tests seems to me to have positiv
> results.
> The only problem: when I call install_driver I get the following error:
> install_driver(Oracle) failed: can't find loadable object for module
> DBD::Oracle in @INC ( /usr/local/lib . . . )
> What did I wrong ? have I to install something else ?
> Thank you in advance.
> Reinhard
> 
> 
> ----- End Included Message -----
> 

How about recompling your perl5003 with dynamic loading flag "Y" ?.  I had the same 
problem on Solaris 2.5, Sun Sparc 20.

regards,

Binh Thanh Nguyen
CERFnet Inc,
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25607-0@oink>;
          Thu, 25 Jul 1996 18:17:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838314835:23364:3; Thu, 25 Jul 96 18:13:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23153; 25 Jul 96 18:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA13151 for dbi-users-real; Thu, 25 Jul 1996 10:08:03 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from olympic.geocities.com (olympic.geocities.com [204.7.246.6]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA13147 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 10:07:57 -0700
Received: from 128.97.128.1.ucla.edu ([164.67.21.87]) 
          by olympic.geocities.com (post.office MTA v1.9.3 ID# 0-12587) 
          with SMTP id AAA27811; Thu, 25 Jul 1996 10:06:15 -0700
Message-ID: <31F7AA89.79BB@geocities.com>
Date: Thu, 25 Jul 1996 10:10:33 -0700
From: monghai@geocities.com (Mike Onghai)
X-Mailer: Mozilla 3.0b5aGold (Win95; I)
MIME-Version: 1.0
To: Tim Bunce <Tim.Bunce@ig.co.uk>
CC: dbi-users@fugue.com, ptracy@nwu.edu
Subject: Re: building perl5.003...
References: <9607230228.AA10517@toad.ig.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
> 
> > From: Phil Tracy <ptracy@nwu.edu>
> >
> > I've had nothing but trouble trying to build the ODBM_File stuff for perl
> > 5.003.  Test 2 fails, saying there's no open database.  My question -- do I
> > need the ODBM_File extenstion in order to use dbd::oracle and dbi?
> 
> No.
> 
> Tim.
unsubscribe
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26672-1@oink>;
          Thu, 25 Jul 1996 19:16:15 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838316165:12701:4; Thu, 25 Jul 96 18:36:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa11882; 25 Jul 96 18:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA13203 for dbi-users-real; Thu, 25 Jul 1996 10:26:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from holmes.umd.edu (holmes.umd.edu [129.2.128.24]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA13199 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 10:26:52 -0700
Received: from wolfe.umd.edu (wolfe.umd.edu [129.2.128.28]) 
          by holmes.umd.edu(8.6.13/95Sep13) with ESMTP id NAA08976;
          Thu, 25 Jul 1996 13:26:39 -0400
Received: by wolfe.umd.edu id NAA05326; Thu, 25 Jul 1996 13:26:38 -0400
Date: Thu, 25 Jul 1996 13:26:37 -0400 (EDT)
From: Andrew Boyle <andyboyl@umd5.umd.edu>
X-Sender: andyboyl@wolfe.umd.edu
To: dbi-users@fugue.com
Subject: Syntax for remote query string?
In-Reply-To: <31F7AA89.79BB@geocities.com>
Message-ID: <Pine.OSF.3.91.960725131901.4093A-100000@wolfe.umd.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hi.  Hopefully someone can help me out with a small question.  I need to 
know the syntax to connect to a remote Oracle server from a webserver.  
Previously the webserver and the oracle database were always on the same 
machine, so the below statements would work, but now we are moving the 
database to another machine, so that the webserver and the database will  
be on seperate machines, and I am not clear on what the syntax to connect 
the two machines might be.  I have tried all of the combinations that I 
thought would work to no avail, and this does not seemed to be covered in 
the faq.

TIA & TFSMB (Thanks For Saving My Butt!)  ;)
Andrew Boyle
andyboyl@wolfe.umd.edu


#########################################################
sub Connect_String {
        $drh = DBI->install_driver( 'Oracle' );
        $dbh = $drh->connect( 'CCCC', 'xxxx', 'yyyy' );
        die unless $dbh;
        $cursor = $dbh->prepare( "$query" );
        $cursor->execute;
        }
###########################################################



--
Andrew Boyle
TIP#391
http://www.glue.umd.edu/~irishman
andyboyl@wolfe.umd.edu
--


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26673-3@oink>;
          Thu, 25 Jul 1996 19:16:24 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838316014:06955:2; Thu, 25 Jul 96 18:33:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06645; 25 Jul 96 18:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA13215 for dbi-users-real; Thu, 25 Jul 1996 10:27:37 -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 KAA13205 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 10:27:28 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ae20143; 25 Jul 96 18:27 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab10566; 25 Jul 96 18:18 +0100
Received: from toad by oink with SMTP (PP) id <25618-0@oink>;
          Thu, 25 Jul 1996 18:17:59 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25221;
          Thu, 25 Jul 1996 18:17:35 +0000
Date: Thu, 25 Jul 1996 18:17:35 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607251717.AA25221@toad.ig.co.uk>
To: monghai@geocities.com
Subject: Re: building perl5.003...
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 169
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: monghai@geocities.com (Mike Onghai)
> 
> unsubscribe

Sigh. How many times must I post the message describing how to unsubscribe?

This is _not_ the way.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26673-21@oink>;
          Thu, 25 Jul 1996 19:17:21 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838317796:26428:2; Thu, 25 Jul 96 19:03:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25428; 25 Jul 96 19:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA13305 for dbi-users-real; Thu, 25 Jul 1996 10:51:25 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from master.hway.net (master.hway.net [207.100.8.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA13301 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 10:51:23 -0700
Received: from ns.hway.net by master.hway.net 
          via SMTP (951211.SGI.8.6.12.PATCH1042/951211.SGI) 
          for <dbi-users@fugue.com> id NAA07213;
          Thu, 25 Jul 1996 13:51:16 -0400
Message-Id: <2.2.32.19960725195045.006e7340@master.hway.net>
X-Sender: lucente@master.hway.net
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 25 Jul 1996 12:50:45 -0700
To: dbi-users@fugue.com
From: Mike Lucente <lucente@hway.net>
Subject: Connect to remote DB: Supported?

I'm new to this list so forgive me (and redirect me) if this
is the wrong place to post.

We are looking at the new Empress Perl interface which
utilizes DBI-0.70. Apparently, it does not support connect
to a remote DB.

Is this part of the DBI specs or is this just currently
inhibited in the (beta) Empress Perl solution.

Please advise. Thanks.
=======================
Mike Lucente
lucente@hway.net
Hiway Technologies, Inc.
http://www.hway.net   

When addressing support, please include your 
domain name or userid if a non-domain account
as well as any previous email dialog.

After hours - please reply to sales@hway.net
or support@hway.net

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27316-1@oink>;
          Thu, 25 Jul 1996 20:06:46 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838320979:09322:5; Thu, 25 Jul 96 19:56:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa08235; 25 Jul 96 19:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA13455 for dbi-users-real; Thu, 25 Jul 1996 11:47:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from watson.bcm.tmc.edu (root@BCM.TMC.EDU [128.249.2.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA13451 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 11:47:42 -0700
Received: from grok.imgen.bcm.tmc.edu (GROK.IMGEN.BCM.TMC.EDU [128.249.26.76]) 
          by watson.bcm.tmc.edu (8.6.11/8.6.6) with SMTP id NAA14102 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 13:47:38 -0500
Received: (from arenson@localhost) by grok.imgen.bcm.tmc.edu (8.7.3/8.6.6) 
          id NAA26502 for dbi-users@fugue.com;
          Thu, 25 Jul 1996 13:47:29 -0500 (CDT)
From: arenson@grok.imgen.bcm.tmc.edu (Andrew D. Arenson)
Message-Id: <199607251847.NAA26502@grok.imgen.bcm.tmc.edu>
Subject: Re: building perl5.003...
To: dbi-users@fugue.com
Date: Thu, 25 Jul 1996 13:47:28 -0500 (CDT)
In-Reply-To: <9607251717.AA25221@toad.ig.co.uk> from "Tim Bunce" at Jul 25, 96 06:17:35 pm
Reply-to: arenson@bcm.tmc.edu
Organization: Dept. of Human and Molecular Genetics, Baylor College of Medicine
Phone: (713)798-4689
x-fax-number: (713)798-5386
x-phone: (713)798-4689
X-Mailer: ELM [version 2.4 PL24 PGP3 *ALPHA*]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
> 
> 
> > From: monghai@geocities.com (Mike Onghai)
> > 
> > unsubscribe
> 
> Sigh. How many times must I post the message describing how to unsubscribe?
> 
> This is _not_ the way.
> 
> Tim.
> 
> 

So many novice users do this, that it seems potentially useful to build
a filter into any email list software like listserv or majordomo that
checks for the word unsubscribe on a line by itself and than unsubscribes
that person. I know it's not 'right' or 'elegant', but I'd still love
to see it happen. The user might even get a message explaining why
they were unsubscribed.

-- 
Andrew D. Arenson            | http://gc.bcm.tmc.edu:8088/cgi-bin/andy/andy
Baylor College of Medicine   | arenson@bcm.tmc.edu        (713)  H 520-7392
Genome Sequencing Center, Molecular & Human Genetics Dept.     | W 798-4689
One Baylor Plaza, Room S903, Houston, TX 77030                 | F 798-5386
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27324-3@oink>;
          Thu, 25 Jul 1996 20:08:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838320570:27512:2; Thu, 25 Jul 96 19:49:30 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa27323; 25 Jul 96 19:49 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa01850; 25 Jul 96 19:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA13430 for dbi-users-real; Thu, 25 Jul 1996 11:34:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from athena.romoidoy.com (athena.romoidoy.com [208.193.64.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA13426 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 11:34:56 -0700
Received: from aurora (sabat@aurora.zoom.com [140.174.196.6]) 
          by athena.romoidoy.com (8.6.12/Romoidoy-Hub-022896) with SMTP 
          id LAA13451 for <dbi-users@fugue.com>;
          Thu, 25 Jul 1996 11:35:14 -0700
Date: Thu, 25 Jul 1996 11:35:02 -0700 (PDT)
From: Sabat <sabat@zoom.com>
X-Sender: sabat@aurora
To: dbi-users@fugue.com
Subject: Re: Patch to fix Oracle 7.3.x build problems (sys_nerr etc)
In-Reply-To: <9607241142.AA16322@toad.ig.co.uk>
Message-ID: <Pine.SUN.3.91.960725113259.13679A-100000@aurora>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Wed, 24 Jul 1996, Tim Bunce wrote:

> This patch should fix the problems some people have been having building
> DBD::Oracle for Oracle 7.3.x (I've now got 7.3.2 myself so I was able to
> look into it in more detail).

No luck; got exactly the same error messages. I'll be happy to repeat these
error messages if needed. Using Solaris 2.5.1, Oracle 7.3.2.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27476-0@oink>;
          Thu, 25 Jul 1996 20:19:16 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838322169:23005:2; Thu, 25 Jul 96 20:16:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa21603; 25 Jul 96 20:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA13521 for dbi-users-real; Thu, 25 Jul 1996 12:07:23 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from grumpy.nsg.nwu.edu (grumpy.nsg.nwu.edu [129.105.26.24]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA13517 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 12:07:22 -0700
Received: from aquarius (aquarius.acns.nwu.edu [129.105.110.169]) 
          by grumpy.nsg.nwu.edu (8.7.5/8.7.3/25.0) with SMTP id OAA05402;
          Thu, 25 Jul 1996 14:09:46 -0500 (CDT)
Message-Id: <2.2.32.19960725190708.0091f250@grumpy.nsg.nwu.edu>
X-Sender: tracy@grumpy.nsg.nwu.edu
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 25 Jul 1996 14:07:08 -0500
To: dbi-users@fugue.com
From: Phil Tracy <ptracy@nwu.edu>
Subject: Re: problems with install_driver()
Cc: rv33100@ggr.co.uk

Dr R Voglmaier <rv33100@ggr.co.uk> writes:

>On my machine HP,HPUX 9.0, Oracel 7.2.3 I have installed PERL 5.003 with
>the packages DBD-Oracle 0.36 and DBI-071.
>The installation is gone fine and the tests seems to me to have positiv
>results.
>The only problem: when I call install_driver I get the following error:
>install_driver(Oracle) failed: can't find loadable object for module
>DBD::Oracle in @INC ( /usr/local/lib . . . )
>What did I wrong ? have I to install something else ?

I had the same problem with HP/UX 9.03 -- everything compiled and
installed fine, and the tests appeared to run OK.  But I got the same "can't
fine loadable object" error that you did.  I messed around with file
locations and permissions for a while, but that wasn't it.

What I did notice was a "warning, must compile static in HP/UX 9.x" message
during the DBD::Oracle 'make test'.  To quote Makefile.PL for DBD-Oracle:

># HP-UX 9 cannot link a non-PIC object file into a shared library.
># Since the .a libs that Oracle supplies contain non-PIC object
># files, we sadly have to build static on HP-UX 9 :(

Then I found in the README file:

>If you get an error like:
>
>/usr/lib/dld.sl: Bad magic number for shared library:
>/usr/local/lib/perl5/hpux/auto/DBD/Oracle/Oracle.a
>
>You'll need to build DBD::Oracle statically linked and then link it
>into a perl binary:
>
>        perl Makefile.PL LINKTYPE=static
>        make
>        make perl             (makes a perl binary in current directory)
>        make test FULLPERL=./perl  (run tests using the new perl binary)
>    make install
>
>You will probably need to have already built and installed a static
>version of the DBI in order that it be automatically included when
>you do the 'make perl' above.

I didn't get that error at all, but when I used the above routine to build a
new version of perl with DBD::Oracle statically linked in, things began to
work OK.  Note -- I'm using and testing only Oraperl at the moment, haven't
tried any of the fancy new stuff yet.  I'm running an old version of Oracle,
7.0.16.  The DBI itself seems to be OK as a dynamically-loading module.  I'm
compiling with gcc 2.7.2, using HP's ld linker.

        - Phil

--
Phillip Tracy  <ptracy@nwu.edu>
Northwestern University ACNS, Evanston, IL  USA
http://grumpy.nsg.nwu.edu/tracy/philtracy.html

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27532-0@oink>;
          Thu, 25 Jul 1996 20:25:26 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838322498:26549:1; Thu, 25 Jul 96 20:21:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25778; 25 Jul 96 20:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA13532 for dbi-users-real; Thu, 25 Jul 1996 12:12:24 -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 MAA13528 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 12:12:21 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ao17345; 25 Jul 96 19:11 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa11129; 25 Jul 96 20:06 +0100
Received: from toad by oink with SMTP (PP) id <26726-0@oink>;
          Thu, 25 Jul 1996 19:23:06 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25582;
          Thu, 25 Jul 1996 19:22:58 +0000
Date: Thu, 25 Jul 1996 19:22:58 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607251822.AA25582@toad.ig.co.uk>
To: dbi-users@fugue.com, lucente@hway.net
Subject: Re: Connect to remote DB: Supported?
X-Sun-Charset: US-ASCII
content-length: 500
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Mike Lucente <lucente@hway.net>
> 
> I'm new to this list so forgive me (and redirect me) if this
> is the wrong place to post.
> 
> We are looking at the new Empress Perl interface which
> utilizes DBI-0.70. Apparently, it does not support connect
> to a remote DB.
> 
> Is this part of the DBI specs or is this just currently
> inhibited in the (beta) Empress Perl solution.

It's not a DBI issue, it's a DBD issue. You need to talk to the
author of the Empress DBD 'driver' module.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27532-2@oink>;
          Thu, 25 Jul 1996 20:25:32 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838322508:26566:4; Thu, 25 Jul 96 20:21:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26323; 25 Jul 96 20:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA13541 for dbi-users-real; Thu, 25 Jul 1996 12:15: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 MAA13537 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 12:15:10 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ag18027; 25 Jul 96 19:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa12216; 25 Jul 96 20:10 +0100
Received: from toad by oink with SMTP (PP) id <27384-0@oink>;
          Thu, 25 Jul 1996 20:10:14 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25842;
          Thu, 25 Jul 1996 20:09:46 +0000
Date: Thu, 25 Jul 1996 20:09:46 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607251909.AA25842@toad.ig.co.uk>
To: dbi-users@fugue.com, arenson@bcm.tmc.edu
Subject: Re: building perl5.003...
X-Sun-Charset: US-ASCII
content-length: 805
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: arenson@grok.imgen.bcm.tmc.edu (Andrew D. Arenson)
> 
> Tim Bunce wrote:
> > 
> > > From: monghai@geocities.com (Mike Onghai)
> > > 
> > > unsubscribe
> > 
> > Sigh. How many times must I post the message describing how to unsubscribe?
> > 
> > This is _not_ the way.
> 
> So many novice users do this, that it seems potentially useful to build
> a filter into any email list software like listserv or majordomo that
> checks for the word unsubscribe on a line by itself and than unsubscribes
> that person. I know it's not 'right' or 'elegant', but I'd still love
> to see it happen.

Please don't unsubscribe them - it simply perpetuates the idea that that's
the way to do it. Send them (but not the whole list) a polite message
explaining how to unsubscribe.

I'd certainly be grateful!

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28144-5@oink>;
          Thu, 25 Jul 1996 21:49:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838325486:21741:1; Thu, 25 Jul 96 21:11:26 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa20955; 25 Jul 96 21:10 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa27767; 25 Jul 96 21:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA13695 for dbi-users-real; Thu, 25 Jul 1996 12:58:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dfw-ix9.ix.netcom.com (dfw-ix9.ix.netcom.com [206.214.98.9]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA13691 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 12:58:29 -0700
Received: from alastl.ix.netcom.com (peo-il1-12.ix.netcom.com [205.184.25.44]) 
          by dfw-ix9.ix.netcom.com (8.6.13/8.6.12) with SMTP id MAA12989 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 12:57:50 -0700
Message-ID: <31F7EDB8.28C@ix.netcom.com>
Date: Thu, 25 Jul 1996 14:57:12 -0700
From: John Prideaux <alastl@ix.netcom.com>
Organization: Aladdin Steel, Inc.
X-Mailer: Mozilla 2.0 (Win95; I; 16bit)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD::Informix w/out ESQL/C or 4GL Compiler
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have an installation that uses Informix 4GL/RDS, so I have no way to handle
the .ec file which is created during the DBD::Informix installation process.
Is there a way around this short of purchasing ESQL/C or I4GL (the C-compiler
version)?  4GL/RDS does come with the header files and libraries necessary
to generate a customized runner, and most of these are similar to what we had
on our old system where we had I4GL.

Any help would be appreciated, even if the answer is that it cannot be done!
-- 
-------------------------------------------------------------------------------
John Prideaux     e-mail: alastl@ix.netcom.com           Phone: (217)839-2121
Aladdin Steel, Inc.                                        Fax: (217)839-4327
-------------------------------------------------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28144-8@oink>;
          Thu, 25 Jul 1996 21:49:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838327015:07993:5; Thu, 25 Jul 96 21:36:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06360; 25 Jul 96 21:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA13792 for dbi-users-real; Thu, 25 Jul 1996 13:27:17 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from golf. (golf.realogic.com [38.240.217.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA13786 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 13:26:56 -0700
Received: from golf by golf. (SMI-8.6/SMI-SVR4) id QAA10721;
          Thu, 25 Jul 1996 16:25:20 -0400
Message-ID: <31F7D830.6586@multiverse.net>
Date: Thu, 25 Jul 1996 16:25:20 -0400
From: Joel Mcgahen <mcgahen@multiverse.net>
X-Mailer: Mozilla 3.0b4Gold (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: dbi-users@fugue.com
CC: Tim.Bunce@ig.co.uk
Subject: Problems compiling oraperl on Solaris 2.5
Content-Type: multipart/mixed; boundary="------------475A718C63FF"

This is a multi-part message in MIME format.

--------------475A718C63FF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Attached is a description of our problem and a log of all make steps.
Someone please help -- we need this to work very soon.

Thanks.

--------------475A718C63FF
Content-Type: text/plain; charset=us-ascii; name="makelog"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="makelog"

Hi, my name is Diana Duncan of Realogic in Cleveland, OH.  I'm trying to
compile oraperl.  Perl 5 and the DBI have compiled and tested 
successfully, but we are having many problems with oraperl.  Please, could
you help?

The oracle version we are using is 7.3.2.1, and the Solaris is version 2.5
The gcc is version 2.7.2
uname is SUNOS sun4u sparc SUNW,Ultra-1


The following is the outputs you request in your README file.

Please email responses to d.duncan@realogic.com


	   golf# perl Makefile.PL

 Configuring DBD::Oracle ...

 >>>	Remember to actually *READ* the README file!

 Using Oracle in /big/app/oracle/product/7.3.2
 Using /big/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk /big/app/oracle/product/7.3.2/precomp/env_precomp.mk 
 Warning: Solaris 2.5 bug #1224467 may cause '_rmutex_unlock' error.
 Deleting -lthread from link list as a possible workround.
 System: perl5.003 sunos golf 5.5 generic_103093-01 sun4u sparc sunw,ultra-1 
 Compiler: gcc -O -I/usr/local/include
 Linker:   /usr/ucb/ld
 Oracle proc.mk would have used these values but we override them:
   CC:       cc
	 CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)
	   LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib
	   Linking with  -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm 

	   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
	   golf# make
	   cp Oraperl.pm ./blib/lib/Oraperl.pm
	   cp Oracle.pm ./blib/lib/DBD/Oracle.pm
	   cp oraperl.ph ./blib/lib/oraperl.ph
	   perl -I/usr/local/lib/perl5/sun4-solaris/5.003 -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. -I/big/app/oracle/product/7.3.2/precomp/public -I/big/app/oracle/product/7.3.2/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -Xc -xstrconst -xcg92 -xF -mr -K PIC -DSLXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT -xO4     -DVERSION=\"0.36\"  -DXS_VERSION=\"0.36\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
	   gcc: PIC: No such file or directory
	   gcc: unrecognized option `-Xc'
	   gcc: unrecognized option `-K'
	   gcc: language O4 not recognized
	   cc1: Invalid option `r'
	   Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
	   Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_execute':
	   Oracle.c:256: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:265: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_fetchrow':
	   Oracle.c:305: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:311: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_finish':
	   Oracle.c:400: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:404: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `boot_DBD__Oracle':
	   Oracle.c:444: warning: ANSI C forbids braced-groups within expressions
	   *** Error code 1
	   make: Fatal error: Command failed for target `Oracle.o'
	   golf# make test
	   gcc -c -I. -I/big/app/oracle/product/7.3.2/precomp/public -I/big/app/oracle/product/7.3.2/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -Xc -xstrconst -xcg92 -xF -mr -K PIC -DSLXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT -xO4     -DVERSION=\"0.36\"  -DXS_VERSION=\"0.36\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
	   gcc: PIC: No such file or directory
	   gcc: unrecognized option `-Xc'
	   gcc: unrecognized option `-K'
	   gcc: language O4 not recognized
	   cc1: Invalid option `r'
	   Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
	   Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_execute':
	   Oracle.c:256: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:265: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_fetchrow':
	   Oracle.c:305: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:311: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_finish':
	   Oracle.c:400: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:404: warning: ANSI C forbids braced-groups within expressions
       Oracle.c: In function `boot_DBD__Oracle':
	   Oracle.c:444: warning: ANSI C forbids braced-groups within expressions
	   *** Error code 1
	   make: Fatal error: Command failed for target `Oracle.o'
	   golf# make test TEST_VERBOSE=1
	   gcc -c -I. -I/big/app/oracle/product/7.3.2/precomp/public -I/big/app/oracle/product/7.3.2/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -Xc -xstrconst -xcg92 -xF -mr -K PIC -DSLXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT -xO4     -DVERSION=\"0.36\"  -DXS_VERSION=\"0.36\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
	   gcc: PIC: No such file or directory
	   gcc: unrecognized option `-Xc'
	   gcc: unrecognized option `-K'
	   gcc: language O4 not recognized
	   cc1: Invalid option `r'
	   Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
	   Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_execute':
	   Oracle.c:256: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:265: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_fetchrow':
	   Oracle.c:305: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:311: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `XS_DBD__Oracle__st_finish':
	   Oracle.c:400: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c:404: warning: ANSI C forbids braced-groups within expressions
	   Oracle.c: In function `boot_DBD__Oracle':
	   Oracle.c:444: warning: ANSI C forbids braced-groups within expressions
	   *** Error code 1
	   make: Fatal error: Command failed for target `Oracle.o'
	   golf# 

This is perl, version 5.003 with EMBED
	built under solaris at Jul 19 1996 14:02:19
	+ suidperl security patch

Copyright 1987-1996, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

--------------475A718C63FF--

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28177-0@oink>;
          Thu, 25 Jul 1996 21:53:03 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838327726:27897:3; Thu, 25 Jul 96 21:48:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26983; 25 Jul 96 21:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA13881 for dbi-users-real; Thu, 25 Jul 1996 13:43:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bit.csc.lsu.edu (bit.csc.lsu.edu [130.39.130.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA13876 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 13:43:32 -0700
Received: by bit.csc.lsu.edu (5.65/DEC-Ultrix/4.3) id AA17012;
          Thu, 25 Jul 1996 15:44:14 -0500
Date: Thu, 25 Jul 1996 15:44:14 -0500 (CDT)
From: Murad Abdulrehman <mabdulr@bit.csc.lsu.edu>
To: dbi-users@fugue.com
Cc: Tim.Bunce@ig.co.uk
Subject: DBI make test problem
Message-Id: <Pine.ULT.3.94.960725153135.16211A-100000@bit.csc.lsu.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Forgive me if the question is very trivial, but i am having a failure
in running make test while installing DBI ver 0.35 under ultrix ver 4.4
I am using perl 5.003 and Oracle ver 7.0.16. 

The error which i am getting is: Object file format error in :./perlmain.o
can't read pass 1 symbolic tables
******* Error code 1

Stop 
****** Error code 1


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28212-0@oink>;
          Thu, 25 Jul 1996 21:58:21 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838328209:03564:3; Thu, 25 Jul 96 21:56:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa02977; 25 Jul 96 21:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA13909 for dbi-users-real; Thu, 25 Jul 1996 13:50:48 -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 NAA13905 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 13:50:44 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id af03347; 25 Jul 96 20:50 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa12765; 25 Jul 96 20:13 +0100
Received: from toad by oink with SMTP (PP) id <27439-0@oink>;
          Thu, 25 Jul 1996 20:13:16 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25931;
          Thu, 25 Jul 1996 20:13:08 +0000
Date: Thu, 25 Jul 1996 20:13:08 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607251913.AA25931@toad.ig.co.uk>
To: dbi-users@fugue.com, sabat@zoom.com
Subject: Re: Patch to fix Oracle 7.3.x build problems (sys_nerr etc)
X-Sun-Charset: US-ASCII
content-length: 616
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Sabat <sabat@zoom.com>
> 
> On Wed, 24 Jul 1996, Tim Bunce wrote:
> 
> > This patch should fix the problems some people have been having building
> > DBD::Oracle for Oracle 7.3.x (I've now got 7.3.2 myself so I was able to
> > look into it in more detail).
> 
> No luck; got exactly the same error messages. I'll be happy to repeat these
> error messages if needed. Using Solaris 2.5.1, Oracle 7.3.2.

Delete the directory tree, unpack a fresh copy, apply the patch first
and then try again. If you still get problems then please send (just) me
your Makefile.PL and Makefile along with the build log.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28652-3@oink>;
          Thu, 25 Jul 1996 22:30:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838329077:01032:4; Thu, 25 Jul 96 22:11:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00728; 25 Jul 96 22:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA14049 for dbi-users-real; Thu, 25 Jul 1996 14:02:13 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bnl.gov (bnl.gov [130.199.128.163]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA14045 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 14:02:06 -0700
Received: from sun10.sep.bnl.gov.sep (sun10.sep.bnl.gov [130.199.50.6]) 
          by bnl.gov (8.7.5/8.7.1) with SMTP id RAA20336;
          Thu, 25 Jul 1996 17:02:04 -0400 (EDT)
Received: by sun10.sep.bnl.gov.sep (4.1/SMI-4.1) id AA04424;
          Thu, 25 Jul 96 17:03:50 EDT
From: sailer@sun10.sep.bnl.gov (Tim 'The Unslept' Sailer)
Message-Id: <9607252103.AA04424@sun10.sep.bnl.gov.sep>
Subject: Re: Syntax for remote query string?
To: andyboyl@umd5.umd.edu (Andrew Boyle)
Date: Thu, 25 Jul 1996 17:03:49 -0400 (EDT)
Cc: dbi-users@fugue.com
In-Reply-To: <Pine.OSF.3.91.960725131901.4093A-100000@wolfe.umd.edu> from "Andrew Boyle" at Jul 25, 96 01:26:37 pm
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text

In your email to me, Andrew Boyle, you wrote:
> 
> 
> Hi.  Hopefully someone can help me out with a small question.  I need to 
> know the syntax to connect to a remote Oracle server from a webserver.  
> Previously the webserver and the oracle database were always on the same 
> machine, so the below statements would work, but now we are moving the 
> database to another machine, so that the webserver and the database will  
> be on seperate machines, and I am not clear on what the syntax to connect 
> the two machines might be.  I have tried all of the combinations that I 
> thought would work to no avail, and this does not seemed to be covered in 
> the faq.
> 
> TIA & TFSMB (Thanks For Saving My Butt!)  ;)
> Andrew Boyle
> andyboyl@wolfe.umd.edu
> 
> 
> #########################################################
> sub Connect_String {
>         $drh = DBI->install_driver( 'Oracle' );
>         $dbh = $drh->connect( 'CCCC', 'xxxx', 'yyyy' );
>         die unless $dbh;
>         $cursor = $dbh->prepare( "$query" );
>         $cursor->execute;
>         }
> ###########################################################

On the box that has the web server, you will have to have sqlnet
and the tcp/ip adapter installed. Then, before you do the
connect, you have to setenv TWO_TASK orasid where orasid is the
real SID for your database instance.

Tim

-- 
		       sailer@sun10.sep.bnl.gov
	  "What would you do with a brain if you had one?"
   Dorothy, Wizard of Oz
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28652-6@oink>;
          Thu, 25 Jul 1996 22:30:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838329959:11016:0; Thu, 25 Jul 96 22:25:59 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa10283; 25 Jul 96 22:24 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa20529; 25 Jul 96 22:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA14070 for dbi-users-real; Thu, 25 Jul 1996 14:12: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 OAA14066 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 14:12:51 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ad05201; 25 Jul 96 21:12 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa14779; 25 Jul 96 20:21 +0100
Received: from toad by oink with SMTP (PP) id <27514-0@oink>;
          Thu, 25 Jul 1996 20:21:36 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25999;
          Thu, 25 Jul 1996 20:21:28 +0000
Date: Thu, 25 Jul 1996 20:21:28 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607251921.AA25999@toad.ig.co.uk>
To: dbi-users@fugue.com, ptracy@nwu.edu
Subject: Re: problems with install_driver()
Cc: rv33100@ggr.co.uk
X-Sun-Charset: US-ASCII
content-length: 379
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Phil Tracy <ptracy@nwu.edu>
> 
> I had the same problem with HP/UX 9.03 -- everything compiled and
> installed fine, and the tests appeared to run OK.  But I got the same "can't
> fine loadable object" error that you did.

Usually caused by forgetting to make install.

Sometimes caused by it being installed into the wrong location owing
to a misconfigured perl.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28671-0@oink>;
          Thu, 25 Jul 1996 22:30:32 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838329920:23180:1; Thu, 25 Jul 96 22:25:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22428; 25 Jul 96 22:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA14074 for dbi-users-real; Thu, 25 Jul 1996 14:13:00 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bit.csc.lsu.edu (bit.csc.lsu.edu [130.39.130.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA14065 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 14:12:47 -0700
Received: by bit.csc.lsu.edu (5.65/DEC-Ultrix/4.3) id AA20446;
          Thu, 25 Jul 1996 16:13:34 -0500
Date: Thu, 25 Jul 1996 16:13:33 -0500 (CDT)
From: Murad Abdulrehman <mabdulr@bit.csc.lsu.edu>
To: dbi-users@fugue.com
Cc: Tim.Bunce@ig.co.uk
Subject: correction for my question
Message-Id: <Pine.ULT.3.94.960725160105.19924A-100000@bit.csc.lsu.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


In my previous post i said i was havin problems installing DBI 0.35, but
in fact it is DBI 0.7.
To Recap: I am having an error while running make test .
the error is : Object file Format Error in : ./perlmain.o: can't read
pass1 symbolic tables(error 0)
******** Error Code 1

I am using Perl5.003, Oracle 7.0.16 in ultrix 4.4

Thanks in advance.  Murad



---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28954-2@oink>;
          Thu, 25 Jul 1996 23:04:31 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838331894:15931:3; Thu, 25 Jul 96 22:58:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa12986; 25 Jul 96 22:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA14224 for dbi-users-real; Thu, 25 Jul 1996 14:47:29 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from jsc-ems-gws01.jsc.nasa.gov (jsc-ems-gws01.jsc.nasa.gov [139.169.15.5]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA14220 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 14:47:26 -0700
Received: by jsc-ems-gws01.jsc.nasa.gov 
          with Microsoft Exchange (IMC 4.0.838.14) 
          id <01BB7A4A.5CED3A40@jsc-ems-gws01.jsc.nasa.gov>;
          Thu, 25 Jul 1996 16:57:28 -0500
Message-ID: <c=US%a=Telemail%p=NASA%l=JSC-EMS-MBS0-960725215104Z-19961@jsc-ems-gws01.jsc.nasa.gov>
From: "Hill, Ron" <RDHill@ems.jsc.nasa.gov>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: Install Problem
Date: Thu, 25 Jul 1996 16:51:04 -0500
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.838.14
Encoding: 12 TEXT

After updating our system to perl 5.003 and msql-1.0.14 and reinstalling
DBI-0.69, we get the following message:

install_driver(mSQL) failed: Can't load
'/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/mSQL/mSQL.so' for
module DBD::mSQL: ld.so.1: /usr/bin/perl: fatal: relocation error:
symbol not found: Xpv: referenced in
/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/mSQL/mSQL.so at
/usr/local/lib/perl5/DynaLoader.pm line 140.

Prior to the installation, everything was working [mostly] fine.  Anyone
have any ideas?
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28958-6@oink>;
          Thu, 25 Jul 1996 23:05:17 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838332070:06182:1; Thu, 25 Jul 96 23:01:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01235; 25 Jul 96 22:59 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA14215 for dbi-users-real; Thu, 25 Jul 1996 14:46: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 OAA14211 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 14:46:22 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id at08506; 25 Jul 96 21:22 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa07835; 25 Jul 96 21:59 +0100
Received: from toad by oink with SMTP (PP) id <28219-0@oink>;
          Thu, 25 Jul 1996 21:58:56 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA26350;
          Thu, 25 Jul 1996 21:58:49 +0000
Date: Thu, 25 Jul 1996 21:58:49 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607252058.AA26350@toad.ig.co.uk>
To: dbi-users@fugue.com, mabdulr@bit.csc.lsu.edu
Subject: Re: DBI make test problem
X-Sun-Charset: US-ASCII
content-length: 519
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Murad Abdulrehman <mabdulr@bit.csc.lsu.edu>
> 
> Forgive me if the question is very trivial, but i am having a failure
> in running make test while installing DBI ver 0.35 under ultrix ver 4.4
> I am using perl 5.003 and Oracle ver 7.0.16. 
> 
> The error which i am getting is: Object file format error in :./perlmain.o
> can't read pass 1 symbolic tables
> ******* Error code 1

No idea. Delete the DBI tree and start over, if it still fails then
post the information that the README asks you to post.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29040-0@oink>;
          Thu, 25 Jul 1996 23:17:55 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838333042:29283:2; Thu, 25 Jul 96 23:17:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28075; 25 Jul 96 23:16 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA14274 for dbi-users-real; Thu, 25 Jul 1996 15:05:48 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from jsc-ems-gws01.jsc.nasa.gov (jsc-ems-gws01.jsc.nasa.gov [139.169.15.5]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA14270 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 15:05:45 -0700
Received: by jsc-ems-gws01.jsc.nasa.gov 
          with Microsoft Exchange (IMC 4.0.838.14) 
          id <01BB7A4C.E54D6B60@jsc-ems-gws01.jsc.nasa.gov>;
          Thu, 25 Jul 1996 17:15:36 -0500
Message-ID: <c=US%a=Telemail%p=NASA%l=JSC-EMS-MBS0-960725220911Z-20030@jsc-ems-gws01.jsc.nasa.gov>
From: "Hill, Ron" <RDHill@ems.jsc.nasa.gov>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: FW: Install Problem
Date: Thu, 25 Jul 1996 17:09:11 -0500
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.838.14
Encoding: 22 TEXT

Sorry, it was perl 5.003, DBI-0_71 and  msql-1.0.16.  We've since backed
up the the configuration below, with the same results.

>----------
>From: 	Hill, Ron
>Sent: 	Thursday, July 25, 1996 4:51 PM
>To: 	'dbi-users@fugue.com'
>Subject: 	Install Problem
>
>After updating our system to perl 5.003 and msql-1.0.14 and
>reinstalling DBI-0.69, we get the following message:
>
>install_driver(mSQL) failed: Can't load
>'/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/mSQL/mSQL.so' for
>module DBD::mSQL: ld.so.1: /usr/bin/perl: fatal: relocation error:
>symbol not found: Xpv: referenced in
>/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/mSQL/mSQL.so at
>/usr/local/lib/perl5/DynaLoader.pm line 140.
>
>Prior to the installation, everything was working [mostly] fine. 
>Anyone have any ideas?
>
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29683-1@oink>;
          Fri, 26 Jul 1996 01:55:23 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838335880:03141:5; Fri, 26 Jul 96 00:04:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa02958; 26 Jul 96 0:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA14509 for dbi-users-real; Thu, 25 Jul 1996 15:54:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns2.eds.com (ns2.eds.com [199.228.142.78]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA14505 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 15:54:18 -0700
Received: by ns2.eds.com (hello) id SAA20345; Thu, 25 Jul 1996 18:54:13 -0400
Received: by nnsp.eds.com (hello) id SAA12189;
          Thu, 25 Jul 1996 18:53:43 -0400 (EDT)
Received: from quasi.mmts.eds.com (quasi [148.94.230.18]) 
          by geronimo.mmts.eds.com (8.7.5/8.7.3) with SMTP id RAA00299 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 17:52:53 -0500 (CDT)
Received: by quasi.mmts.eds.com with Microsoft Mail 
          id <01BB7A51.F26D2740@quasi.mmts.eds.com>;
          Thu, 25 Jul 1996 17:51:46 -0500
Message-ID: <01BB7A51.F26D2740@quasi.mmts.eds.com>
From: Josh Oh <joh@mmts.eds.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: DBD-Informix: Getting column names from a cursor object
Date: Thu, 25 Jul 1996 17:51:44 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Thought I'd try again...

Again, any help would be greatly appreciated...

Josh Oh
joh@mmts.eds.com
----------------------------
Hi,

Is it possible to obtain column names from a cursor object after having executed a
select statement?

Here's the snippet of code that works in Oracle but doesn't in Informix:

  $drh = DBI->install_driver( xxx );
  $dbh = $drh->connect( ... );
  $cursor = $dbh->prepare( "select * from some_table" );
  $cursor->execute();
  @fieldnames = @{$cursor->{'NAME'}};
  print "fields = @fieldnames\n";

If I run it in Oracle, the @{$cursor->{'NAME'}} returns an array of
string representing the column names.  If I run it in Informix and try
to print the contents of the array, I get a segmentation fault core dump.

Is the {'NAME'} attribute on the cursor specific to Oracle?  If it is, are there
any plans to support it in Informix?

Any insight would be very much appreciated...

Josh Oh
joh@mmts.eds.com


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29684-2@oink>;
          Fri, 26 Jul 1996 01:55:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838334029:28583:4; Thu, 25 Jul 96 23:33:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28388; 25 Jul 96 23:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA14376 for dbi-users-real; Thu, 25 Jul 1996 15:23:41 -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 PAA14372 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 15:23:38 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id PAA26130;
          Thu, 25 Jul 1996 15:23:25 -0700
Date: Thu, 25 Jul 1996 15:23:25 -0700
Message-Id: <199607252223.PAA26130@paradigm.webvision.com>
From: dave madden <dhm@paradigm.webvision.com>
To: arenson@bcm.tmc.edu
CC: dbi-users@fugue.com
In-reply-to: <199607251847.NAA26502@grok.imgen.bcm.tmc.edu> (arenson@grok.imgen.bcm.tmc.edu)
Subject: Clueless newbies [was: Re: building perl5.003...]

 =>From: arenson@grok.imgen.bcm.tmc.edu (Andrew D. Arenson)
 =>...
 =>So many novice users do this, that it seems potentially useful to build
 =>a filter into any email list software like listserv or majordomo that
 =>checks for the word unsubscribe on a line by itself...

This is getting further & further off topic, but I've always liked the
solution of unsubscribing them from the list in question, and then
subscribing them to the Newbie List From Hell.  I think there used to
be such a thing: a list whose entire traffic consists of clueless
people trying to unsubscribe themselves.  Most fail miserably, despite
the fact that the instructions for unsubscribing are sent with every
message.

<grin>

d.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29684-23@oink>;
          Fri, 26 Jul 1996 01:56:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838341705:12624:5; Fri, 26 Jul 96 01:41:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12213; 26 Jul 96 1:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA14088 for dbi-users-real; Thu, 25 Jul 1996 14:15: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 OAA14080 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 14:15:17 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ab07571; 25 Jul 96 21:15 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa07464; 25 Jul 96 21:57 +0100
Received: from toad by oink with SMTP (PP) id <28199-0@oink>;
          Thu, 25 Jul 1996 21:56:52 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA26328;
          Thu, 25 Jul 1996 21:56:42 +0000
Date: Thu, 25 Jul 1996 21:56:42 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607252056.AA26328@toad.ig.co.uk>
To: dbi-users@fugue.com, mcgahen@multiverse.net
Subject: Re: Problems compiling oraperl on Solaris 2.5
X-Sun-Charset: US-ASCII
content-length: 520
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Joel Mcgahen <mcgahen@multiverse.net>
> 
> Attached is a description of our problem and a log of all make steps.
> Someone please help -- we need this to work very soon.

Apply the Makefile.PL patch I posted recently. Basically edit Makefile.PL
and change the line that looks much like this:

	my @edit = qw(SHELL CC CFLAGS CCFLAGS OPTIMIZE ASFLAGS RCC
		LD LDFLAGS AR ECHO EXE OBJS);

so that it looks exactly like this (e.g., add in the new words).

Please let me know if that works for you. It should.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01312-6@oink>;
          Fri, 26 Jul 1996 07:38:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838352347:17307:3; Fri, 26 Jul 96 04:39:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17078; 26 Jul 96 4:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA15339 for dbi-users-real; Thu, 25 Jul 1996 20:30:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from smtp1.interramp.com (smtp1.interramp.com [38.8.45.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA15335 
          for <dbi-users@fugue.com>; Thu, 25 Jul 1996 20:30:30 -0700
Received: from GISELA by smtp1.interramp.com (8.6.12/SMI-4.1.3-PSI-irsmtp) 
          id XAA14413; Thu, 25 Jul 1996 23:30:27 -0400
Date: Thu, 25 Jul 96 22:28:31 CST
From: Steve McAllister <smm@interramp.com>
Subject: unsubscribe
To: dbi-users@fugue.com
X-PRIORITY: 3 (Normal)
X-Mailer: Chameleon 5.0.1, TCP/IP for Windows, NetManage Inc.
Message-ID: <Chameleon.838333763.smcallister@GISELA>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02645-9@oink>;
          Fri, 26 Jul 1996 11:54:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838371417:27927:3; Fri, 26 Jul 96 09:56:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27101; 26 Jul 96 9:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA15666 for dbi-users-real; Fri, 26 Jul 1996 01:49:54 -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 BAA15662 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 01:49:52 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id JAA13992; Fri, 26 Jul 1996 09:40:31 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607260840.JAA13992@fruitbat.mcqueen.com>
Subject: Re: Trouble building DBD-Informix-0.20pl on AIX
To: whn@bbnplanet.com (Bill Nugent)
Date: Fri, 26 Jul 1996 09:40:30 +0100 (BST)
Cc: filip@awe.be, dbi-users@fugue.com
In-Reply-To: <24383.838299453@bbnplanet.com> from "Bill Nugent" at Jul 25, 96 08:57:33 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: 751


> I don't think you will be able to get this to work with Informix 4.  
> There are features (such as allocate) which are used which only appear in 
> Informix 5 and later.  If I am wrong please let me know because we have 
> Informix 4 and would love to use dbperl as well!

Informix 4 is *not* supported by DBD::Informix, and, unless someone else
rewrites part of the driver, never will be.

Of course, just to throw in my standard "be-rude-to-questioner" statement,
why do you think it says [5/6/7] when asked for your version number? 8-)

> 	Bill

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02645-12@oink>;
          Fri, 26 Jul 1996 11:54:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838376427:17445:1; Fri, 26 Jul 96 11:20:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17038; 26 Jul 96 11:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA15740 for dbi-users-real; Fri, 26 Jul 1996 03:11:13 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ntigate.rich.nt.com (pp@ntigate.nt.com [192.135.215.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id DAA15736 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 03:11:12 -0700
X400-Received: by mta NT.COM in /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Fri, 26 Jul 1996 10:10:20 +0000
X400-Received: by /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Fri, 26 Jul 1996 10:08:35 +0000
X400-Received: by /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Fri, 26 Jul 1996 03:03:41 +0000
Date: Fri, 26 Jul 1996 03:03:41 +0000
X400-Originator: Greg.Giles.3113701@nt.com
X400-Recipients: non-disclosure:;
X400-MTS-Identifier: [/PRMD=NT/ADMD=MCI/C=US/;<n1373742990.18485@npgtq02.pai01]
X400-Content-Type: P2-1984 (2)
Content-Identifier: Re: Syntax fo...
From: Greg Giles <Greg.Giles.3113701@nt.com>
Message-ID: <n1373742990.18485@npgtq02.pai01.nt.com>
To: Andrew Boyle <andyboyl@umd5.umd.edu>, 
    Tim 'The Unslept' Sailer <sailer@sun10.sep.bnl.gov>, dbi-users@fugue.com
Subject: Re: Syntax for remote quer
X-Mailer: Mail*Link SMTP-QM 3.0.2 GM
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; Name="Message Body"
Content-Transfer-Encoding: quoted-printable

>> Hi.  Hopefully someone can help me out with a small question.  I need =
to 
>> know the syntax to connect to a remote Oracle server from a webserver. =
 

>On the box that has the web server, you will have to have sqlnet
>and the tcp/ip adapter installed. Then, before you do the
>connect, you have to setenv TWO_TASK orasid where orasid is the
>real SID for your database instance.

Taking this one step further :
Is there any reason why DBD should'nt support Oracle remote database =
links,
typically I use this for table joins accross databases.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <03325-0@oink>;
          Fri, 26 Jul 1996 13:31:51 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838384037:14386:4; Fri, 26 Jul 96 13:27:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa14055; 26 Jul 96 13:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA15882 for dbi-users-real; Fri, 26 Jul 1996 05:23:46 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA15878 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 05:23:44 -0700
Received: from gyda.ifi.uio.no (4959@gyda.ifi.uio.no [129.240.78.2]) 
          by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id <OAA28160@ifi.uio.no> 
          for <dbi-users@fugue.com> ; Fri, 26 Jul 1996 14:23:40 +0200
From: =?iso-8859-1?Q?Rune_Fr=F8ysa?= <runefr@ifi.uio.no>
Received: (from runefr@localhost) by gyda.ifi.uio.no ;
          Fri, 26 Jul 1996 14:23:39 +0200
Date: Fri, 26 Jul 1996 14:23:39 +0200
Message-Id: <199607261223.22978.gyda.ifi.uio.no@ifi.uio.no>
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Running DBD-Oracle compiled under SunOS on Solaris
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Since none of our Oracle machines are running Solaris, I compiled
DBD-Oracle on a SunOS4.1.4 box, and tried to run it under Perl5.003 on
a Solaris5.3 box. I was hoping that this would work, as I compiled
oraperl for perl version 4 this way, but as you can see below, it
didn't. Is there any way to get around this provlem, or to get a
version that has already been compiled for Solaris?

/local/www/tools/ub/DBD-Oracle-0.36> ../perl/bin/perl -I ../DBI-0.71 -I =
../DBI-0.71/blib/arch test.pl
Oraperl test application $Revision: 1.21 $
Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: ld.so.1: =
../perl/bin/perl: fatal: relocation error: symbol not found: _sv_undef: =
referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at =
/local/www/tools/ub/perl/lib/DynaLoader.pm line 140.

 at ../DBI-0.71/DBI.pm line 34
BEGIN failed--compilation aborted at Oraperl.pm line 23.
BEGIN failed--compilation aborted at (eval 2) line 1.

--=20
Rune Fr=F8ysa, IT-Seksjonen UB, UiO.   Primary e-mail: runefr@ifi.uio.no
Phone (work): (+47) (22 8)5 28 59   =20
WWW: http://www.ifi.uio.no/~runefr/
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04207-0@oink>;
          Fri, 26 Jul 1996 15:34:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838391548:18937:8; Fri, 26 Jul 96 15:32:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18728; 26 Jul 96 15:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA16008 for dbi-users-real; Fri, 26 Jul 1996 07:21:02 -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 HAA16004 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 07:20:59 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ae05261; 26 Jul 96 14:20 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa10222; 26 Jul 96 13:35 +0100
Received: from toad by oink with SMTP (PP) id <03349-0@oink>;
          Fri, 26 Jul 1996 13:35:37 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29524;
          Fri, 26 Jul 1996 13:35:31 +0000
Date: Fri, 26 Jul 1996 13:35:31 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607261235.AA29524@toad.ig.co.uk>
To: dbi-users@fugue.com, runefr@ifi.uio.no
Subject: Re: Running DBD-Oracle compiled under SunOS on Solaris
X-Sun-Charset: US-ASCII
content-length: 1020
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: =?iso-8859-1?Q?Rune_Fr=F8ysa?= <runefr@ifi.uio.no>
> 
> Since none of our Oracle machines are running Solaris, I compiled
> DBD-Oracle on a SunOS4.1.4 box, and tried to run it under Perl5.003 on
> a Solaris5.3 box. I was hoping that this would work, as I compiled
> oraperl for perl version 4 this way, but as you can see below, it
> didn't. Is there any way to get around this provlem, or to get a
> version that has already been compiled for Solaris?
> 
> /local/www/tools/ub/DBD-Oracle-0.36> ../perl/bin/perl -I ../DBI-0.71 -I ../DBI-0.71/blib/arch test.pl
> Oraperl test application $Revision: 1.21 $
> Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: ld.so.1: ../perl/bin/perl: fatal: relocation error: symbol not found: _sv_undef: referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at /local/www/tools/ub/perl/lib/DynaLoader.pm line 140.

That looks like you've built it using Perl5.002 or earlier and you're
running it on Perl5.003. Use the same version of perl on both systems.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04207-1@oink>;
          Fri, 26 Jul 1996 15:34:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838391541:18937:1; Fri, 26 Jul 96 15:32:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18530; 26 Jul 96 15:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA16015 for dbi-users-real; Fri, 26 Jul 1996 07:24:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zeus.socom.com (lebel@zeus.socom.com [206.108.56.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA16011 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 07:24:43 -0700
Received: (from lebel@localhost) by zeus.socom.com (8.7.3/8.7.3) id KAA10376;
          Fri, 26 Jul 1996 10:22:32 -0400
To: dbi-users@fugue.com
Subject: one connection, many "clients"
X-Face: #;FW:h$&D\OyS;d9lZ1+b"97JYWd;U#9Nz//7;m7g/^;ib<ciK$ai"RSjmT*!(_/:UoP0$'5Sgim6OTFAr1mP)LsqNW'jGs6V[GDjU;IXAnqeR[S--n&UJssL`5eO=Us[V_GO"prGqdUxIQe`\1cm~-1kwkF#9U$zoUTnSE[56[We'9~e*XH*^jnXQz15C^?BRw\$FF/],%f6p6l,,B$Md,d}&-ux|0Q!`:bQav#(IU5l(0C)#R)'x}HHiCF$\e7sFq
X-Home-Page: http://www.socom.com/~lebel/
Mime-Version: 1.0 (generated by tm-edit 7.70)
Content-Type: text/plain; charset=US-ASCII
From: David Lebel <lebel@socom.com>
Date: 26 Jul 1996 10:22:31 -0400
Message-ID: <m2spafgkm0.fsf@zeus.socom.com>
Lines: 32
X-Mailer: Gnus v5.2.37/XEmacs 19.14

Hello,

	I'm using DBI/DBD-Oracle at my site to answer queries from the
Web, and since I get quite a few connections (more than 2000
hits/hour), I think there's is some overhead in the login/log-off
phases (bench marked at 1 to 1.5 seconds) for each of these connections,
and I don't mention the memory overhead for each of these connections
(Oracle is such a memory hog).

	I know that Oracle has partly solved the problem with their
WebServer 2.0 technology, by using PL/SQL, but the problem is that I
hate PL/SQL, and comparing it to Perl is like comparing a potato with
a Ferrari.  

	At first, I thought that I could write some sort of
socket-based server in Perl that would connect to the DB, and then
sits there and wait for SQL queries from clients.  However,
socket-based communication is not very fast, and even slower when we
include "handshaking" between the client and the server.

	Next, I thought about SysV-IPC, but I'm not too familiar with
that stuff.  Would it be a good idea?  Is there anyone out there with
some sort of solution that is faster than the simple
connect/query/process/log-off cycle?

	...David

-- 
// d a v i d  l e b e l  <lebel@socom.com>      http://www.socom.com/~lebel/
// analyst / system administrator / hacker          socom technologies, inc.
// " thoughts from above hit the people down below, people in this world, we
//   have no place to go. "                       -- new order, _temptation_
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04207-6@oink>;
          Fri, 26 Jul 1996 15:34:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838391619:19961:1; Fri, 26 Jul 96 15:33:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19276; 26 Jul 96 15:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA16028 for dbi-users-real; Fri, 26 Jul 1996 07:26:35 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bbnplanet.com (poblano.near.net [198.114.157.116]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA16024 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 07:26:33 -0700
Received: from poblano.near.net by poblano.bbnplanet.com id ab16479;
          26 Jul 96 10:17 EDT
X-Mailer: exmh version 1.6.7 5/3/96
To: =?iso-8859-1?Q?Rune_Fr=F8ysa?= <runefr@ifi.uio.no>
cc: dbi-users@fugue.com
Subject: Re: Running DBD-Oracle compiled under SunOS on Solaris
In-reply-to: Your message of Fri, 26 Jul 1996 14:23:39 +0200. <199607261223.22978.gyda.ifi.uio.no@ifi.uio.no>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 26 Jul 1996 10:17:01 -0400
Message-ID: <16457.838390621@bbnplanet.com>
From: Bill Nugent <whn@bbnplanet.com>

Howdy,

Was that version of perl used to compile dbperl?  Or was it compiled for 
Solaris?  All of these things are layered on top of the previous one.  If 
you  have changed the base - using Solaris perl - then the pile falls 
apart.

	Bill

On Friday, Jul 26 1996 at 14:23:39, =?iso-8859-1?Q?Rune_Fr=F8ysa?= wrote:

>Since none of our Oracle machines are running Solaris, I compiled
>DBD-Oracle on a SunOS4.1.4 box, and tried to run it under Perl5.003 on
>a Solaris5.3 box. I was hoping that this would work, as I compiled
>oraperl for perl version 4 this way, but as you can see below, it
>didn't. Is there any way to get around this provlem, or to get a
>version that has already been compiled for Solaris?
>
>/local/www/tools/ub/DBD-Oracle-0.36> ../perl/bin/perl -I ../DBI-0.71 -I =
>../DBI-0.71/blib/arch test.pl
>Oraperl test application $Revision: 1.21 $
>Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: 
ld.so.1: =
>../perl/bin/perl: fatal: relocation error: symbol not found: _sv_undef: =
>referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at =
>/local/www/tools/ub/perl/lib/DynaLoader.pm line 140.
>
> at ../DBI-0.71/DBI.pm line 34
>BEGIN failed--compilation aborted at Oraperl.pm line 23.
>BEGIN failed--compilation aborted at (eval 2) line 1.
>
>--=20
>Rune Fr=F8ysa, IT-Seksjonen UB, UiO.   Primary e-mail: runefr@ifi.uio.no
>Phone (work): (+47) (22 8)5 28 59   =20
>WWW: http://www.ifi.uio.no/~runefr/



---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04688-2@oink>;
          Fri, 26 Jul 1996 16:40:02 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838393234:22742:2; Fri, 26 Jul 96 16:00:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22216; 26 Jul 96 15:59 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA16103 for dbi-users-real; Fri, 26 Jul 1996 07:54: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 HAA16099 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 07:54:54 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ar09406; 26 Jul 96 14:43 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa10767; 26 Jul 96 15:40 +0100
Received: from toad by oink with SMTP (PP) id <04244-0@oink>;
          Fri, 26 Jul 1996 15:39:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00435;
          Fri, 26 Jul 1996 15:39:48 +0000
Date: Fri, 26 Jul 1996 15:39:48 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607261439.AA00435@toad.ig.co.uk>
To: dbi-users@fugue.com, lebel@socom.com
Subject: Re: one connection, many "clients"
X-Sun-Charset: US-ASCII
content-length: 431
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: David Lebel <lebel@socom.com>
> 
> 	At first, I thought that I could write some sort of
> socket-based server in Perl that would connect to the DB, and then
> sits there and wait for SQL queries from clients.  However,
> socket-based communication is not very fast, and even slower when we
> include "handshaking" between the client and the server.

"socket-based communication is not very fast" only if done badly.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04688-5@oink>;
          Fri, 26 Jul 1996 16:40:12 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838394991:12056:4; Fri, 26 Jul 96 16:29:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa10597; 26 Jul 96 16:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA16180 for dbi-users-real; Fri, 26 Jul 1996 08:21:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from golf. (golf.realogic.com [38.240.217.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA16175 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 08:20:59 -0700
Received: from golf by golf. (SMI-8.6/SMI-SVR4) id LAA20325;
          Fri, 26 Jul 1996 11:19:45 -0400
Message-ID: <31F8E210.1968@multiverse.net>
Date: Fri, 26 Jul 1996 11:19:44 -0400
From: Joel Mcgahen <mcgahen@multiverse.net>
X-Mailer: Mozilla 3.0b4Gold (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: dbi-users@fugue.com
CC: Tim.Bunce@ig.co.uk
Subject: Problems finding executable after Make
Content-Type: multipart/mixed; boundary="------------421B3F43370"

This is a multi-part message in MIME format.

--------------421B3F43370
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Attached are the Makefile that the Makefile.PL created (THANK YOU!) ,
the log of the make install, and the perlloc.pod file.  Our problem is
not the compile any more the fix to the Makefile.PL file worked
wonderfully and the firest time, our problem is the make does not create
an executable that we can find on the system.  Are we doing something
wrong?  We try these steps.

1) perl Makefile.PL
2) make
3) make test (Works fine!)
4) make install

then we do a find / -name oraperl and come up with nothing.

Thank you for your respone on 7/25/96 it was greatly appreciated.
HELP!!!

--------------421B3F43370
Content-Type: text/plain; charset=us-ascii; name="install.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="install.txt"

Skipping /usr/local/lib/perl5/site_perl/sun4-solaris/./auto/DBD/Oracle/Oracle.so (unchanged)
Skipping /usr/local/lib/perl5/site_perl/sun4-solaris/./auto/DBD/Oracle/Oracle.bs (unchanged)
Skipping /usr/local/lib/perl5/site_perl/./DBD/Oracle.pm (unchanged)
Skipping /usr/local/lib/perl5/site_perl/./Oraperl.pm (unchanged)
Skipping /usr/local/lib/perl5/site_perl/./oraperl.ph (unchanged)
Skipping /usr/local/lib/perl5/man/man3/./DBD::Oraperl.3 (unchanged)
Writing /usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle/.packlist
Appending installation info to /usr/local/lib/perl5/sun4-solaris/5.003/perllocal.pod

--------------421B3F43370
Content-Type: text/plain; charset=us-ascii; name="Makefile"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Makefile"

# This Makefile is for the DBD::Oracle extension to perl.
#
# It was generated automatically by MakeMaker version
# 5.34 (Revision: 1.202) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
#	ANY CHANGES MADE HERE WILL BE LOST!
#
#   MakeMaker Parameters:

#	INC => q[$(I_SYM). $(PRECOMPPUBLIC) -I/big/app/oracle/product/7.3.2/rdbms/demo -I$(INSTALLSITEARCH)/DBI -I$(INSTALLARCHLIB)/DBI]
#	LIBS => [q[-L/big/app/oracle/product/7.3.2/lib -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm]]
#	NAME => q[DBD::Oracle]
#	OBJECT => q[$(O_FILES)]
#	VERSION_FROM => q[Oracle.pm]
#	dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], PREOP=>q[$(MAKE) -f Makefile.old distdir] }
#	dynamic_lib => { OTHERLDFLAGS=>q[  $(COMPOBJS)] }

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

# These definitions are from config.sh (via /usr/local/lib/perl5/sun4-solaris/5.003/Config.pm)

# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = cc
CCCDLFLAGS = -fpic
CCDLFLAGS =  
DLEXT = so
DLSRC = dl_dlopen.xs
LD = cc
LDDLFLAGS = -G -L/usr/local/lib -L/opt/gnu/lib
LDFLAGS =  -L/usr/local/lib -L/opt/gnu/lib
LIBC = /lib/libc.so
LIB_EXT = .a
OBJ_EXT = .o
RANLIB = :
SO = so


# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
NAME = DBD::Oracle
DISTNAME = DBD-Oracle
NAME_SYM = DBD_Oracle
VERSION = 0.36
VERSION_SYM = 0_36
XS_VERSION = 0.36
INST_BIN = ./blib/bin
INST_EXE = ./blib/script
INST_LIB = ./blib/lib
INST_ARCHLIB = ./blib/arch
INST_SCRIPT = ./blib/script
PREFIX = /usr/local
INSTALLDIRS = site
INSTALLPRIVLIB = $(PREFIX)/lib/perl5
INSTALLARCHLIB = $(PREFIX)/lib/perl5/sun4-solaris/5.003
INSTALLSITELIB = $(PREFIX)/lib/perl5/site_perl
INSTALLSITEARCH = $(PREFIX)/lib/perl5/site_perl/sun4-solaris
INSTALLBIN = $(PREFIX)/bin
INSTALLSCRIPT = $(PREFIX)/bin
PERL_LIB = /usr/local/lib/perl5
PERL_ARCHLIB = /usr/local/lib/perl5/sun4-solaris/5.003
SITELIBEXP = /usr/local/lib/perl5/site_perl
SITEARCHEXP = /usr/local/lib/perl5/site_perl/sun4-solaris
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = /usr/local/lib/perl5/sun4-solaris/5.003/CORE
PERL = /usr/bin/perl
FULLPERL = /usr/bin/perl

VERSION_MACRO = VERSION
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"

MAKEMAKER = /usr/local/lib/perl5/ExtUtils/MakeMaker.pm
MM_VERSION = 5.34

# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
# ROOTEXT = Directory part of FULLEXT with leading slash (eg /DBD)  !!! Deprecated from MM 5.32  !!!
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
FULLEXT = DBD/Oracle
BASEEXT = Oracle
PARENT_NAME = DBD::
DLBASE = $(BASEEXT)
VERSION_FROM = Oracle.pm
INC = $(I_SYM). $(PRECOMPPUBLIC) -I/big/app/oracle/product/7.3.2/rdbms/demo -I$(INSTALLSITEARCH)/DBI -I$(INSTALLARCHLIB)/DBI
OBJECT = $(O_FILES)
LDFROM = $(OBJECT)
LINKTYPE = dynamic

# Handy lists of source code files:
XS_FILES= Oracle.xs
C_FILES = Oracle.c \
	dbdimp.c
O_FILES = Oracle.o \
	dbdimp.o
H_FILES = Oracle.h \
	dbdimp.h
MAN1PODS = 
MAN3PODS = Oraperl.pm
INST_MAN1DIR = ./blib/man1
INSTALLMAN1DIR = $(PREFIX)/man/man1
MAN1EXT = 1
INST_MAN3DIR = ./blib/man3
INSTALLMAN3DIR = $(PREFIX)/lib/perl5/man/man3
MAN3EXT = 3

# work around a famous dec-osf make(1) feature(?):
makemakerdflt: all

.SUFFIXES: .xs .c .C .cpp .cxx .cc $(OBJ_EXT)

# Nick wanted to get rid of .PRECIOUS. I don't remember why. I seem to recall, that
# some make implementations will delete the Makefile when we rebuild it. Because
# we call false(1) when we rebuild it. So make(1) is not completely wrong when it
# does so. Our milage may vary.
# .PRECIOUS: Makefile    # seems to be not necessary anymore

.PHONY: all config static dynamic test linkext manifest

# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)/Config.pm $(PERL_INC)/config.h

# Where to put things:
INST_LIBDIR      = $(INST_LIB)/DBD
INST_ARCHLIBDIR  = $(INST_ARCHLIB)/DBD

INST_AUTODIR     = $(INST_LIB)/auto/$(FULLEXT)
INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)

INST_STATIC  = $(INST_ARCHAUTODIR)/$(BASEEXT)$(LIB_EXT)
INST_DYNAMIC = $(INST_ARCHAUTODIR)/$(DLBASE).$(DLEXT)
INST_BOOT    = $(INST_ARCHAUTODIR)/$(BASEEXT).bs

EXPORT_LIST = 

PERL_ARCHIVE = 

TO_INST_PM = Oracle.pm \
	Oraperl.pm \
	oraperl.ph

PM_TO_BLIB = Oraperl.pm \
	$(INST_LIB)/Oraperl.pm \
	Oracle.pm \
	$(INST_LIBDIR)/Oracle.pm \
	oraperl.ph \
	$(INST_LIB)/oraperl.ph


# --- MakeMaker tool_autosplit section:

# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
AUTOSPLITFILE = $(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -e 'use AutoSplit;autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1) ;'


# --- MakeMaker tool_xsubpp section:

XSUBPPDIR = /usr/local/lib/perl5/ExtUtils
XSUBPP = $(XSUBPPDIR)/xsubpp
XSPROTOARG = 
XSUBPPDEPS = $(XSUBPPDIR)/typemap
XSUBPPARGS = -typemap $(XSUBPPDIR)/typemap


# --- MakeMaker tools_other section:

SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = cc
MV = mv
NOOP = sh -c true
RM_F = rm -f
RM_RF = rm -rf
TOUCH = touch
UMASK_NULL = umask 0

# The following is a portable way to say mkdir -p
# To see which directories are created, change the if 0 to if 1
MKPATH = $(PERL) -wle '$$"="/"; foreach $$p (@ARGV){' \
-e 'next if -d $$p; my(@p); foreach(split(/\//,$$p)){' \
-e 'push(@p,$$_); next if -d "@p/"; print "mkdir @p" if 0;' \
-e 'mkdir("@p",0777)||die $$! } } exit 0;'

# This helps us to minimize the effect of the .exists files A yet
# better solution would be to have a stable file in the perl
# distribution with a timestamp of zero. But this solution doesn't
# need any changes to the core distribution and works with older perls
EQUALIZE_TIMESTAMP = $(PERL) -we 'open F, ">$$ARGV[1]"; close F;' \
-e 'utime ((stat("$$ARGV[0]"))[8,9], $$ARGV[1])'

# Here we warn users that an old packlist file was found somewhere,
# and that they should call some uninstall routine
WARN_IF_OLD_PACKLIST = $(PERL) -we 'exit unless -f $$ARGV[0];' \
-e 'print "WARNING: I have found an old package in\n";' \
-e 'print "\t$$ARGV[0].\n";' \
-e 'print "Please make sure the two installations are not conflicting\n";'

UNINST=0
VERBINST=1

MOD_INSTALL = $(PERL) -I$(INST_LIB) -I$(PERL_LIB) -MExtUtils::Install \
-e 'install({@ARGV},"$(VERBINST)",0,"$(UNINST)");'

DOC_INSTALL = $(PERL) -e '$$\="\n\n";print "=head3 ", scalar(localtime), ": C<", shift, ">";' \
-e 'print "=over 4";' \
-e 'while (defined($$key = shift) and defined($$val = shift)){print "=item *";print "C<$$key: $$val>";}' \
-e 'print "=back";'

UNINSTALL =   $(PERL) -MExtUtils::Install \
-e 'uninstall($$ARGV[0],1);'



# --- MakeMaker dist section:

DISTVNAME = $(DISTNAME)-$(VERSION)
TAR  = tar
TARFLAGS = cvf
ZIP  = zip
ZIPFLAGS = -r
COMPRESS = compress
SUFFIX = .Z
SHAR = shar
PREOP = $(MAKE) -f Makefile.old distdir
POSTOP = @$(NOOP)
TO_UNIX = @$(NOOP)
CI = ci -u
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
DIST_CP = best
DIST_DEFAULT = clean distcheck disttest ci tardist


# --- MakeMaker macro section:


# --- MakeMaker depend section:


# --- MakeMaker cflags section:

CCFLAGS = -I/usr/local/include
OPTIMIZE = -O
PERLTYPE = 
LARGE = 
SPLIT = 


# --- MakeMaker const_loadlibs section:

# DBD::Oracle might depend on some other libraries:
# See ExtUtils::Liblist for details
#
EXTRALIBS = -L/big/app/oracle/product/7.3.2/lib -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm -L$(LIBHOME) -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric $(LIBPLSHACK) -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) `cat /big/app/oracle/product/7.3.2/rdbms/lib/sysliblist` $(SECLIBS) $(M6LIBS) -lm -lthread
LDLOADLIBS = -L/big/app/oracle/product/7.3.2/lib -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm
BSLOADLIBS = 
LD_RUN_PATH = /big/app/oracle/product/7.3.2/lib:/lib


# --- MakeMaker const_cccmd section:
CCCMD = $(CC) -c $(INC) $(CCFLAGS) $(OPTIMIZE) \
	$(PERLTYPE) $(LARGE) $(SPLIT) $(DEFINE_VERSION) \
	$(XS_DEFINE_VERSION)

# --- MakeMaker post_constants section:

###################################################################
#
ORACLE_HOME = /big/app/oracle/product/7.3.2

# The following text has been extracted from /big/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk /big/app/oracle/product/7.3.2/precomp/env_precomp.mk

# Entering loc_precomp.mk

# Entering /local/SRCHOME/knl/buildtools/prefix.mk

# Entering /local/SRCHOME/knl/buildtools/rules.mk
 
# Exiting /local/SRCHOME/knl/buildtools/rules.mk
# Entering /local/SRCHOME/knl/buildtools/defs.mk


ARCREATE=$(AR) cr$(ARLOCAL)

ARDELETE= $(AR) d$(ARLOCAL)

AREXTRACT = $(AR) x 

ARREPLACE = $(AR) r 

COPY=cp


LIBHOME=$(ORACLE_HOME)/lib

BINHOME=$(ORACLE_HOME)/bin

LDCCOM= $(CC) $(GFLAG) $(CCFLAGS) $(LDFLAGS)

MOVE=mv

REMOVE=rm -f 


TOUCH=touch

CD = cd

LN = ln

CAT = cat


CHMOD = chmod

RM = rm

CP = cp

MV = mv

I_SYM=-I

SILENT=@


PFLAGS= $(INCLUDE) $(SPFLAGS) $(LPFLAGS)

TTLIBS=$(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
	$(LLIBEPC) $(CORELIBS) $(LDLIBS)
DEVTTLIBS=$(TTLIBS)

TTLIBD=$(NETLIBD) $(LIBORA) $(LIBSQLNET) $(LIBORA) \
	$(CORELIBD) $(LIBEPC)

CLIBS=$(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) $(OTHERLIBS) $(SECLIBS) $(M6LIBS)

LDLIBS=$(SPLIBS) $(CLIBS) $(MATHLIB)

SPLIBS=

MATHLIB=-lm

LOCALLIBS=

# Exiting /local/SRCHOME/knl/buildtools/defs.mk
# Entering /local/SRCHOME/knl/buildtools/platform.mk

PLATFORM = solaris

LLTHREAD=-lthread

SMPWCF=smpwcf.s
OPENWINHOME=/usr/openwin

BUILD_VIEW=sdview
SDVIEW_SETUP=sdview_setup
VIEWDIR=view

SYSDNILIB= /opt/SUNWconn/dni/lib/libdni.a
SYSLU62LIB= /opt/SUNWconn/lib/libappc_api.a
LKLIBS=-lstublm
LIBSTUBLKMGR= $(LIBHOME)/libstublm.a
GUILIBHOME=/usr/openwin/lib
MOTIFHOME=/usr/dt
XLIBS=-L$(GUILIBHOME) -R$(GUILIBHOME) $(GUILIBHOME)/libXaw.so.4 -lXt -lXmu -lXext -lX11 -lm
MOTIFLIBS=-L$(MOTIFHOME)/lib -lXm -lgen -L$(GUILIBHOME) -R$(GUILIBHOME) -lXt -lX11 -lw -lm
MOTIFINCLUDE=$(I_SYM)$(MOTIFHOME)/include $(I_SYM)$(MOTIFHOME)/include/Xm \
	     $(I_SYM)$(OPENWINHOME)/include $(I_SYM)$(OPENWINHOME)/include/X11
SYSTEMLIBS = $(LKLIBS) -lsocket -lnsl -lm -ldl $(LLAIO) -lposix4 $(SYSDNILIB) $(SYSLU62LIB)
PLLIBS = -lc

PL_FLAGS =

OTHERLIBS = `cat $(ORACLE_HOME)/rdbms/lib/sysliblist` $(LLAIO)

ROFLAGS=-c -xMerge

CFLAGS2= $(GFLAG) $(OPTIMIZE2) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG)

CPP=/usr/ccs/lib/cpp

OPTIMIZE2=-xO2
OPTIMIZE4=-xO4

SPFLAGS=

ARLOCAL=


COMPO2=$(subst -xO4,-xO2,$(COMPO))
MAKE_LIB_OBJ_O2=$(COMPO2) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXA=$(subst -Xc,-Xa,$(COMPO))
MAKE_LIB_OBJ_XA=$(COMPXA) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXA2=$(subst -xO4,-xO2,$(COMPXA))
MAKE_LIB_OBJ_XA2=$(COMPXA2) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXANO=$(subst -xO4,,$(COMPXA))
MAKE_LIB_OBJ_XANO=$(COMPXANO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPNO=$(subst -xO4,,$(COMPO))
MAKE_LIB_OBJ_NO=$(COMPNO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXANO=$(subst -xO4,,$(COMPXA))
MAKE_LIB_OBJ_XANO=$(COMPXANO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPRO2=$(subst -xO4,-xO2,$(COMPRO))
MAKE_LIB_OBJ_RO2=$(COMPRO2) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPRONO=$(subst -xO4,-xO2,$(COMPRO))
MAKE_LIB_OBJ_RONO=$(COMPRONO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPDNO=$(CC) -c -g -Usun -Xc -mr -K PIC $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS) -DDEBUG $<
MAKE_LIB_OBJ_DNO=$(COMPDNO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

COMPXADNO=$(CC) -c -g -Usun -Xa -mr -K PIC $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS) -DDEBUG $<
MAKE_LIB_OBJ_XA_DNO=$(COMPXADNO) ; $(ARCHIVE_OBJ) ; $(REM_OBJ)

ASROFLAGS=$(ASFLAGS)
ASRO= $(AS) $(ASROFLAGS) $(MAKERO) $<

ASPFLAGS = -P $(PFLAGS)


COMPRO= $(CC) $(ROFLAGS) $(CFLAGS) $(MAKERO) $<

COMPRONO= $(CC) $(ROFLAGS) $(CDEBUG) $(CCFLAGS) $(PFLAGS) $(MAKERONO)


LDPFLAGS= -o $@ -p $(PRODUCT_LIBHOME) -L$(LIBHOME) -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib
LDGPFLAGS= -o $@ -pg $(PRODUCT_LIBHOME) -L$(LIBHOME) -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib

LCOMPO= $(CC) -c $(CFLAGS) $? ; mv `basename $@` $@

LCOMPD= $(CC) -c $(CFLAGS) -DDEBUG $? ; mv `basename $@` $@

LCOMPS= $(CC) -S $(CFLAGS) $? ; mv `basename $@` $@

LCOMPNO= $(CC) -c $(PFLAGS) $(CCFLAGS) $? ; mv `basename $@` $@

SO=a

SPFLAGS=

EXOSLIBS=
LIBBSD=
SECLIBS=
M6LIBS=

PERL = perl

MKCUST_TARGET = mkcustinclude

USE_GENROFIX=yes

BUGDB_PORT=453

LINK=ld -dy $(COMPOBJS)

CUS_PLFRM=$(ORACLE_HOME)/buildtools/cus_plfrm.mk
# Exiting /local/SRCHOME/knl/buildtools/platform.mk
# Exiting /local/SRCHOME/knl/buildtools/prefix.mk
# Entering /local/SRCHOME/knl/oracore3/oracore3.mk

COREHOME= $(ORACLE_HOME)/oracore3

LIBCORE= $(LIBHOME)/libcore3.$(SO)
LIBCV6= $(LIBHOME)/libc3v6.$(SO)
LLIBCORE= -lcore3
LLIBCV6= -lc3v6

COREPUBLIC=$(I_SYM)$(COREHOME)/public $(I_SYM)$(COREHOME)/public/unix \
		$(I_SYM)$(COREHOME)/public/$(PLATFORM)
COREINCLUDE=$(I_SYM)$(COREHOME)/include $(COREPUBLIC)

CORELIBD=$(LIBNLSRTL) $(LIBCV6) $(LIBCORE) $(LIBNLSRTL) $(LIBCORE) $(LIBNLSRTL)
CORELIBS=$(LLIBNLSRTL) $(LLIBCV6) $(LLIBCORE) $(LLIBNLSRTL) $(LLIBCORE) $(LLIBNLSRTL)

# Exiting /local/SRCHOME/knl/oracore3/oracore3.mk
# Entering /local/SRCHOME/knl/nlsrtl3/nlsrtl3.mk

NLSRTLHOME= $(ORACLE_HOME)/nlsrtl3

ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data

NLSRTLLIB= -lnlsrtl3
LIBNLSRTL= $(LIBHOME)/libnlsrtl3.$(SO)
SHAREDLIBNLSRTL = $(LIBHOME)/libnlsrtl3.so.3.2
ARCSHAREDLIBNLSRTL = $(LIBHOME)/libnlsrtl3.sa.3.2
LLIBNLSRTL=-lnlsrtl3
NLSRTLPUBLIC = $(I_SYM)$(NLSRTLHOME)/public
NLSRTLINCLUDE = $(I_SYM)$(NLSRTLHOME)/include $(NLSRTLPUBLIC)

# Exiting /local/SRCHOME/knl/nlsrtl3/nlsrtl3.mk
# Entering /local/SRCHOME/knl/rdbms/rdbms.mk

RDBMSHOME=$(ORACLE_HOME)/rdbms
RDBMS_ROOT=$(RDBMSHOME)
RDBMSPUBLIC=$(I_SYM)$(RDBMSHOME)/public $(I_SYM)$(RDBMSHOME)/include

SYSLIBLIST = $(RDBMS_ROOT)/lib/sysliblist

LIBCLIENT=$(ORACLE_HOME)/lib/libclient.a
LLIBCLIENT=-lclient

LIBSERVER=$(ORACLE_HOME)/lib/libserver.a
LLIBSERVER=-lserver

LIBGENERIC=$(ORACLE_HOME)/lib/libgeneric.a
LLIBGENERIC=-lgeneric

LIBCOMMON=$(ORACLE_HOME)/lib/libcommon.a
LLIBCOMMON=-lcommon

LIBXA=$(ORACLE_HOME)/lib/libxa.a
LLIBXA=-lxa

LIBIMP=$(RDBMSHOME)/lib/libimp.a
LLIBIMP=-limp

LIBEXP=$(RDBMSHOME)/lib/libexp.a
LLIBEXP=-lexp

LIBORA=$(LIBCLIENT) $(LIBCOMMON) $(LIBGENERIC)
LLIBORA=$(LLIBCLIENT) $(LLIBCOMMON) $(LLIBGENERIC)

# Exiting /local/SRCHOME/knl/rdbms/rdbms.mk
# Entering /local/SRCHOME/knl/plsql/plsql.mk

PLSHOME=$(ORACLE_HOME)/plsql
PLSQL_ROOT=$(PLSHOME)

LLIBAPPS = -lapps
LLIBCOG = -lcog
LLIBCOX = -lcox
LLIBIDL = -lidl
LLIBKNLDE = -lknlde
LLIBPKG = -lpkg
LLIBPLS = -lpls
LLIBSEM = -lsem
LLIBSYN = -lsyn

LIBAPPS = $(LIBHOME)/libapps.a
LIBCOG = $(LIBHOME)/libcog.a
LIBCOX = $(LIBHOME)/libcox.a
LIBIDL = $(LIBHOME)/libidl.a
LIBKNLDE = $(LIBHOME)/libknlde.a
LIBPKG = $(LIBHOME)/libpkg.a
LIBPLS = $(LIBHOME)/libpls.a
LIBSEM = $(LIBHOME)/libsem.a
LIBSYN = $(LIBHOME)/libsyn.a

PLSQLLIBS=$(LIBAPPS) $(LIBCOG) $(LIBCOX) $(LIBIDL) $(LIBKNLDE) \
        $(LIBPKG) $(LIBPLS) $(LIBSEM) $(LIBSYN)

LLIBPLSQL=$(LLIBAPPS) $(LLIBCOG) $(LLIBCOX) $(LLIBIDL) $(LLIBKNLDE) \
        $(LLIBPKG) $(LLIBPLS) $(LLIBSEM) $(LLIBSYN)

# Exiting /local/SRCHOME/knl/plsql/plsql.mk
# Entering /local/SRCHOME/knl/network/network.mk

# Entering /local/SRCHOME/knl/network/platform.mk

NETLIBHOME=$(NETHOME)/lib
SITESRC=/net/bog/sitesrc

OSN_USE_FTT=-DOSN_USE_FTT

NTCONTAB=ntcontab.s
NNFGT=nnfgt.s
GENNT=assemble
ASFLAGS_SHIP=-P -o

TNCR_SRC=tncr.c
TNCRTARG=tncr.i
TNCR_OUT=tncr.i
TNCR_TEST=tncr.tsc
TNCRFLT_SRC=tncrflt.c
TNCRFLTTARG=tncrflt.i
TNCRFLT_OUT=tncrflt.i
TNCRFLT_TEST=tncrflt.tsc

LIBNTTCP= $(NETLIBHOME)/libnttcp.a
TCP=ntt
TCPINS=tcppa
NTTCPFLAG=-DNTUSETCP

LIBNTIS= $(NETLIBHOME)/libntis.a
LIBNTTLI = $(NETLIBHOME)/libnttli.a
ISPX=yes
SPXINS=spxpa
TLISPXDMN=ntisbsdm
TLISPXCTL=ntspxctl
GTLI=nttli
NTSPXFLAG=-DNTUSEISPX
NWINCLUDE=$(I_SYM)/opt/SUNWipx/include/netipx

LIBNTID= $(NETLIBHOME)/libntid.a
LIBNTTLI = $(NETLIBHOME)/libnttli.a
IDNT=yes
GTLI=nttli
DNTINS=dntpa
NTDNTFLAG=-DNTUSEIDNT
DNTINCLUDE=$(I_SYM)/opt/SUNWconn/dni/include

LIBNTLU62=$(NETLIBHOME)/libntlu62.a
LU62=ntl
LU62INS=lu62pa
NTLLSNR=ntllsnr
NTLLSNR_CFILES=ntllsnr.c
NTNTLFLAG=-DNTUSENTL
LU62INCLUDE=$(I_SYM)/opt/SUNWappc

SNMPLIB=libpeer.a
LIBNMSP=$(ORACLE_HOME)/network/lib/libnmsp.a
SNMPAGENTLIB=$(ORACLE_HOME)/network/lib/$(SNMPLIB)
PEER=yes
PEER_CONF=setup.peer.conf
TSNMPLSNR= tnsgsnmp
TSNMPNAMES= snmptns
TSNMPINT = nrstest
SNMPAGENTTESTEXECS = nmdtest nmdtrap
SNMPAUX=nmd
SNMPFLAG=-DORACLE_SNMP_PEER
SNMPINCLUDE=$(I_SYM)$(SITESRC)/peer/include $(I_SYM)$(SITESRC)/peer/src/include

LIBTCL=$(NETLIBHOME)/libtcl.a
DBSNMP= dbsnmp
TCLSHDEBUG= oratclsh
OEMEVENT=oemevent
AGENTTESTEXECS= nmitest nmitestd nmiqtest nmitclsh nmieutest
AGENT=nmi
AGENTINS=snmp
TCLFLAGS= -DVERSION7 -DHAVE_UNISTD_H=1 -DNO_FLOAT_H=1 -DNO_STDLIB_H=1 -DNO_STRING_H=1 -DNEED_MATHERR=1
TCLINCLUDE=$(I_SYM)$(SITESRC)/oratcl/include

NAMESRC=nnfo.c
NAMES=names
NAMESCTL=namesctl
TNNFGNAMES=tnnfgn
NAMESRV=nno
NCTL=nncc
NAMESINS=names
NAMESFLAG=-DNNFG_USEONAMES

LIBNIS=$(NETLIBHOME)/libntnis.a
NIS=yes
NISEXEC=tns2nis
TNNFGNIS=tnnfgy
NISINS=nisna
NISFLAG=-DNNFG_USENIS

NAV= navgatr
INTLSNR= intlsnr
PUMP= intpump
INTCTL= intctl
INTTEST= gtest
NAVTEST= nrtest
INTCHG=nr
INTCHGINS=intchg

# Exiting /local/SRCHOME/knl/network/platform.mk

NETHOME=$(ORACLE_HOME)/network
NETINCLUDE= $(I_SYM)$(NETHOME)/public $(I_SYM)$(NETHOME)/include

OSNTAB = $(ORACLE_HOME)/lib/osntab.o
OSNTABST = $(ORACLE_HOME)/lib/osntabst.o
NTCONTAB= $(LIBHOME)/ntcontab.o

LIBSQLNET=$(LIBHOME)/libsqlnet.a
LIBRPC=$(LIBHOME)/libncr.a
LIBTNSAPI=$(LIBHOME)/libtnsapi.a
LLIBSQLNET=-lsqlnet
LLIBRPC=-lncr
LLIBTNSAPI=-ltnsapi
LIBMIGV1=$(ORACLE_HOME)/network/lib/libmigv1.a
NETLIBD= $(LIBSQLNET) $(LIBRPC)
NETLIBS= $(LLIBSQLNET) $(LLIBRPC) $(LLIBSQLNET)

# Exiting /local/SRCHOME/knl/network/network.mk
# Entering /local/SRCHOME/knl/otrace/otrace.mk

TRACEHOME= $(ORACLE_HOME)/otrace

LIBEPC= $(LIBHOME)/libepc.$(SO)
LLIBEPC= -lepc
LIBEPCFE= $(LIBHOME)/libepcfe.$(SO)
LLIBEPCFE= -lepcfe
LIBEPCPT=$(LIBHOME)libepcpt.$(SO)
LLIBEPCPT= -lepcpt

TRACEPUBLIC=$(I_SYM)$(TRACEHOME)/public
TRACEINCLUDE=$(I_SYM)$(TRACEHOME)/include $(TRACEPUBLIC)

# Exiting /local/SRCHOME/knl/otrace/otrace.mk
# Entering /local/SRCHOME/knl/slax/slax.mk
SLAXHOME=$(ORACLE_HOME)/slax
SLAXINCLUDE=$(I_SYM)$(SLAXHOME)/include

LLIBSLAX=-lslax

LIBSLAXD=$(LIBHOME)/libslax.a
# Exiting /local/SRCHOME/knl/slax/slax.mk
# Entering /local/SRCHOME/knl/precomp/precomp.mk

PRECOMPHOME=$(ORACLE_HOME)/precomp
PRECOMPPUBLIC=$(I_SYM)$(PRECOMPHOME)/public

LLIBSQL=-lsql

LIBSQLD=$(LIBHOME)/libsql.a

PROADA = proada
PROCOB = procob
PROC16 = proc16
PROFOR = profor
PROPAS = propas
PROPLI = propli
PROC = proc
MODC = modc
MODADA = modada
RTSORA = rtsora

# Exiting /local/SRCHOME/knl/precomp/precomp.mk

PRODUCT=precomp
TOP = $(ORACLE_HOME)/precomp
TOOLS = $(ORACLE_HOME)/buildtools

.PHONY : archive restore compile library execs rmobjs rmlibs rmexecs

PRODHOME=$(ORACLE_HOME)/precomp
PRECOMPHOME=$(PRODHOME)
PRECOMPLIB=$(PRECOMPHOME)/lib
PRECOMPBIN=$(PRECOMPHOME)/bin
ADARTL=$(PRECOMPHOME)/pubsrc/adalib

PRODUCT_LIBHOME= -L$(PRECOMPLIB)

LIBPAD = $(TOP)/lib/libpad.a
LIBPC  = $(TOP)/lib/libpc.a
LIBPCC = $(TOP)/lib/libpcc.a
LIBPCO = $(TOP)/lib/libpco.a
LIBPFO = $(TOP)/lib/libpfo.a
LIBPGP = $(TOP)/lib/libpgp.a
LIBPPL = $(TOP)/lib/libppl.a
LIBPPA = $(TOP)/lib/libppa.a
LIBPCD = $(TOP)/lib/libpcd.a
LIBPROC2 = $(TOP)/lib/libproc2.a
LIBMOD = $(TOP)/lib/libmod.a
LIBSLAX= $(TOP)/lib/libslax.a
LIBSQL = $(TOP)/lib/libsql.a

LLIBPAD=-lpad
LLIBPC=-lpc
LLIBPCC=-lpcc
LLIBPCO=-lpco
LLIBPFO=-lpfo
LLIBPGP=-lpgp
LLIBPPL=-lppl
LLIBPPA=-lppa
LLIBPCD=-lpcd
LLIBPROC2=-lproc2
LLIBMOD=-lmod

PROLDLIBS=$(PROLLSsharedthread)
PROLLS=$(LLIBSQL) $(DEVTTLIBS)
PROLLSshared=$(LCLSH) $(PROLLS)
PROLLSthread=$(PROLLS) $(LLTHREAD)
PROLLSsharedthread=$(LCLSH) $(PROLLS) $(LLTHREAD)

ADAMAIN = $(TOP)/lib/pc5drv.o
COBMAIN = $(TOP)/lib/pc0drv.o
CMAIN = $(TOP)/lib/pc2drv.o
FORMAIN = $(TOP)/lib/pc1drv.o
PASMAIN = $(TOP)/lib/pc4drv.o
PLIMAIN = $(TOP)/lib/pc3drv.o
MAINOBJS = lib/main.o lib/pcdsfv.o lib/pcdlut.o
MODOBJS = lib/pmtsfv.o lib/pmtlut.o
MODCMAIN = $(TOP)/lib/pmscpr.o
MODADAMAIN = $(TOP)/lib/pmsapr.o

ADAPDC = lib/pda.o lib/pds.o
CPDC =   lib/pdc.o lib/pds.o
COBPDC = lib/pdb.o lib/pds.o
FORPDC = lib/pdf.o lib/pds.o
PASPDC = lib/pdp.o lib/pds.o
PLIPDC = lib/pd1.o lib/pds.o

COBSQLINTF = $(TOP)/lib/cobsqlintf.o

# Exiting loc_precomp.mk
# Entering osd_precomp.mk

LCLSH=-lclntsh

COB = cob
COBFLAGS=-C IBMCOMP -x
COBGNTFLAGS=-C IBMCOMP -u
GNT=.gnt
RTSPORTFLAGS=
FC=f77
FCFLAGS=
PC=pc
PCFLAGS= -Bstatic -g -L
ADAPORT=verdix
ADACC=ada -e
ADALD=a.ld
ADACLEAN= a.rmlib -f
PL1=lpipl1
PL1LD=ldpl1
PL1FLAGS= -lowercase
# Exiting osd_precomp.mk
# Entering /local/SRCHOME/knl/buildtools/cus_plfrm.mk

COMPOBJ=$(ORACLE_HOME)/lib
COMPOBJS=  $(COMPOBJ)/__fstd.o
 
LDSTRING= -R /opt/SUNWcluster/lib \
	-Y P,$(LD_LIBRARY_PATH):/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib \
	-Qy -lc $(COMPOBJ)/crtn.o
OTHERLIBS= `cat $(ORACLE_HOME)/rdbms/lib/sysliblist` $(LLAIO) $(LDSTRING)
DEVTTLIBS=$(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
	$(LLIBEPC) $(CORELIBS) $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) `cat $(ORACLE_HOME)/rdbms/lib/sysliblist`  $(SECLIBS) $(M6LIBS) $(MATHLIB)
# Exiting /local/SRCHOME/knl/buildtools/cus_plfrm.mk


LDSTRING=
PRODUCT_LIBHOME=
MAKEFILE=proc.mk
PROCPLSFLAGS= sqlcheck=full userid=$(USERID) dbms=v6_char
PROCPPFLAGS= code=cpp include=/usr/include include=/opt/SUNWspro/SC3.0.1/include/CC
USERID=scott/tiger
INCLUDE=$(I_SYM). $(PRECOMPPUBLIC)

SAMPLES=sample1 sample2 sample3 sample4 sample6 sample7 sample8 \
	sample9 sample10 sample11 sample12 oraca sqlvcp cv_demo 
CPPSAMPLES=cppdemo1 cppdemo2 cppdemo3

# Rule to compile any program (specify EXE= and OBJS= on command line)


# End of extract from /big/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk /big/app/oracle/product/7.3.2/precomp/env_precomp.mk
#
###################################################################


# --- MakeMaker pasthru section:

PASTHRU = LIBPERL_A="$(LIBPERL_A)"\
	LINKTYPE="$(LINKTYPE)"\
	PREFIX="$(PREFIX)"\
	OPTIMIZE="$(OPTIMIZE)"


# --- MakeMaker c_o section:

.c$(OBJ_EXT):
	$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c

.C$(OBJ_EXT):
	$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.C

.cpp$(OBJ_EXT):
	$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cpp

.cxx$(OBJ_EXT):
	$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cxx

.cc$(OBJ_EXT):
	$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cc


# --- MakeMaker xs_c section:

.xs.c:
	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs >$*.tc && mv $*.tc $@


# --- MakeMaker xs_o section:

.xs$(OBJ_EXT):
	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs >xstmp.c && mv xstmp.c $*.c
	$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c


# --- MakeMaker top_targets section:

#all ::	config $(INST_PM) subdirs linkext manifypods

all :: pure_all manifypods
	@$(NOOP)

pure_all :: config pm_to_blib subdirs linkext
	@$(NOOP)

subdirs :: $(MYEXTLIB)
	@$(NOOP)

config :: Makefile $(INST_LIBDIR)/.exists
	@$(NOOP)

config :: $(INST_ARCHAUTODIR)/.exists
	@$(NOOP)

config :: $(INST_AUTODIR)/.exists
	@$(NOOP)

config :: Version_check
	@$(NOOP)


$(INST_AUTODIR)/.exists :: /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_AUTODIR)
	@$(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h $(INST_AUTODIR)/.exists

	-@$(CHMOD) 755 $(INST_AUTODIR)

$(INST_LIBDIR)/.exists :: /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_LIBDIR)
	@$(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h $(INST_LIBDIR)/.exists

	-@$(CHMOD) 755 $(INST_LIBDIR)

$(INST_ARCHAUTODIR)/.exists :: /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_ARCHAUTODIR)
	@$(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h $(INST_ARCHAUTODIR)/.exists

	-@$(CHMOD) 755 $(INST_ARCHAUTODIR)

config :: $(INST_MAN3DIR)/.exists
	@$(NOOP)


$(INST_MAN3DIR)/.exists :: /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_MAN3DIR)
	@$(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h $(INST_MAN3DIR)/.exists

	-@$(CHMOD) 755 $(INST_MAN3DIR)

$(O_FILES): $(H_FILES)

help:
	perldoc ExtUtils::MakeMaker

Version_check:
	@$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
		-MExtUtils::MakeMaker=Version_check \
		-e 'Version_check("$(MM_VERSION)")'


# --- MakeMaker linkext section:

linkext :: $(LINKTYPE)
	@$(NOOP)


# --- MakeMaker dlsyms section:


# --- MakeMaker dynamic section:

## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make dynamic"
#dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT) $(INST_PM)
dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT)
	@$(NOOP)


# --- MakeMaker dynamic_bs section:

BOOTSTRAP = Oracle.bs

# As Mkbootstrap might not write a file (if none is required)
# we use touch to prevent make continually trying to remake it.
# The DynaLoader only reads a non-empty file.
$(BOOTSTRAP): Makefile  $(INST_ARCHAUTODIR)/.exists
	@echo "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
	@$(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" \
		-e 'use ExtUtils::Mkbootstrap;' \
		-e 'Mkbootstrap("$(BASEEXT)","$(BSLOADLIBS)");'
	@$(TOUCH) $(BOOTSTRAP)
	$(CHMOD) 644 $@

$(INST_BOOT): $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists
	@rm -rf $(INST_BOOT)
	-cp $(BOOTSTRAP) $(INST_BOOT)
	$(CHMOD) 644 $@


# --- MakeMaker dynamic_lib section:

# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).
ARMAYBE = :
OTHERLDFLAGS =   $(COMPOBJS)
INST_DYNAMIC_DEP = 

$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP)
	LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) -o $@ $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(EXPORT_LIST)
	$(CHMOD) 755 $@


# --- MakeMaker static section:

## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make static"
#static :: Makefile $(INST_STATIC) $(INST_PM)
static :: Makefile $(INST_STATIC)
	@$(NOOP)


# --- MakeMaker static_lib section:

$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)/.exists
	$(RM_RF) $@
	$(AR) $(AR_STATIC_ARGS) $@ $(OBJECT) && $(RANLIB) $@
	@echo "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld
	$(CHMOD) 755 $@


# --- MakeMaker manifypods section:
POD2MAN_EXE = /usr/local/bin/pod2man
POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
-e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
-e 'print "Manifying $$m{$$_}\n";' \
-e 'system(qq[$$^X ].q["-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
-e 'chmod 0644, $$m{$$_} or warn "chmod 644 $$m{$$_}: $$!\n";}'

manifypods : Oraperl.pm
	@$(POD2MAN) \
	Oraperl.pm \
	$(INST_MAN3DIR)/DBD::Oraperl.$(MAN3EXT)

# --- MakeMaker processPL section:


# --- MakeMaker installbin section:


# --- MakeMaker subdirs section:

# none

# --- MakeMaker clean section:

# Delete temporary files but do not touch installed files. We don't delete
# the Makefile here so a later make realclean still has a makefile to use.

clean ::
	-rm -rf Oracle.c ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all perlmain.c mon.out core so_locations pm_to_blib *~ */*~ */*/*~ *$(OBJ_EXT) *$(LIB_EXT) perl.exe $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def $(BASEEXT).exp
	-mv Makefile Makefile.old 2>/dev/null


# --- MakeMaker realclean section:

# Delete temporary files (via clean) and also delete installed files
realclean purge ::  clean
	rm -rf $(INST_AUTODIR) $(INST_ARCHAUTODIR)
	rm -f $(INST_DYNAMIC) $(INST_BOOT)
	rm -f $(INST_STATIC)
	rm -f $(INST_LIB)/Oraperl.pm $(INST_LIBDIR)/Oracle.pm $(INST_LIB)/oraperl.ph
	rm -rf Makefile Makefile.old


# --- MakeMaker dist_basics section:

distclean :: realclean distcheck

distcheck :
	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use ExtUtils::Manifest "&fullcheck";' \
		-e 'fullcheck();'

skipcheck :
	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use ExtUtils::Manifest "&skipcheck";' \
		-e 'skipcheck();'

manifest :
	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use ExtUtils::Manifest "&mkmanifest";' \
		-e 'mkmanifest();'


# --- MakeMaker dist_core section:

dist : $(DIST_DEFAULT)
	@$(PERL) -le 'print "Warning: Makefile possibly out of date with $$vf" if ' \
	    -e '-e ($$vf="$(VERSION_FROM)") and -M $$vf < -M "Makefile";'

tardist : $(DISTVNAME).tar$(SUFFIX)

zipdist : $(DISTVNAME).zip

$(DISTVNAME).tar$(SUFFIX) : distdir
	$(PREOP)
	$(TO_UNIX)
	$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
	$(RM_RF) $(DISTVNAME)
	$(COMPRESS) $(DISTVNAME).tar
	$(POSTOP)

$(DISTVNAME).zip : distdir
	$(PREOP)
	$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
	$(RM_RF) $(DISTVNAME)
	$(POSTOP)

uutardist : $(DISTVNAME).tar$(SUFFIX)
	uuencode $(DISTVNAME).tar$(SUFFIX) \
		$(DISTVNAME).tar$(SUFFIX) > \
		$(DISTVNAME).tar$(SUFFIX)_uu

shdist : distdir
	$(PREOP)
	$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
	$(RM_RF) $(DISTVNAME)
	$(POSTOP)


# --- MakeMaker dist_dir section:

distdir :
	$(RM_RF) $(DISTVNAME)
	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=manicopy,maniread \
		-e 'manicopy(maniread(),"$(DISTVNAME)", "$(DIST_CP)");'


# --- MakeMaker dist_test section:

disttest : distdir
	cd $(DISTVNAME) && $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) Makefile.PL
	cd $(DISTVNAME) && $(MAKE)
	cd $(DISTVNAME) && $(MAKE) test


# --- MakeMaker dist_ci section:

ci :
	$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use ExtUtils::Manifest "&maniread";' \
		-e '@all = keys %{ maniread() };' \
		-e 'print("Executing $(CI) @all\n"); system("$(CI) @all");' \
		-e 'print("Executing $(RCS_LABEL) ...\n"); system("$(RCS_LABEL) @all");'


# --- MakeMaker install section:

install :: all pure_install doc_install

install_perl :: all pure_perl_install doc_perl_install

install_site :: all pure_site_install doc_site_install

install_ :: install_site
	@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

pure_install :: pure_$(INSTALLDIRS)_install

doc_install :: doc_$(INSTALLDIRS)_install
	@echo Appending installation info to $(INSTALLARCHLIB)/perllocal.pod

pure__install : pure_site_install
	@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

doc__install : doc_site_install
	@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

pure_perl_install ::
	@$(MOD_INSTALL) \
		read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
		write $(INSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
		$(INST_LIB) $(INSTALLPRIVLIB) \
		$(INST_ARCHLIB) $(INSTALLARCHLIB) \
		$(INST_BIN) $(INSTALLBIN) \
		$(INST_SCRIPT) $(INSTALLSCRIPT) \
		$(INST_MAN1DIR) $(INSTALLMAN1DIR) \
		$(INST_MAN3DIR) $(INSTALLMAN3DIR)
	@$(WARN_IF_OLD_PACKLIST) \
		$(SITEARCHEXP)/auto/$(FULLEXT)


pure_site_install ::
	@$(MOD_INSTALL) \
		read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
		write $(INSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
		$(INST_LIB) $(INSTALLSITELIB) \
		$(INST_ARCHLIB) $(INSTALLSITEARCH) \
		$(INST_BIN) $(INSTALLBIN) \
		$(INST_SCRIPT) $(INSTALLSCRIPT) \
		$(INST_MAN1DIR) $(INSTALLMAN1DIR) \
		$(INST_MAN3DIR) $(INSTALLMAN3DIR)
	@$(WARN_IF_OLD_PACKLIST) \
		$(PERL_ARCHLIB)/auto/$(FULLEXT)

doc_perl_install ::
	@$(DOC_INSTALL) \
		"$(NAME)" \
		"installed into" "$(INSTALLPRIVLIB)" \
		LINKTYPE "$(LINKTYPE)" \
		VERSION "$(VERSION)" \
		EXE_FILES "$(EXE_FILES)" \
		>> $(INSTALLARCHLIB)/perllocal.pod

doc_site_install ::
	@$(DOC_INSTALL) \
		"Module $(NAME)" \
		"installed into" "$(INSTALLSITELIB)" \
		LINKTYPE "$(LINKTYPE)" \
		VERSION "$(VERSION)" \
		EXE_FILES "$(EXE_FILES)" \
		>> $(INSTALLARCHLIB)/perllocal.pod


uninstall :: uninstall_from_$(INSTALLDIRS)dirs

uninstall_from_perldirs ::
	@$(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist

uninstall_from_sitedirs ::
	@$(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist


# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE:


# --- MakeMaker perldepend section:

PERL_HDRS = \
$(PERL_INC)/EXTERN.h       $(PERL_INC)/gv.h           $(PERL_INC)/pp.h       \
$(PERL_INC)/INTERN.h       $(PERL_INC)/handy.h        $(PERL_INC)/proto.h    \
$(PERL_INC)/XSUB.h         $(PERL_INC)/hv.h           $(PERL_INC)/regcomp.h  \
$(PERL_INC)/av.h           $(PERL_INC)/keywords.h     $(PERL_INC)/regexp.h   \
$(PERL_INC)/config.h       $(PERL_INC)/mg.h           $(PERL_INC)/scope.h    \
$(PERL_INC)/cop.h          $(PERL_INC)/op.h           $(PERL_INC)/sv.h	     \
$(PERL_INC)/cv.h           $(PERL_INC)/opcode.h       $(PERL_INC)/unixish.h  \
$(PERL_INC)/dosish.h       $(PERL_INC)/patchlevel.h   $(PERL_INC)/util.h     \
$(PERL_INC)/embed.h        $(PERL_INC)/perl.h				     \
$(PERL_INC)/form.h         $(PERL_INC)/perly.h

$(OBJECT) : $(PERL_HDRS)

Oracle.c : $(XSUBPPDEPS)


# --- MakeMaker makefile section:

$(OBJECT) : $(FIRST_MAKEFILE)

# We take a very conservative approach here, but it\'s worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
Makefile : Makefile.PL $(CONFIGDEP)
	@echo "Makefile out-of-date with respect to $?"
	@echo "Cleaning current config before rebuilding Makefile..."
	-@mv Makefile Makefile.old
	-$(MAKE) -f Makefile.old clean >/dev/null 2>&1 || true
	$(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" Makefile.PL 
	@echo ">>> Your Makefile has been rebuilt. <<<"
	@echo ">>> Please rerun the make command.  <<<"; false

# To change behavior to :: would be nice, but would break Tk b9.02
# so you find such a warning below the dist target.
#Makefile :: $(VERSION_FROM)
#	@echo "Warning: Makefile possibly out of date with $(VERSION_FROM)"


# --- MakeMaker staticmake section:

# --- MakeMaker makeaperl section ---
MAP_TARGET    = perl
FULLPERL      = /usr/bin/perl

$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
	$(MAKE) -f $(MAKE_APERL_FILE) $@

$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
	@echo Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
	@$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
		Makefile.PL DIR= \
		MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
		MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=


# --- MakeMaker test section:

TEST_VERBOSE=0
TEST_TYPE=test_$(LINKTYPE)
TEST_FILE = test.pl
TESTDB_SW = -d

testdb :: testdb_$(LINKTYPE)

test :: $(TEST_TYPE)

test_dynamic :: pure_all
	PERL_DL_NONLAZY=1 $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use Test::Harness qw(&runtests $$verbose); $$verbose=$(TEST_VERBOSE); runtests @ARGV;' t/*.t
	PERL_DL_NONLAZY=1 $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) test.pl

testdb_dynamic :: pure_all
	PERL_DL_NONLAZY=1 $(FULLPERL) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)

test_ : test_dynamic

test_static :: pure_all $(MAP_TARGET)
	PERL_DL_NONLAZY=1 ./$(MAP_TARGET) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use Test::Harness qw(&runtests $$verbose); $$verbose=$(TEST_VERBOSE); runtests @ARGV;' t/*.t
	PERL_DL_NONLAZY=1 ./$(MAP_TARGET) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) test.pl

testdb_static :: pure_all $(MAP_TARGET)
	PERL_DL_NONLAZY=1 ./$(MAP_TARGET) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)



# --- MakeMaker pm_to_blib section:

pm_to_blib: $(TO_INST_PM)
	@$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \
	"-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
        -e 'pm_to_blib({qw{$(PM_TO_BLIB)}},"$(INST_LIB)/auto")'
	@$(TOUCH) $@


# --- MakeMaker selfdocument section:


# --- MakeMaker postamble section:


# End.

--------------421B3F43370
Content-Type: text/plain; charset=us-ascii; name="perlloc.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="perlloc.txt"

=head3 Fri Jul 26 10:54:42 1996: C<Module DBD::Oracle>

=over 4

=item *

C<installed into: /usr/local/lib/perl5/site_perl>

=item *

C<LINKTYPE: dynamic>

=item *

C<VERSION: 0.36>

=item *

C<EXE_FILES: >

=back

=head3 Fri Jul 26 11:00:17 1996: C<Module DBD::Oracle>

=over 4

=item *

C<installed into: /usr/local/lib/perl5/site_perl>

=item *

C<LINKTYPE: dynamic>

=item *

C<VERSION: 0.36>

=item *

C<EXE_FILES: >

=back

=head3 Fri Jul 26 11:06:39 1996: C<Module DBD::Oracle>

=over 4

=item *

C<installed into: /usr/local/lib/perl5/site_perl>

=item *

C<LINKTYPE: dynamic>

=item *

C<VERSION: 0.36>

=item *

C<EXE_FILES: >

=back


--------------421B3F43370--

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05695-0@oink>;
          Fri, 26 Jul 1996 18:01:09 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838399417:28891:3; Fri, 26 Jul 96 17:43:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28604; 26 Jul 96 17:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA16334 for dbi-users-real; Fri, 26 Jul 1996 09:34:08 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pinyon.enet.net (pinyon.enet.net [168.158.8.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA16330 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 09:34:06 -0700
Received: (from mueller@localhost) by pinyon.enet.net (8.6.9/8.6.9) id JAA01096;
          Fri, 26 Jul 1996 09:35:02 -0700
Date: Fri, 26 Jul 1996 09:35:01 -0700 (MST)
From: Steve Mueller <mueller@enet.net>
Reply-To: Steve Mueller <mueller@enet.net>
Subject: DBD 0.36 build errors under AIX4.1
To: dbi-users@fugue.com
Message-ID: <Pine.3.89.9607260957.A1023-0100000@pinyon.enet.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII


	I am currently running AIX4.1 on a Motorola 604 box and have 
Oracle 7.3.2.1 on it, along with gcc2.7.2 and perl5.003.  I've got 
SQL*Net V2 and the tcp/ip adapter protocol up and running fine on the 
database and the listener is accepting remote connections from select 
outside sites properly.  However, when I went to build DBI 0.71 and
DBD 0.36 (the only two versions that I know of which support Oracle 7.3.x 
and its Pro*C libs), I was able to successfully build the DBI, but 
received a fatal error during the 'make test' of the DBD 0.36 build and 
the process does a core dump.  Everything appeared to be fine up to 
this point (including the entire DBI build and the first two stages of 
the DBD build).  Here's what it looks like:

# make test TEST_VERBOSE=1
        PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib 
-I/usrt
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
All tests successful.
Files=1,  Tests=5,  0 secs ( 0.42 cusr  0.05 csys =  0.47 cpu)
        PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib 
-I/usrl
Oraperl test application $Revision: 1.21 $

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.36
DBI-0.71 Switch by Tim Bunce, version 0.71


Connecting
 to '<my_dbname>' (from command line, else uses ORACLE_SID/TWO_TASK)
 as '<my_username>/<my_passwd>' (via ORACLE_USERID environment var or default)
Caught a SIGSEGV at blib/lib/DBD/Oracle.pm line 141
@ = DBD::Oracle::dr::connect('DBI::dr=HASH(0x200d0b7c)', '<my_dbname>', 
'<my_username>/<my_passwd>'
@ = Oraperl::ora_login('<my_dbname>', '<my_username>/<my_passwd>', '') 
called from file `test.pl' 7
make: 1254-059 The signal code from the last command is 6.


Stop.



	To me, the error looks like the result of the inability to connect to 
the database properly, as I sorted through the lines of code from the 
modules listed above.  My question is this -- has anyone else had similar 
problems to the ones listed above or is anyone familiar with building 
DBI/DBD under AIX4.x for Oracle7.3?  Any help will be greatly 
appreciated.  Thanks in advance.



						Steve

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05691-8@oink>;
          Fri, 26 Jul 1996 18:01:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838399596:11312:0; Fri, 26 Jul 96 17:46:36 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa10720; 26 Jul 96 17:45 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa06531; 26 Jul 96 17:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA16374 for dbi-users-real; Fri, 26 Jul 1996 09:42: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 JAA16370 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 09:42:08 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab09246; 26 Jul 96 17:42 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa02282; 26 Jul 96 16:59 +0100
Received: from toad by oink with SMTP (PP) id <05294-0@oink>;
          Fri, 26 Jul 1996 16:54:55 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00920;
          Fri, 26 Jul 1996 16:54:48 +0000
Date: Fri, 26 Jul 1996 16:54:48 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607261554.AA00920@toad.ig.co.uk>
To: dbi-users@fugue.com, mcgahen@multiverse.net
Subject: Re: Problems finding executable after Make
X-Sun-Charset: US-ASCII
content-length: 362
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Joel Mcgahen <mcgahen@multiverse.net>
> 
> 1) perl Makefile.PL
> 2) make
> 3) make test (Works fine!)
> 4) make install
> 
> then we do a find / -name oraperl and come up with nothing.

Who ever said it would be called oraperl?

If you look at what the build is doing you'll see that it's
creating a binary called 'perl' in the current directory.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05691-10@oink>;
          Fri, 26 Jul 1996 18:01:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838400142:16278:1; Fri, 26 Jul 96 17:55:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15262; 26 Jul 96 17:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA16415 for dbi-users-real; Fri, 26 Jul 1996 09:51:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zeus.socom.com (lebel@zeus.socom.com [206.108.56.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA16411 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 09:51:14 -0700
Received: (from lebel@localhost) by zeus.socom.com (8.7.3/8.7.3) id MAA11116;
          Fri, 26 Jul 1996 12:49:01 -0400
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Cc: dbi-users@fugue.com
Subject: Re: one connection, many "clients"
References: <9607261439.AA00435@toad.ig.co.uk>
X-Face: #;FW:h$&D\OyS;d9lZ1+b"97JYWd;U#9Nz//7;m7g/^;ib<ciK$ai"RSjmT*!(_/:UoP0$'5Sgim6OTFAr1mP)LsqNW'jGs6V[GDjU;IXAnqeR[S--n&UJssL`5eO=Us[V_GO"prGqdUxIQe`\1cm~-1kwkF#9U$zoUTnSE[56[We'9~e*XH*^jnXQz15C^?BRw\$FF/],%f6p6l,,B$Md,d}&-ux|0Q!`:bQav#(IU5l(0C)#R)'x}HHiCF$\e7sFq
X-Home-Page: http://www.socom.com/~lebel/
Mime-Version: 1.0 (generated by tm-edit 7.70)
Content-Type: text/plain; charset=US-ASCII
From: David Lebel <lebel@socom.com>
Date: 26 Jul 1996 12:49:01 -0400
In-Reply-To: Tim Bunce's message of Fri, 26 Jul 1996 15:39:48 +0000
Message-ID: <m2pw5jgdtu.fsf@zeus.socom.com>
Lines: 58
X-Mailer: Gnus v5.2.37/XEmacs 19.14

Tim Bunce <Tim.Bunce@ig.co.uk> writes:

: "socket-based communication is not very fast" only if done badly.

	Well, I have a problem with socket-based communications.  It's
not directly related to the socket themselves, but to the fact that to
be performant, you need to fork the server to process each client in a
timely and elegant manner.  Now, this is not really a problem by
itself, but when I connect to the DB at the start of my program, it
doesn't seems to me that Oracle likes to be called from the same
connection by multiple subprocesses.  E.g. (in perl-pseudo-code):

    my $drh = DBI->install_driver( 'Oracle' );
    my $dbh = $drh->connect( 'socom', 'xxx', 'yyy' );
    die unless $dbh;

    # ... create socket code ...

    while(!terminated) {
      while(accept()) {
          spawn session_handler;
      }
    }

    $dbh->disconnect;

    sub session_handler {
        # ... some session-related code ...

	    my($sth) = $dbh->prepare($q);
	    $sth->execute;
	    my(@t) = @{$sth->{'NAME'}};

	    while ( @row = $sth->fetchrow ) {
	        # ... fetching ...
	    }

	    $sth->finish;

        # ... end of session-related code ...
    }

Now, this works the first time, however, the second time I get the
following error: "ORA-12571: TNS:packet writer failure (DBD: oopen
error)".  Is this because the $dbh handle can't be shared across the
childs?  I don't want to create a new connection for each childs,
since the whole point of doing this was to save connections and
Oracle-instances. 

	What do I need to do?

	...David

-- 
// d a v i d  l e b e l  <lebel@socom.com>      http://www.socom.com/~lebel/
// analyst / system administrator / hacker          socom technologies, inc.
// " thoughts from above hit the people down below, people in this world, we
//   have no place to go. "                       -- new order, _temptation_
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06703-1@oink>;
          Fri, 26 Jul 1996 20:29:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838404181:00413:4; Fri, 26 Jul 96 19:03:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26753; 26 Jul 96 18:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA16554 for dbi-users-real; Fri, 26 Jul 1996 10:50: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 KAA16550 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 10:50:43 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa11252; 26 Jul 96 17:49 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa24877; 26 Jul 96 18:23 +0100
Received: from toad by oink with SMTP (PP) id <05939-0@oink>;
          Fri, 26 Jul 1996 18:23:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01451;
          Fri, 26 Jul 1996 18:22:52 +0000
Date: Fri, 26 Jul 1996 18:22:52 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607261722.AA01451@toad.ig.co.uk>
To: dbi-users@fugue.com, mueller@enet.net
Subject: Re: DBD 0.36 build errors under AIX4.1
X-Sun-Charset: US-ASCII
content-length: 1471
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve Mueller <mueller@enet.net>
> 
> 	I am currently running AIX4.1 on a Motorola 604 box and have 
> Oracle 7.3.2.1 on it, along with gcc2.7.2 and perl5.003.  I've got 
> SQL*Net V2 and the tcp/ip adapter protocol up and running fine on the 
> database and the listener is accepting remote connections from select 
> outside sites properly.  However, when I went to build DBI 0.71 and
> DBD 0.36 (the only two versions that I know of which support Oracle 7.3.x 
> and its Pro*C libs), I was able to successfully build the DBI, but 
> received a fatal error during the 'make test' of the DBD 0.36 build and 
> the process does a core dump.  Everything appeared to be fine up to 
> this point (including the entire DBI build and the first two stages of 
> the DBD build).  Here's what it looks like:

> 	To me, the error looks like the result of the inability to connect to 
> the database properly, as I sorted through the lines of code from the 
> modules listed above.  My question is this -- has anyone else had similar 
> problems to the ones listed above or is anyone familiar with building 
> DBI/DBD under AIX4.x for Oracle7.3?  Any help will be greatly 
> appreciated.  Thanks in advance.

After doing a make clean edit your Makefile.PL so the @edit= line
looks like this:

    my @edit = qw(SHELL CC CFLAGS CCFLAGS OPTIMIZE ASFLAGS
			RCC LD LDFLAGS AR ECHO EXE OBJS);

and try again.

Please follow what the README says when reporting problems.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06703-5@oink>;
          Fri, 26 Jul 1996 20:29:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838406065:19291:0; Fri, 26 Jul 96 19:34:25 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa18550; 26 Jul 96 19:32 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa10541; 26 Jul 96 19:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA16656 for dbi-users-real; Fri, 26 Jul 1996 11:28:21 -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 LAA16652 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 11:28:18 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ae20268; 26 Jul 96 18:28 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa23731; 26 Jul 96 18:19 +0100
Received: from toad by oink with SMTP (PP) id <05876-0@oink>;
          Fri, 26 Jul 1996 18:18:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01429;
          Fri, 26 Jul 1996 18:18:06 +0000
Date: Fri, 26 Jul 1996 18:18:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607261718.AA01429@toad.ig.co.uk>
To: lebel@socom.com
Subject: Re: one connection, many "clients"
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 904
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: David Lebel <lebel@socom.com>
> 
> Tim Bunce <Tim.Bunce@ig.co.uk> writes:
> 
> : "socket-based communication is not very fast" only if done badly.
> 
> 	Well, I have a problem with socket-based communications.  It's
> not directly related to the socket themselves, but to the fact that to
> be performant, you need to fork the server to process each client in a
> timely and elegant manner.

So it's nothing to do with sockets. Anyway, don't fork, if the requests
are _really_ going to take so long to process that you can't serialise
them in one daemon then have a pool of daemons and forward the request to
the first available one. More complicated but much faster than forking...

> doesn't seem to me that Oracle likes to be called from the same
> connection by multiple subprocesses.

...which won't work anyway.

If you're worried about runaway queries you can always alarm() them.

Tim.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09249-0@oink>;
          Sat, 27 Jul 1996 06:01:56 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838416820:11482:3; Fri, 26 Jul 96 22:33:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa10672; 26 Jul 96 22:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA17054 for dbi-users-real; Fri, 26 Jul 1996 14:23: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 OAA17047;
          Fri, 26 Jul 1996 14:23:42 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id af19266; 26 Jul 96 21:22 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa14839; 26 Jul 96 22:20 +0100
Received: from toad by oink with SMTP (PP) id <07480-0@oink>;
          Fri, 26 Jul 1996 22:17:25 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02456;
          Fri, 26 Jul 1996 22:17:08 +0000
Date: Fri, 26 Jul 1996 22:17:08 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607262117.AA02456@toad.ig.co.uk>
To: dbi-announce@fugue.com, mellon@fugue.com
Subject: Announce: DBD-Oracle-0.37
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 385
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Changes in DBD::Oracle 0.37 (Oraperl 1.28), 25th July 1996

    Fixed Makefile.PL for Oracle 7.3.2.
    Fixed $num_fields = ora_fetch($csr) before first fetch for
        queries with bind vars.
    Fixed occasional core dump on global destruct.

It's probably not worth upgrading unless you have a problem.

Uploaded to ftp.demon.co.uk as usual. Will get to CPAN in due course.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09250-11@oink>;
          Sat, 27 Jul 1996 06:03:31 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838419012:04054:2; Fri, 26 Jul 96 23:10:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03545; 26 Jul 96 23:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA17152 for dbi-users-real; Fri, 26 Jul 1996 15:05:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from icicle.winternet.com (root@icicle.winternet.com [198.174.169.5]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA17148 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 15:05:55 -0700
Received: from parka (amit@parka.winternet.com [198.174.169.9]) 
          by icicle.winternet.com (8.7.5/8.7.5) with ESMTP id RAA20098 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 17:05:49 -0500 (CDT)
Received: (from amit@localhost) by parka (8.7.4/8.6.12) id RAA03639 
          for dbi-users@fugue.com; Fri, 26 Jul 1996 17:05:48 -0500 (CDT)
From: Amit Bhati <amit@winternet.com>
Posted-Date: Fri, 26 Jul 1996 17:05:48 -0500 (CDT)
Message-Id: <199607262205.RAA03639@parka>
Subject: 'make' fails!! DBD-Oracle0.36/Perl5.003/AIX4.1.4/Oracle7.2.2
To: dbi-users@fugue.com (DBI:DBD Mailing List)
Date: Fri, 26 Jul 1996 17:05:48 -0500 (CDT)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text

DBD-Oracle 0.36
Perl 5.003 (with DBI 0.71 installed just fine)
AIX 4.1.4 on RS/6000
IBM's XlC C Compiler 
Oracle 7.2.2
I have SQLNET, Pro*C and TCP/IP Adapters installed. The actual Oracle
DB stuff is on a different machine.

I am having compilation problems during 'make'. Basically it fails
after encountering a lot of unresolved typedefs since the header files
it is looking for are not found.

After looking through Makefile.PL I have a few basic questions if
someone can answer them.

Why does Makefile.PL look for oratypes.h and other files? These files
are under the $ORACLE_HOME/rdbms directory subtree of Oracle
RDBMS. That means that the Oracle database stuff *must* also be
installed on the machine on which I am trying to build DBD-Oracle.

Why is that required? Afterall, if I have SQLNET etc., should'nt that
be sufficient? To me, requiring rdbms/ seems to mean that DBD-Oracle
can only be built on systems which have the RDBMS installed!

Am I missing something? I am new to Oracle, so pardon my ignorance
there. Some relevent lines from Makefile.PL...


Makefile.PL> # --- What Oracle is installed...
Makefile.PL> # 
Makefile.PL> # Todo: validate we have the right stuff installed
Makefile.PL> #
Makefile.PL> warn "Warning: OCI (Pro*C) does not appear to be installed.\n"
Makefile.PL>   unless (-f "$OH/lib/libocic.a" and 
Makefile.PL>           -f "$OH/rdbms/demo/oratypes.h") 
Makefile.PL>       or (-f "$OH/precomp/demo/proc/proc.mk");	
Makefile.PL> 
Makefile.PL> my @mkfiles;
Makefile.PL> my $oraclemk = $::opt_m || "$OH/proc/lib/proc.mk";
Makefile.PL> $oraclemk = "$OH/precomp/demo/proc/proc.mk" 
Makefile.PL>    unless -f $oraclemk; # 7.3.x 
Makefile.PL> $oraclemk = "$OH/proc16/lib/proc16.mk"      unless -f $oraclemk;
Makefile.PL> die "Unable to locate proc.mk (use -m /path/to/proc.mk to specify)\n" 
Makefile.PL>     unless -f $oraclemk;
Makefile.PL> 


amit bhati
--
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10247-4@oink>;
          Sat, 27 Jul 1996 09:43:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838451305:02408:2; Sat, 27 Jul 96 08:08:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01835; 27 Jul 96 8:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA17996 for dbi-users-real; Sat, 27 Jul 1996 00:00: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 AAA17992 
          for <dbi-users@fugue.com>; Sat, 27 Jul 1996 00:00:43 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ad12549; 27 Jul 96 7:00 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab02174; 27 Jul 96 7:43 +0100
Received: from toad by oink with SMTP (PP) id <09764-0@oink>;
          Sat, 27 Jul 1996 06:26:10 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA03861;
          Sat, 27 Jul 1996 06:26:03 +0000
Date: Sat, 27 Jul 1996 06:26:03 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607270526.AA03861@toad.ig.co.uk>
To: dbi-users@fugue.com, amit@winternet.com
Subject: Re: 'make' fails!! DBD-Oracle0.36/Perl5.003/AIX4.1.4/Oracle7.2.2
X-Sun-Charset: US-ASCII
content-length: 1844
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Amit Bhati <amit@winternet.com>
> Subject: 'make' fails!! DBD-Oracle0.36/Perl5.003/AIX4.1.4/Oracle7.2.2

As a general rule, including exclamations marks in subject lines is
a bad idea. It puts people (like me) off.
 
> I have SQLNET, Pro*C and TCP/IP Adapters installed. The actual Oracle
> DB stuff is on a different machine.
> 
> I am having compilation problems during 'make'. Basically it fails
> after encountering a lot of unresolved typedefs since the header files
> it is looking for are not found.
 
> Why does Makefile.PL look for oratypes.h and other files?

Because it needs them.

> These files are under the $ORACLE_HOME/rdbms directory subtree of Oracle
> RDBMS. That means that the Oracle database stuff *must* also be
> installed on the machine on which I am trying to build DBD-Oracle.
> 
> Why is that required? Afterall, if I have SQLNET etc., should'nt that
> be sufficient? To me, requiring rdbms/ seems to mean that DBD-Oracle
> can only be built on systems which have the RDBMS installed!

Blame Oracle. Note that the header files are in the 'demo' subdirectory
of rdbms. That says a great deal about Oracle's approach to interfaces.

I recently did the same thing (today, er, yesterday - it's been a very
long day...) and hit the same problem. I copied just the header files
over and DBD::Oracle built okay but would core dump looking up oracle
messages. Since I'm in a big rush I didn't have time to look into it
further so I just mounted the other system and built DBD::Oracle from that
In related work I did fix a core dump that might have been the one I saw
earlier...

So, grab the recently released DBD::Oracle 0.37, copy the header files
you need over from the rdbms/demo directory and give it a go.

If it works let me know. If it doesn't then you'll have to install
more of Oracle till it does.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10247-8@oink>;
          Sat, 27 Jul 1996 09:43:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838455284:02744:1; Sat, 27 Jul 96 09:14:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02344; 27 Jul 96 9:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA18079 for dbi-users-real; Sat, 27 Jul 1996 01:07:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from olympic.geocities.com (olympic.geocities.com [204.7.246.6]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA18075 
          for <dbi-users@fugue.com>; Sat, 27 Jul 1996 01:07:37 -0700
Received: from 128.97.128.1.ucla.edu ([164.67.22.101]) 
          by olympic.geocities.com (post.office MTA v1.9.3 ID# 0-12587) 
          with SMTP id AAA22986 for <dbi-users@fugue.com>;
          Sat, 27 Jul 1996 01:06:07 -0700
Message-ID: <31F9CEFB.30BC@geocities.com>
Date: Sat, 27 Jul 1996 01:10:35 -0700
From: monghai@geocities.com (Mike Onghai)
X-Mailer: Mozilla 3.0b5aGold (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
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09250-21@oink>;
          Sat, 27 Jul 1996 06:04:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838423171:18148:2; Sat, 27 Jul 96 00:19:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17891; 27 Jul 96 0:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA17235 for dbi-users-real; Fri, 26 Jul 1996 16:13:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pt.Cyanamid.COM (igate.cyanamid.com [141.173.63.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA17231 
          for <dbi-users@fugue.com>; Fri, 26 Jul 1996 16:13:39 -0700
Received: from wilk by apbr1.pt.Cyanamid.COM (4.1/SMI-4.1) id AA29434;
          Fri, 26 Jul 96 19:12:55 EDT
Date: Fri, 26 Jul 1996 19:12:51 -0400 (EDT)
From: Jon Meek <meekj@Cyanamid.COM>
X-Sender: meekj@wilk
To: Amit Bhati <amit@winternet.com>
Cc: "DBI:DBD Mailing List" <dbi-users@fugue.com>
Subject: Re: 'make' fails!! DBD-Oracle0.36/Perl5.003/AIX4.1.4/Oracle7.2.2
In-Reply-To: <199607262205.RAA03639@parka>
Message-Id: <Pine.SUN.3.93.960726190905.11527i-100000@wilk>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

For my compilation of DBD-Oracle/Solaris2.5/Oracle7.2.x(x=2, I think), I
just pulled the required files in the rdbms directory from the Oracle CD.

The files I needed were:

: www1 /<1>oracle/orahome/rdbms ; ls -lR
.:
total 8
drwxr-xr-x   2 oracle   apbr         512 May 15 17:43 demo/
drwxr-xr-x   2 oracle   apbr         512 May 15 16:20 lib/
drwxr-xr-x   2 oracle   apbr         512 May 15 16:18 mesg/
drwxr-xr-x   2 oracle   apbr         512 May 15 17:38 public/

./demo:
total 36
-r--r--r--   1 oracle   apbr        4509 Jun 29  1995 ociapr.h
-r--r--r--   1 oracle   apbr        5187 Jun 29  1995 ocidfn.h
-rw-rw-r--   1 oracle   apbr        6659 Jun 29  1995 oratypes.h

./lib:
total 66
-rw-r--r--   1 oracle   apbr        1132 Jul  6  1995 clntsh.mk
-rwxr-xr-x   1 oracle   apbr        5623 Jul 17  1995 genclntsh.sh*
-rw-r--r--   1 oracle   apbr       15211 Jul  5  1995 oracle.mk
-rw-r--r--   2 oracle   apbr        3137 May 15 16:20 osntab.s
-rw-r--r--   2 oracle   apbr        3137 May 15 16:20 osntabst.s
-rw-r--r--   1 oracle   apbr           9 May 15 16:19 psoliblist
-rw-r--r--   1 oracle   apbr          39 May 15 16:21 sysliblist

./mesg:
total 2128
-r--r--r--   1 oracle   apbr      183296 Jul 11  1995 oraus.msb
-r--r--r--   1 oracle   apbr      878114 Jul 11  1995 oraus.msg

./public:
total 12
-r--r--r--   1 oracle   apbr        5187 Jun 29  1995 ocidfn.h

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

Jon


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16405-11@oink>;
          Mon, 29 Jul 1996 07:45:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838521408:15650:1; Sun, 28 Jul 96 03:36:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15382; 28 Jul 96 3:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA18918 for dbi-users-real; Sat, 27 Jul 1996 19:21: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 TAA18914 
          for <dbi-users@fugue.com>; Sat, 27 Jul 1996 19:21:09 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id TAA10420;
          Sat, 27 Jul 1996 19:20:51 -0700
Date: Sat, 27 Jul 1996 19:20:51 -0700
Message-Id: <199607280220.TAA10420@paradigm.webvision.com>
From: dave madden <dhm@paradigm.webvision.com>
To: dbi-users@fugue.com, lebel@socom.com
In-reply-to: <9607261439.AA00435@toad.ig.co.uk> (message from Tim Bunce on Fri, 26 Jul 1996 15:39:48 +0000)
Subject: Re: one connection, many "clients"

 =>> 	At first, I thought that I could write some sort of
 =>> socket-based server in Perl that would connect to the DB, and then
 =>> sits there and wait for SQL queries from clients.  However,
 =>> socket-based communication is not very fast, and even slower when we
 =>> include "handshaking" between the client and the server.
 =>
 =>"socket-based communication is not very fast" only if done badly.

We're doing *exactly* what you describe, and Tim's right: it's only
slow if done badly.  I don't know what takes Oracle so long to
connect, but it happens even with raw OCI calls.

I have a server that operates like modern web servers: it manages a
pool of children which connect to a database, respond to a
configurable number of queries, and then exit.  The clients are almost
exclusively CGI scripts and direct-connects from the HTTP server, and
I find that response times are more than adequate.

d.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <18580-0@oink>;
          Mon, 29 Jul 1996 10:42:50 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838631245:14996:2; Mon, 29 Jul 96 10:07:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa14204; 29 Jul 96 10:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id CAA20524 for dbi-users-real; Mon, 29 Jul 1996 02:02:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from goggins.uio.no (6089@goggins.uio.no [129.240.201.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id CAA20520 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 02:02:54 -0700
From: rune.froysa@usit.uio.no
Received: from ulrik.uio.no by goggins.uio.no with local-SMTP (PP) 
          id <23624-0@goggins.uio.no>; Mon, 29 Jul 1996 11:02:15 +0200
Received: by agnar.uio.no ; Mon, 29 Jul 1996 11:02:14 +0200
Date: Mon, 29 Jul 1996 11:02:14 +0200
Message-Id: <199607290902.LAA03206@agnar.uio.no>
To: Tim.Bunce@ig.co.uk
CC: dbi-users@fugue.com
In-reply-to: <9607261235.AA29524@toad.ig.co.uk> (message from Tim Bunce on Fri, 26 Jul 1996 13:35:31 +0000)
Subject: Re: Running DBD-Oracle compiled under SunOS on Solaris

[Tim Bunce:]
>> Oraperl test application $Revision: 1.21 $
>> Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: ld.so.1: ../perl/bin/perl: fatal: relocation error: symbol not found: _sv_undef: referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at /local/www/tools/ub/perl/lib/DynaLoader.pm line 140.

>That looks like you've built it using Perl5.002 or earlier and you're
>running it on Perl5.003. Use the same version of perl on both systems.

I've tried with 5.003 on both systems now. If ran with a SunOS perl, I get:

Oraperl test application $Revision: 1.21 $
Can't find 'boot_DBI' symbol in ../DBI-0.71/blib/arch/auto/DBI/DBI.so
 at ../DBI-0.71/DBI.pm line 32
BEGIN failed--compilation aborted at Oraperl.pm line 23.
BEGIN failed--compilation aborted at (eval 2) line 1.

If I run with Solaris perl, I get:

Oraperl test application $Revision: 1.21 $
Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: ld.so.1: ../perl/bin/perl: fatal: relocation error: symbol not found: __ctype_: referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at /local/www/tools/ub/perl/lib/DynaLoader.pm line 140.

 at ../DBI-0.71/DBI.pm line 32
BEGIN failed--compilation aborted at Oraperl.pm line 23.
BEGIN failed--compilation aborted at (eval 2) line 1.

Someone mentioned that the problem could be that perl uses
shared/dynamic objects. If this is the case, it should perhaps be
possible to link something staticaly?

The perl5 SunOS version was compiled on "SunOS 4.1.3_U1 1 sun4m",
DBI&DBD was compiled on "SunOS 4.1.4 2 sun4c", and the Solaris perl5
version was compiled on "SunOS 5.3 Generic_101318-59 sun4m sparc"

-- 
Rune Frxysa, IT-Seksjonen UB, UiO.   Primary e-mail: runefr@ifi.uio.no
Phone (work): (+47) (22 8)5 28 59    
WWW: http://www.ifi.uio.no/~runefr/
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18582-9@oink>;
          Mon, 29 Jul 1996 10:43:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838627434:13838:1; Mon, 29 Jul 96 09:03:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13311; 29 Jul 96 9:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA20461 for dbi-users-real; Mon, 29 Jul 1996 00:51:48 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nfis0003.netforce.net (nfis0003.netforce.net [194.73.236.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA20457 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 00:51:45 -0700
Received: from nfg011.i.netforce.net (gateway-1-e0.route.netforce.net [194.73.236.7]) 
          by nfis0003.netforce.net (8.6.12/8.6.12) with SMTP id JAA27204 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 09:02:57 +0100
Received: by nfg011.i.netforce.net with Microsoft Mail 
          id <01BB7D2B.135C4360@nfg011.i.netforce.net>;
          Mon, 29 Jul 1996 08:51:04 +-100
Message-ID: <01BB7D2B.135C4360@nfg011.i.netforce.net>
From: Mathew Booth <mbooth@netforce.net>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: unsubscribe mbooth@netforce.net
Date: Mon, 29 Jul 1996 08:51:03 +-100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubscribe mbooth@netforce.net

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18582-13@oink>;
          Mon, 29 Jul 1996 10:43:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838628303:21887:3; Mon, 29 Jul 96 09:18:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21660; 29 Jul 96 9:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA20485 for dbi-users-real; Mon, 29 Jul 1996 01:13:26 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dingo.theplanet.co.uk (dingo.theplanet.co.uk [194.152.64.136]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA20481 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 01:13:25 -0700
Received: from theplanet.net(really [127.0.0.1]) by dingo.theplanet.co.uk 
          via sendmail with esmtp id <m0uknRT-000BFbC@dingo.theplanet.co.uk> 
          for <dbi-users@fugue.com>;
          Mon, 29 Jul 96 09:12:43 +0100 (BST) (/\##/\ Smail3.1.30.13 #30.1 built 18-sep-95)
Message-Id: <m0uknRT-000BFbC@dingo.theplanet.co.uk>
X-Mailer: exmh version 1.6.7 5/3/96
To: dbi-users@fugue.com
From: Nigel Metheringham <Nigel.Metheringham@ThePLAnet.net>
Subject: Accessing Informix DB from Linux
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 29 Jul 1996 09:12:43 +0100

[slightly off topic - I apologise in advance!]

We're building a DB and application suite based around Informix on 
Solaris boxes (using DBI/DBD and Perl).

We'd also like to be able to put some of the peripheral applications 
on Linux boxes, but Informix does not make the ESQL/C package 
available for Linux, so we can't build a DBD module for perl on there.

Has anyone any solutions for this - or ways round the problem?

	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 251 6012 ]
[ Melbourne Street, Leeds LS2 7PS UK.      Fax : +44 113 2345656  ]


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19566-0@oink>;
          Mon, 29 Jul 1996 12:28:46 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838639559:09243:4; Mon, 29 Jul 96 12:25:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa08843; 29 Jul 96 12:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA20675 for dbi-users-real; Mon, 29 Jul 1996 04:21: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 EAA20671 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 04:21:29 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa22357; 29 Jul 96 11:21 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae02022; 29 Jul 96 12:18 +0100
Received: from toad by oink with SMTP (PP) id <19413-0@oink>;
          Mon, 29 Jul 1996 11:47:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA12660;
          Mon, 29 Jul 1996 11:47:36 +0000
Date: Mon, 29 Jul 1996 11:47:36 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607291047.AA12660@toad.ig.co.uk>
To: rune.froysa@usit.uio.no
Subject: Re: Running DBD-Oracle compiled under SunOS on Solaris
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1532
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: rune.froysa@usit.uio.no
> 
> [Tim Bunce:]
> >> Oraperl test application $Revision: 1.21 $
> >> Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: ld.so.1: ../perl/bin/perl: fatal: relocation error: symbol not found: _sv_undef: referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at /local/www/tools/ub/perl/lib/DynaLoader.pm line 140.
> 
> >That looks like you've built it using Perl5.002 or earlier and you're
> >running it on Perl5.003. Use the same version of perl on both systems.
> 
> I've tried with 5.003 on both systems now. If ran with a SunOS perl, I get:
> 
> Can't find 'boot_DBI' symbol in ../DBI-0.71/blib/arch/auto/DBI/DBI.so
>  at ../DBI-0.71/DBI.pm line 32
> 
> If I run with Solaris perl, I get:
> 
> Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: ld.so.1: ../perl/bin/perl: fatal: relocation error: symbol not found: __ctype_: referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at /local/www/tools/ub/perl/lib/DynaLoader.pm line 140.
> 
> Someone mentioned that the problem could be that perl uses
> shared/dynamic objects. If this is the case, it should perhaps be
> possible to link something staticaly?
> 
> The perl5 SunOS version was compiled on "SunOS 4.1.3_U1 1 sun4m",
> DBI&DBD was compiled on "SunOS 4.1.4 2 sun4c", and the Solaris perl5
> version was compiled on "SunOS 5.3 Generic_101318-59 sun4m sparc"

You've probably done one or more things wrong along the way.

Having said that I don't think a DBD::Oracle built on SunOS4 will
work on SunOS5.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20612-9@oink>;
          Mon, 29 Jul 1996 15:47:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838646833:22942:7; Mon, 29 Jul 96 14:27:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22867; 29 Jul 96 14:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA20845 for dbi-users-real; Mon, 29 Jul 1996 06:22:44 -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 GAA20841 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 06:21:47 -0700
Received: by gateway1.srs.gov id AA15340 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Mon, 29 Jul 1996 09:19:03 -0400
Message-Id: <199607291319.AA15340@gateway1.srs.gov>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
          Mon, 29 Jul 1996 09:19:03 -0400
Date: Mon, 29 Jul 1996 09:18:25 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: Re: one connection, many "clients"
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Cc: lebel@socom.com, dbi-users@fugue.com
Mime-Version: 1.0
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.4 sun4m)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <9607261718.AA01429@toad.ig.co.uk>

Tim Bunce wrote:
> 
> are _really_ going to take so long to process that you can't serialise
> them in one daemon then have a pool of daemons and forward the request to
> the first available one. More complicated but much faster than forking...
> 

Does anyone have any sample code of "pool management" that they would be
willing to post?


Thanks,

-- 
---
James Taylor              | All opinions expressed here are my
Net: james.taylor@srs.gov | own and should not be interpreted as
Phone: (803) 725-5323     | representing the views of DOE or WSRC.
---
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23615-0@oink>;
          Tue, 30 Jul 1996 00:34:28 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838661167:05164:1; Mon, 29 Jul 96 18:26:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa04080; 29 Jul 96 18:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA21423 for dbi-users-real; Mon, 29 Jul 1996 10:20:17 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from thurgood.uscourts.gov (firewall-user@thurgood.uscourts.gov [156.132.54.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA21419 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 10:20:09 -0700
Received: by thurgood.uscourts.gov; id NAA17252; Mon, 29 Jul 1996 13:20:04 -0400
Received: from unknown(156.132.13.2) by thurgood.uscourts.gov via smap (g3.0.3) 
          id xma017232; Mon, 29 Jul 96 13:19:48 -0400
Received: from pc4cisb.ao.uscourts.gov by pc4std.ao.uscourts.gov 
          with smtp (Smail3.1.28.1 #8) id m0ukvyZ-0000GqC;
          Mon, 29 Jul 96 13:19 EDT
Received: by pc4cisb.ao.uscourts.gov (Smail3.1.28.1 #9) id m0ukw2H-0001G2C;
          Mon, 29 Jul 96 13:23 EDT
Message-Id: <m0ukw2H-0001G2C@pc4cisb.ao.uscourts.gov>
From: fausser@ao.uscourts.gov (Bill Fausser)
Subject: Help with Uniperl
To: dbi-users@fugue.com
Date: Mon, 29 Jul 1996 13:23:16 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL22]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 422

Hi,
    I supporting and old legacy Unify5.0 DBMS and I ran across UNIPERL
written by Rick Wargo.  Now I suppose that this is old and may not be
supported anymore.  My question  deals with missing files.  I ran the
makefile included in uniperl-1.0_tar.Z and found that I was missing
useruhli.c and uperl.c.  Do you know where I can get these files in
order to make the uniperl executable?
TIA
Bill
fausser@ao.uscourts.gov
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23620-1@oink>;
          Tue, 30 Jul 1996 00:35:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838661179:21147:1; Mon, 29 Jul 96 18:26:19 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa20292; 29 Jul 96 18:25 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa05220; 29 Jul 96 18:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA21395 for dbi-users-real; Mon, 29 Jul 1996 10:16:08 -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 KAA21391 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 10:16:02 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id KAA21093;
          Mon, 29 Jul 1996 10:15:50 -0700
Date: Mon, 29 Jul 1996 10:15:50 -0700
Message-Id: <199607291715.KAA21093@paradigm.webvision.com>
From: dave madden <dhm@paradigm.webvision.com>
To: dbi-users@fugue.com
In-reply-to: <199607291319.AA15340@gateway1.srs.gov> (message from James Taylor on Mon, 29 Jul 1996 09:18:25 -0400)
Subject: Re: one connection, many "clients"

After re-reading the original message, I realized that my server-pool-
manager daemon was in C, not in Perl.  I only have the traditional
fork/serve/exit daemon in Perl.  (I'll have to do a version of the
server-pool daemon in Perl since many of my developers prefer Perl,
but I haven't gotten around to it yet.)  Be that as it may, I'll post
what I *do* have: C routines for both fork/serve/exit and server-pool
daemons, and a Perl library for fork/serve/exit-only.

I use these routines on Solaris-2.4 (x86 and Sparc) and on SGI
(irix-5.3).  The server pool daemon relies on semaphores to keep track
of the number of active servers, so the code won't be of much use on
machines without SYSV-IPC.  I got most of the ideas (and some of the
code) for the basic daemon from _Unix_Network_Programming_ (W. Richard
Stevens, ISBN 0-13-949876-1), but I did the server-pool-manager
myself, based on guesses about how httpd works (I was too lazy to
actually look at the Apache or NCSA code).

For those of you who'd rather do it yourselves, it's pretty easy.
There's only a few things you need to do to make a well-behaved
daemon; most of the complexity is a result of trying to do the Right
Thing on different systems.  Here's the main things to do:

 * chdir( "/" ) -- you don't want to tie up any filesystems with your
                   cwd.
 * ignore or catch signals
 * CLEAN UP AFTER YOUR CHILDREN!

d.

begin 664 daemon.tar.gz
M'XL( -;M_#$  ^P]:W?;MI+]2OX*Q&D=R95DR<]MG.36L11'NXZ<(]EM>F][
M=2@2DKCF0^'#CK?-_O:=&0 42)'.._=N*YVFDH"9 3  YDVYM>U8W ^#[6^^
MW*O=WFL?'N[#>WNGLW.([^W.WAZ]R]<W[8/.X6'GX."PC7"=W=W]PV_VO^"<
MLE<:)U8$0SIS_TZX&SZY=F,W#"KZ<14[NVUZW]L]^/P3_3*OEMK_%]85G[H>
M_P)CM#OM]L'!7L7^[^SOM'>R_3_8Q?[./D!^T_X"<UEY_<7W_[YYGZFM9],P
M8@%/;L+HBHEC$9OWS9,3PS >&S/;AH_R\_??FR>O7F6?A\>#L_Y3_!99@>=.
M3+/;>]8?]$;8U.R.^J<7O[SL/;X.7<<\Z?:>7IX^.SL^'6'GS#1/Q!?X]FU-
MZZVS;VN23!U&?A^@5Z\4W6H@\ZQ;00JZSH^[L) >S<P+8H\UO3BTKWABFJ.A
M6'ML^0N/MVSS_.E_Z@VA^7)X?KIL &K]IX3TV!#,;-GL5Q-0##_U$K?0)KZF
MB>L5FOQX!H,!+1HOHQ66T I7:84KM$*3M@HHP49)1,LT+<]["/R /N06+@7X
M(3\\-* 'AL<>!#"1<2?TK2L9W S9MS^R'!2^*7X2+6R48R 84AF^T&D>#X&0
M_5K#5Y _<GL>L@TG#!XD#,YG=,O<*4OF',[KFX39H>];@<.FENO%K-EDOG4[
MX>PV3",6W\8)]YD3\AB1 \X=H"Q.;'W#-)K9%S43T_:X%3Q<SH^8 (-$G&VU
M)M85_#^$?Q;;^E_3=/B"!PY ^]?+FZ0^(+1IQ#!DD[,'V_^\S[KG;'!^P;J]
ML]Y%CUT\[X_8&1Q,,>DKS@0Y^1:S,&!NTMIN?/NM\X"V\E&.-GN2?34-XM&#
MCQQ"4'^BTQ.;W'P!'(!S+-E#GW0P\R,'--6]><C4E8(IL.TTCK:]T+:\;3B?
MVR!UFO@>+ZS(;L9IT(Q#SXK<>*>UM[W3.FSM;+N![:4.WXX3QPU;\XQ(UGX;
M;T^YE:01'R<\3F(-YJ,&2@,7QOI4*CBMY';!XXHI^Y8]+_9_]$!N;(T=/JT:
M*^8>MQ/H7.E)7)]_Z@0*-'(#NS,WF(9E(^/ZH;L",=L#*<$^ X_ $$@^!QV 
MLORJ]9(R*5LNZ%T[#*:5"[ZQW%*\113:,4\JL-R%7884<[^DV0NK!E_I_-@+
M:D6?3.7::A+4I]+A4114B0O5E^N '7+A'WROXE(2<:N,L=O70>A478%D#-._
MJKH!LJ\,T;ERQ]Y5U?5QO*I9>IPO7I?>]30*X@0U2SGFPHUXZ7'RTX2_J4"*
M;JJ6!X?06LQ!J59@PG5PKJVH#-6.N%,E&-P5=ES[,-9LS(.TZEHN0L\KG6(2
M^:"U/H=4F-PF/(P<'JT0T\Z7,U&SR'<1 ;=<&^3X4I#Q'S=;=Q98WN=8LZ)D
M*OOT(=.LWJ^DZC^?@EAKZP_1UO_6>C@S'ZHU=!F:KJ2K-'2I?,F4=(6&+M_F
MM9)>*^FUDEXKZ:^CI'.1I(<L'Z3Z.EJTJ+O7:G:M9M=J=JUFUVIVK6;_+&I6
M3\XH?SA+^ZQ]XK6R7BOKM;)>*^NULEXKZW\794UE$TI74SW&VA]>J]BUBEVK
MV+6*7:O8M8K])!6[KO]9D?%EF%^H_B>K_U:1_B]08TSUWWM5]=_MG7VL^3_H
M''3VVKN[^SM8_[UWB/U?8"XKK[]X_??VELFVLJH,^(Q?)[?0<LV9;SD.#]@C
MX,V/V?I;=N@_02@[7-Q&[FR>L)I=9YT??C@H(F));H;'X "V&+,\CQ%6C#0B
M'O/H&@0V8VE@I0F(?/=_N,/2F#>8 U<\<B=I M@-%EL>M(41\T/'G;JVA<U(
M V[ W 4)"%3D_/M83NKS(*$*X22R'!>!+8]9MLT7R?8TC*ZV:>1M_L9-U/HE
M^@G,,2;4VA8!174V30,;:; ;-YE3G[C*[%F7EHDMMN?BF+!V6%:,U+;-^_+:
ML4<R/O=DV;2A9->&"5(PD<Y&#1B59 /7X NL/8E2.Z$AD3K;:B 0C>3QH,[J
MYN^F 2T&&[''<C7 QQJK'YFF<3/'DN3:O2ZUGWKAQ/+B5C<,>)T!'B'BB\5'
M\*TPUM@-#+FR(QT6FF!H)&^X4U;+TQYR(<L$?4.8B#5V=GXZ[@^>G3?81B0A
MP+O9P%D:QELD):C"&F*8?CBMB8'KV3"U&/K$)M;8J,%J*YRI;PJ<!MN4Q.IU
M]N0Q:\NY$)<6K@-T\!1(%@GJV/PH@\Q-NS<<PJQM"TO($>\A^\Z7$\=9AS$P
M.Y;?WS+NQ5PG^F1)M!0VWS=2=/-,/8%MQ&EW1"<>W-KRA +)N]FAN*$&-O.#
MPS3'@C-'BDUP($ EIG0J#+4<,G_9O<>LUQ]<#-D??S QRRZ?I+-Z!=_$CC' 
M#2.-<P@M#V=-; EJ.?A4([:-DWJS _LH9M%@/P_.GQ\/3FE#@:$T%DY)]..<
MVJ7S*3M_-C'S.X<A&[G3D$ME[3??M??>;#0$HL$8<B3KE0<5_XLXFL2L?62^
M-?_50OP37D7]/_\"8[Q#_^]U.@>D_P_:!P!P(/3__EK_?XU73O_/_R3ZO\MM
ML,\)("YYJ(UAN@TL I[IZ&D SA$;CT7_>#X>F_>A!5QZ0V\T.F:FO8U'6O#N
M2:%9N!+%5ND8K !+GZ#8+BS^8BM9]"LD^"I="LKH;3)PD0.341>]30]E%-K1
M!<VA2Q_NB6DB(Y"'4@&!2MG>8DUX,7!.T#H"/9.$<&:") H],I?D9A 0[$*I
MX?'4#9QC^ )R-Q4*"MZ.#"0.=.$S$DWF;HSMS)HF/&+A@@=N,%,&&I*>"=R9
MACO3<&=WX0I-^,)ZTW<\?B2P,?P0LPF?XB-A0I6XT,LPB!FF!;PA?RW1X*0S
M4)X^8B5S*Q"C!ZD_P:&G<!M>IQCIU?'=X&48>D3 =P/73WT-P0*;%&@*$T!'
M&X%02S+$)8*"A)6CW"O,=#F2]>;=(ZD-%IMK17CM@13\@PL,'W@$A\.[76ZP
M& ?M3KD+[HP!%X!Q0%$<$U=.+5S@M9[!?=$PE55)4QSU3Y]?OE3XB!YG^+8%
M\H,I$U.C0":4&-R5X&X C AL6(#<2! 7>#KALH+9]#=$?BM-BA-Q>,$>,H78
M%,W9H5Y8 ?=:+2%4^!MD0 '38#F3+B,TTA;O!B3-&!J#=!31;R!1ZO#$@CD&
MLX9P.>#TH@DBI"!LRP2L1^:#ZV'-E&B3LY!6NVX:96,?1S,A)/'LH]!HM8(0
MGY.TD9)XT/(V3'$_KEU'/E09W@0,8&<P&:3A<QLVPHW]W*C EQC6,;<BP]@2
M0\-@UVW:/Q 65NHE#\$X%%T;E?,]"V?GBR2/A:;<R?E@5(GTS+)1R-\>%;&Z
MQ[T7YP/$,Z]#S\*8)L,'DPTVM1++JVG39EM^#,P&CI"7H ;(^6G"0UMUT*"5
M3&V%I)53YC#EOQQL?,4]GH#.L2-^4Z/983?-$KHG'/@^QJOHVGRUFP?.:J?<
M;'4ME?!5;FU,^Z;&USW(C,!]H M' =AY3ZA&IZ;KQCH2^%=;,^O7A[XR^S]7
M[OMYQ[C;_N_L'G8H_G>XM[MWV-ZEW_\XH/?/.XWRU]K^1_FM;_Z?Q D8D:G2
M7(!-TXR36X\7O  )]L(*0%V"]D= W42ZF;OV'&8?WX!Y8;%XP6T<L<1<0S(R
M!AA0/ $6<E$>/005O[!B_#T M#%\*T:C,XLD-HA2B?65&89H' G1+FP L"%S
MAJ>P8FGJ).Y!)<W#%*P:*[Z"9@ZC1LH.=X.44\ %K0PT -0HA<BE'J94KM+S
MWO'PXFGO^,*\;TA'*6LR.FVI+,K< A%GDH&FM\(BZ\8V6/@F>DW X*S)V!+V
MFNH0Z@DVUD?+23EH@Y/G_;/NL#<PV@99=L*,L\,T(.:J3"*M2>$\O1S]8A@=
M@3!)X]OWP>H/+GK#L_.3_S)V!")I4TQAYN'5?(55$?";L:;W63ZTJ]2_".A*
M*\,L&@L52%K<USVZ(P ,E]S &P$F6H(KY?85&FZ&L(Q7HK?2YZ!0J%F,0JK.
MQQCZ*D,6;@0@E^*5$)0(C\L12@?)W)OW'V:)4CV0"-O>-=R3(JZ8_ <-)_TL
M;5_@\J<+>0(=#B??720AB*#-Y;F*Y6ZI(' MNR5LJ^Z#/ WM6OE ;$L%TS,4
M$0/&=4IR%!Z7YN\&>JA !RQ_% HKLQ*Q6^RJN70*F+NZ"W*-S/W^>^0-#?,/
M][>6B/*V<?$4SL>[C-%^[L]X4F/]ER?CE\/^3\<7O0;;;;#1N#_\^=4E1GQA
MCLT.TE+3%+%X0%LR*0LM+UE+3B[XS8D+1F]!Q$N6WKV4I2>M%J-?:$&I(4+V
MV:@OP <&]RA</&0.N&YL@C*"?+G;V$;=5^,N26)0*U14A1H-/_OAHHZ1@83(
MW+BH)D6<^09URPT7/U^3>>\425 *"QU7#AAIC(!S4,%$A6!$$B 640?H!>9)
MUQETE3@$@@R0B'PWD+$SG $1(4D7I0N145/+B$-%BWXQ!P^Q4$  !*Z@8.][
M99_0!@"9A^'U?"*BF(<0WP,ZE9'(%''?3N! X%%JL$P;--AI[^*GXS.9[C -
MVAQB"/XD39P"5V[X [!39B$Z;KX,Y"#1* T"$I!B!714ET-6B1R97P+8>QGP
M:D+DY^/AH#\XQ:0(<E#NG<A"@*.YW-?6ADI-20Z^[PRJ#RAU?C#KWJKD7)X-
M3RH$FYS%%)U0TM<1MQQKXG&QF&?=\=][P_,:VU3M<ACH&/4N**M7[!*'@R:,
MMZ7&!.RH__>>!@PKN#P[T_\OT7'>BL1CUKEK3]0]D6;1$;N?;9&5*,-,Y?VH
M6JK&.FV9%]*R:2H>P/U).C7(POC'SF^" _2E_5L+.L=@XL&RR!PY*O:%"^AJ
M+CE>7X&8>C.IAV5[YPZJ'8TJ*Z7:6:5J>5;DUY;FWNJ&@,A2!PB)--B.A)&H
M[=)-P'0H6E!P![;Q'H!]ST B2&TC11'9970!2U-X^OTA4(S3B/MC!2'*5Y7&
M8ZQXU)$URV->";9Z([)K=,<=RR[,Q^<VY1WZ("5K+#5ZIFH?HQRMLPG<D:ML
M&]SJNUN1OTT##]PPT#S2&G"YHRZ!2G67Z/CW3,]^=':V,CEKEM$4R0H] OXZ
M=9./L696V'R/#O05*,L:TSL:*DI-4V-F/L&?/VOM!ED_PQ?]+O7J^649O#M!
MYX04L(S&9[(87<&EH4"F!>@VT'"6@)>9 R0BG$K0^L]@S1@F=X-\J4L-KI'N
ML8IN?HVE+9@(('<[<SHCV**%*W)MRO.6-Y]@8"D(#AQ351L4347?@FUNLGN%
M4"<<?U'7T!:8%),T2^.AF>OSOIJ,@">KP'E9 ( 9\VL!:[()3+;29<CVIA_ 
MW+*2(Z*YM$MI(?3CEZ6A6UQ)06&$"]05X:)$G,M&DN.=Y7<AM4>]%^/+0?<<
ML7.R>3-<-%A'6!3ZY:"?OX3;01-3L06Z%&]-,>62</+'3[CY^6:,ORA8F*_F
M=YL?XG:/EJ=)>-(Y&Y2^YLN%5%T/R-=,F N9?5?-$(8"E&[#LDT>QUHQC#AS
M1T)^J0'N985+*C:_-)0+.R 25F/B(1D:>H.V+5D4XZ@,9KE+JWV:82"O.)D^
M(A;RWVF,CA9X S$72KO<2-C4R<H-+AH+FJVP9$ ):U?Y2;\ JGE(&YG!(IE+
M"F)IJ&49CTJV"B$KIJM,.+TI;\@IP7-4#I5=VK+.PGT@\RA-0M^:P9EVN)(O
MH8@Q"A[K9'+&7VZ72Z#*9[)J 9("U_=/ R=;3]\ADK <4*G4X.B]-TU<$:F@
MQ?G0Z^N$1N E5O:JEB^A3@=A:;#<5517K*D#7V3%%!CRUR6M6!Q0SYD@'V!3
MB*-88KPIQA9L*U6DEYEU-.1'U:$5ZK_$@^B?.<?PCOQ/I[-#O_]]L+>[O[^W
M1_F?_8/]]>]_?XV77O\E-O]/DOZY5#5>I;]J+G,_84PV[;(:"09F49AB!13X
M:S'SW"FZ/=,H]-GX,G#?C >"TOBE*$\!RWHV1EJUGUMLZ&+5@,-&"9K+("S[
MHZ<#UFYV=IL_[/WP'X<'&,&4)>I88!#,@#:%GN(DG4[9A(O*%:P$\<&,#QV:
M'?<\#!X^'77%1$:_C'Y2OV>-M&+.?=1XM,(@O*$((GMY/NJ_8G-8Q"Q,$DYF
MO!NQ*9!"_P=D-54_!;/*2G5#:';D'S3][@8-X$P#9/O;1B[TAV4G&/&KS!JI
M(A>5(Q$^B*@Y6$WC&.UBGL;HE.1@C!W3O+.Z!@0E",_?Q2)4(9E0F\?/0%_T
M+AJR#"D83RW?]62PX0=X-8RL:Q'*,BF#1'%_<-SM#L?'@U\(8&QE1%$(@V?:
MW)'(6)&&'5G#3#;LM&6#U!NB<=D&&H::.JI)IEQTL&5^ 5OWE\BJS334*!AJ
M)2C5,-0+HV323.A!+';*"EUT3UV8 UI!CU[/ YU9$<]1'EF4[@! 5J_S!WU\
MV>\6(%6]CH0553K+2BM1P:-L!%4U1B=(6OWRCPP@Q7FZ&$L08?QCI5G]J 02
M.M\3$N/B[PDJ3*3W@[VQKGC%;.72+] 3I8HT61!'-]>"Z^=YS0G'.+^C"G@9
M[&VBX$5VF02$J##-_.F5\I[,^Z'\ZI'VQ=6_"+NCK$[3$C6:&62X2):0'HD<
M:/64[V3/'1<6N[&]L30@J;R+?M\?I#:E$H);AK\P'],/^,<R%+]B8B[HJ0),
M" FBOVYL_PIDI;DG;4=Z:*$NG:L4.',EG U#RCC*"=!@X@&?+?[&LA/O=DMP
M,@2!U@?M(R1$EN?I3U$(WG!,P@@C$[4?9IO >Y/69P<3.@#Q(,;23Y6^$:5\
M+2T%.^/)@J*#=1&D1JD=,A"X6, 6TU\\L":8XL<)89^LT_-A0(=;K D*6MQ[
M-;E9(.I,N<KI>#"U19IL Q5\HRI+<:%B?2;W] @=B-#[[A13^'AH+\XOT4-R
M9S%FZV0+1;G&_=,!,E@F_G6<_J"(TQ^\ V=T\;*  RUE.-)NKN4\]'?Y)+E'
M?;+C@\CE'H>I)8^>TT7-?(L9& L+MJE*0$E/7US\@D6@>O((EK&810NYN2*/
M64AD"G,@3WCI!)EY=CR_S'&#:A%\/P4Y3P8"CL4\;CG@!<'9P/-,Q_8N7LDG
M?-[!K9P[]Z(W/,T'.$1EM!" U1X<W4*&9_MA^8D#WJC'I, 4"02:UH37H-@&
M$Y9M!;]K</ZL?]:3CI:$=Z5P(+$@/-VWR"!9 JLRZ:3=&CE5UBBJJ_H1ED1*
M'EBNQVI_JTMV:QMV?#9\T2@(>Q$$+FSJO+H?3)^&KK"*_6 8P1BZGBI"G#P_
MZY;-0B7C,59#JJ+&E(7$1F!KC4<7P]XQ$&_C@9%E(?GCBYR3R%H6/B3=C[ZU
MU_+&81""D2O8C=^%7M J2;"(&T@ %GC>H_.S,0X.DQB=CX>]RU$/+:]&353F
MUC<!K"$K&^"C/,GLCS_PJE03.NL/3GL:%4_1\-1=6%D;EJ;+&BV@B(EQ;8D^
MJ"9DV":J0 KC2WKX740$\%-+LS(?LWD"1#(FYX'(WLQ \E$#9<4N 7.HXH,P
M204%[TX*.KRJ")D 0.6CE6*-^056, WIJ$=A-7;A$)1+"FB0JHJ5G4JZ EFC
M*&/U(ST"+ TLL]P0)&MGI<B'+.#5(*Z,*X'SX<9S$7 &&2]+Y1K+FC\IZK+Z
M,RK>*&#9:82QK26V.R4KA_3$:GV$O#I:Q*O\*5L%5\* <OLVSP!-[.:-7&F'
MZA,HSYH+X80/7'#WFLH8*$()*HD[K@7^ZVW.&FM+2VQUNA5&=OF&+4M(*NHK
M1!)8B<8/G5[YHN5Q**&9E<!LZN>A>E>7N:/C@ELC_'<*J$>\20^HX /I;A)S
M;PHV_F4LC$@!KDPXI+1$5(;FLG"GI P)35TR*57-#_0!RV1 Q<X>8B_L4J7/
M OOT__IAV+_@*XO_JK_!]07&>,?SO_N'!VT5_SWH=/;%\[^'A^OX[U=X"0F4
M_4W#/T?L]U@N:+7B_^X?Y'BD?E6H_$<ZEG#9L[#+E'/N2;(4'\'[O_:NMJ>-
M) E_MG]%QYXP8];&+T!RLB_9C;+1'E(.(F!/)P%"QAYBZXS-,C8)(NQOOWJJ
MJWIZQAY([KB<;H\1R'9W]7M7=7?5TS61W"'KLXZLEH.QEZR92J3G"A<?ZK<!
M\>J[82D/!HIG,\+'] I&*GS3BP$.6=X?BT&<JC6H2Q6YCNY'/+V^]"WB5IEC
MOW.!LF5WJH8/:L>SKV%L3* ^IRR3+ 0TLL>!C_$<&W.I@"VY,NQ> %G,NS[8
MTA-:FP8CPSM[+,+&&I;#8=AUJZIJ)OOSV3A"+2DON^JJ84Q377 JK7M[%4F2
M(6EE2?0"(07*T*+:1ZT3IU/*JD,EMJ?A.>7F^[VW;]XS"%H,CEQLS?R8O268
M#B[MAKONVJ&&U-(,6GD A#<;RZLF(P;W_/**QO1<3\^ >8&2MM:).9*#SLGQ
MM((#?$4//OK;F 90X30 C4E\'4\ Z]E@ !Z=DC@<=T,-QWEI+I3.?X"W!72 
MVTMLVQ #+M1N7MKDOK1YCSZ2EI%BC@&EM]K26\WTGA"##V5;[J&I_-T/ Y&^
MG64]U2HK4R71:(9CS+RT/HJ7 \W9[.,B.>4H>WW6!4V/VG\Z895#Y>CSY\\;
MWO\)WZ!-$RS.CSK;+QBQ,(HMWZ& LQM4-C)Z H[6HOQ1[Y0Z=+TFOG<:K_6H
MZ.,D[1%0TKEX_T1KM^PHV2GC%E/L51E&B*+'EP A1%$N6)RVH)QOJ!OS/;=S
MS>N]DG[?&)U.^Q>(UHYDK(>R@ 82$QP]7VSHWTF%!O,2" W[V9;/CGQNI@*@
M",7859"2FUZLHGM.TJYN1G'CM53,XIQ<?1;GE,$HGDQF=:+=8*0C )&TO[=O
MM95,(SG^>G>Z:CKOT]SK&'S1+J/"GZYHN62/05P0=?$$!W+ZH0168@-:G9*U
M57T)Y)[HSL0/4,WTREG71@JAPS0D.4F$X?$TA(QKD2S;ZBQQ(-:L]*);,0_F
ME[R#PB4O8]7(&#*2 C.&\W/EN[D"6DE<72D2'U5]+0C&HD-IFG*%.RN'>/+6
M9YJ.W^;<2K,O0% EHFM.[R5DQVP%_K+F085]H$T.MBCP=SL&#[N=RM2SE,$3
MVJ!& SWJ86?XI@$Z^97H@(JYRZI82'@4WYJT1_&BRUT\8E]7Q'#!3DSL@3N?
MZS*4]9LRG<]FU(3IC87-"DK9+^-K\F)3/? $-(@)7"KX&K*5KJIR^!]V;OW8
M9XP'SG_MEN!_VIN;N/C-^)^MK<VG\]]W>'S\CWW3_!_C"*B @9SG)_&.DOJ]
MN.>NLRKG6/]L?=>9V6"PN&)U'Q4Y7+#;&,T3C#>:?>(F\RUP@7W[>_%[78RD
M)R[? G?=/X7.N\0'*K S!;"UF0\A)'TI Q83U[Z >//^W?XAQ_$1RZ[)E#*&
M=E\#RGGS.,G>)_W=_]63D__P+O:]Y7]KN[4E\K_SXL5+E?]/^K_O\?CRGP?_
M$>1_L;Q/A3U2_TOB?H6L%Q<>T#XMID(&[VSS3W$\]9QYZ2*@_GKE.C@W1&]2
MR74G3P_#^J%[EHG_;8F9X_\&,,#)(Y<!_G^YO5W$_R\[""/^W]YJ;78Z+8O_
M?MEZXO_O\%2?L7/XL_&T>1E?3<K5<M7X4X$#OD(85/\=65!]!%%0+0,Y?< P
MC9[]?I-TNP>\)X*[&"KE>>;D1T%!)N V5'1$> ?P,*"PP6TQS=UMV%?B%!;<
M>R@-<!N<!D#CWE(=%N,AQS8ZRW$?[XD3,#''=UHKX_?CWVST<JS#$Q<1" B9
MH]LK<W?1V]+=@ER%SR,Q$!1#5[L*@!OB12)SF@DQW]%MULM5UBDS:!,AK;H9
M6VACDT0SC 1B +<>D1B'UH<C'QB  )\?TP:=-N>4#YO'U5NC/14GU@DHKL%>
MS]@X+G6M T!W+19Q73G4,415UXFS_N ?@.I-APY[FW@)PL1A;ZOE9''FW3*X
MA::6 :MA,S0US.WA.$[1@!3%[3==$SRK]#*HU27$Z#-&C$)5$QSL_'(; I;)
M0Q'N_+*[M_\N['E1.[M%40>''W)1,(G<F&#97[I75^YQKB6Q\03#K/X!D<Z2
M.S.%DD2!N^+$! XAV:K;)KI:_>77%97Z3]>(M5!Z6_OPYQW&G'H!>[\>YD+>
M[>^+#E<0=$%0-Q]6HN@P<%>S^>SL!KI9F@#SP26FP)<OYH6!UB@[%SQH7<7>
MDG7@-B[$P[>9#%*.MCT#ZIYP$EK=;0T,DD7'K<I $'(N=2>LRZCP-(7"SJO=
M,CA.9VRY9+%D*,+3LE+ U\A':+ ?HA3IZ^KE5<N'GSD6HBHI]LRV^Z]O_OYV
M;W?7#IR=;L!(\GP[7LO@^'M* -R/$ !=Y4.6',W.[N%#)#JMC]<\D!I7(]=B
MZ">9LN7I\M:#P!K\2*9DJ@DA(!R;JO%E:K,'BLAS,5$ME=C@ (V!.EU@4NMV
M@;KMQV-<Z8!:]J'>D<KDVXOZ.*L;^P%8W3XP4V'+V]IKP>E1ZZ2@8TM5,YGU
MQ3W1W[0^/I[V=CD7O^]S&53]O@F"KO,GS%UR9Y<XL9BJ:?9X#8JER*R?#^LF
ML*IOBZXDO@:]>S-)\O"K2731B>RI TN1+A^\_:$<^54EZ2M)G-,&7NCZ@_F"
M'3#CJAC'0Q/6RU(R3/$LQOZ-:..AEQFF3NKW2^_)R4M.4L^"\_X$ZW)VA=-I
MB)!7ACN\9T.FZF(G.Z$;;97#5_%YA'0U$_]FPK=[/UN1C[3WO=RD8%KQHHBT
MWF"\,O$U=3A;-O@M3R;+M:CT+4M@#NJ9NUZ>5+G7(T70*E(G+SQ:#E-BM?BX
MKJFCI18J[UY\$OPD=IR(NY5!GPA[];M)FM'QIQ]J&^O-H-VTF/W!:'9QR63\
M<^W6SGOZ?7<7V>26&;FS71QW>05=7K&&F6G\>>ZN0#S*1H#;PCYIN#7V\J!K
M.1>:3I$?!*OAFZ(DQ8%WKX":1WU+#5OWNS#+?9YQ26:<5Z@P\R'[ T_@B6W,
M\"%!$5EC3!=SGK&5,74O_(-:6RQ%TU)#<8LI'9@HFVP$MIO]L>P*<:0A-@[A
M>294CN'L3X6O+-]$04Z T$";GTZ%A0"OL1L!]AU'M)"/7T106JE%@9!:>7NQ
M%>?",YP1I?HS$;^V Y(FEE)H+O?AV.'<"/7OYJ*)ZC?'L][2BU!L-\+(G9=N
E@L"JEE-1F6DW9H>'9?EO'XN?GJ?GZ7EZ_O#//P%9M5][ *(  %!L
 
end
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23620-20@oink>;
          Tue, 30 Jul 1996 00:36:31 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838665549:11043:1; Mon, 29 Jul 96 19:39:09 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa10616; 29 Jul 96 19:38 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa04589; 29 Jul 96 19:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA21620 for dbi-users-real; Mon, 29 Jul 1996 11:31:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from philabs.research.philips.com (philabs.research.philips.com [192.207.123.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA21616 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 11:31:32 -0700
From: sud@philabs.research.philips.com
Received: from wizard.philabs.research.philips.com (wizard.philabs.research.philips.com [130.140.55.5]) 
          by philabs.research.philips.com (8.7.1/8.6.12) with SMTP id OAA01270 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 14:31:27 -0400 (EDT)
Received: from loopback by wizard.philabs.research.philips.com (4.1/SMI-4.1) 
          id AA14371; Mon, 29 Jul 96 14:31:29 EDT
Message-Id: <9607291831.AA14371@wizard.philabs.research.philips.com>
To: dbi-users@fugue.com
Subject: Beginer's Guide.
Date: Mon, 29 Jul 96 14:31:28 -0400


Is there any good on-line info on writing CGI scripts to access remote
Oracle Database servers??

Highly appreciate your responses.

Thanx,
Sudheer.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24879-0@oink>;
          Tue, 30 Jul 1996 02:48:03 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838686973:04392:3; Tue, 30 Jul 96 01:36:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa04137; 30 Jul 96 1:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA22020 for dbi-users-real; Mon, 29 Jul 1996 14:26:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bock.ucs.ualberta.ca (bock.ucs.ualberta.ca [129.128.5.214]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA22007 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 14:26:45 -0700
Received: from maildrop.srv.ualberta.ca by bock.ucs.ualberta.ca 
          with ESMTP (8.6.5/UA3.0.0June95) id PAA16127 for ;
          Mon, 29 Jul 1996 15:12:53 -0600
Received: from gpu3.srv.ualberta.ca (gpu3.srv.ualberta.ca [129.128.98.13]) 
          by maildrop.srv.ualberta.ca (8.7.5/8.7.1) with SMTP id PAA83804;
          Mon, 29 Jul 1996 15:12:10 -0600
Date: Mon, 29 Jul 1996 15:12:03 -0600 (MDT)
From: Hayashi! <wlam@gpu.srv.ualberta.ca>
X-Sender: wlam@gpu3.srv.ualberta.ca
To: dbi-users@fugue.com
cc: Tim.Bunce@ig.co.uk
Subject: oraperl
In-Reply-To: <Pine.A32.3.93.960722123323.30662A-100000@gpu3.srv.ualberta.ca>
Message-ID: <Pine.A32.3.93.960729150743.24586B-100000@gpu3.srv.ualberta.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

	I've currently installed DBI0.71 and DBD Oracle 0.36
	the installation went well but somehow I can't find an execution
	file name "oraperl" anywhere in the server.  can anyone tell me
	if I'm doing anything wrong? Thanks!



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26330-4@oink>;
          Tue, 30 Jul 1996 05:34:24 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838694559:20802:2; Tue, 30 Jul 96 03:42:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20481; 30 Jul 96 3:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA22661 for dbi-users-real; Mon, 29 Jul 1996 17:23:28 -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 RAA22657 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 17:23:24 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id af17286; 30 Jul 96 1:12 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa10238; 30 Jul 96 1:09 +0100
Received: from toad by oink with SMTP (PP) id <24658-0@oink>;
          Tue, 30 Jul 1996 01:08:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15483;
          Tue, 30 Jul 1996 01:08:51 +0000
Date: Tue, 30 Jul 1996 01:08:51 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607300008.AA15483@toad.ig.co.uk>
To: dbi-users@fugue.com, fausser@ao.uscourts.gov
Subject: Re: Help with Uniperl
X-Sun-Charset: US-ASCII
content-length: 579
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: fausser@ao.uscourts.gov (Bill Fausser)
> 
> Hi,
>     I supporting and old legacy Unify5.0 DBMS and I ran across UNIPERL
> written by Rick Wargo.  Now I suppose that this is old and may not be
> supported anymore.  My question  deals with missing files.  I ran the
> makefile included in uniperl-1.0_tar.Z and found that I was missing
> useruhli.c and uperl.c.  Do you know where I can get these files in
> order to make the uniperl executable?

useruhli.c sounds like a Unify file.

uperl.c sounds like you mean uperl.o which is produced when you
build perl _4_.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26330-12@oink>;
          Tue, 30 Jul 1996 05:34:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838698536:14036:5; Tue, 30 Jul 96 04:48:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13749; 30 Jul 96 4:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA23134 for dbi-users-real; Mon, 29 Jul 1996 20:43:42 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from Bagheera.junglee.com (Bagheera.Junglee.Com [207.104.26.43]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA23130 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 20:43:41 -0700
Received: from Bagheera.junglee.com ([127.0.0.1]) 
          by Bagheera.junglee.com (Netscape Mail Server v2.0) with SMTP 
          id AAA14907 for <dbi-users@fugue.com>;
          Mon, 29 Jul 1996 20:41:59 -0700
To: dbi-users@fugue.com
Subject: getting the types of selected columns
From: Ashish Gupta <ashish@.junglee.com>
X-Actually-From: "Ashish Gupta" <ashish@Bagheera.junglee.com>
Date: Mon, 29 Jul 1996 20:41:59 -0700
Message-ID: <19960730034159.AAA14907@Bagheera.junglee.com>


using:
  DBI  0.71
  DBD::Oracle  0.36
  on UNIX - Solaris 2.5.1

I have a select stmnt of the form:

   select * from foo

I need to determine the names and types of the returned columns
to enable appropriate handling. The names I am able to get by doing:

   $sh = $dbh->prepare{}

and then getting $sh->{NAME}.
Is there some  way of getting the corresponding types?

any help will be greatly appreciated. Thanks.

Ashish
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26386-2@oink>;
          Tue, 30 Jul 1996 05:43:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838701740:01866:2; Tue, 30 Jul 96 05:42:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01607; 30 Jul 96 5:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA23201 for dbi-users-real; Mon, 29 Jul 1996 21:34:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA23197 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 21:34:52 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          with MHSnet id OAA09586 for dbi-users@fugue.com;
          Tue, 30 Jul 1996 14:34:48 +1000
Received: from rabbit by wurrup (AIX 3.2/UCB 5.64/4.03) id AA34899;
          Tue, 30 Jul 1996 14:30:53 +1000
Received: from booey.bha.oz.au by rabbit.bha.oz.au (AIX 3.2/UCB 5.64/4.03) 
          id AA16826; Tue, 30 Jul 1996 14:34:02 +1000
Message-Id: <31FD90BB.28F1@bha.oz.au>
Date: Tue, 30 Jul 1996 14:34:03 +1000
From: Andrew Berry <adb@bha.oz.au>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: Ashish Gupta <ashish@.junglee.com>
Cc: dbi-users@fugue.com
Subject: Re: getting the types of selected columns
References: <19960730034159.AAA14907@Bagheera.junglee.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Ashish Gupta wrote:
> I need to determine the names and types of the returned columns
> to enable appropriate handling. The names I am able to get by doing:
> 
>    $sh = $dbh->prepare{}
> 
> and then getting $sh->{NAME}.
> Is there some  way of getting the corresponding types?

Try $sh->{ora_types}.

This is part of the oraperl interface, so I assume won't work on other 
databases.

AndyB
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26421-0@oink>;
          Tue, 30 Jul 1996 05:52:59 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838702262:06698:3; Tue, 30 Jul 96 05:51:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06152; 30 Jul 96 5:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA23246 for dbi-users-real; Mon, 29 Jul 1996 21:43:53 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from smtp2.interramp.com (smtp2.interramp.com [38.8.200.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA23242 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 21:43:52 -0700
Received: from thor by smtp2.interramp.com (8.6.12/SMI-4.1.3-PSI-irsmtp) 
          id AAA22909; Tue, 30 Jul 1996 00:43:47 -0400
Message-ID: <31FD90CB.56ED@interramp.com>
Date: Tue, 30 Jul 1996 00:34:19 -0400
From: David Silverstein <davidsi@interramp.com>
Organization: Intelligent Software
X-Mailer: Mozilla 2.01 (X11; U; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Oracle DBD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

It seems I need Oracle's Pro*C to build DBD.pm for Oracle 7.2.
Is there anywhere I can download a binary of DBD.pm for Sun Sparc
Solaris 2.5?


David Silverstein
davidsi@interramp.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26436-2@oink>;
          Tue, 30 Jul 1996 05:58:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838702663:06800:1; Tue, 30 Jul 96 05:57:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06538; 30 Jul 96 5:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA23269 for dbi-users-real; Mon, 29 Jul 1996 21:55: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 VAA23265 
          for <dbi-users@fugue.com>; Mon, 29 Jul 1996 21:55:36 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa07718; 30 Jul 96 4:55 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa04051; 30 Jul 96 5:55 +0100
Received: from toad by oink with SMTP (PP) id <26366-0@oink>;
          Tue, 30 Jul 1996 05:38:31 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16380;
          Tue, 30 Jul 1996 05:38:17 +0000
Date: Tue, 30 Jul 1996 05:38:17 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607300438.AA16380@toad.ig.co.uk>
To: dbi-users@fugue.com, ashish@.junglee.com
Subject: Re: getting the types of selected columns
X-Sun-Charset: US-ASCII
content-length: 386
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Ashish Gupta <ashish@.junglee.com>
> 
> I need to determine the names and types of the returned columns
> to enable appropriate handling. The names I am able to get by doing:
> 
>    $sh = $dbh->prepare{}
> 
> and then getting $sh->{NAME}.
> Is there some  way of getting the corresponding types?
> 
> any help will be greatly appreciated. Thanks.

Read
	perldoc Oraperl

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28323-1@oink>;
          Tue, 30 Jul 1996 11:22:14 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838714852:08294:1; Tue, 30 Jul 96 09:20:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa07874; 30 Jul 96 9:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA23553 for dbi-users-real; Tue, 30 Jul 1996 01:07:19 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nordwest.pop.de (mail.NordWest.POP.DE [193.100.96.7]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id BAA23549 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 01:07:05 -0700
Received: by nordwest.pop.de (Smail3.1.28.1 #6) id m0ulAqO-0001K7C;
          Tue, 30 Jul 96 11:12 MES
Received: from hp01 (hp01 [194.15.215.78]) 
          by megatel.megatel.de (8.7.3/8.7.3/gfd951221) with SMTP id JAA17194;
          Tue, 30 Jul 1996 09:47:47 +0200 (MET DST)
Date: Tue, 30 Jul 1996 09:47:44 +0200 (METDST)
From: Sebastian Meyer <meyer@megatel.de>
X-Sender: meyer@hp01
To: Hayashi! <wlam@gpu.srv.ualberta.ca>
cc: dbi-users@fugue.com
Subject: Re: oraperl
In-Reply-To: <Pine.A32.3.93.960729150743.24586B-100000@gpu3.srv.ualberta.ca>
Message-ID: <Pine.HPP.3.91.960730094126.17757A-100000@hp01>
Organization: megatel Informations- und Kommunikationssysteme GmbH
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 29 Jul 1996, Hayashi! wrote:

> 	I've currently installed DBI0.71 and DBD Oracle 0.36
> 	the installation went well but somehow I can't find an execution
> 	file name "oraperl" anywhere in the server.  can anyone tell me
> 	if I'm doing anything wrong? Thanks!

Always the same mistake: You didn't read the README!  Why do you think
there should be anything like an oraperl executable? 

Think/read about shared libraries and take a look on what happens
after typing `make test'.

sebastian
-- 
    __o     Sebastian Meyer  Tel: 0421/22095-32   | megatel GmbH
  _ \<,_    eMail: meyer@megatel.de               | Wienerstr. 3 
 (_)/ (_)   [http://muffin.physik.uni-bremen.de/] | D-28359 Bremen
~~~~~~~~~~ "To err is human, to really foul things up requires a computer"

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29407-2@oink>;
          Tue, 30 Jul 1996 13:37:41 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838729117:06098:4; Tue, 30 Jul 96 13:18:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05971; 30 Jul 96 13:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA23784 for dbi-users-real; Tue, 30 Jul 1996 05:14:42 -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 FAA23780 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 05:14:35 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id NAA04365; Tue, 30 Jul 1996 13:06:09 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607301206.NAA04365@fruitbat.mcqueen.com>
Subject: Re: DBD-Informix: Getting column names from a cursor object
To: joh@mmts.eds.com (Josh Oh)
Date: Tue, 30 Jul 1996 13:06:09 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <01BB7A51.F26D2740@quasi.mmts.eds.com> from "Josh Oh" at Jul 25, 96 05:51:44 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: 892


> Is it possible to obtain column names from a cursor object after having executed a
> select statement?
> 
> Here's the snippet of code that works in Oracle but doesn't in Informix:

[snipped it]

> If I run it in Oracle, the @{$cursor->{'NAME'}} returns an array of
> string representing the column names.  If I run it in Informix and try
> to print the contents of the array, I get a segmentation fault core dump.
> 
> Is the {'NAME'} attribute on the cursor specific to Oracle?  If it is, are there
> any plans to support it in Informix?

Probably, but not just now. Last I heard or read, there hadn't been a 
coalesced spec on supporting accesses to metadata. And I don't have the time.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29407-4@oink>;
          Tue, 30 Jul 1996 13:37:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838729194:06830:4; Tue, 30 Jul 96 13:19:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06635; 30 Jul 96 13:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA23793 for dbi-users-real; Tue, 30 Jul 1996 05:15: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 FAA23787 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 05:15:20 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id NAA04372; Tue, 30 Jul 1996 13:06:52 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607301206.NAA04372@fruitbat.mcqueen.com>
Subject: Re: DBD::Informix w/out ESQL/C or 4GL Compiler
To: alastl@ix.netcom.com (John Prideaux)
Date: Tue, 30 Jul 1996 13:06:51 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <31F7EDB8.28C@ix.netcom.com> from "John Prideaux" at Jul 25, 96 02:57:12 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: 875


> I have an installation that uses Informix 4GL/RDS, so I have no way to handle
> the .ec file which is created during the DBD::Informix installation process.
> Is there a way around this short of purchasing ESQL/C or I4GL (the C-compiler
> version)?  4GL/RDS does come with the header files and libraries necessary
> to generate a customized runner, and most of these are similar to what we had
> on our old system where we had I4GL.
> 
> Any help would be appreciated, even if the answer is that it cannot be done!

Basically, get someone to precompile dbdimp.ec for you and mail you the
.c code. You should probably be able to use that, but I'm not making any
guarantees.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29404-14@oink>;
          Tue, 30 Jul 1996 13:38:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838729201:25326:0; Tue, 30 Jul 96 13:20:01 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa24502; 30 Jul 96 13:18 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa17715; 30 Jul 96 13:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA23768 for dbi-users-real; Tue, 30 Jul 1996 05:11:09 -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 FAA23764 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 05:11:04 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id NAA04317; Tue, 30 Jul 1996 13:02:31 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607301202.NAA04317@fruitbat.mcqueen.com>
Subject: Re: Accessing Informix DB from Linux
To: Nigel Metheringham <Nigel.Metheringham@theplanet.net>
Date: Tue, 30 Jul 1996 13:02:31 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <m0uknRT-000BFbC@dingo.theplanet.co.uk> from "Nigel Metheringham" at Jul 29, 96 09:12:43 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: 826


> We're building a DB and application suite based around Informix on 
> Solaris boxes (using DBI/DBD and Perl).
> 
> We'd also like to be able to put some of the peripheral applications 
> on Linux boxes, but Informix does not make the ESQL/C package 
> available for Linux, so we can't build a DBD module for perl on there.
> 
> Has anyone any solutions for this - or ways round the problem?

Precompile the dbdimp.ec file on Solaris with ESQL/C, copy the C code to
the Linux box, then compile as per usual. I'm assuming, since you didn't
mention otherwise, that you have the Informix libraries required on Linux.

> 	Nigel.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29404-16@oink>;
          Tue, 30 Jul 1996 13:38:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838729784:01135:1; Tue, 30 Jul 96 13:29:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00933; 30 Jul 96 13:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA23818 for dbi-users-real; Tue, 30 Jul 1996 05:25:10 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dingo.theplanet.co.uk (dingo.theplanet.co.uk [194.152.64.136]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA23814 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 05:25:08 -0700
Received: from theplanet.net(really [127.0.0.1]) by dingo.theplanet.co.uk 
          via sendmail with esmtp id <m0ulDqZ-000BFbC@dingo.theplanet.co.uk> 
          for <dbi-users@fugue.com>;
          Tue, 30 Jul 96 13:24:23 +0100 (BST) (/\##/\ Smail3.1.30.13 #30.1 built 18-sep-95)
Message-Id: <m0ulDqZ-000BFbC@dingo.theplanet.co.uk>
X-Mailer: exmh version 1.6.7 5/3/96
To: Alligator Descartes <descarte@hermetica.com>
cc: dbi-users@fugue.com
From: Nigel Metheringham <Nigel.Metheringham@ThePLAnet.net>
Subject: Re: Accessing Informix DB from Linux
In-reply-to: Your message of "Tue, 30 Jul 1996 13:02:31 BST." <199607301202.NAA04317@fruitbat.mcqueen.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 30 Jul 1996 13:24:22 +0100


descarte@hermetica.com said:
} Precompile the dbdimp.ec file on Solaris with ESQL/C, copy the C code 
} to the Linux box, then compile as per usual. I'm assuming, since you 
} didn't mention otherwise, that you have the Informix libraries 
} required on Linux. 

Thanks for the response, but the Informix view appears to be that 
Linux doesn't exist - ie no libraries, nothing!  The SCO version 
apparently runs on Linux (under IBCS emulation), but since the 
libraries are incompatible with Linux ones I can't link to them, and 
I don't think I would trust a SCO perl to do things right (even if I 
did have a SCO to build on!).

Looks like this idea is sunk :-(

	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 251 6012 ]
[ Melbourne Street, Leeds LS2 7PS UK.      Fax : +44 113 2345656  ]


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00765-2@oink>;
          Tue, 30 Jul 1996 18:01:06 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838740146:09219:3; Tue, 30 Jul 96 16:22:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa08630; 30 Jul 96 16:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA24148 for dbi-users-real; Tue, 30 Jul 1996 08:12: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 IAA24144 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 08:12:22 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id QAA06262; Tue, 30 Jul 1996 16:03:51 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607301503.QAA06262@fruitbat.mcqueen.com>
Subject: Re: Accessing Informix DB from Linux
To: Nigel.Metheringham@ThePLAnet.net (Nigel Metheringham)
Date: Tue, 30 Jul 1996 16:03:50 +0100 (BST)
Cc: descarte@hermetica.com, dbi-users@fugue.com
In-Reply-To: <m0ulDqZ-000BFbC@dingo.theplanet.co.uk> from "Nigel Metheringham" at Jul 30, 96 01:24: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: 1020


> } Precompile the dbdimp.ec file on Solaris with ESQL/C, copy the C code 
> } to the Linux box, then compile as per usual. I'm assuming, since you 
> } didn't mention otherwise, that you have the Informix libraries 
> } required on Linux. 
> 
> Thanks for the response, but the Informix view appears to be that 
> Linux doesn't exist - ie no libraries, nothing!  The SCO version 
> apparently runs on Linux (under IBCS emulation), but since the 
> libraries are incompatible with Linux ones I can't link to them, and 
> I don't think I would trust a SCO perl to do things right (even if I 
> did have a SCO to build on!).

You need to do the same as when munging Oracle stuff from SCO on Linux.
Get hold of idld from a SCO box, and you can link SCO libraries on Linux
in a.out format. That's easy with gcc. 

> 	Nigel.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00765-7@oink>;
          Tue, 30 Jul 1996 18:01:22 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838745037:05734:4; Tue, 30 Jul 96 17:43:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05375; 30 Jul 96 17:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA24362 for dbi-users-real; Tue, 30 Jul 1996 09:33:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from Princeton.EDU (root@Princeton.EDU [128.112.128.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA24358 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 09:33:28 -0700
Received: from ponyexpress.Princeton.EDU 
          by Princeton.EDU (5.65b/2.125/princeton) id AA13538;
          Tue, 30 Jul 96 12:27:35 -0400
Received: from stevespc.princeton.edu (stevespc.Princeton.EDU [128.112.36.79]) 
          by ponyexpress.Princeton.EDU (8.6.12/8.6.12) with SMTP id MAA15851;
          Tue, 30 Jul 1996 12:27:30 -0400
Message-Id: <31FE37E5.31F5@Princeton.EDU>
Date: Tue, 30 Jul 1996 12:27:17 -0400
From: Steve Albin <stevea@princeton.edu>
Reply-To: stevea@princeton.edu
Organization: Princeton University
X-Mailer: Mozilla 3.0b3 (Win95; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Perl 5 and Sybase
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi.

I've been reading the mail here, and the archives, and checking many
cross-references and links and FAQs, but I haven't seen anything recent
about Sybase and/or sybperl and Perl 5.

Is there active work on the sybperl DBD?

It seemed to be version 0.01 from many months ago.

Is it realistic for me to try to use Perl 5 as a gateway to a
Sybase database for writing production scripts?

Any pointers on web access to Sybase would be appreciated.

Thanks.

Steve Albin        stevea@princeton.edu
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04035-6@oink>;
          Wed, 31 Jul 1996 07:36:27 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838758903:19732:5; Tue, 30 Jul 96 21:35:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa19546; 30 Jul 96 21:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA24679 for dbi-users-real; Tue, 30 Jul 1996 10:41:24 -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 KAA24675 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 10:41:21 -0700
Received: from vaccine-bb.netlabs.com (vaccine-bb.sems.com) 
          by proxy.netlabs.com (4.1/SMI-4.1) id AA01395;
          Tue, 30 Jul 96 10:47:52 PDT
Received: from base.netlabs.com by vaccine-bb.netlabs.com (4.1/SMI-4.1) 
          id AA07712; Tue, 30 Jul 96 10:42:35 PDT
Date: Tue, 30 Jul 96 10:42:35 PDT
From: chuck@sems.com (Chuck Kung)
Message-Id: <9607301742.AA07712@vaccine-bb.netlabs.com>
To: dbi-users@fugue.com
Subject: DBD:MSQL errors on BSD 2.0
Cc: jtkung@netcom.com


Hello,

I'm getting the following errors when running make test on
DBD-mSQL-0.60pl10.

Testing: DBI->install_driver( 'mSQL' ): ok
Bad free() ignored at test.pl line 27.
Bad free() ignored at test.pl line 27.
Testing: $drh->func( 'localhost', '_ListDBs' ): ok
db: test
Connect: Connection refused
not ok: Can't connect to MSQL server on localhost
Database handle DBI::db=HASH(0x11ea5c) DESTROY ignored - never set up.
Testing: $drh->connect( 'localhost', 'test' )


The connection is refused but I can connect fine using msql from the command
line.  The msql.acl file allows read/write to * for database test.
Has anyone had similar problems?  Btw, I do not get this error on Linux 1.2.13.
Any help appreciated.  Thanks,

Chuck Kung
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04035-10@oink>;
          Wed, 31 Jul 1996 07:37:10 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838767877:09244:4; Wed, 31 Jul 96 00:04:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa08772; 31 Jul 96 0:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA25207 for dbi-users-real; Tue, 30 Jul 1996 13:08:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA25203 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 13:08:41 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com) 
          by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA07555;
          Tue, 30 Jul 96 15:08:13 CDT
X-Sender: ice@camg2.mfg.mke.ab.com
Message-Id: <v0300780bae241a18ceaf@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 30 Jul 1996 15:08:18 -0500
To: dbi-users@fugue.com
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: Help building DBD-Oracle for Sol2.5

Please let me know if this is the wrong place for this (politely, if
possible)...

I've already built and installed DBI-0.71, and am trying to build
DBD-Oracle-0.35 (I know there's a newer version).

Specifics for build:

Solaris 2.5
gcc 2.5.6 (old, I know)
sqlnet + ProC from 7.3.2 Oracle CD
perl 5.003

perl Makefile.PL builds the Makefile w/o errors...however, I'm unsure as to
what opts to include for compilation w/gcc.  I saw in the readme that
compiling w/gcc under Solaris recommends linking $ORACLE_HOME/lib/__fstd.o.
How do I say this to MakeMaker?

ie. perl Makefile.PL CC=gcc LINKOPTS=-L$ORACLE_HOME/lib/__fstd.o  ????

(I'm a relative newbie to some of the more advanced features of perl
makefiles,etc.)

That aside, gcc won't finish the build because I hit:

In file included from Oracle.c:19:
Oracle.h:30: oratypes.h: No such file or directory
Oracle.h:32: ocidfn.h: No such file or directory
Oracle.h:35: ociapr.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `Oracle.o'

Where do oratypes.h, ocidfn.h, and ociapr.h come from?  I can't find them
in the the ProC dist that my dba installed.

Anyone care to help?  Would be much appreciated.

Thanks!
Chris

--
                                   --------
   +------------------------------| _   /| |------------------------------+
   | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
   | E-mail: CMIce@mfg.mke.ab.com |   ( )  | 1201 S. Second St.           |
   | Voice:  414.382.2136         |    U   | Milwaukee, WI 53204 USA      |
   +------------------------------|  Ack!  |------------------------------+
       My opinions do not reflect  --------  the views of my employer.


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04035-16@oink>;
          Wed, 31 Jul 1996 07:37:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838772625:29061:2; Wed, 31 Jul 96 01:23:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28526; 31 Jul 96 1:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA25620 for dbi-users-real; Tue, 30 Jul 1996 15:10:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA25616 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 15:10:16 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id SAA23813;
          Tue, 30 Jul 1996 18:11:04 -0400 (EDT)
Message-Id: <199607302211.SAA23813@cse.psu.edu>
X-Mailer: exmh version 1.6.7 5/3/96
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: Christopher Ice <cmice@mfg.mke.ab.com>
Cc: dbi-users@fugue.com
Subject: Re: Help building DBD-Oracle for Sol2.5
In-reply-to: Your message of "Tue, 30 Jul 1996 15:08:18 CDT." <v0300780bae241a18ceaf@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 30 Jul 1996 18:10:37 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

> I've already built and installed DBI-0.71, and am trying to build
> DBD-Oracle-0.35 (I know there's a newer version).
Ok, I'll bite...why not download the newest?

> gcc 2.5.6 (old, I know)
I'll bite again...gcc2.7.2 will build for you out of the box, why not install 
it?

This evening, Im going to build DBD-Oracle against my 7.3.2 instance, but I 
wont be able to help you because I'll be at the latest releases of gcc and 
DBD-Oracle.

Sorry,
John

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04036-37@oink>;
          Wed, 31 Jul 1996 07:40:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838766739:05266:0; Tue, 30 Jul 96 23:45:39 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa04339; 30 Jul 96 23:44 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id ab17331; 30 Jul 96 23:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA25713 for dbi-users-real; Tue, 30 Jul 1996 15:37:34 -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 PAA25709 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 15:37:32 -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 SAA01671;
          Tue, 30 Jul 1996 18:43:15 -0400
Message-ID: <31FE8EA7.41C67EA6@ind70.industry.net>
Date: Tue, 30 Jul 1996 18:37:27 -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: Christopher Ice <cmice@mfg.mke.ab.com>
CC: dbi-users@fugue.com
Subject: Re: Help building DBD-Oracle for Sol2.5
References: <v0300780bae241a18ceaf@[130.151.91.215]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Christopher Ice wrote:
> That aside, gcc won't finish the build because I hit:
> 
> In file included from Oracle.c:19:
> Oracle.h:30: oratypes.h: No such file or directory
> Oracle.h:32: ocidfn.h: No such file or directory
> Oracle.h:35: ociapr.h: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `Oracle.o'
> 
> Where do oratypes.h, ocidfn.h, and ociapr.h come from?  I can't find them
> in the the ProC dist that my dba installed.

dev ~> find $ORACLE_HOME/rdbms -name \*.h -print
/home/oracle/product/7.1.4/rdbms/demo/ocidfn.h
/home/oracle/product/7.1.4/rdbms/demo/ocidem.h
/home/oracle/product/7.1.4/rdbms/demo/ociapr.h
/home/oracle/product/7.1.4/rdbms/demo/ocikpr.h
/home/oracle/product/7.1.4/rdbms/demo/oratypes.h
dev ~> 

My DBA also forgot to install the rdbms package completely (specifically,
the stuff under demo), and I had to prod him to do so.

A question of my own: is this the right place for these files?  How come
the OCI header files are installed in a `demo' directory?

Later,
Rujith.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04121-1@oink>;
          Wed, 31 Jul 1996 07:40:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838767434:12360:0; Tue, 30 Jul 96 23:57:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa11722; 30 Jul 96 23:56 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa23659; 30 Jul 96 23:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA25128 for dbi-users-real; Tue, 30 Jul 1996 12:46:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from router.kreaktiv.com (root@router.kreaktiv.com [194.233.255.62]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA25124 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 12:46:55 -0700
Received: from router.kreaktiv.com ([194.233.255.42]) 
          by router.kreaktiv.com (8.7.5/8.7.3) with SMTP id VAA15913 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 21:56:04 +0200
Message-ID: <31FE693D.1F26@router.kreaktiv.com>
Date: Tue, 30 Jul 1996 21:57:49 +0200
From: Sven Sternberger <sterni@kreaktiv.com>
Organization: kreAktiv
X-Mailer: Mozilla 2.01Gold (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: report module for perl/dbi/dbd
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi friends of databases,

i just start programming perl5 seriously. My project is to
write a CGI-Script that can produce a html formatted report 
of an sql view. My hope is that there are modules which support the 
report generating this means stuff like before group starts do ..., 
after report do (something like Informix-4GL functions, not CGI.pm)

Thanx for help.

---------------
Sven Sternberger (sterni@router.kreaktiv.com)

I go fuck!

	Helge Schneider
---------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04036-53@oink>;
          Wed, 31 Jul 1996 07:42:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838774273:17652:2; Wed, 31 Jul 96 01:51:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17438; 31 Jul 96 1:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA25614 for dbi-users-real; Tue, 30 Jul 1996 15:10:13 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns1.eds.com (ns1.eds.com [192.85.154.78]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA25610 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 15:10:11 -0700
Received: by ns1.eds.com (hello) id SAA12470; Tue, 30 Jul 1996 18:09:59 -0400
Received: from geronimo.mmts.eds.com (geronimo.mmts.eds.com [148.94.38.71]) 
          by nnsa.eds.com (8.7.5/8.7.3) with ESMTP id SAA07622;
          Tue, 30 Jul 1996 18:09:26 -0400 (EDT)
Received: from quasi.mmts.eds.com (quasi [148.94.230.18]) 
          by geronimo.mmts.eds.com (8.7.5/8.7.3) with SMTP id RAA24353;
          Tue, 30 Jul 1996 17:08:38 -0500 (CDT)
Received: by quasi.mmts.eds.com with Microsoft Mail 
          id <01BB7E39.90F60AE0@quasi.mmts.eds.com>;
          Tue, 30 Jul 1996 17:07:19 -0500
Message-ID: <01BB7E39.90F60AE0@quasi.mmts.eds.com>
From: Josh Oh <joh@mmts.eds.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Cc: "'descarte@hermetica.com'" <descarte@hermetica.com>
Subject: DBD:Informix - Error In Compile
Date: Tue, 30 Jul 1996 17:07:17 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

I am attempting to run the Makefile for DBD-Informix-0.20pl1 and am getting
the errors on compilation of Informix.c.

I am attaching the output from for 'make realclean', 'perl Makefile.PL', and 'make'.
I am also attaching the output of " perl -e 'use Config; print Config::myconfig()' ".
I am using Informix version 7.1, ESQL version 7.20.UC2, and perl 5.02.01.

Thanks for any help you can provide.

Josh Oh
joh@mmts.eds.com

=================================================
Script started on Tue Jul 30 16:30:21 1996

widow{joh}: make realclean
rm -rf Informix.c ./blib Makefile.aperl ./blib/arch/auto/DBD/Informix/extralibs.all 
       perlmain.c mon.out core so_locations pm_to_blib *~ */*~ */*/*~ *.o *.a 
       perl.exe Informix.bs Informix.bso Informix.def Informix.exp
mv Makefile Makefile.old 2>/dev/null
rm -rf ./blib/lib/auto/DBD/Informix ./blib/arch/auto/DBD/Informix
rm -f ./blib/arch/auto/DBD/Informix/Informix.so 
      ./blib/arch/auto/DBD/Informix/Informix.bs
rm -f ./blib/arch/auto/DBD/Informix/Informix.a
rm -rf Makefile Makefile.old

widow{joh}: perl 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] 7
Using Informix version 7 in /disk2/informix
Informix sysliblist: -L/disk2/informix/lib -L/disk2/informix/lib/esql 
                     -lsql -lasf -lgen -los -lm
System: perl5.00201 irix falcon 5.3 11091812 ip22  IP22-irix dl_dlopen.xs
Compiler: cc -O -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 
             -I/usr/local/include -DLANGUAGE_C -DEMBED

Checking if your kit is complete...
Warning: the following files are missing in your kit:
        Makefile
Please inform the author.
Writing Makefile for DBD::Informix

widow{joh}: make
cp Informix.pm ./blib/lib/DBD/Informix.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/IP22-irix/5.00201 -I/usr/local/lib/perl5
                      /usr/local/lib/perl5/ExtUtils/xsubpp -typemap 
                      /usr/local/lib/perl5/ExtUtils/typemap Informix.xs >Informix.tc 
                      && mv Informix.tc Informix.c
Please specify prototyping behavior for Informix.xs (see perlxs manual)
cc -c -I/disk2/informix/incl/esql -I/usr/local/lib/perl5/IP22-irix/5.00201/DBI 
   -I/usr/local/lib/perl5/site_perl/IP22-irix/DBI 
   -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 -I/usr/local/include 
   -DLANGUAGE_C -DEMBED -O    -DVERSION=\"0.20pl1\" -DXS_VERSION=\"0.20pl1\"  
   -I/usr/local/lib/perl5/IP22-irix/5.00201/CORE  Informix.c
cfe: Error: /usr/local/lib/perl5/IP22-irix/5.00201/CORE/perl.h, line 1367: Syntax Error
 extern   sigjmp_buf    top_env ;
 --------------------   ^
cfe: Error: /usr/local/lib/perl5/IP22-irix/5.00201/CORE/perl.h, line 1367: Empty declaration specifiers (3.5)
 extern   sigjmp_buf    top_env ;
 --------------------   ^
make: *** [Informix.o] Error 1

widow{joh}: exit

script done on Tue Jul 30 16:31:13 1996
=================================================
perl -e 'use Config; print Config::myconfig()

Summary of my perl5 (5.0 patchlevel 2 subversion 1) configuration:
  Platform:
    osname=irix, osver=5, archname=IP22-irix
    uname='irix falcon 5.3 11091812 ip22 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -I/usr/local/include -DLANGUAGE_C -DEMBED'
    ccflags ='-D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 -I/usr/local/include -DLANGUAGE_C -DEMBED'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=1, d_casti32=define, d_castneg=
    intsize=4, alignbytes=8, usemymalloc=n, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lmalloc -lsun -lm -lc -lcrypt -lbsd -lPW
    libc=/usr/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags=' ', lddlflags='-shared -L/usr/local/lib'

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04036-61@oink>;
          Wed, 31 Jul 1996 07:43:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838777165:09546:1; Wed, 31 Jul 96 02:39:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08980; 31 Jul 96 2:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA26064 for dbi-users-real; Tue, 30 Jul 1996 18:32:15 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from unixg.ubc.ca (mail.unixg.ubc.ca [137.82.27.14]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA26060 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 18:32:14 -0700
Received: from curio.resnet.ubc.ca (srtb0211a14.resnet.ubc.ca [142.103.36.14]) 
          by unixg.ubc.ca (8.7.5/8.7.3) with SMTP id SAA15053 
          for <dbi-users@fugue.com>; Tue, 30 Jul 1996 18:32:04 -0700 (PDT)
Message-ID: <31FEB765.161F@unixg.ubc.ca>
Date: Tue, 30 Jul 1996 18:31:18 -0700
From: Chris Conover <conover@unixg.ubc.ca>
Reply-To: conover@unixg.ubc.ca
Organization: Univeristy of British Columbia
X-Mailer: Mozilla 3.0b5aGold (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: finding information on DBD-Oracle interface and function calls
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Everyone,

I about to embark on my first perl/cgi/oracle project and am trying to
get some info on the DBD-Oracle and/or DBI-0.071 libraries etc.. 
Specifically, I have found and downloaded the libraries themselves, but
do not see documentation on the function calls and interface etc. 
Should I assume that I just use standard calls used in Oracle itself? 
This is also my first exposure to Oracle.  I suppose what I was hoping
for is a document describing how to go about accessing a database etc. 
The actual database that I am dealing with is quite simple so it
shouldn't be too bad.

So to some up everything: where is a good place to start?

I do have "Programming Perl" and "CGI Programming" by O'Riley and have
just recently picked up a book on Oracle but so far haven't seen much on
what I am doing.

thanks,

Chris Conover
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07892-5@oink>;
          Wed, 31 Jul 1996 15:05:15 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838820637:15406:3; Wed, 31 Jul 96 14:43:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa14235; 31 Jul 96 14:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA26753 for dbi-users-real; Wed, 31 Jul 1996 06:13:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from proxy.midamerican.com (firewall-user@[208.128.122.130]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA26749 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 06:13:29 -0700
From: sjhoutkooper@midamerican.com
Received: by proxy.midamerican.com; id IAA22354;
          Wed, 31 Jul 1996 08:11:18 -0500 (CDT)
Received: from mailgate.midamerican.com(10.48.0.12) by proxy.midamerican.com 
          via smap (V3.1) id xma022349; Wed, 31 Jul 96 08:11:02 -0500
Received: by sic001.midamerican.com; Wed, 31 Jul 96 8:13:05 CDT
Date: Wed, 31 Jul 96 8:11:41 CDT
Message-ID: <vines.Pzb7+BipzlA@sic001.midamerican.com>
X-Priority: 3 (Normal)
To: dbi-users <dbi-users@fugue.com>
Subject: unsubscribe SJHoutkooper@midamerican.com
X-Incognito-SN: 1127
X-Incognito-Format: VERSION=2.01a ENCRYPTED=NO

unsubscribe sjhoutkooper@midamerican.com

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
   Steve Houtkooper                     \ \ | | | / / 
SJHoutkooper@MidAmerican.com            |           |
   Woody@Pionet.net                     (.)       (.)
                                ====oOO======(_)======OOo====
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <08682-0@oink>;
          Wed, 31 Jul 1996 15:30:53 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838822489:05835:5; Wed, 31 Jul 96 15:14:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05703; 31 Jul 96 15:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA26805 for dbi-users-real; Wed, 31 Jul 1996 07:08: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 HAA26797 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 07:08:24 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ae10635; 31 Jul 96 14:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac00941; 31 Jul 96 15:05 +0100
Received: from toad by oink with SMTP (PP) id <07732-0@oink>;
          Wed, 31 Jul 1996 14:19:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21508;
          Wed, 31 Jul 1996 14:19:36 +0000
Date: Wed, 31 Jul 1996 14:19:36 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607311319.AA21508@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: one more Q
Cc: RFSIS.DPRICE@capital.ge.com
X-Sun-Charset: US-ASCII
content-length: 3949
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From RFSIS.DPRICE@capital.ge.com  Wed Jul 31 07:52:14 1996
From: RFSIS.DPRICE@capital.ge.com
X400-Originator: RFSIS.DPRICE@capital.ge.com
X400-Recipients: Tim.Bunce@ig.co.uk
To: "timbo(a)ig.co.uk" <Tim.Bunce@ig.co.uk>
Subject: DBperl Q's
Date: Tue, 30 Jul 1996 16:23:14 -0400

--- Received from RFSIS.DPRICE  (203) 357-6506      07/30/96 15.58
  -> CENTRAL.OAS           OPEN ADDRESSING


Tim -
   Let me start by saying that I'm excited about using DBperl to access
our Oracle databases.  It is a straight forward, easy to understand
toolkit.  I have a couple of questions that I hope you can help me with.
   1 - I've successfully downloaded DBI v0.71 and DBD v0.36 and
installed them.  I also downloaded the API Specification for DBI.  It
seems as though the description of the DBI functions don't match what I
see in examples I've found (e.g. the spec mentions db_connect() whereas
in code I've seen and used object notation $drh->connect().  Is there an
up-to-date specification?
   2 - I've successfully loaded the Oracle driver, connected to the
database, and issued a query.  But, when perl hits the $dbh-disconnect
statement it complains.  The message I get is: Bad free() ignored at
test.pl line 39. test.pl is my perl script.
   This script is to pull data from a simple database and display the
results in an html page.  I get the above message if I run the script
from the command line.  If I try and load the CGI script into my browser
(Netscape Gold 3.0beta), I get a Server Error telling me to look at the
error log.  The log says:
   failure: for host my.ip.address trying to GET
/cgi-bin/dprice/test.pl, cgi-parse-output reports: the CGI program
/tssg/ns-http/cgi-bin/dprice/test.pl did not produce a valid header name
without value: got line "bad free() ignored at
/tssg/ns-http/cgi-bin/dprice/test.pl line 39.")
   The generated HTML looks fine, so I assume that when I get rid of
this error all should work fine.  Thanks in advance for any help you can
give me.  Below is a copy of my script.
- Dave Price (rfsis.dprice@capital.ge.com)

#!/usr/bin/perl -w

use DBI;

MAIN:
{
   $ENV{'ORACLE_HOME'} = '/data2/oracle/7.2';
   $ENV{'ORACLE_SID'} = 'dev03';
   $drh = DBI->install_driver('Oracle');
   print "ERROR : install driver failed\n" unless $drh;

   $dbh = $drh->connect('dev03', 'dprice', 'meghan');
   print "ERROR : Unable to connect to database.\n" unless $dbh;

   $cursor = $dbh->prepare("SELECT table_name FROM user_tables");

   if (!defined($cursor))
   {
      print "ERROR : Unable to prepare SQL statement.\n";
      die;
   }

   $cursor->execute;

   print "Content-type: text/html\n\n";
   print "<html>\n";
   print "<title>Some title</title>\n";
   print "<body bgcolor=\"#ffffff\">\n";

   while ($field = $cursor->fetchrow)
   {
      print "Field: $field\n";
   }
   print "No more found.\n";
   print "</body></html>\n";

   $cursor->finish;

   $dbh->disconnect;
}
exit;

OUTPUT....
Content-type: text/html

<html>
<title>Some title</title>
<body bgcolor="#ffffff">
Field: CATEGORIES
Field: CATEGORY_ITEMS
Field: CLASSES
No more found.
</body></html>
Bad free() ignored at test.pl line 39.




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


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

From RFSIS.DPRICE@capital.ge.com  Wed Jul 31 07:52:10 1996
From: RFSIS.DPRICE@capital.ge.com
X400-Originator: RFSIS.DPRICE@capital.ge.com
X400-Recipients: Tim.Bunce@ig.co.uk
To: "timbo(a)ig.co.uk" <Tim.Bunce@ig.co.uk>
Subject: one more Q
Date: Tue, 30 Jul 1996 16:53:36 -0400

--- Received from RFSIS.DPRICE  (203) 357-6506      07/30/96 16.30
--- Received from RFSIS.DPRICE  (203) 357-6506      07/30/96 15.58
  -> CENTRAL.OAS           OPEN ADDRESSING


Tim -
   There is one other question I meant to ask you in my previous message.
Is there a way to execute PL/SQL procedures using DBperl?
- Dave Price (rfsis.dprice@capital.ge.com)




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

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <08682-2@oink>;
          Wed, 31 Jul 1996 15:31:03 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838822572:07100:1; Wed, 31 Jul 96 15:16:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06006; 31 Jul 96 15:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA26795 for dbi-users-real; Wed, 31 Jul 1996 07:08: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 HAA26789 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 07:08:20 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa10718; 31 Jul 96 14:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad00941; 31 Jul 96 15:05 +0100
Received: from toad by oink with SMTP (PP) id <07771-0@oink>;
          Wed, 31 Jul 1996 14:30:33 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21539;
          Wed, 31 Jul 1996 14:30:27 +0000
Date: Wed, 31 Jul 1996 14:30:27 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607311330.AA21539@toad.ig.co.uk>
To: cmice@mfg.mke.ab.com, desilva@ind70.industry.net
Subject: Re: Help building DBD-Oracle for Sol2.5
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 709
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "Rujith S. de Silva" <desilva@ind70.industry.net>
> 
> dev ~> find $ORACLE_HOME/rdbms -name \*.h -print
> /home/oracle/product/7.1.4/rdbms/demo/ocidfn.h
> /home/oracle/product/7.1.4/rdbms/demo/ocidem.h
> /home/oracle/product/7.1.4/rdbms/demo/ociapr.h
> /home/oracle/product/7.1.4/rdbms/demo/ocikpr.h
> /home/oracle/product/7.1.4/rdbms/demo/oratypes.h
> dev ~> 
> 
> My DBA also forgot to install the rdbms package completely (specifically,
> the stuff under demo), and I had to prod him to do so.
> 
> A question of my own: is this the right place for these files?  How come
> the OCI header files are installed in a `demo' directory?

Oracle have a rather sad approach to interface stability.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09598-0@oink>;
          Wed, 31 Jul 1996 18:20:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838833232:16084:0; Wed, 31 Jul 96 18:13:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15169; 31 Jul 96 18:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa06696; 31 Jul 96 18:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27373 for dbi-users-real; Wed, 31 Jul 1996 10:00:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mixer.visi.com (amit@mixer.visi.com [204.73.178.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA27363 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 09:59:56 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.4/8.7.5) id LAA11995 
          for dbi-users@fugue.com; Wed, 31 Jul 1996 11:59:54 -0500 (CDT)
From: Amit Bhati <amit@visi.com>
Posted-Date: Wed, 31 Jul 1996 11:59:54 -0500 (CDT)
Message-Id: <199607311659.LAA11995@mixer.visi.com>
Subject: DBD-Oracle0.36/Perl5.003/AIX4.1.4 make fails.
To: dbi-users@fugue.com
Date: Wed, 31 Jul 1996 11:59:53 -0500 (CDT)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

I am using DBD-Oracle-0.36 with DBI-0.71 on Perl5.003 installed. 'perl
Makefile.PL' executes without errors. After that make fails. Here is a
script of running 'make'. Anybody have a clue why this is happening?

amit
--

maui:root>make
         LD_RUN_PATH="/opt/oracle/7.2.2/lib:/lib" ld -H512 -T512 -bhalt:4 -o 
 ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE 
 -bI:/perl/lib/rs6000/5.003/CORE/perl.exp -bE:Oracle.exp -e _nostart -lc 
 -L/usr/local/lib Oracle.o  dbdimp.o /opt/oracle/7.2.2/lib/osntab.o
 /lib/crt0.o -L/opt/oracle/7.2.2/lib -locic -lsqlnet -lora -lsqlnet
 -lora -lnlsrtl3 -lc3v6  
 -lcore3 -lnlsrtl3 -lcore3 -lm -lld -lm -lc 
 0706-317 ERROR: Unresolved or undefined symbols detected:
                  Symbols in error (followed by references) are
                  dumped to the load map.
                  The -bloadmap:<filename> option will create a load map.
 .__mulh
 .__divss
 .__divus
 .__quous
 .__quoss
 The error code from the last failed command is 8.
 
 Make Quitting.
maui:root>
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09298-6@oink>;
          Wed, 31 Jul 1996 18:01:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838826698:24155:3; Wed, 31 Jul 96 16:24:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23929; 31 Jul 96 16:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA26913 for dbi-users-real; Wed, 31 Jul 1996 08:09:59 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA26909 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 08:09:58 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id LAA01004;
          Wed, 31 Jul 1996 11:10:46 -0400 (EDT)
Message-Id: <199607311510.LAA01004@cse.psu.edu>
X-Mailer: exmh version 1.6.7 5/3/96
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: dbi-users@fugue.com
cc: Christopher Ice <cmice@mfg.mke.ab.com>, Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 31 Jul 1996 11:10:21 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2, 
perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global 
destruction." warning. The README shows how to surpress it, but Tim are you 
still looking for stack traces? Can someone explain what these Bad Free's 
really mean? Has Oracle introduced a memory leak into 7.3.2?
Thanks,
John

------- Forwarded Message


Date: Wed, 31 Jul 1996 08:03:40 -0500
To: John D Groenveld <groenvel@cse.psu.edu>
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: Re: Help building DBD-Oracle for Sol2.5

>> I've already built and installed DBI-0.71, and am trying to build
>> DBD-Oracle-0.35 (I know there's a newer version).
>Ok, I'll bite...why not download the newest?
>
>> gcc 2.5.6 (old, I know)
>I'll bite again...gcc2.7.2 will build for you out of the box, why not install
>it?
>
>This evening, Im going to build DBD-Oracle against my 7.3.2 instance, but I
>wont be able to help you because I'll be at the latest releases of gcc and
>DBD-Oracle.

Ok...you badgered me enough!  ;-)  I got the pre-built gcc2.7.2 from
sunsite.unc.edu.  That's now installed.

So, you have any recommend make config for DBD-Oracle-0.37 and gcc under
solaris?

I'm not a build expert, so I think I'm missing a lot of the switches for
the compiler, plus I think the stock Makefile is looking for cc as the
linker.  Also, I'm unsure where to put in $ORACLE_HOME/lib/__fstd.o per the
readme.

Chris



------- End of Forwarded Message



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09302-7@oink>;
          Wed, 31 Jul 1996 18:02:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838830527:16932:3; Wed, 31 Jul 96 17:28:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16705; 31 Jul 96 17:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA27138 for dbi-users-real; Wed, 31 Jul 1996 09:19:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from franklin.cris.com (franklin.cris.com [199.3.12.31]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA27134 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 09:19:28 -0700
Received: from darius.cris.com (darius [199.3.12.32]) 
          by franklin.cris.com (8.7.5/(96/06/11 2.45)) id MAA20552;
          Wed, 31 Jul 1996 12:19:21 -0400 (EDT) [1-800-745-2747 The Concentric Network]
Errors-To: dchou@cris.com
Received: from Frenchroast ([198.95.194.144]) by darius.cris.com (8.7.5) 
          id MAA03632; Wed, 31 Jul 1996 12:19:08 -0400 (EDT)
Message-ID: <31FF8753.7FFA@concentric.net>
Date: Wed, 31 Jul 1996 09:18:27 -0700
From: Dao-liang Chou <dchou@cris.com>
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: Christopher Ice <cmice@mfg.mke.ab.com>
CC: John D Groenveld <groenvel@cse.psu.edu>, dbi-users@fugue.com, 
    Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
References: <v03007806ae252daf8e3b@[130.151.91.215]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I just went through the process of using gcc to install Perl 5.003 and
DBI 0.71, and I ran into the same problem with the "optional language
package not installed" error.  I finally stumbled my way through it. 
What exactly are you trying to install, gcc, Perl, or DBI, when you're
using the "perl Makefile.PL" command?

Christopher Ice wrote:
> 
> At 11:10 AM -0400 7/31/96, John D Groenveld wrote:
> >Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2,
> >perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global
> >destruction." warning. The README shows how to surpress it, but Tim are you
> >still looking for stack traces? Can someone explain what these Bad Free's
> >really mean? Has Oracle introduced a memory leak into 7.3.2?
> 
> I'm still working on the install...the stock Makefile (ie. generated from
> 'perl Makefile.PL') wants to use cc instead of gcc.  The brain-dead cc is
> installed, but "optional language package not installed" so that doesn't
> work.
> 
> I want to run the make w/gcc, so I'm looking for how to generate the
> makefile so it's happy w/gcc instead of cc.  Just saying:
> 
> perl Makefile.PL CC=gcc
> 
> is not enough to generate a good Makefile to make a successful build w/gcc.
> What did I just say...??  ;-)
> 
> Chris
> 
> --
>                                    --------
>    +------------------------------| _   /| |------------------------------+
>    | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
>    | E-mail: CMIce@mfg.mke.ab.com |   ( )  | 1201 S. Second St.           |
>    | Voice:  414.382.2136         |    U   | Milwaukee, WI 53204 USA      |
>    +------------------------------|  Ack!  |------------------------------+
>        My opinions do not reflect  --------  the views of my employer.

-- 
Dao-liang Chou
dchou@concentric.net
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09886-1@oink>;
          Wed, 31 Jul 1996 18:33:58 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838834161:19771:2; Wed, 31 Jul 96 18:29:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa18928; 31 Jul 96 18:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27501 for dbi-users-real; Wed, 31 Jul 1996 10:22:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA27497 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 10:22:12 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com) 
          by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA14776;
          Wed, 31 Jul 96 11:24:36 CDT
X-Sender: ice@camg2.mfg.mke.ab.com
Message-Id: <v03007809ae25394947f5@[130.151.91.215]>
In-Reply-To: <31FF8753.7FFA@concentric.net>
References: <v03007806ae252daf8e3b@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 31 Jul 1996 11:24:50 -0500
To: Dao-liang Chou <dchou@cris.com>
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: John D Groenveld <groenvel@cse.psu.edu>, dbi-users@fugue.com, 
    Tim Bunce <Tim.Bunce@ig.co.uk>

>I just went through the process of using gcc to install Perl 5.003 and
>DBI 0.71, and I ran into the same problem with the "optional language
>package not installed" error.  I finally stumbled my way through it.
>What exactly are you trying to install, gcc, Perl, or DBI, when you're
>using the "perl Makefile.PL" command?

Just the DBD-Oracle-0.37 module.  gcc, Perl, and DBI are installed already.

Chris

--
                                   --------
   +------------------------------| _   /| |------------------------------+
   | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
   | E-mail: CMIce@mfg.mke.ab.com |   ( )  | 1201 S. Second St.           |
   | Voice:  414.382.2136         |    U   | Milwaukee, WI 53204 USA      |
   +------------------------------|  Ack!  |------------------------------+
       My opinions do not reflect  --------  the views of my employer.


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09886-3@oink>;
          Wed, 31 Jul 1996 18:34:06 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838834321:21796:1; Wed, 31 Jul 96 18:32:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa21010; 31 Jul 96 18:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27512 for dbi-users-real; Wed, 31 Jul 1996 10:24:37 -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 KAA27508 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 10:24:35 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab08133; 31 Jul 96 18:23 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa13694; 31 Jul 96 18:16 +0100
Received: from toad by oink with SMTP (PP) id <09508-0@oink>;
          Wed, 31 Jul 1996 18:16:01 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22309;
          Wed, 31 Jul 1996 18:15:51 +0000
Date: Wed, 31 Jul 1996 18:15:51 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607311715.AA22309@toad.ig.co.uk>
To: dbi-users@fugue.com, groenvel@cse.psu.edu
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: cmice@mfg.mke.ab.com
X-Sun-Charset: US-ASCII
content-length: 1459
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: John D Groenveld <groenvel@cse.psu.edu>
> 
> Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2, 
> perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global 
> destruction." warning. The README shows how to surpress it, but Tim are you 
> still looking for stack traces? Can someone explain what these Bad Free's 
> really mean? Has Oracle introduced a memory leak into 7.3.2?

Not a leak. They (I think) are calling free with a bad value (probably a null).

I've got purify installed now... but no time to use it. One day soon (ish).
Since I'm using 7.3.2 now the Bad free's are starting to bug me so I'm
more likely to try to do something about it. But it's quite possible, even
probable, that it's an Oracle problem I can't do anything about.

Note that Perl5.003_01 will include a patch of mine which will allow you
to silence perl's malloc via an environment variable. If you want to
you could apply the patch now:

diff -c2 ./malloc.c.2 ./malloc.c
*** ./malloc.c.2    Thu Mar 28 10:17:44 1996
--- ./malloc.c  Thu Mar 28 10:29:39 1996
***************
*** 273,276 ****
--- 273,283 ----
  #else
    if (op->ov_magic != MAGIC) {
+       static bad_free_warn = -1;
+       if (bad_free_warn == -1) {
+           char *pbf = getenv("PERL_BADFREE");
+           bad_free_warn = (pbf) ? atoi(pbf) : 1;
+       }
+       if (!bad_free_warn)
+           return;
  #ifdef RCHECK
        warn("%s free() ignored",


Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-6@oink>;
          Wed, 31 Jul 1996 22:45:38 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838843720:16070:1; Wed, 31 Jul 96 21:08:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15256; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27479 for dbi-users-real; Wed, 31 Jul 1996 10:16:14 -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 KAA27475 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 10:16:12 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa26276; 31 Jul 96 17:16 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa11236; 31 Jul 96 18:11 +0100
Received: from toad by oink with SMTP (PP) id <09466-0@oink>;
          Wed, 31 Jul 1996 18:10:38 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22288;
          Wed, 31 Jul 1996 18:10:24 +0000
Date: Wed, 31 Jul 1996 18:10:24 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607311710.AA22288@toad.ig.co.uk>
To: groenvel@cse.psu.edu, cmice@mfg.mke.ab.com
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1197
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Christopher Ice <cmice@mfg.mke.ab.com>
> 
> At 11:10 AM -0400 7/31/96, John D Groenveld wrote:
> >Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2,
> >perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global
> >destruction." warning. The README shows how to surpress it, but Tim are you
> >still looking for stack traces? Can someone explain what these Bad Free's
> >really mean? Has Oracle introduced a memory leak into 7.3.2?
> 
> I'm still working on the install...the stock Makefile (ie. generated from
> 'perl Makefile.PL') wants to use cc instead of gcc.  The brain-dead cc is
> installed, but "optional language package not installed" so that doesn't
> work.
> 
> I want to run the make w/gcc, so I'm looking for how to generate the
> makefile so it's happy w/gcc instead of cc.  Just saying:
> 
> perl Makefile.PL CC=gcc
> 
> is not enough to generate a good Makefile to make a successful build w/gcc.
> What did I just say...??  ;-)
> 
> Chris

MakeMaker will use whatever compiler and related settings were used to
build perl. You must use the same compiler for perl and any extensions.
For you this may mean rebuilding perl with gcc.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-8@oink>;
          Wed, 31 Jul 1996 22:45:47 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838843722:16032:3; Wed, 31 Jul 96 21:08:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15352; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA26960 for dbi-users-real; Wed, 31 Jul 1996 08:38:37 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA26955 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 08:38:30 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com) 
          by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA14397;
          Wed, 31 Jul 96 10:38:14 CDT
X-Sender: ice@camg2.mfg.mke.ab.com
Message-Id: <v03007806ae252daf8e3b@[130.151.91.215]>
In-Reply-To: <199607311510.LAA01004@cse.psu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 31 Jul 1996 10:38:29 -0500
To: John D Groenveld <groenvel@cse.psu.edu>
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: dbi-users@fugue.com, Tim Bunce <Tim.Bunce@ig.co.uk>

At 11:10 AM -0400 7/31/96, John D Groenveld wrote:
>Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2,
>perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global
>destruction." warning. The README shows how to surpress it, but Tim are you
>still looking for stack traces? Can someone explain what these Bad Free's
>really mean? Has Oracle introduced a memory leak into 7.3.2?

I'm still working on the install...the stock Makefile (ie. generated from
'perl Makefile.PL') wants to use cc instead of gcc.  The brain-dead cc is
installed, but "optional language package not installed" so that doesn't
work.

I want to run the make w/gcc, so I'm looking for how to generate the
makefile so it's happy w/gcc instead of cc.  Just saying:

perl Makefile.PL CC=gcc

is not enough to generate a good Makefile to make a successful build w/gcc.
What did I just say...??  ;-)

Chris

--
                                   --------
   +------------------------------| _   /| |------------------------------+
   | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
   | E-mail: CMIce@mfg.mke.ab.com |   ( )  | 1201 S. Second St.           |
   | Voice:  414.382.2136         |    U   | Milwaukee, WI 53204 USA      |
   +------------------------------|  Ack!  |------------------------------+
       My opinions do not reflect  --------  the views of my employer.


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-10@oink>;
          Wed, 31 Jul 1996 22:45:57 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838843723:16041:2; Wed, 31 Jul 96 21:08:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15421; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA27037 for dbi-users-real; Wed, 31 Jul 1996 08:57:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.newbridge.com (ns.newbridge.com [192.75.23.67]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA27033 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 08:57:55 -0700
Received: (from adm@localhost) by ns.newbridge.com (8.6.12/8.6.12) id LAA16910 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 11:57:47 -0400
Received: from portero(192.75.23.66) by ns via smap (V1.3) id sma016816;
          Wed Jul 31 11:57:26 1996
Received: from ckserver.crosskeys.com ([192.168.215.48]) 
          by kanmaster.ca.newbridge.com (8.6.12/8.6.12) with ESMTP id LAA24239 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 11:57:22 -0400
Received: from ck41.crosskeys (ck41 [192.168.214.85]) 
          by ckserver.crosskeys.com (8.6.12/8.6.12) with ESMTP id LAA11808 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 11:57:21 -0400
Received: by ck41.crosskeys (SMI-8.6/SMI-SVR4) id LAA00592;
          Wed, 31 Jul 1996 11:56:41 -0400
Date: Wed, 31 Jul 1996 11:56:41 -0400
Message-Id: <199607311556.LAA00592@ck41.crosskeys>
From: Ken Workun <kenw@crosskeys.com>
To: dbi-users@fugue.com
Subject: Informix Module needed


Hello all.  I appologize if this question has been answered before but
I am new to the group and could not find the information at the CPAN
sites I visited.

I am looking for the module to interface with Informix
databases. According to the documentation, such a beast exists, but I
cannot seem to locate it anywhere on the ftp sites....

Can someone point me to a specific site which contains the Informix
module or am I hunting for a phantom.

Cheers,

Ken

-- 
"The fact that a believer is happier than a skeptic is no more to the point
than the fact that a drunken man is happier than a sober one.  The happiness
of credulity is a cheap and dangerous quality."  George Bernard Shaw
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-11@oink>;
          Wed, 31 Jul 1996 22:46:01 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838843724:16139:1; Wed, 31 Jul 96 21:08:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15575; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA26801 for dbi-users-real; Wed, 31 Jul 1996 07:08:26 -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 HAA26796 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 07:08:23 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa10457; 31 Jul 96 14:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af00941; 31 Jul 96 15:05 +0100
Received: from toad by oink with SMTP (PP) id <07853-0@oink>;
          Wed, 31 Jul 1996 14:55:26 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21603;
          Wed, 31 Jul 1996 14:55:18 +0000
Date: Wed, 31 Jul 1996 14:55:18 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607311355.AA21603@toad.ig.co.uk>
To: stevea@princeton.edu, dbi-users@fugue.com
Subject: Re: Perl 5 and Sybase
X-Sun-Charset: US-ASCII
content-length: 570
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve Albin <stevea@princeton.edu>
> 
> Hi.
> 
> I've been reading the mail here, and the archives, and checking many
> cross-references and links and FAQs, but I haven't seen anything recent
> about Sybase and/or sybperl and Perl 5.
> 
> Is there active work on the sybperl DBD?
> 
> It seemed to be version 0.01 from many months ago.
> 
> Is it realistic for me to try to use Perl 5 as a gateway to a
> Sybase database for writing production scripts?
> 
> Any pointers on web access to Sybase would be appreciated.

Use the Sybperl module(s) from CPAN.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-12@oink>;
          Wed, 31 Jul 1996 22:46:05 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838843725:16111:1; Wed, 31 Jul 96 21:08:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15483; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA26849 for dbi-users-real; Wed, 31 Jul 1996 07:33:37 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dns.easynet.it (root@dns.easynet.it [151.99.189.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA26845 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 07:33:33 -0700
Received: from intel90 (ppp32.easynet.it [151.99.189.32]) 
          by dns.easynet.it (8.6.12/8.6.9) with SMTP id QAA07581 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 16:32:16 +0100
Message-ID: <31FF6E57.4ECE@easy1.easynet.it>
Date: Wed, 31 Jul 1996 16:31:51 +0200
From: Vito Franzoni <franzo@dns.easynet.it>
Organization: Synergon s.r.l.
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 franzo@easy1.easynet.it
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11458-1@oink>;
          Wed, 31 Jul 1996 23:26:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838835124:07175:0; Wed, 31 Jul 96 18:45:24 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa06479; 31 Jul 96 18:44 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa14970; 31 Jul 96 18:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27588 for dbi-users-real; Wed, 31 Jul 1996 10:36:07 -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 KAA27584 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 10:36:02 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ad00502; 31 Jul 96 17:35 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa19365; 31 Jul 96 18:28 +0100
Received: from toad by oink with SMTP (PP) id <09760-0@oink>;
          Wed, 31 Jul 1996 18:27:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22364;
          Wed, 31 Jul 1996 18:27:28 +0000
Date: Wed, 31 Jul 1996 18:27:28 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607311727.AA22364@toad.ig.co.uk>
To: dbi-users@fugue.com, amit@visi.com
Subject: Re: DBD-Oracle0.36/Perl5.003/AIX4.1.4 make fails.
X-Sun-Charset: US-ASCII
content-length: 979
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Amit Bhati <amit@visi.com>
> 
> I am using DBD-Oracle-0.36 with DBI-0.71 on Perl5.003 installed. 'perl
> Makefile.PL' executes without errors. After that make fails. Here is a
> script of running 'make'. Anybody have a clue why this is happening?

>          LD_RUN_PATH="/opt/oracle/7.2.2/lib:/lib" ld -H512 -T512 -bhalt:4 -o 
>  ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE 
>  -bI:/perl/lib/rs6000/5.003/CORE/perl.exp -bE:Oracle.exp -e _nostart -lc 
>  -L/usr/local/lib Oracle.o  dbdimp.o /opt/oracle/7.2.2/lib/osntab.o
>  /lib/crt0.o -L/opt/oracle/7.2.2/lib -locic -lsqlnet -lora -lsqlnet
>  -lora -lnlsrtl3 -lc3v6  
>  -lcore3 -lnlsrtl3 -lcore3 -lm -lld -lm -lc 
>  0706-317 ERROR: Unresolved or undefined symbols detected:
>                   Symbols in error (followed by references) are
>                   dumped to the load map.
>                   The -bloadmap:<filename> option will create a load map.

Fixed in DBD-Oracle-0.37.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11458-6@oink>;
          Wed, 31 Jul 1996 23:26:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838839952:29165:1; Wed, 31 Jul 96 20:05:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa29077; 31 Jul 96 20:05 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa08687; 31 Jul 96 20:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA28068 for dbi-users-real; Wed, 31 Jul 1996 11:58: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 LAA28064 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 11:58:30 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id TAA03705; Wed, 31 Jul 1996 19:50:04 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199607311850.TAA03705@fruitbat.mcqueen.com>
Subject: Re: Informix Module needed
To: Ken Workun <kenw@crosskeys.com>
Date: Wed, 31 Jul 1996 19:50:04 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199607311556.LAA00592@ck41.crosskeys> from "Ken Workun" at Jul 31, 96 11:56:41 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: 721


> Hello all.  I appologize if this question has been answered before but
> I am new to the group and could not find the information at the CPAN
> sites I visited.
> 
> I am looking for the module to interface with Informix
> databases. According to the documentation, such a beast exists, but I
> cannot seem to locate it anywhere on the ftp sites....
> 
> Can someone point me to a specific site which contains the Informix
> module or am I hunting for a phantom.

See:

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

> Ken

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11458-8@oink>;
          Wed, 31 Jul 1996 23:26:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838841184:12913:2; Wed, 31 Jul 96 20:26:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12677; 31 Jul 96 20:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA27166 for dbi-users-real; Wed, 31 Jul 1996 09:23:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA27159 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 09:23:45 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id MAA01911 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 12:24:41 -0400 (EDT)
Message-Id: <199607311624.MAA01911@cse.psu.edu>
X-Mailer: exmh version 1.6.7 5/3/96
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: dbi-users@fugue.com
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
In-reply-to: Your message of "Wed, 31 Jul 1996 09:18:27 PDT." <31FF8753.7FFA@concentric.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 31 Jul 1996 12:24:22 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

I suspect that his perl was built with SunC. I guess he'll have to build his 
DBD-Oracle with SunC as well?
John

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11458-22@oink>;
          Wed, 31 Jul 1996 23:30:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838848463:06280:0; Wed, 31 Jul 96 22:27:43 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa05946; 31 Jul 96 22:27 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa24008; 31 Jul 96 22:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA27902 for dbi-users-real; Wed, 31 Jul 1996 11:30:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailhub.stratus.com (mailhub.stratus.com [134.111.1.14]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA27898 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 11:30:29 -0700
Received: from zen (zen.cac.stratus.com [134.111.40.11]) 
          by mailhub.stratus.com (8.7.5/8.7.3) with SMTP id OAA04301 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 14:30:09 -0400 (EDT)
Received: from silvector.cac.stratus.com by zen (SMI-8.6/SMI-SVR4) id OAA09505;
          Wed, 31 Jul 1996 14:29:08 -0400
Received: by silvector.cac.stratus.com (NX5.67f2/NX3.0S) id AA16359;
          Wed, 31 Jul 96 14:29:09 -0400
Message-Id: <9607311829.AA16359@silvector.cac.stratus.com>
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Face: *W=O,$&$JNuSNudEF3_{XX{2L$~~.bw4]{GJ[vB7A.@(-e4&:kjc\(.=R.tWP8/@Afw5.bGi 
        j+Q&;}iIcjcc/]p-6xd^+0kG?|.['Y*5!/SZjSARk<.7fG:<&~c40~%"e9w%0m~8:;{D6<+N 
        ^2_`?kBFY1tZ;~v3:JJDf`+(NC[;@tq1.9OFDOt_yq:pv6,l=EE!P8HUn[]/RBOV_"=_3JS8 
        y
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.0)
Original-Received: by NeXT.Mailer (1.118.2)
PP-warning: Illegal Received field on preceding line
From: Jon Day <jonday@cac.stratus.com>
Date: Wed, 31 Jul 96 14:29:05 -0400
To: dbi-users@fugue.com


unsubscribe
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12087-0@oink>;
          Wed, 31 Jul 1996 23:44:14 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838852593:04676:2; Wed, 31 Jul 96 23:36:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa04095; 31 Jul 96 23:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA28982 for dbi-users-real; Wed, 31 Jul 1996 15:31:17 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from lns62.lns.cornell.edu (LNS62.LNS.CORNELL.EDU [128.84.219.62]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA28978 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 15:31:11 -0700
From: PVHP@LNS62.LNS.CORNELL.EDU
Received: from LNS62.LNS.CORNELL.EDU 
          by LNS62.LNS.CORNELL.EDU (PMDF V4.3-13 #13710) 
          id <01I7QDNIUYBM8WY0AC@LNS62.LNS.CORNELL.EDU>;
          Wed, 31 Jul 1996 18:30:45 -0400 (EDT)
Date: Wed, 31 Jul 1996 18:30:45 -0400 (EDT)
Subject: Re: DBperl Q's
To: RFSIS.DPRICE@capital.ge.com
Cc: dbi-users@fugue.com
Message-id: <01I7QDNIUYBO8WY0AC@LNS62.LNS.CORNELL.EDU>
X-VMS-To: IN%"RFSIS.DPRICE@capital.ge.com"
X-VMS-Cc: IN%"dbi-users@fugue.com"
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

Dave Price <rfsis.dprice@capital.ge.com> writes recently (31-JUL-1996):

>Peter -
>   Thanks for responding to my message.  I think I am already doing as you
>suggest.  Below is the script that I have written and the output that I
>get when I submit it from the command line.
>   It successfully loads the Oracle driver, connects to the database and
>issues a query. But, when perl hits the $dbh->disconnect statement it
>complains. The message I get is: Bad free() ignored at test.pl line 39.
>    test.pl is my script which is to pull data from a simple database and
>display the results in an html page. I get the above message if I run the
>script from the command line. If I try and load the CGI script into my
>browser (Netscape Gold 3.0beta), I get a Server Error telling me to look
>at the error log.  The log says:
>   failure: for host my.ip.address trying to GET
>/cgi-bin/dprice/test.pl, cgi-parse-output reports: the CGI program
>/tssg/ns-http/cgi-bin/dprice/test.pl did not produce a valid header name
>without value: got line "bad free() ignored at
>/tssg/ns-http/cgi-bin/dprice/test.pl line 39.")
>   The generated HTML looks fine, so I assume that when I get rid of
>this error all should work fine.  Thanks in advance for any help you can
>give me.
>- Dave Price (rfsis.dprice@capital.ge.com)

That sounds right to me. I'll bet that the message you see:

   Bad free() ignored at test.pl line 39.

is actually going to STDERR (rather than STDOUT) since these two filestreams 
are not necessarily in synch with each other (or because your http server is 
set up to sniff out anything on STDERR) it is generating the result you see via 
the browser.

Depending on what interactive shell you use you could redirect these output 
streams and verify my speculation. However, that is no reason that the call to 
the $dbh->disconnect; method should cause this trouble. I would look into that 
module to see what might be wrong (perhaps add some diagnostic print; 
statements). Also, I note that on CPAN the most recent version of DBI is 
DBI-0.71.tar.gz and you might want to upgrade to that if you have not already 
done so. I have CCed my response to you to the dbi-users@fugue.com list 
in the hope that anyone there might be able to assist you further with this 
problem.

Peter Prymmer
pvhp@lns62.lns.cornell.edu


>#!/usr/bin/perl -w
>
>use DBI;
>
>MAIN:
>{
>   $ENV{'ORACLE_HOME'} = '/data2/oracle/7.2';
>   $ENV{'ORACLE_SID'} = 'dev03';
>   $drh = DBI->install_driver('Oracle');
>   print "ERROR : install driver failed\n" unless $drh;
>
>   $dbh = $drh->connect('dev03', 'dprice', 'meghan');
>   print "ERROR : Unable to connect to database.\n" unless $dbh;
>
>   $cursor = $dbh->prepare("SELECT table_name FROM user_tables");
>
>   if (!defined($cursor))
>   {
>      print "ERROR : Unable to prepare SQL statement.\n";
>      die;
>   }
>
>   $cursor->execute;
>
>   print "Content-type: text/html\n\n";
>   print "<html>\n";
>   print "<title>Some title</title>\n";
>   print "<body bgcolor=\"#ffffff\">\n";
>
>   while ($field = $cursor->fetchrow)
>   {
>      print "Field: $field\n";
>   }
>   print "No more found.\n";
>   print "</body></html>\n";
>
>   $cursor->finish;
>
>   $dbh->disconnect;
>}
>exit;
>
>OUTPUT....
>Content-type: text/html
>
><html>
><title>Some title</title>
><body bgcolor="#ffffff">
>Field: CATEGORIES
>Field: CATEGORY_ITEMS
>Field: CLASSES
>No more found.
></body></html>
>Bad free() ignored at test.pl line 39.



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12165-0@oink>;
          Wed, 31 Jul 1996 23:56:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838853469:00963:4; Wed, 31 Jul 96 23:51:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00856; 31 Jul 96 23:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA29061 for dbi-users-real; Wed, 31 Jul 1996 15:47:01 -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 PAA29057 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 15:46:56 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ad16367; 31 Jul 96 23:46 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab16342; 31 Jul 96 23:44 +0100
Received: from toad by oink with SMTP (PP) id <12031-0@oink>;
          Wed, 31 Jul 1996 23:40:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23304;
          Wed, 31 Jul 1996 23:39:54 +0000
Date: Wed, 31 Jul 1996 23:39:54 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607312239.AA23304@toad.ig.co.uk>
To: groenvel@cse.psu.edu
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 681
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: John D Groenveld <groenvel@cse.psu.edu>
> 
> > Note that Perl5.003_01 will include a patch of mine which will allow you
> > to silence perl's malloc via an environment variable. If you want to
> > you could apply the patch now:
> 
> I think I'll stick with my 7.2.3 instance which is nice and stable. I get very nervous about auch work-arounds. Has anyone submitted this bug as a TAR?

I don't think the Bad free is anything to fear. I'm happily building a
mission critical system on 7.3.2 (and DBD::Oracle/Oraperl.pm :-) right now.

Tim.

p.s. The biggest pain was the withdrawl of Sql*Net V1 (yes we had notice
ages ago, but we were to lazy to change to V2 earlier :-).
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12859-3@oink>;
          Thu, 1 Aug 1996 03:28:20 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838856238:17843:2; Thu, 01 Aug 96 00:37:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17450; 1 Aug 96 0:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA27736 for dbi-users-real; Wed, 31 Jul 1996 11:02:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from master.hway.net (master.hway.net [207.100.8.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA27732 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 11:02:31 -0700
Received: from ns.hway.net by master.hway.net 
          via SMTP (951211.SGI.8.6.12.PATCH1042/951211.SGI) id OAA22812;
          Wed, 31 Jul 1996 14:01:48 -0400
Message-Id: <2.2.32.19960731200123.00754720@master.hway.net>
X-Sender: lucente@master.hway.net
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 31 Jul 1996 13:01:23 -0700
To: Tim Bunce <Tim.Bunce@ig.co.uk>
From: Mike Lucente <lucente@hway.net>
Subject: Re: Perl 5 and Sybase
Cc: dbi-users@fugue.com

I just checked CPAN and ran across the following ...

Requirements: Perl ver 3.0.27 or higher (4.036 strongly suggested!).
                 Sybase DB-Library (aka Open Client), 4.0 or higher

... my question: will Sybperl work with Perl 5 or greater?

At 02:55 PM 7/31/96 +0000, you wrote:
>
>> From: Steve Albin <stevea@princeton.edu>
>> 
>> Hi.
>> 
>> I've been reading the mail here, and the archives, and checking many
>> cross-references and links and FAQs, but I haven't seen anything recent
>> about Sybase and/or sybperl and Perl 5.
>> 
>> Is there active work on the sybperl DBD?
>> 
>> It seemed to be version 0.01 from many months ago.
>> 
>> Is it realistic for me to try to use Perl 5 as a gateway to a
>> Sybase database for writing production scripts?
>> 
>> Any pointers on web access to Sybase would be appreciated.
>
>Use the Sybperl module(s) from CPAN.
>
>Tim.
>
>
=======================
Mike Lucente
lucente@hway.net
Hiway Technologies, Inc.
http://www.hway.net   

When addressing support, please include your 
domain name or userid if a non-domain account
as well as any previous email dialog.

After hours - please reply to sales@hway.net
or support@hway.net

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12859-5@oink>;
          Thu, 1 Aug 1996 03:28:30 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838856244:17703:9; Thu, 01 Aug 96 00:37:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17596; 1 Aug 96 0:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27653 for dbi-users-real; Wed, 31 Jul 1996 10:43:14 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA27649 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 10:43:12 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id NAA02835;
          Wed, 31 Jul 1996 13:43:35 -0400 (EDT)
Message-Id: <199607311743.NAA02835@cse.psu.edu>
X-Mailer: exmh version 1.6.7 5/3/96
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: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
In-reply-to: Your message of "Wed, 31 Jul 1996 18:15:51 -0000." <9607311715.AA22309@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 31 Jul 1996 13:43:07 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

> Note that Perl5.003_01 will include a patch of mine which will allow you
> to silence perl's malloc via an environment variable. If you want to
> you could apply the patch now:

I think I'll stick with my 7.2.3 instance which is nice and stable. I get very nervous about auch work-arounds. Has anyone submitted this bug as a TAR?
John

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12859-11@oink>;
          Thu, 1 Aug 1996 03:29:00 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838861667:07442:2; Thu, 01 Aug 96 02:07:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06928; 1 Aug 96 2:06 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA29153 for dbi-users-real; Wed, 31 Jul 1996 16:01:48 -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 QAA29149 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 16:01:45 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa10768; 31 Jul 96 23:01 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa19887; 31 Jul 96 23:59 +0100
Received: from toad by oink with SMTP (PP) id <12172-0@oink>;
          Wed, 31 Jul 1996 23:59:16 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23407;
          Wed, 31 Jul 1996 23:59:09 +0000
Date: Wed, 31 Jul 1996 23:59:09 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607312259.AA23407@toad.ig.co.uk>
To: RFSIS.DPRICE@capital.ge.com, PVHP@lns62.lns.cornell.edu
Subject: Re: DBperl Q's
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 652
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: PVHP@LNS62.LNS.CORNELL.EDU
> 
> However, that is no reason that the call to 
> the $dbh->disconnect; method should cause this trouble. I would look into that 
> module to see what might be wrong (perhaps add some diagnostic print; 
> statements).

It's not doing anything wrong. The problem is in Oracle's code (most
commonly seen in 7.3.2).

> Also, I note that on CPAN the most recent version of DBI is 
> DBI-0.71.tar.gz and you might want to upgrade to that if you have not already 
> done so.

It won't make any difference to this problem.

The DBD::Oracle README file (in recent vesrions) talks about how to
suppress the warnings.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12900-2@oink>;
          Thu, 1 Aug 1996 03:32:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838857731:14430:4; Thu, 01 Aug 96 01:02:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14144; 1 Aug 96 1:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA28668 for dbi-users-real; Wed, 31 Jul 1996 14:23:34 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from franklin.cris.com (franklin.cris.com [199.3.12.31]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA28664 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 14:23:32 -0700
Received: from darius.cris.com (darius [199.3.12.32]) 
          by franklin.cris.com (8.7.5/(96/06/11 2.45)) id RAA16119;
          Wed, 31 Jul 1996 17:23:24 -0400 (EDT) [1-800-745-2747 The Concentric Network]
Errors-To: dchou@cris.com
Received: from Frenchroast ([198.95.194.144]) by darius.cris.com (8.7.5) 
          id RAA29727; Wed, 31 Jul 1996 17:23:20 -0400 (EDT)
Message-ID: <31FFCEA0.3BBA@concentric.net>
Date: Wed, 31 Jul 1996 14:22:40 -0700
From: Dao-liang Chou <dchou@cris.com>
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: Tim Bunce <Tim.Bunce@ig.co.uk>
CC: dbi-users@fugue.com, amit@visi.com
Subject: Re: DBD-Oracle0.36/Perl5.003/AIX4.1.4 make fails.
References: <9607311727.AA22364@toad.ig.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
> 
> > From: Amit Bhati <amit@visi.com>
> >
> > I am using DBD-Oracle-0.36 with DBI-0.71 on Perl5.003 installed. 'perl
> > Makefile.PL' executes without errors. After that make fails. Here is a
> > script of running 'make'. Anybody have a clue why this is happening?
> 
> >          LD_RUN_PATH="/opt/oracle/7.2.2/lib:/lib" ld -H512 -T512 -bhalt:4 -o
> >  ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE
> >  -bI:/perl/lib/rs6000/5.003/CORE/perl.exp -bE:Oracle.exp -e _nostart -lc
> >  -L/usr/local/lib Oracle.o  dbdimp.o /opt/oracle/7.2.2/lib/osntab.o
> >  /lib/crt0.o -L/opt/oracle/7.2.2/lib -locic -lsqlnet -lora -lsqlnet
> >  -lora -lnlsrtl3 -lc3v6
> >  -lcore3 -lnlsrtl3 -lcore3 -lm -lld -lm -lc
> >  0706-317 ERROR: Unresolved or undefined symbols detected:
> >                   Symbols in error (followed by references) are
> >                   dumped to the load map.
> >                   The -bloadmap:<filename> option will create a load map.
> 
> Fixed in DBD-Oracle-0.37.
> 
> Tim.

When can we get this version?  Thanks.
-- 
Dao-liang Chou
dchou@concentric.net
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12900-8@oink>;
          Thu, 1 Aug 1996 03:32:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838859379:29400:2; Thu, 01 Aug 96 01:29:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28543; 1 Aug 96 1:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA28919 for dbi-users-real; Wed, 31 Jul 1996 15:26:05 -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 PAA28915 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 15:26:02 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ab14155; 31 Jul 96 23:25 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa10830; 31 Jul 96 23:23 +0100
Received: from toad by oink with SMTP (PP) id <11440-0@oink>;
          Wed, 31 Jul 1996 23:23:24 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23153;
          Wed, 31 Jul 1996 23:23:18 +0000
Date: Wed, 31 Jul 1996 23:23:18 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9607312223.AA23153@toad.ig.co.uk>
To: lucente@hway.net
Subject: Re: Perl 5 and Sybase
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 718
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Mike Lucente <lucente@hway.net>
> 
> I just checked CPAN and ran across the following ...
> 
> Requirements: Perl ver 3.0.27 or higher (4.036 strongly suggested!).
>                  Sybase DB-Library (aka Open Client), 4.0 or higher
> 
> ... my question: will Sybperl work with Perl 5 or greater?

Sorry, it's called Sybase not Sybperl. Look in the module list (which
everyone should do before sending mail flying around the globe):

Sybase::
::DBlib        RdcO  Sybase DBlibrary interface                   MEWP
::Sybperl      Rdpf  sybperl 1.0xx compatibility module           MEWP
::CTlib        bdcO  Sybase CTlibrary interface                   MEWP
 
  MEWP   Michael Peppler <mpeppler@bix.com>

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15488-0@oink>;
          Thu, 1 Aug 1996 04:29:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838867332:27894:4; Thu, 01 Aug 96 03:42:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27497; 1 Aug 96 3:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA29806 for dbi-users-real; Wed, 31 Jul 1996 19:33:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sierra.zyzzyva.com (ppp0.zyzzyva.com [198.183.2.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA29802 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 19:33:46 -0700
Received: from sierra.zyzzyva.com (localhost [127.0.0.1]) 
          by sierra.zyzzyva.com (8.7.5/8.7.3) with ESMTP id VAA17042;
          Wed, 31 Jul 1996 21:33:42 -0500 (CDT)
Message-Id: <199608010233.VAA17042@sierra.zyzzyva.com>
To: dbi-users@fugue.com, apache-modules@sierra.zyzzyva.com, php-list@holli.com
Subject: Performance/Feature comparision of PHP vs. mod_perl
X-uri: http://www.zyzzyva.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 31 Jul 1996 21:33:42 -0500
From: Randy Terbush <randy@zyzzyva.com>


It seems these days that there is more and more overlap between
the mod_php and mod_perl projects. 

Has there been any hard data gathered regarding performance of
one solution vs. the other? (Speaking in terms of Apache module version)

Are there clear advantages of one over another?

No language religion wars please....just the facts sir/maam

Hopefully ya'll have your duplicate mail shields up. I know
many of you are on all three lists....



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16187-0@oink>;
          Thu, 1 Aug 1996 07:35:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838870522:17962:2; Thu, 01 Aug 96 04:35:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17544; 1 Aug 96 4:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA29975 for dbi-users-real; Wed, 31 Jul 1996 20: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 UAA29971 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 20:31:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa13855; 1 Aug 96 3:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa22370; 1 Aug 96 4:29 +0100
Received: from toad by oink with SMTP (PP) id <15342-0@oink>;
          Thu, 1 Aug 1996 04:03:33 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24358;
          Thu, 1 Aug 1996 04:03:21 +0000
Date: Thu, 1 Aug 1996 04:03:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608010303.AA24358@toad.ig.co.uk>
To: dchou@cris.com
Subject: Re: DBD-Oracle0.36/Perl5.003/AIX4.1.4 make fails.
Cc: dbi-users@fugue.com, amit@visi.com
X-Sun-Charset: US-ASCII
content-length: 242
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Dao-liang Chou <dchou@cris.com>
> 
> > Fixed in DBD-Oracle-0.37.
> 
> When can we get this version?  Thanks.

Same place as all the others. Any CPAN site (if it's got there yet)
else ftp.demon.co.uk in /pub/perl/db/DBD/Oracle.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16186-2@oink>;
          Thu, 1 Aug 1996 07:36:01 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838874929:07865:1; Thu, 01 Aug 96 05:48:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa07606; 1 Aug 96 5:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA29825 for dbi-users-real; Wed, 31 Jul 1996 19:43:51 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mixer.visi.com (amit@mixer.visi.com [204.73.178.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA29821 
          for <dbi-users@fugue.com>; Wed, 31 Jul 1996 19:43:48 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.4/8.7.5) id VAA09901 
          for dbi-users@fugue.com; Wed, 31 Jul 1996 21:43:41 -0500 (CDT)
From: Amit Bhati <amit@visi.com>
Posted-Date: Wed, 31 Jul 1996 21:43:41 -0500 (CDT)
Message-Id: <199608010243.VAA09901@mixer.visi.com>
Subject: 'make test' fail on DBD-Oracle-0.37.
To: dbi-users@fugue.com (DBI:DBD Mailing List)
Date: Wed, 31 Jul 1996 21:43:41 +1900 (CDT)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

I have successfully compiled DBD-Oracle-0.37, with DBI-0.71 and Perl
5.003 on AIX 4.1.4. Now when I run 'make test' it fails. I am rather
novice at Oracle, and my gut feeling is that this has something to do
with setting-up environment variables... etc.

But ORACLE_HOME and ORACLE_SID are set. I have SQLNET and Pro*C on the
system. The db sits on another machine on the network.

What adiitional settings have to be done for 'make test' to succeed?

amit
--

; maui[root]>make test
;
;         PERL_DL_NONLAZY=1 /perl/bin/perl -I./blib/arch -I./blib/lib 
; -I/perl/lib/rs6000/5.003 -I/perl/lib -e 'use Test::Harness qw(&runtests 
; $verbose); $verbose=0; runtests @ARGV;' t/*.t
; t/base..............ok
; All tests successful.
; Files=1,  Tests=5,  1 secs ( 0.47 cusr     0.07 csys =  0.54 cpu)
;         PERL_DL_NONLAZY=1 /perl/bin/perl -I./blib/arch -I./blib/lib 
;      -I/perl/lib/rs6000/5.003 -I/perl/lib test.pl
;      Oraperl    test application $Revision: 1.21 $
;      
;      Oraperl    Emulation Interface version 1.28
;      Oracle Driver 0.37
;      DBI-0.71 Switch    by Tim Bunce, version 0.71
;      
;      
;      Connecting
;       to '' (from command line, else    uses ORACLE_SID/TWO_TASK)
;       as 'crgs/crgs'    (via ORACLE_USERID environment var or default)
;      ora_login: 1034: ORA-01034: ORACLE not available (DBD: login failed)
;      
;      ORACLE_SID or TWO_TASK possibly    not right, or server not running.
;      
;      Could not connect to database. Test aborted.
;      The error code from the    last failed command is -1.
;      
;      Make Quitting.
;      maui[root]>
;      
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20904-3@oink>;
          Thu, 1 Aug 1996 22:56:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838923115:23538:3; Thu, 01 Aug 96 19:11:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22850; 1 Aug 96 19:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA01720 for dbi-users-real; Thu, 1 Aug 1996 11:05:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA01709 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 11:04:54 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com) 
          by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA24711;
          Thu, 1 Aug 96 13:02:01 CDT
X-Sender: ice@camg2.mfg.mke.ab.com
Message-Id: <v03007801ae269bcde1ab@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 1 Aug 1996 13:02:18 -0500
To: dbi-users@fugue.com
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: DBD-Oracle0.37 build question...

Well finally installed SparcWorks (same compiler that perl was built with),
and ran a build.  The build happened successfully, but not without a ream
or two of warns.  Does this guy build clean if done right?  If so, anyone
care to see the warns I got?

Unable to get make test to finish ok:

>Oraperl Emulation Interface version 1.28
>Oracle Driver 0.37
>DBI-0.71 Switch by Tim Bunce, version 0.71
>
>
>Connecting
> to '' (from command line, else uses ORACLE_SID/TWO_TASK)
> as 'crgs/crgs' (via ORACLE_USERID environment var or default)
>ora_login: 12545: ORA-12545: TNS:name lookup failure (DBD: login failed)
>
>Could not connect to database. Test aborted.
>*** Error code 2
>make: Fatal error: Command failed for target `test_dynamic'

However, a nervous make install and test code works OK.  Sooo...any words
of wisdom?

Chris

--
                                   --------
   +------------------------------| _   /| |------------------------------+
   | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
   | E-mail: CMIce@mfg.mke.ab.com |   ( )  | 1201 S. Second St.           |
   | Voice:  414.382.2136         |    U   | Milwaukee, WI 53204 USA      |
   +------------------------------|  Ack!  |------------------------------+
       My opinions do not reflect  --------  the views of my employer.


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20904-11@oink>;
          Thu, 1 Aug 1996 22:57:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838932806:10875:1; Thu, 01 Aug 96 21:53:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10574; 1 Aug 96 21:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA04245 for dbi-users-real; Thu, 1 Aug 1996 13:45:14 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA04241 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 13:45:12 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id QAA03654;
          Thu, 1 Aug 1996 16:45:51 -0400 (EDT)
Message-Id: <199608012045.QAA03654@cse.psu.edu>
X-Mailer: exmh version 1.6.7 5/3/96
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: Christopher Ice <cmice@mfg.mke.ab.com>
cc: dbi-users@fugue.com
Subject: Re: DBD-Oracle0.37 build question...
In-reply-to: Your message of "Thu, 01 Aug 1996 13:02:18 CDT." <v03007801ae269bcde1ab@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 01 Aug 1996 16:45:28 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

> Connecting
> to '' (from command line, else uses ORACLE_SID/TWO_TASK)
> as 'crgs/crgs' (via ORACLE_USERID environment var or default)

RTFO! Did you set these?
John

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20919-9@oink>;
          Thu, 1 Aug 1996 22:57:59 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838931714:19751:2; Thu, 01 Aug 96 21:35:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa19305; 1 Aug 96 21:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA01537 for dbi-users-real; Thu, 1 Aug 1996 10:05: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 KAA01533 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 10:05:00 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ae23230; 1 Aug 96 17:04 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab15327; 1 Aug 96 18:00 +0100
Received: from toad by oink with SMTP (PP) id <18815-0@oink>;
          Thu, 1 Aug 1996 15:40:19 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA26432;
          Thu, 1 Aug 1996 15:40:12 +0000
Date: Thu, 1 Aug 1996 15:40:12 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608011440.AA26432@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Perl DBI for Microsoft SQL
Cc: vikas@tigger.jvnc.net
X-Sun-Charset: US-ASCII
content-length: 384
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From vikas@tigger.jvnc.net  Thu Aug  1 15:03:49 1996
Date: Thu, 1 Aug 1996 03:30:33 -0400
From: Vikas Aggarwal <vikas@navya.com>
To: tim.bunce@ig.co.uk
Subject: Perl DBI for Microsoft SQL

Tim,

Is there a Perl interface/extension for accessing Microsoft's SQL server ?

Thanks,

	-viaks

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

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <21521-1@oink>;
          Thu, 1 Aug 1996 23:28:10 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838937931:06241:1; Thu, 01 Aug 96 23:18:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05986; 1 Aug 96 23:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA01946 for dbi-users-real; Thu, 1 Aug 1996 11:18:04 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tesi.tesi.com (tesi.com [199.26.183.18]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA01942 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 11:18:02 -0700
Date: Thu, 1 Aug 1996 11:18:02 -0700
Received: from kuekes.tesi.com by tesi.tesi.com id aa25010; 1 Aug 96 14:12 EDT
X-Sender: skuekes@tesitok.tesi.com
X-Mailer: Windows Eudora Pro Version 2.1.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: Steve Kuekes <skuekes@tesi.com>
Subject: DBI on SCO 3 with Oracle 7
Message-ID: <9608011412.aa25010@tesi.tesi.com>

Hopefully someone can help me.  I am attempting to install the Oracle DBD (version 0.37) for Perl 5 on a SCO 3 machine.  I have successfully installed Perl 5 and the DBI interface.  I can successfully make the oracle DBD, but during the test I get a unresolved external reference to __fltused as below.

install_driver(Oracle) failed: Can't load './blib/arch/auto/
DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /work/skuekes/loca
l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
/lib/perl5/DynaLoader.pm line 140.

I'm so close to getting this to work.  I hope someone can shed some light on this.




Steve Kuekes
Vice President
Tangram Enterprise Solutions, Inc. (Nasdaq SmallCap:TESI)
Raleigh, North Carolina
(919)851-6000 ---- (919)851-6004 (fax)

===> Home of Asset Insight(tm) <===
Offering state of the art Enterprise Asset Management Systems

email: skuekes@tesi.com ---  http://www.tesi.com/

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22217-9@oink>;
          Fri, 2 Aug 1996 04:04:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838943171:00933:7; Fri, 02 Aug 96 00:46:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00578; 2 Aug 96 0:45 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA06915 for dbi-users-real; Thu, 1 Aug 1996 16:37:20 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from labtam.labtam.OZ.AU (labtam.labtam.OZ.AU [137.109.1.16]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA06911 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 16:37:18 -0700
Received: from titanic.labtam.OZ.AU by labtam.labtam.OZ.AU (8.6.12/8.6.6+1.15) 
          with SMTP id JAA19891 for <dbi-users@fugue.com>;
          Fri, 2 Aug 1996 09:37:14 +1000
Received: from titanic (localhost) by titanic.labtam.OZ.AU (5.0/SMI-SVR4) 
          id AA03495; Fri, 2 Aug 1996 09:37:04 --1000
Message-Id: <9608012337.AA03495@titanic.labtam.OZ.AU>
X-Mailer: exmh version 1.6.4 10/10/95
To: dbi-users@fugue.com
Subject: Oraperl or DBI/DBD::Oracle
From: Des Buckmaster <desb@aone.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 02 Aug 1996 09:37:02 +1000
content-length: 1039

Hi, I have just joined this group and we have just changed over from CA-Ingres 
to Oracle. We have many Perl4 and Perl5 scripts and a few ingperl scripts.

We need to develop new systems in oracle. I had heard that DBI/DBD::Oracle was 
the way to go but after reading some of the mail I thought I might start out 
using oraperl and then convert to DBI/DBD::Oracle later.

What do people think - I want to get some production (prototype) systems up in 
about 3 months.

Des Buckmaster

-- 
+----------------------------------------------------------+
|Des Buckmaster,               |    Tel: +61 3 9239 1444   |
|Information Systems Manager,  |    Fax: +61 3 9580 5581   |
|Access One,                   |  Email: desb@aone.com.au  |
|43 Malcolm Rd,                |---------------------------|
|Braeside                      | Rules were made for the   |
|Vic 3195                      | obedience of fools and    |
|Australia                     | guidance of wise people   |
+----------------------------------------------------------+

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <22218-12@oink>;
          Fri, 2 Aug 1996 04:04:16 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838946554:11911:1; Fri, 02 Aug 96 01:42:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa11350; 2 Aug 96 1:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA05811 for dbi-users-real; Thu, 1 Aug 1996 15:29: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 PAA05807 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 15:29:36 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ab22427; 1 Aug 96 22:29 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa29060; 1 Aug 96 23:27 +0100
Received: from toad by oink with SMTP (PP) id <21440-0@oink>;
          Thu, 1 Aug 1996 23:07:45 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27628;
          Thu, 1 Aug 1996 23:07:38 +0000
Date: Thu, 1 Aug 1996 23:07:38 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608012207.AA27628@toad.ig.co.uk>
To: dbi-users@fugue.com, cmice@mfg.mke.ab.com
Subject: Re: DBD-Oracle0.37 build question...
X-Sun-Charset: US-ASCII
content-length: 1067
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Christopher Ice <cmice@mfg.mke.ab.com>
> 
> Well finally installed SparcWorks (same compiler that perl was built with),
> and ran a build.  The build happened successfully, but not without a ream
> or two of warns.  Does this guy build clean if done right?

Depend on what warnings you have enabled.

> If so, anyone care to see the warns I got?

Send'em to me.

> Unable to get make test to finish ok:
> 
> >Oraperl Emulation Interface version 1.28
> >Oracle Driver 0.37
> >DBI-0.71 Switch by Tim Bunce, version 0.71
> >
> >
> >Connecting
> > to '' (from command line, else uses ORACLE_SID/TWO_TASK)
> > as 'crgs/crgs' (via ORACLE_USERID environment var or default)
> >ora_login: 12545: ORA-12545: TNS:name lookup failure (DBD: login failed)
> >
> >Could not connect to database. Test aborted.
> >*** Error code 2
> >make: Fatal error: Command failed for target `test_dynamic'
> 
> However, a nervous make install and test code works OK.  Sooo...any words
> of wisdom?

You have set TWO_TASK haven't you?
Try connecting to the database using sqlplus.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22217-29@oink>;
          Fri, 2 Aug 1996 04:05:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838946223:29876:6; Fri, 02 Aug 96 01:37:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29756; 2 Aug 96 1:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA07797 for dbi-users-real; Thu, 1 Aug 1996 17:31:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from carver.bitsource.com (root@smtp.bitsource.com [38.248.243.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA07793 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 17:31:57 -0700
Received: from jasper (jasper.bitsource.com [192.168.1.10]) 
          by carver.bitsource.com (8.7.3/8.7.3) with SMTP id RAA02496 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 17:38:50 -0700 (PDT)
Message-Id: <2.2.32.19960802003340.0093e4b8@mail>
X-Sender: garry@mail
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 01 Aug 1996 17:33:40 -0700
To: dbi-users@fugue.com
From: Garry Saperstein <garry@bitsource.com>
Subject: isqlperl & PERL5

Hi,

Does anyone know if "isqlperl 1.2" for Informix can be built using perl5?
The docs say perl4 is required, but I don't really want to install perl4 if
perl5 can be made to work.

TIA,

-garry

----------------------------------------------------------------------
Garry Saperstein

Bitsource, Inc.                             voice: 415.919.0651
888 Villa Street                              fax: 415.919.0655
Suite 420                                   email: garry@bitsource.com
Mountain View, CA  94041                     http://www.bitsource.com
----------------------------------------------------------------------

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <22341-0@oink>;
          Fri, 2 Aug 1996 04:12:04 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838955470:19921:2; Fri, 02 Aug 96 04:11:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa19587; 2 Aug 96 4:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA10136 for dbi-users-real; Thu, 1 Aug 1996 20:05: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 UAA10132 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 20:04:59 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac28151; 2 Aug 96 3:04 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa07259; 2 Aug 96 4:03 +0100
Received: from toad by oink with SMTP (PP) id <21694-0@oink>;
          Thu, 1 Aug 1996 23:36:20 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27720;
          Thu, 1 Aug 1996 23:36:14 +0000
Date: Thu, 1 Aug 1996 23:36:14 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608012236.AA27720@toad.ig.co.uk>
To: dbi-users@fugue.com, skuekes@tesi.com
Subject: Re: DBI on SCO 3 with Oracle 7
X-Sun-Charset: US-ASCII
content-length: 794
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve Kuekes <skuekes@tesi.com>
> 
> Hopefully someone can help me.  I am attempting to install the Oracle DBD (version 0.37) for Perl 5 on a SCO 3 machine.  I have successfully installed Perl 5 and the DBI interface.  I can successfully make the oracle DBD, but during the test I get a unresolved external reference to __fltused as below.
> 
> install_driver(Oracle) failed: Can't load './blib/arch/auto/
> DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /work/skuekes/loca
> l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
> /lib/perl5/DynaLoader.pm line 140.

The README specifically says what info to include in a problem report.
Please send that info together with any 'interesting' output from

	perl Makefile.PL -s __fltused

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22387-1@oink>;
          Fri, 2 Aug 1996 04:17:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838955811:06887:2; Fri, 02 Aug 96 04:16:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06638; 2 Aug 96 4:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA10271 for dbi-users-real; Thu, 1 Aug 1996 20:13:50 -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 UAA10267 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 20:13:48 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa02127; 2 Aug 96 3:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa07983; 2 Aug 96 4:11 +0100
Received: from toad by oink with SMTP (PP) id <22328-0@oink>;
          Fri, 2 Aug 1996 04:10:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28499;
          Fri, 2 Aug 1996 04:10:39 +0000
Date: Fri, 2 Aug 1996 04:10:39 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608020310.AA28499@toad.ig.co.uk>
To: dbi-users@fugue.com, desb@aone.com.au
Subject: Re: Oraperl or DBI/DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 507
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Des Buckmaster <desb@aone.com.au>
> 
> Hi, I have just joined this group and we have just changed over from CA-Ingres 
> to Oracle. We have many Perl4 and Perl5 scripts and a few ingperl scripts.
> 
> We need to develop new systems in oracle. I had heard that DBI/DBD::Oracle was 
> the way to go but after reading some of the mail I thought I might start out 
> using oraperl and then convert to DBI/DBD::Oracle later.

Stick to the Oraperl emulation that comes with the DBD::Oracle module.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22431-0@oink>;
          Fri, 2 Aug 1996 04:22:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838955898:07352:3; Fri, 02 Aug 96 04:18:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07098; 2 Aug 96 4:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA10300 for dbi-users-real; Thu, 1 Aug 1996 20:15:15 -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 UAA10296 
          for <dbi-users@fugue.com>; Thu, 1 Aug 1996 20:15:13 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ac22435; 2 Aug 96 4:15 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa08156; 2 Aug 96 4:13 +0100
Received: from toad by oink with SMTP (PP) id <22352-0@oink>;
          Fri, 2 Aug 1996 04:13:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28516;
          Fri, 2 Aug 1996 04:12:55 +0000
Date: Fri, 2 Aug 1996 04:12:55 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608020312.AA28516@toad.ig.co.uk>
To: dbi-users@fugue.com, garry@bitsource.com
Subject: Re: isqlperl & PERL5
X-Sun-Charset: US-ASCII
content-length: 260
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Garry Saperstein <garry@bitsource.com>
> 
> Hi,
> 
> Does anyone know if "isqlperl 1.2" for Informix can be built using perl5?
> The docs say perl4 is required, but I don't really want to install perl4 if
> perl5 can be made to work.

It can't.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26760-17@oink>;
          Fri, 2 Aug 1996 14:04:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838984769:28282:1; Fri, 02 Aug 96 12:19:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27989; 2 Aug 96 12:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA13609 for dbi-users-real; Fri, 2 Aug 1996 03:26: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 DAA13605 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 03:25:47 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id LAA15761; Fri, 2 Aug 1996 11:16:20 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608021016.LAA15761@fruitbat.mcqueen.com>
Subject: Re: isqlperl & PERL5
To: Tim.Bunce@ig.co.uk (Tim Bunce)
Date: Fri, 2 Aug 1996 11:16:18 +0100 (BST)
Cc: dbi-users@fugue.com, garry@bitsource.com
In-Reply-To: <9608020312.AA28516@toad.ig.co.uk> from "Tim Bunce" at Aug 2, 96 04:12:55 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: 518


> > Does anyone know if "isqlperl 1.2" for Informix can be built using perl5?
> > The docs say perl4 is required, but I don't really want to install perl4 if
> > perl5 can be made to work.
> 
> It can't.

So, nah. 

Anyway, use DBD::Informix. See:

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

for more details.

> Tim.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27555-0@oink>;
          Fri, 2 Aug 1996 14:33:21 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 838992603:17617:2; Fri, 02 Aug 96 14:30:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16743; 2 Aug 96 14:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA15210 for dbi-users-real; Fri, 2 Aug 1996 06:19:36 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tesi.tesi.com (tesi.com [199.26.183.18]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA15206 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 06:19:34 -0700
Date: Fri, 2 Aug 1996 06:19:34 -0700
Received: from kuekes.tesi.com by tesi.tesi.com id aa04395; 2 Aug 96 9:14 EDT
X-Sender: skuekes@tesitok.tesi.com
X-Mailer: Windows Eudora Pro Version 2.1.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: Steve Kuekes <skuekes@tesi.com>
Subject: Help with Oracle DBD problem on SCO 3
Message-ID: <9608020914.aa04395@tesi.tesi.com>


Hopefully someone can help me.  I am attempting to install the Oracle DBD (version 0.37) for Perl 5.003 on a SCO 3 machine using the DBI 0.71.  I have successfully installed Perl 5 and the DBI interface.  I can successfully make the oracle DBD, but during the test I get a unresolved external reference to __fltused as below.

install_driver(Oracle) failed: Can't load './blib/arch/auto/
DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /work/skuekes/loca
l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
/lib/perl5/DynaLoader.pm line 140.

I'm so close to getting this to work.  I hope you can shed some light on 
this.


Following is the debugging information that is requested in the README.


I am running Perl 5.003 and Oracle 7.1.6.

************************************
Output of perl Makefile.PL
************************************

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!

Using Oracle in /u/oracle
Using /u/oracle/rdbms/demo/oracle.mk (version 7.94)
System: perl5.003 sco_sv krolik 3.2 2 i386
Compiler: cc   -belf -KPIC
Linker:   /bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       /bin/idld $(ORACLE_HOME)/lib/ostart.o
  CFLAGS:   -I. -O
  LDFLAGS:  -L$(LIBHOME)
Linking with /u/oracle/lib/osntab.o /u/oracle/lib/olm.o /u/oracle/lib/old.o /u/o
racle/lib/oln.o /u/oracle/lib/ols.o /u/oracle/lib/olc.o -L/u/oracle/lib -locic
-lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore      -
lcore

Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Oracle

***************************************
Output of make
***************************************
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
        /work/skuekes/local/bin/perl -I/work/skuekes/local/lib/perl5/i386-sco_sv
/5.003 -I/work/skuekes/local/lib/perl5 /work/skuekes/local/lib/perl5/ExtUtils/xs
ubpp  -typemap /work/skuekes/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.
tc && mv Oracle.tc Oracle.c
        cc -c -I/u/oracle/rdbms/demo -I/u/oracle/rdbms/demo -I/work/skuekes/loca
l/lib/perl5/site_perl/i386-sco_sv/DBI -I/work/skuekes/local/lib/perl5/i386-sco_s
v/5.003/DBI -belf -KPIC      -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\"  -I/work/
skuekes/local/lib/perl5/i386-sco_sv/5.003/CORE  Oracle.c
        cc -c -I/u/oracle/rdbms/demo -I/u/oracle/rdbms/demo -I/work/skuekes/loca
l/lib/perl5/site_perl/i386-sco_sv/DBI -I/work/skuekes/local/lib/perl5/i386-sco_s
v/5.003/DBI -belf -KPIC      -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\"  -I/work/
skuekes/local/lib/perl5/i386-sco_sv/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
        LD_RUN_PATH="/u/oracle/lib" ld -o ./blib/arch/auto/DBD/Oracle/Oracle.so
-L/usr/local/lib -G Oracle.o  dbdimp.o /u/oracle/lib/osntab.o /u/oracle/lib/olm.
o /u/oracle/lib/old.o /u/oracle/lib/oln.o /u/oracle/lib/ols.o /u/oracle/lib/olc.
o    -L/u/oracle/lib -L/u/oracle/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsr
tl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lcore
        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

***************************************
Output of make test TEST_VERBOSE=1
***************************************
$ make test TEST_VERBOSE=1
        PERL_DL_NONLAZY=1 /work/skuekes/local/bin/perl -I./blib/arch -I./blib/li
b -I/work/skuekes/local/lib/perl5/i386-sco_sv/5.003 -I/work/skuekes/local/lib/pe
rl5 -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: dynamic linker: /work/skuekes/loca
l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 24
        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)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2

*************************************
Output of perl -v
*************************************

Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=sco_sv, osver=3.2, archname=i386-sco_sv
    uname='sco_sv krolik 3.2 2 i386 '
    hint=previous, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize=' ', gccversion=
    cppflags='-belf -KPIC'
    ccflags ='-belf -KPIC'
    stdchar='unsigned char', d_stdstdio=, usevfork=false
    voidflags=15, castflags=0, d_casti32=, d_castneg=define
    intsize=4, alignbytes=4, usemymalloc=n, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -belf -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lintl -lsocket -lnsl -lndbm -ldbm -lld -lm -lc -lcrypt -lPW -lx
    libc=, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' -Wl,-Bexport'
    cccdlflags=' ', lddlflags='-L/usr/local/lib -G'

@INC: /work/skuekes/local/lib/perl5/i386-sco_sv/5.003 /work/skuekes/local/lib/pe
rl5 /work/skuekes/local/lib/perl5/site_perl/i386-sco_sv /work/skuekes/local/lib/
perl5/site_perl .
Steve Kuekes
Vice President
Tangram Enterprise Solutions, Inc. (Nasdaq SmallCap:TESI)
Raleigh, North Carolina
(919)851-6000 ---- (919)851-6004 (fax)

===> Home of Asset Insight(tm) <===
Offering state of the art Enterprise Asset Management Systems

email: skuekes@tesi.com ---  http://www.tesi.com/

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01813-2@oink>;
          Fri, 2 Aug 1996 21:35:45 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839009646:18459:2; Fri, 02 Aug 96 19:14:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18166; 2 Aug 96 19:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA19575 for dbi-users-real; Fri, 2 Aug 1996 11:09:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from noc.cerf.net (nbt@noc.cerf.net [192.153.156.22]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA19570 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 11:09:29 -0700
Received: (from nbt@localhost) by noc.cerf.net (8.6.10/8.6.9) id LAA03697;
          Fri, 2 Aug 1996 11:06:28 -0700
From: Binh Thanh Nguyen <nbt@cerf.net>
Message-Id: <199608021806.LAA03697@noc.cerf.net>
Subject: Re: isqlperl & PERL5
To: descarte@hermetica.com (Alligator Descartes)
Date: Fri, 2 Aug 1996 11:06:27 -0700 (PDT)
Cc: Tim.Bunce@ig.co.uk, dbi-users@fugue.com, garry@bitsource.com
In-Reply-To: <199608021016.LAA15761@fruitbat.mcqueen.com> from "Alligator Descartes" at Aug 2, 96 11:16:18 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 797

> 
> 
> > > Does anyone know if "isqlperl 1.2" for Informix can be built using perl5?
> > > The docs say perl4 is required, but I don't really want to install perl4 if
> > > perl5 can be made to work.
> > 
> > It can't.
> 
> So, nah. 
> 
> Anyway, use DBD::Informix. See:
> 
> 	http://www.hermetica.com/technologia/DBI
> 
> for more details.
> 
> > Tim.
> 


Yes, but limited. 

Get the softwares (http://www.hermetica.com/technologia/DBI)

PERL5.0003.tar
DBI-0.71.tar
DBD-Informix-0.20pl1.tar

I have these packages installed and worked on Sun Solaris 2.5, Informix 7.x, 
ESQL.7x. I haven't use isqlperl so I can't tell what isqlperl 
support.  One thing I know, Perl5:Informix interface doesn't support BLOB and
has some bugs in installation scripts.

good luck,

Binh Thanh Nguyen
CERFnet Inc.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01813-4@oink>;
          Fri, 2 Aug 1996 21:35:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839011319:06056:2; Fri, 02 Aug 96 19:41:59 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa05366; 2 Aug 96 19:40 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa15902; 2 Aug 96 19:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA17546 for dbi-users-real; Fri, 2 Aug 1996 08:56:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sand.hynet.it (sea.hynet.it [194.20.222.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA17542 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 08:56:56 -0700
Received: from giove.hynet.it (giove.hynet.it [194.20.222.108]) 
          by sand.hynet.it (8.7.5/8.7.3) with SMTP id RAA24050 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 17:59:17 +0200 (MET DST)
Date: Fri, 2 Aug 1996 17:59:17 +0200 (MET DST)
Message-Id: <199608021559.RAA24050@sand.hynet.it>
X-Sender: manu@pop.hynet.it
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: Vecchia Emanuele <manu@hynet.it>
Subject: problem with Shared Library must be Position-Independent

hi all i have an HP-UX 10.01 , perl 5.003 , DBI-0.71 , msql 1.0.16 and i had
problem
width DBD:mSQL-0.60pl9 this is the resul at the end of my make

Running Mkbootstrap for DBD::mSQL ()      
        chmod 644 mSQL.bs
LD_RUN_PATH="/usr/local/lib/perl5:/lib/pa1.1" ld -o
./blib/arch/auto/DBD/mSQL/mSQL.sl -b -L/usr/local/lib dbdimp.o  mSQL.o
-L/lib -L/usr/local/msql/lib ld: DP-Rel
ld: DP-Relative Code in file /lib/libmsql.a(libmsql.o) - Shared Library must
be Position-Independent
*** Error exit code 1

Stop.

do you know what is the proble of libmsql.a ?? 
        thx all
        emanuele
| Emanuele Vecchia     | manu@ars.net webmaster@columbusnet.it    | 
| ARS Informatica MMA  | http://www.ars.net - http://www.undo.net |
| via Lomellina 31     | http://www.columbusnet.it                | 
| 20133 Milano - Italy | Tel. Fax. +39-2-7380901                  |

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01813-9@oink>;
          Fri, 2 Aug 1996 21:36:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839012020:13207:3; Fri, 02 Aug 96 19:53:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12994; 2 Aug 96 19:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA17277 for dbi-users-real; Fri, 2 Aug 1996 08:40:14 -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 IAA17273 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 08:40:11 -0700
Received: from app3.osf.org (app3.osf.org [130.105.2.93]) 
          by postman.osf.org (8.7.5/8.7.3) with SMTP id LAA32664;
          Fri, 2 Aug 1996 11:39:37 -0400 (EDT)
Received: by app3.osf.org (1.38.193.4/4.7) id AA22920;
          Fri, 2 Aug 1996 11:39:37 -0400
Date: Fri, 2 Aug 1996 10:04:59 -0400 (EDT)
From: Doug MacEachern <dougm@osf.org>
Subject: Re: Performance/Feature comparision of PHP vs. mod_perl
To: apache-modules@zyzzyva.com
Cc: dbi-users@fugue.com, apache-modules@sierra.zyzzyva.com, php-list@holli.com, 
    modperl@listproc.itribe.net
In-Reply-To: <199608010233.VAA17042@sierra.zyzzyva.com>
Message-Id: <Pine.3.07.9608021058.A21425-c100000@app3.osf.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 31 Jul 1996, Randy Terbush wrote:

> 
> It seems these days that there is more and more overlap between
> the mod_php and mod_perl projects. 

Could you summarize the overlap?  I'm still not very familar with mod_php.

> 
> Has there been any hard data gathered regarding performance of
> one solution vs. the other? (Speaking in terms of Apache module version)

Not that I know of.

> 
> Are there clear advantages of one over another?
> 
> No language religion wars please....just the facts sir/maam

Well, quoting the php documentation "it is a simple programming language
embedded inside HTML files", "it eliminates the need for numerous small
Perl cgi programs", "This speeds up the overall performance of your web
pages since the overhead of forking Perl several times has been
eliminated".
So, both modules improve performance of dynamic/interactive web documents
by taking advantage of the Apache API and provide an alternative to coding
in C.
Not to start a language war, but one advantage of mod_perl to me is simply 
being able to use the Perl scripting language.   
To someone else, one advantage of mod_php might be it's scripting language.

It looks like php/fi does lots of great stuff, but as the name
(personal homepage/form interpreter) implies, it provides a solution to a
specific arena. 
The perl C modules simply provide a general framework for embedding the 
interpreter and providing a Perl interface to the Apache API.  Perl modules
and scripts using this interface can then provide more specific
functionality.  For example, you could write an Apache module in Perl that
provides functionality similar to php/fi. 

I see you've cc'd the dbi list, how do I use dbi from php?  Or any perl
module for that matter?  How do I write a module in the php scripting
language?  I think the answer to these questions is "you can't".  This is
fine, just pointing out some differences.

So, unless there is a major difference performance wise, it's hard to say what
the advantages are of one over the other (without starting a language war),
it really depends on what you are trying to accomplish.  

Regards,
-Doug

>
> Hopefully ya'll have your duplicate mail shields up. I know 
> many of you are on all three lists.... 
> 
> 



---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01825-0@oink>;
          Fri, 2 Aug 1996 21:36:27 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839006617:23965:1; Fri, 02 Aug 96 18:23:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23620; 2 Aug 96 18:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA18772 for dbi-users-real; Fri, 2 Aug 1996 10:14:53 -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 KAA18768 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 10:14:51 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id SAA19485 for dbi-users@fugue.com; Fri, 2 Aug 1996 18:06:45 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608021706.SAA19485@fruitbat.mcqueen.com>
Subject: DBI and DBD::Oracle - not including passwords in Perl script ??? (fwd)
To: dbi-users@fugue.com
Date: Fri, 2 Aug 1996 18:06:44 +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: 666


--- Forwarded to dbi-users ---

Hi,

DBI and DBD::Oracle and Perl is an attractive solution
to me. The two examples in
http://www.hermetica.com/technologia/DBI/examples/index.html
work as well. I also set up Oracle accounts identified
externally and would like to use DBI DBD::Oracle to
connect to these accounts. Can the latest DBI and DBD::Oracle
connect to these accounts so that I don't have to including
password in my Perl script?

Many thanks!

Mingzuo Shen


-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01813-19@oink>;
          Fri, 2 Aug 1996 21:36:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839016565:00230:0; Fri, 02 Aug 96 21:09:25 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa29222; 2 Aug 96 21:08 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa16976; 2 Aug 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA21229 for dbi-users-real; Fri, 2 Aug 1996 12:52:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from Bagheera.junglee.com (Bagheera.Junglee.Com [207.104.26.43]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA21220 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 12:52:43 -0700
Received: from Bagheera.junglee.com ([127.0.0.1]) 
          by Bagheera.junglee.com (Netscape Mail Server v2.0) with SMTP 
          id AAA2340 for <dbi-users@fugue.com>; Fri, 2 Aug 1996 12:50:57 -0700
To: dbi-users@fugue.com
Subject: using forks and DBI-DBD
From: Ashish Gupta <ashish@junglee.com>
X-Actually-From: "Ashish Gupta" <ashish@Bagheera.junglee.com>
Date: Fri, 2 Aug 1996 12:50:57 -0700
Message-ID: <19960802195056.AAA2340@Bagheera.junglee.com>


We are doing the following:

  parent P opens a database connection ($dbh)
  P forks off child C  and waits on C (C inherits $dbh automatically)
  child C does its stuff and exits
  P tries to use $dbh and finds closed the connection associated with $dbh

When C exits, it destroys $dbh as a side effect.  Please suggest how
we can avoid having a child destroy its parents database connection
handle.

Using:
  DBI - V0.71
  DBD:Oracle - 0.36
  UNIX SOlaris 2.51

Thanks much.

Ashish
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <03279-3@oink>;
          Fri, 2 Aug 1996 23:06:21 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839021230:20894:6; Fri, 02 Aug 96 22:27:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa20533; 2 Aug 96 22:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA19265 for dbi-users-real; Fri, 2 Aug 1996 10:49:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sand.hynet.it (sea.hynet.it [194.20.222.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA19261 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 10:49:52 -0700
Received: from Enterprise.hynet.it (enterprise.hynet.it [194.20.222.110]) 
          by sand.hynet.it (8.7.5/8.7.3) with SMTP id TAA24708 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 19:52:13 +0200 (MET DST)
Date: Fri, 2 Aug 1996 19:52:13 +0200 (MET DST)
Message-Id: <199608021752.TAA24708@sand.hynet.it>
X-Sender: francesco@pop.hynet.it
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Priority: 1 (Highest)
To: dbi-users@fugue.com
From: Francesco Pasqualini <francesco@hynet.it>
Subject: DBI/msql: list of available databases

How can i get a list of available databases (Msql server) using DBI ?

@databases= ... ?

Is there any func or proc ?

Is there any examples ?

I'm also looking for a complete DBI documentation 

Thank to everyone
Francesco


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03298-0@oink>;
          Fri, 2 Aug 1996 23:08:28 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839018535:20781:0; Fri, 02 Aug 96 21:42:15 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa20063; 2 Aug 96 21:41 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa27670; 2 Aug 96 21:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA18621 for dbi-users-real; Fri, 2 Aug 1996 10:05:19 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-e2b-service.gnn.com (mail-e2b-service.gnn.com [204.148.102.170]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA18617 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 10:05:17 -0700
Received: from 39-94.client.gnn.com. (39-94.client.gnn.com [205.188.39.94]) 
          by mail-e2b-service.gnn.com (8.7.1/8.6.9) with SMTP id NAA05740;
          Fri, 2 Aug 1996 13:04:07 -0400 (EDT)
Message-Id: <199608021704.NAA05740@mail-e2b-service.gnn.com>
X-Mailer: GNNmessenger 1.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 02 Aug 1996 11:02:29
From: Lou Henefeld <LHenefeld@gnn.com>
To: descarte@hermetica.com
Subject: Oraperl on Perl 5?
Cc: dbi-users@fugue.com

 Dear Mr. Descartes,

I am building an application based on the Web and on Oracle.  I'd like to use 
Oraperl and Perl 5.  I've been looking for a version of Oraperl which I can 
build and run with Perl 5.  I suspect that there is no such version of 
Oraperl, that it's buildable only with Perl 4.  However, I can't seem to find 
anything yet which specifically says that.  The closest I've come to this 
information is with the Oraperl emulation through DBD::Oracle.  Please let me 
know if this is the only option available.

I am also sending this request to dbi-users@fugue.com in case the developers 
there also may know the answers and may respond sooner than you are able.

I appreciate any response.  I have yet to inspect the recent CPAN and other 
sources.

Thank you very much,

Sincerely,

Lou Henefeld (lhenefeld@gnn.com)
Lou Henefeld

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <03912-4@oink>;
          Fri, 2 Aug 1996 23:57:49 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839024742:04980:4; Fri, 02 Aug 96 23:25:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa04642; 2 Aug 96 23:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA22480 for dbi-users-real; Fri, 2 Aug 1996 15:13:34 -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 PAA22476 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 15:13:27 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ae19273; 2 Aug 96 22:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab27013; 2 Aug 96 23:05 +0100
Received: from toad by oink with SMTP (PP) id <02707-0@oink>;
          Fri, 2 Aug 1996 21:54:21 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02133;
          Fri, 2 Aug 1996 21:54:15 +0000
Date: Fri, 2 Aug 1996 21:54:15 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608022054.AA02133@toad.ig.co.uk>
To: dbi-users@fugue.com, ashish@junglee.com
Subject: Re: using forks and DBI-DBD
X-Sun-Charset: US-ASCII
content-length: 621
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Ashish Gupta <ashish@junglee.com>
> 
> We are doing the following:
> 
>   parent P opens a database connection ($dbh)
>   P forks off child C  and waits on C (C inherits $dbh automatically)
>   child C does its stuff and exits
>   P tries to use $dbh and finds closed the connection associated with $dbh
> 
> When C exits, it destroys $dbh as a side effect.  Please suggest how
> we can avoid having a child destroy its parents database connection
> handle.

Disable the destruction... in the child process do:

	*DBI::db::disconnect = sub { };
	*DBI::db::DESTROY    = sub { };

Untested but should work.

Tim.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06083-3@oink>;
          Sat, 3 Aug 1996 03:51:11 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839031111:23733:3; Sat, 03 Aug 96 01:11:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22361; 3 Aug 96 1:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA23998 for dbi-users-real; Fri, 2 Aug 1996 16:49:29 -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 QAA23994 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 16:49:27 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id AAA21573; Sat, 3 Aug 1996 00:41:14 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608022341.AAA21573@fruitbat.mcqueen.com>
Subject: Re: DBD-Informix: Selecting TODAY or SMALLINT type
To: joh@mmts.eds.com (Josh Oh)
Date: Sat, 3 Aug 1996 00:41:13 +0100 (BST)
Cc: dbi-users@fugue.com, descarte@hermetica.com
In-Reply-To: <01BB809B.A2383760@quasi.mmts.eds.com> from "Josh Oh" at Aug 2, 96 05:54:19 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: 843


> Has anyone else run into the same problems?  If yes, is there a fix for it?
> If not, is it some sort of configuration that I am missing or doing wrong?
> 
> Any help in resolving this problem will be greatly appreciated.

It's a known bug. Listed in the DBD page at Hermetica.

Which leads me nicely onto another topic. Does anyone actually *read* any
of this stuff? 

Apologies in advance for sounding ratty, but I've had around 20 queries in
the last 2 days all either in the driver page, or the FAQ!

Can we do something anti-social about new members to the list of giving them
excerpts from the FAQ, or something?

*grumble*

> Josh Oh

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06083-11@oink>;
          Sat, 3 Aug 1996 03:51:40 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839037498:26614:2; Sat, 03 Aug 96 02:58:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26216; 3 Aug 96 2:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA23364 for dbi-users-real; Fri, 2 Aug 1996 16:10: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 QAA23360 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 16:10:21 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa01048; 2 Aug 96 23:10 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa09625; 3 Aug 96 0:05 +0100
Received: from toad by oink with SMTP (PP) id <04017-0@oink>;
          Sat, 3 Aug 1996 00:05:08 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02529;
          Sat, 3 Aug 1996 00:04:58 +0000
Date: Sat, 3 Aug 1996 00:04:58 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608022304.AA02529@toad.ig.co.uk>
To: descarte@hermetica.com, LHenefeld@gnn.com
Subject: Re: Oraperl on Perl 5?
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 233
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Lou Henefeld <LHenefeld@gnn.com>
> 
> The closest I've come to this 
> information is with the Oraperl emulation through DBD::Oracle.  Please let me 
> know if this is the only option available.

It is. It works fine.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06084-14@oink>;
          Sat, 3 Aug 1996 03:51:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839031645:09440:0; Sat, 03 Aug 96 01:20:45 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa08683; 3 Aug 96 1:19 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa24831; 3 Aug 96 1:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA24144 for dbi-users-real; Fri, 2 Aug 1996 16:57:03 -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 QAA24140 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 16:57:01 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id AAA21613; Sat, 3 Aug 1996 00:48:48 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608022348.AAA21613@fruitbat.mcqueen.com>
Subject: Re: DBI/msql: list of available databases
To: Francesco Pasqualini <francesco@hynet.it>
Date: Sat, 3 Aug 1996 00:48:48 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199608021752.TAA24708@sand.hynet.it> from "Francesco Pasqualini" at Aug 2, 96 07:52:13 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: 664


> How can i get a list of available databases (Msql server) using DBI ?
> 
> @databases= ... ?
> 
> Is there any func or proc ?
> 
> Is there any examples ?

Look at the file called 'test.pl' that comes with the DBD::mSQL module.
There are some commented lines in there that show you how to list databases,
tables and fields.

> I'm also looking for a complete DBI documentation 

Look at the FAQ for sources. http://www.hermetica.com/technologia/DBI

> Francesco

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06083-15@oink>;
          Sat, 3 Aug 1996 03:51:54 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839038141:01878:2; Sat, 03 Aug 96 03:09:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01528; 3 Aug 96 3:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA25430 for dbi-users-real; Fri, 2 Aug 1996 18:58:29 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailhub.moe.edu.sg (mailhub.moe.edu.sg [166.121.9.130]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id SAA25426 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 18:58:21 -0700
Received: from piaget.moe.edu.sg by mailhub.moe.edu.sg;
          Sat, 3 Aug 96 09:56:27 +0800
Received: from w347.moe.ac.sg by piaget.moe.edu.sg (5.x/SMI-SVR4) id AA13106;
          Sat, 3 Aug 1996 09:53:22 +0800
Received: by w347.moe.ac.sg with Microsoft Mail 
          id <01BB8122.B3E326A0@w347.moe.ac.sg>; Sat, 3 Aug 1996 10:01:12 +-800
Message-Id: <01BB8122.B3E326A0@w347.moe.ac.sg>
From: Ten Chern Chiang <rnc@moe.edu.sg>
To: "dbi-users@fugue.com" <dbi-users@fugue.com>, 
    "skuekes@tesi.com" <skuekes@tesi.com>
Subject: unsubscribe
Date: Sat, 3 Aug 1996 10:01:11 +-800
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06084-22@oink>;
          Sat, 3 Aug 1996 03:52:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839033477:27255:6; Sat, 03 Aug 96 01:51:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27110; 3 Aug 96 1:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA24390 for dbi-users-real; Fri, 2 Aug 1996 17:28:31 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mas.atext.com (mas.atext.com [204.62.245.24]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA24386 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 17:28:30 -0700
Received: (from parva@localhost) by mas.atext.com (8.6.9/8.6.9) id RAA28006;
          Fri, 2 Aug 1996 17:27:59 -0700
Date: Fri, 2 Aug 1996 17:27:59 -0700
From: Parva Oskoui <parva@excite.com>
Message-Id: <199608030027.RAA28006@mas.atext.com>
To: dbi-users@fugue.com
Subject: problems with build on Solaris2.5


I can't wait to start using Oraperl again! But first
I have to get the build going. 
Here's what's happening...the full output from the build steps are 
appended later below.

I am on oracle 7.3.2.1.0, using Perl version 5.002, DBI-0.70, and 
DBD-Oracle-0.35, on Solaris 2.5
The DBI installation went without a hitch.
In the DBD install, I am at the step where I do:  make test
and it core dumps at &ora_login with
>>
libc internal error: _rmutex_unlock: rmutex not held.
Abort - core dumped
make: *** [test_dynamic] Error 134
<<

I saw the note in README about this core dump and the three proposed steps.
I tried #1 and #2 (and #3 seems to have been implemented already; i.e.
no clntsh in the Makefile). Nothing helped.

So, am I hosed? Any help/hint/suggestion will be greatly appreciated.

Thanks
Parva
============================================================================

following are my logs from build steps:
.
.
.
(the end of my "make" step; the earlier parts have rolled off of my screen
buffer; sorry.)
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/u/oracle/home/lib:/lib" ld -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o dbdimp.o /u/oracle/home/lib/__fstd.o  -L/u/oracle/home/lib -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm -lthread  
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
%

(initial results of "make test")

 % make test
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
All tests successful.
Files=1,  Tests=5,  1 secs ( 0.60 cusr  0.21 csys =  0.81 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.21 $
 
Oraperl Emulation Interface version 1.28 
Oracle Driver 0.35
DBI-0.70 Switch by Tim Bunce, version 0.70
 
 
Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'crgs/crgs' (via ORACLE_USERID environment var or default)
libc internal error: _rmutex_unlock: rmutex not held.
Abort - core dumped
make: *** [test_dynamic] Error 134
%

(after I removed -lthread from the Makefile and hardcoded $dbname and
$dbuser in test.pl)

% make test
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
gcc -c -I. -I/u/oracle/home/precomp/public -I/u/oracle/home/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.35\" -DXS_VERSION=\"0.35\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
gcc -c -I. -I/u/oracle/home/precomp/public -I/u/oracle/home/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.35\" -DXS_VERSION=\"0.35\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional dbdimp.c
dbdimp.c: In function `dbd_db_FETCH':
dbdimp.c:265: warning: value computed is not used
dbdimp.c: In function `dbd_st_FETCH':
dbdimp.c:910: warning: value computed is not used
dbdimp.c: At top level:
dbdimp.c:126: warning: `dump_error_status' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/u/oracle/home/lib:/lib" ld -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o dbdimp.o /u/oracle/home/lib/__fstd.o  -L/u/oracle/home/lib -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm -lthread  
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
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
All tests successful.
Files=1,  Tests=5,  1 secs ( 0.61 cusr  0.21 csys =  0.82 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.21 $
 
Oraperl Emulation Interface version 1.28 
Oracle Driver 0.35
DBI-0.70 Switch by Tim Bunce, version 0.70
 
 
Connecting
 to 'bnoopy' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'bnoopy/bnoopy' (via ORACLE_USERID environment var or default)
libc internal error: _rmutex_unlock: rmutex not held.
Abort - core dumped
make: *** [test_dynamic] Error 134
%
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07927-0@oink>;
          Sat, 3 Aug 1996 04:48:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839043906:13037:2; Sat, 03 Aug 96 04:45:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12715; 3 Aug 96 4:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA26773 for dbi-users-real; Fri, 2 Aug 1996 20:37: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 UAA26769 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 20:37:41 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac13043; 3 Aug 96 3:37 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac09040; 3 Aug 96 4:34 +0100
Received: from toad by oink with SMTP (PP) id <07145-0@oink>;
          Sat, 3 Aug 1996 04:05:08 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA03275;
          Sat, 3 Aug 1996 04:04:57 +0000
Date: Sat, 3 Aug 1996 04:04:57 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608030304.AA03275@toad.ig.co.uk>
To: descarte@hermetica.com
Subject: Re: DBD-Informix: Selecting TODAY or SMALLINT type
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 433
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > Has anyone else run into the same problems?  If yes, is there a fix for it?
> Apologies in advance for sounding ratty, but I've had around 20 queries in
> the last 2 days all either in the driver page, or the FAQ!
> 
> Can we do something anti-social about new members to the list of giving them
> excerpts from the FAQ, or something?
> 
> *grumble*

Likewise.

:-(

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07927-2@oink>;
          Sat, 3 Aug 1996 04:49:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839043907:13065:1; Sat, 03 Aug 96 04:45:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12720; 3 Aug 96 4:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA26779 for dbi-users-real; Fri, 2 Aug 1996 20:38: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 UAA26775 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 20:38:18 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa13043; 3 Aug 96 3:37 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa09040; 3 Aug 96 4:34 +0100
Received: from toad by oink with SMTP (PP) id <07073-0@oink>;
          Sat, 3 Aug 1996 04:03:54 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA03267;
          Sat, 3 Aug 1996 04:03:33 +0000
Date: Sat, 3 Aug 1996 04:03:33 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608030303.AA03267@toad.ig.co.uk>
To: dbi-users@fugue.com, parva@excite.com
Subject: Re: problems with build on Solaris2.5
X-Sun-Charset: US-ASCII
content-length: 525
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Parva Oskoui <parva@excite.com>
> 
> I am on oracle 7.3.2.1.0, using Perl version 5.002, DBI-0.70, and 
> DBD-Oracle-0.35, on Solaris 2.5

> libc internal error: _rmutex_unlock: rmutex not held.
> 
> I saw the note in README about this core dump and the three proposed steps.
> I tried #1 and #2 (and #3 seems to have been implemented already; i.e.
> no clntsh in the Makefile). Nothing helped.

I'm quite sure that #1 would help but nevermind, upgrade to DBD-Oracle-0.37
and you should find that all is well.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06084-48@oink>;
          Sat, 3 Aug 1996 03:54:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839036477:24268:6; Sat, 03 Aug 96 02:41:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24158; 3 Aug 96 2:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA23138 for dbi-users-real; Fri, 2 Aug 1996 15:57:28 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns1.eds.com (ns1.eds.com [192.85.154.78]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA23134 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 15:57:26 -0700
Received: by ns1.eds.com (hello) id SAA00016; Fri, 2 Aug 1996 18:57:17 -0400
Received: from geronimo.mmts.eds.com (geronimo.mmts.eds.com [148.94.38.71]) 
          by nnsa.eds.com (8.7.5/8.7.3) with ESMTP id SAA25302;
          Fri, 2 Aug 1996 18:56:46 -0400 (EDT)
Received: from quasi.mmts.eds.com (quasi [148.94.230.18]) 
          by geronimo.mmts.eds.com (8.7.5/8.7.3) with SMTP id RAA05775;
          Fri, 2 Aug 1996 17:55:57 -0500 (CDT)
Received: by quasi.mmts.eds.com with Microsoft Mail 
          id <01BB809B.A2383760@quasi.mmts.eds.com>;
          Fri, 2 Aug 1996 17:54:21 -0500
Message-ID: <01BB809B.A2383760@quasi.mmts.eds.com>
From: Josh Oh <joh@mmts.eds.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Cc: "'descarte@hermetica.com'" <descarte@hermetica.com>
Subject: DBD-Informix: Selecting TODAY or SMALLINT type
Date: Fri, 2 Aug 1996 17:54:19 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

I am finding a weird little problem when I try to do a select statement with the
TODAY keyword or any value in a SMALLINT column.

When I do a 'select  Today from some_table', it only returns the first four 
characters of the date (i.e. '08/0') instead of all characters (i.e. '08/02/1996').

When I do a 'select coltype from syscolumns', it only returns the first two
characters of the SMALLINT datatype value.  While this woks out to be okay
when the value is less that 100, it does not bode well for values greater than 99.

Has anyone else run into the same problems?  If yes, is there a fix for it?
If not, is it some sort of configuration that I am missing or doing wrong?

Any help in resolving this problem will be greatly appreciated.

Josh Oh
joh@mmts.eds.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06084-56@oink>;
          Sat, 3 Aug 1996 03:54:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839037250:00339:4; Sat, 03 Aug 96 02:54:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29880; 3 Aug 96 2:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA23203 for dbi-users-real; Fri, 2 Aug 1996 16:00: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 QAA23199 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 16:00:31 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa27524; 2 Aug 96 23:00 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa07984; 2 Aug 96 23:57 +0100
Received: from toad by oink with SMTP (PP) id <03603-0@oink>;
          Fri, 2 Aug 1996 23:17:39 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02373;
          Fri, 2 Aug 1996 23:17:31 +0000
Date: Fri, 2 Aug 1996 23:17:31 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608022217.AA02373@toad.ig.co.uk>
To: dbi-users@fugue.com, skuekes@tesi.com
Subject: Re: Help with Oracle DBD problem on SCO 3
X-Sun-Charset: US-ASCII
content-length: 902
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve Kuekes <skuekes@tesi.com>
> 
> Hopefully someone can help me.  I am attempting to install the Oracle DBD (version 0.37) for Perl 5.003 on a SCO 3 machine using the DBI 0.71.  I have successfully installed Perl 5 and the DBI interface.  I can successfully make the oracle DBD, but during the test I get a unresolved external reference to __fltused as below.
> 
> install_driver(Oracle) failed: Can't load './blib/arch/auto/
> DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /work/skuekes/loca
> l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
> /lib/perl5/DynaLoader.pm line 140.

> Oracle proc.mk would have used these values but we override them:
>   CC:       /bin/idld $(ORACLE_HOME)/lib/ostart.o

Try adding $(ORACLE_HOME)/lib/ostart.o into the generated Makefile by hand.
Add it to the line that looks like:

OBJECT = $(O_FILES)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06084-61@oink>;
          Sat, 3 Aug 1996 03:54:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839039586:17070:3; Sat, 03 Aug 96 03:33:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16766; 3 Aug 96 3:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA23307 for dbi-users-real; Fri, 2 Aug 1996 16:07:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns2.eds.com (ns2.eds.com [199.228.142.78]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA23303 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 16:07:36 -0700
Received: by ns2.eds.com (hello) id TAA15533; Fri, 2 Aug 1996 19:07:22 -0400
Received: from geronimo.mmts.eds.com (geronimo.mmts.eds.com [148.94.38.71]) 
          by nnsp.eds.com (8.7.5/8.7.3) with ESMTP id TAA26622;
          Fri, 2 Aug 1996 19:06:52 -0400 (EDT)
Received: from quasi.mmts.eds.com (quasi [148.94.230.18]) 
          by geronimo.mmts.eds.com (8.7.5/8.7.3) with SMTP id SAA05928;
          Fri, 2 Aug 1996 18:06:03 -0500 (CDT)
Received: by quasi.mmts.eds.com with Microsoft Mail 
          id <01BB809D.0B27D040@quasi.mmts.eds.com>;
          Fri, 2 Aug 1996 18:04:26 -0500
Message-ID: <01BB809D.0B27D040@quasi.mmts.eds.com>
From: Josh Oh <joh@mmts.eds.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Cc: "'descarte@hermetica.com'" <descarte@hermetica.com>
Subject: FW: DBD:Informix - Error In Compile
Date: Fri, 2 Aug 1996 18:04:25 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

FYI

I figured out how to get around the compile problems...

I took off the '-ansiposix' flag on the 'cc' step and that seems to have resolved
my compile time problems...

One more thing...
For those of you using ESQL 7.20 and higher, I ran into a linker error after I
got past the compiler errors.  Something about 'unable to resolve symbols'...

As it turns out, Informix started supporting multiple languages with the new version
of ESQL, and so you need to add the gls (global language support?) libary in
your link step.

When I added '-lgls' to the link step, I got another 'unable to resolve symbol' error.
I had to add '-lgen' again after '-lgls' in order to get past all the linker errors...

So in all, the libaries needed are '-lsql -lasf -lgen -los -lgls -lgen -lm'.  That order
seems to work for me in the SGI-IRIX 6.2 setup.

Josh Oh
joh@mmts.eds.com

----------
From: 	Josh Oh[SMTP:joh@mmts.eds.com]
Sent: 	Tuesday, July 30, 1996 5:07 PM
To: 	'dbi-users@fugue.com'
Cc: 	'descarte@hermetica.com'
Subject: 	DBD:Informix - Error In Compile

Hi,

I am attempting to run the Makefile for DBD-Informix-0.20pl1 and am getting
the errors on compilation of Informix.c.

I am attaching the output from for 'make realclean', 'perl Makefile.PL', and 'make'.
I am also attaching the output of " perl -e 'use Config; print Config::myconfig()' ".
I am using Informix version 7.1, ESQL version 7.20.UC2, and perl 5.02.01.

Thanks for any help you can provide.

Josh Oh
joh@mmts.eds.com

=================================================
Script started on Tue Jul 30 16:30:21 1996

widow{joh}: make realclean
rm -rf Informix.c ./blib Makefile.aperl ./blib/arch/auto/DBD/Informix/extralibs.all 
       perlmain.c mon.out core so_locations pm_to_blib *~ */*~ */*/*~ *.o *.a 
       perl.exe Informix.bs Informix.bso Informix.def Informix.exp
mv Makefile Makefile.old 2>/dev/null
rm -rf ./blib/lib/auto/DBD/Informix ./blib/arch/auto/DBD/Informix
rm -f ./blib/arch/auto/DBD/Informix/Informix.so 
      ./blib/arch/auto/DBD/Informix/Informix.bs
rm -f ./blib/arch/auto/DBD/Informix/Informix.a
rm -rf Makefile Makefile.old

widow{joh}: perl 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] 7
Using Informix version 7 in /disk2/informix
Informix sysliblist: -L/disk2/informix/lib -L/disk2/informix/lib/esql 
                     -lsql -lasf -lgen -los -lm
System: perl5.00201 irix falcon 5.3 11091812 ip22  IP22-irix dl_dlopen.xs
Compiler: cc -O -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 
             -I/usr/local/include -DLANGUAGE_C -DEMBED

Checking if your kit is complete...
Warning: the following files are missing in your kit:
        Makefile
Please inform the author.
Writing Makefile for DBD::Informix

widow{joh}: make
cp Informix.pm ./blib/lib/DBD/Informix.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/IP22-irix/5.00201 -I/usr/local/lib/perl5
                      /usr/local/lib/perl5/ExtUtils/xsubpp -typemap 
                      /usr/local/lib/perl5/ExtUtils/typemap Informix.xs >Informix.tc 
                      && mv Informix.tc Informix.c
Please specify prototyping behavior for Informix.xs (see perlxs manual)
cc -c -I/disk2/informix/incl/esql -I/usr/local/lib/perl5/IP22-irix/5.00201/DBI 
   -I/usr/local/lib/perl5/site_perl/IP22-irix/DBI 
   -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 -I/usr/local/include 
   -DLANGUAGE_C -DEMBED -O    -DVERSION=\"0.20pl1\" -DXS_VERSION=\"0.20pl1\"  
   -I/usr/local/lib/perl5/IP22-irix/5.00201/CORE  Informix.c
cfe: Error: /usr/local/lib/perl5/IP22-irix/5.00201/CORE/perl.h, line 1367: Syntax Error
 extern   sigjmp_buf    top_env ;
 --------------------   ^
cfe: Error: /usr/local/lib/perl5/IP22-irix/5.00201/CORE/perl.h, line 1367: Empty declaration specifiers (3.5)
 extern   sigjmp_buf    top_env ;
 --------------------   ^
make: *** [Informix.o] Error 1

widow{joh}: exit

script done on Tue Jul 30 16:31:13 1996
=================================================
perl -e 'use Config; print Config::myconfig()

Summary of my perl5 (5.0 patchlevel 2 subversion 1) configuration:
  Platform:
    osname=irix, osver=5, archname=IP22-irix
    uname='irix falcon 5.3 11091812 ip22 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -I/usr/local/include -DLANGUAGE_C -DEMBED'
    ccflags ='-D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 -I/usr/local/include -DLANGUAGE_C -DEMBED'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=1, d_casti32=define, d_castneg=
    intsize=4, alignbytes=8, usemymalloc=n, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lmalloc -lsun -lm -lc -lcrypt -lbsd -lPW
    libc=/usr/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags=' ', lddlflags='-shared -L/usr/local/lib'


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11690-2@oink>;
          Sat, 3 Aug 1996 10:31:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839044669:17146:4; Sat, 03 Aug 96 04:57:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17046; 3 Aug 96 4:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA26820 for dbi-users-real; Fri, 2 Aug 1996 20:49:21 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailhub.moe.edu.sg (mailhub.moe.edu.sg [166.121.9.130]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA26813 
          for <dbi-users@fugue.com>; Fri, 2 Aug 1996 20:49:15 -0700
Received: from piaget.moe.edu.sg by mailhub.moe.edu.sg;
          Sat, 3 Aug 96 11:47:53 +0800
Received: from w347.moe.ac.sg (w347.moe.edu.sg) 
          by piaget.moe.edu.sg (5.x/SMI-SVR4) id AA17886;
          Sat, 3 Aug 1996 11:44:49 +0800
Received: by w347.moe.ac.sg with Microsoft Mail 
          id <01BB8132.4729F2E0@w347.moe.ac.sg>; Sat, 3 Aug 1996 11:52:42 +-800
Message-Id: <01BB8132.4729F2E0@w347.moe.ac.sg>
From: Ten Chern Chiang <rnc@moe.edu.sg>
To: "dbi-users@fugue.com" <dbi-users@fugue.com>
Subject: unsubscribe dbi-users@fugue.com
Date: Sat, 3 Aug 1996 11:52:41 +-800
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubscribe dbi-users@fugue.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28343-26@oink>;
          Mon, 5 Aug 1996 07:39:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839084955:16291:6; Sat, 03 Aug 96 16:09:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15598; 3 Aug 96 16:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA27698 for dbi-users-real; Sat, 3 Aug 1996 07:58:32 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sierra.zyzzyva.com (ppp0.zyzzyva.com [198.183.2.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA27694 
          for <dbi-users@fugue.com>; Sat, 3 Aug 1996 07:58:30 -0700
Received: from sierra.zyzzyva.com (localhost [127.0.0.1]) 
          by sierra.zyzzyva.com (8.7.5/8.7.3) with ESMTP id JAA03979;
          Sat, 3 Aug 1996 09:58:18 -0500 (CDT)
Message-Id: <199608031458.JAA03979@sierra.zyzzyva.com>
To: Doug MacEachern <dougm@osf.org>
cc: apache-modules@zyzzyva.com, dbi-users@fugue.com, php-list@holli.com, 
    modperl@listproc.itribe.net
Subject: Re: [PHP] Performance/Feature comparision of PHP vs. mod_perl
In-reply-to: dougm's message of Fri, 02 Aug 1996 10:04:59 -0400. <Pine.3.07.9608021058.A21425-c100000@app3.osf.org>
X-uri: http://www.zyzzyva.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 03 Aug 1996 09:58:18 -0500
From: Randy Terbush <randy@zyzzyva.com>

> On Wed, 31 Jul 1996, Randy Terbush wrote:
> 
> > 
> > It seems these days that there is more and more overlap between
> > the mod_php and mod_perl projects. 
> 
> Could you summarize the overlap?  I'm still not very familar with mod_php.

As I look at both approaches, it seems that both are capable of accomplishing
the same thing, and it appears to me to be boiling down to an issue
of preferred language and performance.


> > Are there clear advantages of one over another?
> > 
> > No language religion wars please....just the facts sir/maam
> 
> module for that matter?  How do I write a module in the php scripting
> language?  I think the answer to these questions is "you can't".  This is
> fine, just pointing out some differences.

PHP/FI has support for database access to mSQL and Postgress95.
(perhaps others) The DBI would be the way to accomplish this using
mod_perl.


> So, unless there is a major difference performance wise, it's hard to say what
> the advantages are of one over the other (without starting a language war),
> it really depends on what you are trying to accomplish.  
> 
> Regards,
> -Doug

My same conclusion, which is why the performance question. I suspect
there would not be a substantial difference to either which boils this
down to a language option. (conjecture)






---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28343-50@oink>;
          Mon, 5 Aug 1996 07:44:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839108936:04828:3; Sat, 03 Aug 96 22:48:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04635; 3 Aug 96 22:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA28470 for dbi-users-real; Sat, 3 Aug 1996 14:36:56 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pascal.PFM-Mainz.de (pascal.PFM-Mainz.DE [194.121.197.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA28466 
          for <dbi-users@fugue.com>; Sat, 3 Aug 1996 14:36:49 -0700
Received: (from uucp@localhost) by pascal.PFM-Mainz.de (8.6.9/8.6.9) with UUCP 
          id XAA12918 for dbi-users@fugue.com; Sat, 3 Aug 1996 23:36:30 +0200
Received: (from tom@localhost) by hulda.pfm-mainz.de (8.6.12/8.6.9) id XAA00717;
          Sat, 3 Aug 1996 23:33:54 +0200
Date: Sat, 3 Aug 1996 23:33:54 +0200
Message-Id: <199608032133.XAA00717@hulda.pfm-mainz.de>
From: Thomas Hahn <tom@hulda.pfm-mainz.de>
To: dbi-users@fugue.com
Subject: DBD::Oracle - Can't use blanks as values

I have problems using blanks as values in SQL statements.
i.e. with the given table:

---snip---
create table test_thomas
(
a			number(38) not null,
text			varchar2(10) not null
)
;
---snip---

and the perl script

---snip---
#! /usr/local/bin/perl

eval 'use Oraperl; 1' || die $@ if $] >= 5;

print "Use Oraperl under perl5 rather than oraperl\n" if $] >= 5;

print &ora_version();

$lda = &ora_login($system_id, 'uuuuu', 'ppppp')	|| die $ora_errstr;

$lda->debug(2) if $] >= 5;

$sql_stmt = <<"END_OF_SQL_STATEMENT";
insert into test_thomas
values ( :1, :2 )
END_OF_SQL_STATEMENT

$icsr = &ora_open($lda, $sql_stmt) || die $ora_errstr;
$icsr->debug(2) if $] >= 5;

$res = &ora_bind($icsr, 5, ' ');
#                          ^^^      THIS BREAKS IT!

if($ora_errno){
	die "$ora_errno\n$ora_errstr";
}

&ora_commit($lda) || die "ora_commit failed";
---snip---

The script produces
---snip---
Use Oraperl under perl5 rather than oraperl

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.37
DBI-0.71 Switch by Tim Bunce, version 0.71

SunOS mcssun 5.3 Generic_101318-75 sun4m sparc
\n1    DBI::db=HASH(0x2538b0) debug level set to 2
    -> prepare for DBD::Oracle::db (DBI::db=HASH(0x2538c8)~0x2538b0 'insert into test_thomas
values ( :1, :2 )
')
    <- prepare= DBI::st=HASH(0x17c7d4)
    -> FETCH for DBD::Oracle::st (DBI::st=HASH(0x2853bc) 'NUM_OF_PARAMS')
    <- FETCH= 2
    -> debug in DBD::_::common for DBD::Oracle::st (DBI::st=HASH(0x17c7d4)~0x2853bc 2)
    <- debug= 2
    -> execute for DBD::Oracle::st (DBI::st=HASH(0x17c7d4)~0x2853bc 5 ' ')
    <- execute= undef
1400
ORA-01400: mandatory (NOT NULL) column is missing or NULL during insert (DBD: oexec error) at test_oraperl.pl line 24, <IN> chunk 1.
    -> DESTROY for DBD::Oracle::st (DBI::st=HASH(0x2853bc))
    <- DESTROY= undef
    -> DESTROY for DBD::Oracle::db (DBI::db=HASH(0x2538b0))
Bad free() ignored during global destruction.
	eval {...} called at test_oraperl.pl line 0
    <- DESTROY= undef
---snip---

If I use anything like
	$res = &ora_bind($icsr, 5, 'some text');
if works. With ' ' it used to work with the old oraperl 2.4 with and without
the -DNO_BIND_PADDING compile option.

Logs of the compilation process:
---snip---
mcssun.hahn(DBI-0.71)$ 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.34)
Checking if your kit is complete...
Looks good
	NAME => q[DBI]
	PREREQ_PM => {  }
	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] }
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
mcssun.hahn(DBI-0.71)$ make
cp DBIXS.h ./blib/arch/DBI/DBIXS.h
cp DBI.pm ./blib/lib/DBI.pm
cp lib/DBD/NullP.pm ./blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm ./blib/lib/DBD/Sponge.pm
cp lib/DBD/ExampleP.pm ./blib/lib/DBD/ExampleP.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.003 -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  -I/usr/local/include -O    -DVERSION=\"0.71\" -DXS_VERSION=\"0.71\" -Kpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE  DBI.c
"DBI.c", line 1287: warning: end-of-loop code not reached
"DBI.c", line 1301: warning: end-of-loop code not reached
"DBI.c", line 1345: warning: end-of-loop code not reached
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.so -G -L/usr/local/lib DBI.o     
chmod 755 blib/arch/auto/DBI/DBI.so
cp DBI.bs ./blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs
mcssun.hahn(DBI-0.71)$ make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/min...............DBD::ExampleP in /usr/local/lib/perl5/site_perl is hidden by DBD::ExampleP in ./blib/lib
 at t/min.t line 16
DBD::NullP in /usr/local/lib/perl5/site_perl is hidden by DBD::NullP in ./blib/lib
 at t/min.t line 16
DBD::Sponge in /usr/local/lib/perl5/site_perl is hidden by DBD::Sponge in ./blib/lib
 at t/min.t line 16
ok
All tests successful.
Files=1,  Tests=12,  1 secs ( 0.44 cusr  0.21 csys =  0.65 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 test.pl
test.pl 
DBI test application $Revision: 1.15 $
Switch: DBI-0.71 Switch by Tim Bunce, 0.71
DebugDispatch: 0
DBD::ExampleP in /usr/local/lib/perl5/site_perl is hidden by DBD::ExampleP in ./blib/lib
 at test.pl line 49
DBD::NullP in /usr/local/lib/perl5/site_perl is hidden by DBD::NullP in ./blib/lib
 at test.pl line 49
DBD::Sponge in /usr/local/lib/perl5/site_perl is hidden by DBD::Sponge in ./blib/lib
 at test.pl line 49
Available Drivers: ExampleP, NullP, Sponge, Oracle
Read DBI special variables (expect 0, 99, 99):
err:    
err:    99
errstr: 99
Attempt to modify DBI special variables.
Expect a 'Can't modify' error message:
Can't modify $DBI::&rows special variable at test.pl line 59

Connected as DBI::db=HASH(0x199d70)

Test error handling: prepare()'ing an invalid query.
Expect prepare to return UNDEF and an error message:
prepare returned UNDEF. $DBI::err=Unknown field names: unknown_field_name

Cursor prepare'd as DBI::st=HASH(0x199e90)
Prepared as DBI::st=HASH(0x199f44)
Number of fields: 3
Data type of first field: 1
Driver name: ExampleP

Fetching data from both cursors.
Expect several rows of data:
16893 2 ., 2 512 .
16877 2 .., 2 512 ..
16832 3 lost+found, 2 512 cron
16893 3776 kvm, 2 512 locks
16893 15104 bin, 2 512 mqueue
16877 18880 kernel, 2 512 pkg
16893 41536 lib, 2 512 uucp
16877 52867 sadm, 2 512 uucppublic
16893 79298 sbin, 2 512 lp
16877 86850 share, 2 512 calendar

Automatic method parameter usage check.
Expect a 'DBI ... invalid' error and a 'Usage: ...' message:
DBI commit: invalid number of parameters: handle + 1
Usage: $h->commit() at test.pl line 124.

Preparing new $cursor_a to replace current $cursor_a.
We enable debugging on current to watch it's destruction.
Expect several lines of DBI trace information:
    DBI::st=HASH(0x199f68) debug level set to 2
    -> DESTROY for DBD::ExampleP::st (DBI::st=HASH(0x199f68))
    <- DESTROY= undef

Executing via func redirect: $h->func(..., 'execute')

Binding columns of $cursor_a to variables.

Fetching one row from new $cursor_a with a bound column.
Expect a large number follwed by a dot:
838998004 .
bind_col worked

Cursor tests done (scoped objects will be destroyed now)
test.pl done (global destruction will follow)

---snip---

and with 
---snip---
mcssun.hahn(DBD-Oracle-0.37)$ perl Makefile.PL 

 Configuring DBD::Oracle ...

>>>	Remember to actually *READ* the README file!

Using Oracle in /appl/oracle/product
Using /appl/oracle/product/proc/lib/proc.mk (version 7.26)
System: perl5.003 sunos mcssun 5.3 generic_101318-75 sun4m sparc 
Compiler: cc -O -I/usr/local/include
Linker:   /usr/ccs/bin/ld
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
Linking with /appl/oracle/product/lib/osntab.o -L/appl/oracle/product/lib -locic  -lsqlnet -lora -L/appl/oracle/product/lib -lpls -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl -laio 

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
mcssun.hahn(DBD-Oracle-0.37)$ make
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
/usr/local/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.003 -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
cc -c -I/appl/oracle/product/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -I/usr/local/include -O    -DVERSION=\"0.37\" -DXS_VERSION=\"0.37\" -Kpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE  Oracle.c
"Oracle.c", line 144: warning: end-of-loop code not reached
"Oracle.c", line 256: warning: end-of-loop code not reached
"Oracle.c", line 265: warning: end-of-loop code not reached
"Oracle.c", line 306: warning: end-of-loop code not reached
"Oracle.c", line 307: warning: end-of-loop code not reached
"Oracle.c", line 402: warning: end-of-loop code not reached
"Oracle.c", line 406: warning: end-of-loop code not reached
cc -c -I/appl/oracle/product/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -I/usr/local/include -O    -DVERSION=\"0.37\" -DXS_VERSION=\"0.37\" -Kpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/appl/oracle/product/lib:/lib" cc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o dbdimp.o /appl/oracle/product/lib/osntab.o /appl/oracle/product/lib/__fstd.o   -L/appl/oracle/product/lib -L/appl/oracle/product/lib -locic -lsqlnet -lora -L/appl/oracle/product/lib -lpls -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -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

mcssun.hahn(DBD-Oracle-0.37)$ make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
All tests successful.
Files=1,  Tests=5,  2 secs ( 0.98 cusr  0.43 csys =  1.41 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.21 $

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.37
DBI-0.71 Switch by Tim Bunce, version 0.71


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

csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: CDEF$
Fetched: TAB$
Fetched: IND$
Fetched: CLU$
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 (3 seconds).

---snip---

---snip---
mcssun.hahn(DBD-Oracle-0.37)$ perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.3, archname=sun4-solaris
    uname='sunos mcssun 5.3 generic_101318-75 sun4m sparc '
    hint=recommended, useposix=true, d_sigaction=define
  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='cc', 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='-Kpic', lddlflags='-G -L/usr/local/lib'

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

The results are the same under sol2.4 and Oracle 7.2.3.

I apologize if I missed anything, but right now I don't know any further.


Best regards
	Thomas
-- 
tom@hulda.pfm-mainz.de           ==         Thomas Hahn, 55130 Mainz, Germany
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28503-3@oink>;
          Mon, 5 Aug 1996 07:44:24 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839111202:00243:1; Sat, 03 Aug 96 23:26:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29703; 3 Aug 96 23:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA29114 for dbi-users-real; Sat, 3 Aug 1996 15:21:38 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from madhaus.utcs.utoronto.ca (root@madhaus.utcs.utoronto.ca [128.100.102.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA29110 
          for <dbi-users@fugue.com>; Sat, 3 Aug 1996 15:21:33 -0700
From: rasmus@madhaus.utcs.utoronto.ca
Received: from krone.house.mil (krone.dialin.utoronto.ca [142.150.132.0]) 
          by madhaus.utcs.utoronto.ca (8.7.4/8.7.1) with SMTP id SAA26394;
          Sat, 3 Aug 1996 18:21:10 -0400 (EDT)
Date: Sat, 3 Aug 1996 18:21:38 -0400 (EDT)
Reply-To: rasmus@madhaus.utcs.utoronto.ca
Subject: Re: [PHP] Performance/Feature comparision of PHP vs. mod_perl
To: apache-modules@zyzzyva.com
cc: apache-modules@zyzzyva.com, dbi-users@fugue.com, php-list@holli.com, 
    modperl@listproc.itribe.net
In-Reply-To: <199608031458.JAA03979@sierra.zyzzyva.com>
Message-ID: <ML-2.3.839110898.7349.rasmus@krone.house.mil>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

> My same conclusion, which is why the performance question. I suspect
> there would not be a substantial difference to either which boils this
> down to a language option. (conjecture)

Performance-wise, once your Perl interpreter is up and running, Perl is
quite a bit quicker than PHP.  For simple SSI type stuff, doing it in
mod_php as opposed to forking an external Perl program is much faster.
However, with mod_perl available, this distinction gets muddied a bit.
At this point you have to look at your needs.  If you just want to send
the odd SQL query to a database and have the results show up in your web
page with a bit of conditional logic and some regular expressions, then
mod_php is most likely sufficient.  mod_perl does not provide significant
performance gains.  And, you have to look at the server resources involved.
An Apache server with mod_perl and the DBI stuff dynamically loaded is going
chew up quite a lot of memory.  An Apache server with mod_php is significantly
smaller.

Where mod_perl will show significant performance gains is in scripts that
loop through a large number of iterations.  Perl has a nice internally
compiled format which makes this extremely quick.  PHP does not have this
same bit of magic.  However, if you do have such a heavy looping
script, you still have to decide whether you want to compile mod_perl into
your Apache, or if you will just run your script as an external CGI.

Another difference is that mod_php is HTML-centric while mod_perl is
Perl-centric.  That is, when you write a page for mod_php, you write it
in normal HTML and toss in a few PHP tags.  When you write a page
for mod_perl, you write it in Perl and toss in a few HTML tags.  This
distinction also highlights the different targets of the two packages.
mod_php is good for simple scripting while mod_perl is probably more
appropriate for larger scripting projects.

The PHP language will never approach the complexity and completeness of
Perl.  After all, there is only one Larry Wall.

-Rasmus
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28412-23@oink>;
          Mon, 5 Aug 1996 07:44:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839111437:02677:3; Sat, 03 Aug 96 23:30:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02431; 3 Aug 96 23:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA29171 for dbi-users-real; Sat, 3 Aug 1996 15:25:15 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from eve.speakeasy.org (brett@eve.speakeasy.org [199.238.226.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA29167 
          for <dbi-users@fugue.com>; Sat, 3 Aug 1996 15:25:14 -0700
Original-Received: (from 
                   brett@localhost) by eve.speakeasy.org (8.7.4/8.7.3) id 
                   PAA06737
PP-warning: Illegal Received field on preceding line
Date: Sat, 3 Aug 1996 15:24:56 -0700 (PDT)
Message-Id: <199608032224.PAA06737@eve.speakeasy.org>
From: Brett McCormick <brett@speakeasy.org>
To: apache-modules@zyzzyva.com
Cc: Doug MacEachern <dougm@osf.org>, dbi-users@fugue.com, php-list@holli.com, 
    modperl@listproc.itribe.net
Subject: Re: [PHP] Performance/Feature comparision of PHP vs. mod_perl
In-Reply-To: <199608031458.JAA03979@sierra.zyzzyva.com>
References: <Pine.3.07.9608021058.A21425-c100000@app3.osf.org> <199608031458.JAA03979@sierra.zyzzyva.com>


I would suspect that there is a substantial difference in speed.
Think about the relative complexity of each language.  PHP is
extremely simple compared to perl.

On Sat, 3 August 1996, at 09:58:18, Randy Terbush wrote:

> My same conclusion, which is why the performance question. I suspect
> there would not be a substantial difference to either which boils this
> down to a language option. (conjecture)
> 
> 
> 
> 
> 
> 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07734-13@oink>;
          Mon, 5 Aug 1996 23:37:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839273888:07153:3; Mon, 05 Aug 96 20:38:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06632; 5 Aug 96 20:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA08214 for dbi-users-real; Mon, 5 Aug 1996 12:18:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sargasso.cps.msu.edu (sargasso.cps.msu.edu [35.9.22.74]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA08209 
          for <dbi-users@fugue.com>; Mon, 5 Aug 1996 12:18:25 -0700
Received: from arctic.cps.msu.edu (arctic.cps.msu.edu [35.9.20.71]) 
          by sargasso.cps.msu.edu (8.7.5/8.7.3) with ESMTP id PAA06531;
          Mon, 5 Aug 1996 15:13:07 -0400 (EDT)
From: Thomas L Hoag <hoag@cps.msu.edu>
Received: (from hoag@localhost) by arctic.cps.msu.edu (8.7.5/8.7.3) id PAA09055;
          Mon, 5 Aug 1996 15:13:06 -0400 (EDT)
Message-Id: <199608051913.PAA09055@arctic.cps.msu.edu>
Subject: Problems installing DBI/DBD::Oracle
To: dbi-users@fugue.com
Date: Mon, 5 Aug 1996 15:13:06 -0400 (EDT)
Cc: Tim.Bunce@ig.co.uk
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text



I'm having problems installing the DBI and DBD packages.

I am able to make, test and install the DBI package but
I'm uncertain if it's 100% successful.  During the 
make, there are a few lines that indicate that maybe
everything is not as it should be . . .

"DBI.c", line 1287: warning: end-of-loop code not reached
"DBI.c", line 1301: warning: end-of-loop code not reached
"DBI.c", line 1345: warning: end-of-loop code not reached

Further, the make reports the following output:

Read DBI special variable (expect 0, 99, 99);
err:
err:    99
errstr: 99

Doesn't seem that I get the '0'

The log file for the DBI install is below (delimited by begin/end DBI.log)


From here I am working on the assumption that the DBI install is 
actually OK (a faulty assumption??? I think so) and continue with the
DBD::Oracle install which fails on the make.

The log file for the DBD install is also below, following the DBI install 
log and is delimited by begin/end DBD.log

I've spent considerable time on this trying to make things work to no
avail.  Any guidance/pointers/help would be greatly appreciated!!!

tom


begin DBI.log

<300 root @ swat-d:/usr/local/DBI-0.71 >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.34)
Checking if your kit is complete...
Looks good
	NAME => q[DBI]
	PREREQ_PM => {  }
	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] }
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


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

<305 root @ swat-d:/usr/local/DBI-0.71 >make
cp DBIXS.h ./blib/arch/DBI/DBIXS.h
cp DBI.pm ./blib/lib/DBI.pm
cp lib/DBD/NullP.pm ./blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm ./blib/lib/DBD/Sponge.pm
cp lib/DBD/ExampleP.pm ./blib/lib/DBD/ExampleP.pm
/usr/local/bin/perl -I/usr/local/perl5.003/lib/sun4-solaris/5.003 -I/usr/local/perl5.003/lib /usr/local/perl5.003/lib/ExtUtils/xsubpp  -typemap /usr/local/perl5.003/lib/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c   -O     -DVERSION=\"0.71\"  -DXS_VERSION=\"0.71\" -Kpic -I/usr/local/perl5.003/lib/sun4-solaris/5.003/CORE  DBI.c
"DBI.c", line 1287: warning: end-of-loop code not reached
"DBI.c", line 1301: warning: end-of-loop code not reached
"DBI.c", line 1345: warning: end-of-loop code not reached
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.so -G -L/usr/local/lib DBI.o     
chmod 755 blib/arch/auto/DBI/DBI.so
cp DBI.bs ./blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs

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

<263 root @ swat-d:/usr/local/DBI-0.71 >make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/perl5.003/lib/sun4-solaris/5.003 -I/usr/local/perl5.003/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/min...............ok
All tests successful.
Files=1,  Tests=12,  1 secs ( 0.34 cusr  0.11 csys =  0.45 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/perl5.003/lib/sun4-solaris/5.003 -I/usr/local/perl5.003/lib test.pl
test.pl 
DBI test application $Revision: 1.15 $
Switch: DBI-0.71 Switch by Tim Bunce, 0.71
DebugDispatch: 0
Available Drivers: ExampleP, NullP, Sponge
Read DBI special variables (expect 0, 99, 99):
err:    
err:    99
errstr: 99
Attempt to modify DBI special variables.
Expect a 'Can't modify' error message:
Can't modify $DBI::&rows special variable at test.pl line 59

Connected as DBI::db=HASH(0x195d70)

Test error handling: prepare()'ing an invalid query.
Expect prepare to return UNDEF and an error message:
prepare returned UNDEF. $DBI::err=Unknown field names: unknown_field_name

Cursor prepare'd as DBI::st=HASH(0x195e90)
Prepared as DBI::st=HASH(0x195f44)
Number of fields: 3
Data type of first field: 1
Driver name: ExampleP

Fetching data from both cursors.
Expect several rows of data:
16893 56960 ., 2 512 .
16877 2 .., 2 512 ..
16893 62656 bin, 2 512 cron
16877 68352 ccs, 2 512 locks
16877 79744 kernel, 2 512 mqueue
16893 113920 lib, 2 512 pkg
16877 296192 sadm, 2 512 uucp
16893 336064 sbin, 2 512 uucppublic
16877 347456 share, 2 512 lp

Automatic method parameter usage check.
Expect a 'DBI ... invalid' error and a 'Usage: ...' message:
DBI commit: invalid number of parameters: handle + 1
Usage: $h->commit() at test.pl line 124.

Preparing new $cursor_a to replace current $cursor_a.
We enable debugging on current to watch it's destruction.
Expect several lines of DBI trace information:
    DBI::st=HASH(0x195f68) debug level set to 2
    -> DESTROY for DBD::ExampleP::st (DBI::st=HASH(0x195f68))
    <- DESTROY= undef

Executing via func redirect: $h->func(..., 'execute')

Binding columns of $cursor_a to variables.

Fetching one row from new $cursor_a with a bound column.
Expect a large number follwed by a dot:
839270457 .
bind_col worked

Cursor tests done (scoped objects will be destroyed now)
test.pl done (global destruction will follow)

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

<265 root @ swat-d:/usr/local/DBI-0.71 >make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/perl5.003/lib/sun4-solaris/5.003 -I/usr/local/perl5.003/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/min...............1..12
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok
All tests successful.
Files=1,  Tests=12,  0 secs ( 0.29 cusr  0.15 csys =  0.44 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/perl5.003/lib/sun4-solaris/5.003 -I/usr/local/perl5.003/lib test.pl
test.pl 
DBI test application $Revision: 1.15 $
Switch: DBI-0.71 Switch by Tim Bunce, 0.71
DebugDispatch: 0
Available Drivers: ExampleP, NullP, Sponge
Read DBI special variables (expect 0, 99, 99):
err:    
err:    99
errstr: 99
Attempt to modify DBI special variables.
Expect a 'Can't modify' error message:
Can't modify $DBI::&rows special variable at test.pl line 59

Connected as DBI::db=HASH(0x195d7c)

Test error handling: prepare()'ing an invalid query.
Expect prepare to return UNDEF and an error message:
prepare returned UNDEF. $DBI::err=Unknown field names: unknown_field_name

Cursor prepare'd as DBI::st=HASH(0x195e9c)
Prepared as DBI::st=HASH(0x195f50)
Number of fields: 3
Data type of first field: 1
Driver name: ExampleP

Fetching data from both cursors.
Expect several rows of data:
16893 56960 ., 2 512 .
16877 2 .., 2 512 ..
16893 62656 bin, 2 512 cron
16877 68352 ccs, 2 512 locks
16877 79744 kernel, 2 512 mqueue
16893 113920 lib, 2 512 pkg
16877 296192 sadm, 2 512 uucp
16893 336064 sbin, 2 512 uucppublic
16877 347456 share, 2 512 lp

Automatic method parameter usage check.
Expect a 'DBI ... invalid' error and a 'Usage: ...' message:
DBI commit: invalid number of parameters: handle + 1
Usage: $h->commit() at test.pl line 124.

Preparing new $cursor_a to replace current $cursor_a.
We enable debugging on current to watch it's destruction.
Expect several lines of DBI trace information:
    DBI::st=HASH(0x195f74) debug level set to 2
    -> DESTROY for DBD::ExampleP::st (DBI::st=HASH(0x195f74))
    <- DESTROY= undef

Executing via func redirect: $h->func(..., 'execute')

Binding columns of $cursor_a to variables.

Fetching one row from new $cursor_a with a bound column.
Expect a large number follwed by a dot:
839270523 .
bind_col worked

Cursor tests done (scoped objects will be destroyed now)
test.pl done (global destruction will follow)

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

<268 root @ swat-d:/usr/local/DBI-0.71 >make install
Installing /usr/local/perl5.003/lib/site_perl/sun4-solaris/./auto/DBI/DBI.so
Installing /usr/local/perl5.003/lib/site_perl/sun4-solaris/./auto/DBI/DBI.bs
Installing /usr/local/perl5.003/lib/site_perl/sun4-solaris/./DBI/DBIXS.h
Installing /usr/local/perl5.003/lib/site_perl/./DBI.pm
Installing /usr/local/perl5.003/lib/site_perl/./DBD/NullP.pm
Installing /usr/local/perl5.003/lib/site_perl/./DBD/Sponge.pm
Installing /usr/local/perl5.003/lib/site_perl/./DBD/ExampleP.pm
Writing /usr/local/perl5.003/lib/site_perl/sun4-solaris/auto/DBI/.packlist
Appending installation info to /usr/local/perl5.003/lib/sun4-solaris/5.003/perllocal.pod

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

<270 root @ swat-d:/usr/local/DBI-0.71 >perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.4, archname=sun4-solaris
    uname='sunos swat-d 5.4 generic_101945-34 sun4m sparc '
    hint=previous, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    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='cc', 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='-Kpic', lddlflags='-G -L/usr/local/lib'

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

end DBI.log

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

begin DBD.log

<281 root @ swat-d:/usr/local/DBD-Oracle-0.37 >perl Makefile.PL

 Configuring DBD::Oracle ...

>>>	Remember to actually *READ* the README file!

Using Oracle in /opt/ora722
Using /opt/ora722/proc/lib/proc.mk (version 1.6)
System: perl5.003 sunos swat-d 5.4 generic_101945-34 sun4m sparc 
Compiler: cc -O 
Linker:   /usr/ccs/bin/ld
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
Linking with /opt/ora722/lib/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lm -ldl -laio -lposix4 

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

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

<282 root @ swat-d:/usr/local/DBD-Oracle-0.37 >make
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
/usr/local/bin/perl -I/usr/local/perl5.003/lib/sun4-solaris/5.003 -I/usr/local/perl5.003/lib /usr/local/perl5.003/lib/ExtUtils/xsubpp  -typemap /usr/local/perl5.003/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
cc -c -I/opt/ora722/rdbms/demo -I/usr/local/perl5.003/lib/site_perl/sun4-solaris/DBI -I/usr/local/perl5.003/lib/sun4-solaris/5.003/DBI  -O     -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\" -Kpic -I/usr/local/perl5.003/lib/sun4-solaris/5.003/CORE  Oracle.c
"Oracle.c", line 144: warning: end-of-loop code not reached
"Oracle.c", line 256: warning: end-of-loop code not reached
"Oracle.c", line 265: warning: end-of-loop code not reached
"Oracle.c", line 306: warning: end-of-loop code not reached
"Oracle.c", line 307: warning: end-of-loop code not reached
"Oracle.c", line 402: warning: end-of-loop code not reached
"Oracle.c", line 406: warning: end-of-loop code not reached
cc -c -I/opt/ora722/rdbms/demo -I/usr/local/perl5.003/lib/site_perl/sun4-solaris/DBI -I/usr/local/perl5.003/lib/sun4-solaris/5.003/DBI  -O     -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\" -Kpic -I/usr/local/perl5.003/lib/sun4-solaris/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/opt/ora722/lib:/lib" cc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o  dbdimp.o /opt/ora722/lib/osntab.o /opt/ora722/lib/__fstd.o   -L/opt/ora722/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lm -ldl -laio -lposix4 
Text relocation remains			      referenced
    against symbol		    offset	in file
ocibrv                              0x8       	/opt/ora722/lib/libocic.a(obndrv.o)
ocibrv                              0xc       	/opt/ora722/lib/libocic.a(obndrv.o)
ocican                              0x8       	/opt/ora722/lib/libocic.a(ocan.o)
ocican                              0xc       	/opt/ora722/lib/libocic.a(ocan.o)
ociclo                              0x8       	/opt/ora722/lib/libocic.a(oclose.o)
ociclo                              0xc       	/opt/ora722/lib/libocic.a(oclose.o)
ocicof                              0x8       	/opt/ora722/lib/libocic.a(ocof.o)
ocicof                              0xc       	/opt/ora722/lib/libocic.a(ocof.o)
ocicom                              0x8       	/opt/ora722/lib/libocic.a(ocom.o)
ocicom                              0xc       	/opt/ora722/lib/libocic.a(ocom.o)
ocicon                              0x8       	/opt/ora722/lib/libocic.a(ocon.o)
ocicon                              0xc       	/opt/ora722/lib/libocic.a(ocon.o)
ocidfn                              0x8       	/opt/ora722/lib/libocic.a(odefin.o)
ocidfn                              0xc       	/opt/ora722/lib/libocic.a(odefin.o)
ocierr                              0x8       	/opt/ora722/lib/libocic.a(oerhms.o)
ocierr                              0xc       	/opt/ora722/lib/libocic.a(oerhms.o)
ociexe                              0x8       	/opt/ora722/lib/libocic.a(oexec.o)
ociexe                              0xc       	/opt/ora722/lib/libocic.a(oexec.o)
ocifet                              0x8       	/opt/ora722/lib/libocic.a(ofetch.o)
ocifet                              0xc       	/opt/ora722/lib/libocic.a(ofetch.o)
ocilng                              0x8       	/opt/ora722/lib/libocic.a(oflng.o)
ocilng                              0xc       	/opt/ora722/lib/libocic.a(oflng.o)
ocilof                              0x8       	/opt/ora722/lib/libocic.a(ologof.o)
ocilof                              0xc       	/opt/ora722/lib/libocic.a(ologof.o)
ociope                              0x8       	/opt/ora722/lib/libocic.a(oopen.o)
ociope                              0xc       	/opt/ora722/lib/libocic.a(oopen.o)
ocisq7                              0x8       	/opt/ora722/lib/libocic.a(oparse.o)
ocisq7                              0xc       	/opt/ora722/lib/libocic.a(oparse.o)
ocirlo                              0x8       	/opt/ora722/lib/libocic.a(orlon.o)
ocirlo                              0xc       	/opt/ora722/lib/libocic.a(orlon.o)
ocirol                              0x8       	/opt/ora722/lib/libocic.a(orol.o)
ocirol                              0xc       	/opt/ora722/lib/libocic.a(orol.o)
ocidsp                              0x8       	/opt/ora722/lib/libocic.a(odescr.o)
ocidsp                              0xc       	/opt/ora722/lib/libocic.a(odescr.o)
sigemptyset                         0x18      	/opt/ora722/lib/libcore3.a(sslcsig.o)
sigaction                           0x30      	/opt/ora722/lib/libcore3.a(sslcsig.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'

end DBD.log
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08922-16@oink>;
          Tue, 6 Aug 1996 02:25:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839287899:05365:5; Tue, 06 Aug 96 00:31:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05212; 6 Aug 96 0:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA12276 for dbi-users-real; Mon, 5 Aug 1996 16:29:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from atlas.bit.net.au (root@atlas.bit.net.au [203.18.94.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA12271 
          for <dbi-users@fugue.com>; Mon, 5 Aug 1996 16:29:07 -0700
Received: from markh.bcc.qld.gov.au (ppp06.bit.net.au [203.18.94.106]) 
          by atlas.bit.net.au (8.6.12/8.6.6) with SMTP id JAA03569 
          for <dbi-users@fugue.com>; Tue, 6 Aug 1996 09:29:02 +1000
Message-Id: <1.5.4.32.19960805233255.00685f2c@bit.net.au>
X-Sender: dolley@bit.net.au
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 06 Aug 1996 09:32:55 +1000
To: dbi-users@fugue.com
From: Mark Hills <dolley@bit.net.au>
Subject: unsubscribe

unsubscribe
---------------------
Mark Hills                     
Brisbane City Council
Brisbane  AUSTRALIA
---------------------

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10555-8@oink>;
          Tue, 6 Aug 1996 06:04:58 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839297743:25631:2; Tue, 06 Aug 96 03:15:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25105; 6 Aug 96 3:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA11920 for dbi-users-real; Mon, 5 Aug 1996 16:09:08 -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 QAA11915 
          for <dbi-users@fugue.com>; Mon, 5 Aug 1996 16:09:05 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa06970; 5 Aug 96 23:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab12449; 6 Aug 96 0:06 +0100
Received: from toad by oink with SMTP (PP) id <08415-0@oink>;
          Tue, 6 Aug 1996 00:05:14 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14960;
          Tue, 6 Aug 1996 00:05:06 +0000
Date: Tue, 6 Aug 1996 00:05:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608052305.AA14960@toad.ig.co.uk>
To: dbi-users@fugue.com, hoag@cps.msu.edu
Subject: Re: Problems installing DBI/DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 2172
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Thomas L Hoag <hoag@cps.msu.edu>
> 
> I'm having problems installing the DBI and DBD packages.
> 
> I am able to make, test and install the DBI package but
> I'm uncertain if it's 100% successful.

It's fine (I'll update the docs).

> >>>	Remember to actually *READ* the README file!
> 
> Using Oracle in /opt/ora722
> Using /opt/ora722/proc/lib/proc.mk (version 1.6)
> System: perl5.003 sunos swat-d 5.4 generic_101945-34 sun4m sparc 
> Compiler: cc -O 
> Linker:   /usr/ccs/bin/ld
> 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
> Linking with /opt/ora722/lib/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lm -ldl -laio -lposix4 

> LD_RUN_PATH="/opt/ora722/lib:/lib" cc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o  dbdimp.o /opt/ora722/lib/osntab.o /opt/ora722/lib/__fstd.o   -L/opt/ora722/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lm -ldl -laio -lposix4 
> Text relocation remains			      referenced
>     against symbol		    offset	in file
> ocibrv                              0x8       	/opt/ora722/lib/libocic.a(obndrv.o)

The README in the next release will say:

4. If you get errors like "undefined symbol", "symbol not found"
   or "Text relocation remains" then include the output of
   "perl Makefile.PL -s XXX" where XXX is the name of the symbol.
   Please don't send the entire output of this command, just any
   obviously 'interesting' parts.

Do that.

For reference I get this from perl Makefile.PL -s ocibrv :

  searching lib/libocic.a ...
[3]	|         0|       0|NOTY |GLOB |0    |UNDEF  |ocibrv
[49]	|        16|     984|FUNC |GLOB |0    |6      |ocibrv

which means the ocibrv function is right where I'd expect it to be,
in the ocic library which you are including.

Please also include the output of

  file /opt/ora722/lib/libocic.a /opt/ora722/lib/libnlsrtl3.a

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15538-16@oink>;
          Tue, 6 Aug 1996 18:02:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839345279:18489:6; Tue, 06 Aug 96 16:27:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18353; 6 Aug 96 16:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA22583 for dbi-users-real; Tue, 6 Aug 1996 08:15:23 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from outlawnet.com ([204.245.248.202]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA22579 
          for <dbi-users@fugue.com>; Tue, 6 Aug 1996 08:15:21 -0700
Received: from [204.157.74.119] ([204.157.74.119]) 
          by outlawnet.com (8.7.5/8.7.3) with SMTP id IAA19755;
          Tue, 6 Aug 1996 08:15:10 -0700 (PDT)
X-Sender: garyb@outlawnet.com
Message-Id: <v01540b07ae2c4b392253@[204.157.74.118]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 6 Aug 1996 08:13:58 -0700
To: rasmus@madhaus.utcs.utoronto.ca
From: garyb@fxt.com (Gary Bickford)
Subject: Re: [PHP] Performance/Feature comparision of PHP vs. mod_perl
Cc: apache-modules@zyzzyva.com, dbi-users@fugue.com, php-list@holli.com, 
    modperl@listproc.itribe.net

Gee, I hope this crosspost isn't overkill.  Sorry, if it is.  Just
following the thread around the world...

At 6:21 PM 8/3/96, rasmus@madhaus.utcs.utoronto.ca wrote:
>Another difference is that mod_php is HTML-centric while mod_perl is
>Perl-centric.  That is, when you write a page for mod_php, you write it
>in normal HTML and toss in a few PHP tags.  When you write a page
>for mod_perl, you write it in Perl and toss in a few HTML tags.  This
>distinction also highlights the different targets of the two packages.
>mod_php is good for simple scripting while mod_perl is probably more
>appropriate for larger scripting projects.

As usual, Rasmus has cut right to the chase.  I like php because I can
dance in and out of the two domains - html & programming - at will,
allowing me to integrate the application & the interface very tightly.
This, of course, tends toward custom coding of everything, which is not
good if you plan to use the same application for multiple customers.  Also,
since a number of my database maintenance & data upload pages have ended up
in the 300+ line area, I should probably move some of this stuff into perl.
But I may hit the database 5 or 6 times from a single page ('cause I can,
natch!) to look up stuff.  If I were using perl, this fine granularity
would be difficult.

Whichever I use, maintaining a good understanding of the entire site and
standardizing variable names is necessary to avoid insanity.  'Cause the
entire site IS the application.


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20844-0@oink>;
          Wed, 7 Aug 1996 05:27:53 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839382594:25890:2; Wed, 07 Aug 96 02:49:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25415; 7 Aug 96 2:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA00481 for dbi-users-real; Tue, 6 Aug 1996 18:31:49 -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 SAA00475 
          for <dbi-users@fugue.com>; Tue, 6 Aug 1996 18:31:41 -0700
Received: by gw.home.vix.com id MAA16012; Tue, 6 Aug 1996 12:59:23 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from rmh (h96-179.ccnet.com [192.215.96.179]) 
          by ccnet.ccnet.com (8.6.12/8.6.12) with SMTP id MAA22949 
          for <dbi-users@fugue.com>; Tue, 6 Aug 1996 12:59:01 -0700
Message-ID: <3207A297.12CB@ccnet.com>
Date: Tue, 06 Aug 1996 12:52:55 -0700
From: Rich Holoch <holoch@ccnet.com>
Organization: Pathfinder Solutions
X-Mailer: Mozilla 2.01KIT (Win95; U)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Rounding in Perl5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

How can I round the results of my math in Perl to 2 decimal places?  I couldn't find 
a reference to a round function or a datatype conversion routine in any of the Perl5
books that I have.  

Rich
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23621-12@oink>;
          Wed, 7 Aug 1996 11:07:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839411368:14832:3; Wed, 07 Aug 96 10:49:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14637; 7 Aug 96 10:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id CAA07495 for dbi-users-real; Wed, 7 Aug 1996 02:44:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fu-manchu.pindar.co.uk (root@fu-manchu.pindar.co.uk [194.193.96.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id CAA07491 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 02:43:59 -0700
Received: from [193.123.165.57] (ip57.pindar.co.uk [193.123.165.57]) 
          by fu-manchu.pindar.co.uk (8.6.11/8.6.9) with SMTP id KAA04371 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 10:43:15 GMT
Message-Id: <199608071043.KAA04371@fu-manchu.pindar.co.uk>
X-Sender: bw@fu-manchu.pindar.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 7 Aug 1996 10:41:22 -0500
To: dbi-users@fugue.com
From: bwilkinson@pindar.co.uk (Bob Wilkinson)
Subject: Re: Rounding in Perl5

>How can I round the results of my math in Perl to 2 decimal places?  I
>couldn't find 
>a reference to a round function or a datatype conversion routine in any of the
>Perl5
>books that I have.  
>
>Rich

Hello,
      You can do something like:

$rounded = sprintf("%0.2d", $unrounded);

# where $unrounded is the original variable, to put the value rounded to 2dp 
# into $rounded.

Bob

________________________________________________________________
          Bob Wilkinson, Perl Programmer, Pindar plc
Tel: +44 (0)1904 613040    Email: B.Wilkinson@pindar.co.uk
Fax: +44 (0)1904 613110    URL: http://www.connection.co.uk/bob
________________________________________________________________
    The views expressed herein are mine, and are not 
          necessarily shared by my employer.
________________________________________________________________


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27212-0@oink>;
          Wed, 7 Aug 1996 19:08:34 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839440339:00705:2; Wed, 07 Aug 96 18:52:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29961; 7 Aug 96 18:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA14281 for dbi-users-real; Wed, 7 Aug 1996 10:42:07 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from emh1.redstone.army.mil (emh1.redstone.army.mil [136.205.10.79]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA14277 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 10:42:05 -0700
Received: from aj01.space.redstone.army.mil by emh1.redstone.army.mil 
          id aa12551; 7 Aug 96 12:41 CDT
Received: from emh1 by aj01.space.redstone.army.mil id aa12031;
          7 Aug 96 12:31 CDT
Message-ID: <3208D52B.5B28@redstone.army.mil>
Date: Wed, 07 Aug 1996 12:40:59 -0500
From: "Ray E. Drake" <rdrake@redstone.army.mil>
Reply-To: rdrake@redstone.army.mil
Organization: COLSA CORP
X-Mailer: Mozilla 3.0b5 (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
CC: Tim.Bunce@ig.co.uk, rdrake@redstone.army.mil
Subject: DBI make test fails
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I can't figure out why the self tests for DBI are failing. I don't know
what's missing. Our Web site has many Perl cgi scripts that use the
GDBM extension. Perl's self test all passed and all of our scripts are 
working, so I don't think my problem is the way I have built Perl. 

I would greatly appreciate some help with this.

                                  Thanks

Output as per README file follows:-)

Script started on Wed Aug  7 11:55:43 1996

Root DBI-0.71> 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.34)
Checking if your kit is complete...
Looks good
        DEFINE => q[-Wall -Wno-comment]
        NAME => q[DBI]
        PREREQ_PM => {  }
        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] }
Using PERL=/usr2/gnu/bin/perl5_003/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.

Running '/usr2/gnu/bin/perl5_003/perl -I/usr2/gnu/perl5_003_sys/lib
/usr2/gnu/pe
rl5_003_sys/lib/ExtUtils/xsubpp -v 2>&1' exits with status 255 at
/usr2/gnu/perl
5_003_sys/lib/ExtUtils/MM_Unix.pm line 2946.
Writing Makefile for DBI



Root DBI-0.71> make
cp DBIXS.h ./blib/arch/DBI/DBIXS.h
cp DBI.pm ./blib/lib/DBI.pm
cp lib/DBD/NullP.pm ./blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm ./blib/lib/DBD/Sponge.pm
cp lib/DBD/ExampleP.pm ./blib/lib/DBD/ExampleP.pm
/usr2/gnu/bin/perl5_003/perl -I/usr2/gnu/lib/perl5_003
-I/usr2/gnu/perl5_003_sys
/lib /usr2/gnu/perl5_003_sys/lib/ExtUtils/xsubpp  -typemap
/usr2/gnu/perl5_003_s
ys/lib/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
gcc -c  -I/usr2/gnu/include -O    -DVERSION=\"0.71\"
-DXS_VERSION=\"0.71\" -fpic
 -I/usr2/gnu/lib/perl5_003/CORE -Wall -Wno-comment DBI.c
DBI.c: In function `dbih_setup_handle':
DBI.c:350: warning: value computed is not used
DBI.c:363: warning: value computed is not used
DBI.c:369: warning: value computed is not used
DBI.c:370: warning: value computed is not used
DBI.c:371: warning: value computed is not used
DBI.c:372: warning: value computed is not used
DBI.c: In function `dbih_sth_bind_col':
DBI.c:558: warning: value computed is not used
DBI.c: In function `dbih_set_attr':
DBI.c:611: warning: value computed is not used
DBI.c: In function `dbih_get_attr':
DBI.c:648: warning: value computed is not used
DBI.c: In function `XS_DBI_dispatch':
DBI.c:870: warning: value computed is not used
DBI.c:870: warning: value computed is not used
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" ld -o blib/arch/auto/DBI/DBI.sl -b -L/usr2/gnu/lib DBI.o
chmod 755 blib/arch/auto/DBI/DBI.sl
cp DBI.bs ./blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs



Root DBI-0.71> make test
PERL_DL_NONLAZY=1 /usr2/gnu/bin/perl5_003/perl -I./blib/arch
-I./blib/lib -I/usr
2/gnu/lib/perl5_003 -I/usr2/gnu/perl5_003_sys/lib -e 'use Test::Harness
qw(&runt
ests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/min...............Can't find loadable object for module DBI in @INC
(./blib/ar
ch/./blib/lib//usr2/gnu/lib/perl5_003//usr2/gnu/perl5_003_sys/lib//usr2/gnu/lib/
perl5_003//usr2/gnu/perl5_003_sys/lib//usr2/gnu/perl5_003_sys/aj01//usr2/gnu/per
l5_003_sys/lib/site_perl/. /usr2/gnu/lib/perl5_003
/usr2/gnu/perl5_003_sys/lib /
usr2/gnu/perl5_003_sys/aj01 /usr2/gnu/perl5_003_sys/lib/site_perl .) at
DBI.pm l
ine 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.
make: *** [test_dynamic] Error 2



Root DBI-0.71> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr2/gnu/bin/perl5_003/perl -I./blib/arch
-I./blib/lib -I/usr
2/gnu/lib/perl5_003 -I/usr2/gnu/perl5_003_sys/lib -e 'use Test::Harness
qw(&runt
ests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/min...............1..12
Can't find loadable object for module DBI in @INC
(./blib/arch/./blib/lib//usr2/
gnu/lib/perl5_003//usr2/gnu/perl5_003_sys/lib//usr2/gnu/lib/perl5_003//usr2/gnu/
perl5_003_sys/lib//usr2/gnu/perl5_003_sys/aj01//usr2/gnu/perl5_003_sys/lib/site_
perl/. /usr2/gnu/lib/perl5_003 /usr2/gnu/perl5_003_sys/lib
/usr2/gnu/perl5_003_s
ys/aj01 /usr2/gnu/perl5_003_sys/lib/site_perl .) at 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.
make: *** [test_dynamic] Error 2


Root DBI-0.71> perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=hpux, osver=9, archname=PA-RISC1.1
    uname='hp-ux aj01 a.09.04 u 9000877 '
    hint=previous, useposix=true, d_sigaction=define
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.7.2
    cppflags='-I/usr2/gnu/include'
    ccflags ='-I/usr2/gnu/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/usr2/gnu/lib'
    libpth=/lib/pa1.1 /lib /usr/lib /usr2/gnu/lib
    libs=-lnet -lnsl_s -lgdbm -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='-fpic', lddlflags='-b -L/usr2/gnu/lib'

@INC: /usr2/gnu/lib/perl5_003 /usr2/gnu/perl5_003_sys/lib
/usr2/gnu/perl5_003_sy
s/aj01 /usr2/gnu/perl5_003_sys/lib/site_perl .


Root DBI-0.71> exit

script done on Wed Aug  7 11:58:15 1996
-- 
Ray E. Drake, COLSA Corp. supporting IMAGE,
Internet Multimedia Application and Government Education at
http://image.redstone.army.mil
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27676-0@oink>;
          Wed, 7 Aug 1996 21:02:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839448034:08396:5; Wed, 07 Aug 96 21:00:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07837; 7 Aug 96 20:59 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA12599 for dbi-users-real; Wed, 7 Aug 1996 08:41:48 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from shark.amtrak.co.uk (shark.amtrak.co.uk [193.132.100.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA12595 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 08:41:45 -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 QAA17476 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 16:43:52 +0100 (BST)
Received: from redwood by lion.amtrak.co.uk (5.x/SMI-SVR4) id AA14148;
          Wed, 7 Aug 1996 16:42:37 +0100
To: dbi-users:;
From: Simon Windsor <simonw@amtrak.co.uk>
Cc: simonw@lion.amtrak.co.uk
Subject: Array Updates
X-Originating-Host: redwood
Reply-To: simonw.windsor@amtrak.co.uk
Message-Id: <1996Aug07.155007+0000@redwood>
Date: 07 Aug 1996 15:50:07 +0000
Mime-Version: 1.0
X-Mailer: Hummingbird EMail for Windows Version 5.0

Hi,

I've recently hit a performance problem when updating a large number
of rows in an Oracle Database. The format of the data that we are
receiving demands that we need to do approximately 18000 updates
overnight.

The current configuration we are using is

Solaris 2.5
Oracle 7.3.2
Perl 5.003
DBI 7.1
DBD-Oracle 0.37

Prior to starting the update, I have a simple DBPerl script that
performs over 50000 queries and 120000 inserts in 2.5 hours. The
update script currently achieves 1000 updates per hour. The main
reason for the poor performance of the update is the size of the
table, > 260000 records and growing.

In ProC it is possible to use Arrays to perform efficient batch
updates of data to an Oracle database. Is there a similar feature in
DBPerl, or does anyone know of any tricks to achieve a significantly
greater performance.

The problem is not related to indexing.

Any ideas ??

Simon


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27781-1@oink>;
          Wed, 7 Aug 1996 21:20:39 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839449114:26805:1; Wed, 07 Aug 96 21:18:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26280; 7 Aug 96 21:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA16444 for dbi-users-real; Wed, 7 Aug 1996 13:12:51 -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 NAA16440 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 13:12:50 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ad06186; 7 Aug 96 21:12 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa02365; 7 Aug 96 21:10 +0100
Received: from toad by oink with SMTP (PP) id <27715-0@oink>;
          Wed, 7 Aug 1996 21:10:00 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24693;
          Wed, 7 Aug 1996 21:09:53 +0000
Date: Wed, 7 Aug 1996 21:09:53 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608072009.AA24693@toad.ig.co.uk>
To: dbi-users@fugue.com, simonw.windsor@amtrak.co.uk
Subject: Re: Array Updates
Cc: simonw@lion.amtrak.co.uk
X-Sun-Charset: US-ASCII
content-length: 334
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Simon Windsor <simonw@amtrak.co.uk>
> 
> In ProC it is possible to use Arrays to perform efficient batch
> updates of data to an Oracle database. Is there a similar feature in
> DBPerl,

Nope. (One day, but not soon.)

> or does anyone know of any tricks to achieve a significantly
> greater performance.

Nop.

Sorry.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29831-6@oink>;
          Thu, 8 Aug 1996 07:37:34 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839456725:05661:3; Wed, 07 Aug 96 23:25:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05288; 7 Aug 96 23:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA14295 for dbi-users-real; Wed, 7 Aug 1996 10:42:44 -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 KAA14291 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 10:42:43 -0700
Received: (from smap@localhost) by eclipse.clarify.com (8.6.12/8.6.12) 
          id KAA03935 for <dbi-users@fugue.com>; Wed, 7 Aug 1996 10:57:13 -0700
Received: from clarify.clarify.com(130.130.84.1) by eclipse.clarify.com 
          via smap (V1.3) id sma003925; Wed Aug 7 10:56:49 1996
Received: from hqpo.clarify.com by clarify.com (4.1/SMI-4.1/jas9504290) 
          id AA10693; Wed, 7 Aug 96 10:48:42 PDT
Received: by hqpo.clarify.com 
          with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.993.5) 
          id <01BB844D.E3073830@hqpo.clarify.com>;
          Wed, 7 Aug 1996 10:47:53 -0700
Message-Id: <c=US%a=_%p=Clarify%l=PAPO-960807174539Z-2345@hqpo.clarify.com>
From: Dave Moellenhoff <dmoellen@clarify.com>
To: "dbi-users@fugue.com" <IMCEAX400-c=US+3Ba=+20+3Bp=CLARIFY+3Bo=PALOALTO+3Bdda+3ASMTP=dbi-users+40fugue+2Ecom+3B@clarify.com>, 
    "'bwilkinson@pindar.co.uk'" <IMCEAX400-c=US+3Ba=+20+3Bp=CLARIFY+3Bo=PALOALTO+3Bdda+3ASMTP=bwilkinson+40pindar+2Eco+2Euk+3B@clarify.com>
Subject: RE: Rounding in Perl5
Date: Wed, 7 Aug 1996 10:45:39 -0700
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.993.5
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Or an even more tasteful solution:

$rounded = int($unrounded*100 + 0.5)/100

Not that this was really a PerlDB question in the first place...

-Dave

>----------
>From: 	bwilkinson@pindar.co.uk[SMTP:bwilkinson@pindar.co.uk]
>Sent: 	Wednesday, August 07, 1996 8:41 AM
>To: 	dbi-users@fugue.com
>Subject: 	Re: Rounding in Perl5
>
>>How can I round the results of my math in Perl to 2 decimal places?  I
>>couldn't find 
>>a reference to a round function or a datatype conversion routine in any of
>>the
>>Perl5
>>books that I have.  
>>
>>Rich
>
>Hello,
>      You can do something like:
>
>$rounded = sprintf("%0.2d", $unrounded);
>
># where $unrounded is the original variable, to put the value rounded to 2dp 
># into $rounded.
>
>Bob
>
>________________________________________________________________
>          Bob Wilkinson, Perl Programmer, Pindar plc
>Tel: +44 (0)1904 613040    Email: B.Wilkinson@pindar.co.uk
>Fax: +44 (0)1904 613110    URL: http://www.connection.co.uk/bob
>________________________________________________________________
>    The views expressed herein are mine, and are not 
>          necessarily shared by my employer.
>________________________________________________________________
>
>
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29927-3@oink>;
          Thu, 8 Aug 1996 07:43:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839460604:01916:1; Thu, 08 Aug 96 00:30:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01348; 8 Aug 96 0:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA19402 for dbi-users-real; Wed, 7 Aug 1996 16:21:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bit.csc.lsu.edu (bit.csc.lsu.edu [130.39.130.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA19398 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 16:21:54 -0700
Received: by bit.csc.lsu.edu (5.65/DEC-Ultrix/4.3) id AA12293;
          Wed, 7 Aug 1996 18:23:03 -0500
Date: Wed, 7 Aug 1996 18:23:03 -0500
From: mabdulr@bit.csc.lsu.edu (Murad Abdulrehman)
Message-Id: <9608072323.AA12293@bit.csc.lsu.edu>
To: dbi-users@fugue.com

Hi, I am getting an error while running make test phase of building oraperl.
I am attaching the logfile showing the error. i will appreciate if someone can
tell me the cause of the problem. I am running oracle  7.0.16 under ultrix4.

logfile
--------
This is Oraperl, version 2, patch level 4.

Debugging is not available.
Default fetch row cache size is 5.
Empty bind values are replaced by a space.

Perl is copyright by Larry Wall; type oraperl -v for details.
Additions for oraperl: Copyright 1991, 1992, 1993, Kevin Stock.

Oraperl may be distributed under the same conditions as Perl.

Testing oraperl, please wait ...
ORA-1034: ORACLE not Available
*** Error code 2
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29926-5@oink>;
          Thu, 8 Aug 1996 07:43:59 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839469709:16586:4; Thu, 08 Aug 96 03:01:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa16206; 8 Aug 96 3:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA16602 for dbi-users-real; Wed, 7 Aug 1996 13:23:39 -0700
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 NAA16598 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 13:23:38 -0700
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id NAA07688; Wed, 7 Aug 1996 13:17:21 -0700
Message-Id: <199608072017.NAA07688@voro.lbl.gov>
X-Mailer: exmh version 1.6.2 7/18/95
To: simonw.windsor@amtrak.co.uk
cc: simonw@lion.amtrak.co.uk, dbi-users@fugue.com
Subject: Re: Array Updates
In-reply-to: Your message of "07 Aug 1996 15:50:07 -0000." <1996Aug07.155007+0000@redwood>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 07 Aug 1996 13:17:21 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>

> From: Simon Windsor <simonw@amtrak.co.uk>
> Hi,
> 
> I've recently hit a performance problem when updating a large number
> of rows in an Oracle Database. The format of the data that we are
> receiving demands that we need to do approximately 18000 updates
> overnight.
> 
> The current configuration we are using is
> 
> Solaris 2.5
> Oracle 7.3.2
> Perl 5.003
> DBI 7.1
> DBD-Oracle 0.37
> 
> Prior to starting the update, I have a simple DBPerl script that
> performs over 50000 queries and 120000 inserts in 2.5 hours. The
> update script currently achieves 1000 updates per hour. The main
> reason for the poor performance of the update is the size of the
> table, > 260000 records and growing.
> 
> In ProC it is possible to use Arrays to perform efficient batch
> updates of data to an Oracle database. Is there a similar feature in
> DBPerl, or does anyone know of any tricks to achieve a significantly
> greater performance.
> 
> The problem is not related to indexing.
> 
> Any ideas ??
> 
> Simon

It's difficult to make meaningful comments on performance without
a lot more information.  There are so many variables, especially
database configuration, hardware, sql statement design, number
of indexes on tables, triggers, etc.

The only thing within DBI itself that I have ever noticed really
makes a difference is making sure you don't parse the same
statement over and over.  Parse once, bind repeatedly (same for OCI
or ProC or anything, not really specific to DBI)

I just clocked simple DBI inserts at a rate of 400/sec.
Your 120,000/2.5 hours is 13/sec.  Obviously something is different,
but it's probably not DBI per se.

In any case, there is no analog in DBI for ProC host arrays.
But my first guess would be that is not what you need.  (and you
should hope it's not, since it doesn't exist).

> reason for the poor performance of the update is the size of the
> table, > 260000 records and growing.

This is a (common) misundertanding.  Oracle's insert rate is almost
completely independent of size of table.  I insert on multi-million
rows tables at exactly the same rate as empty tables.

> DBPerl, or does anyone know of any tricks to achieve a significantly
> greater performance.

I know many techniques.  But they are Oracle techniques, not DBI 
techniques.  However, I couldn't even being to offer suggestions
without a better sense of what you are trying to do.

You might want to check out the various oracle newsgroups too,
as dbi-users is not the best place for Oracle performance
discussions, if not related specifically to DBI.  If you submit
some sample DBI code, various people here could probably tell
quickly whether you have something to be addressed in DBI or
in Oracle.

Mark






---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29926-8@oink>;
          Thu, 8 Aug 1996 07:44:51 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839470433:21947:15; Thu, 08 Aug 96 03:13:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa21653; 8 Aug 96 3:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA17153 for dbi-users-real; Wed, 7 Aug 1996 14:00:16 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from noc.cerf.net (nbt@noc.cerf.net [192.153.156.22]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA17149 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 14:00:15 -0700
Received: (from nbt@localhost) by noc.cerf.net (8.6.10/8.6.9) id NAA21407;
          Wed, 7 Aug 1996 13:57:15 -0700
From: Binh Thanh Nguyen <nbt@CERF.NET>
Message-Id: <199608072057.NAA21407@noc.cerf.net>
Subject: Re: Newbie Informix ?
To: kketchum@sover.net
Date: Wed, 7 Aug 1996 13:57:14 -0700 (PDT)
Cc: dbi-users@fugue.com, kenk@nh.etak.com
In-Reply-To: <ML-2.3.839446005.7515.kenk@etna> from "kketchum@sover.net" at Aug 7, 96 03:26:45 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 833

> 
> Hello,
> Just built DBI-0.71 on Solaris 2.5. We have
> Informix OnLine 7.10.
> I don't know how to get started with DBI.
> Do I need an ODBC driver from Informix?
> Do they have one?
> Is there a faq or syntax guide for the DBI extensions?
> Please have mercy.
> TIA.
> 


Hi TIA,

I am not sure what you want to do with DBI-0.71 Database Interface
and DBD-Informix-0.20pl1 Database Driver.  Well, if my guess is right
you are missing DBD-Informix to enable Perl5 interface with your I-ONLINE...
i.e with the above setting you can write limited SQL statement embeded in
your PERL5 scripts.  For more information please go to:

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

I have seen many questions concerning ODBC,PERL5/Informix Interface.  Would
anyone care to put them in the FAQs ?.

regards,

Binh Thanh Nguyen
CERFnet Inc.


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29927-9@oink>;
          Thu, 8 Aug 1996 07:45:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839461164:07772:4; Thu, 08 Aug 96 00:39:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07258; 8 Aug 96 0:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA15792 for dbi-users-real; Wed, 7 Aug 1996 12:28:25 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nh.etak.com (fw.nh.etak.com [206.33.243.34]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA15788 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 12:28:23 -0700
From: kketchum@sover.net
Received: from sioux.nh.etak.com by nh.etak.com (8.7.2/Gateway-2.0) id PAA04217;
          Wed, 7 Aug 1996 15:26:50 -0400 (EDT)
Received: from etna (etna [89.5.5.5]) by sioux.nh.etak.com (8.7.5/8.7.3) 
          with SMTP id PAA27812; Wed, 7 Aug 1996 15:19:13 -0400 (EDT)
Date: Wed, 7 Aug 1996 15:26:45 -0400 (EDT)
Reply-To: kketchum@sover.net
Subject: Newbie Informix ?
To: dbi-users@fugue.com
cc: kenk@nh.etak.com
Message-ID: <ML-2.3.839446005.7515.kenk@etna>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

Hello,
Just built DBI-0.71 on Solaris 2.5. We have
Informix OnLine 7.10.
I don't know how to get started with DBI.
Do I need an ODBC driver from Informix?
Do they have one?
Is there a faq or syntax guide for the DBI extensions?
Please have mercy.
TIA.


/****************************************/
 Ken Ketchum  kketchum@sover.net
 ETAK Commercial Solutions / NH
 603-448-0001 X12
 

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29927-18@oink>;
          Thu, 8 Aug 1996 07:47:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839463998:04930:3; Thu, 08 Aug 96 01:26:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04561; 8 Aug 96 1:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA20407 for dbi-users-real; Wed, 7 Aug 1996 17:18:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from internet-mail2.ford.com (internet-mail2.ford.com [198.111.80.24]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id RAA20363 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 17:18:35 -0700
Received: by internet-mail2.ford.com id AA10290 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Wed, 7 Aug 1996 20:18:26 -0400
Message-Id: <199608080018.AA10290@internet-mail2.ford.com>
Received: by internet-mail2.ford.com (Protected-side Proxy Mail Agent-1);
          Wed, 7 Aug 1996 20:18:26 -0400
From: Ven Srinivasan <vsriniv1@ford.com>
Date: Wed, 7 Aug 1996 20:18:31 -0400
X-Mailer: Z-Mail (3.2.1 15feb95)
To: dbi-users@fugue.com
Subject: My experience with DBI/DBD and Newbie Questions
Cc: Tim.Bunce@ig.co.uk, descarte@hermetica.com, 
    vsriniv1@ford.com (Ven Srinivasan)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Folks,
 I downloaded a copy of DBD/DBI a week ago and am trying to use it to develop
a Netscape front end to an Oracle database. I am sure many of you have done
something like that or wanting to do something like that.
I am using  DBD-Oracle-0.35 and DBI-0.71 on Solaris 2.5

   Before I proceed, many thanks to Tim Bunce, Alligator Descartes, and others
at Hermatica for developing DBD/DBI.

    I want to pose some newbie questions to experienced users, at the
same time share a couple of useful things which I got to work

Here is something useful for other people also starting to do what I
am trying (build a web-browser(Netscape 2.0 or >)/Oracle connection
not using oraperl emulation) and of course not wanting to buy an
Oracle or any other commercial solution

Q: How can we execute queries and display results on a WebBrowser?

Answer: Here is a "SELECT empno,ename,job,mgr,sal FROM emp" done
        from scott.emp;

This is a very vanilla cgi script
============================================================
use DBI;

#!/usr/local/bin/perl

use DBI;

$ENV{'ORACLE_HOME'} = 'YOUR HOME'; # please substitute
$ENV{'TWO_TASK'} = 'YOUR TWO TASK';
$drh = DBI->install_driver( 'Oracle' );
$dbh = $drh->connect( '', 'scott', 'tiger' );
die unless $dbh;
$cursor = $dbh->prepare( "SELECT empno,ename,job,mgr,sal FROM emp" );
$cursor->execute;
&print_results($cursor);
$cursor->finish;
$dbh->disconnect;
exit;

sub print_results {
 local($cursor);
 ($cursor) = @_;
print "Content-type: text/html\n\n";
print "<HTML>\n";
print "<HEAD><TITLE>Query Result</TITLE></HEAD>\n";
print "<BODY><H1>Select All Records in scott.emp</H1>\n";
print "<FORM>\n";
print "<TABLE BORDER>\n";
print "<TR>\n";
 for ($i=0; $i < $cursor->{NUM_OF_FIELDS} ; $i++) {
  print "<TH>",$cursor->{'NAME'}[$i],"</TH>";
 }
print "</TR>\n";
 while ( @row = $cursor->fetchrow ) {
  print "  <TR>\n";
   foreach $cell (@row) {
     printf("<TD>$cell</TD>");
   }
  print "</TR>\n";
 }
 print "</TABLE>\n";
 print "</FORM>\n";
 print "</BODY></HTML> \n";
}

Q : How do we make the cells editable on the browser?
    I have not indicated another cgi script which is going to
update the records in the database, but here is a way in which
you will have editable text fields.

The print_results subroutine is now:

sub print_results {
 local($cursor);
 ($cursor) = @_;
print "Content-type: text/html\n\n";
print "<HTML>\n";
print "<HEAD><TITLE>Query Result</TITLE></HEAD>\n";
print "<BODY><H1>Select All Records in scott.emp</H1>\n";
print "<FORM>\n";
print "<TABLE BORDER>\n";
print "<TR>\n";
 for ($i=0; $i < $cursor->{NUM_OF_FIELDS} ; $i++) {
  print "<TH>",$cursor->{'NAME'}[$i],"</TH>";
 }
print "</TR>\n";
 while ( @row = $cursor->fetchrow ) {
  print "  <TR>\n";
   foreach $cell (@row) {
     printf("<TD><INPUT TYPE=\"text\" VALUE=\"$cell\"</TD>");
   }
  print "</TR>\n";
 }
 print "</TABLE>\n";
 print "</FORM>\n";
 print "</BODY></HTML> \n";
}


====================================================================
Some comments and problems:
(1) $cursor->{'NAME'}[$i] gives the name of the columns in the
    statement.

If I look at DBI.pm, it talks about the following variables
$sth->{NAME}       (\@)
$sth->{NULLABLE}   (\@)
$sth->{TYPE}       (\@)
$sth->{PRECISION}  (\@)
$sth->{SCALE}      (\@)

$sth->{NUM_OF_FIELDS}  ($)
$sth->{NUM_OF_PARAMS}  ($)

  out of these I could not get at least $sth->{PRECISION}, $sth->{SCALE}
to work                        ^^^^^^^

DBI::st=HASH(0x15ebe0)->{SCALE}: unrecognised attribute at scott.pl line 29.

??

So here is something I would like to know:
How can I know all methods and variables in DBI::st? especially since
there is no other updated API.


I don't know much of perl5 but have used perl4 before
I did something like this

use DBI;
require "dumpvar.pl"

&dumpvar('DBI');

Can't read $DBI::errstr, lost last handle at
/ford/cc0224/u/vsriniv1/Perl-5/lib/perl5/dumpvar.pl line 272.
@EXPORT = (
     empty array
)
$VERSION = 0.71
Can't read $DBI::err, lost last handle at
/ford/cc0224/u/vsriniv1/Perl-5/lib/perl5/dumpvar.pl line 272.
$_dbistate = 1419912
@EXPORT_OK = (
   0  'neat'
   1  'neat_list'
   2  'dump_results'
)
Can't read $DBI::state, lost last handle at
/ford/cc0224/u/vsriniv1/Perl-5/lib/perl5/dumpvar.pl line 272.
................................................?

So can someone point out a way of knowing which ones of these
exist?
$sth->{NAME}       (\@)
$sth->{NULLABLE}   (\@)
$sth->{TYPE}       (\@)
$sth->{PRECISION}  (\@)
$sth->{SCALE}      (\@)

$sth->{NUM_OF_FIELDS}  ($)
$sth->{NUM_OF_PARAMS}  ($)

BTW: If there is something obviously wrong why I could not access
$sth->{SCALE} also please let me know?


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


            The next couple of things may also be useful
 for new users

        ===== This will print all tables you have =================
$cursor = $dbh->prepare('select * from tab');
$cursor->execute;
while ( @row = $cursor->fetchrow ) {
  print @row,"\n";
}
$cursor->finish;


============= for creating and inserting values into a table ====

use DBI;

$ENV{'ORACLE_HOME'} = 'YOUR HOME';
$ENV{'TWO_TASK'} = 'YOUR TWO TASK';
$drh = DBI->install_driver( 'Oracle' );
$dbh = $drh->connect( '', 'scott', 'tiger' );
die unless $dbh;
$cursor = $dbh->do('create table person (name varchar2(20), id number(5))');
$cursor = $dbh->do('insert into person values (\'mary\',10)');
$cursor = $dbh->do('update person set id=20 where name=\'mary\'');
$dbh->disconnect;
exit;


Question: How do we do error handling?
$cursor does return undef for a statement like
  $cursor = $dbh->do('create table person (name varchar2(20), id number(5))');
if executed second time.

After some stumbling I found that

print $DBI::errstr

had the following error string

ORA-00955: name is already used by an existing object (DBD: possibly parse
error at character 14 of 52 in 'create table person (name varchar2(20), id
number(5))')


Question: Is there a nice way of doing error handling, or do we have
to look at $DBI::errstr  and parse it to get the oracle error?

I can't get to print any of any of these ( from DBI.pm )

$dbh->{Error}      normally use $db_error
$dbh->{ErrorStr}   normally use $db_errstr
$dbh->{ROW_COUNT}  normally use $db_rows


mentioned in DBI.pm

On executing the following code segment:

$cursor = $dbh->do('create table person (name varchar2(20), id number(5))');
print $dbh->{Error};
print $dbh->{ErrorStr};
print $dbh->{ROW_COUNT};

I got
Can't get DBI::db=HASH(0xf7838)->{Error}: unrecognised attribute at test.pl
line 12. (comes back to the question of knowing which variables are accessible
in the package)


============Question on prepare  ====================================
I tried something like this:

$cursor = $dbh->prepare('describe person');
$cursor->execute;
while ( @row = $cursor->fetch) {
 print @row;
}
$cursor->finish;
$dbh->disconnect;

but got this error ==============
Can't call method "execute" without a package or object reference at w4.pl line
13.???

How would somebody get results for a describe person oracle sql statement?

==========================================================================
I tried something like this

$cursor = $dbh->tables();
while ( @row = $cursor->fetchrow ) {
  print @row,"\n";
}


This seemed to give all the tables in the system

SYSTEMMENU_B_INFOTABLE
SYSTEMMENU_B_OBJ_TEXTTABLE
SYSTEMMENU_B_OPTIONTABLE
...................................................................

$cursor = $dbh->tables('user_name'); does not work?
I felt that this would be useful in giving tables owned by a user?


Question:
  What is the difference between $cursor->fetchrow and $cursor->fetch?

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

Well I could go on and on with other questions, but can somebody
answer these?

I hope answers to some of these problems would be of general interest
to newcomers.



regards,
Ven Srinivasan
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29832-41@oink>;
          Thu, 8 Aug 1996 07:47:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839464371:08058:6; Thu, 08 Aug 96 01:32:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07935; 8 Aug 96 1:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA16663 for dbi-users-real; Wed, 7 Aug 1996 13:26:51 -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 NAA16659 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 13:26:50 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id NAA04339;
          Wed, 7 Aug 1996 13:26:48 -0700
Date: Wed, 7 Aug 1996 13:26:48 -0700
Message-Id: <199608072026.NAA04339@paradigm.webvision.com>
From: dave madden <dhm@paradigm.webvision.com>
To: dbi-users@fugue.com
CC: dmoellen@clarify.com
Subject: Re: Rounding in Perl5

 =>From: Dave Moellenhoff <dmoellen@clarify.com>
 =>...
 =>Or an even more tasteful solution:
 =>
 =>$rounded = int($unrounded*100 + 0.5)/100
 =>
 =>Not that this was really a PerlDB question in the first place...

To get this back on topic:

$C = ora_open( $DB, "SELECT TO_CHAR($unrounded,'99999.90') FROM DUAL" );
@row = ora_fetch( $C );
$rounded = $row[0];
ora_close( $C );

:-)

d.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29832-47@oink>;
          Thu, 8 Aug 1996 07:48:21 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839471850:02778:5; Thu, 08 Aug 96 03:37:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02475; 8 Aug 96 3:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA18443 for dbi-users-real; Wed, 7 Aug 1996 15:38:29 -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 PAA18439 
          for <dbi-users@fugue.com>; Wed, 7 Aug 1996 15:38:27 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA21892; Wed, 7 Aug 1996 23:29:33 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608072229.XAA21892@fruitbat.mcqueen.com>
Subject: Re: Newbie Informix ?
To: kketchum@sover.net
Date: Wed, 7 Aug 1996 23:29:32 +0100 (BST)
Cc: dbi-users@fugue.com, kenk@nh.etak.com
In-Reply-To: <ML-2.3.839446005.7515.kenk@etna> from "kketchum@sover.net" at Aug 7, 96 03:26:45 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: 544


> Just built DBI-0.71 on Solaris 2.5. We have
> Informix OnLine 7.10.
> I don't know how to get started with DBI.
> Do I need an ODBC driver from Informix?
> Do they have one?
> Is there a faq or syntax guide for the DBI extensions?
> Please have mercy.
> TIA.

See:

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

for more blurb and software.

A.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03495-4@oink>;
          Thu, 8 Aug 1996 11:48:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839492439:29459:1; Thu, 08 Aug 96 09:20:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28964; 8 Aug 96 9:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA27135 for dbi-users-real; Thu, 8 Aug 1996 01:08:15 -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 BAA27130 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 01:08:05 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id IAA23480; Thu, 8 Aug 1996 08:59:29 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608080759.IAA23480@fruitbat.mcqueen.com>
Subject: Re: your mail
To: mabdulr@bit.csc.lsu.edu (Murad Abdulrehman)
Date: Thu, 8 Aug 1996 08:59:28 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <9608072323.AA12293@bit.csc.lsu.edu> from "Murad Abdulrehman" at Aug 7, 96 06:23:03 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: 533


> Hi, I am getting an error while running make test phase of building oraperl.
> I am attaching the logfile showing the error. i will appreciate if someone can
> tell me the cause of the problem. I am running oracle  7.0.16 under ultrix4.

[snip]

Set your ORACLE_SID correctly.

Failing that, read the Oracle Error Messages manual.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04783-3@oink>;
          Thu, 8 Aug 1996 16:18:41 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839513275:11803:2; Thu, 08 Aug 96 15:07:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa11497; 8 Aug 96 15:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA02303 for dbi-users-real; Thu, 8 Aug 1996 06:59:13 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from motgate2.mot.com (motgate2.mot.com [129.188.136.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA02299 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 06:59:12 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) 
          by motgate2.mot.com (8.7.3/8.6.10/MOT-3.8) with ESMTP id NAA21711 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 13:55:45 GMT
Received: from po_box.cig.mot.com (po_box.cig.mot.com [136.182.15.5]) 
          by pobox.mot.com (8.7.3/8.6.10/MOT-3.8) with SMTP id IAA16413 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 08:58:39 -0500 (CDT)
Message-Id: <199608081358.JAA02163@po_box.cig.mot.com>
Received: (hare@localhost) by turtle.cig.mot.com (8.6.11/SCERG-1.12C) 
          id IAA29486 for dbi-users@fugue.com; Thu, 8 Aug 1996 08:58:37 -0500
Date: Thu, 8 Aug 1996 08:58:37 -0500
From: John R Hare <hare@cig.mot.com>
X-Face: $P>lwCYQN&IvfB<((^=D|u3kxY#!Cn]v[@[&cHWHsZT>'ORo0Ftv(jCrMWs*;7nixcYTD8%K4H"nkFsWFg4M5wTugWkA:<-M0(8KRcvwiS&~T\aX4eBku[RQI.vq^Q
X-Mailer: Z-Mail (3.2.1 10apr95)
To: dbi-users@fugue.com
Subject: unsubscribe
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

unsubscribe

-- 
John Hare
hare@cig.mot.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05806-8@oink>;
          Thu, 8 Aug 1996 18:01:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839519645:14423:1; Thu, 08 Aug 96 16:54:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13774; 8 Aug 96 16:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA00247 for dbi-users-real; Thu, 8 Aug 1996 04:39:30 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nh.etak.com (fw.nh.etak.com [206.33.243.34]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id EAA00243 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 04:39:29 -0700
From: kketchum@sover.net
Received: from sioux.nh.etak.com by nh.etak.com (8.7.2/Gateway-2.0) id HAA04637;
          Thu, 8 Aug 1996 07:38:38 -0400 (EDT)
Received: from etna (etna [89.5.5.5]) by sioux.nh.etak.com (8.7.5/8.7.3) 
          with SMTP id HAA28437; Thu, 8 Aug 1996 07:31:02 -0400 (EDT)
Date: Thu, 8 Aug 1996 07:38:33 -0400 (EDT)
Reply-To: kketchum@sover.net
To: dbi-users@fugue.com
cc: descaarte@hermetica.com, kketchum@sover.net
Message-ID: <ML-2.3.839504313.6838.kenk@etna>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

Hi,
Thanks for pointing to the software.
Trying to build it I get the following:

# Makefile.PL
"%att" is not exported by the ExtUtils::MakeMaker module at
/usr/local/lib/perl5/Exporter.pm line 95
	Exporter::export called at /usr/local/lib/perl5/Exporter.pm line 149
	Exporter::import called at Makefile.PL line 14
	main::BEGIN called at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm line 0
	eval {...} called at /usr/local/lib/perl5/ExtUtils/MakeMaker.pm line 0
Can't continue after import errors at Makefile.PL line 14
BEGIN failed--compilation aborted at Makefile.PL line 14.
# 

# perl -e 'use Config; print Config::myconfig()'
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.5, archname=sun4-solaris
    uname='sunos boston 5.5 generic sun4d sparc sunw,sparcserver-1000 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    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='cc', ldflags =''
    libpth=/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='-Kpic', lddlflags='-G'

# 

perl passed all its tests.
Any help much appreciated; as is the work on dbi.
Thanks.
/****************************************/
 Ken Ketchum  kketchum@sover.net
 ETAK Commercial Solutions / NH
 603-448-0001 X12
 

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05842-0@oink>;
          Thu, 8 Aug 1996 18:01:47 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839518795:15665:4; Thu, 08 Aug 96 16:39:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15397; 8 Aug 96 16:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA00522 for dbi-users-real; Thu, 8 Aug 1996 04:57: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 EAA00513 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 04:57:45 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa05678; 8 Aug 96 11:57 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa19233; 8 Aug 96 12:57 +0100
Received: from toad by oink with SMTP (PP) id <03998-0@oink>;
          Thu, 8 Aug 1996 12:51:01 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA26914;
          Thu, 8 Aug 1996 12:50:52 +0000
Date: Thu, 8 Aug 1996 12:50:52 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608081150.AA26914@toad.ig.co.uk>
To: dbi-users@fugue.com
Cc: vignale@matilde.laboratorium.dist.unige.it
X-Sun-Charset: US-ASCII
content-length: 1199
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From vignale@matilde.laboratorium.dist.unige.it  Thu Aug  8 07:40:00 1996
Date: Wed, 7 Aug 96 15:57:50 +0200
From: vignale@matilde.laboratorium.dist.unige.it (Luigi Rossi)
To: Tim.Bunce@ig.co.uk

J am new to dbperl.

J am a student of Ingineering in Genoa.

At home J have a Macintosh II.

J have some problem with this language, could help me please?

For example, if J have this database in csv format:

ID Number !	Name	!Surname  !	Telephon!Birthday
------------------------------------------------------------
0001	  !	Luigi	!Rossi	  !	506960	!22-11-69
0002	  !	Marco	!Serena	  !	504615	!11-09-69
....	  !	.....	!	  !		!
....	  !	.....	!	  !		!	
0080	  !	Flavio	!Azzarelli!	875058	!15-12-67

Which kind of format J can use? (csv or .....)

If J have two input, for example Name and Surname, and J would like print on the monitor in html the telephon number and the Birthday.
How is possible?

Do you have some script for help me, or where is possible found some script for my problem?

Where is possible foud an exhaustive documentation for the dbPerl?

											Thank you
											Luigi Rossi


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

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05806-18@oink>;
          Thu, 8 Aug 1996 18:03:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839521455:02676:1; Thu, 08 Aug 96 17:24:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02105; 8 Aug 96 17:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA04259 for dbi-users-real; Thu, 8 Aug 1996 09:15:46 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-e2b-service.gnn.com (mail-e2b-service.gnn.com [204.148.102.170]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA04255 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 09:15:45 -0700
Received: from 67-36.client.gnn.com. (67-36.client.gnn.com [205.188.67.36]) 
          by mail-e2b-service.gnn.com (8.7.1/8.6.9) with SMTP id MAA05260 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 12:15:06 -0400 (EDT)
Message-Id: <199608081615.MAA05260@mail-e2b-service.gnn.com>
X-Mailer: GNNmessenger 1.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 08 Aug 1996 10:12:34
From: Lou Henefeld <LHenefeld@gnn.com>
To: dbi-users@fugue.com
Subject: Problems building Perl 5.003, DBI, and DBD::Oracle

Folks,

I'm putting together the tools I need for building a Web-based application using Perl 
and Oracle and I'm having some problems.

If any of you have similar configurations and have either experienced these problems 
or avoided them, I would appreciate any advice.

The current configuration we are using or planning to use is

Solaris 2.5
Oracle 7.3.2
Perl 5.003			Built, but uncertain about its soundness.
DBI 0.71			Not yet built.
DBD::Oracle 0.37	Not yet built.

Question 1:

Is it necessary to use Perl 5.003 to build DBI 0.71 and / or DBD::Oracle 0.37?  If 
not, I may be able to avoid any additional problems in trying to build Perl 5.003.  
(See Question 2)  I have Perl 5.002, but built at another site.

Question 2:

To build Perl 5.003, I am using the Cygnus gcc compiler, rev 2.3.3.  The problems 
that I've had compiling Perl have been overcome (maybe) by taking the following 
steps.

Using the advice in README.solaris2 written by Kevin Kunzelman (kkunzelm@match.com).  
Specifically, to enhance the hints file for solaris_2 to include
	d_odbm='undef'
	i_fcntl='define'
	d_vform='undef'
	nativegcc='undef'
	libs='-lsocket -lnsl -lm'

Setting the gcc compiler flags to
	-fpcc-struct-return
	-traditional
	-Dvolatile=__volatile__
	-fno-builtin

And finally, to avoid a problem compiling POSIX support, I set
	useposix=false
in the hints/solaris_2.sh modified file.

The make ran to completion, however it reported problems in running AutoLoader.pm.  
The statement eval { require auto/dynaloader/autosplit.ix; }
resulted in a false evaluation, however, the autosplit.ix file is present at that 
location.  Is this a problem?

The make test ran to completion, with no reported errors.

The make install also ran to completion, problems seem to have been reported, but I 
haven't studied them yet.

I suspect that these problems are caused by my using the relatively old C compiler?  
Any opinions?



I'm still kinda new at this.  I realize that the quality of the advice I might get 
from this community depends on the quality and quantity of information that I 
provide.  The Solaris system where I'm building these tools and the PC where I have 
my Internet access are 80 miles apart, and it's logistically difficult for me to 
transfer files from the Solaris to my PC.

I appreciate any advice you may provide.

Thank you all very much!  8-)


Lou Henefeld

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09718-0@oink>;
          Fri, 9 Aug 1996 07:40:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839545825:01731:2; Fri, 09 Aug 96 00:10:25 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa01452; 9 Aug 96 0:09 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa03064; 9 Aug 96 0:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA07631 for dbi-users-real; Thu, 8 Aug 1996 13:05:26 -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 NAA07627 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 13:05:25 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id NAA12415;
          Thu, 8 Aug 1996 13:05:18 -0700
Date: Thu, 8 Aug 1996 13:05:18 -0700
Message-Id: <199608082005.NAA12415@paradigm.webvision.com>
From: dave madden <dhm@paradigm.webvision.com>
To: dlincke@bandon.unisg.ch
CC: dbi-users@fugue.com
In-reply-to: <199608081925.AA138052303@bandon.unisg.ch> (message from David-Michael Lincke on Thu, 8 Aug 1996 21:25:03 +0200)
Subject: daemon.tar.gz

I've heard from a couple of people that the sample network daemon code
I posted didn't uudecode properly, so I've made it available for ftp
from

    <ftp://ftp.webvision.com/pub/misc/daemon.tar.gz>

Again, this contains a Perl library that provides routines for
implementing a traditional accept/fork/serve/exit daemon, and C
functions for both traditional and server-pool daemons.  Both versions
handle signals, syslog-logging, and child cleanup fairly well (on
Solaris2.4 and IRIX-5.3, at least).

d.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09608-37@oink>;
          Fri, 9 Aug 1996 07:41:44 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839542726:12893:3; Thu, 08 Aug 96 23:18:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa12584; 8 Aug 96 23:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA05744 for dbi-users-real; Thu, 8 Aug 1996 10:49: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 KAA05740 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 10:49:16 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa20716; 8 Aug 96 17:49 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa08290; 8 Aug 96 18:47 +0100
Received: from toad by oink with SMTP (PP) id <06791-0@oink>;
          Thu, 8 Aug 1996 18:47:09 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28821;
          Thu, 8 Aug 1996 18:46:56 +0000
Date: Thu, 8 Aug 1996 18:46:56 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608081746.AA28821@toad.ig.co.uk>
To: dbi-users@fugue.com, kketchum@sover.net
Cc: descaarte@hermetica.com
X-Sun-Charset: US-ASCII
content-length: 266
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: kketchum@sover.net
> 
> Hi,
> Thanks for pointing to the software.
> Trying to build it I get the following:
> 
> # Makefile.PL
> "%att" is not exported by the ExtUtils::MakeMaker module at

Upgrade to the latest DBI/DBD modules. Yours are very old.

Tim.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09725-5@oink>;
          Fri, 9 Aug 1996 07:42:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839543630:24336:1; Thu, 08 Aug 96 23:33:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23895; 8 Aug 96 23:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA05898 for dbi-users-real; Thu, 8 Aug 1996 10:59:28 -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 KAA05894 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 10:59:26 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ab22729; 8 Aug 96 17:59 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa12097; 8 Aug 96 18:57 +0100
Received: from toad by oink with SMTP (PP) id <06861-0@oink>;
          Thu, 8 Aug 1996 18:57:30 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28916;
          Thu, 8 Aug 1996 18:57:22 +0000
Date: Thu, 8 Aug 1996 18:57:22 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608081757.AA28916@toad.ig.co.uk>
To: dbi-users@fugue.com, LHenefeld@gnn.com
Subject: Re: Problems building Perl 5.003, DBI, and DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 912
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Lou Henefeld <LHenefeld@gnn.com>
> 
> Folks,
> 
> I'm putting together the tools I need for building a Web-based application
> using Perl  and Oracle and I'm having some problems.
> 
> If any of you have similar configurations and have either experienced
> these problems  or avoided them, I would appreciate any advice.
> 
> The current configuration we are using or planning to use is
> 
> Solaris 2.5
> Oracle 7.3.2
> Perl 5.003			Built, but uncertain about its soundness.
> DBI 0.71			Not yet built.
> DBD::Oracle 0.37	Not yet built.

> To build Perl 5.003, I am using the Cygnus gcc compiler, rev 2.3.3.  The problems 
> that I've had compiling Perl have been overcome (maybe) by taking the following 
> steps.

The problems that you've had compiling Perl are just the start of a lot of
problems unless you upgrade your compiler! gcc 2.3.3 is an antique.

I strongly suggest you fetch 2.7.2.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09718-29@oink>;
          Fri, 9 Aug 1996 07:46:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839563380:12329:2; Fri, 09 Aug 96 05:03:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12009; 9 Aug 96 5:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA13992 for dbi-users-real; Thu, 8 Aug 1996 20:50:43 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dawn.mmm.com (dawn.mmm.com [130.99.7.79]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA13981 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 20:50:37 -0700
From: oramail@mmm.com
Received: by dawn.mmm.com (1.37.109.16/SMI-4.1) id AA236053157;
          Thu, 8 Aug 1996 22:59:17 -0500
Message-Id: <320ACE83.18B2@mmm.com>
Date: Thu, 08 Aug 1996 22:37:07 -0700
Organization: imation
X-Mailer: Mozilla 3.0b6 (Win16; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: problem with DBD::oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I have installed perl5.003 with DBD::Oracle 0.68. The tests worked
except for the one which required to connect to the database on account
of ORACLE was not installed on the same machine which had the cc
compiler, so I had to pinch only the oracle libs which I needed to do
the compile.
anyway, the compile seemed to work ok, and I am now trying to run a
previously ported oraperl(4.036) prog, and ...


I am getting the following error - can you tell me what it means:

install_driver(Oracle) failed: Can't find loadable object for module
DBD::Oracle in @INC (/users/markros/perl5/lib/PA-RISC1.1/5.003 
/users/markros/perl5/lib /users/markros/perl5/lib/site_perl/PA-RISC1.1
/users/markros/perl5/lib/site_perl .) at /users/markros/perl5
/lib/site_perl/DBD/Oracle.pm line 20
        DBI::install_driver called at
/users/markros/perl5/lib/site_perl/Oraperl.pm line 50
        require Oraperl.pm called at .//oracle.pl line 3
        main::BEGIN called at /users/markros/perl5/lib/site_perl/DBI.pm
line 0
        eval {...} called at /users/markros/perl5/lib/site_perl/DBI.pm
line 0
BEGIN failed--compilation aborted at .//oracle.pl line 3.

thanks for your time, 
mr
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09604-36@oink>;
          Fri, 9 Aug 1996 07:47:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839570718:23039:2; Fri, 09 Aug 96 07:05:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22797; 9 Aug 96 7:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA15798 for dbi-users-real; Thu, 8 Aug 1996 22:57:55 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from risc.agsm.ucla.edu (tkozlows@risc.agsm.ucla.edu [164.67.163.100]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA15794 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 22:57:54 -0700
Received: (from tkozlows@localhost) by risc.agsm.ucla.edu (8.7.5/8.7.3) 
          id WAA11518; Thu, 8 Aug 1996 22:57:27 -0700 (PDT)
From: Tom Kozlowski <tkozlows@agsm.ucla.edu>
Message-Id: <199608090557.WAA11518@risc.agsm.ucla.edu>
Subject: using DBI/DBD tools on HP-UX 10.01
To: dbi-users@fugue.com
Date: Thu, 8 Aug 1996 22:57:27 -0800 (PDT)
Cc: davids@mail001.usirvine.allergan.sprint.com
X-Mailer: ELM [version 2.4 PL22]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Any words of wisdom would be appreciated here.  I am about to build a
web application accessing Oracle 7.2.3 database on HP-UX 10.01
platform with the following tools:

OS: HP-UX 10.01 (configured)
Language: Perl 5.003 (not compiled yet)
DBI 0.71 (not compiled yet)
DBD::Oracle 0.37 (not compiled yet)
Oracle 7.2.3 (installed)
HP-UX C and ANSI C compiler available

What C compiler should I use for compiling Perl and DBI/DBD? I have a
regular HP-UX C compiler available as well as HP-UX ANSI C compiler.

How stable is Perl version 5.003 and DBI 0.71 and DBD::Oracle 0.37? Am
I better off with these latest versions or should I select other
versions?

Are there any tools (Perl, DBI, DBD) available for HP-UX 10.10?

What's the advantage of using DBD versa DBI interface for Oracle?

Many thanks in advance!!!









---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09604-38@oink>;
          Fri, 9 Aug 1996 07:47:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839572386:04493:1; Fri, 09 Aug 96 07:33:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04157; 9 Aug 96 7:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA16256 for dbi-users-real; Thu, 8 Aug 1996 23:28:02 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from riverside.mr.net (root@Riverside.MR.Net [137.192.2.5]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA16252 
          for <dbi-users@fugue.com>; Thu, 8 Aug 1996 23:28:00 -0700
Received: from data.mr.net by riverside.mr.net (8.7.5/SMI-4.1.R931202) 
          id BAA17414; Fri, 9 Aug 1996 01:27:59 -0500 (CDT)
Received: from data (data.MR.Net [137.192.192.27]) by data.mr.net (8.7.5/8.7.2) 
          with ESMTP id BAA01207 for <dbi-users@fugue.com>;
          Fri, 9 Aug 1996 01:27:58 -0500 (CDT)
Message-Id: <199608090627.BAA01207@data.mr.net>
To: dbi-users@fugue.com
Subject: The "titles" method doesn't exist, does it?
Date: Fri, 09 Aug 1996 01:27:57 -0500
From: Scott Lystig Fritchie <fritchie@MR.Net>

Greetings --

Poking through source code with eyes that should've been in bed a couple of
hours ago (gosh darn it, havin' too much fun), I think I can answer my own
question, but here is is anyway.

The document http://www.hermetica.com/technologia/DBI/doc/dbispec/3.html
mentions a method called "titles":

	  @ary | $rv = &db'titles($sh);
	      $sh -- a statement handle
	  @ary | $rv -- returns array of column names or number of columns

	In an array context &db'titles returns an array of column names. In a
	scalar context it returns the number of columns.  Returns () or 0 if
	$sh is not a select statement.

	If the engine does not provide column names then the module will return
	('col1','col2','col3') etc.

It doesn't seem to exist.  Am I overlooking something?

A related question: Has anyone wished that "fetchrow" would return
something more intelligent/friendly/object-oriented than a simple array?  
(Disclaimer: I'm not a big DBI user, but I probably will be soon.)  I've
wondered if something like this wouldn't be really useful:

	$cursor = $dbh->prepare("SELECT * FROM tablea, tableb WHERE x > y");
	while ($r = $cursor->fetchrowandincludecolumnnames) {
		printf "(x, y) = (%d, %d)\n", $r->x, $r->y;
	}

... rather than relying on knowing that x's column will be at offset 3 in
the array "fetchrow" returns.

Is there such a way to kludge something like that together?  (I'm
experimenting with DBI 0.71 and DBD for Informix 0.20pl1.)  How likely is
it I've just volunteered to delve into PerlGuts to implement something like
this?  :-)

-Scott
---
Scott Lystig Fritchie, Network Engineer          MRNet Internet Services, Inc.
fritchie@mr.net, PGP key #152B8725               Minnesota Regional Network
v: 612/362.5820, p: 612/637.9547                 2829 University Ave SE
http://www.mr.net/~fritchie/                     Minneapolis, MN  55414
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13156-2@oink>;
          Fri, 9 Aug 1996 10:08:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839575395:27644:1; Fri, 09 Aug 96 08:23:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27234; 9 Aug 96 8:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA17092 for dbi-users-real; Fri, 9 Aug 1996 00:15:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from auspex-gw2.auspex.com (auspex-gw.auspex.com [144.48.1.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA17088 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 00:15:49 -0700
Received: from auspex.auspex.com ([144.48.8.10]) 
          by auspex-gw2.auspex.com (8.6.12/8.6.12) with ESMTP id AAA16561;
          Fri, 9 Aug 1996 00:15:40 -0700
Received: from nova.auspex.fr by auspex.auspex.com (8.7.2/) id AAA07017;
          Fri, 9 Aug 1996 00:15:38 -0700 (PDT)
Received: (from kstock@localhost) by nova.auspex.fr (8.6.9/8.6.9) id JAA07001;
          Fri, 9 Aug 1996 09:15:45 +0200
Date: Fri, 9 Aug 1996 09:15:45 +0200
Message-Id: <199608090715.JAA07001@nova.auspex.fr>
To: dbi-users@fugue.com, mabdulr@bit.csc.lsu.edu
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

> Hi, I am getting an error while running make test phase of building oraperl.
> I am attaching the logfile showing the error. i will appreciate if someone can
> tell me the cause of the problem. I am running oracle  7.0.16 under ultrix4.
> [...]
> ORA-1034: ORACLE not Available
> *** Error code 2
> 

Is ORACLE_HOME set correctly?

	Kevin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14178-1@oink>;
          Fri, 9 Aug 1996 17:35:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839608250:08475:3; Fri, 09 Aug 96 17:30:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08201; 9 Aug 96 17:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA24723 for dbi-users-real; Fri, 9 Aug 1996 09:14:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from internet-mail2.ford.com (internet-mail2.ford.com [198.111.80.24]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA24719 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 09:14:33 -0700
Received: by internet-mail2.ford.com id AA27966 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Fri, 9 Aug 1996 12:13:33 -0400
Message-Id: <199608091613.AA27966@internet-mail2.ford.com>
Received: by internet-mail2.ford.com (Protected-side Proxy Mail Agent-1);
          Fri, 9 Aug 1996 12:13:33 -0400
From: Ven Srinivasan <vsriniv1@ford.com>
Date: Fri, 9 Aug 1996 12:13:55 -0400
X-Mailer: Z-Mail (3.2.1 15feb95)
To: Tim.Bunce@ig.co.uk
Subject: Some questions on DBD/DBI usage: Help Needed
Cc: vsriniv1@ford.com (Ven Srinivasan), dbi-users@fugue.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Mr Tim Bunce,

  I posted my experiences with DBD/DBI a couple of days ago, to you,
and db-users@fugue.com

  I have a few general questions on DBD/DBI (I am using Solaris 2.5, DBI 0.71,
Perl 5.0003 and DBD-Oracle 0.35, Oracle 7.2). It would be nice if you can
give me answers for some of the problems listed below. I have not gotten
any response from others.

I feel these are perfectly legitimate questions, and would help users
in general. Please indicate if you are very busy and cannot answer.
but in either case let me know.

$cursor = $dbh->prepare( "SELECT some columns from atable" );
$cursor->execute;

(1) $cursor->{'NAME'}[$i] gives the name of the ith column
    statement.
  How do I get the width of the ith  column?
  Which of the following things in DBI.pm work, and is there a work around
  for getting these values
    $sth->{NAME}       (\@)
    $sth->{NULLABLE}   (\@)
    $sth->{TYPE}       (\@)
    $sth->{PRECISION}  (\@)
    $sth->{SCALE}      (\@)
    $sth->{NUM_OF_FIELDS}  ($)
    $sth->{NUM_OF_PARAMS}  ($)

(2) How can I know all methods and variables in DBI::st? especially since
there is no other updated API, and Database Interaction Functions
at Hermetica are quite out of sync. A perl hack is fine, I indicated
how I was using debug.pl which did not work?

(3) Question: How can we get error messages returned by oracle?
Is  $DBI::errstr the only way?
 Which of the following in DBI.pm work and what is the work around?
  $dbh->{Error}      normally use $db_error
  $dbh->{ErrorStr}   normally use $db_errstr
  $dbh->{ROW_COUNT}  normally use $db_rows

(4) How would I execute something like this

  $cursor = $dbh->prepare('describe person');
  $cursor->execute;
  while ( @row = $cursor->fetch) {
   print @row;
  }
  $cursor->finish;
  $dbh->disconnect;

Since describe is not a select kind of statement, I am getting an error?

(5)
$cursor = $dbh->tables('user_name'); does not work?
Is there any intended purpose of
 $dbh->tables();?

(6)
 What is the difference between $cursor->fetchrow and $cursor->fetch?

(7) Once I execute a do->('satement');
Is there a way of looking at results (like 20 rows updated in
the database?)


  I don't know what other folks think, but most of the mail in
  dbi-users@fugue.com is instalation related like "cannot get this
  version to compile on this configuration". Can we have a different
  mailing list like dbi-installation@fugue.com for all kinds of
  installation problems, and have only usage queries on
  dbi-users@fugue.com?

regards,
Ven Srinivasan
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14362-0@oink>;
          Fri, 9 Aug 1996 18:16:30 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839610588:13791:2; Fri, 09 Aug 96 18:09:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa13365; 9 Aug 96 18:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA25413 for dbi-users-real; Fri, 9 Aug 1996 10:04:43 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bit.csc.lsu.edu (bit.csc.lsu.edu [130.39.130.15]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA25409 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 10:04:39 -0700
Received: by bit.csc.lsu.edu (5.65/DEC-Ultrix/4.3) id AA16804;
          Fri, 9 Aug 1996 12:05:49 -0500
Date: Fri, 9 Aug 1996 12:05:49 -0500
From: mabdulr@bit.csc.lsu.edu (Murad Abdulrehman)
Message-Id: <9608091705.AA16804@bit.csc.lsu.edu>
To: dbi-users@fugue.com
Subject: DBD installation.


Hi, I am trying to install DBD 0.37 with DBI 0.71 in ultrix4 using perl 5.003.
I built perl without dynamin linking(since it couldn't find dynamic libraries).
While building DBD 0.37(after installing DBI 0.71 successfully), I get error message
instructing me to create a new perl executable with dynamic loading or to 
link DBI statically with perl. I will appreciate if someone can tell me how
to link DBI with perl statically, since i have failed to create perl with dynamic linking .

Also, Makefile.PL instructs those without dynamic loading in thir perl to 
'make perl' in their DBI directory. I did that but still unable to run perlfile in DBD.

Thanks.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14797-0@oink>;
          Fri, 9 Aug 1996 19:50:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839616321:08690:3; Fri, 09 Aug 96 19:45:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08488; 9 Aug 96 19:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA26266 for dbi-users-real; Fri, 9 Aug 1996 11:38:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dns1.noc.best.net (root@dns1.noc.best.net [206.86.8.69]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA26262 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 11:38:48 -0700
Received: from redcomet.justintime.com (redcomet.justintime.com [206.86.125.17]) 
          by dns1.noc.best.net (8.6.12/8.6.5) with SMTP id LAA02514;
          Fri, 9 Aug 1996 11:38:44 -0700
Received: from redcomet (localhost) by redcomet.justintime.com (5.x/SMI-SVR4) 
          id AA09526; Fri, 9 Aug 1996 11:36:28 -0700
Message-Id: <320B852C.1062@justintime.com>
Date: Fri, 09 Aug 1996 11:36:28 -0700
From: Mike Linksvayer <ml@justintime.com>
Organization: Just in Time Solutions, Inc.
X-Mailer: Mozilla 3.0b7 (X11; I; SunOS 5.4 sun4m)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: maintain oracle session via perl daemon for performance?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

We're developing an application which calls oraperl (emulated)
scripts via CGI.  That means every time a script is called it
must connect to oracle.  I'm a little worried about performance.
Should I be?  A typical user session to last about 15 minutes and 
generate about one query a minute.  Each user is an oracle
user and initially logs into oracle (via a html form) for
authentication.

If I would gain anything by writing a daemon to keep a user's
oracle session open,  does anyone have any examples or hints?

Thanks...

--
Mike Linksvayer          Just in Time Solutions, Inc.
Web Engineer             http://www.justintime.com
ml@justintime.com        444 DeHaro Suite 132 San Francisco CA 94107
direct +1 415 487 7874   tel +1 415 487 7870   fax +1 415 487 7877
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23155-6@oink>;
          Mon, 12 Aug 1996 07:36:22 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839629565:06354:4; Fri, 09 Aug 96 23:26:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06012; 9 Aug 96 23:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA29185 for dbi-users-real; Fri, 9 Aug 1996 15:18:36 -0700
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 PAA29181 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 15:18:35 -0700
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id PAA16646; Fri, 9 Aug 1996 15:15:44 -0700
Message-Id: <199608092215.PAA16646@voro.lbl.gov>
X-Mailer: exmh version 1.6.2 7/18/95
To: Mike Linksvayer <ml@justintime.com>
cc: dbi-users@fugue.com
Subject: Re: maintain oracle session via perl daemon for performance?
In-reply-to: Your message of "Fri, 09 Aug 1996 11:36:28 PDT." <320B852C.1062@justintime.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 09 Aug 1996 15:15:44 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>


> We're developing an application which calls oraperl (emulated)
> scripts via CGI.  That means every time a script is called it
> must connect to oracle.  I'm a little worried about performance.
> Should I be?  A typical user session to last about 15 minutes and 
> generate about one query a minute.  Each user is an oracle
> user and initially logs into oracle (via a html form) for
> authentication.
> 
> If I would gain anything by writing a daemon to keep a user's
> oracle session open,  does anyone have any examples or hints?
> 
> Thanks...
> 
> --
> Mike Linksvayer          Just in Time Solutions, Inc.
> Web Engineer             http://www.justintime.com
> ml@justintime.com        444 DeHaro Suite 132 San Francisco CA 94107
> direct +1 415 487 7874   tel +1 415 487 7870   fax +1 415 487 7877


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

From: dave madden <dhm@paradigm.webvision.com>
To: dlincke@bandon.unisg.ch
Cc: dbi-users@fugue.com
Subject: daemon.tar.gz

I've heard from a couple of people that the sample network daemon code
I posted didn't uudecode properly, so I've made it available for ftp
from

    <ftp://ftp.webvision.com/pub/misc/daemon.tar.gz>

Again, this contains a Perl library that provides routines for
implementing a traditional accept/fork/serve/exit daemon, and C
functions for both traditional and server-pool daemons.  Both versions
handle signals, syslog-logging, and child cleanup fairly well (on
Solaris2.4 and IRIX-5.3, at least).

d.


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23154-12@oink>;
          Mon, 12 Aug 1996 07:37:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839629684:07153:3; Fri, 09 Aug 96 23:28:04 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa06599; 9 Aug 96 23:27 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa12297; 9 Aug 96 23:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA29235 for dbi-users-real; Fri, 9 Aug 1996 15:22:23 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from franklin.cris.com (franklin.cris.com [199.3.12.31]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA29231 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 15:22:05 -0700
Received: from cliff.cris.com (cliff.cris.com [199.3.12.45]) 
          by franklin.cris.com (8.7.5/(96/06/11 2.45)) id SAA02504;
          Fri, 9 Aug 1996 18:22:02 -0400 (EDT) [1-800-745-2747 The Concentric Network]
Errors-To: dchou@cris.com
Received: from Black ([198.95.194.156]) by cliff.cris.com (8.7.5) id SAA27294;
          Fri, 9 Aug 1996 18:21:05 -0400 (EDT)
Message-ID: <320BB9DA.1F14@concentric.net>
Date: Fri, 09 Aug 1996 15:21:14 -0700
From: Dao-liang Chou <dchou@cris.com>
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: installing DBD-Oracle-0.37 on Sun
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm using the following:

Perl 5.003
DBI 0.71
DBD 0.37
Sun Solaris 2.5

I've successfully installed Perl and DBI, but in the first step in
installing DBD, I'm getting this error:

# perl Makefile.PL
Can't locate DBI.pm in @INC at Makefile.PL line 18.
BEGIN failed--compilation aborted at Makefile.PL line 18.

Line 18 is 'use DBI 0.71;'  I also tried it with DBD-0.36, with the same
results.  What puzzles me is that when I tested it earlier in another
directory as another user (this time, I'm using root), it got past this
point.  One difference is that the directory structure was slightly
different.  In the current situation, I've got DBI, DBD, and perl all on
the same level, in /usr/local.

I'm definitely using the same gcc for everything.

Any ideas?  Thanks!
-- 
Dao-liang Chou
dchou@concentric.net
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23154-16@oink>;
          Mon, 12 Aug 1996 07:37:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839631980:02299:4; Sat, 10 Aug 96 00:06:20 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa02262; 10 Aug 96 0:06 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa18204; 10 Aug 96 0:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA29772 for dbi-users-real; Fri, 9 Aug 1996 15:59:52 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from franklin.cris.com (franklin.cris.com [199.3.12.31]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA29767 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 15:59:50 -0700
Received: from cliff.cris.com (cliff.cris.com [199.3.12.45]) 
          by franklin.cris.com (8.7.5/(96/06/11 2.45)) id SAA25348;
          Fri, 9 Aug 1996 18:59:47 -0400 (EDT) [1-800-745-2747 The Concentric Network]
Errors-To: dchou@cris.com
Received: from Black ([198.95.194.156]) by cliff.cris.com (8.7.5) id SAA12944;
          Fri, 9 Aug 1996 18:58:50 -0400 (EDT)
Message-ID: <320BC2AE.7ABB@concentric.net>
Date: Fri, 09 Aug 1996 15:58:54 -0700
From: Dao-liang Chou <dchou@cris.com>
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: [Fwd: installing DBD-Oracle-0.37 on Sun]
Content-Type: multipart/mixed; boundary="------------1AE06F07F44"

This is a multi-part message in MIME format.

--------------1AE06F07F44
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

never mind this message--a careless error.  sorry!

--------------1AE06F07F44
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

>Return-Path: <dchou@cris.com>
Received: from cliff.cris.com (cliff.cris.com [199.3.12.45])
	by franklin.cris.com (8.7.5/(96/06/11 2.45))
	id SAA02504; Fri, 9 Aug 1996 18:22:02 -0400 (EDT)
	[1-800-745-2747 The Concentric Network]
Errors-To: dchou@cris.com
Received: from Black ([198.95.194.156])
	by cliff.cris.com (8.7.5)
	id SAA27294; Fri, 9 Aug 1996 18:21:05 -0400 (EDT)
Sender: dao@cris.com
Message-ID: <320BB9DA.1F14@concentric.net>
Date: Fri, 09 Aug 1996 15:21:14 -0700
From: Dao-liang Chou <dchou@cris.com>
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: installing DBD-Oracle-0.37 on Sun
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm using the following:

Perl 5.003
DBI 0.71
DBD 0.37
Sun Solaris 2.5

I've successfully installed Perl and DBI, but in the first step in
installing DBD, I'm getting this error:

# perl Makefile.PL
Can't locate DBI.pm in @INC at Makefile.PL line 18.
BEGIN failed--compilation aborted at Makefile.PL line 18.

Line 18 is 'use DBI 0.71;'  I also tried it with DBD-0.36, with the same
results.  What puzzles me is that when I tested it earlier in another
directory as another user (this time, I'm using root), it got past this
point.  One difference is that the directory structure was slightly
different.  In the current situation, I've got DBI, DBD, and perl all on
the same level, in /usr/local.

I'm definitely using the same gcc for everything.

Any ideas?  Thanks!
-- 
Dao-liang Chou
dchou@concentric.net


--------------1AE06F07F44--

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23154-19@oink>;
          Mon, 12 Aug 1996 07:38:47 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839635802:15059:0; Sat, 10 Aug 96 01:10:02 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa14849; 10 Aug 96 1:09 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa28287; 10 Aug 96 1:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA28192 for dbi-users-real; Fri, 9 Aug 1996 14:03:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ntigate.rich.nt.com (pp@ntigate.nt.com [192.135.215.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA28188 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 14:03:43 -0700
X400-Received: by mta NT.COM in /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Fri, 9 Aug 1996 21:01:07 +0000
X400-Received: by /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Fri, 9 Aug 1996 20:58:41 +0000
X400-Received: by /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Fri, 9 Aug 1996 13:55:56 +0000
Date: Fri, 9 Aug 1996 13:55:56 +0000
X400-Originator: Greg.Giles.3113701@nt.com
X400-Recipients: non-disclosure:;
X400-MTS-Identifier: [/PRMD=NT/ADMD=MCI/C=US/;<n1372494348.48554@npgtq02.pai01]
X400-Content-Type: P2-1984 (2)
Content-Identifier: Re: Some ques...
From: Greg Giles <Greg.Giles.3113701@nt.com>
Message-ID: <n1372494348.48554@npgtq02.pai01.nt.com>
To: dbi-users@fugue.com, Tim.Bunce@ig.co.uk, Ven Srinivasan <vsriniv1@ford.com>
Subject: Re: Some questions on DBD/DB
X-Mailer: Mail*Link SMTP-QM 3.0.2 GM
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; Name="Message Body"
Content-Transfer-Encoding: quoted-printable

I know this is just extra noise and I'll probably get flack for posting
but I would also like to see some answers to these questions. If
there is anybody out there who could spare some time to point us
in the right direction we would be grateful.
Previously when I asked for such help I was pointed in the direction
of the documentation, this is certainly enough to get started, but it is
most definetly out of date, attempting to re-use the code simply
generates errors.

 ---------------------------------------------------------------------
| Greg Giles                         ESN 795 7565                     | 
| Systems Integration                mailto:greg.giles.3113701@nt.com |
| Paignton, England                                                   |
|                                                                     |
| "Some people dream of doing great things...                         |
|  the rest of us just stay awake and get on with it" - Anon          |
 ---------------------------------------------------------------------

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23154-21@oink>;
          Mon, 12 Aug 1996 07:39:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839637374:01112:4; Sat, 10 Aug 96 01:36:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01008; 10 Aug 96 1:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA01102 for dbi-users-real; Fri, 9 Aug 1996 17:30:23 -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 RAA01097 
          for <dbi-users@fugue.com>; Fri, 9 Aug 1996 17:30:21 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id RAA08864;
          Fri, 9 Aug 1996 17:30:19 -0700
Date: Fri, 9 Aug 1996 17:30:19 -0700
Message-Id: <199608100030.RAA08864@paradigm.webvision.com>
From: dave madden <dhm@paradigm.webvision.com>
To: dbi-users@fugue.com
CC: ml@justintime.com
In-reply-to: <199608092215.PAA16646@voro.lbl.gov> (message from Mark Dedlow on Fri, 09 Aug 1996 15:15:44 -0700)
Subject: Re: maintain oracle session via perl daemon for performance?

Unless I read the attributions incorrectly, Mark Dedlow
<dedlow@voro.lbl.gov> replied to Mike Linksvayer's <ml@justintime.com>
question about speeding up DB access from a CGI script by reposting an
announcement I made for some network daemon reference code.  To
forestall questions ("What does one have to do with the other?") let
me clarify:

A while ago, somebody asked more-or-less the same question, which
boils down to "what do I do about Oracle logins taking so long?"  I
(and others, as I recall) answered that you have to keep a live DB
connection going from a program whose job is to serve requests (from,
in this case, CGI scripts).  The advantage is speed: it's much faster
than having the script log into the database, process the request, log
out, and terminate.  Unfortunately, you have to do user authentication
yourself.

Mike's idea:

 =>> ...writing a daemon to keep a user's
 =>> oracle session open...

is interesting, but I suspect difficult to implement because HTTP
makes it hard to know whom you're talking to, whether you've talked to
him before, and whether you can expect to talk to him again.  (Getting
even further off topic, I've got a pretty good kludge for making this
easier; see the docs in <http://www.webvision.com/lab> for details.)

Anyway, if you can modify your cgi script to use a "generic" database
connection (perhaps by passing the user ID in with each request?) then
you'll win by writing a daemon server.

Our application, incidentally, mostly requires SELECTs from the DB, so
the server I wrote simply opens the DB and waits for client
connections on a socket.  The client sends an SQL statement, and the
server executes it and returns any results as text strings.  Security
is provided by the fact that the DB user as which the server logs in
has no UPDATE/INSERT/DELETE priveleges.  Yes, we're open to a denial-
of-service attack (somebody could swamp the server with "SELECT *
FROM SOME_BIG_TABLE" requests), but OTOH the port that the server
operates on is filtered by our routers, and we trust our internal
users.

d.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23241-23@oink>;
          Mon, 12 Aug 1996 07:44:03 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839697349:09938:3; Sat, 10 Aug 96 18:15:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09642; 10 Aug 96 18:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA14941 for dbi-users-real; Sat, 10 Aug 1996 09:57:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zu.zdk.com (ron@zu.zdk.com [199.183.114.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA14937 
          for <dbi-users@fugue.com>; Sat, 10 Aug 1996 09:57:45 -0700
Received: (from ron@localhost) by zu.zdk.com (8.6.9/8.6.9) id MAA06911 
          for dbi-users@fugue.com; Sat, 10 Aug 1996 12:57:39 -0400
From: Ron Schmidt <ron@zedak.com>
Message-Id: <199608101657.MAA06911@zu.zdk.com>
Subject: unsubscribe
To: dbi-users@fugue.com
Date: Sat, 10 Aug 1996 12:57:37 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 12

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23154-58@oink>;
          Mon, 12 Aug 1996 07:44:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839745605:03277:2; Sun, 11 Aug 96 07:40:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03034; 11 Aug 96 7:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA00150 for dbi-users-real; Sat, 10 Aug 1996 23:18:55 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail1.best.com (mail1.best.com [206.86.8.14]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA00146 
          for <dbi-users@fugue.com>; Sat, 10 Aug 1996 23:18:53 -0700
Received: from constitution.hotmail.com (constitution.hotmail.com [206.86.127.195]) 
          by mail1.best.com (8.6.12/8.6.5) with SMTP id TAA20779 
          for <dbi-users@fugue.com>; Sat, 10 Aug 1996 19:07:10 -0700
Received: from constitution.hotmail.com by constitution.hotmail.com 
          id <504415(2)>; Sat, 10 Aug 1996 15:54:22 -0700
Received: from 206.86.127.204 by www.hotmail.com with HTTP;
          Sat, 10 Aug 1996 15:54:20 PDT
From: Holly Troy <htroy@hotmail.com>
To: dbi-users@fugue.com
Subject: Placement of DBI code in Perl
Content-Type: text/plain
Message-Id: <96Aug10.155422pdt.504415(2)@constitution.hotmail.com>
Date: Sat, 10 Aug 1996 15:54:20 -0700

Are there any placement issues when using DBI in a Perl script?  For example,
should you place the "use DBI;" at the beginning of all scripts? Is it bad to
leave the connection open throughout the script?  Are there any style issues
(potentially with technical implications)?

---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23241-32@oink>;
          Mon, 12 Aug 1996 07:45:03 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839745829:04682:2; Sun, 11 Aug 96 07:43:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04451; 11 Aug 96 7:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA00484 for dbi-users-real; Sat, 10 Aug 1996 23:36:26 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail1.best.com (mail1.best.com [206.86.8.14]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA00480 
          for <dbi-users@fugue.com>; Sat, 10 Aug 1996 23:36:25 -0700
Received: from constitution.hotmail.com (constitution.hotmail.com [206.86.127.195]) 
          by mail1.best.com (8.6.12/8.6.5) with SMTP id TAA20802 
          for <dbi-users@fugue.com>; Sat, 10 Aug 1996 19:07:38 -0700
Received: from constitution.hotmail.com by constitution.hotmail.com 
          id <504688(3)>; Sat, 10 Aug 1996 15:30:24 -0700
Received: from 206.86.127.204 by www.hotmail.com with HTTP;
          Sat, 10 Aug 1996 15:30:23 PDT
From: Holly Troy <htroy@hotmail.com>
To: dbi-users@fugue.com
Subject: DBI:ORACLE DBD -- New user
Content-Type: text/plain
Message-Id: <96Aug10.153024pdt.504688(3)@constitution.hotmail.com>
Date: Sat, 10 Aug 1996 15:30:23 -0700

I have just completed installation of DBI 0.71 and DBD::Oracle 0.37 on a Sun
Ultra Solaris 2.5.  We are using Oracle 7.3.2.2 in a client server set up --
the Ultra with the database server, DBI, DBD, and Perl 5.003 and the client a
Sun Sparc Solaris 2.5 with a Netscape Commerce Server.  I have one error
message and a number of questions for anyone who  might be able to help out.

1.  Should DBI be installed on the client?
2.  Using the sample script provided at Hermetica, I ran this script from the
command line on the server as a test:

#!/usr/local/perl/bin/perl -w
#
# ex2.pl: Written by Alligator Descartes 

#Load the DBI switch
use DBI;

#Load the Oracle driver
$drh = DBI->install_driver( 'Oracle' );       

#Connects via the Oracle driver (as designated by the driver handle $drh) to a
database called 'test.world'
$dbh = $drh->connect( 'test.world', 'scott', 'tiger' );  

#Check that we have connected, if not, die
die unless $dbh;

#prepares a statement handle with regard to the statement "SELECT...
$cursor = $dbh->prepare( "SELECT * FROM holly" );
 
#sends to database and returns the rows into a cache
$cursor->execute;

#a list is returned from fetchrow
while ( $field = $cursor->fetchrow ) {
    print "Field: $field\n";
  }

#closes a cursor and frees up memory
$cursor->finish;

$dbh->disconnect;

exit;


Each time I do so, the following message appears:

Can't call method "execute" without a package or object reference at query1.pl
line 13.
Bad free() ignored during global destruction.


Is there a place I can refer to debug this and other problems.  Or is this line
a familiar mistake to anyone who has used DBI/DBD.  It seems to indicate that
the table is not being read, but I am unsure of the solution to this problem.

3.  Is the database referenced properly in the above perl script?  

If there are any code snippets or suggestions on the basics of DBI/DBD, I would
love to hear them.


Thanks


---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23241-37@oink>;
          Mon, 12 Aug 1996 07:45:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839770990:02953:2; Sun, 11 Aug 96 14:43:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02759; 11 Aug 96 14:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA06380 for dbi-users-real; Sun, 11 Aug 1996 06:36:43 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from digital.net (ddi.digital.net [198.69.104.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA06376 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 06:36:39 -0700
Received: from dhudson (pm3_8.digital.net [198.69.105.41]) 
          by digital.net (8.7.3/8.7.3) with SMTP id JAA01520 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 09:36:32 -0400 (EDT)
Message-ID: <320DDF5C.27A1@digital.net>
Date: Sun, 11 Aug 1996 09:25:48 -0400
From: Don Hudson <dhudson@digital.net>
X-Mailer: Mozilla 3.0b5aGold (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBI:ORACLE DBD for NT
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I have several questions for the group about Oracle DBI/DBD.

Does DBI/DBD Oracle work under Windows NT?

Is there binary code available? 

--
The reason for the questions is that the company I work for is looking
into using the intranet for data access both inquiry/update/delete. The
problem is the webserver is an NT Server with minimal information about
it since I.S. keep most of the docs and does not have a C compiler.


Thanks,
dhudson@digital.net
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23328-0@oink>;
          Mon, 12 Aug 1996 07:46:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839772591:19771:2; Sun, 11 Aug 96 15:09:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19507; 11 Aug 96 15:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA06407 for dbi-users-real; Sun, 11 Aug 1996 07:05:19 -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 HAA06403 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 07:05:16 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id OAA10377; Sun, 11 Aug 1996 14:56:46 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608111356.OAA10377@fruitbat.mcqueen.com>
Subject: Re: DBI:ORACLE DBD -- New user
To: htroy@hotmail.com (Holly Troy)
Date: Sun, 11 Aug 1996 14:56:45 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <96Aug10.153024pdt.504688(3)@constitution.hotmail.com> from "Holly Troy" at Aug 10, 96 03:30: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: 1968


> 2.  Using the sample script provided at Hermetica, I ran this script from the
> command line on the server as a test:
> 
> #!/usr/local/perl/bin/perl -w
> #
> # ex2.pl: Written by Alligator Descartes 
> 
> #Load the DBI switch
> use DBI;
> 
> #Load the Oracle driver
> $drh = DBI->install_driver( 'Oracle' );       
> 
> #Connects via the Oracle driver (as designated by the driver handle $drh) to a
> database called 'test.world'
> $dbh = $drh->connect( 'test.world', 'scott', 'tiger' );  
> 
> #Check that we have connected, if not, die
> die unless $dbh;
> 
> #prepares a statement handle with regard to the statement "SELECT...
> $cursor = $dbh->prepare( "SELECT * FROM holly" );

Add:

if ( !defined $cursor ) {
    die "Cannot prepare cursor: $DBI::errstr\n";
  }

> #sends to database and returns the rows into a cache
> $cursor->execute;
> 
> #a list is returned from fetchrow
> while ( $field = $cursor->fetchrow ) {
>     print "Field: $field\n";
>   }
> 
> #closes a cursor and frees up memory
> $cursor->finish;
> 
> $dbh->disconnect;
> 
> exit;
> 
> 
> Each time I do so, the following message appears:
> 
> Can't call method "execute" without a package or object reference at query1.pl
> line 13.
> Bad free() ignored during global destruction.
> 
> 
> Is there a place I can refer to debug this and other problems.  Or is this line
> a familiar mistake to anyone who has used DBI/DBD.  It seems to indicate that
> the table is not being read, but I am unsure of the solution to this problem.
> 
> 3.  Is the database referenced properly in the above perl script?  
> 
> If there are any code snippets or suggestions on the basics of DBI/DBD, I would
> love to hear them.

It must be otherwise the script would have die'd after the 'connect' call.

A.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23241-40@oink>;
          Mon, 12 Aug 1996 07:46:17 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839772896:23084:3; Sun, 11 Aug 96 15:14:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22969; 11 Aug 96 15:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA06418 for dbi-users-real; Sun, 11 Aug 1996 07:10: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 HAA06414 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 07:10:04 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id PAA10487; Sun, 11 Aug 1996 15:01:33 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608111401.PAA10487@fruitbat.mcqueen.com>
Subject: Re: Some questions on DBD/DB
To: Greg.Giles.3113701@nt.com (Greg Giles)
Date: Sun, 11 Aug 1996 15:01:32 +0100 (BST)
Cc: dbi-users@fugue.com, Tim.Bunce@ig.co.uk, vsriniv1@ford.com
In-Reply-To: <n1372494348.48554@npgtq02.pai01.nt.com> from "Greg Giles" at Aug 9, 96 01:55:56 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: 1318


> I know this is just extra noise and I'll probably get flack for posting
> but I would also like to see some answers to these questions. If
> there is anybody out there who could spare some time to point us
> in the right direction we would be grateful.
> Previously when I asked for such help I was pointed in the direction
> of the documentation, this is certainly enough to get started, but it is
> most definetly out of date, attempting to re-use the code simply
> generates errors.

Well, why not write some more new stuff? The main documentors are myself
and Tim, and as you've probably noticed, we quite regularly make two-word
replied to questions, not because we're particularly obnoxious, but mainly
because we don't have large quantities of time to spare to write all that sort
of stuff.

There are haven't been any volunteers to document this stuff, if memory serves,
nor have their been many people wishing to volunteer code examples.

Yes, the API specs are out of date, yes, the code examples are broken, but
would you rather have a bunch of examples, or broken drivers? We can't
feasibly do both.

A.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23154-67@oink>;
          Mon, 12 Aug 1996 07:46:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839773121:25779:1; Sun, 11 Aug 96 15:18:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24546; 11 Aug 96 15:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA06431 for dbi-users-real; Sun, 11 Aug 1996 07:14:22 -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 HAA06427 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 07:14:19 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id PAA10494; Sun, 11 Aug 1996 15:06:01 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608111406.PAA10494@fruitbat.mcqueen.com>
Subject: Re: Some questions on DBD/DBI usage: Help Needed
To: vsriniv1@ford.com (Ven Srinivasan)
Date: Sun, 11 Aug 1996 15:06:00 +0100 (BST)
Cc: Tim.Bunce@ig.co.uk, vsriniv1@ford.com, dbi-users@fugue.com
In-Reply-To: <199608091613.AA27966@internet-mail2.ford.com> from "Ven Srinivasan" at Aug 9, 96 12:13:55 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: 3044


>   I have a few general questions on DBD/DBI (I am using Solaris 2.5, DBI 0.71,
> Perl 5.0003 and DBD-Oracle 0.35, Oracle 7.2). It would be nice if you can
> give me answers for some of the problems listed below. I have not gotten
> any response from others.
>
> I feel these are perfectly legitimate questions, and would help users
> in general. Please indicate if you are very busy and cannot answer.
> but in either case let me know.

See my other posting.

> $cursor = $dbh->prepare( "SELECT some columns from atable" );
> $cursor->execute;
> 
> (2) How can I know all methods and variables in DBI::st? especially since
> there is no other updated API, and Database Interaction Functions
> at Hermetica are quite out of sync. A perl hack is fine, I indicated
> how I was using debug.pl which did not work?

Read the FAQ. It points to DBI.pm, which lists all methods.

> (3) Question: How can we get error messages returned by oracle?
> Is  $DBI::errstr the only way?
>  Which of the following in DBI.pm work and what is the work around?
>   $dbh->{Error}      normally use $db_error
>   $dbh->{ErrorStr}   normally use $db_errstr
>   $dbh->{ROW_COUNT}  normally use $db_rows

$DBI::errstr for verbosity, $DBI::errnum for the error value. ( Or it could
be errno? )

> (4) How would I execute something like this
> 
>   $cursor = $dbh->prepare('describe person');
>   $cursor->execute;
>   while ( @row = $cursor->fetch) {
>    print @row;
>   }
>   $cursor->finish;
>   $dbh->disconnect;
> 
> Since describe is not a select kind of statement, I am getting an error?

describe is a SQL*Plus-specific function and not SQL compliant. If you want
a table definition, look at {USER,DBA}_TAB_COLUMNS.

> (5)
> $cursor = $dbh->tables('user_name'); does not work?
> Is there any intended purpose of
>  $dbh->tables();?

Possibly, it's probably not implemented yet. Again, look at {USER,DBA}_TABLES.

> (6)
>  What is the difference between $cursor->fetchrow and $cursor->fetch?

I believe fetch is for row-cache or block fetching.

> (7) Once I execute a do->('satement');
> Is there a way of looking at results (like 20 rows updated in
> the database?)

Select the data back out.

>   I don't know what other folks think, but most of the mail in
>   dbi-users@fugue.com is instalation related like "cannot get this
>   version to compile on this configuration". Can we have a different
>   mailing list like dbi-installation@fugue.com for all kinds of
>   installation problems, and have only usage queries on
>   dbi-users@fugue.com?

Yes, and a lot of installation problems are caused by not consulting the
README files packages with the drivers, or the extra documentation at
Hermetica.

In fairness, there are weird problems on certain setups, but I'd estimate
the majority are caused by not following explicit instructions.

> Ven Srinivasan

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23241-42@oink>;
          Mon, 12 Aug 1996 07:46:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839774553:11867:4; Sun, 11 Aug 96 15:42:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11746; 11 Aug 96 15:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA06463 for dbi-users-real; Sun, 11 Aug 1996 07:35:43 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from answerman.mindspring.com (answerman.mindspring.com [204.180.128.8]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA06459 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 07:35:41 -0700
Received: from bean (user-207-69-140-163.dialup.mindspring.com [207.69.140.163]) 
          by answerman.mindspring.com (8.6.12/8.6.12) with SMTP id KAA24694;
          Sun, 11 Aug 1996 10:35:38 -0400
Message-Id: <2.2.32.19960811153947.005f0c9c@mindspring.com>
X-Sender: efp@mindspring.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 11 Aug 1996 10:39:47 -0500
To: dhudson@digital.net, dbi-users@fugue.com
From: "Eric F. Palmer" <efp@etechinc.com>
Subject: Re: DBI:ORACLE DBD for NT

I use Oracle on NT for Intranets.  Here is my $0.02 worth:

Perl 5 for NT is still a little rough around the edges.
Perl 5.001 build 107 and 109 have memory leak problems 
and it seems that garbage collection in these versions
of perl can eventually thrash so much that the programs
actaully stop doing real work.

Admittly this is for large datasets and programs that
run for long periods of time (relative to cgi).

Short cgi programs are okay but I don't trust Perl 5 (for NT)
yet for production work.  Today, I'm actaully rewritting
some statistical analysis programs from 5 to 4 to improve
performance and reliability.

As to DBD - I don't think its ready for Perl 5 on NT
Oracle or otherwise.  Anyone know something different?

There is a Perl5 NT ODBC interface that I have tested a
little and on the surface it seems good (except for
core perl 5 problems).  It was written by Dave Roth.

  Thanks Dave, Good Work.

If you use perl 4 you can access Oracle using oraperl.

Lets see, urls for this stuff, <... looking around ...>

   perl5 for NT 

      http://www.perl.hip.com/

   NT ODBC
 
     ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-authors/Dave_Roth/

   oraperl for NT perl 4.036

     ftp://ftp.bf.rmit.edu.au/pub/Oracle/OS/MS/NT/ntoraperl.zip


I'd stay with oraperl (perl 4.036) until perl 5 is at 5.003.

<standard disclaimer>

Hope this helps

Eric P
Chow....

At 09:25 AM 8/11/96 -0400, you wrote:
>Hi,
>
>I have several questions for the group about Oracle DBI/DBD.
>
>Does DBI/DBD Oracle work under Windows NT?
>
>Is there binary code available? 
>
>--
>The reason for the questions is that the company I work for is looking
>into using the intranet for data access both inquiry/update/delete. The
>problem is the webserver is an NT Server with minimal information about
>it since I.S. keep most of the docs and does not have a C compiler.
>
>
>Thanks,
>dhudson@digital.net
>
>
--------------------------------------------
SERIS - SouthEast Regional Internet Society
Enhancing Your Time On-Line
http://www.seris.org/ 
--------------------------------------------
Eric F. Palmer
770.825.0535 Voice - 770.825.0796 Fax
http://www.etechinc.com/   *** Standard Disclaimer ***
--------------------------------------------

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23154-69@oink>;
          Mon, 12 Aug 1996 07:46:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839780969:24841:4; Sun, 11 Aug 96 17:29:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24677; 11 Aug 96 17:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA06613 for dbi-users-real; Sun, 11 Aug 1996 09:23:09 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from medg.lcs.mit.edu (medg.lcs.mit.edu [18.30.0.179]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA06609 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 09:23:06 -0700
Received: from dimsum (dimsum.tch.harvard.edu [134.174.30.250]) 
          by medg.lcs.mit.edu (8.6.9/8.6.9) with SMTP id MAA09112 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 12:17:28 -0400
Message-ID: <320E09A2.5965@medg.lcs.mit.edu>
Date: Sun, 11 Aug 1996 12:26:10 -0400
From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
Organization: Children's Hospital Informatics Program
X-Mailer: Mozilla 3.0b5aGold (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBI/DBD Oracle on Sol 2.5/Sparc-20
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

	I compiled DBI and the Oracle DBD on:

	* Sol 2.5 Sparc-20 
	* Oracle 7.3.2
	* DBD-Oralce-0.37
	* DBI-0.71
	
	My initial attempts were defeated by a bunch of compilation errors
starting 
with a complaint about STMT_START not being defined. I found it in
perl.h and managed to force the compilation by pasting the following
code into Oracle.h:


	

#if !(defined(STMT_START) && defined(STMT_END))
# if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#   define STMT_START   (void)( /* gcc supports ``({ STATEMENTS; })'' */
#   define STMT_END     )
# else
   /* Now which other defined()s do we need here ??? */
#  if (VOIDFLAGS) && (defined(sun) || defined(__sun__))
#   define STMT_START   if (1)
#   define STMT_END     else (void)0
#  else
#   define STMT_START   do
#   define STMT_END     while (0)
#  endif
# endif
#endif



Oracle.c: In function `XS_DBD__Oracle__st_fetchrow':
Oracle.c:313: `STMT_START' undeclared (first use this function)
Oracle.c:313: (Each undeclared identifier is reported only once
Oracle.c:313: for each function it appears in.)
Oracle.c:313: parse error before `{'
Oracle.c:312: warning: unused variable `i'
Oracle.c:311: warning: unused variable `num_fields'
Oracle.c:313: `STMT_END' undeclared (first use this function)
Oracle.c:314: `i' undeclared (first use this function)
Oracle.c:314: `num_fields' undeclared (first use this function)
Oracle.c:315: `av' undeclared (first use this function)
Oracle.c: At top level:
Oracle.c:318: conflicting types for `Perl_stack_sp'
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/perl.h:876: previous
declaration of `Perl_stack_sp'
Oracle.c:318: `sp' undeclared here (not in a function)
Oracle.c:318: ANSI C forbids data definition with no type or storage
class
Oracle.c:319: parse error before `return'
Oracle.c: In function `XS_DBD__Oracle__st_blob_read':
Oracle.c:325: warning: initialization makes pointer from integer without
a cast
Oracle.c:353: warning: assignment makes integer from pointer without a
cast
Oracle.c: In function `XS_DBD__Oracle__st_STORE':
Oracle.c:358: warning: initialization makes pointer from integer without
a cast
Oracle.c:370: warning: assignment makes integer from pointer without a
cast
Oracle.c: In function `XS_DBD__Oracle__st_FETCH':
Oracle.c:375: warning: initialization makes pointer from integer without
a cast
Oracle.c:386: warning: assignment makes integer from pointer without a
cast
Oracle.c: In function `XS_DBD__Oracle__st_finish':
Oracle.c:391: warning: initialization makes pointer from integer without
a cast
Oracle.c:402: warning: assignment makes integer from pointer without a
cast
Oracle.c:406: warning: assignment makes integer from pointer without a
cast
Oracle.c:410: warning: assignment makes integer from pointer without a
cast
Oracle.c: In function `XS_DBD__Oracle__st_DESTROY':
Oracle.c:415: warning: initialization makes pointer from integer without
a cast
Oracle.c:433: warning: assignment makes integer from pointer without a
cast
Oracle.c: In function `boot_DBD__Oracle':
Oracle.c:443: warning: initialization makes pointer from integer without
a cast
Oracle.c:483: warning: assignment makes integer from pointer without a
cast
*** Error code 1
make: Fatal error: Command failed for target `Oracle.o'






The compilation errors are:



	
-- 
regards,
Taranga Ghosh
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23328-4@oink>;
          Mon, 12 Aug 1996 07:46:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839783103:19683:1; Sun, 11 Aug 96 18:05:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19310; 11 Aug 96 18:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA06789 for dbi-users-real; Sun, 11 Aug 1996 10:00:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatewy.worldbank.org (gatewy.worldbank.org [138.220.3.9]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA06785;
          Sun, 11 Aug 1996 10:00:16 -0700
Received: from remus.worldbank.org by worldbank.org (PMDF V5.0-7 #7413) 
          id <01I85F9QXNWM000GMB@worldbank.org>;
          Sun, 11 Aug 1996 12:57:44 -0500 (EST)
Received: from localhost by remus.worldbank.org; (5.65/1.1.8.2/28Dec95-0332PM) 
          id AA14783; Sun, 11 Aug 1996 12:59:45 -0400
Date: Sun, 11 Aug 1996 12:59:45 -0400 (EDT)
From: "Alok K. Dhir" <adhir@worldbank.org>
Subject: unsubscribe
To: dbi-users@fugue.com, dbi-users-request@fugue.com
Message-id: <Pine.OSF.3.95.960811125920.14778B-100000@remus.worldbank.org>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Content-transfer-encoding: 7BIT

unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23154-72@oink>;
          Mon, 12 Aug 1996 07:47:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839797691:04637:1; Sun, 11 Aug 96 22:08:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03954; 11 Aug 96 22:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA09809 for dbi-users-real; Sun, 11 Aug 1996 14:01:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from Archive.MsState.Edu (Archive.MsState.Edu [130.18.80.12]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA09805 
          for <dbi-users@fugue.com>; Sun, 11 Aug 1996 14:01:48 -0700
Received: from aac.MsState.Edu (Mad.AAC.MsState.Edu [130.18.148.135]);
          by Archive.MsState.Edu using ESMTP (SMI-8.6/7.0m-FWP-MsState);
          id QAA22243; Sun, 11 Aug 1996 16:01:40 -0500
Received: from localhost (tom@localhost) by aac.MsState.Edu (8.7.3/8.7.3) 
          with SMTP id QAA09278; Sun, 11 Aug 1996 16:02:51 -0500 (CDT)
Date: Sun, 11 Aug 1996 16:02:50 -0500 (CDT)
From: Tom White <tom@aac.MsState.Edu>
Reply-To: Tom White <tom@aac.MsState.Edu>
To: dbi-users@fugue.com
cc: Alligator Descartes <descarte@hermetica.com>
Subject: DBI example (was Re: Some questions on DBD/DB)
In-Reply-To: <199608111401.PAA10487@fruitbat.mcqueen.com>
Message-ID: <Pine.GSO.3.95.960811150233.8871A-100000@aac.msstate.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sun, 11 Aug 1996, Alligator Descartes wrote:

> There haven't been any volunteers to document this stuff, if memory serves,
> nor have their been many people wishing to volunteer code examples.

I'll volunteer an example:

    http://www.ces.msstate.edu/~tom/dbix/

There's no DBI stuff in there that I didn't get out of AD's
examples, though.  The DBD I'm using is mSQL.

-- Tom White   <tom@ces.MsState.edu>
   Cooperative Extension Service
   Mississippi State University

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23716-0@oink>;
          Mon, 12 Aug 1996 08:32:04 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839834846:17553:2; Mon, 12 Aug 96 08:27:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17143; 12 Aug 96 8:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA18173 for dbi-users-real; Mon, 12 Aug 1996 00:11:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from starnet.gov.sg (mercury.starnet.gov.sg [202.42.202.192]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id AAA18169 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 00:11:45 -0700
From: ytanmeng@starnet.gov.sg
Received: by starnet.gov.sg (5.x/SMI-SVR4) id AA17977;
          Mon, 12 Aug 1996 15:14:22 +0800
Date: Mon, 12 Aug 1996 15:14:22 +0800
Message-Id: <9608120714.AA17977@starnet.gov.sg>
To: dbi-users@fugue.com
X-Mailer: Lynx, Version 2.3.7 BETA
X-Personal_Name: Nicholas Yue
Subject: Remote Oracle Query possible ?

Hi,


    I have an Oracle 7.X server running on an HPUX 10.X which does not have
a compiler. As such, I cannot get perl5.003 running on it (HPUX).


    I have an IBM E20 which I have installed perl5 and can upgrade to 5.0003
if necessary. I have look (briefly) at the Oraperl API but could not locate
a call in which we can pass the hostname (HPUX) while the query originates
from the IBME20 machine.

    I believe that MSQL have such a capability and that Oracle have a
listener/orasvr entry in /etc/services, will this capability with current
DBD::Oracle ?

Thanks In Advance & Regards
ytanmeng@starnet.gov.sg

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27344-2@oink>;
          Mon, 12 Aug 1996 12:37:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839838135:18210:4; Mon, 12 Aug 96 09:22:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id ab17997; 12 Aug 96 9:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA19124 for dbi-users-real; Mon, 12 Aug 1996 01:16:36 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ntigate.rich.nt.com (pp@ntigate.nt.com [192.135.215.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id BAA19120 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 01:16:35 -0700
X400-Received: by mta NT.COM in /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Mon, 12 Aug 1996 08:15:54 +0000
X400-Received: by /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Mon, 12 Aug 1996 08:13:39 +0000
X400-Received: by /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Mon, 12 Aug 1996 01:11:32 +0000
Date: Mon, 12 Aug 1996 01:11:32 +0000
X400-Originator: Greg.Giles.3113701@nt.com
X400-Recipients: non-disclosure:;
X400-MTS-Identifier: [/PRMD=NT/ADMD=MCI/C=US/;<n1372281044.76247@npgtq02.pai01]
X400-Content-Type: P2-1984 (2)
Content-Identifier: Re: DBI examp...
From: Greg Giles <Greg.Giles.3113701@nt.com>
Message-ID: <n1372281044.76247@npgtq02.pai01.nt.com>
To: Alligator Descartes <descarte@hermetica.com>, dbi-users@fugue.com, 
    Tom White <tom@aac.MsState.Edu>
Subject: Re: DBI example (was Re: Som
X-Mailer: Mail*Link SMTP-QM 3.0.2 GM
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; Name="Message Body"
Content-Transfer-Encoding: quoted-printable

>I'll volunteer an example:

>    http://www.ces.msstate.edu/~tom/dbix/

Ok this is a good start, I can add to this I use a slight modification of =
the connect
string which I find more convenient (presumably this works across =
databases
other than Oracle):

$dbh =3D DBI -> connect ('mydatabase', 'scott', 'tiger', 'Oracle');

 ---------------------------------------------------------------------
| Greg Giles                         ESN 795 7565                     | 
| Systems Integration                mailto:greg.giles.3113701@nt.com |
| Paignton, England                                                   |
|                                                                     |
| "Some people dream of doing great things...                         |
|  the rest of us just stay awake and get on with it" - Anon          |
 ---------------------------------------------------------------------

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28880-1@oink>;
          Mon, 12 Aug 1996 18:00:57 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839862156:25309:3; Mon, 12 Aug 96 16:02:36 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa24082; 12 Aug 96 16:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA24927 for dbi-users-real; Mon, 12 Aug 1996 07:50:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from web.AEC.at (web-wan.AEC.at [193.170.192.199]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA24916 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 07:50:46 -0700
Received: (from oliver@localhost) by web.AEC.at (8.7.1/8.7) id QAA18939;
          Mon, 12 Aug 1996 16:58:49 +0200
Date: Mon, 12 Aug 1996 16:58:49 +0200 (MET DST)
From: Oliver Frommel <oliver@aec.at>
To: dbi-users@fugue.com
Subject: Problems building DBD-Oracle
Message-ID: <Pine.LNX.3.91.960812165235.7922A-100000@web.aec.at>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello,

i got problems while trying to build DBD-Oracle-0.37 on a a DEC Alphaserver
1000A, Digital Unix V3.2, Perl 5.003 and Oracle 7.3.2.

I successfully built DBI-0.71, but when i try 'perl Makefile.PL' i get :

Using Oracle in /orasys/app/oracle/product/7.3.2
ERROR parsing /orasys/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk: Unable to determine what to link with.

what am i missing ?

thanks
oliver

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28880-3@oink>;
          Mon, 12 Aug 1996 18:01:06 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839864092:19249:2; Mon, 12 Aug 96 16:34:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa18901; 12 Aug 96 16:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA22117 for dbi-users-real; Mon, 12 Aug 1996 04:41:13 -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 EAA22113 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 04:41:11 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id aj25277; 12 Aug 96 12:41 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae00845; 12 Aug 96 12:37 +0100
Received: from toad by oink with SMTP (PP) id <27225-0@oink>;
          Mon, 12 Aug 1996 12:17:48 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08580;
          Mon, 12 Aug 1996 12:17:41 +0000
Date: Mon, 12 Aug 1996 12:17:41 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608121117.AA08580@toad.ig.co.uk>
To: dbi-users@fugue.com, tghosh@medg.lcs.mit.edu
Subject: Re: DBI/DBD Oracle on Sol 2.5/Sparc-20
X-Sun-Charset: US-ASCII
content-length: 656
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
> 
> Hi,
> 	I compiled DBI and the Oracle DBD on:
> 
> 	* Sol 2.5 Sparc-20 
> 	* Oracle 7.3.2
> 	* DBD-Oralce-0.37
> 	* DBI-0.71
> 	
> 	My initial attempts were defeated by a bunch of compilation errors
> starting 
> with a complaint about STMT_START not being defined. I found it in
> perl.h and managed to force the compilation by pasting the following
> code into Oracle.h:

That makes no sense. Something about your installation of Perl is broken.
Start again with a clean re-build and re-installation of Perl5.003.

Tim.

p.s. I have _very_ little time for dbi-users right now. Please help each other.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00814-0@oink>;
          Tue, 13 Aug 1996 02:25:03 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839871276:02352:0; Mon, 12 Aug 96 18:34:36 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa01646; 12 Aug 96 18:33 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa13937; 12 Aug 96 18:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27393 for dbi-users-real; Mon, 12 Aug 1996 10:24:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from constitution.hotmail.com (constitution.hotmail.com [206.86.127.195]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA27389 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 10:24:56 -0700
Received: from constitution.hotmail.com by constitution.hotmail.com 
          id <505971(1)>; Mon, 12 Aug 1996 10:24:53 -0700
Received: from 206.86.127.204 by www.hotmail.com with HTTP;
          Mon, 12 Aug 1996 10:24:52 PDT
From: Holly Troy <htroy@hotmail.com>
To: dbi-users@fugue.com
Subject: Oracle Table, not found by DBI/DBD
Content-Type: text/plain
Message-Id: <96Aug12.102453pdt.505971(1)@constitution.hotmail.com>
Date: Mon, 12 Aug 1996 10:24:52 -0700

Oracle 7.3, Solaris 2.5

I wrote in earlier about an error in attempting to use the basic perl connect
script.  It seems that the script cannot find my table.  I get this error:

Cannot prepare cursor: ORA-00942: table or view does not exist (DBD: possibly
parse error near character 15 of 20 in 'SELECT * FROM family')
Bad free() ignored during global destruction.


If the script connects to the Oracle database instance, why might it be unable
to find the table itself?


---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00814-36@oink>;
          Tue, 13 Aug 1996 02:27:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839891704:24735:6; Tue, 13 Aug 96 00:15:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24558; 13 Aug 96 0:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27649 for dbi-users-real; Mon, 12 Aug 1996 10:42:56 -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 KAA27645 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 10:42:55 -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 KAA03923;
          Mon, 12 Aug 1996 10:42:25 -0700 (PDT)
Date: Mon, 12 Aug 1996 10:42:25 -0700 (PDT)
X-Sender: jake@vivid.vivid.com
Message-Id: <ae34b9c200021004e518@[205.163.51.232]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: ytanmeng@starnet.gov.sg
From: jake@vivid.com (Jake Donham)
Subject: Re: Remote Oracle Query possible ?
Cc: dbi-users@fugue.com

At 7:14 AM 8/12/96, ytanmeng@starnet.gov.sg wrote:
>    I have an IBM E20 which I have installed perl5 and can upgrade to 5.0003
>if necessary. I have look (briefly) at the Oraperl API but could not locate
>a call in which we can pass the hostname (HPUX) while the query originates
>from the IBME20 machine.

You can use Oracle's SQL*Net to do remote database queries. Put an entry
for the HP box in the SQL*Net config files (on the IBM box), then connect
to it from the IBM box by giving {database name}@{SQL*Net host name} as the
database name in your Oraperl connect call.


__________
J.A.K.E.
void star
http://www.vivid.com/vividians/bios/jake.html


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00814-37@oink>;
          Tue, 13 Aug 1996 02:27:24 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839891704:24679:4; Tue, 13 Aug 96 00:15:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23984; 13 Aug 96 0:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA27767 for dbi-users-real; Mon, 12 Aug 1996 10:49:04 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from jafar.qualcomm.com (jafar.qualcomm.com [129.46.50.13]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA27763 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 10:49:04 -0700
Received: from [129.46.123.254] (nparker-mac.qualcomm.com [129.46.123.254]) 
          by jafar.qualcomm.com (8.7.5/1.0/8.7.2/1.9) with ESMTP id KAA21040 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 10:42:31 -0700 (PDT)
X-Sender: nparker@jafar.qualcomm.com
Message-Id: <v03007802ae35158af650@[129.46.123.254]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 12 Aug 1996 10:42:31 -0700
To: dbi-users@fugue.com
From: Nathan Parker <nathanp@qualcomm.com>
Subject: New DBD version for Informix

Hello,

  I'm a co-worker of Corinne Koder (from Qualcomm) who has been working
with you on problems with the Informix DBD module.  She is out of town now,
so I'm taking over where she left off.  She said that there was a new
verision due out last Friday that would fix the truncated integer problem.
Where can I find this new module?  I've browsed your FTP and Web server
with no luck.  This is rather urgent now because our project has been held
up for several weeks due to this bug.  Thank you very much.

 -- Nathan Parker, nparker@qualcomm.com


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00814-56@oink>;
          Tue, 13 Aug 1996 02:28:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839897420:19386:10; Tue, 13 Aug 96 01:50:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19109; 13 Aug 96 1:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA01050 for dbi-users-real; Mon, 12 Aug 1996 14:24: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 OAA01046 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 14:24:29 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ab26544; 12 Aug 96 21:23 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab10203; 12 Aug 96 22:09 +0100
Received: from toad by oink with SMTP (PP) id <29639-0@oink>;
          Mon, 12 Aug 1996 18:54:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA09954;
          Mon, 12 Aug 1996 18:54:32 +0000
Date: Mon, 12 Aug 1996 18:54:32 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608121754.AA09954@toad.ig.co.uk>
To: dbi-users@fugue.com, oliver@aec.at
Subject: Re: Problems building DBD-Oracle
X-Sun-Charset: US-ASCII
content-length: 593
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Oliver Frommel <oliver@aec.at>
> 
> i got problems while trying to build DBD-Oracle-0.37 on a a DEC Alphaserver
> 1000A, Digital Unix V3.2, Perl 5.003 and Oracle 7.3.2.
> 
> I successfully built DBI-0.71, but when i try 'perl Makefile.PL' i get :
> 
> Using Oracle in /orasys/app/oracle/product/7.3.2
> ERROR parsing /orasys/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk: Unable to determine what to link with.
> 
> what am i missing ?

Nothing. You've just got an unusual Oracle port. Send me a copy of proc.mk
and the additional files in 'include's and I'll take a look.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02537-2@oink>;
          Tue, 13 Aug 1996 04:22:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839902031:23965:4; Tue, 13 Aug 96 03:07:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23673; 13 Aug 96 3:06 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA01251 for dbi-users-real; Mon, 12 Aug 1996 14:37:53 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pascal.PFM-Mainz.de (pascal.PFM-Mainz.DE [194.121.197.10]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA01246 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 14:37:43 -0700
Received: (from uucp@localhost) by pascal.PFM-Mainz.de (8.6.9/8.6.9) with UUCP 
          id XAA23843; Mon, 12 Aug 1996 23:37:40 +0200
Received: (from tom@localhost) by hulda.pfm-mainz.de (8.6.12/8.6.9) id XAA00374;
          Mon, 12 Aug 1996 23:36:46 +0200
Date: Mon, 12 Aug 1996 23:36:46 +0200
Message-Id: <199608122136.XAA00374@hulda.pfm-mainz.de>
From: Thomas Hahn <tom@hulda.pfm-mainz.de>
To: dbi-users@fugue.com
CC: Tim.Bunce@ig.co.uk
In-reply-to: Thomas Hahn's message of Sat, 3 Aug 1996 23:33:54 +0200
Subject: Re: DBD::Oracle - Can't use blanks as values
References: <199608032133.XAA00717@hulda.pfm-mainz.de>

Hi there.
This is a repost, as there must be some people who haven't seen it
already. (That is at least Tim. ;-)
For the others, my apologies for another long post.
As I got ONE reply saying a somewhat similar post went unanswered, is
it possible, that some mails get lost ?

> Precedence: junk
> Sender: owner-perldb-interest@fugue.com
> Date: Sat, 3 Aug 1996 23:33:54 +0200
> From: Thomas Hahn <tom@hulda.PFM-Mainz.de>
> Lines: 342
> Xref: hulda.pfm-mainz.de mail.perldb:1371 mail.sentmail:65
> X-Gnus-Newsgroup: mail.perldb:1371   Mon Aug  5 00:43:36 1996
> X-Gnus-Newsgroup: mail.sentmail:65   Mon Aug  5 00:43:36 1996

(following quotes removed ...)

I have problems using blanks as values in SQL statements.
i.e. with the given table:

---snip---
create table test_thomas
(
a			number(38) not null,
text			varchar2(10) not null
)
;
---snip---

and the perl script

---snip---
#! /usr/local/bin/perl

eval 'use Oraperl; 1' || die $@ if $] >= 5;

print "Use Oraperl under perl5 rather than oraperl\n" if $] >= 5;

print &ora_version();

$lda = &ora_login($system_id, 'uuuuu', 'ppppp')	|| die $ora_errstr;

$lda->debug(2) if $] >= 5;

$sql_stmt = <<"END_OF_SQL_STATEMENT";
insert into test_thomas
values ( :1, :2 )
END_OF_SQL_STATEMENT

$icsr = &ora_open($lda, $sql_stmt) || die $ora_errstr;
$icsr->debug(2) if $] >= 5;

$res = &ora_bind($icsr, 5, ' ');
#                          ^^^      THIS BREAKS IT!

if($ora_errno){
	die "$ora_errno\n$ora_errstr";
}

&ora_commit($lda) || die "ora_commit failed";
---snip---

The script produces
---snip---
Use Oraperl under perl5 rather than oraperl

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.37
DBI-0.71 Switch by Tim Bunce, version 0.71

SunOS mcssun 5.3 Generic_101318-75 sun4m sparc
\n1    DBI::db=HASH(0x2538b0) debug level set to 2
    -> prepare for DBD::Oracle::db (DBI::db=HASH(0x2538c8)~0x2538b0 'insert into test_thomas
values ( :1, :2 )
')
    <- prepare= DBI::st=HASH(0x17c7d4)
    -> FETCH for DBD::Oracle::st (DBI::st=HASH(0x2853bc) 'NUM_OF_PARAMS')
    <- FETCH= 2
    -> debug in DBD::_::common for DBD::Oracle::st (DBI::st=HASH(0x17c7d4)~0x2853bc 2)
    <- debug= 2
    -> execute for DBD::Oracle::st (DBI::st=HASH(0x17c7d4)~0x2853bc 5 ' ')
    <- execute= undef
1400
ORA-01400: mandatory (NOT NULL) column is missing or NULL during insert (DBD: oexec error) at test_oraperl.pl line 24, <IN> chunk 1.
    -> DESTROY for DBD::Oracle::st (DBI::st=HASH(0x2853bc))
    <- DESTROY= undef
    -> DESTROY for DBD::Oracle::db (DBI::db=HASH(0x2538b0))
Bad free() ignored during global destruction.
	eval {...} called at test_oraperl.pl line 0
    <- DESTROY= undef
---snip---

If I use anything like
	$res = &ora_bind($icsr, 5, 'some text');
if works. With ' ' it used to work with the old oraperl 2.4 with and without
the -DNO_BIND_PADDING compile option.

Logs of the compilation process:
---snip---
mcssun.hahn(DBI-0.71)$ 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.34)
Checking if your kit is complete...
Looks good
	NAME => q[DBI]
	PREREQ_PM => {  }
	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] }
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
mcssun.hahn(DBI-0.71)$ make
cp DBIXS.h ./blib/arch/DBI/DBIXS.h
cp DBI.pm ./blib/lib/DBI.pm
cp lib/DBD/NullP.pm ./blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm ./blib/lib/DBD/Sponge.pm
cp lib/DBD/ExampleP.pm ./blib/lib/DBD/ExampleP.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.003 -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  -I/usr/local/include -O    -DVERSION=\"0.71\" -DXS_VERSION=\"0.71\" -Kpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE  DBI.c
"DBI.c", line 1287: warning: end-of-loop code not reached
"DBI.c", line 1301: warning: end-of-loop code not reached
"DBI.c", line 1345: warning: end-of-loop code not reached
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/arch/auto/DBI/DBI.so -G -L/usr/local/lib DBI.o     
chmod 755 blib/arch/auto/DBI/DBI.so
cp DBI.bs ./blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs
mcssun.hahn(DBI-0.71)$ make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/min...............DBD::ExampleP in /usr/local/lib/perl5/site_perl is hidden by DBD::ExampleP in ./blib/lib
 at t/min.t line 16
DBD::NullP in /usr/local/lib/perl5/site_perl is hidden by DBD::NullP in ./blib/lib
 at t/min.t line 16
DBD::Sponge in /usr/local/lib/perl5/site_perl is hidden by DBD::Sponge in ./blib/lib
 at t/min.t line 16
ok
All tests successful.
Files=1,  Tests=12,  1 secs ( 0.44 cusr  0.21 csys =  0.65 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 test.pl
test.pl 
DBI test application $Revision: 1.15 $
Switch: DBI-0.71 Switch by Tim Bunce, 0.71
DebugDispatch: 0
DBD::ExampleP in /usr/local/lib/perl5/site_perl is hidden by DBD::ExampleP in ./blib/lib
 at test.pl line 49
DBD::NullP in /usr/local/lib/perl5/site_perl is hidden by DBD::NullP in ./blib/lib
 at test.pl line 49
DBD::Sponge in /usr/local/lib/perl5/site_perl is hidden by DBD::Sponge in ./blib/lib
 at test.pl line 49
Available Drivers: ExampleP, NullP, Sponge, Oracle
Read DBI special variables (expect 0, 99, 99):
err:    
err:    99
errstr: 99
Attempt to modify DBI special variables.
Expect a 'Can't modify' error message:
Can't modify $DBI::&rows special variable at test.pl line 59

Connected as DBI::db=HASH(0x199d70)

Test error handling: prepare()'ing an invalid query.
Expect prepare to return UNDEF and an error message:
prepare returned UNDEF. $DBI::err=Unknown field names: unknown_field_name

Cursor prepare'd as DBI::st=HASH(0x199e90)
Prepared as DBI::st=HASH(0x199f44)
Number of fields: 3
Data type of first field: 1
Driver name: ExampleP

Fetching data from both cursors.
Expect several rows of data:
16893 2 ., 2 512 .
16877 2 .., 2 512 ..
16832 3 lost+found, 2 512 cron
16893 3776 kvm, 2 512 locks
16893 15104 bin, 2 512 mqueue
16877 18880 kernel, 2 512 pkg
16893 41536 lib, 2 512 uucp
16877 52867 sadm, 2 512 uucppublic
16893 79298 sbin, 2 512 lp
16877 86850 share, 2 512 calendar

Automatic method parameter usage check.
Expect a 'DBI ... invalid' error and a 'Usage: ...' message:
DBI commit: invalid number of parameters: handle + 1
Usage: $h->commit() at test.pl line 124.

Preparing new $cursor_a to replace current $cursor_a.
We enable debugging on current to watch it's destruction.
Expect several lines of DBI trace information:
    DBI::st=HASH(0x199f68) debug level set to 2
    -> DESTROY for DBD::ExampleP::st (DBI::st=HASH(0x199f68))
    <- DESTROY= undef

Executing via func redirect: $h->func(..., 'execute')

Binding columns of $cursor_a to variables.

Fetching one row from new $cursor_a with a bound column.
Expect a large number follwed by a dot:
838998004 .
bind_col worked

Cursor tests done (scoped objects will be destroyed now)
test.pl done (global destruction will follow)

---snip---

and with 
---snip---
mcssun.hahn(DBD-Oracle-0.37)$ perl Makefile.PL 

 Configuring DBD::Oracle ...

>>>	Remember to actually *READ* the README file!

Using Oracle in /appl/oracle/product
Using /appl/oracle/product/proc/lib/proc.mk (version 7.26)
System: perl5.003 sunos mcssun 5.3 generic_101318-75 sun4m sparc 
Compiler: cc -O -I/usr/local/include
Linker:   /usr/ccs/bin/ld
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
Linking with /appl/oracle/product/lib/osntab.o -L/appl/oracle/product/lib -locic  -lsqlnet -lora -L/appl/oracle/product/lib -lpls -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl -laio 

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
mcssun.hahn(DBD-Oracle-0.37)$ make
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
/usr/local/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.003 -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
cc -c -I/appl/oracle/product/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -I/usr/local/include -O    -DVERSION=\"0.37\" -DXS_VERSION=\"0.37\" -Kpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE  Oracle.c
"Oracle.c", line 144: warning: end-of-loop code not reached
"Oracle.c", line 256: warning: end-of-loop code not reached
"Oracle.c", line 265: warning: end-of-loop code not reached
"Oracle.c", line 306: warning: end-of-loop code not reached
"Oracle.c", line 307: warning: end-of-loop code not reached
"Oracle.c", line 402: warning: end-of-loop code not reached
"Oracle.c", line 406: warning: end-of-loop code not reached
cc -c -I/appl/oracle/product/rdbms/demo -I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -I/usr/local/lib/perl5/sun4-solaris/5.003/DBI -I/usr/local/include -O    -DVERSION=\"0.37\" -DXS_VERSION=\"0.37\" -Kpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/appl/oracle/product/lib:/lib" cc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o dbdimp.o /appl/oracle/product/lib/osntab.o /appl/oracle/product/lib/__fstd.o   -L/appl/oracle/product/lib -L/appl/oracle/product/lib -locic -lsqlnet -lora -L/appl/oracle/product/lib -lpls -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -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

mcssun.hahn(DBD-Oracle-0.37)$ make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
All tests successful.
Files=1,  Tests=5,  2 secs ( 0.98 cusr  0.43 csys =  1.41 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.21 $

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.37
DBI-0.71 Switch by Tim Bunce, version 0.71


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

csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: CDEF$
Fetched: TAB$
Fetched: IND$
Fetched: CLU$
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 (3 seconds).

---snip---

---snip---
mcssun.hahn(DBD-Oracle-0.37)$ perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.3, archname=sun4-solaris
    uname='sunos mcssun 5.3 generic_101318-75 sun4m sparc '
    hint=recommended, useposix=true, d_sigaction=define
  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='cc', 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='-Kpic', lddlflags='-G -L/usr/local/lib'

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

The results are the same under sol2.4 and Oracle 7.2.3.

I apologize if I missed anything, but right now I don't know any further.


Best regards
	Thomas
-- 
tom@hulda.pfm-mainz.de           ==         Thomas Hahn, 55130 Mainz, Germany
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03392-5@oink>;
          Tue, 13 Aug 1996 07:36:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839909291:11827:3; Tue, 13 Aug 96 05:08:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11656; 13 Aug 96 5:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA07403 for dbi-users-real; Mon, 12 Aug 1996 20:59:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from franklin.cris.com (franklin.cris.com [199.3.12.31]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA07391 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 20:59:04 -0700
Received: from cliff.cris.com (cliff.cris.com [199.3.12.45]) 
          by franklin.cris.com (8.7.5/(96/06/11 2.45)) id XAA21697;
          Mon, 12 Aug 1996 23:58:43 -0400 (EDT) [1-800-745-2747 The Concentric Network]
Errors-To: dchou@cris.com
Received: from decaf ([198.95.194.130]) by cliff.cris.com (8.7.5) id XAA26133;
          Mon, 12 Aug 1996 23:58:19 -0400 (EDT)
Message-ID: <320FFD5D.7462@concentric.net>
Date: Mon, 12 Aug 1996 20:58:21 -0700
From: Dao-liang Chou <dchou@cris.com>
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: make error with DBD-Oracle-0.37
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have successfully installed Perl5003, DBI-0.71, and DBD-Oracle-0.37
onto my Sun Solaris 2.5 server, where my Oracle server/database are.
Now, I'm trying to run a Perl script from my client, where the Web
server is.  I'm assuming, from the problems I was having, that I also
need to install DBI and DBD on the client (same type of machine/OS).

DBI installed successfully, but I'm getting an error in the 'make' step
of DBD.  Here's the entire log:

decaf# perl Makefile.PL

 Configuring DBD::Oracle ...

>>>	Remember to actually *READ* the README file!

Using Oracle in /export/home/app/oracle/product/7.3.2
Using /export/home/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk
/export/home/app/oracle/product/7.3.2/precomp/env_precomp.mk 
Warning: Solaris 2.5 bug #1224467 may cause '_rmutex_unlock' error.
Deleting -lthread from link list as a possible workround.
System: perl5.003 sunos black 5.5 generic sun4u sparc sunw,ultra-1 
Compiler: gcc -O 
Linker:   /usr/ucb/ld
Oracle proc.mk would have used these values but we override them:
  CC:       cc
  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS)
$(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)
  LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) -L/opt/SUNWcluster/lib
-R/opt/SUNWcluster/lib
Linking with  -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm
-ldl -lm 


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


decaf# make
gcc -c -I. -I/export/home/app/oracle/product/7.3.2/precomp/public
-I/export/home/app/oracle/product/7.3.2/rdbms/demo
-I/usr/local/perl/lib/site_perl/sun4-solaris/DBI
-I/usr/local/perl/lib/sun4-solaris/5.003/DBI  -O     -DVERSION=\"0.37\"
-DXS_VERSION=\"0.37\" -fpic
-I/usr/local/perl/lib/sun4-solaris/5.003/CORE -Wall -pedantic
-Wno-comment -Wtraditional Oracle.c
In file included from Oracle.c:19:
Oracle.h:30: oratypes.h: No such file or directory
Oracle.h:32: ocidfn.h: No such file or directory
Oracle.h:35: ociapr.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `Oracle.o'


I would appreciate any insight.  Thanks!
-- 
Dao-liang Chou
dchou@concentric.net
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04706-0@oink>;
          Tue, 13 Aug 1996 11:17:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839920339:27025:3; Tue, 13 Aug 96 08:12:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26560; 13 Aug 96 8:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA09603 for dbi-users-real; Mon, 12 Aug 1996 23:43:48 -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 XAA09599 
          for <dbi-users@fugue.com>; Mon, 12 Aug 1996 23:43:46 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ah16470; 13 Aug 96 7:42 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa15707; 13 Aug 96 7:35 +0100
Received: from toad by oink with SMTP (PP) id <03043-0@oink>;
          Tue, 13 Aug 1996 04:40:19 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11778;
          Tue, 13 Aug 1996 04:40:11 +0000
Date: Tue, 13 Aug 1996 04:40:11 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608130340.AA11778@toad.ig.co.uk>
To: dbi-users@fugue.com, tom@hulda.pfm-mainz.de
Subject: Re: DBD::Oracle - Can't use blanks as values
X-Sun-Charset: US-ASCII
content-length: 777
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Thomas Hahn <tom@hulda.pfm-mainz.de>
> 
> Hi there.
> This is a repost, as there must be some people who haven't seen it
> already. (That is at least Tim. ;-)
> For the others, my apologies for another long post.
> As I got ONE reply saying a somewhat similar post went unanswered, is
> it possible, that some mails get lost ?

Less likely than the fact I'm too busy to answer.

It's only because there is a slight risk that this is a compatibility
issue that I'm taking the time now [at 4:30 am] to reply.

> I have problems using blanks as values in SQL statements.

DBD::Oracle does not alter the value in any way before passing it to Oracle.

Can you confirm that that actual script behaves diferently when run against
the same database using perl4 oraperl?

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04706-16@oink>;
          Tue, 13 Aug 1996 11:18:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839928294:16615:2; Tue, 13 Aug 96 10:24:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15693; 13 Aug 96 10:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA11471 for dbi-users-real; Tue, 13 Aug 1996 01:52:11 -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 BAA11467 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 01:52:05 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id JAA20522; Tue, 13 Aug 1996 09:42:59 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608130842.JAA20522@fruitbat.mcqueen.com>
Subject: Re: make error with DBD-Oracle-0.37
To: dchou@cris.com (Dao-liang Chou)
Date: Tue, 13 Aug 1996 09:42:59 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <320FFD5D.7462@concentric.net> from "Dao-liang Chou" at Aug 12, 96 08:58:21 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: 558


> Oracle.h:30: oratypes.h: No such file or directory
> Oracle.h:32: ocidfn.h: No such file or directory
> Oracle.h:35: ociapr.h: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `Oracle.o'
> 
> I would appreciate any insight.  Thanks!

Looks rather like you don't have Pro*C installed...........Check you
have.

A.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04706-18@oink>;
          Tue, 13 Aug 1996 11:18:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839928299:16582:6; Tue, 13 Aug 96 10:24:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16383; 13 Aug 96 10:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA11501 for dbi-users-real; Tue, 13 Aug 1996 01:53:43 -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 BAA11497 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 01:53:36 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id JAA20551; Tue, 13 Aug 1996 09:45:01 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608130845.JAA20551@fruitbat.mcqueen.com>
Subject: Re: New DBD version for Informix
To: nathanp@qualcomm.com (Nathan Parker)
Date: Tue, 13 Aug 1996 09:45:00 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <v03007802ae35158af650@[129.46.123.254]> from "Nathan Parker" at Aug 12, 96 10:42:31 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: 1080


>   I'm a co-worker of Corinne Koder (from Qualcomm) who has been working
> with you on problems with the Informix DBD module.  She is out of town now,
> so I'm taking over where she left off.  She said that there was a new
> verision due out last Friday that would fix the truncated integer problem.
> Where can I find this new module?  I've browsed your FTP and Web server
> with no luck.  This is rather urgent now because our project has been held
> up for several weeks due to this bug.  Thank you very much.

It's been delayed for an as yet unknown period of time. Sorry. Persons 
desparate for fixes have two options:

	a) Pay for my consultancy to fix it
	b) Fix it themselves and submit the patches

I really can't say when it'll be fixed, although I will try and make time to
look at it.( Hey, who needs to sleep anyway! )

>  -- Nathan Parker, nparker@qualcomm.com

A.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04706-19@oink>;
          Tue, 13 Aug 1996 11:18:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839928301:16617:6; Tue, 13 Aug 96 10:25:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16341; 13 Aug 96 10:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id BAA11365 for dbi-users-real; Tue, 13 Aug 1996 01:44:30 -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 BAA11354 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 01:44:26 -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 JAA15005;
          Tue, 13 Aug 1996 09:44:16 +0100
Date: Tue, 13 Aug 1996 09:44:17 +0100
Message-Id: <19008.199608130844@bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk>
From: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
To: tom@hulda.pfm-mainz.de
CC: dbi-users@fugue.com, Tim.Bunce@ig.co.uk
In-reply-to: <199608122136.XAA00374@hulda.pfm-mainz.de> (message from Thomas Hahn on Mon, 12 Aug 1996 23:36:46 +0200)
Subject: Re: DBD::Oracle - Can't use blanks as values
Reply-to: agw@mail.nerc-bas.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII

>>>>> "Thomas" == Thomas Hahn <tom@hulda.pfm-mainz.de> writes:

    > Hi there.  This is a repost, as there must be some people who
    > haven't seen it already. (That is at least Tim. ;-) For the
    > others, my apologies for another long post.  As I got ONE reply
    > saying a somewhat similar post went unanswered, is it possible,
    > that some mails get lost ?

[...]

    > I have problems using blanks as values in SQL statements.
    > i.e. with the given table:

Just to add some weight to this problem .... I also see the exact problem
using the script that Thomas provides .....

>#! /usr/local/bin/perl
>#
>eval 'use Oraperl; 1' || die $@ if $] >= 5;
>
>print &ora_version();
>
>$lda = &ora_login($system_id, 'xxx', 'xxx')	|| die $ora_errstr;
>
>$sql_stmt = <<"END_OF_SQL_STATEMENT";
>insert into test_thomas
>values ( :1, :2 )
>END_OF_SQL_STATEMENT
>
>$icsr = &ora_open($lda, $sql_stmt) || die $ora_errstr;
>$icsr->debug(2) if $] >= 5;
>
>$res = &ora_bind($icsr, 5, ' ');
>#                          ^^^      THIS BREAKS IT!
>
>if($ora_errno){
>	die "$ora_errno\n$ora_errstr";
>}
>
>&ora_commit($lda) || die "ora_commit failed";

I have tested this in the two environments I have available with the same
results in each  .....

----------------------------------------------------------------------------
% perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=irix, osver=5, archname=IP20-irix
    uname='irix bssmlsa 5.3 11091811 ip20 mips '

% oratest

Oraperl Emulation Interface version 1.26 
Oracle Driver 0.32
DBI-0.70 Switch by Tim Bunce, version 0.70

    DBI::st=HASH(0x10021050) debug level set to 2
1400
ORA-01400: mandatory (NOT NULL) column is missing or NULL during insert (DBD: oexec error) at oratest line 21.
    -> DESTROY for DBD::Oracle::st (DBI::st=HASH(0x10021050))
    <- DESTROY= undef
----------------------------------------------------------------------------
% perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=dec_osf, osver=2.0, archname=alpha-dec_osf
    uname='osf1 bscomp v2.0 240 alpha '

% oratest

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.36
DBI-0.71 Switch by Tim Bunce, version 0.71

    DBI::st=HASH(0x140028348) debug level set to 2
    -> execute for DBD::Oracle::st (DBI::st=HASH(0x140114258)~0x140028348 5 ' ')
    <- execute= undef
1400
ORA-01400: mandatory (NOT NULL) column is missing or NULL during insert (DBD: oexec error) at oratest line 21.
    -> DESTROY for DBD::Oracle::st (DBI::st=HASH(0x140028348))
    <- DESTROY= undef
----------------------------------------------------------------------------

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 <05718-6@oink>;
          Tue, 13 Aug 1996 14:11:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839938481:00783:0; Tue, 13 Aug 96 13:14:41 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa00428; 13 Aug 96 13:13 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa00565; 13 Aug 96 13:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA14150 for dbi-users-real; Tue, 13 Aug 1996 04:56:54 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sauternes.inferentia.it (dns.inferentia.it [151.99.220.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id EAA14021;
          Tue, 13 Aug 1996 04:48:30 -0700
Received: from aloxe.sys.inferentia.it (aloxe.sys.inferentia.it [195.120.5.95]) 
          by sauternes.inferentia.it (8.7.5/8.7.3) with SMTP id NAA22964;
          Tue, 13 Aug 1996 13:42:39 +0200
Received: by aloxe.sys.inferentia.it with Microsoft Mail 
          id <01BB891E.9895D100@aloxe.sys.inferentia.it>;
          Tue, 13 Aug 1996 13:51:58 +-200
Message-ID: <01BB891E.9895D100@aloxe.sys.inferentia.it>
From: Davide Migliavacca <davide.migliavacca@inferentia.it>
To: 'Thomas Hahn' <tom@hulda.pfm-mainz.de>
Cc: "'dbi-users@fugue.com'" <dbi-users@fugue.com>, 
    "'dbi-dev@fugue.com'" <dbi-dev@fugue.com>
Subject: RE: DBD::Oracle - Can't use blanks as values
Date: Tue, 13 Aug 1996 13:51:54 +-200
Encoding: 72 TEXT

Tim is right, values go their ways correctly until the call to obndrv, but 
there must be something wrong with casting datatypes.
Anyway, I have found _no_ way to patch the obndrv call, but this solution 
uses obndra and does work, on my system at least :-). I have also tried 
using temp vars and explicitly casting ALL params to obndrv, but no way.
If the patch works for you, please state it clearly so that Tim may 
consider these diffs for the next release.
Of course discovering the real nature of the problem would be a bonus.
BTW, this could lead to remove the "this should change to obndra sometimes" 
remark. :-))

(diff is against dbdimp.c    $Id: dbdimp.c,v 1.20 1996/07/10 02:27:52 timbo 
Exp $ from DBD-Oracle-0.36)

*** dbdimp.c	Tue Aug 13 13:42:58 1996
--- dbdimp.c.new	Tue Aug 13 13:42:49 1996
***************
*** 493,506 ****
      }

      /* this will change to odndra sometime	*/
!     if (obndrv(imp_sth->cda, (text*)name, -1,
! 	    (ub1*)value_ptr, (sword)value_len,
! 	    phs->ftype, -1, &phs->indp,
! 	    (text*)0, -1, -1)) {
! 	D_imp_dbh_from_sth;
! 	ora_error(sth, &imp_dbh->lda, imp_sth->cda->rc, "obndrv failed");
! 	return 0;
!     }
      return 1;
  }

--- 493,514 ----
      }

      /* this will change to odndra sometime	*/
! 		
! 	{
! 	  ub2 arcode;
! 	  ub2 alen = value_len;
!
! 	  if (dbis->debug > 4)
! 	    fprintf(DBILOGFP, "obndra %s <== '%s' (len %d) type %d\n", name, 
value_ptr, alen, phs->ftype );
! 	  if (obndra(imp_sth->cda, (text *)name, -1,
! 		     (ub1*)value_ptr, (sword)value_len, (sword)phs->ftype, -1,
! 		     &phs->indp, (ub2*)&alen, &arcode, 0,
! 		     (ub4 *)0, (text *)0, -1, -1)) {
! 	    D_imp_dbh_from_sth;
! 	    ora_error(sth, &imp_dbh->lda, imp_sth->cda->rc, "obndra failed");
! 	    return 0;
! 	  }
! 	}
      return 1;
  }


----------
From: 	Thomas Hahn[SMTP:tom@hulda.pfm-mainz.de]
Sent: 	lunedi 12 agosto 1996 23.36
To: 	dbi-users@fugue.com
Cc: 	Tim.Bunce@ig.co.uk
Subject: 	Re: DBD::Oracle - Can't use blanks as values

Hi there.
This is a repost, as there must be some people who haven't seen it
already. (That is at least Tim. ;-)
For the others, my apologies for another long post.
As I got ONE reply saying a somewhat similar post went unanswered, is
it possible, that some mails get lost ?



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06441-6@oink>;
          Tue, 13 Aug 1996 18:01:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839945708:15717:1; Tue, 13 Aug 96 15:15:08 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15360; 13 Aug 96 15:14 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa15685; 13 Aug 96 15:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA15802 for dbi-users-real; Tue, 13 Aug 1996 06:50:20 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from metrobeatdb. (metrobeatdb.IConNet.NET [199.173.162.172]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA15798 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 06:50:19 -0700
Received: by metrobeatdb. (SMI-8.6/SMI-SVR4) id JAA07777;
          Tue, 13 Aug 1996 09:49:14 -0400
Date: Tue, 13 Aug 1996 09:49:14 -0400
From: Charles Thayer <thayer@metrobeatdb>
Message-Id: <199608131349.JAA07777@metrobeatdb.>
To: dbi-users@fugue.com
Subject: solaris 2.5

Hello, I'm not a regular reader of this list. 
I sent some mail here a month or two ago and found that many
folks were having trouble with DBD::Oracle under solaris 2.5 with
the latest versions of Oracle.  Has anyone had any luck with this
platform yet?  /charles
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06441-8@oink>;
          Tue, 13 Aug 1996 18:01:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839945711:15689:2; Tue, 13 Aug 96 15:15:11 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15361; 13 Aug 96 15:14 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa15683; 13 Aug 96 15:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA15769 for dbi-users-real; Tue, 13 Aug 1996 06:48:19 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from smurf (solgate.uconn.edu [137.99.15.21]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA15764 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 06:48:16 -0700
Received: from pluto.uconn.edu by smurf (5.x/SMI-SVR4) id AA06376;
          Tue, 13 Aug 1996 09:46:19 -0400
Received: by pluto.uconn.edu (5.x/SMI-SVR4) id AA05263;
          Tue, 13 Aug 1996 09:47:56 -0400
Date: Tue, 13 Aug 1996 09:47:56 -0400
From: Stochastic Dreams <vijay@sol.uconn.edu>
Message-Id: <9608131347.AA05263@pluto.uconn.edu>
To: dbi-users@fugue.com



Hi all,

I am having problems compiling DBD for Perl. I would appreciate any 
suggestions as to how to fix them.

Here are the details:

1. Perl version 5.003 and Oracle Server 7.3.2 on Solaris x86 platform.

2. I could compile,install and test Perl and DBI without any problem.
However, when I tried to compile DBD, I get an error message 
complaining a certain file named __fstd.o is missing in $ORACLE_HOME/lib
directory. 

I included the output of "perl -w Makefile.PL" and "make" below.



OUTPUT OF "perl -w Makefile.PL"
___________________________________________________________________________

vivaldi{vijay}54:perl -w Makefile.PL

 Configuring DBD::Oracle ...

>>>	Remember to actually *READ* the README file!

Using Oracle in /home/oracle/app/oracle/product/7.3.2
Using /home/oracle/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk /home/oracle/app/oracle/product/7.3.2/precomp/env_precomp.mk 
sh: syntax error at line 1: `end of file' unexpected
sh:  ; else echo : not found
sh: -lm ; fi: not found
System: perl5.003 sunos vivaldi 5.5 generic_103094-01 i86pc i386 i86pc 
Compiler: gcc -O 
Linker:   /usr/ucb/ld
Oracle proc.mk would have used these values but we override them:
  CC:       `if [ -f /usr/ccs/bin/cc ]; then \
       echo /usr/ccs/bin/cc ; \
    elif [ -x /opt/SUNWspro/bin/cc ]; then \
         echo /opt/SUNWspro/bin/cc ; \
    elif [ -x /usr/bin/idcc ]; then \
         echo "/usr/bin/idcc"; \
    elif [ -x /usr/ccs/bin/ld ]; then  \
          echo "/usr/ccs/bin/ld $(SOLARIS_LD_OPTS)"; \
    else \
         echo "Error No C Compiler or Linker Found."; \
    fi;`
  CFLAGS:   $(GFLAG)  $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)
  LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) 
Linking with  cat /home/oracle/app/oracle/product/7.3.2/rdbms/lib/sysliblist\cat /home/oracle/app/oracle/product/7.3.2/rdbms/lib/sysliblist\

Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: 'cat'
Unrecognized argument in LIBS ignored: '/home/oracle/app/oracle/product/7.3.2/rdbms/lib/sysliblist\cat'
Unrecognized argument in LIBS ignored: '/home/oracle/app/oracle/product/7.3.2/rdbms/lib/sysliblist\'

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

___________________________________________________________________________


OUTPUT OF "make"
___________________________________________________________________________
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
perl -I/pkg/gnu/lib/perl5/i86pc-solaris/5.003 -I/pkg/gnu/lib/perl5 /pkg/gnu/lib/perl5/ExtUtils/xsubpp  -typemap /pkg/gnu/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
gcc -c -I. -I/home/oracle/app/oracle/product/7.3.2/precomp/public -I/home/oracle/app/oracle/product/7.3.2/rdbms/demo -I/pkg/gnu/lib/perl5/site_perl/i86pc-solaris/DBI -I/pkg/gnu/lib/perl5/i86pc-solaris/5.003/DBI  -O     -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\" -fpic -I/pkg/gnu/lib/perl5/i86pc-solaris/5.003/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_execute':
Oracle.c:256: warning: ANSI C forbids braced-groups within expressions
Oracle.c:265: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_fetchrow':
Oracle.c:306: warning: ANSI C forbids braced-groups within expressions
Oracle.c:307: warning: ANSI C forbids braced-groups within expressions
Oracle.c:313: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_finish':
Oracle.c:402: warning: ANSI C forbids braced-groups within expressions
Oracle.c:406: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `boot_DBD__Oracle':
Oracle.c:446: warning: ANSI C forbids braced-groups within expressions
gcc -c -I. -I/home/oracle/app/oracle/product/7.3.2/precomp/public -I/home/oracle/app/oracle/product/7.3.2/rdbms/demo -I/pkg/gnu/lib/perl5/site_perl/i86pc-solaris/DBI -I/pkg/gnu/lib/perl5/i86pc-solaris/5.003/DBI  -O     -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\" -fpic -I/pkg/gnu/lib/perl5/i86pc-solaris/5.003/CORE -Wall -pedantic -Wno-comment -Wtraditional dbdimp.c
dbdimp.c: In function `dbd_db_FETCH':
dbdimp.c:265: warning: value computed is not used
dbdimp.c: In function `dbd_st_blob_read':
dbdimp.c:756: warning: ANSI C forbids braced-groups within expressions
dbdimp.c: In function `dbd_st_FETCH':
dbdimp.c:917: warning: value computed is not used
dbdimp.c: At top level:
dbdimp.c:126: warning: `dump_error_status' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="" gcc -o blib/arch/auto/DBD/Oracle/Oracle.so -G Oracle.o  dbdimp.o /home/oracle/app/oracle/product/7.3.2/lib/__fstd.o    
gcc: /home/oracle/app/oracle/product/7.3.2/lib/__fstd.o: No such file or directory
*** 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 <06441-13@oink>;
          Tue, 13 Aug 1996 18:01:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839950542:08577:0; Tue, 13 Aug 96 16:35:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08062; 13 Aug 96 16:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA14026 for dbi-dev-real; Tue, 13 Aug 1996 04:48:33 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sauternes.inferentia.it (dns.inferentia.it [151.99.220.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id EAA14021;
          Tue, 13 Aug 1996 04:48:30 -0700
Received: from aloxe.sys.inferentia.it (aloxe.sys.inferentia.it [195.120.5.95]) 
          by sauternes.inferentia.it (8.7.5/8.7.3) with SMTP id NAA22964;
          Tue, 13 Aug 1996 13:42:39 +0200
Received: by aloxe.sys.inferentia.it with Microsoft Mail 
          id <01BB891E.9895D100@aloxe.sys.inferentia.it>;
          Tue, 13 Aug 1996 13:51:58 +-200
Message-ID: <01BB891E.9895D100@aloxe.sys.inferentia.it>
From: Davide Migliavacca <davide.migliavacca@inferentia.it>
To: 'Thomas Hahn' <tom@hulda.pfm-mainz.de>
Cc: "'dbi-users@fugue.com'" <dbi-users@fugue.com>, 
    "'dbi-dev@fugue.com'" <dbi-dev@fugue.com>
Subject: RE: DBD::Oracle - Can't use blanks as values
Date: Tue, 13 Aug 1996 13:51:54 +-200
Encoding: 72 TEXT

Tim is right, values go their ways correctly until the call to obndrv, but 
there must be something wrong with casting datatypes.
Anyway, I have found _no_ way to patch the obndrv call, but this solution 
uses obndra and does work, on my system at least :-). I have also tried 
using temp vars and explicitly casting ALL params to obndrv, but no way.
If the patch works for you, please state it clearly so that Tim may 
consider these diffs for the next release.
Of course discovering the real nature of the problem would be a bonus.
BTW, this could lead to remove the "this should change to obndra sometimes" 
remark. :-))

(diff is against dbdimp.c    $Id: dbdimp.c,v 1.20 1996/07/10 02:27:52 timbo 
Exp $ from DBD-Oracle-0.36)

*** dbdimp.c	Tue Aug 13 13:42:58 1996
--- dbdimp.c.new	Tue Aug 13 13:42:49 1996
***************
*** 493,506 ****
      }

      /* this will change to odndra sometime	*/
!     if (obndrv(imp_sth->cda, (text*)name, -1,
! 	    (ub1*)value_ptr, (sword)value_len,
! 	    phs->ftype, -1, &phs->indp,
! 	    (text*)0, -1, -1)) {
! 	D_imp_dbh_from_sth;
! 	ora_error(sth, &imp_dbh->lda, imp_sth->cda->rc, "obndrv failed");
! 	return 0;
!     }
      return 1;
  }

--- 493,514 ----
      }

      /* this will change to odndra sometime	*/
! 		
! 	{
! 	  ub2 arcode;
! 	  ub2 alen = value_len;
!
! 	  if (dbis->debug > 4)
! 	    fprintf(DBILOGFP, "obndra %s <== '%s' (len %d) type %d\n", name, 
value_ptr, alen, phs->ftype );
! 	  if (obndra(imp_sth->cda, (text *)name, -1,
! 		     (ub1*)value_ptr, (sword)value_len, (sword)phs->ftype, -1,
! 		     &phs->indp, (ub2*)&alen, &arcode, 0,
! 		     (ub4 *)0, (text *)0, -1, -1)) {
! 	    D_imp_dbh_from_sth;
! 	    ora_error(sth, &imp_dbh->lda, imp_sth->cda->rc, "obndra failed");
! 	    return 0;
! 	  }
! 	}
      return 1;
  }


----------
From: 	Thomas Hahn[SMTP:tom@hulda.pfm-mainz.de]
Sent: 	lunedi 12 agosto 1996 23.36
To: 	dbi-users@fugue.com
Cc: 	Tim.Bunce@ig.co.uk
Subject: 	Re: DBD::Oracle - Can't use blanks as values

Hi there.
This is a repost, as there must be some people who haven't seen it
already. (That is at least Tim. ;-)
For the others, my apologies for another long post.
As I got ONE reply saying a somewhat similar post went unanswered, is
it possible, that some mails get lost ?



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06441-24@oink>;
          Tue, 13 Aug 1996 18:03:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839954663:21890:1; Tue, 13 Aug 96 17:44:23 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa21602; 13 Aug 96 17:43 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa23290; 13 Aug 96 17:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA17719 for dbi-users-real; Tue, 13 Aug 1996 09:29:06 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from motgate2.mot.com (motgate2.mot.com [129.188.136.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA17715 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 09:29:03 -0700
Received: from pobox.mot.com (pobox.mot.com [129.188.137.100]) 
          by motgate2.mot.com (8.7.3/8.6.10/MOT-3.8) with ESMTP id QAA25067 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 16:25:27 GMT
Received: from po_box.cig.mot.com (po_box.cig.mot.com [136.182.15.5]) 
          by pobox.mot.com (8.7.3/8.6.10/MOT-3.8) with SMTP id LAA19186 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 11:28:26 -0500 (CDT)
Message-Id: <199608131628.MAA25188@po_box.cig.mot.com>
Received: (hare@localhost) by turtle.cig.mot.com (8.6.11/SCERG-1.12C) 
          id LAA01857 for dbi-users@fugue.com; Tue, 13 Aug 1996 11:28:22 -0500
Date: Tue, 13 Aug 1996 11:28:22 -0500
From: John R Hare <hare@cig.mot.com>
X-Face: $P>lwCYQN&IvfB<((^=D|u3kxY#!Cn]v[@[&cHWHsZT>'ORo0Ftv(jCrMWs*;7nixcYTD8%K4H"nkFsWFg4M5wTugWkA:<-M0(8KRcvwiS&~T\aX4eBku[RQI.vq^Q
X-Mailer: Z-Mail (3.2.1 10apr95)
To: dbi-users@fugue.com
Subject: Where do I send an "unsubscribe" request?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii


Misplaced this address, can anyone help?

-- 
John Hare
hare@cig.mot.com
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07400-0@oink>;
          Tue, 13 Aug 1996 19:21:35 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839948949:15087:4; Tue, 13 Aug 96 16:09:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa14232; 13 Aug 96 16:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA16790 for dbi-users-real; Tue, 13 Aug 1996 07:59:43 -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 HAA16786 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 07:59:40 -0700
Received: from ellpspace.math.ualberta.ca by vega.math.ualberta.ca 
          with SMTP (1.37.109.16/16.2) id AA174007962;
          Tue, 13 Aug 1996 08:52:42 -0600
Received: by ellpspace.math.ualberta.ca (Linux Smail3.1.29.1 #3) 
          id m0uqKwa-000MjJC; Tue, 13 Aug 96 08:59 MDT
Message-Id: <m0uqKwa-000MjJC@ellpspace.math.ualberta.ca>
From: michal@ellpspace.math.ualberta.ca (Michal Jaegermann)
Subject: Re: DBD::Oracle - Can't use blanks as values
To: Tim.Bunce@ig.co.uk (Tim Bunce)
Date: Tue, 13 Aug 1996 08:59:44 -0600 (MDT)
Cc: dbi-users@fugue.com
In-Reply-To: <9608130340.AA11778@toad.ig.co.uk> from "Tim Bunce" at Aug 13, 96 04:40:11 am
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 1079

> 
> 
> > I have problems using blanks as values in SQL statements.
> 
> DBD::Oracle does not alter the value in any way before passing it to Oracle.

Something does eat blanks in SQL statements.  Around version 0.29
I reported a problem, twice and together with a test program, with deletes
by names of constant width (CHAR type field in Oracle 7, not VARCHAR2).
It looked like trailing blanks, used to fill strings into a required
form, were vanishing somewhere.

I do not know what happened to my report as I never got a word that
somebody seen it and/or confirmed on another platform.  I tried a bit to
look for a real cause, but I gave up; would have to learn a lot about
guts of everything before things will start to make sense.  In that
aspect an old 'oraperl' was much easier to deal with. :-) This is not a
show-stopper for me and left it alone.

> Can you confirm that that actual script behaves diferently when run against
> the same database using perl4 oraperl?

Yep, the same test case runs correctly with an old 'oraperl' and fails
flat with 'Oraperl'.

  Michal
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07726-1@oink>;
          Tue, 13 Aug 1996 20:18:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839961161:09729:2; Tue, 13 Aug 96 19:32:41 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa09181; 13 Aug 96 19:31 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa21262; 13 Aug 96 19:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA19516 for dbi-users-real; Tue, 13 Aug 1996 11:22:44 -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 LAA19512 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 11:22:41 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id am26517; 13 Aug 96 19:22 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa16110; 13 Aug 96 19:19 +0100
Received: from toad by oink with SMTP (PP) id <07382-0@oink>;
          Tue, 13 Aug 1996 19:19:17 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15859;
          Tue, 13 Aug 1996 19:19:11 +0000
Date: Tue, 13 Aug 1996 19:19:11 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608131819.AA15859@toad.ig.co.uk>
To: dbi-users@fugue.com, vijay@sol.uconn.edu
X-Sun-Charset: US-ASCII
content-length: 721
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Stochastic Dreams <vijay@sol.uconn.edu>
> 
> Hi all,
> 
> I am having problems compiling DBD for Perl. I would appreciate any 
> suggestions as to how to fix them.
> 
> Here are the details:
> 
> 1. Perl version 5.003 and Oracle Server 7.3.2 on Solaris x86 platform.
> 
> 2. I could compile,install and test Perl and DBI without any problem.
> However, when I tried to compile DBD, I get an error message 
> complaining a certain file named __fstd.o is missing in $ORACLE_HOME/lib
> directory. 
> 
> I included the output of "perl -w Makefile.PL" and "make" below.

If you are using DBD-Oracle-0.37 then please send me your demo/proc/proc.mk
and precomp/env_precomp.mk files.

If your aren't then upgrade.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07726-3@oink>;
          Tue, 13 Aug 1996 20:18:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839961385:12375:1; Tue, 13 Aug 96 19:36:25 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa11565; 13 Aug 96 19:35 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22036; 13 Aug 96 19:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA19684 for dbi-users-real; Tue, 13 Aug 1996 11:30:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA19677 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 11:30:44 -0700
Received: from tholian.cse.psu.edu (tholian.cse.psu.edu [130.203.30.20]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id OAA00112;
          Tue, 13 Aug 1996 14:31:32 -0400 (EDT)
Message-Id: <199608131831.OAA00112@cse.psu.edu>
X-Mailer: exmh version 1.6.7 5/3/96
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: Stochastic Dreams <vijay@sol.uconn.edu>
cc: dbi-users@fugue.com
In-reply-to: Your message of "Tue, 13 Aug 1996 09:47:56 EDT." <9608131347.AA05263@pluto.uconn.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 13 Aug 1996 14:30:13 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

Did you try commenting the offending line in the Makefile.
John

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08205-7@oink>;
          Tue, 13 Aug 1996 22:52:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839968508:07162:3; Tue, 13 Aug 96 21:35:08 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa07087; 13 Aug 96 21:34 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa19191; 13 Aug 96 21:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA18580 for dbi-users-real; Tue, 13 Aug 1996 10:21:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from alexpress.fi (adm.alexpress.fi [194.215.205.14]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA18576 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 10:21:40 -0700
Received: from localhost (localhost [127.0.0.1]) by alexpress.fi (8.7.5/8.7.3) 
          with SMTP id UAA07120; Tue, 13 Aug 1996 20:21:35 +0300 (EET DST)
Date: Tue, 13 Aug 1996 20:21:32 +0300 (EET DST)
From: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <sjm@alexpress.fi>
To: Charles Thayer <thayer@metrobeatdb>
cc: dbi-users@fugue.com
Subject: Re: solaris 2.5
In-Reply-To: <199608131349.JAA07777@metrobeatdb.>
Message-ID: <Pine.SOL.3.92.960813201556.7105A-100000@pasta.alexpress.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Tue, 13 Aug 1996, Charles Thayer wrote:
> Hello, I'm not a regular reader of this list.
> I sent some mail here a month or two ago and found that many
> folks were having trouble with DBD::Oracle under solaris 2.5 with
> the latest versions of Oracle.  Has anyone had any luck with this
> platform yet?  /charles

No problemo.

Environment:

SunOS ravioli 5.5.1 Generic sun4u sparc SUNW,Ultra-2
Oracle7 Server Release 7.3.2.1.0 - Production Release
With the distributed, replication, parallel query and Spatial Data options
PL/SQL Release 2.3.2.0.0 - Production
SQL*Plus: Release 3.3.2.0.0 - Production on Tue Aug 13 20:19:03 1996
Pro*C/C++: Release 2.2.2.0.0 - Production on Tue Aug 13 20:20:15 1996
This is perl, version 5.003 with EMBED
DBI-0.71, DBD-Oracle-0.36.
gcc version 2.7.2

I have been inserting _gigabytes_ of data using perl Oracle interface.
The script is actually quite simple, but everything I have tried works.

// sjm

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <08213-5@oink>;
          Tue, 13 Aug 1996 22:53:19 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839970762:01289:4; Tue, 13 Aug 96 22:12:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29122; 13 Aug 96 22:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA19557 for dbi-users-real; Tue, 13 Aug 1996 11:24: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 LAA19553 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 11:24:26 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id ap25363; 13 Aug 96 19:19 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa14569; 13 Aug 96 19:16 +0100
Received: from toad by oink with SMTP (PP) id <07372-0@oink>;
          Tue, 13 Aug 1996 19:16:17 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15848;
          Tue, 13 Aug 1996 19:16:11 +0000
Date: Tue, 13 Aug 1996 19:16:11 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608131816.AA15848@toad.ig.co.uk>
To: dbi-users@fugue.com, thayer@metrobeatdb
Subject: Re: solaris 2.5
X-Sun-Charset: US-ASCII
content-length: 355
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Charles Thayer <thayer@metrobeatdb>
> 
> Hello, I'm not a regular reader of this list. 
> I sent some mail here a month or two ago and found that many
> folks were having trouble with DBD::Oracle under solaris 2.5 with
> the latest versions of Oracle.  Has anyone had any luck with this
> platform yet?  /charles

Yes. Use DBD-Oracle-0.37.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08257-0@oink>;
          Tue, 13 Aug 1996 22:57:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839973128:03563:0; Tue, 13 Aug 96 22:52:08 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa03329; 13 Aug 96 22:51 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa05747; 13 Aug 96 22:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA19531 for dbi-users-real; Tue, 13 Aug 1996 11:23: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 LAA19527 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 11:23:19 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net 
          id at24832; 13 Aug 96 19:17 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab14028; 13 Aug 96 19:15 +0100
Received: from toad by oink with SMTP (PP) id <07221-0@oink>;
          Tue, 13 Aug 1996 18:20:38 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15346;
          Tue, 13 Aug 1996 18:20:21 +0000
Date: Tue, 13 Aug 1996 18:20:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608131720.AA15346@toad.ig.co.uk>
To: dbi-users@fugue.com, hare@cig.mot.com
Subject: Re: Where do I send an "unsubscribe" request?
X-Sun-Charset: US-ASCII
content-length: 1800
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: John R Hare <hare@cig.mot.com>
> 
> Misplaced this address, can anyone help?
> 
> -- 
> John Hare
> hare@cig.mot.com

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

From owner-dbi-users@fugue.com  Wed Apr 17 07:24:59 1996
Cc: dbi-users@fugue.com
Subject: HOW TO UNSUBSCRIBE
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 <09545-0@oink>;
          Wed, 14 Aug 1996 02:06:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839976469:12542:5; Tue, 13 Aug 96 23:47:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10285; 13 Aug 96 23:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA20194 for dbi-users-real; Tue, 13 Aug 1996 12:02:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-e2b-service.gnn.com (mail-e2b-service.gnn.com [204.148.102.170]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA20190 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 12:02:48 -0700
Received: from 69-51.client.gnn.com. (69-51.client.gnn.com [205.188.69.51]) 
          by mail-e2b-service.gnn.com (8.7.1/8.6.9) with SMTP id PAA19571 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 15:02:11 -0400 (EDT)
Message-Id: <199608131902.PAA19571@mail-e2b-service.gnn.com>
X-Mailer: GNNmessenger 1.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 13 Aug 1996 12:59:09
From: Lou Henefeld <LHenefeld@gnn.com>
To: dbi-users@fugue.com
Subject: DBD::Oracle & Oraperl across a firewall

To the DBI Community:

I am building an application based on Web technology, using:

Solaris 2.5
Oracle 7.3.2
Perl 5.003	
CGI.pm 2.18
DBI 0.71
DBD::Oracle 0.37

Perl, DBI and DBD::Oracle have been built, tested and installed correctly on 
both systems described below.

(My thanks to Tim Bunce and Alligator Descartes for their prompt advice.  It 
immediatly solved my prior problems building these tools.  Their advice to 
me was to get and use the gcc compiler, version 2.7.2.  That worked! 8-)

My configuration is that I'm running the Netscape Commerce Server and Sun's 
firewall software on a Sun Netra, and a Sun Ultra 1 which hosts the Oracle 
instance containing my database.

When I run my CGI script on the Netra, the Perl program invoked hangs at the 
first &ora_login call.  This is a hard hang:  CNTL-C does not affect the 
program.  To kill the program I have to send a kill -9 signal to it.  When I 
run the same program on the Ultra, the program works.

Prior versions of the program, invoking SQLPlus, worked correctly.  
Therefore, SQL*Net is correctly working between the two systems, and 
communications on the designated port are happening through the firewall.

I suspect that I am missing one or more libraries:  shared, link, or 
include, which DBD, DBI, or Perl need to run this program.  This is probably 
because the Netra is configured lean, and is not intended as a development 
environment system (eg it doesn't have make).  However, it might also be 
caused by a lack of Oracle libraries on the Netra system which are needed by 
DBD::Oracle.

My two avenues to solve this problem are:  1)  To copy the necessary 
libraries over to the Netra;  2)  To rebuild Perl, DBI, and DBD so as not to 
require dynamic linking.

If any of you have any insights into this problem, I would appreciate 
hearing from you.

Thanks a lot!

Lou Henefeld

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09546-0@oink>;
          Wed, 14 Aug 1996 02:06:43 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839976835:16529:4; Tue, 13 Aug 96 23:53:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15300; 13 Aug 96 23:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA20538 for dbi-users-real; Tue, 13 Aug 1996 12:23: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 MAA20534 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 12:23:42 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ab27870; 13 Aug 96 19:21 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab10277; 13 Aug 96 20:17 +0100
Received: from toad by oink with SMTP (PP) id <07705-0@oink>;
          Tue, 13 Aug 1996 20:16:55 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16025;
          Tue, 13 Aug 1996 20:16:47 +0000
Date: Tue, 13 Aug 1996 20:16:47 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608131916.AA16025@toad.ig.co.uk>
To: michal@ellpspace.math.ualberta.ca, davide.migliavacca@inferentia.it
Subject: Re: DBD::Oracle - Can't use blanks as values
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 2252
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: michal@ellpspace.math.ualberta.ca (Michal Jaegermann)
> 
> > > I have problems using blanks as values in SQL statements.
> > 
> > DBD::Oracle does not alter the value in any way before passing it to Oracle.
> 
> Something does eat blanks in SQL statements.  Around version 0.29
> I reported a problem, twice and together with a test program, with deletes
> by names of constant width (CHAR type field in Oracle 7, not VARCHAR2).
> It looked like trailing blanks, used to fill strings into a required
> form, were vanishing somewhere.

This rings a bell. The 'problem' is that DBD::Oracle binds placeholders
with an oracle type of 1 (VARCHAR2) whereas oraperl-2.4 used 5 (STRING).

I think the change was made primarily so binary data (with nulls) could
be bound to placeholders.

Reading the manual (OCI, Chapter 3) I see that the VARCHAR2 type strips
trailing spaces on input if a length is specified. If a length is not
specified then Oracle looks for a null char and doesn't strip spaces. Sigh.

> I do not know what happened to my report as I never got a word that
> somebody seen it and/or confirmed on another platform.  I tried a bit to
> look for a real cause, but I gave up; would have to learn a lot about
> guts of everything before things will start to make sense.  In that
> aspect an old 'oraperl' was much easier to deal with. :-) This is not a
> show-stopper for me and left it alone.

I seem to recall someone, maybe me, pointing out that you can do

	$oraperl_type = { ora_type => 5 };
	$sth->bind_param(1, $value, $oraperl_type);

to get the old behaviour.

I don't know why Davide Migliavacca's patch (which I've not tested - no time)
might work. It would appear that obndra() does not do the trailing space
stripping normally applied to VARCHAR2 if a length is specified. The OCI
manual defines the VARCHAR2 space stripping behaviour for obndrn() and
obndrv() but not obndra().

I would be very grateful if someone at Oracle could comment on this since I'd
rather not commit to using poorly defined behaviour. Perhaps someone with a
more recent OCI manual (mine's 7.0!) could check it for more detailed docs.

Michal, please try Davide's patch and let me know if it works for you.

Tim.

p.s. Thanks for the patch Davide.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09743-23@oink>;
          Wed, 14 Aug 1996 02:16:59 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839984465:05157:5; Wed, 14 Aug 96 02:01:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa04255; 14 Aug 96 1:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA23793 for dbi-users-real; Tue, 13 Aug 1996 15:27: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 PAA23781 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 15:27:32 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ae10130; 13 Aug 96 22:27 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa20507; 13 Aug 96 23:23 +0100
Received: from toad by oink with SMTP (PP) id <08281-0@oink>;
          Tue, 13 Aug 1996 23:02:02 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16568;
          Tue, 13 Aug 1996 23:01:49 +0000
Date: Tue, 13 Aug 1996 23:01:49 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608132201.AA16568@toad.ig.co.uk>
To: thayer@metrobeatdb, sjm@alexpress.fi
Subject: Re: solaris 2.5
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 1295
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <sjm@alexpress.fi>
> 
> On Tue, 13 Aug 1996, Charles Thayer wrote:
> > Hello, I'm not a regular reader of this list.
> > I sent some mail here a month or two ago and found that many
> > folks were having trouble with DBD::Oracle under solaris 2.5 with
> > the latest versions of Oracle.  Has anyone had any luck with this
> > platform yet?  /charles
> 
> No problemo.
> 
> Environment:
> 
> SunOS ravioli 5.5.1 Generic sun4u sparc SUNW,Ultra-2
> Oracle7 Server Release 7.3.2.1.0 - Production Release
> With the distributed, replication, parallel query and Spatial Data options
> PL/SQL Release 2.3.2.0.0 - Production
> SQL*Plus: Release 3.3.2.0.0 - Production on Tue Aug 13 20:19:03 1996
> Pro*C/C++: Release 2.2.2.0.0 - Production on Tue Aug 13 20:20:15 1996
> This is perl, version 5.003 with EMBED
> DBI-0.71, DBD-Oracle-0.36.
> gcc version 2.7.2
> 
> I have been inserting _gigabytes_ of data using perl Oracle interface.
> The script is actually quite simple, but everything I have tried works.

And a very large corporation in the UK will be crunching upto 5GB
per day every day using DBD::Oracle on Solaris 2.5 very soon.
(One of those occasions where 'mission critital' means something real.)

And then I might get some sleep ...

:-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11928-2@oink>;
          Wed, 14 Aug 1996 04:37:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839990880:21466:2; Wed, 14 Aug 96 03:48:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21128; 14 Aug 96 3:46 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA02099 for dbi-users-real; Tue, 13 Aug 1996 19:38:23 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from Next.COM.AU (drjones.next.com.au [203.8.88.5]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA02095 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 19:38:19 -0700
Received: (from leddo@localhost) by Next.COM.AU (8.7.5/8.7.3) id MAA22033;
          Wed, 14 Aug 1996 12:38:30 +1000 (EST)
Date: Wed, 14 Aug 1996 12:38:29 +0001 (EST)
From: Michael Ledwidge <leddo@drjones.next.com.au>
Reply-To: Michael Ledwidge <leddo@drjones.next.com.au>
Subject: Can't connect DBD:msql on IRIX
To: DBI users <dbi-users@fugue.com>
cc: descarte@hermetica.com
Message-ID: <Pine.3.89.9608141235.A20643-0100000@drjones.next.com.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII


Any help with this would be much appreciated. I am trying to get DBD:msql 
working under IRIX 5.3. DBI appears to be able to list the databases on 
the local server but can't connect to them. 

DBI installed fine, but connections 
to the localhost mSQL database are being denied. I can connect locally 
and remotely via the msql interface. 

I have supplied all the relevant logs below.

Thanx,
	.M.


1) Log of complete build follows

leddo@junior:/usr/local/src/DBD-mSQL-0.60pl10# perl5 Makefile.PL

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] root
You say you're a root install....
Using port: 1112 as default
System: perl5.003 irix junior 5.3 11091812 ip22 mips  IP22-irix dl_dlopen.xs
Compiler: gcc -O -D_POSIX_SOURCE -D_BSD_TYPES -O -I/usr/local/include 
-DLANGUAGE
_C

Checking if your kit is complete...
Looks good
Writing Makefile for DBD::mSQL

leddo@junior:/usr/local/src/DBD-mSQL-0.60pl10# make
cp mSQL.pm ./blib/lib/DBD/mSQL.pm
        gcc -c -I/usr/local/Minerva/include 
-I/usr/local/lib/perl5/IP22-irix/5.0
03/DBI -I/usr/local/lib/perl5/site_perl/IP22-irix/DBI -D_POSIX_SOURCE 
-D_BSD_TYP
ES -O -I/usr/local/include -DLANGUAGE_C -O     -DVERSION=\"0.60pl10\"  
-DXS_VERS
ION=\"0.60pl10\" -fpic -I/usr/local/lib/perl5/IP22-irix/5.003/CORE -Wall 
-pedant
ic -Wno-comment -Wpointer-arith -Wcast-align -Wconversion -Wtraditional 
-Wpointe
r-arith -Wcast-qual dbdimp.c
dbdimp.c: In function `dbd_db_login':
dbdimp.c:106: warning: unused variable `ret'
dbdimp.c: In function `dbd_db_commit':
dbdimp.c:141: warning: unused variable `imp_dbh'
dbdimp.c: In function `dbd_db_rollback':
dbdimp.c:149: warning: unused variable `imp_dbh'
dbdimp.c: In function `dbd_db_STORE':
dbdimp.c:192: warning: unused variable `on'
dbdimp.c:188: warning: unused variable `imp_dbh'
dbdimp.c: In function `dbd_db_FETCH':
dbdimp.c:226: warning: value computed is not used
dbdimp.c:227: warning: value computed is not used
dbdimp.c:217: warning: unused variable `i'
dbdimp.c:214: warning: unused variable `imp_dbh'
dbdimp.c: In function `dbd_st_prepare':
dbdimp.c:262: warning: unused variable `inside_quote'
dbdimp.c: In function `dbd_describe':
dbdimp.c:557: warning: cast increases required alignment of target type
dbdimp.c:493: warning: unused variable `fp'
dbdimp.c: In function `readblob':
dbdimp.c:678: warning: ANSI C forbids braced-groups within expressions
dbdimp.c:654: warning: unused variable `imp_sth'
dbdimp.c:655: warning: `retl' might be used uninitialized in this function
dbdimp.c: In function `dbd_st_FETCH':
dbdimp.c:785: warning: value computed is not used
        /usr/local/bin/perl5 -I/usr/local/lib/perl5/IP22-irix/5.003 
-I/usr/local
/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/E
xtUtils/typemap mSQL.xs >mSQL.tc && mv mSQL.tc mSQL.c
Please specify prototyping behavior for mSQL.xs (see perlxs manual)
        gcc -c -I/usr/local/Minerva/include 
-I/usr/local/lib/perl5/IP22-irix/5.0
03/DBI -I/usr/local/lib/perl5/site_perl/IP22-irix/DBI -D_POSIX_SOURCE 
-D_BSD_TYP
ES -O -I/usr/local/include -DLANGUAGE_C -O     -DVERSION=\"0.60pl10\"  
-DXS_VERS
ION=\"0.60pl10\" -fpic -I/usr/local/lib/perl5/IP22-irix/5.003/CORE -Wall 
-pedant
ic -Wno-comment -Wpointer-arith -Wcast-align -Wconversion -Wtraditional 
-Wpointe
r-arith -Wcast-qual mSQL.c
mSQL.c: In function `XS_DBD__mSQL__dr__ListDBs':
mSQL.c:85: warning: ANSI C forbids braced-groups within expressions
mSQL.c:73: warning: unused variable `drh'
mSQL.c: In function `XS_DBD__mSQL__dr__CreateDB':
mSQL.c:111: warning: ANSI C forbids braced-groups within expressions
mSQL.c:104: warning: unused variable `drh'
mSQL.c: In function `XS_DBD__mSQL__dr__DropDB':
mSQL.c:138: warning: ANSI C forbids braced-groups within expressions
mSQL.c:131: warning: unused variable `drh'
mSQL.c: In function `XS_DBD__mSQL__db__ListTables':
mSQL.c:167: warning: ANSI C forbids braced-groups within expressions
mSQL.c: In function `XS_DBD__mSQL__db__ListFields':
mSQL.c:232: warning: ANSI C forbids braced-groups within expressions
mSQL.c:232: warning: ANSI C forbids braced-groups within expressions
mSQL.c:189: warning: unused variable `stash'
mSQL.c: In function `XS_DBD__mSQL__db_commit':
mSQL.c:261: warning: implicit declaration of function `dbd_db_commit'
mSQL.c: In function `XS_DBD__mSQL__db_rollback':
mSQL.c:273: warning: implicit declaration of function `dbd_db_rollback'
mSQL.c: In function `XS_DBD__mSQL__db_disconnect':
mSQL.c:327: warning: ANSI C forbids braced-groups within expressions
mSQL.c:334: warning: int format, I32 arg (arg 3)
mSQL.c: In function `XS_DBD__mSQL__st__NumRows':
mSQL.c:375: warning: ANSI C forbids braced-groups within expressions
mSQL.c: In function `XS_DBD__mSQL__st_rows':
mSQL.c:402: warning: unused variable `imp_sth'
mSQL.c: In function `XS_DBD__mSQL__st_execute':
mSQL.c:421: warning: ANSI C forbids braced-groups within expressions
mSQL.c:427: warning: ANSI C forbids braced-groups within expressions
mSQL.c:436: warning: ANSI C forbids braced-groups within expressions
mSQL.c: In function `XS_DBD__mSQL__st_fetchrow':
mSQL.c:480: warning: ANSI C forbids braced-groups within expressions
mSQL.c: In function `XS_DBD__mSQL__st_readblob':
mSQL.c:510: warning: unused variable `len'
mSQL.c:509: warning: unused variable `offset'
mSQL.c:508: warning: unused variable `field'
mSQL.c:507: warning: unused variable `sth'
mSQL.c: In function `XS_DBD__mSQL__st_finish':
mSQL.c:574: warning: ANSI C forbids braced-groups within expressions
mSQL.c:579: warning: ANSI C forbids braced-groups within expressions
mSQL.c: In function `boot_DBD__mSQL':
mSQL.c:617: warning: ANSI C forbids braced-groups within expressions
Running Mkbootstrap for DBD::mSQL ()
        chmod 644 mSQL.bs
        LD_RUN_PATH="/usr/local/Minerva/lib:/usr/lib" ld -o 
./blib/arch/auto/DBD
/mSQL/mSQL.so -shared -L/usr/local/lib dbdimp.o  mSQL.o -L/lib 
-L/usr/local/Mine
rva/lib   -L/usr/local/Minerva/lib -lmsql -lm
        chmod 755 ./blib/arch/auto/DBD/mSQL/mSQL.so
        cp mSQL.bs ./blib/arch/auto/DBD/mSQL/mSQL.bs
        chmod 644 ./blib/arch/auto/DBD/mSQL/mSQL.bs

leddo@junior:/usr/local/src/DBD-mSQL-0.60pl10# make test
        PERL_DL_NONLAZY=1 /usr/local/bin/perl5 -I./blib/arch -I./blib/lib 
-I/usr
/local/lib/perl5/IP22-irix/5.003 -I/usr/local/lib/perl5 test.pl
Testing: DBI->install_driver( 'mSQL' ): ok
Testing: $drh->func( 'localhost', '_ListDBs' ): ok
db: hyper
Connect: Connection refused
not ok: Can't connect to MSQL server on localhost
Database handle DBI::db=HASH(0x1002ae90) DESTROY ignored - never set up.
Testing: $drh->connect( 'localhost', 'hyper' ): *** Error code 146 (bu21)

leddo@junior:/usr/local/src/DBD-mSQL-0.60pl10# make test TEST_VERBOSE=1 
PERL_DBI
_DEBUG=2
        PERL_DL_NONLAZY=1 /usr/local/bin/perl5 -I./blib/arch -I./blib/lib 
-I/usr
/local/lib/perl5/IP22-irix/5.003 -I/usr/local/lib/perl5 test.pl

Loaded DBI.pm at test.pl line 3
    DBI dispatch debug level set to 2
DBI->install_driver DBI mSQL at test.pl line 22
DBI->install_driver(mSQL) loaded
    New DBI::dr (for DBD::mSQL::dr, parent=, id=)
    dbih_setup_handle(DBI::dr=HASH(0x10024c38)=>DBI::dr=HASH(0x1001f6b0), 
DBD::m
SQL::dr, NULL)
    New DBI::dr => DBI::dr=HASH(0x10024c38) 
(inner=DBI::dr=HASH(0x1001f6b0)) for
 DBD::mSQL::dr
DBI->install_driver(mSQL) = DBI::dr=HASH(0x10024c38)
Testing: DBI->install_driver( 'mSQL' ): ok
    >> func        DISPATCH (DBI::dr=HASH(0x10024c38) @3 g1 a10087a50 r1)
    -> _ListDBs for DBD::mSQL::dr (DBI::dr=HASH(0x10024c38)~0x1001f6b0 
'localhost')
    <- _ListDBs= ( 'hyper' ) [1 items]
Testing: $drh->func( 'localhost', '_ListDBs' ): ok
db: hyper
    >> connect     DISPATCH (DBI::dr=HASH(0x10024c38) @3 g0 a10087960 r1)
    -> connect for DBD::mSQL::dr (DBI::dr=HASH(0x10024c38)~0x1001f6b0 
'localhost
' 'hyper')
    New DBI::db (for DBD::mSQL::db, parent=DBI::dr=HASH(0x1001f6b0), id=)
    dbih_setup_handle(DBI::db=HASH(0x1002aff0)=>DBI::db=HASH(0x1002af78), 
DBD::mSQL::db, NULL)
    New DBI::db => DBI::db=HASH(0x1002aff0) 
(inner=DBI::db=HASH(0x1002af78)) for
 DBD::mSQL::db
Connect: Connection refused
    <- connect= undef
    <> $DBI::errstr (&) FETCH from lasth=DBI::db=HASH(0x1002af78)
DBD::mSQL::db::errstr
not ok: Can't connect to MSQL server on localhost
DBI::END
DBI::disconnect_all DBI
DBI::disconnect_all for 'mSQL'
    >> disconnect_all DISPATCH (DBI::dr=HASH(0x10024c38) @1 g0 a10024190 r2)
    -> disconnect_all for DBD::mSQL::dr (DBI::dr=HASH(0x10024c38)~0x1001f6b0)
    <- disconnect_all= 1
DBI::END complete
    >> DESTROY     DISPATCH (DBI::db=HASH(0x1002aff0) @1 g0 a100245a0 r1)
       (outer handle DESTROY ignored)
    >> DESTROY     DISPATCH (DBI::db=HASH(0x1002af78) @1 g0 a100245a0 r1)
    -> DESTROY for DBD::mSQL::db (DBI::db=HASH(0x1002af78))
Database handle DBI::db=HASH(0x1002af78) DESTROY ignored - never set up.
    <- DESTROY= 1
    dbih_clearcom 0x1009a548 done
    >> DESTROY     DISPATCH (DBI::dr=HASH(0x10024c38) @1 g0 a100879d0 r0)
       (outer handle DESTROY ignored)
    >> DESTROY     DISPATCH (DBI::dr=HASH(0x1001f6b0) @1 g0 a100879d0 r0)
    dbih_clearcom 0x10091920 done
Attempt to free unreferenced scalar during global destruction.
Attempt to free unreferenced scalar during global destruction.
Attempt to free unreferenced scalar during global destruction.
Attempt to free unreferenced scalar during global destruction.
Attempt to free unreferenced scalar during global destruction.
Attempt to free unreferenced scalar during global destruction.
Attempt to free unreferenced scalar during global destruction.
Attempt to free unreferenced scalar during global destruction.
Testing: $drh->connect( 'localhost', 'hyper' ): *** Error code 146 (bu21)

2) Version Details

        msqladmin version       1.0.15
        mSQL connection         Localhost via UNIX socket
        mSQL server version     1.0.15
        mSQL protocol version   6
        mSQL TCP socket         4333
        mSQL UNIX socket        /tmp/msql.sock
        mSQL root user          msql
        Host Architecture       IRIX-5.3-IP22

	This is perl, version 5.003 with EMBED

3) Config details

leddo@junior:/usr/local/src/DBD-mSQL-0.60pl10# perl5 -e 'use Config; 
print Confi
g::myconfig()'
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=irix, osver=5, archname=IP22-irix
    uname='irix junior 5.3 11091812 ip22 mips '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.7.0
    cppflags='-D_POSIX_SOURCE -D_BSD_TYPES -O -I/usr/local/include 
-DLANGUAGE_C'
    ccflags ='-D_POSIX_SOURCE -D_BSD_TYPES -O -I/usr/local/include 
-DLANGUAGE_C'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=n, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -lmalloc -lsun -lm -lc -lcrypt -lbsd -lPW
    libc=/usr/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Thanx again,

	.M.

**************************************************************************
					Michael Ledwidge
					http://www.nla.gov.au/hype/
					Next Online



---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11992-0@oink>;
          Wed, 14 Aug 1996 04:42:25 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 839993985:10829:4; Wed, 14 Aug 96 04:39:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa10515; 14 Aug 96 4:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA27428 for dbi-users-real; Tue, 13 Aug 1996 17:07:13 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from constitution.hotmail.com (constitution.hotmail.com [206.86.127.195]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id RAA27422 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 17:07:12 -0700
Received: from constitution.hotmail.com by constitution.hotmail.com 
          id <505734(5)>; Tue, 13 Aug 1996 17:06:58 -0700
Received: from 206.86.127.204 by www.hotmail.com with HTTP;
          Tue, 13 Aug 1996 17:06:56 PDT
From: Holly Troy <htroy@hotmail.com>
To: dbi-users@fugue.com
Subject: Sample Code: Reading Multiple Rows etc.
Content-Type: text/plain
Message-Id: <96Aug13.170658pdt.505734(5)@constitution.hotmail.com>
Date: Tue, 13 Aug 1996 17:06:56 -0700

We have successfull installed DBI/DBD and gotten the sample scripts from
Hermetica to run.  Our set up is functional, however, we are wading through the
process of determining how exactly all of this works and wondered if there are
any more bits of code that we might analyze, learn from and/or modify for our
purposes.  

I did find one other Perl script which someone on the mailing list referred to
as a "vanilla script", but we would appreciate any recommendations on other
references.  After developing an understanding of how this all really works, I
hope to submit a number of code samples to the mailing list for other new
users.

---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12653-0@oink>;
          Wed, 14 Aug 1996 07:35:52 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840001283:22041:5; Wed, 14 Aug 96 06:41:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa20961; 14 Aug 96 6:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA04728 for dbi-users-real; Tue, 13 Aug 1996 22:32:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from astor.mediabridge.com ([208.192.224.65]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA04723 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 22:32:11 -0700
Received: from mediabridge.com (thayer@localhost) 
          by astor.mediabridge.com (8.7.3/8.6.9/sed) with ESMTP id BAA06192;
          Wed, 14 Aug 1996 01:31:46 -0400 (EDT)
Message-Id: <199608140531.BAA06192@astor.mediabridge.com>
To: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <sjm@alexpress.fi>
Cc: Charles Thayer <thayer@metrobeatdb>, dbi-users@fugue.com
Subject: Re: solaris 2.5
In-reply-to: Your message of "Tue, 13 Aug 1996 20:21:32 +0300." <Pine.SOL.3.92.960813201556.7105A-100000@pasta.alexpress.fi>
Date: Wed, 14 Aug 1996 01:31:45 -0400
From: Charles Thayer <thayer@mediabridge.com>

In message <Pine.SOL.3.92.960813201556.7105A-100000@pasta.alexpress.fi>, =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= writes:
> 
> 
> On Tue, 13 Aug 1996, Charles Thayer wrote:
> > Hello, I'm not a regular reader of this list.
> > I sent some mail here a month or two ago and found that many
> > folks were having trouble with DBD::Oracle under solaris 2.5 with
> > the latest versions of Oracle.  Has anyone had any luck with this
> > platform yet?  /charles
> 
> No problemo.
> 
> Environment:
> 
> SunOS ravioli 5.5.1 Generic sun4u sparc SUNW,Ultra-2
> Oracle7 Server Release 7.3.2.1.0 - Production Release
> With the distributed, replication, parallel query and Spatial Data options
> PL/SQL Release 2.3.2.0.0 - Production
> SQL*Plus: Release 3.3.2.0.0 - Production on Tue Aug 13 20:19:03 1996
> Pro*C/C++: Release 2.2.2.0.0 - Production on Tue Aug 13 20:20:15 1996
> This is perl, version 5.003 with EMBED
> DBI-0.71, DBD-Oracle-0.36.
> gcc version 2.7.2
> 
> I have been inserting _gigabytes_ of data using perl Oracle interface.
> The script is actually quite simple, but everything I have tried works.

I have an almost identical environment, but I'm getting an odd
problem.  Every now and then "make test TEST_VERBOSE=1" fails with a
segfault.  It seems almost non-deterministic, it happens about
half the time.?.?

/charles
PS. Here are two back to back runs, one fails and the other is fine?

[metrobeatdb 01:25:07 2] DBD-Oracle-0.37> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /opt/local/bin/perl -I./blib/arch -I./blib/lib -I/opt/local/lib/perl5/sun4-solaris/5.003 -I/opt/local/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
All tests successful.
Files=1,  Tests=5,  0 secs ( 0.22 cusr  0.05 csys =  0.27 cpu)
PERL_DL_NONLAZY=1 /opt/local/bin/perl -I./blib/arch -I./blib/lib -I/opt/local/lib/perl5/sun4-solaris/5.003 -I/opt/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.21 $

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.37
DBI-0.71 Switch by Tim Bunce, version 0.71


Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as '*secret*/*secret*' (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 14-AUG-96 TEST NULL

csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: CDEF$
Fetched: TAB$
Fetched: IND$
Fetched: CLU$
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).
Bad free() ignored during global destruction.
[metrobeatdb 01:25:40 0] DBD-Oracle-0.37> make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /opt/local/bin/perl -I./blib/arch -I./blib/lib -I/opt/local/lib/perl5/sun4-solaris/5.003 -I/opt/local/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
All tests successful.
Files=1,  Tests=5,  0 secs ( 0.23 cusr  0.03 csys =  0.26 cpu)
PERL_DL_NONLAZY=1 /opt/local/bin/perl -I./blib/arch -I./blib/lib -I/opt/local/lib/perl5/sun4-solaris/5.003 -I/opt/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.21 $

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.37
DBI-0.71 Switch by Tim Bunce, version 0.71


Connecting
 to '' (from command line, else uses ORACLE_SID/TWO_TASK)
 as '*secret*/*secret*' (via ORACLE_USERID environment var or default)
Segmentation Fault - core dumped
make: *** [test_dynamic] Error 139

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12653-4@oink>;
          Wed, 14 Aug 1996 07:36:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840003979:10983:5; Wed, 14 Aug 96 07:26:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa10452; 14 Aug 96 7:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA05425 for dbi-users-real; Tue, 13 Aug 1996 23:18:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from auspex-gw2.auspex.com (auspex-gw.auspex.com [144.48.1.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA05421 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 23:18:45 -0700
Received: from auspex.auspex.com ([144.48.8.10]) 
          by auspex-gw2.auspex.com (8.6.12/8.6.12) with ESMTP id XAA16599;
          Tue, 13 Aug 1996 23:18:39 -0700
Received: from nova.auspex.fr by auspex.auspex.com (8.7.2/) id XAA06092;
          Tue, 13 Aug 1996 23:18:38 -0700 (PDT)
Received: (from kstock@localhost) by nova.auspex.fr (8.6.9/8.6.9) id IAA01232;
          Wed, 14 Aug 1996 08:18:39 +0200
Date: Wed, 14 Aug 1996 08:18:39 +0200
Message-Id: <199608140618.IAA01232@nova.auspex.fr>
To: dbi-users@fugue.com, tom@hulda.pfm-mainz.de, Tim.Bunce@ig.co.uk
Subject: Re: DBD::Oracle - Can't use blanks as values
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

Tim,

> > I have problems using blanks as values in SQL statements.
> 
> DBD::Oracle does not alter the value in any way before passing it to Oracle.
> 
> Can you confirm that that actual script behaves diferently when run against
> the same database using perl4 oraperl?

The Oracle libraries don't allow a zero-length string to be bound
using obnd*(), so Oraperl's &ora_bind() code explicitly replaces a
zero-length string with a string containing a single space. Maybe
this is relevant here.

	Kevin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12652-23@oink>;
          Wed, 14 Aug 1996 07:37:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840004503:21484:2; Wed, 14 Aug 96 07:35:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21064; 14 Aug 96 7:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAA05616 for dbi-users-real; Tue, 13 Aug 1996 23:30:26 -0700
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 XAA05612 
          for <dbi-users@fugue.com>; Tue, 13 Aug 1996 23:30:24 -0700
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id XAA04893; Tue, 13 Aug 1996 23:24:50 -0700
Message-Id: <199608140624.XAA04893@voro.lbl.gov>
X-Mailer: exmh version 1.6.2 7/18/95
To: Tim Bunce <Tim.Bunce@ig.co.uk>
cc: michal@ellpspace.math.ualberta.ca, davide.migliavacca@inferentia.it, 
    dbi-users@fugue.com
Subject: Re: DBD::Oracle - Can't use blanks as values
In-reply-to: Your message of "Tue, 13 Aug 1996 20:16:47 -0000." <9608131916.AA16025@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 13 Aug 1996 23:24:50 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>

> From: Tim Bunce <Tim.Bunce@ig.co.uk>
>
> 
> > From: michal@ellpspace.math.ualberta.ca (Michal Jaegermann)
> > 
> > > > I have problems using blanks as values in SQL statements.
> > > 
> > > DBD::Oracle does not alter the value in any way before passing it to Orac
le.
> > 
> > Something does eat blanks in SQL statements.  Around version 0.29
> > I reported a problem, twice and together with a test program, with deletes
> > by names of constant width (CHAR type field in Oracle 7, not VARCHAR2).
> > It looked like trailing blanks, used to fill strings into a required
> > form, were vanishing somewhere.
> 
> This rings a bell. The 'problem' is that DBD::Oracle binds placeholders
> with an oracle type of 1 (VARCHAR2) whereas oraperl-2.4 used 5 (STRING).
> 
> I think the change was made primarily so binary data (with nulls) could
> be bound to placeholders.
> 
> Reading the manual (OCI, Chapter 3) I see that the VARCHAR2 type strips
> trailing spaces on input if a length is specified. If a length is not
> specified then Oracle looks for a null char and doesn't strip spaces. Sigh.
> 
> > I do not know what happened to my report as I never got a word that
> > somebody seen it and/or confirmed on another platform.  I tried a bit to
> > look for a real cause, but I gave up; would have to learn a lot about
> > guts of everything before things will start to make sense.  In that
> > aspect an old 'oraperl' was much easier to deal with. :-) This is not a
> > show-stopper for me and left it alone.
> 
> I seem to recall someone, maybe me, pointing out that you can do
> 
> 	$oraperl_type = { ora_type => 5 };
> 	$sth->bind_param(1, $value, $oraperl_type);
> 
> to get the old behaviour.
> 
> I don't know why Davide Migliavacca's patch (which I've not tested - no time)
> might work. It would appear that obndra() does not do the trailing space
> stripping normally applied to VARCHAR2 if a length is specified. The OCI
> manual defines the VARCHAR2 space stripping behaviour for obndrn() and
> obndrv() but not obndra().
> 
> I would be very grateful if someone at Oracle could comment on this since I'd
> rather not commit to using poorly defined behaviour. Perhaps someone with a
> more recent OCI manual (mine's 7.0!) could check it for more detailed docs.

I looked at the 7.3 OCI manual, and I don't see anything substantially
different.  The stripping behavior is not explicitly described for
obndra().  Hopefully someone from Oracle can speak to what it is 
supposed to do.

Mark

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13655-2@oink>;
          Wed, 14 Aug 1996 10:13:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840008585:27698:1; Wed, 14 Aug 96 08:43:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27404; 14 Aug 96 8:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA06675 for dbi-users-real; Wed, 14 Aug 1996 00:36:26 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from uud01.capvolmac.nl (uud01.capvolmac.nl [193.78.92.33]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id AAA06671 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 00:36:24 -0700
Received: from inetgate.capvolmac.nl 
          by uud01.capvolmac.nl (AIX 3.2/UCB 5.64/4.03) id AA32785;
          Wed, 14 Aug 1996 09:32:47 +0200
Received: from WUD00-Message_Server by inetgate.capvolmac.nl 
          with Novell_GroupWise; Wed, 14 Aug 1996 09:39:23 +0200
Message-Id: <s2119ecb.078@inetgate.capvolmac.nl>
X-Mailer: Novell GroupWise 4.1
Date: Wed, 14 Aug 1996 09:36:03 +0200
From: Hans van der Pol <HPol@inetgate.capvolmac.nl>
To: dbi-users@fugue.com
Subject: unsubscribe
Mime-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline

unsubscribe
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14888-0@oink>;
          Wed, 14 Aug 1996 13:25:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840025319:19163:3; Wed, 14 Aug 96 13:21:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15901; 14 Aug 96 13:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA10677 for dbi-users-real; Wed, 14 Aug 1996 05:09:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from smurf (solgate.uconn.edu [137.99.15.21]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA10673 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 05:09:56 -0700
Received: by smurf (5.x/SMI-SVR4) id AA07309; Wed, 14 Aug 1996 08:07:51 -0400
Date: Wed, 14 Aug 1996 08:07:51 -0400
From: vijay@sol.uconn.edu (Stochastic Dreams)
Message-Id: <9608141207.AA07309@smurf>
To: Tim.Bunce@ig.co.uk, dbi-users@fugue.com
Subject: DBD compilation problem fixed.


My earlier mail was as follows:
> From: Stochastic Dreams <vijay@sol.uconn.edu>
> 
> Hi all,
> 
> I am having problems compiling DBD for Perl. I would appreciate any 
> suggestions as to how to fix them.
> 
> Here are the details:
> 
> 1. Perl version 5.003 and Oracle Server 7.3.2 on Solaris x86 platform.
> 
> 2. I could compile,install and test Perl and DBI without any problem.
> However, when I tried to compile DBD, I get an error message 
> complaining a certain file named __fstd.o is missing in $ORACLE_HOME/lib
> directory. 
> 
> I included the output of "perl -w Makefile.PL" and "make" below.

The offending line in env_precomp.mk that was causing Makefile.PL to
spew out error messages is the following:

-------------------------------------------------
PROLDLIBS= `if [ $(ORA_CLIENT_LIB) ]; then \
           	echo " $(LCLSH) -lsql_kpic -lsqlnet_kpic -lncr_kpic -lsqlnet_kpic -lclient_kpic -lcommon_kpic \
            	-lgeneric_kpic -lsqlnet_kpic -lncr_kpic -lsqlnet_kpic -lclient_kpic -lcommon_kpic \
            	-lgeneric_kpic  -lepc_kpic -lnlsrtl3_kpic -lc3v6_kpic -lcore3_kpic -lnlsrtl3_kpic \
            	-lcore3_kpic -lnlsrtl3_kpic \
		\`cat $(ORACLE_HOME)/rdbms/lib/sysliblist\` " ; \
	else \
		echo " $(LLIBXA) $(LLIBSQL) $(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
		$(LLIBEPC) $(CORELIBS) $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) \
		\`cat $(ORACLE_HOME)/rdbms/lib/sysliblist\` \
		$(SECLIBS) $(M6LIBS) $(MATHLIB)" ; \
	fi`
---------------------------------------------------

Check out the portion `cat $(ORACLE_HOME)/rdbms/lib/sysliblist\` in the
above listing. Makefile.PL was interpreting the above string as two
libraries. Hence, I copied the contents of $(ORACLE_HOME)/rdbms/lib/sysliblist
in place of `cat $(ORACLE_HOME)/rdbms/lib/sysliblist\`.
In addition, in the generated Makefile, I removed __fstd.o from
the link statement and the linker was happy.


vijay

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14889-0@oink>;
          Wed, 14 Aug 1996 13:25:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840024621:11148:5; Wed, 14 Aug 96 13:10:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10896; 14 Aug 96 13:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA10511 for dbi-users-real; Wed, 14 Aug 1996 04:58: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 EAA10506 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 04:58:50 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id MAA00088; Wed, 14 Aug 1996 12:50:28 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608141150.MAA00088@fruitbat.mcqueen.com>
Subject: Re: Sample Code: Reading Multiple Rows etc.
To: htroy@hotmail.com (Holly Troy)
Date: Wed, 14 Aug 1996 12:50:27 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <96Aug13.170658pdt.505734(5)@constitution.hotmail.com> from "Holly Troy" at Aug 13, 96 05:06:56 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: 845

> 
> I did find one other Perl script which someone on the mailing list referred to
> as a "vanilla script", but we would appreciate any recommendations on other
> references.  After developing an understanding of how this all really works, I
> hope to submit a number of code samples to the mailing list for other new
> users.

For a much more convoluted bit of DBI-using software, take a look at an
early ( and out of date ) cut of the Severe Mangler tool:

	ftp://ftp.mcqueen.com/pub/databases/dbatools

You'll need the Tk module to run it too. Let me know how it goes. 

Also, again, if anyone's interested in running with this, let me know.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15724-1@oink>;
          Wed, 14 Aug 1996 18:01:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840025801:23686:1; Wed, 14 Aug 96 13:30:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23474; 14 Aug 96 13:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA10873 for dbi-users-real; Wed, 14 Aug 1996 05:21:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.newbridge.com (ns.newbridge.com [192.75.23.67]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA10869 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 05:21:43 -0700
Received: (from adm@localhost) by ns.newbridge.com (8.6.12/8.6.12) id IAA14128 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 08:21:11 -0400
Received: from portero(192.75.23.66) by ns via smap (V1.3) id sma014082;
          Wed Aug 14 08:21:00 1996
Received: from ckserver.crosskeys.com ([192.168.215.48]) 
          by kanmaster.ca.newbridge.com (8.6.12/8.6.12) with ESMTP id IAA23408 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 08:21:00 -0400
Received: from ck41.crosskeys (ck41 [192.168.214.85]) 
          by ckserver.crosskeys.com (8.6.12/8.6.12) with ESMTP id IAA28755 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 08:20:58 -0400
Received: by ck41.crosskeys (SMI-8.6/SMI-SVR4) id IAA29601;
          Wed, 14 Aug 1996 08:20:12 -0400
Date: Wed, 14 Aug 1996 08:20:12 -0400
Message-Id: <199608141220.IAA29601@ck41.crosskeys>
From: Ken Workun <kenw@crosskeys.com>
To: dbi-users@fugue.com
Subject: unsubscribe

unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15724-3@oink>;
          Wed, 14 Aug 1996 18:01:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840025865:24463:0; Wed, 14 Aug 96 13:31:05 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa23604; 14 Aug 96 13:29 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa15553; 14 Aug 96 13:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA10839 for dbi-users-real; Wed, 14 Aug 1996 05:19:40 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.newbridge.com (ns.newbridge.com [192.75.23.67]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA10835 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 05:19:39 -0700
Received: (from adm@localhost) by ns.newbridge.com (8.6.12/8.6.12) id IAA13699 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 08:19:07 -0400
Received: from portero(192.75.23.66) by ns via smap (V1.3) id sma013646;
          Wed Aug 14 08:18:44 1996
Received: from ckserver.crosskeys.com ([192.168.215.48]) 
          by kanmaster.ca.newbridge.com (8.6.12/8.6.12) with ESMTP id IAA23348 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 08:18:43 -0400
Received: from ck41.crosskeys (ck41 [192.168.214.85]) 
          by ckserver.crosskeys.com (8.6.12/8.6.12) with ESMTP id IAA28694 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 08:18:37 -0400
Received: by ck41.crosskeys (SMI-8.6/SMI-SVR4) id IAA29591;
          Wed, 14 Aug 1996 08:17:51 -0400
Date: Wed, 14 Aug 1996 08:17:51 -0400
Message-Id: <199608141217.IAA29591@ck41.crosskeys>
From: Ken Workun <kenw@crosskeys.com>
To: dbi-users@fugue.com
Subject: unsubscribe

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15724-6@oink>;
          Wed, 14 Aug 1996 18:01:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840027041:06340:5; Wed, 14 Aug 96 13:50:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06120; 14 Aug 96 13:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA11148 for dbi-users-real; Wed, 14 Aug 1996 05:38:14 -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 FAA11143 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 05:38:12 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id af07876; 14 Aug 96 12:30 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa26848; 14 Aug 96 13:26 +0100
Received: from toad by oink with SMTP (PP) id <14899-0@oink>;
          Wed, 14 Aug 1996 13:26:25 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20804;
          Wed, 14 Aug 1996 13:26:18 +0000
Date: Wed, 14 Aug 1996 13:26:18 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608141226.AA20804@toad.ig.co.uk>
To: sjm@alexpress.fi, thayer@mediabridge.com
Subject: Re: solaris 2.5
Cc: thayer@metrobeatdb, dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 841
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Charles Thayer <thayer@mediabridge.com>
> 
> I have an almost identical environment, but I'm getting an odd
> problem.  Every now and then "make test TEST_VERBOSE=1" fails with a
> segfault.  It seems almost non-deterministic, it happens about
> half the time.?.?

The README now says:

6. If you still get a core dump rebuild DBD::Oracle with debugging
   enabled by executing: perl Makefile.PL -g  (note the -g option)
   then rerun the code to get a new core dump file, finally use a
   debugger (gdb, sdb, dbx, adb etc) to get a stack trace from it.
   NOTE: I may not be able to help you much without a stack trace!
   It is worth fetching and building the GNU GDB debugger (4.15) if
   you don't have a good debugger on your system. If desparate try:
     make perl; ./perl script; echo '$c' | adb ./perl core

Do that.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15724-26@oink>;
          Wed, 14 Aug 1996 18:03:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840038826:15681:0; Wed, 14 Aug 96 17:07:06 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15180; 14 Aug 96 17:06 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id ab28843; 14 Aug 96 17:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA11003 for dbi-users-real; Wed, 14 Aug 1996 05:29:44 -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 FAA10998 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 05:29:41 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ab07334; 14 Aug 96 12:28 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa26339; 14 Aug 96 13:24 +0100
Received: from toad by oink with SMTP (PP) id <14842-0@oink>;
          Wed, 14 Aug 1996 13:19:23 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20757;
          Wed, 14 Aug 1996 13:19:14 +0000
Date: Wed, 14 Aug 1996 13:19:14 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608141219.AA20757@toad.ig.co.uk>
To: dbi-users@fugue.com, tom@hulda.pfm-mainz.de, KStock@auspex.com
Subject: Re: DBD::Oracle - Can't use blanks as values
X-Sun-Charset: US-ASCII
content-length: 695
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: KStock@auspex.com (Kevin Stock)
> 
> Tim,
> 
> > > I have problems using blanks as values in SQL statements.
> > 
> > DBD::Oracle does not alter the value in any way before passing it to Oracle.
> > 
> > Can you confirm that that actual script behaves diferently when run against
> > the same database using perl4 oraperl?
> 
> The Oracle libraries don't allow a zero-length string to be bound
> using obnd*(), so Oraperl's &ora_bind() code explicitly replaces a
> zero-length string with a string containing a single space. Maybe
> this is relevant here.

Perhaps. Slightly complicated by the fact that, from meory, Oracle >= 7.3
now does allow a zero-length string to be bound.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16456-0@oink>;
          Wed, 14 Aug 1996 18:13:33 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840042688:12746:1; Wed, 14 Aug 96 18:11:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa12295; 14 Aug 96 18:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA15003 for dbi-users-real; Wed, 14 Aug 1996 10:06:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA14999 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 10:06:20 -0700
Received: from tamaria.cse.psu.edu (tamaria.cse.psu.edu [130.203.30.2]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id NAA11493;
          Wed, 14 Aug 1996 13:07:15 -0400 (EDT)
Message-Id: <199608141707.NAA11493@cse.psu.edu>
X-Mailer: exmh version 1.6.7 5/3/96
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: Bruce Albrecht <Bruce.Albrecht@seag.fingerhut.com>
cc: dbi-users@fugue.com
Subject: Re: DBD-Oracle0.37 build question...
In-reply-to: Your message of "Wed, 14 Aug 1996 11:42:25 CDT." <199608141642.LAA06729@g0084.fingerhut.com.>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 14 Aug 1996 13:05:49 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

> John D Groenveld writes:
>  > RTFO! Did you set these?
> 
> What's the 'O' mean?

I really need to get off the crack, but I think I was commenting on the 
test.pl output, hence Read The Freakin Ouptut. test.pl tells you a lot of 
valuable stuff including which variables need to be set to make connection 
with the database.

Tim, does your README suggest trying to connect via SQL*Plus to test your 
Oracle environment?

John
groenvel@cse.psu.edu

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17381-1@oink>;
          Wed, 14 Aug 1996 23:08:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840043087:05427:1; Wed, 14 Aug 96 18:18:07 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa05065; 14 Aug 96 18:17 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa12123; 14 Aug 96 18:16 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA15092 for dbi-users-real; Wed, 14 Aug 1996 10:11:44 -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 KAA15086 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 10:11:41 -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 KAA25916;
          Wed, 14 Aug 1996 10:11:25 -0700 (PDT)
Date: Wed, 14 Aug 1996 10:11:25 -0700 (PDT)
X-Sender: jake@vivid.vivid.com
Message-Id: <ae37549a020210042125@[205.163.51.232]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: David Lebel <lebel@socom.com>
From: Jake Donham <jake@vivid.com>
Subject: Re: Apache's mod_perl & DBI/DBD::Oracle
Cc: dbi-users@fugue.com

At 3:38 PM 8/14/96, David Lebel wrote:
>        has anyone experimented with mod_perl for Apache with DBI/DBD?
>I saw that with mod_perl_fast it is possible to maintain a single
>connection to the DB ?  I've been testing this out, but I quickly got
>errors when I did simultaneous access to the DB from two HTTP access.
>
>        Anyone with hand on experience with this?

I've played with it using miniSQL and MqlPerl. You can't share a single
connection among multiple processes (because of the concurrency problem you
note above), but you can keep a connection open for the lifetime of a
single server process (which, in Apache, serves multiple requests).

Something like

sub handler {

    if (! $dbh) {
       $dbh = DBI->connect(blah, blah, blah);
    }

    # now use $dbh

}

in your handler routine works well. You have to check each time since
there's no way to tell if you are in a new server process or an old one.


__________
J.A.K.E.
void star
http://www.vivid.com/vividians/bios/jake.html


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17381-2@oink>;
          Wed, 14 Aug 1996 23:08:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840043090:05406:1; Wed, 14 Aug 96 18:18:10 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa05330; 14 Aug 96 18:17 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa12165; 14 Aug 96 18:16 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA15124 for dbi-users-real; Wed, 14 Aug 1996 10:12:39 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA15119 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 10:12:35 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id ae12982; 14 Aug 96 18:12 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa05711; 14 Aug 96 18:10 +0100
Received: from toad by oink with SMTP (PP) id <16385-0@oink>;
          Wed, 14 Aug 1996 18:10:14 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21665;
          Wed, 14 Aug 1996 18:10:02 +0000
Date: Wed, 14 Aug 1996 18:10:02 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608141710.AA21665@toad.ig.co.uk>
To: thayer@mediabridge.com
Subject: Re: solaris 2.5
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 163
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Charles Thayer <thayer@mediabridge.com>
> 
> gdb doesn't recognize my core file as a core file

You probably need to upgrade your gdb (to >= 4.15).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17381-5@oink>;
          Wed, 14 Aug 1996 23:08:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840044208:19169:1; Wed, 14 Aug 96 18:36:48 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa18547; 14 Aug 96 18:35 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa15840; 14 Aug 96 18:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA12227 for dbi-users-real; Wed, 14 Aug 1996 06:55:53 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from astor.mediabridge.com ([208.192.224.65]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA12222 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 06:55:51 -0700
Received: from mediabridge.com (thayer@localhost) 
          by astor.mediabridge.com (8.7.3/8.6.9/sed) with ESMTP id JAA08040;
          Wed, 14 Aug 1996 09:55:17 -0400 (EDT)
Message-Id: <199608141355.JAA08040@astor.mediabridge.com>
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Cc: sjm@alexpress.fi, thayer@mediabridge.com, thayer@metrobeatdb, 
    dbi-users@fugue.com
Subject: Re: solaris 2.5
In-reply-to: Your message of "Wed, 14 Aug 1996 13:26:18 -0000." <9608141226.AA20804@toad.ig.co.uk>
Date: Wed, 14 Aug 1996 09:55:16 -0400
From: Charles Thayer <thayer@mediabridge.com>

In message <9608141226.AA20804@toad.ig.co.uk>, Tim Bunce writes:
> 
> > From: Charles Thayer <thayer@mediabridge.com>
> > 
> > I have an almost identical environment, but I'm getting an odd
> > problem.  Every now and then "make test TEST_VERBOSE=1" fails with a
> > segfault.  It seems almost non-deterministic, it happens about
> > half the time.?.?
> 
> The README now says:
> 
> 6. If you still get a core dump rebuild DBD::Oracle with debugging
>    enabled by executing: perl Makefile.PL -g  (note the -g option)
>    then rerun the code to get a new core dump file, finally use a
>    debugger (gdb, sdb, dbx, adb etc) to get a stack trace from it.
>    NOTE: I may not be able to help you much without a stack trace!
>    It is worth fetching and building the GNU GDB debugger (4.15) if
>    you don't have a good debugger on your system. If desparate try:
>      make perl; ./perl script; echo '$c' | adb ./perl core
> 
> Do that.
> 
> Tim.

I'll try, though my luck seems to be bad this morning.  gdb doesn't
recognize my core file as a core file and adb actually dumped core on
me.  I did discover though that forgetting to &ora_close() before
&ora_logoff() also generates a core dump.

I'll try Devel::CoreStack next.

Thanks,
/charles
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17381-10@oink>;
          Wed, 14 Aug 1996 23:08:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840050866:10836:0; Wed, 14 Aug 96 20:27:46 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa10676; 14 Aug 96 20:27 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa08972; 14 Aug 96 20:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA13777 for dbi-users-real; Wed, 14 Aug 1996 08:40:37 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zeus.socom.com (lebel@zeus.socom.com [206.108.56.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA13772 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 08:40:31 -0700
Received: (from lebel@localhost) by zeus.socom.com (8.7.3/8.7.3) id LAA17986;
          Wed, 14 Aug 1996 11:38:02 -0400
To: dbi-users@fugue.com
Subject: Apache's mod_perl & DBI/DBD::Oracle
X-Face: #;FW:h$&D\OyS;d9lZ1+b"97JYWd;U#9Nz//7;m7g/^;ib<ciK$ai"RSjmT*!(_/:UoP0$'5Sgim6OTFAr1mP)LsqNW'jGs6V[GDjU;IXAnqeR[S--n&UJssL`5eO=Us[V_GO"prGqdUxIQe`\1cm~-1kwkF#9U$zoUTnSE[56[We'9~e*XH*^jnXQz15C^?BRw\$FF/],%f6p6l,,B$Md,d}&-ux|0Q!`:bQav#(IU5l(0C)#R)'x}HHiCF$\e7sFq
X-Home-Page: http://www.socom.com/~lebel/
Mime-Version: 1.0 (generated by tm-edit 7.75)
Content-Type: text/plain; charset=US-ASCII
From: David Lebel <lebel@socom.com>
Date: 14 Aug 1996 11:38:02 -0400
Message-ID: <m23f1qgen9.fsf@zeus.socom.com>
Lines: 14
X-Mailer: Gnus v5.2.39/XEmacs 19.14

Hello,

	has anyone experimented with mod_perl for Apache with DBI/DBD?
I saw that with mod_perl_fast it is possible to maintain a single
connection to the DB ?  I've been testing this out, but I quickly got
errors when I did simultaneous access to the DB from two HTTP access.

	Anyone with hand on experience with this?

	...David

-- 
// d a v i d  l e b e l  <lebel@socom.com>      http://www.socom.com/~lebel/
// analyst / system administrator / hacker          socom technologies, inc.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <17422-4@oink>;
          Wed, 14 Aug 1996 23:11:50 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840054285:10778:1; Wed, 14 Aug 96 21:24:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa09324; 14 Aug 96 21:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA15138 for dbi-users-real; Wed, 14 Aug 1996 10:13:09 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA15127 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 10:13:07 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id ae10429; 14 Aug 96 18:04 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa29158; 14 Aug 96 18:00 +0100
Received: from toad by oink with SMTP (PP) id <15036-0@oink>;
          Wed, 14 Aug 1996 13:38:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20840;
          Wed, 14 Aug 1996 13:37:56 +0000
Date: Wed, 14 Aug 1996 13:37:56 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608141237.AA20840@toad.ig.co.uk>
To: dbi-users@fugue.com, vijay@sol.uconn.edu
Subject: Re: DBD compilation problem fixed.
X-Sun-Charset: US-ASCII
content-length: 2179
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: vijay@sol.uconn.edu (Stochastic Dreams)
> 
> My earlier mail was as follows:
> > From: Stochastic Dreams <vijay@sol.uconn.edu>
> > 
> > Hi all,
> > 
> > I am having problems compiling DBD for Perl. I would appreciate any 
> > suggestions as to how to fix them.
> > 
> > Here are the details:
> > 
> > 1. Perl version 5.003 and Oracle Server 7.3.2 on Solaris x86 platform.
> > 
> > 2. I could compile,install and test Perl and DBI without any problem.
> > However, when I tried to compile DBD, I get an error message 
> > complaining a certain file named __fstd.o is missing in $ORACLE_HOME/lib
> > directory. 
> > 
> > I included the output of "perl -w Makefile.PL" and "make" below.
> 
> The offending line in env_precomp.mk that was causing Makefile.PL to
> spew out error messages is the following:
> 
> -------------------------------------------------
> PROLDLIBS= `if [ $(ORA_CLIENT_LIB) ]; then \
>            	echo " $(LCLSH) -lsql_kpic -lsqlnet_kpic -lncr_kpic -lsqlnet_kpic -lclient_kpic -lcommon_kpic \
>             	-lgeneric_kpic -lsqlnet_kpic -lncr_kpic -lsqlnet_kpic -lclient_kpic -lcommon_kpic \
>             	-lgeneric_kpic  -lepc_kpic -lnlsrtl3_kpic -lc3v6_kpic -lcore3_kpic -lnlsrtl3_kpic \
>             	-lcore3_kpic -lnlsrtl3_kpic \
> 		\`cat $(ORACLE_HOME)/rdbms/lib/sysliblist\` " ; \
> 	else \
> 		echo " $(LLIBXA) $(LLIBSQL) $(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
> 		$(LLIBEPC) $(CORELIBS) $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) \
> 		\`cat $(ORACLE_HOME)/rdbms/lib/sysliblist\` \
> 		$(SECLIBS) $(M6LIBS) $(MATHLIB)" ; \
> 	fi`
> ---------------------------------------------------
> 
> Check out the portion `cat $(ORACLE_HOME)/rdbms/lib/sysliblist\` in the
> above listing. Makefile.PL was interpreting the above string as two
> libraries. Hence, I copied the contents of $(ORACLE_HOME)/rdbms/lib/sysliblist
> in place of `cat $(ORACLE_HOME)/rdbms/lib/sysliblist\`.
> In addition, in the generated Makefile, I removed __fstd.o from
> the link statement and the linker was happy.

That's fine for you (and thanks for the info) but doesn't help me automate it
for others.

Please send me the two .mk files.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <17422-6@oink>;
          Wed, 14 Aug 1996 23:11:57 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840054290:10818:1; Wed, 14 Aug 96 21:24:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa09722; 14 Aug 96 21:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA14683 for dbi-users-real; Wed, 14 Aug 1996 09:43:26 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dn800e0.fingerhut.com (dn800e0-ext.fingerhut.com [204.221.45.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA14673 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 09:43:24 -0700
Received: from dn800e0.fingerhut.com (daemon@localhost) 
          by dn800e0.fingerhut.com (8.7.2/8.7.2) with ESMTP id LAA19488;
          Wed, 14 Aug 1996 11:42:37 -0500 (CDT)
Received: from seag.fingerhut.com (GF007E0.SEAG.fingerhut.com [151.210.140.7]) 
          by dn800e0.fingerhut.com (8.7.2/8.7.2) with SMTP id LAA19484;
          Wed, 14 Aug 1996 11:42:36 -0500 (CDT)
Received: from g0084.fingerhut.com. by seag.fingerhut.com (SMI-8.6/SMI-SVR4) 
          id LAA15348; Wed, 14 Aug 1996 11:42:37 -0500
Received: by g0084.fingerhut.com. (SMI-8.6/SMI-SVR4) id LAA06729;
          Wed, 14 Aug 1996 11:42:25 -0500
Date: Wed, 14 Aug 1996 11:42:25 -0500
Message-Id: <199608141642.LAA06729@g0084.fingerhut.com.>
From: Bruce Albrecht <Bruce.Albrecht@seag.fingerhut.com>
To: John D Groenveld <groenvel@cse.psu.edu>
Cc: Christopher Ice <cmice@mfg.mke.ab.com>, dbi-users@fugue.com
Subject: Re: DBD-Oracle0.37 build question...
In-Reply-To: <199608012045.QAA03654@cse.psu.edu>
References: <v03007801ae269bcde1ab@[130.151.91.215]> <199608012045.QAA03654@cse.psu.edu>
Mime-Version: 1.0 (generated by tm-edit 7.68)
Content-Type: text/plain; charset=US-ASCII

John D Groenveld writes:
 > RTFO! Did you set these?

What's the 'O' mean?
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <17422-7@oink>;
          Wed, 14 Aug 1996 23:12:00 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840054291:10788:2; Wed, 14 Aug 96 21:24:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa09828; 14 Aug 96 21:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA15118 for dbi-users-real; Wed, 14 Aug 1996 10:12: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 KAA15111 
          for <dbi-users@fugue.com>; Wed, 14 Aug 1996 10:12:30 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id SAA02643; Wed, 14 Aug 1996 18:01:44 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608141701.SAA02643@fruitbat.mcqueen.com>
Subject: Re: solaris 2.5
To: thayer@mediabridge.com (Charles Thayer)
Date: Wed, 14 Aug 1996 18:01:43 +0100 (BST)
Cc: Tim.Bunce@ig.co.uk, sjm@alexpress.fi, thayer@mediabridge.com, 
    thayer@metrobeatdb, dbi-users@fugue.com
In-Reply-To: <199608141355.JAA08040@astor.mediabridge.com> from "Charles Thayer" at Aug 14, 96 09:55:16 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: 736


> I'll try, though my luck seems to be bad this morning.  gdb doesn't
> recognize my core file as a core file and adb actually dumped core on
> me.  I did discover though that forgetting to &ora_close() before
> &ora_logoff() also generates a core dump.
> 
> I'll try Devel::CoreStack next.

THis uses the same techniques as above, so it'll probably not help you much.
What you want to try if all else absolutely fails is something like:
	
	gdb /usr/bin/perl
	r -w <scriptname>
	bt

gdb doesn't like Sun's thread libraries.

> /charles

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23892-5@oink>;
          Thu, 15 Aug 1996 14:11:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840110357:02389:3; Thu, 15 Aug 96 12:59:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02063; 15 Aug 96 12:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA08038 for dbi-users-real; Thu, 15 Aug 1996 04:37:51 -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 EAA08034 
          for <dbi-users@fugue.com>; Thu, 15 Aug 1996 04:37:49 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id ac08080; 15 Aug 96 11:37 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab14606; 15 Aug 96 12:34 +0100
Received: from toad by oink with SMTP (PP) id <22643-0@oink>;
          Thu, 15 Aug 1996 11:41:07 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24840;
          Thu, 15 Aug 1996 11:41:01 +0000
Date: Thu, 15 Aug 1996 11:41:01 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608151041.AA24840@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Help!
Cc: ro03868@po1.cobe.com
X-Sun-Charset: US-ASCII
content-length: 1261
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users (where the README says you should send mail to).

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

From ro03868@po1.cobe.com  Thu Aug 15 07:48:54 1996
From: "Obrecht, Richard" <ro03868@po1.cobe.com>
To: "'timbo@ig.co.uk'" <Tim.Bunce@ig.co.uk>
Subject: Help!
Date: Wed, 14 Aug 96 15:05:00 M
Return-Receipt-To: <ro03868@po1.cobe.com>
Encoding: 31 TEXT


Tim,

Could you tell me what I've done wrong with this perl script?  I'm new to   
this DBI, and I'm trying to use the example to build a redimentary   
script.  This script gives me the following message:

Can't call method "execute" without a package or object reference at   
/usr2/System/Scripts/reo line 7.

Any help is appreciated.......

Cheers,

Rich

SCRIPT:

#!/usr/bin/perl -w
use DBI;
$drh = DBI->install_driver( 'Oracle' );
$dbh = $drh->connect('backup','webmon','webmon');
die unless $dbh;
$cursor = $dbh->prepare("SELECT * FROM V$DATABASE");
$cursor->execute;
while ( $field = $cursor->fetchrow ) {
 print "Field: $field\n";
}
$cursor->finish;
$dbh->disconnect;
exit;


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

Hint of the day: He who does not test the return status of functions
will forever risk suffering.

Tim.

p.s. Read the "Picking good subject lines" posting in comp.lang.perl.misc.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27722-7@oink>;
          Fri, 16 Aug 1996 07:37:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840143997:16491:0; Thu, 15 Aug 96 22:19:57 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa15700; 15 Aug 96 22:18 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa02887; 15 Aug 96 20:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA11967 for dbi-users-real; Thu, 15 Aug 1996 09:18:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gnomo.doit.it (maurizio@gnomo.doit.it [194.91.18.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA11963 
          for <dbi-users@fugue.com>; Thu, 15 Aug 1996 09:18:56 -0700
Received: (from maurizio@localhost) by gnomo.doit.it (8.6.12/8.6.9) id SAA27590 
          for dbi-users@fugue.com; Thu, 15 Aug 1996 18:36:33 +0200
Date: Thu, 15 Aug 1996 18:36:33 +0200
From: Maurizio Cassi <maurizio@doit.it>
Message-Id: <199608151636.SAA27590@gnomo.doit.it>
To: dbi-users@fugue.com
Subject: unsubscribe

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27722-9@oink>;
          Fri, 16 Aug 1996 07:37:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840144323:20286:2; Thu, 15 Aug 96 22:25:23 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa19534; 15 Aug 96 22:24 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa22876; 15 Aug 96 22:06 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA15905 for dbi-users-real; Thu, 15 Aug 1996 13:56:18 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mixer.visi.com (amit@mixer.visi.com [204.73.178.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA15895 
          for <dbi-users@fugue.com>; Thu, 15 Aug 1996 13:56:15 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.5/8.7.5) id PAA18772 
          for dbi-users@fugue.com; Thu, 15 Aug 1996 15:56:06 -0500 (CDT)
From: Amit Bhati <amit@visi.com>
Posted-Date: Thu, 15 Aug 1996 15:56:06 -0500 (CDT)
Message-Id: <199608152056.PAA18772@mixer.visi.com>
Subject: connect failure problem.
To: "DBI:DBD Mailing List" <dbi-users@fugue.com>
Date: Thu, 15 Aug 1996 15:56:05 -0500 (CDT)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

AIX 4.1.4, Perl 5.003, DBI 0.71, DBD 0.37 - All packages etc.,
installed without errors. I have set and exported,

ORACLE_HOME=/opt/oracle/7.2.2
ORACLE_SID=oradev
ORACLE_TERM=vt100
ORACLE_USERID=abhati/amit

But, running 

make test

aborts and I get a "login failed" error message from Oracle.

ora_login: 1034: ORA-01034: ORACLE not available (DBD: login failed)

However, I am able to execute the following SQLPLUS statement on my
shell prompt, 

maui> sqlplus abhati/amit@oradev

and it connects successfully to my database.

Why does &ora_connect fail?

--
amit bhati
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27722-11@oink>;
          Fri, 16 Aug 1996 07:38:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840144732:24841:2; Thu, 15 Aug 96 22:32:12 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa24213; 15 Aug 96 22:31 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa03870; 15 Aug 96 20:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA11369 for dbi-users-real; Thu, 15 Aug 1996 08:32:14 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gonzo.tamu.edu (gonzo.tamu.edu [165.91.72.200]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA11364 
          for <dbi-users@fugue.com>; Thu, 15 Aug 1996 08:32:12 -0700
Received: from gonzo.tamu.edu (localhost [127.0.0.1]) 
          by gonzo.tamu.edu (8.7.5/8.7.5) with ESMTP id KAA19662;
          Thu, 15 Aug 1996 10:32:03 -0500 (CDT)
From: Philip Kizer <pckizer@tamu.edu>
To: ro03868@po1.cobe.com
cc: dbi-users@fugue.com
Subject: Re: Help!
Reply-To: pckizer@tamu.edu
X-Office: 326E Teague
X-Office-Phone: 409.862.4120
X-Organization: TAMU CIS Operating Systems Group, Unix
X-Pgp-Key: Get key 0x11989061 by sending message with subject: "get pgp key"
X-Url: http://gonzo.tamu.edu/
X-Reposting-Policy: redistribute only with permission
X-Face: _B<mzj1U/]zP}h)]5#BSta@y22b`"<mJtYKCPN{4BF^@S<[rOZL*pyXkh3jeqjeJHJrb%ld 
        f'dU)hBy9
In-reply-to: Your message of "Thu, 15 Aug 1996 11:41:01 -0000." <9608151041.AA24840@toad.ig.co.uk>
Date: Thu, 15 Aug 1996 10:32:03 -0500
Message-ID: <19660.840123123@gonzo.tamu.edu>


Tim Bunce <Tim.Bunce@ig.co.uk> wrote:
>Forwarded to dbi-users (where the README says you should send mail to).

Message to Tim from ro03868@po1.cobe.com:
>----- Begin Included Message -----
>[ ... chomp ... ]
>#!/usr/bin/perl -w
>use DBI;
>$drh = DBI->install_driver( 'Oracle' );
>$dbh = $drh->connect('backup','webmon','webmon');
>die unless $dbh;
>$cursor = $dbh->prepare("SELECT * FROM V$DATABASE");
>$cursor->execute;
>while ( $field = $cursor->fetchrow ) {
> print "Field: $field\n";
>}
>$cursor->finish;
>$dbh->disconnect;
>exit;
>----- End Included Message -----


>Hint of the day: He who does not test the return status of functions
>will forever risk suffering.

Indeed, in production programs, there should be many(!) such status checks.


Hint 2: In learning interfaces (as ro03868 seems to be), that's where
        I'll often use the old printf debugging method, if you modify your
        script apporiately, it should tell you where the script is not
        behaving as you expected.

 $sql = "SELECT * FROM V$DATABASE";
 print "About to prepare SQL: <$sql>\n" if ($opt_d);
>$cursor = $dbh->prepare( $sql );
 print "Got(?) cursor: <$cursor>\n" if ($opt_d);
>$cursor->execute;
>while ( $field = $cursor->fetchrow ) {
> print "Field: $field\n";
>}
>$cursor->finish;


>p.s. Read the "Picking good subject lines" posting in comp.lang.perl.misc.

Indeed.


____________________________________________________________ Philip Kizer ___
Texas A&M CIS Operating Systems Group, Unix ( 409.862.4120 ) pckizer@tamu.edu
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27723-14@oink>;
          Fri, 16 Aug 1996 07:38:13 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840163259:00232:4; Fri, 16 Aug 96 03:40:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29474; 16 Aug 96 3:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id TAA21040 for dbi-users-real; Thu, 15 Aug 1996 19:32:05 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gonzo.tamu.edu (gonzo.tamu.edu [165.91.72.200]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA21036 
          for <dbi-users@fugue.com>; Thu, 15 Aug 1996 19:32:02 -0700
Received: from gonzo.tamu.edu (localhost [127.0.0.1]) 
          by gonzo.tamu.edu (8.7.5/8.7.5) with ESMTP id VAA28621;
          Thu, 15 Aug 1996 21:31:54 -0500 (CDT)
From: pckizer@tamu.edu (Philip Kizer)
To: Amit Bhati <amit@visi.com>
cc: dbi-users@fugue.com (DBI:DBD Mailing List)
Subject: Re: connect failure problem.
Reply-To: pckizer@tamu.edu
X-Office: 326E Teague
X-Office-Phone: 409.862.4120
X-Organization: TAMU CIS Operating Systems Group, Unix
X-Pgp-Key: Get key 0x11989061 by sending message with subject: "get pgp key"
X-Url: http://gonzo.tamu.edu/
X-Reposting-Policy: redistribute only with permission
In-reply-to: Your message of "Thu, 15 Aug 1996 15:56:05 CDT." <199608152056.PAA18772@mixer.visi.com>
Date: Thu, 15 Aug 1996 21:31:53 -0500
Message-ID: <28619.840162713@gonzo.tamu.edu>


Amit Bhati <amit@visi.com> wrote:
>AIX 4.1.4, Perl 5.003, DBI 0.71, DBD 0.37 - All packages etc.,
>installed without errors. I have set and exported,
>
>ORACLE_HOME=/opt/oracle/7.2.2
>ORACLE_SID=oradev
>ORACLE_TERM=vt100
>ORACLE_USERID=abhati/amit

Personally, all I ever set are:
  ORACLE_HOME
  TNS_ADMIN  (since ours is in a weird location)
  TWO_TASK

>But, running 
>
>make test
>aborts and I get a "login failed" error message from Oracle.
>ora_login: 1034: ORA-01034: ORACLE not available (DBD: login failed)

Be sure the line in test.pl has the ORs uncommented as such:

$dbname = $ARGV[0] || $ENV{TWO_TASK} || $ENV{ORACLE_SID} || 'crgs';

Did you not notice any peculiar output?  Did you do the
'make test TEST_VERBOSE=1'?


>However, I am able to execute the following SQLPLUS statement on my
>shell prompt, 
>maui> sqlplus abhati/amit@oradev
>and it connects successfully to my database.
>Why does &ora_connect fail?

Make sure the SQLNet alias can be resolved from the TNS_ADMIN file (if your
tnsnames.ora is in Oracle's expected location, you won't need to set that
env var).  Since you can use sqlplus, I would assume it's set correctly but
so much of what oracle does seems to be in shadows.

These are what I always use to test basic connectivity when I have trouble
with DBD-Oracle's 'make test':

----------------------------------------------------------------------
#!/usr/local/bin/perl

BEGIN {
  $ENV{'ORACLE_HOME'} = '/opt/oracle';
  $ENV{'TNS_ADMIN'} = '/opt/oracle/network/admin/tnsnames.ora';
  $ENV{'TWO_TASK'} = 'test';
}

use DBI;

# Tim, this was your recommended call method for a while, right?  with the
# future being ODBC, I assume that's why you began re-emphasizing Oraperl
# emulation mode for the time until ODBC is finished(started:)?

#                                DBD-Oracle   DBD-Msql
$dbh = DBI->connect('',        # Database     host, '' for localhost
                    'scott',   # User         database
                    'tiger',   # Password     not used
                    'Oracle',  # Driver
                    '',        # Optional Attributes
                    );
warn "1: Could not open database" unless $dbh;
$dbh->disconnect;

#                                DBD-Oracle   DBD-Msql
$dbh = DBI->connect('test',    # Database     host, '' for localhost
                    'scott',   # User         database
                    'tiger',   # Password     not used
                    'Oracle',  # Driver
                    '',        # Attributes  (optional)
                    );
warn "2: Could not open database" unless $dbh;
$dbh->disconnect;
----------------------------------------------------------------------


or

----------------------------------------------------------------------
#!/usr/local/bin/perl

BEGIN {
  $ENV{'ORACLE_HOME'} = '/opt/oracle';
  $ENV{'TNS_ADMIN'} = '/opt/oracle/network/admin/tnsnames.ora';
  $ENV{'TWO_TASK'} = 'oraprd1';
}

use Oraperl;

$lda = &ora_login( '', 'scott', 'tiger' );
warn "1: Could not open database" unless $lda;
&ora_logoff($lda);

$lda = &ora_login( 'oraprd1', 'scott', 'tiger' );
warn "2: Could not open database" unless $lda;
&ora_logoff($lda);
----------------------------------------------------------------------


Having installed Term::Readline, etc, I also find it easy to just do a
'perl -de 0', and begin typing in trials (some output removed):

% perl -de 0
  DB<1> use Oraperl;
  DB<2> $lda = &ora_login( '', 'scott', 'lion' );  print $lda

  DB<3> $lda = &ora_login( '', 'scott', 'tiger' ); print $lda
DBI::db=HASH(0x393940)
  DB<4> &ora_logoff($lda)
  DB<5> <Ctrl-d>
%


On the (similar) topic of oracle environment vars/etc, here is a message I
saved from a while ago, does anyone know of cases wher ethe following is
not true?:

#<message/rfc822
Date: Wed, 20 Dec 1995 19:15:19 -0500
Message-Id: <199512210015.TAA05925@mail1.is.net>
To: dbi-users@fugue.com
From: Terry Greenlaw <terry@encompass.is.net>
Subject: Re: DBD::Oracle failed on make test -- ora_login fail 

[sql*net info deleted]

>Finally, on a client, there is an env variable to sort of serve the
>function of ORACLE_SID for remote connections.  It is TWO_TASK.
>Thus, this connects me to a remote database:
>
>% setenv TWO_TASK T:hostname:ORACLE_SID
>% sqlplus username/password
>
>Note that if you have *both* local and remote databases, and you
>have ORACLE_SID *and* TWO_TASK set, and you don't specify a fully
>qualified connect string on the command line, TWO_TASK takes precedence
>over ORACLE_SID (i.e. you get connected to remote system).
>
>Hope this all makes some sense and helps.
>
>Mark

ORACLE_SID is really unnecessary to set since TWO_TASK provides the
same functionality in addition to allowing remote connections.

TWO_TASK = P:sid will use the pipe driver for local connections   SQL*Net 1.x
TWO_TASK = T:machine:sid will use TCP/IP (or D for DECNET, etc.) for remote
            SQL*Net 1.x conn.
TWO_TASK = dbname will use the info stored in the SQL*Net 2.x configuration
            file for local or remote connections.

ORACLE_HOME can also be left unset if you aren't using any of Oracle's
executables, but error messages may not display, and the current
DBD::Oracle generates a warning message (can this be disabled Tim ?).

I've found discouraging the use of ORACLE_SID makes it easier on the users
to see what is going on. I just wish that TWO_TASK could be renamed, since
it makes no sense to the end user, and doesn't have the ORACLE prefix on
it.

Hope this doesn't fog the issue at hand too much ;-}

tog          
Terry Greenlaw                                           terry@encompass.is.net
Encompass Technologies
(770) 591-8903
#
____________________________________________________________ Philip Kizer ___
Texas A&M CIS Operating Systems Group, Unix ( 409.862.4120 ) pckizer@tamu.edu
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27834-2@oink>;
          Fri, 16 Aug 1996 07:42:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840150937:06740:5; Fri, 16 Aug 96 00:15:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05783; 16 Aug 96 0:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA17958 for dbi-users-real; Thu, 15 Aug 1996 16:08:21 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from europa.ikonic.com (ikonic106.ikonic.com [205.139.115.106]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA17954 
          for <dbi-users@fugue.com>; Thu, 15 Aug 1996 16:08:19 -0700
Received: from vermeulen.ikonic.com ([205.139.115.181]) 
          by europa.ikonic.com (post.office MTA v1.9.3 ID# 0-11965) with SMTP 
          id AAA132 for <dbi-users@fugue.com>; Thu, 15 Aug 1996 16:04:49 -0700
X-Sender: rvermeulen@mail.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: Rob Vermeulen <rvermeulen@ikonic.com>
Subject: 'Bad free' with Oraperl and Oracle 7.3
Date: Thu, 15 Aug 1996 16:04:49 -0700
Message-ID: <19960815230449723.AAA132@vermeulen.ikonic.com>


Hi:

I'm getting a 'bad free()' message when executing Oraperl scripts
after I linked Oraperl version 4 with Oracle version 7.3  (I used to 
be on Oracle 7.2).

I heard that this was discussed previously and a workaround was found.
Any pointers, as it were, would be appreciated.

Thanks,
Rob V.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27722-28@oink>;
          Fri, 16 Aug 1996 07:45:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840158979:22857:4; Fri, 16 Aug 96 02:29:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22562; 16 Aug 96 2:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA20003 for dbi-users-real; Thu, 15 Aug 1996 18:22:12 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mailhub.moe.edu.sg (mailhub.moe.edu.sg [166.121.9.130]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id SAA19991 
          for <dbi-users@fugue.com>; Thu, 15 Aug 1996 18:22:06 -0700
Received: from piaget.moe.edu.sg by mailhub.moe.edu.sg;
          Fri, 16 Aug 96 09:18:12 +0800
Received: from w347.moe.ac.sg by piaget.moe.edu.sg (5.x/SMI-SVR4) id AA07459;
          Fri, 16 Aug 1996 09:17:29 +0800
Received: by w347.moe.ac.sg with Microsoft Mail 
          id <01BB8B55.00F11060@w347.moe.ac.sg>;
          Fri, 16 Aug 1996 09:26:28 +-800
Message-Id: <01BB8B55.00F11060@w347.moe.ac.sg>
From: Ten Chern Chiang <rnc@moe.edu.sg>
To: "dbi-users@fugue.com" <dbi-users@fugue.com>
Subject: unsubscribe
Date: Fri, 16 Aug 1996 09:26:27 +-800
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubscribe


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01701-11@oink>;
          Fri, 16 Aug 1996 12:21:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840192241:02955:1; Fri, 16 Aug 96 11:44:01 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa02246; 16 Aug 96 11:42 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa20948; 16 Aug 96 11:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA28127 for dbi-users-real; Fri, 16 Aug 1996 03:31:47 -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 DAA28115 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 03:31:18 -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 LAA04704;
          Fri, 16 Aug 1996 11:30:12 +0100
Date: Fri, 16 Aug 1996 11:30:13 +0100
Message-Id: <1212.199608161030@bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk>
From: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
To: descarte@hermetica.com
CC: dbi-users@fugue.com
In-reply-to: <199608160954.KAA13908@fruitbat.mcqueen.com> (message from Alligator Descartes on Fri, 16 Aug 1996 10:54:41 +0100 (BST))
Subject: Re: DBI Questions (fwd)
Reply-to: agw@mail.nerc-bas.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII

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

    > Forwarded to dbi-users.................

    > --------------------------------

    > Alligator,

    > I'm hoping you have a simple solution for my problem. Your
    > sample script works fine if the field you're selecting is not a
    > LONG datatype. As the default LONG is set to 80chars. It can be
    > changed in SQLPLUS, etc. but accessed via DBI it's still
    > 80chars.

    > Got any suggestions?

I may have got the wrong end of this question :-) .... but if you use
Oraperl the answer is in the README file .......

>Example for reading LONG fields via blob_read:
>
>        my $sql = "SELECT long_field FROM table_name WHERE id = :1";
>        my $csr = ora_open($lda, $sql) or die $ora_errstr;
>        ora_bind($csr, $id) or die $ora_errstr;
>        # ora_fetch() needs to be called in an array context
>        my (@data) = ora_fetch($csr); 
>        my ($frag, $blob, $length, $ll, $offset);
>        $blob = '';
>        $length = 4096; # use benchmarks to get best value for you
>        $offset = 0;
>        while (1)
>        {
>                $frag = $csr->blob_read(0, $offset, $length);
>                last unless defined $frag;
>                $ll = length $frag;
>                last unless $ll;
>                $blob .= $frag;
>                $offset += $ll;
>        }
>        print $blob;
>
>With thanks to james.taylor@srs.gov and desilva@ind70.industry.net.

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 <02340-0@oink>;
          Fri, 16 Aug 1996 13:20:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840195240:05586:1; Fri, 16 Aug 96 12:34:00 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa05017; 16 Aug 96 12:33 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa01860; 16 Aug 96 12:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id CAA26980 for dbi-dev-real; Fri, 16 Aug 1996 02:14:47 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sauternes.inferentia.it (dns.inferentia.it [151.99.220.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id CAA26976 
          for <dbi-dev@fugue.com>; Fri, 16 Aug 1996 02:14:44 -0700
Received: from aloxe.sys.inferentia.it (aloxe.sys.inferentia.it [195.120.5.95]) 
          by sauternes.inferentia.it (8.7.5/8.7.3) with SMTP id LAA14307;
          Fri, 16 Aug 1996 11:08:18 +0200
Received: by aloxe.sys.inferentia.it with Microsoft Mail 
          id <01BB8B64.8B37C8E0@aloxe.sys.inferentia.it>;
          Fri, 16 Aug 1996 11:17:43 +-200
Message-ID: <01BB8B64.8B37C8E0@aloxe.sys.inferentia.it>
From: Davide Migliavacca <davide.migliavacca@inferentia.it>
To: 'Michal Jaegermann' <michal@ellpspace.math.ualberta.ca>
Cc: "'tom@hulda.pfm-mainz.de'" <tom@hulda.pfm-mainz.de>, 
    'Tim Bunce' <Tim.Bunce@ig.co.uk>, "'dbi-dev@fugue.com'" <dbi-dev@fugue.com>
Subject: RE: DBD::Oracle - Can't use blanks as values
Date: Fri, 16 Aug 1996 11:17:41 +-200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Michal,
please send me a copy of mkdb.pl.
Since we are working on almost identical platforms (only difference is I =
am using 7.1.6) and I have already taken a dive into dbdimp.c debugging, =
your test case could help solve the problem.
There is *definitely* something weird. As for myself, I took cdemo3.c =
from Oracle distribution, modified so that I had a stituation similar to =
what described Thomas Hahn (=3D=3D a single space in a bind var for an =
insert into a varchar2 not null field), and obndrv WORKED!
That's why I'm not really surprised that my patch failed "in another =
stituation". There must be something "else". Let's try track it down =
(till I have time that is :-)). BTW, it may be strange, but your name =
fields get cut exactly at the length of the other field contents. =
Coincidence or black magic?

----------
From: 	Michal Jaegermann[SMTP:michal@ellpspace.math.ualberta.ca]
Sent: 	mercoled=EC 14 agosto 1996 22.32
To: 	Tim Bunce
Cc: 	davide.migliavacca@inferentia.it; tom@hulda.pfm-mainz.de
Subject: 	Re: DBD::Oracle - Can't use blanks as values

>=20
> Michal, please try Davide's patch and let me know if it works for you.
>=20
Hi Tim,
I am afraid that with this patch from Davide Migliavacca I was
not entirely succesful (or rather entirely not succesful :-).
All the stuff below is from freshly installed DBD-Oracle-0.37
with DBI-0.71 and perl 5_003.  This platform is Alpha running
Digital UNIX V3.2C and Oracle 7.1.4 (they should and may upgrade
one day).

In case you wonder what I am using for this test run - this is slightly
modified mkdb.pl test from an original 'oraperl' suite.  Tim should have
a copy and if anybody else wants it just drop me a line.

Here is how test output looks like when 'Name' field is of VARCHAR2
type (we inserte some records and later we try to remove some of
them by name).  This is without the patch and this is what is expected.

2 fields, lengths 10, 40
        types 1, 2
        types character array, number
       Name         Ext
       =3D=3D=3D=3D         =3D=3D=3D
       angela       208
       arnold       305
       catherine    201
       julia        292
       larry        424
       nonumber     <-N
       randal       306
       <-NULL->     999
       <-NULL->     <-N

2 fields, lengths 10, 40
        types 1, 2
        types character array, number

       Name         Ext
       =3D=3D=3D=3D         =3D=3D=3D
       larry        424
       nonumber     <-N
       randal       306


Now, the same stuff with type CHAR.  I echo names of fields to remove,
surrounded by '!', to confirm that I indeed use the right format.
There is another delete which removes fields with NULL names and this
statement works.

2 fields, lengths 10, 40
        types 96, 2
        types fixed length char array, number
       Name         Ext
       =3D=3D=3D=3D         =3D=3D=3D
       angela       208
       arnold       305
       catherine    201
       julia        292
       larry        424
       nonumber     <-N
       randal       306
       <-NULL->     999
       <-NULL->     <-N

!catherine !
!angela    !
!arnold    !
!julia     !
2 fields, lengths 10, 40
        types 96, 2
        types fixed length char array, number

       Name         Ext
       =3D=3D=3D=3D         =3D=3D=3D
       angela       208
       arnold       305
       catherine    201
       julia        292
       larry        424
       nonumber     <-N
       randal       306



After applying Davide patch (first VARCHAR2) I see what follows.
All names were inexplicably cut to the first three characters.
I am only mildly thrilled. :-)


2 fields, lengths 10, 40
        types 1, 2
        types character array, number
       Name         Ext
       =3D=3D=3D=3D         =3D=3D=3D
       ang          208
       arn          305
       cat          201
       jul          292
       lar          424
       ran          306
       <-NULL->     999
       <-NULL->     <-N
       <-NULL->     <-N

2 fields, lengths 10, 40
        types 1, 2
        types character array, number

       Name         Ext
       =3D=3D=3D=3D         =3D=3D=3D
       ang          208
       arn          305
       cat          201
       jul          292
       lar          424
       ran          306

And the same stuff for CHAR type field - but this does not change =
anything.


2 fields, lengths 10, 40
        types 96, 2
        types fixed length char array, number
       Name         Ext
       =3D=3D=3D=3D         =3D=3D=3D
       ang          208
       arn          305
       cat          201
       jul          292
       lar          424
       ran          306
       <-NULL->     999
       <-NULL->     <-N
       <-NULL->     <-N

!catherine !
!angela    !
!arnold    !
!julia     !
2 fields, lengths 10, 40
        types 96, 2
        types fixed length char array, number

       Name         Ext
       =3D=3D=3D=3D         =3D=3D=3D
       ang          208
       arn          305
       cat          201
       jul          292
       lar          424
       ran          306


Tim, I looked at your suggestion that I should try

        $oraperl_type =3D { ora_type =3D> 5 };
        $sth->bind_param(1, $value, $oraperl_type);

but I have to confess that after scratching my head for a while
I do not know how to apply that.  I do not want to touch Oraperl.pm,
or you suggest that I should modify this?  Then I can probably find
a place to insert that. :-)

   Cheers,
   Michal



---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02349-0@oink>;
          Fri, 16 Aug 1996 13:22:24 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840180612:23404:2; Fri, 16 Aug 96 08:30:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22993; 16 Aug 96 8:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id AAA25335 for dbi-users-real; Fri, 16 Aug 1996 00:21:43 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ultra.larix.com (ultra.larix.com [194.88.97.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA25331 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 00:21:41 -0700
Received: from ultra (localhost [127.0.0.1]) by ultra.larix.com (8.7.5/8.7.5) 
          with SMTP id JAA03091 for <dbi-users@fugue.com>;
          Fri, 16 Aug 1996 09:19:02 +0100 (WET DST)
Message-ID: <32142EF6.2199@larix.com>
Date: Fri, 16 Aug 1996 09:19:02 +0100
From: Walter Lievens <walter@larix.com>
Organization: Larix NV
X-Mailer: Mozilla 3.0b7 (X11; I; SunOS 5.5 sun4u)
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 punt2.demon.co.uk by oink with SMTP (PP) id <02349-2@oink>;
          Fri, 16 Aug 1996 13:22:29 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840190281:07659:2; Fri, 16 Aug 96 11:11:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06951; 16 Aug 96 11:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA27691 for dbi-users-real; Fri, 16 Aug 1996 03: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 DAA27680 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 03:03:03 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id KAA13908 for dbi-users@fugue.com; Fri, 16 Aug 1996 10:54:42 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608160954.KAA13908@fruitbat.mcqueen.com>
Subject: DBI Questions (fwd)
To: dbi-users@fugue.com
Date: Fri, 16 Aug 1996 10:54:41 +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: 1379


Forwarded to dbi-users.................

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

Alligator,

I'm hoping you have a simple solution for my problem. Your sample script
works fine if the field you're selecting is not a LONG datatype. As the
default LONG is set to 80chars. It can be changed in SQLPLUS, etc. but
accessed via DBI it's still 80chars. 

Got any suggestions?

I'll be eternally thankful for any help. 
Thanks,

Patti

#$drh = DBI->install_driver( 'Oracle' );        # Uncomment for Oracle
#$drh = DBI->install_driver( 'mSQL' );          # Uncomment for mSQL

#$dbh = $drh->connect( 'testdb', 'testuser', 'testpass' );
                                                # Uncomment for Oracle
#$dbh = $drh->connect( 'hostname', 'dbname' );  # Uncomment for mSQL
die unless $dbh;

$cursor = $dbh->prepare( "SELECT field FROM table" );

$cursor->execute;

while ( $field = $cursor->fetchrow ) {
    print "Field: $field\n";
  }

$cursor->finish;

$dbh->disconnect;

exit;

-- 
-------------------------------------------------
Patti McCreary
FACSNET Programmer
pattimcc@facsnet.org
SDSC Consultant
pattimcc@sdsc.edu
(619)534-8371
-------------------------------------------------


-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02975-1@oink>;
          Fri, 16 Aug 1996 16:17:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840200339:00621:0; Fri, 16 Aug 96 13:58:59 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa29740; 16 Aug 96 13:57 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa19330; 16 Aug 96 13:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA00133 for dbi-users-real; Fri, 16 Aug 1996 05:38:24 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA00118 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 05:38:11 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id as13518; 16 Aug 96 12:57 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa02570; 16 Aug 96 12:21 +0100
Received: from toad by oink with SMTP (PP) id <01687-0@oink>;
          Fri, 16 Aug 1996 12:20:34 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29533;
          Fri, 16 Aug 1996 12:20:23 +0000
Date: Fri, 16 Aug 1996 12:20:23 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608161120.AA29533@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: question/how to
Cc: reaten@pcii.net
X-Sun-Charset: US-ASCII
content-length: 581
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From reaten@pcii.net  Thu Aug 15 19:41:09 1996
Date: Thu, 15 Aug 1996 13:38:16 -0600
From: Reaten <reaten@pcii.net>
Organization: http://users.mwci.net/~reaten/index.html
Mime-Version: 1.0
To: Tim.Bunce@ig.co.uk
Subject: question/how to
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

I need a program that will query a Microsoft Access database from the
Web.  Do you know of any such program, could u write such a program or
do u know someone who could?

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

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02975-7@oink>;
          Fri, 16 Aug 1996 16:17:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840206110:04119:4; Fri, 16 Aug 96 15:35:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03933; 16 Aug 96 15:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA01673 for dbi-users-real; Fri, 16 Aug 1996 07:24:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA01669 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 07:24:56 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com) 
          by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA02725;
          Fri, 16 Aug 96 08:55:46 CDT
X-Sender: ice@camg2.mfg.mke.ab.com
Message-Id: <v03007809ae3a2cfc5fba@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 16 Aug 1996 08:55:48 -0500
To: dbi-users@fugue.com
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: Kludged make test failure, Sol2.5

Ok...I have ONE machine (Sol2.5) with everything installed (perl,
SparcWorks, ProC, etc.)...I built the DBI and DBD module on that box.
However, I want to install the modules on our web server (ie. Sol2.5, no
ProC, no SparcWorks).

So, I did a full build, make test, make install on the small box and
everything went fine.  Tar'ed up the DBD and DBI dirs complete...and moved
everything to the web server.

Make test/install for DBI(0.71) went fine.  However, when I do a make test
of the DBD(0.37), it fails.  Seems to be looking for a library from ProC.
So, my questions are:

1) can I do what I'm trying to do?
2) what is libclntsh.so.1.0
3) Do I have to have ProC installed on the box I'm using the Oracle DBD on?

BTW...

 # 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.003 -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: libclntsh.so.1.0: can't open file: errno=2 at
/usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 24
	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)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'

Chris

--
                                   --------
   +------------------------------| _   /| |------------------------------+
   | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
   | E-mail: CMIce@mfg.mke.ab.com |   ( )  | 1201 S. Second St.           |
   | Voice:  414.382.2136         |    U   | Milwaukee, WI 53204 USA      |
   +------------------------------|  Ack!  |------------------------------+
       My opinions do not reflect  --------  the views of my employer.


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02975-9@oink>;
          Fri, 16 Aug 1996 16:17:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840206563:09807:0; Fri, 16 Aug 96 15:42:43 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa09278; 16 Aug 96 15:42 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa10150; 16 Aug 96 15:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id HAA01791 for dbi-users-real; Fri, 16 Aug 1996 07:33:17 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from po.nextwork.rose-hulman.edu (po.rose-hulman.edu [137.112.5.20]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA01787 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 07:33:15 -0700
Received: from public-3.rose-hulman.edu (public-3.rose-hulman.edu [137.112.3.22]) 
          by po.nextwork.rose-hulman.edu (8.7.5/8.7.3) with SMTP id JAA23564 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 09:33:00 -0500
Message-ID: <321486F0.27DA@po.nextwork.rose-hulman.edu>
Date: Fri, 16 Aug 1996 09:34:24 -0500
From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
Reply-To: mahanm@nextwork.rose-hulman.edu
Organization: Rose-Hulman Institute of Technology
X-Mailer: Mozilla 3.0b5aGold (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBI / ODBC / iODBC discussion was: Newbie question: DBI / ....
Content-Type: multipart/mixed; boundary="------------56F224C96429"

This is a multi-part message in MIME format.

--------------56F224C96429
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
I'm remailing the following for two reasons.  First I sent it originally
to dbi-dev.  But it seems the list is dead, or no one there wanted to
comment.  Second I have released the alpha of my core iodbc extention
for perl, and the following will provide some background for it's
release.  I have uploaded iodbc_ext_0_1.tar.gz to CPAN under the
/authors/J_Michael_Mahan/ directory.  Something I'd really like to see
get done is a dbm module that uses this extention.  Whether someone else
does it or not.  First I'd like to see how well this release works.

J. Michael Mahan wrote:
> 
> Tim Bunce wrote:
> >
> > > From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
> > >        First,  I've just joined this group.  Second, I've been
> > > working the past couple of weeks on a perl extension to iODBC.  Core
> > > ODBC support should be finished soon, so I guess before I finish
> > > doing this I would like to know what the _plans_ are if there are
> > > any.  The extension, as it is right now, is tied very close to the
> > > C-libraries, with the hopes of maybe building a nice object oriented,
> > > perl-like interface on top of it.  I guess that's where DBI could
> > > come in...[OK I've now read DBI-0.71.readme this explains a lot.]...
> > >  I would like to help, but I lack a lot of experience. I do have
> > > time, however, to work on something, and as I've said I've already
> > > have most of the core ODBC API implemented.
> >
> > Long lines are a pain.I hope they are shorter now.
> >
> > Okay, how about this... re-implement your ODBC code as a DBD. Use the
> > DBD::DB2 module as a guide (DB2's interface is very close to ODBC's).
> 
> > Once it's working as a DBD we can look at tighter integration into the
> > DBI.
> >
> > Interested? (I know a few hundred people who'd be very grateful :-)
> >
> > All I ask is that you licence the code on the same terms as Perl itself
> >
> > Tim.
> 
> How about this... first a picture. I hope this formats properly.
> --------------------------------------------
> 
>             .-------------------.
>             | Perl script using |
>             |     DBperl API    |
>             `-------------------'
>                       |
>                       |
>                      API
>                       |
>                       |
>                .--------------.
>                |    Switch    |
>                `--------------'
>                 |            |
>                 |            |
>           .----------.  .---------.
>           | ODBC DBD |  | XYZ DBD |
>           `----------'  `---------'
>                 |            |
>                 |            |
>        .----------------. .----------.
>        | ODBC Extension | | XYZ DATA |
>        |   interface    | |  SOURCE  |
>        `----------------' `----------'
>                 |
>                 |
>     .---------------------.
>     | ODBC Driver Manager |
>     `---------------------'
>     |         |          |
>     |         |          |
> .--------. .--------. .--------.
> | Driver | | Driver | | Driver |
> `--------' `--------' `--------'
>     |         |          |
>     |         |          |
> .--------. .--------. .--------.
> |  DATA  | |  DATA  | |  DATA  |
> | SOURCE | | SOURCE | | SOURCE |
> `--------' `--------' `--------'
> 
> --------------End of picture-----------------
> 
> I have already written a alpha ODBC Extension interface with core support
> (and will provide it to the public soon).  Anyone who knows the ODBC API
> can use this to access the iODBC Driver Manager from perl.  Because it is
> so much like the C-iODBC API it isn't very perlesque.  That is where the
> ODBC DBD could come in.  Once the ODBC Extension Interface is working
> well, I could write the DBD.  What do you think of this?
> 
> Michael Mahan

--------------56F224C96429
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Received: from toccata.fugue.com (toccata.fugue.com [204.254.239.2]) by po.nextwork.rose-hulman.edu (8.7.5/8.7.3) with SMTP id NAA14511 for <mahanm@po.nextwork.rose-hulman.edu>; Tue, 16 Jul 1996 13:42:02 -0500
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) id KAA22560 for dbi-dev-real; Tue, 16 Jul 1996 10:19:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from po.nextwork.rose-hulman.edu (po.rose-hulman.edu [137.112.5.20]) by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA22546 for <dbi-dev@fugue.com>; Tue, 16 Jul 1996 10:16:45 -0700
Received: from public-3.rose-hulman.edu (public-3.rose-hulman.edu [137.112.3.22]) by po.nextwork.rose-hulman.edu (8.7.5/8.7.3) with SMTP id MAA12693; Tue, 16 Jul 1996 12:15:48 -0500
Message-ID: <31EBCE52.75CC@po.nextwork.rose-hulman.edu>
Date: Tue, 16 Jul 1996 12:16:02 -0500
From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
Organization: Rose-Hulman Institute of Technology
X-Mailer: Mozilla 2.02Gold (Win95; I)
MIME-Version: 1.0
To: Tim Bunce <Tim.Bunce@ig.co.uk>
CC: dbi-dev@fugue.com
Subject: Re: Newbie question: DBI / ODBC / iODBC? (fwd)
References: <9607121603.AA28291@toad.ig.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
> 
> > From: "J. Michael Mahan" <mahanm@nextwork.rose-hulman.edu>
> >        First,  I've just joined this group.  Second, I've been 
> > working the past couple of weeks on a perl extension to iODBC.  Core 
> > ODBC support should be finished soon, so I guess before I finish 
> > doing this I would like to know what the _plans_ are if there are 
> > any.  The extension, as it is right now, is tied very close to the 
> > C-libraries, with the hopes of maybe building a nice object oriented, 
> > perl-like interface on top of it.  I guess that's where DBI could 
> > come in...[OK I've now read DBI-0.71.readme this explains a lot.]... 
> >  I would like to help, but I lack a lot of experience. I do have 
> > time, however, to work on something, and as I've said I've already 
> > have most of the core ODBC API implemented.
> 
> Long lines are a pain.I hope they are shorter now.
> 
> Okay, how about this... re-implement your ODBC code as a DBD. Use the 
> DBD::DB2 module as a guide (DB2's interface is very close to ODBC's).

> Once it's working as a DBD we can look at tighter integration into the 
> DBI.
> 
> Interested? (I know a few hundred people who'd be very grateful :-)
> 
> All I ask is that you licence the code on the same terms as Perl itself
> 
> Tim.

How about this... first a picture. I hope this formats properly.
--------------------------------------------
  
            .-------------------.
            | Perl script using |
            |     DBperl API    |
            `-------------------'
                      |
                      |
                     API
                      |
                      |
               .--------------.
               |    Switch    |
               `--------------'
                |            |
                |            |
          .----------.  .---------.
          | ODBC DBD |  | XYZ DBD |
          `----------'  `---------'
                |            |
                |            |
       .----------------. .----------.
       | ODBC Extension | | XYZ DATA |
       |   interface    | |  SOURCE  |      
       `----------------' `----------'
                |
                |
    .---------------------.
    | ODBC Driver Manager |
    `---------------------'
    |         |          |
    |         |          |
.--------. .--------. .--------.
| Driver | | Driver | | Driver |
`--------' `--------' `--------'
    |         |          |
    |         |          |
.--------. .--------. .--------.                        
|  DATA  | |  DATA  | |  DATA  |
| SOURCE | | SOURCE | | SOURCE |
`--------' `--------' `--------'

--------------End of picture-----------------

I have already written a alpha ODBC Extension interface with core support 
(and will provide it to the public soon).  Anyone who knows the ODBC API 
can use this to access the iODBC Driver Manager from perl.  Because it is 
so much like the C-iODBC API it isn't very perlesque.  That is where the 
ODBC DBD could come in.  Once the ODBC Extension Interface is working 
well, I could write the DBD.  What do you think of this?

Michael Mahan


--------------56F224C96429--

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <03058-0@oink>;
          Fri, 16 Aug 1996 16:26:42 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840208975:20340:15; Fri, 16 Aug 96 16:22:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa20157; 16 Aug 96 16:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA02221 for dbi-users-real; Fri, 16 Aug 1996 08:03:21 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from spherenet.com (station1.spherenet.com [204.50.31.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA02217 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 08:03:19 -0700
Received: from mvu (thang@mvu.spherenet.com [204.50.135.24]) 
          by spherenet.com (8.7.4/8.6.6) with SMTP id LAA09052;
          Fri, 16 Aug 1996 11:02:59 -0400 (EDT)
Message-ID: <32148DE8.5A26D9B5@spherenet.com>
Date: Fri, 16 Aug 1996 11:04:08 -0400
From: Martin Vu <martin@spherenet.com>
Organization: Matrox Spherenet
X-Mailer: Mozilla 3.0b6Gold (X11; I; Linux 1.2.13 i586)
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 <03087-0@oink>;
          Fri, 16 Aug 1996 16:29:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840209029:08464:0; Fri, 16 Aug 96 16:23:49 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa07745; 16 Aug 96 16:22 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa18132; 16 Aug 96 16:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA02336 for dbi-users-real; Fri, 16 Aug 1996 08:09:29 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA02332 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 08:09:23 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id ad06249; 16 Aug 96 14:22 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac21539; 16 Aug 96 13:20 +0100
Received: from toad by oink with SMTP (PP) id <02244-0@oink>;
          Fri, 16 Aug 1996 12:41:33 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29638;
          Fri, 16 Aug 1996 12:41:27 +0000
Date: Fri, 16 Aug 1996 12:41:27 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608161141.AA29638@toad.ig.co.uk>
To: dbi-users@fugue.com, rvermeulen@ikonic.com
Subject: Re: 'Bad free' with Oraperl and Oracle 7.3
X-Sun-Charset: US-ASCII
content-length: 376
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Rob Vermeulen <rvermeulen@ikonic.com>
> 
> Hi:
> 
> I'm getting a 'bad free()' message when executing Oraperl scripts
> after I linked Oraperl version 4 with Oracle version 7.3  (I used to 
> be on Oracle 7.2).
> 
> I heard that this was discussed previously and a workaround was found.
> Any pointers, as it were, would be appreciated.

Sigh. Read the README!

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04611-0@oink>;
          Fri, 16 Aug 1996 20:05:45 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840222132:23316:6; Fri, 16 Aug 96 20:02:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22967; 16 Aug 96 20:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA05776 for dbi-users-real; Fri, 16 Aug 1996 11:52:55 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from MainStreet.Net (MainStreet.Net [206.40.48.3]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA05772 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 11:52:53 -0700
Received: from migration.com ([204.153.177.2]) by MainStreet.Net (8.6.9/8.6.9) 
          with SMTP id LAA13188; Fri, 16 Aug 1996 11:51:50 -0700
Received: by migration.com (5.0/SMI-SVR4) id AA01869;
          Fri, 16 Aug 1996 11:49:12 +0800
Date: Fri, 16 Aug 1996 11:49:12 +0800
From: edjames@migration.com (Ed James)
Message-Id: <9608161849.AA01869@migration.com>
To: reaten@pcii.net
Subject: Re: question/how to
Cc: dbi-users@fugue.com
Content-Length: 883

> I need a program that will query a Microsoft Access database from the 

If you have a web server running on the PC with access to the database,
you can use iodbc.exe, sql.pl and perl5 to present the data to the
web.

Some of the pieces required:

	http://www.perl.hip.com/		perl5 for win32
	ftp://emwac.ed.ac.uk/pub/https/		a http server for win32
	ftp://ftp.digex.net/pub/access/psii/	iodbc.exe and sql.pl

Let me know if you need help.  I've just done this over the last few
weeks.

This is NOT the same DBI stuff these folks are using.  Correct me 
if I'm wrong, but the closest thing DBI and win32 have in common is
the new iodbc perl extension recently mentioned.  That sounds like
the *real* answer to the perl/db/win32 problem.  Soon.  I think
the url for that is:

	http://www.perl.com/CPAN/authors/J_Michael_Mahan/iodbc_ext_0_1.tar.gz

(but use one of the mirrors).  --ed
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04611-2@oink>;
          Fri, 16 Aug 1996 20:05:52 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840222304:25424:4; Fri, 16 Aug 96 20:05:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa25262; 16 Aug 96 20:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA02550 for dbi-users-real; Fri, 16 Aug 1996 08:24:08 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.tolcontainers.com ([166.90.210.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA02546 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 08:24:07 -0700
From: Daniel_Saw@tolcontainers.com
Received: by mail.tolcontainers.com; (5.65v3.2/1.3/10May95) id AA28032;
          Fri, 16 Aug 1996 08:22:21 -0700
Date: Fri, 16 Aug 96 08:09:21 PST
Message-Id: <9607168402.AA840209100@ccmail.tolcontainers.com>
To: dbi-users@fugue.com
Subject: unsubscribe

     unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07194-1@oink>;
          Sat, 17 Aug 1996 14:09:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840222434:09745:1; Fri, 16 Aug 96 20:07:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa09053; 16 Aug 96 20:06 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa02852; 16 Aug 96 20:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA03056 for dbi-users-real; Fri, 16 Aug 1996 08:59:07 -0700
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 IAA03052 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 08:59:06 -0700
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id IAA18013; Fri, 16 Aug 1996 08:58:56 -0700
Message-Id: <199608161558.IAA18013@voro.lbl.gov>
X-Mailer: exmh version 1.6.2 7/18/95
To: reaten@pcii.net
cc: dbi-users@fugue.com
Subject: Re: question/how to
In-reply-to: Your message of "Fri, 16 Aug 1996 12:20:23 -0000." <9608161120.AA29533@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 16 Aug 1996 08:58:55 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>


> Forwarded to dbi-users.
> 
> ----- Begin Included Message -----
> 
> From reaten@pcii.net  Thu Aug 15 19:41:09 1996
> Date: Thu, 15 Aug 1996 13:38:16 -0600
> From: Reaten <reaten@pcii.net>
> Organization: http://users.mwci.net/~reaten/index.html
> Mime-Version: 1.0
> To: Tim.Bunce@ig.co.uk
> Subject: question/how to
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> 
> I need a program that will query a Microsoft Access database from the
> Web.  Do you know of any such program, could u write such a program or
> do u know someone who could?
> 
> ----- End Included Message -----

Your question is pretty general.  I'd suggest you poke around
Miscrosoft's web pages at least.  They have tools coming out
to integrate their Web server with MS Access.



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07194-3@oink>;
          Sat, 17 Aug 1996 14:09:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840222671:12159:1; Fri, 16 Aug 96 20:11:11 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa11728; 16 Aug 96 20:10 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa03584; 16 Aug 96 20:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA03339 for dbi-users-real; Fri, 16 Aug 1996 09:20:03 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA03332 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 09:19:54 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com) 
          by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA03891;
          Fri, 16 Aug 96 11:19:22 CDT
X-Sender: ice@camg2.mfg.mke.ab.com
Message-Id: <v03007812ae3a4d7f0323@[130.151.91.215]>
In-Reply-To: <2495.199608161602@bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk>
References: <v03007809ae3a2cfc5fba@[130.151.91.215]> (message from Christopher Ice on Fri,
            16 Aug 1996 08:55:48 -0500)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 16 Aug 1996 11:19:24 -0500
To: agw@mail.nerc-bas.ac.uk
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: Re: Kludged make test failure, Sol2.5
Cc: dbi-users@fugue.com


>Yes, Pro*C is essential .... plus one or two header files from the DBMS
>section if I remember correctly.

I think I have these already.  Again, one box has everything...ProC,
sqlnet, SparcWorks, etc.  In order to get the DBD to build, I had to find
the ora*.h files which are in $ORACLE_HOME/rdbms/demo.  But, the DBD builds
fine on the Source machine.

So, I did the following with the DBD...both source and dest are Sol2.5:

Source machine (ie. has SpacrWorks, ProC, sqlnet, perl, and DBI on it)
----------------------------------------------------------------------
perl Makefile.PL
make
<...builds ok...>
make test
<...test ok...>
make install
<...installs ok....run test prog...works ok too>

cd ../

tar -cvf ./DBD-sol-build.tar ./DBD-Oracle-0.37/*

<...copy tar file to dest machine...>

Dest Machine (ie. has perl, sqlnet, and DBI ONLY)
-------------------------------------------
tar -xvf ./DBD-sol-build.tar

cd DBD-sol-build

make test

<....test fails w/verbose output I sent before...>

I believe that in addition to the libclntsh.so, I will need some form of
$ORACLE_HOME/rdbms/mesg directory too?

I love shared libs.  %-}

Chris

--
                                   --------
   +------------------------------| _   /| |------------------------------+
   | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
   | E-mail: CMIce@mfg.mke.ab.com |   ( )  | 1201 S. Second St.           |
   | Voice:  414.382.2136         |    U   | Milwaukee, WI 53204 USA      |
   +------------------------------|  Ack!  |------------------------------+
       My opinions do not reflect  --------  the views of my employer.


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07194-5@oink>;
          Sat, 17 Aug 1996 14:09:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840223060:16641:0; Fri, 16 Aug 96 20:17:40 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa16258; 16 Aug 96 20:16 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa04832; 16 Aug 96 20:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA06071 for dbi-users-real; Fri, 16 Aug 1996 12:10:09 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pinyon.enet.net (pinyon.enet.net [168.158.8.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA06067 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 12:10:03 -0700
Received: (from mueller@localhost) by pinyon.enet.net (8.6.9/8.6.9) id MAA15746;
          Fri, 16 Aug 1996 12:09:07 -0700
Date: Fri, 16 Aug 1996 12:09:06 -0700 (MST)
From: Steve Mueller <mueller@enet.net>
Subject: Re: connect failure problem.
To: Philip Kizer <pckizer@tamu.edu>
cc: Amit Bhati <amit@visi.com>, dbi-users@fugue.com
In-Reply-To: <28619.840162713@gonzo.tamu.edu>
Message-ID: <Pine.3.89.9608161232.A15718-0100000@pinyon.enet.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Philip,

	I am having the same problem that Amit is having, on the exact 
same platform (AIX 4.1.4, etc...).  When I do the 'make test TEST_VERBOSE=1',
I get a SIGSEGV error when it tries to connect to the database.  My 
env vars are all set properly (ORACLE_HOME, ...SID, TNS_ADMIN, etc. the whole
nine yards).  I've gone through the test perl file and uncommented the
various lines to make the connection "work" and combed through that file 
thoroughly.  Everything appears to be in working order, as I can connect 
to SQL*Plus via command line using my username/password@alias just fine 
(blah/blah@blah, etc..).  I've even run the tests you've given below, and 
it still fails.  Does anyone have any other ideas?  I've been stumped for 
a while now... Any help is greatly appreciated.  Thanks.


						Steve


On Thu, 15 Aug 1996, Philip Kizer wrote:

> 
> Amit Bhati <amit@visi.com> wrote:
> >AIX 4.1.4, Perl 5.003, DBI 0.71, DBD 0.37 - All packages etc.,
> >installed without errors. I have set and exported,
> >
> >ORACLE_HOME=/opt/oracle/7.2.2
> >ORACLE_SID=oradev
> >ORACLE_TERM=vt100
> >ORACLE_USERID=abhati/amit
> 
> Personally, all I ever set are:
>   ORACLE_HOME
>   TNS_ADMIN  (since ours is in a weird location)
>   TWO_TASK
> 
> >But, running 
> >
> >make test
> >aborts and I get a "login failed" error message from Oracle.
> >ora_login: 1034: ORA-01034: ORACLE not available (DBD: login failed)
> 
> Be sure the line in test.pl has the ORs uncommented as such:
> 
> $dbname = $ARGV[0] || $ENV{TWO_TASK} || $ENV{ORACLE_SID} || 'crgs';
> 
> Did you not notice any peculiar output?  Did you do the
> 'make test TEST_VERBOSE=1'?
> 
> 
> >However, I am able to execute the following SQLPLUS statement on my
> >shell prompt, 
> >maui> sqlplus abhati/amit@oradev
> >and it connects successfully to my database.
> >Why does &ora_connect fail?
> 
> Make sure the SQLNet alias can be resolved from the TNS_ADMIN file (if your
> tnsnames.ora is in Oracle's expected location, you won't need to set that
> env var).  Since you can use sqlplus, I would assume it's set correctly but
> so much of what oracle does seems to be in shadows.
> 
> These are what I always use to test basic connectivity when I have trouble
> with DBD-Oracle's 'make test':
> 
> ----------------------------------------------------------------------
> #!/usr/local/bin/perl
> 
> BEGIN {
>   $ENV{'ORACLE_HOME'} = '/opt/oracle';
>   $ENV{'TNS_ADMIN'} = '/opt/oracle/network/admin/tnsnames.ora';
>   $ENV{'TWO_TASK'} = 'test';
> }
> 
> use DBI;
> 
> # Tim, this was your recommended call method for a while, right?  with the
> # future being ODBC, I assume that's why you began re-emphasizing Oraperl
> # emulation mode for the time until ODBC is finished(started:)?
> 
> #                                DBD-Oracle   DBD-Msql
> $dbh = DBI->connect('',        # Database     host, '' for localhost
>                     'scott',   # User         database
>                     'tiger',   # Password     not used
>                     'Oracle',  # Driver
>                     '',        # Optional Attributes
>                     );
> warn "1: Could not open database" unless $dbh;
> $dbh->disconnect;
> 
> #                                DBD-Oracle   DBD-Msql
> $dbh = DBI->connect('test',    # Database     host, '' for localhost
>                     'scott',   # User         database
>                     'tiger',   # Password     not used
>                     'Oracle',  # Driver
>                     '',        # Attributes  (optional)
>                     );
> warn "2: Could not open database" unless $dbh;
> $dbh->disconnect;
> ----------------------------------------------------------------------
> 
> 
> or
> 
> ----------------------------------------------------------------------
> #!/usr/local/bin/perl
> 
> BEGIN {
>   $ENV{'ORACLE_HOME'} = '/opt/oracle';
>   $ENV{'TNS_ADMIN'} = '/opt/oracle/network/admin/tnsnames.ora';
>   $ENV{'TWO_TASK'} = 'oraprd1';
> }
> 
> use Oraperl;
> 
> $lda = &ora_login( '', 'scott', 'tiger' );
> warn "1: Could not open database" unless $lda;
> &ora_logoff($lda);
> 
> $lda = &ora_login( 'oraprd1', 'scott', 'tiger' );
> warn "2: Could not open database" unless $lda;
> &ora_logoff($lda);
> ----------------------------------------------------------------------
> 
> 
> Having installed Term::Readline, etc, I also find it easy to just do a
> 'perl -de 0', and begin typing in trials (some output removed):
> 
> % perl -de 0
>   DB<1> use Oraperl;
>   DB<2> $lda = &ora_login( '', 'scott', 'lion' );  print $lda
> 
>   DB<3> $lda = &ora_login( '', 'scott', 'tiger' ); print $lda
> DBI::db=HASH(0x393940)
>   DB<4> &ora_logoff($lda)
>   DB<5> <Ctrl-d>
> %
> 
> 
> On the (similar) topic of oracle environment vars/etc, here is a message I
> saved from a while ago, does anyone know of cases wher ethe following is
> not true?:
> 
> #<message/rfc822
> Date: Wed, 20 Dec 1995 19:15:19 -0500
> Message-Id: <199512210015.TAA05925@mail1.is.net>
> To: dbi-users@fugue.com
> From: Terry Greenlaw <terry@encompass.is.net>
> Subject: Re: DBD::Oracle failed on make test -- ora_login fail 
> 
> [sql*net info deleted]
> 
> >Finally, on a client, there is an env variable to sort of serve the
> >function of ORACLE_SID for remote connections.  It is TWO_TASK.
> >Thus, this connects me to a remote database:
> >
> >% setenv TWO_TASK T:hostname:ORACLE_SID
> >% sqlplus username/password
> >
> >Note that if you have *both* local and remote databases, and you
> >have ORACLE_SID *and* TWO_TASK set, and you don't specify a fully
> >qualified connect string on the command line, TWO_TASK takes precedence
> >over ORACLE_SID (i.e. you get connected to remote system).
> >
> >Hope this all makes some sense and helps.
> >
> >Mark
> 
> ORACLE_SID is really unnecessary to set since TWO_TASK provides the
> same functionality in addition to allowing remote connections.
> 
> TWO_TASK = P:sid will use the pipe driver for local connections   SQL*Net 1.x
> TWO_TASK = T:machine:sid will use TCP/IP (or D for DECNET, etc.) for remote
>             SQL*Net 1.x conn.
> TWO_TASK = dbname will use the info stored in the SQL*Net 2.x configuration
>             file for local or remote connections.
> 
> ORACLE_HOME can also be left unset if you aren't using any of Oracle's
> executables, but error messages may not display, and the current
> DBD::Oracle generates a warning message (can this be disabled Tim ?).
> 
> I've found discouraging the use of ORACLE_SID makes it easier on the users
> to see what is going on. I just wish that TWO_TASK could be renamed, since
> it makes no sense to the end user, and doesn't have the ORACLE prefix on
> it.
> 
> Hope this doesn't fog the issue at hand too much ;-}
> 
> tog          
> Terry Greenlaw                                           terry@encompass.is.net
> Encompass Technologies
> (770) 591-8903
> #
> ____________________________________________________________ Philip Kizer ___
> Texas A&M CIS Operating Systems Group, Unix ( 409.862.4120 ) pckizer@tamu.edu
> 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07195-10@oink>;
          Sat, 17 Aug 1996 14:09:35 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840225305:28898:4; Fri, 16 Aug 96 20:55:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa27931; 16 Aug 96 20:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA03710 for dbi-users-real; Fri, 16 Aug 1996 09:46:12 -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 JAA03705 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 09:46:10 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id RAA18398; Fri, 16 Aug 1996 17:37:12 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608161637.RAA18398@fruitbat.mcqueen.com>
Subject: Re: Kludged make test failure, Sol2.5
To: cmice@mfg.mke.ab.com (Christopher Ice)
Date: Fri, 16 Aug 1996 17:37:12 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <v03007809ae3a2cfc5fba@[130.151.91.215]> from "Christopher Ice" at Aug 16, 96 08:55:48 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: 292


As Tim said previously, *sigh* read the FAQ.

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

A.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07219-9@oink>;
          Sat, 17 Aug 1996 14:10:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840237470:15792:11; Sat, 17 Aug 96 00:17:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15651; 17 Aug 96 0:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA09967 for dbi-users-real; Fri, 16 Aug 1996 16:06:51 -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 QAA09963 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 16:06:47 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA20366; Fri, 16 Aug 1996 23:58:12 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608162258.XAA20366@fruitbat.mcqueen.com>
Subject: Re: connect failure problem.
To: mueller@enet.net (Steve Mueller)
Date: Fri, 16 Aug 1996 23:58:11 +0100 (BST)
Cc: pckizer@tamu.edu, amit@visi.com, dbi-users@fugue.com
In-Reply-To: <Pine.3.89.9608161232.A15718-0100000@pinyon.enet.net> from "Steve Mueller" at Aug 16, 96 12:09:06 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: 1876


> 	I am having the same problem that Amit is having, on the exact 
> same platform (AIX 4.1.4, etc...).  When I do the 'make test TEST_VERBOSE=1',
> I get a SIGSEGV error when it tries to connect to the database.  My 
> env vars are all set properly (ORACLE_HOME, ...SID, TNS_ADMIN, etc. the whole
> nine yards).  I've gone through the test perl file and uncommented the
> various lines to make the connection "work" and combed through that file 
> thoroughly.  Everything appears to be in working order, as I can connect 
> to SQL*Plus via command line using my username/password@alias just fine 
> (blah/blah@blah, etc..).  I've even run the tests you've given below, and 
> it still fails.  Does anyone have any other ideas?  I've been stumped for 
> a while now... Any help is greatly appreciated.  Thanks.

As it mentions in the README for DBD::Oracle and the FAQ, and probably about
400 previous messages ( can you tell this is pissing me off now? 8-) ),

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

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

You don't provide one. Provide one. Provide the information asked for. 
Provide an example script that fails. Provide! Provide! Provide! 

*flaps arms ineffectually*

It's been a long week.

A.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07219-14@oink>;
          Sat, 17 Aug 1996 14:11:08 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840245783:00696:1; Sat, 17 Aug 96 02:36:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa00372; 17 Aug 96 2:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA11958 for dbi-users-real; Fri, 16 Aug 1996 18:27:27 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from conan.ids.net (bjepson@conan.ids.net [155.212.1.12]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA11954 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 18:27:25 -0700
Received: from localhost (bjepson@localhost) by conan.ids.net (8.7.5/8.7.3) 
          with SMTP id VAA13642; Fri, 16 Aug 1996 21:27:16 -0400 (EDT)
Date: Fri, 16 Aug 1996 21:27:16 -0400 (EDT)
From: Brian Jepson <bjepson@conan.ids.net>
To: Ed James <edjames@migration.com>
cc: reaten@pcii.net, dbi-users@fugue.com
Subject: Re: question/how to
In-Reply-To: <9608161849.AA01869@migration.com>
Message-ID: <Pine.SUN.3.95.960816211947.13200B-100000@conan.ids.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 16 Aug 1996, Ed James wrote:

> > I need a program that will query a Microsoft Access database from the 
> 
> If you have a web server running on the PC with access to the database,
> you can use iodbc.exe, sql.pl and perl5 to present the data to the
> web.
> 
> Some of the pieces required:
> 
> 	http://www.perl.hip.com/		perl5 for win32
> 	ftp://emwac.ed.ac.uk/pub/https/		a http server for win32
> 	ftp://ftp.digex.net/pub/access/psii/	iodbc.exe and sql.pl
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   Actually, as the maintainer of this last item, I would strongly
encourage folks not to use it. Win32::ODBC has been out for a while, and
is based on NT::ODBC. The advantage of the ODBC extensions is that they
provide an extension interface to ODBC directly, and not through the
isqlish hack that I did. Nevertheless, the IODBC.EXE (isql clone) included
with the above distribution is still pretty useful. 

   I also encourage you *not* to use the sql.pl included in that
distribution; it really was an example program that should never have been
written. It allows for arbitrary SQL to be entered, and if you're not
managing use permissions properly, it can create serious problems. The
template.pl that ships with the above distribution is useful, but has the
exact same security hole as Sybase's web.sql, and I've released a new
version of template.pl that fixes the hole (where the rain gets in) and
has been upgraded to work with Win32::ODBC. 

The original distribution is on:

ftp://ntperl.hip.com/contrib/odbc-perl-win32.tar.gz

and the patch is on:

http://www.ids.net/~bjepson/template.html

Regards,

Brian

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07219-16@oink>;
          Sat, 17 Aug 1996 14:11:15 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840252543:05642:2; Sat, 17 Aug 96 04:29:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05588; 17 Aug 96 4:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id UAA13486 for dbi-users-real; Fri, 16 Aug 1996 20:12:03 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mixer.visi.com (amit@mixer.visi.com [204.73.178.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA13482 
          for <dbi-users@fugue.com>; Fri, 16 Aug 1996 20:12:02 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.5/8.7.5) id WAA27255;
          Fri, 16 Aug 1996 22:11:53 -0500 (CDT)
From: Amit Bhati <amit@visi.com>
Posted-Date: Fri, 16 Aug 1996 22:11:53 -0500 (CDT)
Message-Id: <199608170311.WAA27255@mixer.visi.com>
Subject: Re: Oracle connect failure problem in make test.
To: descarte@hermetica.com (Alligator Descartes)
Date: Fri, 16 Aug 1996 22:11:53 -0500 (CDT)
Cc: dbi-users@fugue.com (DBI:DBD Mailing List)
In-Reply-To: <199608162258.XAA20366@fruitbat.mcqueen.com> from "Alligator Descartes" at Aug 16, 96 11:58:11 pm
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

Alligator Descartes writes:
; 
; As it mentions in the README for DBD::Oracle and the FAQ, and
; probably about 400 previous messages ( can you tell this is pissing
; me off now? 8-) ), 
;
; STACK TRACE

What stack trace do you want when 'make test' does not dump core??
Just a login failure. So, maybe you missed my original message. 
Anyhow, I have -

AIX-4.1.4, Perl 5.003, DBD-Oracle-0.37, DBI-0.71, IBM XlC Compiler,
Oracle 7.2.2

"perl Makefile.PL", "make" and "make install" all go without errors. 
"make test" fails when trying to login. Environment variables that
were set appropriately are, 

ORACLE_HOME=/opt/oracle/7.2.2
ORACEL_SID=oradev
ORACEL_TERM=vt100
ORACLE_USERID=abhati/amit

I am able to connect to Oracle using, "sqlplus abhati/amit@oradev"

Output of make test
-------------------

maui[root]/perl/DBD-Oracle-0.37->make test

        PERL_DL_NONLAZY=1 /perl/bin/perl -I./blib/arch -I./blib/lib -I/perl/lib/rs6000/5.003 -I/perl/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
All tests successful.
Files=1,  Tests=5,  1 secs ( 0.48 cusr  0.09 csys =  0.57 cpu)
        PERL_DL_NONLAZY=1 /perl/bin/perl -I./blib/arch -I./blib/lib -I/perl/lib/rs6000/5.003 -I/perl/lib test.pl
Oraperl test application $Revision: 1.21 $

Oraperl Emulation Interface version 1.28 
Oracle Driver 0.37
DBI-0.71 Switch by Tim Bunce, version 0.71

Connecting
 to 'oradev' (from command line, else uses ORACLE_SID/TWO_TASK)
 as 'abhati/amit' (via ORACLE_USERID environment var or default)
ora_login: 1034: ORA-01034: ORACLE not available (DBD: login failed)

ORACLE_SID or TWO_TASK possibly not right, or server not running.

Could not connect to database. Test aborted.
The error code from the last failed command is -1.

Make Quitting.

Output of make install
----------------------

maui[root]/perl/DBD-Oracle-0.37->make install
Installing /perl/lib/site_perl/rs6000/./auto/DBD/Oracle/Oracle.bs
Installing /perl/lib/site_perl/rs6000/./auto/DBD/Oracle/Oracle.so
Installing /perl/lib/site_perl/./DBD/Oracle.pm
Installing /perl/lib/site_perl/./Oraperl.pm
Installing /perl/lib/site_perl/./oraperl.ph
Installing /perl/man/man3/./DBD::Oraperl.3
Writing /perl/lib/site_perl/rs6000/auto/DBD/Oracle/.packlist
Appending installation info to /perl/lib/rs6000/5.003/perllocal.pod
maui[root]/perl/DBD-Oracle-0.37->

Output of make
--------------

maui[root]/perl/DBD-Oracle-0.37->make
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
        /perl/bin/perl "-I/perl/lib/rs6000/5.003" "-I/perl/lib" -e 'use ExtUtils::Mksymlists; \
                Mksymlists("NAME" => "DBD::Oracle", "DL_FUNCS" => {  }, "DL_VARS" => []);'
        /perl/bin/perl -I/perl/lib/rs6000/5.003 -I/perl/lib /perl/lib/ExtUtils/xsubpp  -typemap /perl/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
        cc -c -I/opt/oracle/7.2.2/rdbms/demo -I/perl/lib/site_perl/rs6000/DBI -I/perl/lib/rs6000/5.003/DBI -D_ALL_SOURCE -D_NO_PROTO -O     -DVERSION=\"0.37\"  -DXS_VESION=\"0.37\"  -I/perl/lib/rs6000/5.003/CORE  Oracle.c
        cc -c -I/opt/oracle/7.2.2/rdbms/demo -I/perl/lib/site_perl/rs6000/DBI -I/perl/lib/rs6000/5.003/DBI -D_ALL_SOURCE -D_NO_PROTO -O     -DVERSION=\"0.37\"  -DXS_VRSION=\"0.37\"  -I/perl/lib/rs6000/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
        LD_RUN_PATH="/opt/oracle/7.2.2/lib:/lib" ld -o ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE -bI:/perl/lib/rs6000/5.003/CORE/perl.exp -bE:Oracle.exp -e _nostart -lc -L/usr/local/lib Oracle.o  dbdimp.o /opt/oracle/7.2.2/lib/osntab.o /lib/crt0.o -bI:/opt/oracle/7.2.2/lib/mili.exp    -L/opt/oracle/7.2.2/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lm -lld -lm -lc 
        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
maui[root]/perl/DBD-Oracle-0.37->

Output of perl Makefile.PL
--------------------------

maui[root]/perl/DBD-Oracle-0.37->/perl/bin/perl Makefile.PL

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!

Using Oracle in /opt/oracle/7.2.2
Using /opt/oracle/7.2.2/proc/lib/proc.mk (version 1.7)
System: perl5.003 aix maui 2 3 000107544800 
Compiler: cc -O -D_ALL_SOURCE -D_NO_PROTO
Linker:   /usr/bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       oraxlc
  CFLAGS:   -I. -O
  LDFLAGS:  -L$(LIBHOME)
Linking with /opt/oracle/7.2.2/lib/osntab.o /lib/crt0.o -bI:/opt/oracle/7.2.2/lib/mili.exp -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lm -lld -lm   -lc 

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
maui[root]/perl/DBD-Oracle-0.37->
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <13575-2@oink>;
          Mon, 19 Aug 1996 07:36:00 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840399709:26800:1; Sun, 18 Aug 96 21:21:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa26340; 18 Aug 96 21:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA14381 for dbi-users-real; Sun, 18 Aug 1996 12:59:50 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from noc.belwue.de (root@noc.BelWue.DE [129.143.2.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA14377 
          for <dbi-users@fugue.com>; Sun, 18 Aug 1996 12:59:47 -0700
Received: from diogenes.architektur.uni-stuttgart.de (diogenes.architektur.uni-stuttgart.de [141.58.140.30]) 
          by noc.belwue.de with SMTP id VAA24831 (8.6.13/IDA-1.6 
          for <dbi-users@fugue.com>); Sun, 18 Aug 1996 21:59:35 +0200
Received: by diogenes.architektur.uni-stuttgart.de (4.1/BelWue-1.1S(subsidiary)) 
          id AA20210; Sun, 18 Aug 96 21:59:35 +0200
Date: Sun, 18 Aug 1996 21:59:34 +0200 (MET DST)
From: Georg Moritz <gm%diogenes@diogenes.architektur.uni-stuttgart.de>
To: dbi-users@fugue.com
Subject: unsubscribe
Message-Id: <Pine.SUN.3.91.960818215843.20205A@diogenes>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16959-0@oink>;
          Mon, 19 Aug 1996 13:23:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840452979:11814:3; Mon, 19 Aug 96 12:09:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11583; 19 Aug 96 12:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA28068 for dbi-users-real; Mon, 19 Aug 1996 03:59:51 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id DAA28064 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 03:59:50 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id aa10525; 19 Aug 96 11:55 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa02872; 19 Aug 96 11:55 +0100
Received: from toad by oink with SMTP (PP) id <16072-0@oink>;
          Mon, 19 Aug 1996 11:44:53 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11297;
          Mon, 19 Aug 1996 11:44:47 +0000
Date: Mon, 19 Aug 1996 11:44:47 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608191044.AA11297@toad.ig.co.uk>
To: descarte@hermetica.com, amit@visi.com
Subject: Re: Oracle connect failure problem in make test.
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 611
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Amit Bhati <amit@visi.com>

Note that

> ORACEL_SID=oradev
> ORACLE_USERID=abhati/amit

(ignoring the spelling of ORACEL_SID) is _not_ the same as

> I am able to connect to Oracle using, "sqlplus abhati/amit@oradev"

but rather

	sqlplus abhati/amit

with ORACLE_SID or TWO_TASK read from the environment.

> Connecting
>  to 'oradev' (from command line, else uses ORACLE_SID/TWO_TASK)
>  as 'abhati/amit' (via ORACLE_USERID environment var or default)
> ora_login: 1034: ORA-01034: ORACLE not available (DBD: login failed)
> 
> ORACLE_SID or TWO_TASK possibly not right, or server not running.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16959-2@oink>;
          Mon, 19 Aug 1996 13:23:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840455673:08912:0; Mon, 19 Aug 96 12:54:33 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa08680; 19 Aug 96 12:54 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa21593; 19 Aug 96 12:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA28756 for dbi-users-real; Mon, 19 Aug 1996 04:45:58 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA28746 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 04:45:55 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id aa10430; 19 Aug 96 11:55 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad02872; 19 Aug 96 11:55 +0100
Received: from toad by oink with SMTP (PP) id <16021-0@oink>;
          Mon, 19 Aug 1996 11:24:17 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11249;
          Mon, 19 Aug 1996 11:24:12 +0000
Date: Mon, 19 Aug 1996 11:24:12 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608191024.AA11249@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: problems with Oraperl
X-Sun-Charset: US-ASCII
content-length: 2710
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From rnichols@mailserv.metro.mci.com  Sat Aug 17 14:17:02 1996
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
Original-Received: by NeXT.Mailer (1.118.2)
Pp-Warning: Illegal Received field on preceding line
From: Robert Nicholson <rnichols@mailserv.metro.mci.com>
Date: Fri, 16 Aug 96 16:36:54 -0400
To: Tim.Bunce@ig.co.uk
Subject: problems with Oraperl
Reply-To: steffi@dgs.dgsys.com

Tim, do you see anything obviously wrong here?

#! /users/rnichols/bin/perl

use Oraperl;

$ora_debug = 2;

$lda = &ora_login('CUSC', 'cuscare', 'cuscare') || die $ora_errstr;

$csr = &ora_open($lda, "select * from tab");

%hash = ();

while (($tablename, $tabletype) = &ora_fetch($csr)) {

        $hash{$tablename} = $tabletype;

        print "$tablename, $tabletype\n";

        &updateCount($tablename);
}

ora_close($csr);

print keys %hash;
print values %hash;

print "\n";

sub updateCount
{
        $tablename = $_[0];

        $usr = &ora_open($lda, "select count(*) from $tablename");
        while (($count) = &ora_fetch($usr)) {
                print "$count;\n";
        }
        &ora_close($usr);
}

1000)rnichols@galhp2:/users/rnichols/server > ./check.pl
ADDRESS, SYNONYM
33190;
CALL, SYNONYM
1672;
CALLER, SYNONYM
1612;
CALLER_TYPE_DEC, SYNONYM
4;
CC_ADDRESS, SYNONYM
1612;
CIS_ADDR_TABLE_V1, SYNONYM
fetchrow: handle  is not a hash reference at ./check.pl line 34.

	CIS_ADDR_TABLE_V1 is actually a database link.

Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=hpux, osver=10, archname=PA-RISC1.1
    uname='hp-ux galhp2 b.10.01 a 9000891 300339271 two-user license '
    hint=recommended, useposix=true
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_HPUX_SOURCE -Aa'
    ccflags ='-D_HPUX_SOURCE -Aa'
    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=/usr/local/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/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: /opt/perl5/lib/PA-RISC1.1/5.002 /opt/perl5/lib  
/opt/perl5/lib/site_perl/PA-RISC1.1 /opt/perl5/lib/site_perl .

-rw-r-----   1 rnichols users      47534 Aug 16 13:32  
../archives/DBD-Oracle-0.37.tar.gz
-rw-r-----   1 rnichols users      35347 Aug 16 13:32  
../archives/DBI-0.71.tar.gz

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

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16959-4@oink>;
          Mon, 19 Aug 1996 13:23:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840455747:09744:2; Mon, 19 Aug 96 12:55:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08974; 19 Aug 96 12:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA28788 for dbi-users-real; Mon, 19 Aug 1996 04:48:11 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA28784 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 04:48:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id ab10359; 19 Aug 96 11:55 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab02872; 19 Aug 96 11:54 +0100
Received: from toad by oink with SMTP (PP) id <15993-0@oink>;
          Mon, 19 Aug 1996 11:18:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11239;
          Mon, 19 Aug 1996 11:18:51 +0000
Date: Mon, 19 Aug 1996 11:18:51 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608191018.AA11239@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: No coincidence.
Cc: rnichols@mailserv.metro.mci.com
MMDF-Warning: Unable to confirm address in preceding line at 
              mail-1.mail.demon.net
X-Sun-Charset: US-ASCII
content-length: 1717
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Forwarded to dbi-users (where it should habe been sent anyway) without being
read because it had no sane subject line or body text. I get _lot's_ of mail
and I just don't have time for such ill considered mail. Sorry.

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

From rnichols@mailserv.metro.mci.com  Sat Aug 17 14:16:58 1996
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
Original-Received: by NeXT.Mailer (1.118.2)
Pp-Warning: Illegal Received field on preceding line
From: Robert Nicholson <rnichols@mailserv.metro.mci.com>
Date: Fri, 16 Aug 96 17:03:36 -0400
To: Tim.Bunce@ig.co.uk
Subject: No coincidence.
Reply-To: steffi@dgs.dgsys.com

I don't think this is any coicidence :-)

As you can see I still tend to use " instead of '

$ora_debug = 2;

$lda = &ora_login('CUSC', 'cuscare', 'cuscare') || die $ora_errstr;

$csr = &ora_open($lda, 'select * from tab');

%hash = ();

updateCount("CIS_ADDR_TABLE_V1");

while (($tablename, $tabletype) = &ora_fetch($csr)) {
        $hash{$tablename} = $tabletype;
        print "$tablename, $tabletype\n";
        &updateCount($tablename);
}

ora_close($csr);

print keys %hash;
print values %hash;

print "\n";

sub updateCount
{
        $tablename = $_[0];

        $usr = &ora_open($lda, "select count(*) from $tablename");
        while (($count) = &ora_fetch($usr)) {
                print "$count;\n";
        }
        &ora_close($usr);
}
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"check.pl" 37 lines, 629 characters
(1063)rnichols@galhp2:/users/rnichols/server > ./check.pl
fetchrow: handle  is not a hash reference at ./check.pl line 33.
(1064)rnichols@galhp2:/users/rnichols/server >

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

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <17015-0@oink>;
          Mon, 19 Aug 1996 13:32:49 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840457914:27734:2; Mon, 19 Aug 96 13:31:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa27458; 19 Aug 96 13:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id FAA29308 for dbi-users-real; Mon, 19 Aug 1996 05:23:25 -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 FAA29297 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 05:22:54 -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 NAA04459;
          Mon, 19 Aug 1996 13:19:13 +0100
Date: Mon, 19 Aug 1996 13:19:12 +0100
Message-Id: <26228.199608191219@bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk>
From: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
To: steffi@dgs.dgsys.com
CC: dbi-users@fugue.com
In-reply-to: <9608191024.AA11249@toad.ig.co.uk> (message from Tim Bunce on Mon, 19 Aug 1996 11:24:12 +0000)
Subject: Re: problems with Oraperl
Reply-to: agw@mail.nerc-bas.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII


    > Forwarded to dbi-users.  ----- Begin Included Message -----

    > From rnichols@mailserv.metro.mci.com Sat Aug 17 14:17:02 1996
    > Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3
    > v118.2) Original-Received: by NeXT.Mailer (1.118.2) Pp-Warning:
    > Illegal Received field on preceding line From: Robert Nicholson
    > <rnichols@mailserv.metro.mci.com> Date: Fri, 16 Aug 96 16:36:54
    > -0400 To: Tim.Bunce@ig.co.uk Subject: problems with Oraperl
    > Reply-To: steffi@dgs.dgsys.com

    > Tim, do you see anything obviously wrong here?

    > #! /users/rnichols/bin/perl

    > use Oraperl;

    > $ora_debug = 2;

    > $lda = &ora_login('CUSC', 'cuscare', 'cuscare') || die
    > $ora_errstr;

    > $csr = &ora_open($lda, "select * from tab");

    > %hash = ();

    > while (($tablename, $tabletype) = &ora_fetch($csr)) {

Is this related to the fact that the fetch on "tab" could send up to
three fields?

SQL> desc tab
 Name                            Null?    Type
 ------------------------------- -------- ----
 TNAME                           NOT NULL VARCHAR2(30)
 TABTYPE                                  VARCHAR2(7)
 CLUSTERID                                NUMBER

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 <17914-3@oink>;
          Mon, 19 Aug 1996 16:28:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840463360:00252:0; Mon, 19 Aug 96 15:02:40 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa29835; 19 Aug 96 15:02 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa16743; 19 Aug 96 15:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id GAA00709 for dbi-users-real; Mon, 19 Aug 1996 06:51:19 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from DGS.dgsys.com (root@dgs.dgsys.com [204.97.64.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA00705 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 06:51:17 -0700
Received: from DGS (dgs.dgsys.com) by DGS.dgsys.com (5.0/SMI-SVR4) id AA24786;
          Mon, 19 Aug 1996 09:47:54 -0400
Date: Mon, 19 Aug 1996 09:47:53 -0400 (EDT)
From: Robert Nicholson <steffi@dgs.dgsys.com>
X-Sender: steffi@DGS
To: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
Cc: steffi@dgs.dgsys.com, dbi-users@fugue.com
Subject: Re: problems with Oraperl
In-Reply-To: <26228.199608191219@bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk>
Message-Id: <Pine.SOL.3.94.960819094721.24645A-100000@DGS>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
content-length: 2016

Actually folks, this problem was my problem and Oraperl performed
fllawlessly.

Basically the links were unresolvable.

On Mon, 19 Aug 1996, Andrew G Wood wrote:

> 
>     > Forwarded to dbi-users.  ----- Begin Included Message -----
> 
>     > From rnichols@mailserv.metro.mci.com Sat Aug 17 14:17:02 1996
>     > Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3
>     > v118.2) Original-Received: by NeXT.Mailer (1.118.2) Pp-Warning:
>     > Illegal Received field on preceding line From: Robert Nicholson
>     > <rnichols@mailserv.metro.mci.com> Date: Fri, 16 Aug 96 16:36:54
>     > -0400 To: Tim.Bunce@ig.co.uk Subject: problems with Oraperl
>     > Reply-To: steffi@dgs.dgsys.com
> 
>     > Tim, do you see anything obviously wrong here?
> 
>     > #! /users/rnichols/bin/perl
> 
>     > use Oraperl;
> 
>     > $ora_debug = 2;
> 
>     > $lda = &ora_login('CUSC', 'cuscare', 'cuscare') || die
>     > $ora_errstr;
> 
>     > $csr = &ora_open($lda, "select * from tab");
> 
>     > %hash = ();
> 
>     > while (($tablename, $tabletype) = &ora_fetch($csr)) {
> 
> Is this related to the fact that the fetch on "tab" could send up to
> three fields?
> 
> SQL> desc tab
>  Name                            Null?    Type
>  ------------------------------- -------- ----
>  TNAME                           NOT NULL VARCHAR2(30)
>  TABTYPE                                  VARCHAR2(7)
>  CLUSTERID                                NUMBER
> 
> 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 <18249-0@oink>;
          Mon, 19 Aug 1996 16:53:33 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840469798:00173:2; Mon, 19 Aug 96 16:49:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29550; 19 Aug 96 16:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id IAA02153 for dbi-users-real; Mon, 19 Aug 1996 08:39:13 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mixer.visi.com (amit@mixer.visi.com [204.73.178.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA02149 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 08:39:08 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.5/8.7.5) id KAA23678 
          for dbi-users@fugue.com; Mon, 19 Aug 1996 10:38:56 -0500 (CDT)
From: Amit Bhati <amit@visi.com>
Posted-Date: Mon, 19 Aug 1996 10:38:56 -0500 (CDT)
Message-Id: <199608191538.KAA23678@mixer.visi.com>
Subject: Re: Oracle connect failure problem in make test.
To: dbi-users@fugue.com (DBI:DBD Mailing List)
Date: Mon, 19 Aug 1996 10:38:56 -0500 (CDT)
In-Reply-To: <9608191044.AA11297@toad.ig.co.uk> from "Tim Bunce" at Aug 19, 96 11:44:47 am
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

Tim Bunce writes:
; 
; Note that
; 
; > ORACEL_SID=oradev
; > ORACLE_USERID=abhati/amit
; 
; (ignoring the spelling of ORACEL_SID) is _not_ the same as
; 
; > I am able to connect to Oracle using, "sqlplus abhati/amit@oradev"
; 
; but rather
; 
; 	sqlplus abhati/amit
; 
; with ORACLE_SID or TWO_TASK read from the environment.

The ORACEL was just a typo in the email message. I checked my
environment. It seems you mean that;
	export ORACLE_SID=oradev
	sqlplus abhati/amit
should pick up ORACLE_SID and do the correct connection. Interestingly
I got an error! 
 
SQL*Plus: Release 3.2.2.0.0 - Production on Mon Aug 19 10:02:25 1996
 
Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
 
ERROR: ORA-01034: ORACLE not available
ORA-07429: smsgsg: shmget() failed to get segment.
IBM AIX RISC System/6000 Error: 2: No such file or directory
 
So, I am onto something... Thanks for the help. But whats the
difference!?? Humm...

amit
--

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <18900-1@oink>;
          Mon, 19 Aug 1996 18:25:43 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840475420:29702:2; Mon, 19 Aug 96 18:23:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa28846; 19 Aug 96 18:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA03392 for dbi-users-real; Mon, 19 Aug 1996 10:14:15 -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 KAA03388 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 10:14:11 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id SAA03610; Mon, 19 Aug 1996 18:05:48 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608191705.SAA03610@fruitbat.mcqueen.com>
Subject: Re: Oracle connect failure problem in make test.
To: amit@visi.com (Amit Bhati)
Date: Mon, 19 Aug 1996 18:05:47 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199608191538.KAA23678@mixer.visi.com> from "Amit Bhati" at Aug 19, 96 10:38:56 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: 877


> The ORACEL was just a typo in the email message. I checked my
> environment. It seems you mean that;
> 	export ORACLE_SID=oradev
> 	sqlplus abhati/amit
> should pick up ORACLE_SID and do the correct connection. Interestingly
> I got an error! 
>  
> SQL*Plus: Release 3.2.2.0.0 - Production on Mon Aug 19 10:02:25 1996
>  
> Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
>  
> ERROR: ORA-01034: ORACLE not available
> ORA-07429: smsgsg: shmget() failed to get segment.
> IBM AIX RISC System/6000 Error: 2: No such file or directory
>  
> So, I am onto something... Thanks for the help. But whats the
> difference!?? Humm...

Try:

	oerr ora 7429

> amit

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19639-1@oink>;
          Mon, 19 Aug 1996 20:33:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840479418:25633:2; Mon, 19 Aug 96 19:30:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24928; 19 Aug 96 19:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA04547 for dbi-users-real; Mon, 19 Aug 1996 11:22:28 -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 LAA04543 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 11:22:26 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id al21861; 19 Aug 96 18:15 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa14338; 19 Aug 96 18:46 +0100
Received: from toad by oink with SMTP (PP) id <19213-0@oink>;
          Mon, 19 Aug 1996 18:44:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA12445;
          Mon, 19 Aug 1996 18:44:04 +0000
Date: Mon, 19 Aug 1996 18:44:04 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608191744.AA12445@toad.ig.co.uk>
To: amit@visi.com, descarte@hermetica.com
Subject: Re: Oracle connect failure problem in make test.
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 883
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > The ORACEL was just a typo in the email message. I checked my
> > environment. It seems you mean that;
> > 	export ORACLE_SID=oradev
> > 	sqlplus abhati/amit
> > should pick up ORACLE_SID and do the correct connection. Interestingly
> > I got an error! 
> >  
> > SQL*Plus: Release 3.2.2.0.0 - Production on Mon Aug 19 10:02:25 1996
> >  
> > Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
> >  
> > ERROR: ORA-01034: ORACLE not available
> > ORA-07429: smsgsg: shmget() failed to get segment.
> > IBM AIX RISC System/6000 Error: 2: No such file or directory
> >  
> > So, I am onto something... Thanks for the help. But whats the
> > difference!?? Humm...
> 
> Try:
> 
> 	oerr ora 7429

Useful tip in general but probably not here (sadly).

You probably want to set TWO_TASK and not ORACLE_SID.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19639-3@oink>;
          Mon, 19 Aug 1996 20:33:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840479871:01131:3; Mon, 19 Aug 96 19:37:51 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa00716; 19 Aug 96 19:37 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa08756; 19 Aug 96 19:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA04660 for dbi-users-real; Mon, 19 Aug 1996 11:30:21 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from hahpwww.ha.osd.mil (hahpwww.ha.osd.mil [164.65.64.33]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA04656 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 11:30:20 -0700
Received: from hahpwww (hahpwww.ha.osd.mil) by hahpwww.ha.osd.mil 
          with SMTP (1.39.111.2/16.2) id AA138509459;
          Mon, 19 Aug 1996 14:30:59 -0400
Message-Id: <3218B2E2.CA9@hahpwww.ha.osd.mil>
Date: Mon, 19 Aug 1996 14:30:58 -0400
From: Informix DBA <informix@hahpwww.ha.osd.mil>
Organization: Dynamic Resources Inc.
X-Mailer: Mozilla 3.0b6Gold (X11; I; HP-UX B.10.10 9000/831)
Mime-Version: 1.0
To: dbi-users@fugue.com
Cc: shivp@ha.osd.mil
Subject: unix question
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi dbi-users,

I have a unix question. I want to automate telnet and ftp sessions using
perl script. For eg. I would like to have a script that does 'ftp' into
a given site and download/push files, given the filename(s). It should
be able to perform the ftp commannds like 'login', enter the 'password',
'cd' into a directory, 'prompt' for switching off the prompting question
and perform 'mput *'. I can have all the input required from the
keyboard stored in a file and just feed that as 'input' to the perl
script.

Do you think we can achieve this?

Thanks in advance.

shivp

shivp@ha.osd.mil
informix@hahpwww.ha.osd.mil
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20165-0@oink>;
          Mon, 19 Aug 1996 23:05:40 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840484472:16192:5; Mon, 19 Aug 96 20:54:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa16010; 19 Aug 96 20:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA05825 for dbi-users-real; Mon, 19 Aug 1996 12:42: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 MAA05820 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 12:42:24 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id aa10936; 19 Aug 96 19:42 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa01292; 19 Aug 96 20:41 +0100
Received: from toad by oink with SMTP (PP) id <19875-0@oink>;
          Mon, 19 Aug 1996 20:41:23 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA12765;
          Mon, 19 Aug 1996 20:41:16 +0000
Date: Mon, 19 Aug 1996 20:41:16 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608191941.AA12765@toad.ig.co.uk>
To: dbi-users@fugue.com, informix@hahpwww.ha.osd.mil
Subject: Re: unix question
Cc: shivp@ha.osd.mil
X-Sun-Charset: US-ASCII
content-length: 1008
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Informix DBA <informix@hahpwww.ha.osd.mil>
> 
> Hi dbi-users,
> 
> I have a unix question. I want to automate telnet and ftp sessions using
> perl script. For eg. I would like to have a script that does 'ftp' into
> a given site and download/push files, given the filename(s). It should
> be able to perform the ftp commannds like 'login', enter the 'password',
> 'cd' into a directory, 'prompt' for switching off the prompting question
> and perform 'mput *'. I can have all the input required from the
> keyboard stored in a file and just feed that as 'input' to the perl
> script.
> 
> Do you think we can achieve this?
> 
> Thanks in advance.
> 
> shivp
> 
> shivp@ha.osd.mil
> informix@hahpwww.ha.osd.mil

Sigh.

Don't you think it's rather rude to send inappropriate mail to a mailing
list? Sure, many people here could help you but you are being selfish
by abusing _everyones_ time just to save yourself a little.

It would not be quite so bad if the question was _remotely_ difficult.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20891-1@oink>;
          Tue, 20 Aug 1996 03:24:37 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840494671:17909:3; Mon, 19 Aug 96 23:44:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa17257; 19 Aug 96 23:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA07709 for dbi-users-real; Mon, 19 Aug 1996 14:45:13 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mixer.visi.com (amit@mixer.visi.com [204.73.178.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA07705 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 14:45:12 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.5/8.7.5) id QAA02265;
          Mon, 19 Aug 1996 16:45:08 -0500 (CDT)
From: Amit Bhati <amit@visi.com>
Posted-Date: Mon, 19 Aug 1996 16:45:08 -0500 (CDT)
Message-Id: <199608192145.QAA02265@mixer.visi.com>
Subject: Re: connect problem... Finally!
To: dbi-users@fugue.com (DBI:DBD Mailing List)
Date: Mon, 19 Aug 1996 16:45:08 -0500 (CDT)
Cc: Tim.Bunce@ig.co.uk
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

Ok, I may finally be making some progress. I am appending Tim Irvin's
reply to my news post on comp.databases.oracle asking for help on why,
	export ORACLE_SID=oradev
	sqlplus abhati/amit
was failing but,
	sqlplus abhati/amit@oradev 
was successfull. Tim I. is of the opinion that with SQL*Net V2 it is
*required* to have the latter syntax, as above. ONLY if the database
instance resides on the "local host" can you do the former, where the
instance name is picked up from ORACLE_SID.

Can Alligator, Tim and any others confirm this? If it is true we may
have resolved the cause of the problem. (And it may require changing
the way Oraperl tries to connect etc...). 

But, I have my doubts, because, if it is true then none of you have
SQL*Net V2... and somehow, I cant believe I am the first one with V2
who is also trying to use Oraperl.  But could be...

Please read his response below and confirm, deny or expound.

amit
--

From irvin@lmsc.lockheed.com Mon Aug 19 16:30:02 CDT 1996
Article: 88227 of comp.databases.oracle
From: irvin@lmsc.lockheed.com (Tim Irvin)
Newsgroups: comp.databases.oracle
Subject: Re: [Help] ORA-07429: smsgsg: shmget() failed to get segment.
Date: Mon, 19 Aug 1996 13:38:55 -0700
Organization: Lockheed Martin Missiles and Space
Lines: 40
Message-ID: <irvin-1908961338550001@butch.lmsc.lockheed.com>
References: <4va3uh$dgs@darla.visi.com>
NNTP-Posting-Host: 129.197.64.132
X-Newsreader: Yet Another NewsWatcher 2.2.0b7

In article <4va3uh$dgs@darla.visi.com>, amit@visi.com (Amit Bhati) wrote:

[snip]

> Trying to logon using the following SQL*Plus command fails,
>         maui> sqlplus abhati/amit
> 
>  
> SQL*Plus: Release 3.2.2.0.0 - Production on Mon Aug 19 10:53:59 1996
>  
> Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
>  
> ERROR: ORA-01034: ORACLE not available
> ORA-07429: smsgsg: shmget() failed to get segment.
> IBM AIX RISC System/6000 Error: 2: No such file or directory
>  
> Enter user-name:
> 
> Now, I am able to logon using,
>         maui> sqlplus abhati/amit@oradev 
> It seems to me that "sqlplus abhati/amit" should pick up the value in
> ORACLE_SID and connect appropriately.  What is set incorrectly or
> missing from the setup on my machine? Any help greatly appreciated.

This is just the way it goes.  With SQL*Net V2, connecting to a remote
machine "requires" the "@dbname" suffix to the end of a login.  If
you're logging into the local host (where the database resides
physically), you don't need the suffix and you'll default to
connecting to the database specified by $ORACLE_SID.  (Assuming, of
course, that $ORACLE_SID is defined in your environment.)

This is the same behavior as we see with Oracle 7.2.3 under HP-UX 9.01
and, as far as I've been able to discern with our "resident" Oracle
consultants, this is just how things go.

-- 
Tim Irvin, HP-UX System Administrator / Oracle DBA
Lockheed Martin Missiles and Space, Sunnyvale, California
e-mail: irvin@lmsc.lockheed.com    voice:  (408) 742-0440
************ all standard disclaimers apply ************

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22141-0@oink>;
          Tue, 20 Aug 1996 07:35:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840516147:17934:3; Tue, 20 Aug 96 05:42:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17695; 20 Aug 96 5:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA13637 for dbi-users-real; Mon, 19 Aug 1996 21:32:03 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gonzo.tamu.edu (gonzo.tamu.edu [165.91.72.200]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA13633 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 21:32:01 -0700
Received: from gonzo.tamu.edu (localhost [127.0.0.1]) 
          by gonzo.tamu.edu (8.7.5/8.7.5) with ESMTP id XAA27822;
          Mon, 19 Aug 1996 23:31:53 -0500 (CDT)
From: pckizer@tamu.edu (Philip Kizer)
To: Amit Bhati <amit@visi.com>
cc: dbi-users@fugue.com (DBI:DBD Mailing List)
Subject: Re: connect problem... Finally!
Reply-To: pckizer@tamu.edu
X-Office: 326E Teague
X-Office-Phone: 409.862.4120
X-Organization: TAMU CIS Operating Systems Group, Unix
X-Pgp-Key: Get key 0x11989061 by sending message with subject: "get pgp key"
X-Url: http://gonzo.tamu.edu/
X-Reposting-Policy: redistribute only with permission
X-Face: _B<mzj1U/]zP}h)]5#BSta@y22b`"<mJtYKCPN{4BF^@S<[rOZL*pyXkh3jeqjeJHJrb%ld 
        f'dU)hBy9
In-reply-to: Your message of "Mon, 19 Aug 1996 16:45:08 CDT." <199608192145.QAA02265@mixer.visi.com>
Date: Mon, 19 Aug 1996 23:31:53 -0500
Message-ID: <27820.840515513@gonzo.tamu.edu>


Amit Bhati <amit@visi.com> wrote:
>Ok, I may finally be making some progress. I am appending Tim Irvin's
>reply to my news post on comp.databases.oracle asking for help on why,
>	export ORACLE_SID=oradev
>	sqlplus abhati/amit
>was failing but,
>	sqlplus abhati/amit@oradev 
>was successfull. Tim I. is of the opinion that with SQL*Net V2 it is
>*required* to have the latter syntax, as above. ONLY if the database
>instance resides on the "local host" can you do the former, where the
>instance name is picked up from ORACLE_SID.

Sounds about right, that's why you have to set TWO_TASK instead of
ORACLE_SID for SQL*Net connections.  Everything started working for
me once I found out about that variable.


>But, I have my doubts, because, if it is true then none of you have
>SQL*Net V2... and somehow, I cant believe I am the first one with V2
>who is also trying to use Oraperl.  But could be...

Well, since it seems some are using oracle 7.3.x, it should be guaranteed
they are using SQL*Net V2 as V1 wasn't supposed to be supported after 7.2.

As I quoted before:

From: Terry Greenlaw <terry@encompass.is.net>
Subject: Re: DBD::Oracle failed on make test -- ora_login fail 

[ ... ]
ORACLE_SID is really unnecessary to set since TWO_TASK provides the
same functionality in addition to allowing remote connections.

TWO_TASK = P:sid will use the pipe driver for local connections
TWO_TASK = T:machine:sid will use TCP/IP (or D for DECNET, etc.) for remote
            SQL*Net 1.x conn.
TWO_TASK = dbname will use the info stored in the SQL*Net 2.x configuration
            file for local or remote connections.


If anyone has any evidence that this is not the case, please let me (us)
know; similarly, let me know if anyone can confirm this info.


-philip

____________________________________________________________ Philip Kizer ___
Texas A&M CIS Operating Systems Group, Unix ( 409.862.4120 ) pckizer@tamu.edu
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22141-4@oink>;
          Tue, 20 Aug 1996 07:36:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840518657:03087:1; Tue, 20 Aug 96 06:24:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02782; 20 Aug 96 6:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id WAA14318 for dbi-users-real; Mon, 19 Aug 1996 22:15:57 -0700
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 WAA14314 
          for <dbi-users@fugue.com>; Mon, 19 Aug 1996 22:15:55 -0700
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id WAA01180; Mon, 19 Aug 1996 22:15:50 -0700
Message-Id: <199608200515.WAA01180@voro.lbl.gov>
X-Mailer: exmh version 1.6.2 7/18/95
To: Amit Bhati <amit@visi.com>
cc: dbi-users@fugue.com (DBI:DBD Mailing List), Tim.Bunce@ig.co.uk
Subject: Re: connect problem... Finally!
In-reply-to: Your message of "Mon, 19 Aug 1996 16:45:08 CDT." <199608192145.QAA02265@mixer.visi.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 19 Aug 1996 22:15:50 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>


> Ok, I may finally be making some progress. I am appending Tim Irvin's
> reply to my news post on comp.databases.oracle asking for help on why,
> 	export ORACLE_SID=oradev
> 	sqlplus abhati/amit
> was failing but,
> 	sqlplus abhati/amit@oradev 
> was successfull. Tim I. is of the opinion that with SQL*Net V2 it is
> *required* to have the latter syntax, as above. ONLY if the database
> instance resides on the "local host" can you do the former, where the
> instance name is picked up from ORACLE_SID.
> 
> Can Alligator, Tim and any others confirm this? If it is true we may
> have resolved the cause of the problem. (And it may require changing
> the way Oraperl tries to connect etc...). 
> 
> But, I have my doubts, because, if it is true then none of you have
> SQL*Net V2... and somehow, I cant believe I am the first one with V2
> who is also trying to use Oraperl.  But could be...
> 
> Please read his response below and confirm, deny or expound.
> 
> amit
> --
> 
> From irvin@lmsc.lockheed.com Mon Aug 19 16:30:02 CDT 1996
> Article: 88227 of comp.databases.oracle
> From: irvin@lmsc.lockheed.com (Tim Irvin)
> Newsgroups: comp.databases.oracle
> Subject: Re: [Help] ORA-07429: smsgsg: shmget() failed to get segment.
> Date: Mon, 19 Aug 1996 13:38:55 -0700
> Organization: Lockheed Martin Missiles and Space
> Lines: 40
> Message-ID: <irvin-1908961338550001@butch.lmsc.lockheed.com>
> References: <4va3uh$dgs@darla.visi.com>
> NNTP-Posting-Host: 129.197.64.132
> X-Newsreader: Yet Another NewsWatcher 2.2.0b7
> 
> In article <4va3uh$dgs@darla.visi.com>, amit@visi.com (Amit Bhati) wrote:
> 
> [snip]
> 
> > Trying to logon using the following SQL*Plus command fails,
> >         maui> sqlplus abhati/amit
> > 
> >  
> > SQL*Plus: Release 3.2.2.0.0 - Production on Mon Aug 19 10:53:59 1996
> >  
> > Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
> >  
> > ERROR: ORA-01034: ORACLE not available
> > ORA-07429: smsgsg: shmget() failed to get segment.
> > IBM AIX RISC System/6000 Error: 2: No such file or directory
> >  
> > Enter user-name:
> > 
> > Now, I am able to logon using,
> >         maui> sqlplus abhati/amit@oradev 
> > It seems to me that "sqlplus abhati/amit" should pick up the value in
> > ORACLE_SID and connect appropriately.  What is set incorrectly or
> > missing from the setup on my machine? Any help greatly appreciated.
> 
> This is just the way it goes.  With SQL*Net V2, connecting to a remote
> machine "requires" the "@dbname" suffix to the end of a login.  If
> you're logging into the local host (where the database resides
> physically), you don't need the suffix and you'll default to
> connecting to the database specified by $ORACLE_SID.  (Assuming, of
> course, that $ORACLE_SID is defined in your environment.)
> 
> This is the same behavior as we see with Oracle 7.2.3 under HP-UX 9.01
> and, as far as I've been able to discern with our "resident" Oracle
> consultants, this is just how things go.
> 
> -- 
> Tim Irvin, HP-UX System Administrator / Oracle DBA
> Lockheed Martin Missiles and Space, Sunnyvale, California
> e-mail: irvin@lmsc.lockheed.com    voice:  (408) 742-0440
> ************ all standard disclaimers apply ************
> 

Amit,

The message from Tim Irvin is essentially correct.  Without
a connect string (@db_alias) following the user/pass, the 
behavior of Oracle is:

   1) check TWO_TASK for connect string, else
   2) connect via ORACLE_SID to a local database

If ORACLE_SID (and correct ORACLE_SID) does not match a running
database on the local machine when there is not @db_alias and
no TWO_TASK env var, you'll get the semget error.

Note that this behavior is in no way unique to DBI; it is the
same for all Oracle client programs (whether from Oracle Corp.,
or elsewhere (linked with Oracle libraries)).  To better understand
the behavior, you should read the Oracle docs, e.g. "Understanding
SQL*NET", et. al.

Mark

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24608-3@oink>;
          Tue, 20 Aug 1996 18:01:50 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840559409:14220:1; Tue, 20 Aug 96 17:43:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa13692; 20 Aug 96 17:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA23633 for dbi-users-real; Tue, 20 Aug 1996 09:23:17 -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 JAA23629 
          for <dbi-users@fugue.com>; Tue, 20 Aug 1996 09:23:15 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net 
          id as18003; 20 Aug 96 16:10 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa24317; 20 Aug 96 15:07 +0100
Received: from toad by oink with SMTP (PP) id <23802-0@oink>;
          Tue, 20 Aug 1996 15:07:09 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15712;
          Tue, 20 Aug 1996 15:07:01 +0000
Date: Tue, 20 Aug 1996 15:07:01 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608201407.AA15712@toad.ig.co.uk>
To: amit@visi.com, dedlow@voro.lbl.gov
Subject: Re: connect problem... Finally!
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 402
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


I'd be very grateful if someone would volunteer to write up a few
paragraphs to summarize the use of ORACLE_SID / TWO_TASK and
Sql*NET v1 vs v2 issues relating to DBD::Oracle.

These topics are the cause of significant hassle and mail traffic here.

Having a document included in the DBD::Oracle distribution which
gave an overview and some specific guidelines would help everyone.

Volunteers?

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26723-1@oink>;
          Wed, 21 Aug 1996 02:33:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840581839:13047:0; Tue, 20 Aug 96 23:57:19 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa12144; 20 Aug 96 23:56 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa09778; 20 Aug 96 23:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA27997 for dbi-users-real; Tue, 20 Aug 1996 15:40:58 -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 PAA27986 
          for <dbi-users@fugue.com>; Tue, 20 Aug 1996 15:40:48 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA11823; Tue, 20 Aug 1996 23:31:23 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608202231.XAA11823@fruitbat.mcqueen.com>
Subject: Re: connect problem... Finally!
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Date: Tue, 20 Aug 1996 23:31:22 +0100 (BST)
Cc: amit@visi.com, dedlow@voro.lbl.gov, dbi-users@fugue.com
In-Reply-To: <9608201407.AA15712@toad.ig.co.uk> from "Tim Bunce" at Aug 20, 96 03:07:01 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: 438


> Having a document included in the DBD::Oracle distribution which
> gave an overview and some specific guidelines would help everyone.
> 
> Volunteers?

Not volunteering, but, would they *read* it, one wonders..............

8-)

> Tim.

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26724-5@oink>;
          Wed, 21 Aug 1996 02:34:05 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840583892:10258:4; Wed, 21 Aug 96 00:31:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa09682; 21 Aug 96 0:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA25993 for dbi-users-real; Tue, 20 Aug 1996 13:01:01 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA25989 
          for <dbi-users@fugue.com>; Tue, 20 Aug 1996 13:00:59 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id ao02755; 20 Aug 96 20:57 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa11963; 20 Aug 96 20:19 +0100
Received: from toad by oink with SMTP (PP) id <25488-0@oink>;
          Tue, 20 Aug 1996 20:19:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16639;
          Tue, 20 Aug 1996 20:18:57 +0000
Date: Tue, 20 Aug 1996 20:18:57 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608201918.AA16639@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: mSQL::DBD
Cc: qj@wlci.com
X-Sun-Charset: US-ASCII
content-length: 753
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From qj@wlci.com  Tue Aug 20 20:18:17 1996
Date: Tue, 20 Aug 1996 09:58:02 -0400 (EDT)
X-Sender: qj@206.185.82.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Tim Bunce <Tim.Bunce@ig.co.uk>
From: Christopher Darrell <qj@wlci.com>
Subject: mSQL::DBD

Could someone give me a pointer to information on using DBD::Msql ?  I've
been looking for a day or two now.  The distribution file is lacking in docs
(that I've been able to find) and it says on the hermetica page that the
Msql API differs from the standard DBD API.  I'm new to databases and SQL,
and I'm hoping that someone made a web page about it or something.  Thank's
a lot,
-QJ

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

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26724-17@oink>;
          Wed, 21 Aug 1996 02:34:50 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840590597:01850:3; Wed, 21 Aug 96 02:23:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa01750; 21 Aug 96 2:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA28011 for dbi-users-real; Tue, 20 Aug 1996 15:41:54 -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 PAA28007 
          for <dbi-users@fugue.com>; Tue, 20 Aug 1996 15:41:48 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id XAA11846; Tue, 20 Aug 1996 23:33:01 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608202233.XAA11846@fruitbat.mcqueen.com>
Subject: Re: mSQL::DBD
To: qj@wlci.com
Date: Tue, 20 Aug 1996 23:33:00 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <9608201918.AA16639@toad.ig.co.uk> from "Tim Bunce" at Aug 20, 96 08:18:57 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: 798


> Could someone give me a pointer to information on using DBD::Msql ?  I've
> been looking for a day or two now.  The distribution file is lacking in docs
> (that I've been able to find) and it says on the hermetica page that the
> Msql API differs from the standard DBD API.  I'm new to databases and SQL,
> and I'm hoping that someone made a web page about it or something.  Thank's
> a lot,

It is standard to the DBI API, bar a couple of private methods, which are
detailed in the 'Ramble' documents on the Hermetica site.

Otherwise, look at test.pl. It's got a load of stuff in there.

> -QJ

-- 
Alligator Descartes	 | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician		 |     "Ohhh! Dearie me!"
descarte@hermetica.com	 |         -- The High Life 
http://www.hermetica.com | 
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26822-0@oink>;
          Wed, 21 Aug 1996 02:43:17 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840591493:06069:3; Wed, 21 Aug 96 02:38:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05994; 21 Aug 96 2:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id SAA00232 for dbi-users-real; Tue, 20 Aug 1996 18:30:44 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from server.webbiz.com (root@server.webbiz.com [205.186.216.114]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA00228 
          for <dbi-users@fugue.com>; Tue, 20 Aug 1996 18:30:43 -0700
Received: from burning_station.webbiz.com (burning_station.webbiz.com [205.186.216.109]) 
          by server.webbiz.com (8.6.12/8.6.9) with SMTP id SAA03576;
          Tue, 20 Aug 1996 18:24:27 -0700
Message-ID: <321A68D6.221E@www.webbiz.com>
Date: Tue, 20 Aug 1996 18:39:34 -0700
From: Thomas <tjmoore@www.webbiz.com>
Organization: Digital Icon
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
CC: Tim.Bunce@ig.co.uk
Subject: How to install
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

/usr/local/perl5.003/perl Makefile.pl
Perl lib version (5.001) doesn't match executable version (5.003)
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/ExtUtils/MakeMaker.pm line 76.
BEGIN failed--compilation aborted at testing.pl line 6.

I get this error trying to run the makefile. I changed the makefile
to 
 #!/usr/local/perl5.003/perl -w  and it did not fix it.
Any ideas?
-Tom
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28593-26@oink>;
          Wed, 21 Aug 1996 07:38:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840600977:21849:6; Wed, 21 Aug 96 05:16:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21775; 21 Aug 96 5:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id VAA02187 for dbi-users-real; Tue, 20 Aug 1996 21:09:26 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA02183 
          for <dbi-users@fugue.com>; Tue, 20 Aug 1996 21:09:25 -0700
Received: from tamaria.cse.psu.edu (tamaria.cse.psu.edu [130.203.30.2]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id AAA00880;
          Wed, 21 Aug 1996 00:09:12 -0400 (EDT)
Message-Id: <199608210409.AAA00880@cse.psu.edu>
X-Mailer: exmh version 1.6.7 5/3/96
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: Alligator Descartes <descarte@hermetica.com>
cc: Tim.Bunce@ig.co.uk (Tim Bunce), dbi-users@fugue.com
Subject: Re: connect problem... Finally!
In-reply-to: Your message of "Tue, 20 Aug 1996 23:31:22 BST." <199608202231.XAA11823@fruitbat.mcqueen.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 21 Aug 1996 00:09:03 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

How about concise replies of RTFMO for "Make Output", RTFR for "Readme", 
RTFMLA for "Mail List Archive", and of course RTFFOML for "FAQ On Mailing 
Lists" (mailing list unsubscribe requests)?
:)
John

BTW Mailing list archive is at http://www.coe.missouri.edu/~faq/lists/dbi.html 
and http://www.cis.ohio-state.edu/hypertext/faq/usenet/mail/mailing-lists/

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00199-0@oink>;
          Wed, 21 Aug 1996 12:23:28 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840611026:28173:3; Wed, 21 Aug 96 08:03:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa27872; 21 Aug 96 8:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id XAB00141 for dbi-users-real; Tue, 20 Aug 1996 23:48:44 -0700
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 XAA00310 
          for <dbi-users@fugue.com>; Tue, 20 Aug 1996 23:37:56 -0700
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id XAA04794; Tue, 20 Aug 1996 23:37:47 -0700
Message-Id: <199608210637.XAA04794@voro.lbl.gov>
X-Mailer: exmh version 1.6.2 7/18/95
To: Tim Bunce <Tim.Bunce@ig.co.uk>
cc: dbi-users@fugue.com
Subject: Re: connect problem... Finally!
In-reply-to: Your message of "Tue, 20 Aug 1996 15:07:01 -0000." <9608201407.AA15712@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 20 Aug 1996 23:37:46 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>

> 
> I'd be very grateful if someone would volunteer to write up a few
> paragraphs to summarize the use of ORACLE_SID / TWO_TASK and
> Sql*NET v1 vs v2 issues relating to DBD::Oracle.
> 
> These topics are the cause of significant hassle and mail traffic here.
> 
> Having a document included in the DBD::Oracle distribution which
> gave an overview and some specific guidelines would help everyone.
> 
> Volunteers?
> 
> Tim.

Well, I volunteered once before, and then never got around to it.
I'll take a stab at it this coming weekend.

Mark

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00202-12@oink>;
          Wed, 21 Aug 1996 12:24:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840622529:10937:1; Wed, 21 Aug 96 11:15:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10203; 21 Aug 96 11:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id DAA00294 for dbi-users-real; Wed, 21 Aug 1996 03:03:49 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail-1.mail.demon.net (mail-1.mail.demon.net [158.152.1.211]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id DAA00290 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 03:03:48 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by mail-1.mail.demon.net 
          id aa12623; 20 Aug 96 23:49 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa28295; 20 Aug 96 23:48 +0100
Received: from toad by oink with SMTP (PP) id <26294-0@oink>;
          Tue, 20 Aug 1996 23:48:44 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA17242;
          Tue, 20 Aug 1996 23:48:38 +0000
Date: Tue, 20 Aug 1996 23:48:38 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9608202248.AA17242@toad.ig.co.uk>
To: descarte@hermetica.com
Subject: Re: connect problem... Finally!
Cc: amit@visi.com, dedlow@voro.lbl.gov, dbi-users@fugue.com
X-Sun-Charset: US-ASCII
content-length: 427
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > Having a document included in the DBD::Oracle distribution which
> > gave an overview and some specific guidelines would help everyone.
> > 
> > Volunteers?
> 
> Not volunteering, but, would they *read* it, one wonders..............
> 
> 8-)

[grin]

I'd make test.pl failing refer them to it.

It would also be in your FAQ which, of course, _everyone_ reads!

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02445-0@oink>;
          Wed, 21 Aug 1996 19:07:01 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840647864:24335:1; Wed, 21 Aug 96 18:17:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa23481; 21 Aug 96 18:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA01225 for dbi-users-real; Wed, 21 Aug 1996 10:05:45 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from emerald.empress.com (emerald.empress.com [192.43.219.6]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA01221 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 10:05:40 -0700
Received: (from fjones@localhost) by emerald.empress.com (8.6.11/8.6.9) 
          id NAA31946 for dbi-users@fugue.com; Wed, 21 Aug 1996 13:04:03 -0400
From: Francis Jones <fjones@empress.com>
Message-Id: <199608211704.NAA31946@emerald.empress.com>
Subject: Empress driver 0.45 now available
To: dbi-users@fugue.com
Date: Wed, 21 Aug 1996 13:04:02 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 329

Hi everyone,

This is to announce that a perl5 DBI driver for the Empress v6.8
database is now available for a variety of platforms (e.g., linux ELF, 
HPUX, Sun Solaris, IBM AIX).  More information
can be found on the hermetica web page:

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

Comments & suggestions welcome!

Francis Jones
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02735-0@oink>;
          Wed, 21 Aug 1996 20:06:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840654019:01652:1; Wed, 21 Aug 96 20:00:19 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa01069; 21 Aug 96 19:59 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa27959; 21 Aug 96 19:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA01659 for dbi-users-real; Wed, 21 Aug 1996 11:49:15 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from smtp.WPI.EDU (root@smtp.WPI.EDU [130.215.24.62]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA01655 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 11:49:08 -0700
Received: from kirchoff.WPI.EDU (pwd@kirchoff.WPI.EDU [130.215.56.17]) 
          by smtp.WPI.EDU (8.8.Alpha.8/8.8.Alpha.8) with ESMTP id OAA26738 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 14:49:05 -0400
From: Peter William De Bonte <pwd@wpi.edu>
Received: (from pwd@localhost) by kirchoff.WPI.EDU (8.8.Alpha.8/8.8.Alpha.8) 
          id OAA05728 for dbi-users@fugue.com; Wed, 21 Aug 1996 14:49:03 -0400
Date: Wed, 21 Aug 1996 14:49:03 -0400
Message-Id: <199608211849.OAA05728@kirchoff.WPI.EDU>
To: dbi-users@fugue.com
Subject: symbol select not found in Oracle.so


Hi. I've looked at this problem a bit, but I don't know enough about
Oracle (I guess) to decide what 'select' it is looking for.  Is it
an oracle symbol or the select in <sys/select.h> or maybe something else.
And if it is from Oracle then there are many libraries containing it,
one of which is libora.a which i'm already linking with.

An obvious problem might be that something is wrong with my proc.mk,
which is at the end of this mail.

Thanks for any help! :)

Here's the error, caused by 'require DBD::Oracle', usually in install_driver:
------------------------------------------------------------------------------
bash$ /opt/perl5/bin/perl5 -I./blib/arch -I./blib/lib -I/opt/perl5/lib/i386-svr4/5.003 -I/opt/perl5/lib -e 'require DBD::Oracle'

Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /opt/perl5/bin/perl5: relocation error: symbol not found: select at /opt/perl5/lib/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 24
------------------------------------------------------------------------------


Here's some unsolicited info:
------------------------------------------
Script started on Wed Aug 21 14:34:16 1996
$ perl Makefile.PL -s select
Using Oracle in /home/oracle7
Unable to locate proc.mk (use -m /path/to/proc.mk to specify)
$ perl Makefile.PL -s select -m /net/steroids/home/rki/src/oracle/proc.mk
Using Oracle in /home/oracle7
Using /net/steroids/home/rki/src/oracle/proc.mk (version 1.16)
Searching for symbol 'select' in /home/oracle7 ...
  searching lib/config.o ...
  searching lib/libbt.a ...
  searching lib/libc3v6.a ...
  searching lib/libcore.a ...
  searching lib/libcore3.a ...
  searching lib/libcv6.a ...
  searching lib/libexp.a ...
  searching lib/libhh.a ...
  searching lib/libhhc.a ...
  searching lib/libhhm.a ...
  searching lib/libimp.a ...
  searching lib/libknl.a ...
  searching lib/libknlopt.a ...
  searching lib/libmm.a ...
  searching lib/libmmc.a ...
  searching lib/libnetv2.a ...
[27]    |         0|       0|NOTY |GLOB |0    |UNDEF  |select
  searching lib/libnetwork.a ...
[26]    |         0|       0|NOTY |GLOB |0    |UNDEF  |select
  searching lib/libnlsrtl.a ...
  searching lib/libnmc.a ...
  searching lib/libnsg.a ...
  searching lib/libnttcp.a ...
  searching lib/libnttli.a ...
  searching lib/libocic.a ...
  searching lib/libora.a ...
[19]    |         0|       0|NOTY |GLOB |0    |UNDEF  |select
  searching lib/libot.a ...
[36]    |     12496|      93|FUNC |LOCL |0    |1      |ottrUnselect
[20]    |      5760|      76|FUNC |LOCL |0    |1      |otmlzUnselect
[6]     |      2688|      76|FUNC |LOCL |0    |1      |otlszdsDeselect
  searching lib/libpcc.a ...
  searching lib/libpls.a ...
  searching lib/libpsd.a ...
  searching lib/libre.a ...
  searching lib/librem.a ...
  searching lib/libros.a ...
  searching lib/libsl.a ...
  searching lib/libsql.a ...
  searching lib/libsqldba.a ...
  searching lib/libsqlnet.a ...
[26]    |         0|       0|NOTY |GLOB |0    |UNDEF  |select
[27]    |         0|       0|NOTY |GLOB |0    |UNDEF  |select
[34]    |         0|       0|NOTY |GLOB |0    |UNDEF  |select
  searching lib/libstublm.a ...
  searching lib/libtcp.a ...
[34]    |         0|       0|NOTY |GLOB |0    |UNDEF  |select
  searching lib/libtk2c.a ...
[18]    |         0|       0|NOTY |GLOB |0    |UNDEF  |select
  searching lib/libtk2m.a ...
[112]   |         0|       0|NOTY |GLOB |0    |UNDEF  |XmListDeselectAllItems
[37]    |         0|       0|NOTY |GLOB |0    |UNDEF  |XmListDeselectAllItems
[45]    |         0|       0|NOTY |GLOB |0    |UNDEF  |XmListAddItemUnselected
[56]    |         0|       0|NOTY |GLOB |0    |UNDEF  |XmListDeselectPos
[24]    |         0|       0|NOTY |GLOB |0    |UNDEF  |XmListDeselectAllItems
[128]   |         0|       0|NOTY |GLOB |0    |UNDEF  |XmListDeselectAllItems
  searching lib/libtk2p.a ...
  searching lib/libuc.a ...
  searching lib/libul.a ...
  searching lib/libut.a ...
  searching lib/ntcontab.o ...
  searching lib/ociold.o ...
  searching lib/osntab.o ...
  searching lib/osntabst.o ...
  searching lib/libXIM.so ...
  searching names/lib/s0nncc.o ...
  searching names/lib/s0nnov.o ...
  searching network/lib/naect.o ...
  searching network/lib/naeet.o ...
  searching network/lib/nautab.o ...
  searching network/lib/nmchg.o ...
  searching network/lib/nmcy.o ...
  searching network/lib/nmz.o ...
  searching network/lib/nnfgt.o ...
  searching network/lib/s0nm.o ...
  searching network/lib/s0nmchg.o ...
  searching network/lib/s0nmcx.o ...
  searching network/lib/s0nmcy.o ...
  searching network/lib/s0nmz.o ...
  searching network/lib/s0nsgl.o ...
  searching network/lib/s0nsglc.o ...
  searching network/lib/s0tns.o ...
  searching network/lib/stns.o ...
  searching network/lib/tns.o ...
  searching rdbms/lib/kkxntp.o ...
  searching rdbms/lib/kkxwtp.o ...
  searching rdbms/lib/kmdmmy.o ...
  searching rdbms/lib/kpundf.o ...
  searching rdbms/lib/ksms.o ...
  searching rdbms/lib/opimai.o ...
  searching rdbms/lib/oradbx.o ...
  searching rdbms/lib/refsnap.o ...
  searching rdbms/lib/tkprof.o ...
  searching sqlplus/lib/afidrv.o ...
  searching sqlplus/lib/frms23.o ...
  searching sqlplus/lib/frms30.o ...
Search done.
$ 
script done on Wed Aug 21 14:35:31 1996
-------------------------------------------------------
And heres the info requested by README:
-------------------------------------------------------
Script started on Wed Aug 21 14:22:07 1996
$ perl Makefile.PL -m /net/steroids/home/rki/src/oracle/proc.mk

 Configuring DBD::Oracle ...

>>>     Remember to actually *READ* the README file!

Using Oracle in /home/oracle7
Using /net/steroids/home/rki/src/oracle/proc.mk (version 1.16)
System: perl5.003 unix_sv pluto 4.2mp 2.03 i386 x86at 
Compiler: /bin/cc -O -I/usr/include -I/usr/ucbinclude -I/usr/local/include
Linker:   /usr/bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       /usr/ccs/bin/cc
  LDFLAGS:  -L$(LIBHOME)
Linking with /home/oracle7/lib/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl -lthread 

Checking if your kit is complete...
Looks good
Processing hints file hints/svr4.pl

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
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
        /opt/perl5/bin/perl -I/opt/perl5/lib/i386-svr4/5.003 -I/opt/perl5/lib /opt/perl5/lib/ExtUtils/xsubpp  -typemap /opt/perl5/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
        /bin/cc -c -I/home/oracle7/rdbms/demo -I/opt/perl5/lib/site_perl/i386-svr4/DBI -I/opt/perl5/lib/i386-svr4/5.003/DBI -I/usr/include -I/usr/ucbinclude -I/usr/local/include -O     -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\" -Kpic -I/opt/perl5/lib/i386-svr4/5.003/CORE  Oracle.c
UX:acomp: WARNING: "Oracle.c", line 144: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 256: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 265: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 306: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 307: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 402: end-of-loop code not reached
UX:acomp: WARNING: "Oracle.c", line 406: end-of-loop code not reached
        /bin/cc -c -I/home/oracle7/rdbms/demo -I/opt/perl5/lib/site_perl/i386-svr4/DBI -I/opt/perl5/lib/i386-svr4/5.003/DBI -I/usr/include -I/usr/ucbinclude -I/usr/local/include -O     -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\" -Kpic -I/opt/perl5/lib/i386-svr4/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
        LD_RUN_PATH="/home/oracle7/lib:/lib:/usr/ccs/lib" /bin/cc -o ./blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib -L/usr/gnu/lib Oracle.o  dbdimp.o /home/oracle7/lib/osntab.o    -L/home/oracle7/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl -lthread 
        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 TEST_VERBOSE=1
        PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -I./blib/arch -I./blib/lib -I/opt/perl5/lib/i386-svr4/5.003 -I/opt/perl5/lib -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: dynamic linker: /opt/perl5/bin/perl: relocation error: symbol not found: select at /opt/perl5/lib/DynaLoader.pm line 140.

 at blib/lib/DBD/Oracle.pm line 24
        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)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2 (bu21)
UX:make: ERROR: fatal error.
$ perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=svr4, osver=, archname=i386-svr4
    uname='unix_sv pluto 4.2mp 2.03 i386 x86at '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='/bin/cc', optimize='-O', gccversion=
    cppflags='-I/usr/include -I/usr/ucbinclude -I/usr/local/include'
    ccflags ='-I/usr/include -I/usr/ucbinclude -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=4, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='/bin/cc', ldflags ='-L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib -L/usr/gnu/lib'
    libpth=/usr/local/lib /usr/gnu/lib /lib /usr/lib /usr/ccs/lib /usr/ucblib
    libs=-lsocket -lnsl -lgdbm -ldbm -ldl -lld -lm -lc -lcrypt -lucb -lx
    libc=/lib/libc.so.1.1, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G -L/usr/ccs/lib -L/usr/ucblib -L/usr/local/lib -L/usr/gnu/lib'

@INC: /opt/perl5/lib/i386-svr4/5.003 /opt/perl5/lib /opt/perl5/lib/site_perl/i386-svr4 /opt/perl5/lib/site_perl .
$ 
script done on Wed Aug 21 14:24:27 1996
----------------------------------------------
And here's the proc.mk file I'm using
----------------------------------------------
# 
# $Header: proc.mk.pp 1.16 94/09/30 13:36:54 hkurup Osd<unix> $ proc.mk.pp
# 
#
# proc.mk - Command file for "make" to compile and load Pro*C 2.0 programs.
#
# Usage to build any program:
#	make -f proc.mk EXE=xyz OBJS="a.o b.o c.o"
#
# Special syntax to link demo program:
#	make -f proc.mk sample1
#
# Special syntax to link and install proc executable:
#	make -f proc.mk install
#
# NOTE:   ORACLE_HOME must be either:
#		. set in the user's environment
#		. passed in on the command line
#		. defined in a modified version of this makefile
#
# Pro*C programs are assumed to have the extension ".pc"
#

SHELL=/bin/sh

LIBHOME=$(ORACLE_HOME)/lib

I_SYM= -I

CC=/usr/ccs/bin/cc

COMP=/usr/lib/idacomp
RCC=$(CC)

AS=as

CFLAGS=-I.

LDFLAGS=-L$(LIBHOME)

ARLOCAL=

AR=ar $(ARLOCAL)
ARCREATE=ar cr$(ARLOCAL)
ARDELETE=ar d$(ARLOCAL)
ARREPLACE=ar r$(ARLOCAL)

ECHO=$(ORACLE_HOME)/bin/echodo

#USYSPWLIB=` if [ -f /usr/lib/libpw.a ]; then echo -lpw; fi`
#USYSSPPLIB=` if [ -f /usr/ccs/lib/libssi.a ]; then echo -lssi; fi`
OTHERLIBS= -lsocket -lnsl  -lm -ldl  -lthread $(MLSLIBS)

LLIBPSO=

LLIBPSO=-lstublm

XLIBHOME=`if [ -f /usr/lib/libXt.so ]; then \
		echo /usr/lib ; \
	 elif [ -f /usr/X/lib/libXt.so ]; then \
		echo /usr/X/lib ; \
	 elif [ -f /opt/IXIX11R5/lib/libXt.so ]; then \
		echo /opt/IXIX11R5/lib ; \
	 else \
		echo "Error No X Library Found."; \
	 fi;`
MOTIFLIBHOME=`if [ -f /usr/lib/libXm.so ]; then \
		echo /usr/lib ; \
	      elif [ -f /usr/X/lib/libXm.so ]; then \
		echo /usr/X/lib ; \
	      elif [ -f /opt/SUNWmotif/lib/libXm.so ]; then \
		echo /opt/SUNWmotif/lib ; \
	      else \
		echo "Error No Motif Library Found."; \
	      fi;`

MOTIFLIBS = -L$(MOTIFLIBHOME) -lXm -L$(XLIBHOME) -lXt -lX11 -lm

UWMOTIFLIBS=` if [ -f /usr/X/lib/libXIM.so ]; then echo -lXIM ; fi`
MOTIFLIBS=-L$(MOTIFLIBHOME) -lXm -L$(XLIBHOME) -lXt -lX11 $(UWMOTIFLIBS) \
-lm -lgen

CLIBS=$(OTHERLIBS)

SO=a

NLSRTLHOME= $(SRCHOME)/nlsrtl23

NLSRTLLIB= -lnlsrtl

LIBNLSRTL= $(LIBHOME)/libnlsrtl.a
LLIBNLSRTL=-lnlsrtl

NLSRTLINC= $(I_SYM)$(NLSRTLHOME)/oracore/public
NLSRTLPUBLIC= $(I_SYM)$(NLSRTLHOME)/public \
 $(STDINCLUDE)

COREHOME= $(SRCHOME)/oracore

LIBCORE= $(LIBHOME)/libcore.$(SO)
LIBCV6= $(LIBHOME)/libcv6.$(SO)
LLIBCORE= -lcore
LLIBCV6= -lcv6

CORELIBD= $(LIBNLSRTL) $(LIBCV6) $(LIBCORE)
CORELIBS= $(LLIBNLSRTL) $(LLIBCV6) $(LLIBCORE) $(LLIBNLSRTL) $(LLIBCV6) \
          $(LLIBCORE)

LIBNETWORK= $(LIBHOME)/libnetwork.a
NTCONTAB= $(LIBHOME)/ntcontab.o

TNSLIBS= -lnetwork
TNSLIBD= $(LIBNETWORK)

LIBNETV2= $(LIBHOME)/libnetv2.a
NETV2LIBS= -lnetv2 $(TNSLIBS)
NETV2LIBD= $(LIBNETV2) $(TNSLIBD)

LIBNSG= $(LIBHOME)/libnsg.a
LLIBNSG= -lnsg
NSGLIBS= $(LLIBNSG)
NSGLIBD= $(LIBNSG)

OSNTAB= $(LIBHOME)/osntab.o
OSNTABST= $(LIBHOME)/osntabst.o 
LIBSQLNET= $(LIBHOME)/libsqlnet.a

SQLNETLIBS= -lsqlnet

NETLIBS= $(OSNTAB) $(SQLNETLIBS) $(NETV2LIBS)
NETLIBD= $(OSNTAB) $(LIBSQLNET) $(NETV2LIBD)

LIBPLS= $(LIBHOME)/libpls.a
LLIBPLS= -lpls

LIBTK2C= $(LIBHOME)/libtk2c.a
LLIBTK2C= -ltk2c
LIBTK2M= $(LIBHOME)/libtk2m.a
LLIBTK2M= -ltk2m
LIBTK2P= $(LIBHOME)/libtk2p.a
LLIBTK2P= -ltk2p
LIBTK2UC= $(LIBHOME)/libuc.a
LLIBTK2UC= -luc
LIBTK2REM= $(LIBHOME)/librem.a
LLIBTK2REM= -lrem
LIBTK2ROS= $(LIBHOME)/libros.a
LLIBTK2ROS= -lros
LIBTK2OT= $(LIBHOME)/libot.a
LLIBTK2OT= -lot
LIBTK2OTX= $(LIBHOME)/libotx.a

LLIBTK2OTX= -lotx

LIBTK2UT= $(LIBHOME)/libut.a

LLIBTK2UT= -lut

LIBTK2SL= $(LIBHOME)/libsl.a
LLIBTK2SL= -lsl
LIBTK2RE= $(LIBHOME)/libre.a

LLIBTK2RE= -lre

TK2UICLIBD= $(LIBTK2RE) $(LIBTK2UC) $(LIBTK2C) $(LIBTK2OT) $(LIBTK2REM) \
	$(LIBTK2ROS) $(LIBTK2P) $(LIBTK2UT) $(LIBTK2SL)

TK2UICLIBS= $(DYNAMIC_ON_TK2) \
        $(LLIBTK2SL) $(LLIBTK2RE) $(LLIBTK2UC) $(LLIBTK2C) $(LLIBTK2OT) \
        $(LLIBTK2RE) $(LLIBTK2REM) $(LLIBTK2ROS) $(LLIBTK2C) $(LLIBTK2P) \
        $(LLIBTK2C) $(LLIBTK2P) $(LLIBTK2REM) $(LLIBTK2C) $(LLIBTK2OT) \
        $(LLIBTK2UT) $(LLIBTK2UC) $(LLIBTK2SL) $(LLIBTK2C) \
        $(DYNAMIC_OFF_TK2)

TK2UIMLIBD= $(LIBTK2OT) $(LIBTK2RE) $(LIBTK2UC) $(LIBTK2REM) $(LIBTK2ROS) \
	$(LIBTK2M) $(LIBTK2P) $(LIBTK2UT) $(LIBTK2SL)

TK2UIMLIBS= $(DYNAMIC_ON_TK2) \
        $(LLIBTK2OT) $(LLIBTK2RE) $(LLIBTK2UC) $(LLIBTK2REM) $(LLIBTK2ROS) \
        $(LLIBTK2M) $(LLIBTK2P) $(LLIBTK2M) $(LLIBTK2P) $(LLIBTK2M) \
        $(LLIBTK2OT) $(LLIBTK2UT) \
        $(LLIBTK2SL) $(DYNAMIC_OFF_TK2)

PLSPECFILES=

LIBOCIC= $(LIBHOME)/libocic.a
LLIBOCIC= -locic

TTLIBD= $(NETLIBD) $(LIBORA) $(CORELIBD)

TTLIBS= $(OSNTAB) $(SQLNETLIBS) $(LLIBORA) $(LIBPLSHACK) $(SQLNETLIBS) \
 $(LLIBORA) $(CORELIBS) $(LDLIBS) $(CLIBS)

STLIBDNOPLS= $(OSNTABST) $(CONFIG) $(CORELIBD) $(NETLIBD) $(RDBMSLIBDNOPLS)
STLIBD= $(OSNTABST) $(CONFIG) $(CORELIBD) $(NETLIBD) $(RDBMSLIBD)
STLIBSNOPLS= $(OSNTABST) $(CONFIG) $(RDBMSLIBSNOPLS) $(RDBMSLIBSNOPLS) \
 $(PLSPECFILES) $(SQLNETLIBS) $(LLIBORA) $(CORELIBS) $(LLIBPSO) $(LDLIBS) \
 $(CLIBS)
STLIBS= $(OSNTABST) $(CONFIG) $(RDBMSLIBS) $(RDBMSLIBS) $(PLSPECFILES) \
 $(SQLNETLIBS) $(LLIBORA) $(CORELIBS) $(LLIBPSO) $(LDLIBS) $(CLIBS)

LLIBNETV2= $(LIBNETV2)
LLIBNETWORK= $(LIBNETWORK)

CONFIG= $(LIBHOME)/config.o
OPIMAI= $(LIBHOME)/opimai.o
LIBORA= $(LIBHOME)/libora.a
LIBKNL= $(LIBHOME)/libknl.a
LIBKNLOPT= $(LIBHOME)/libknlopt.a
LLIBORA= -lora
LLIBKNL= -lknl
LLIBKNLOPT= -lknlopt

RDBMSLIBDNOPLS= $(LIBORA) $(LIBKNLOPT) $(LIBKNL)
RDBMSLIBD= $(LIBORA) $(LIBKNLOPT) $(LIBPLS) $(LIBKNL)
RDBMSLIBSNOPLS= $(LLIBORA) $(LLIBKNLOPT) $(LLIBKNL)
RDBMSLIBS= $(LLIBORA) $(LLIBKNLOPT) $(LLIBPLS) $(LLIBKNL)

LIBSOSD=
LLIBSOSD=

LIBPCORE=$(LIBHOME)/libpcore.a
LLIBPCORE= -lpcore

LIBCGEN= $(LIBHOME)/pdc.o
LIBFORGEN= $(LIBHOME)/pdf.o
LIBCOBGEN= $(LIBHOME)/pdb.o
LIBPASGEN= $(LIBHOME)/pdp.o
LIBADAGEN= $(LIBHOME)/pda.o
LIBOSDGEN= $(LIBHOME)/pds.o

CODEGENHOME= $(SRCHOME)/codegen

LIBSLAX=$(LIBHOME)/pxslax.o

SQLHOME= $(ORACLE_HOME)/sqllib

SQLPUBLIC=$(I_SYM)$(SQLHOME)/public
LIBSQL= $(LIBHOME)/libsql.a
SQLLIBS= -lsql

LIBPROC20=$(LIBHOME)/libproc.a
LLIBPROC20= -lproc
LIBPRO= $(LIBPROC20)
LLIBPRO= $(LLIBPROC20)
PROLDLIBS= $(SQLLIBS) $(TTLIBS)

PROC=$(ORACLE_HOME)/bin/proc

#
# Redefining CC and OTHERLIBS - problem with LDSTRING and MTS / JATIN/HARISH
#

CFLAGS=

PROCOBJS=$(ORACLE_HOME)/proc/lib/main.o \
	$(ORACLE_HOME)/proc/lib/pcdsfv.o \
	$(ORACLE_HOME)/proc/lib/pcdlut.o
PROCPLSFLAGS= sqlcheck=full userid=$(USERID) dbms=v6_char
USERID= scott/tiger
EXE= test
OBJS= test.o

all: build

# Rule to compile any program (specify EXE= and OBJS= on command line)
build: $(OBJS)
	$(CC) $(LDFLAGS) -o $(EXE) $(OBJS) $(PROLDLIBS)


# Suffix rules
.SUFFIXES: .exe .o .c .pc

PROFLAGS= CODE=ANSI_C MODE=ORACLE

.pc.c:
	$(PROC) $(PROFLAGS) iname=$*.pc 

.pc.o:
	$(PROC) $(PROFLAGS) iname=$*.pc
	$(CC) $(CFLAGS) $(SQLPUBLIC) -c $*.c

.c.o:
	$(CC) $(CFLAGS) $(SQLPUBLIC) -c $*.c

.o:
	$(CC) $(LDFLAGS) -o $@ $@.o $(PROLDLIBS)

LIBDIR= $(ORACLE_HOME)/proc/lib
DEMODIR= $(ORACLE_HOME)/proc/demo

install_files:
	-rm -f $(DEMODIR)/proc.mk
	-ln $(LIBDIR)/proc.mk $(DEMODIR)/proc.mk

# Rules to relink the proc executable
install: clean proc
	-chmod 755 $(ORACLE_HOME)/bin/proc
	-mv proc $(ORACLE_HOME)/bin/proc
	-chmod 755 $(ORACLE_HOME)/bin/proc

clean:
	-rm -f proc

proc:
	@$(ECHO) $(CC) $(LDFLAGS) -o proc $(PROCOBJS) \
	$(LLIBPROC20) $(LIBCGEN) $(LLIBPLS) $(LIBOSDGEN) $(LIBSLAX) \
	$(LLIBPCORE) $(LLIBPLS) $(LLIBORA) $(LLIBPLS) $(TTLIBS) -lm

UXTLDLIBS= $(ORACLE_HOME)/forms30/lib/iaddrvc.o \
	$(ORACLE_HOME)/forms30/lib/ifmdmf.o \
	$(ORACLE_HOME)/forms30/lib/ifplut.o \
	$(LIBFORMS30C) $(LIBFORMS30) $(LIBFORMS30P) $(LIBOKTC) $(LIBOKT) \
	$(ORACLE_HOME)/forms30/lib/libpls.a $(LIBFORMS30C) $(LIBFORMS30) \
	$(LIBOCIC) $(LIBSQL) $(TTLIBS)

LIBFORMS30C= $(ORACLE_HOME)/lib/libforms30c.a
LIBFORMS30= $(ORACLE_HOME)/lib/libforms30.a
LIBFORMS30P= $(ORACLE_HOME)/lib/libforms30p.a
LIBOKTC= $(ORACLE_HOME)/lib/liboktc.a
LIBOKT= $(ORACLE_HOME)/lib/libokt.a

------
Peter W. De Bonte			pwd@kirchoff.wpi.edu
Electrical Engineering & Music Major	http://www.wpi.edu/~pwd
[Make a living & Have a life]		Worcester Polytechnic Institute, MA
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04472-0@oink>;
          Thu, 22 Aug 1996 07:36:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840661528:02770:0; Wed, 21 Aug 96 22:05:28 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa01983; 21 Aug 96 22:04 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa29224; 21 Aug 96 21:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA01358 for dbi-users-real; Wed, 21 Aug 1996 10:29:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from onward-net.com (ws01.onward-net.com [205.158.245.82]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA01354 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 10:29:20 -0700
Received: from steve_young.onward-net.com (ws02.onward-net.com) 
          by onward-net.com (4.1/SMI-4.1) id AA18612;
          Wed, 21 Aug 96 10:34:25 PDT
Message-Id: <9608211734.AA18612@onward-net.com>
Comments: Authenticated sender is <stergios@onward-net.com>
From: Stergios Marinopoulos <Stergios@onward-net.com>
Organization: Onward Inc.
To: dbi-users@fugue.com
Date: Wed, 21 Aug 1996 10:27:11 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Subject: Re: mSQL::DBD version failure
Reply-To: stergios@onward-net.com
Priority: normal
X-Mailer: Pegasus Mail for Windows (v2.40)

I had a similar problem with test.pl failing for mSQL.  I tacked it
down to mSQL.pm.  Below is how I changed my version of this file.
It's been too long ago now that I do not remember the specifics.  I 
did however included one comment that I think was the error message.

Stergios Marinopoulos

# 0.60pl9 does not match DBD::mSQL.pm $VERSION 1.18  a

    $VERSION = substr(q$Revision: 1.18 $, 10);
    $VERSION = '0.60pl9' ;



---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04460-11@oink>;
          Thu, 22 Aug 1996 07:36:34 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840670061:29248:5; Thu, 22 Aug 96 00:27:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa29061; 22 Aug 96 0:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id QAA02537 for dbi-users-real; Wed, 21 Aug 1996 16:21:22 -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 QAA02533 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 16:21:21 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id QAA11715;
          Wed, 21 Aug 1996 16:21:17 -0700
Date: Wed, 21 Aug 1996 16:21:17 -0700
Message-Id: <199608212321.QAA11715@paradigm.webvision.com>
From: dave madden <dhm@paradigm.webvision.com>
To: pwd@wpi.edu
CC: dbi-users@fugue.com
In-reply-to: <199608211849.OAA05728@kirchoff.WPI.EDU> (message from Peter William De Bonte on Wed, 21 Aug 1996 14:49:03 -0400)
Subject: Re: symbol select not found in Oracle.so

 =>From: Peter William De Bonte <pwd@wpi.edu>
 =>
 =>Hi. I've looked at this problem a bit, but I don't know enough about
 =>Oracle (I guess) to decide what 'select' it is looking for.  Is it
 =>an oracle symbol or the select in <sys/select.h> or maybe something else.
 =>And if it is from Oracle then there are many libraries containing it,
 =>one of which is libora.a which i'm already linking with.
 =>
 =>...
 =>
 =>bash$ /opt/perl5/bin/perl5 -I./blib/arch -I./blib/lib -I/opt/perl5/lib/i386-svr4/5.003 -I/opt/perl5/lib -e 'require DBD::Oracle'
 =>
 =>Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /opt/perl5/bin/perl5: relocation error: symbol not found: select at /opt/perl5/lib/DynaLoader.pm line 140.
 =>
 => at blib/lib/DBD/Oracle.pm line 24

The C library exploded in SVR4; stuff that used to be in libc is now
spread around a bunch of other libraries.  Look in /usr/lib for
libraries named libsocket.a, libnsl.a, and libdl.a, and try linking
with them (-lsocket -lnsl -ldl).  I think you'll also need to link
with the math library (-lm) but I'm not sure.

d.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04472-3@oink>;
          Thu, 22 Aug 1996 07:36:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840665772:26660:1; Wed, 21 Aug 96 23:16:12 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa26089; 21 Aug 96 23:15 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa19265; 21 Aug 96 22:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA02259 for dbi-users-real; Wed, 21 Aug 1996 14:40: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 OAA02255 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 14:40:35 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id WAA18971; Wed, 21 Aug 1996 22:27:30 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608212127.WAA18971@fruitbat.mcqueen.com>
Subject: Re: connect problem... One More!
To: Amit Bhati <amit@visi.com>
Date: Wed, 21 Aug 1996 22:27:29 +0100 (BST)
Cc: pckizer@tamu.edu, dbi-users@fugue.com
In-Reply-To: <199608211741.MAA02337@mixer.visi.com> from "Amit Bhati" at Aug 21, 96 12:41:49 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: 1123


> However, I still get error number 1034 with the ora_login() function
> is Oraperl (while running test.pl via "make test"). Now, very
> strangely; 
> 
> maui> oerr ora 1034
> 
> does not list anything in the Cause and Action blocks!! So I looked up
> the Server Error Messages documentation and what it says is,
> 
> ORA-01013	ORACLE not available
> 	Cause Oracle was not started up. Possible causes are:
> 
> 	- The SGA requires more space than was allocated for it.
> 	- The operating system variable pointing to the instance is
> 	  improperly defined.
> 
> If I am able to connect through sqlplus, I am gussing that the second
> cause is probably not the case with me. If so, what could be the
> likely problem with the first one (SGA)??
> 
> Any pointers appreciated. Thanks indeed.

Sounds like Oraperl either isn't picking the correct TWO_TASK information
up from $ENV. Try hard setting it in test.pl from whatever it's set to.

> amit

-- 
Alligator Descartes                                             Anathematician
descarte@hermetica.com					   Circuit VI Engineer
http://www.hermetica.com					     KEPhALH F
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04472-11@oink>;
          Thu, 22 Aug 1996 07:37:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840669543:09371:2; Thu, 22 Aug 96 00:19:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07200; 22 Aug 96 0:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id KAA01377 for dbi-users-real; Wed, 21 Aug 1996 10:41:57 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mixer.visi.com (amit@mixer.visi.com [204.73.178.1]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA01373 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 10:41:56 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.5/8.7.5) id MAA02337;
          Wed, 21 Aug 1996 12:41:50 -0500 (CDT)
From: Amit Bhati <amit@visi.com>
Posted-Date: Wed, 21 Aug 1996 12:41:50 -0500 (CDT)
Message-Id: <199608211741.MAA02337@mixer.visi.com>
Subject: Re: connect problem... One More!
To: pckizer@tamu.edu
Date: Wed, 21 Aug 1996 12:41:49 -0500 (CDT)
Cc: dbi-users@fugue.com (DBI:DBD Mailing List)
In-Reply-To: <27820.840515513@gonzo.tamu.edu> from "Philip Kizer" at Aug 19, 96 11:31:53 pm
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

Philip Kizer writes:
; 
; [Lots Snipped ]
; 
; Sounds about right, that's why you have to set TWO_TASK instead of
; ORACLE_SID for SQL*Net connections.  Everything started working for
; me once I found out about that variable.
; 
; As I quoted before:
; 
; From: Terry Greenlaw <terry@encompass.is.net>
; Subject: Re: DBD::Oracle failed on make test -- ora_login fail 
; 
; [ ... ]
; ORACLE_SID is really unnecessary to set since TWO_TASK provides the
; same functionality in addition to allowing remote connections.
; 
; TWO_TASK = P:sid will use the pipe driver for local connections
; TWO_TASK = T:machine:sid will use TCP/IP (or D for DECNET, etc.) for remote
;             SQL*Net 1.x conn.
; TWO_TASK = dbname will use the info stored in the SQL*Net 2.x configuration
;             file for local or remote connections.
; 
; If anyone has any evidence that this is not the case, please let me (us)
; know; similarly, let me know if anyone can confirm this info.
; 
; -philip

Ok, Philip, I have been able to establish that after setting ,

export TWO_TASK=oradev

I am able to make sqlnet connections, like,

maui> sqlplus
Userid: abhati
Password: amit

and the connection goes through to oradev on the data warehousing
machine. I dont get any shmget() failures etc...

However, I still get error number 1034 with the ora_login() function
is Oraperl (while running test.pl via "make test"). Now, very
strangely; 

maui> oerr ora 1034

does not list anything in the Cause and Action blocks!! So I looked up
the Server Error Messages documentation and what it says is,

ORA-01013	ORACLE not available
	Cause Oracle was not started up. Possible causes are:

	- The SGA requires more space than was allocated for it.
	- The operating system variable pointing to the instance is
	  improperly defined.

If I am able to connect through sqlplus, I am gussing that the second
cause is probably not the case with me. If so, what could be the
likely problem with the first one (SGA)??

Any pointers appreciated. Thanks indeed.

amit
--
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04472-18@oink>;
          Thu, 22 Aug 1996 07:39:04 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840673033:15022:1; Thu, 22 Aug 96 01:17:13 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa13907; 22 Aug 96 1:15 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa07617; 22 Aug 96 1:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA02701 for dbi-users-real; Wed, 21 Aug 1996 17:04:23 -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 RAA02687 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 17:04:09 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id AAA19693; Thu, 22 Aug 1996 00:55:31 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608212355.AAA19693@fruitbat.mcqueen.com>
Subject: Re: Another LONG Question
To: Patti McCreary <pattimcc@sdsc.edu>
Date: Thu, 22 Aug 1996 00:55:30 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <321B8ECA.794BDF32@sdsc.edu> from "Patti McCreary" at Aug 21, 96 03:33:47 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: 301


Set ORACLE_HOME in the perl script, or in the environment of the user
running the CGI script as spawned by the HTTPd.

A.

-- 
Alligator Descartes                                             Anathematician
descarte@hermetica.com					   Circuit VI Engineer
http://www.hermetica.com					     KEPhALH F
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04460-31@oink>;
          Thu, 22 Aug 1996 07:39:41 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840679672:04023:3; Thu, 22 Aug 96 03:07:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa03931; 22 Aug 96 3:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA02451 for dbi-users-real; Wed, 21 Aug 1996 15:58:14 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rah.wlci.com (root@im.wlci.com [206.185.82.4]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA02447 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 15:58:12 -0700
Received: from John.wlci.com (qj@[206.185.82.6]) by rah.wlci.com (8.7.4/8.7.3) 
          with SMTP id PAA01339 for <dbi-users@fugue.com>;
          Wed, 21 Aug 1996 15:02:41 -0400 (EDT)
Date: Wed, 21 Aug 1996 15:02:41 -0400 (EDT)
Message-Id: <199608211902.PAA01339@rah.wlci.com>
X-Sender: qj@206.185.82.4
X-Mailer: Windows Eudora Pro Version 2.1.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: Christopher Darrell <qj@wlci.com>
Subject: mSQL and Perl5

Hi there..  thanks for all the kind responses with pointers to help with the
Msql DBI.  Unfortunately I've run into a problem that is a bit of a
stumbling block.

I printed (and read) the 'rambling files' and was _really_ happy to find
them!  They seem to explain everything I needed to know, however, when
trying to execute the following bit of code:
##begin code

#!/usr/bin/perl -w
use DBI;

$drh = DBI->install_driver( 'mSQL' );
$dbh = $drh->connect( '', 'test' );
die "cannot connect: $DBI::errstr\n" unless $dbh;

$cursor = $dbh->do( "   INSERT INTO TABLE01 VALUES (
                                QJ,
                                LIZ,
                                EEYORE

                  ) "
                );
$dbh->disconnect;
exit 0;

##end code

I get the following errors upon execution:

##begin error 
Identifier "main::cursor" used only once: possible typo at cgitest.pl line 8.
Statement handle DBI::st=HASH(0x11b750) DESTROY ignored - never set up at cgites
t.pl line 15.
##end error


The file is called cgitest.pl even though it isn't, it contains everything I
printed here, which was copied almost verbatim from Alligator's example in
the ramble files.   I'm a beginner to OOP, and I'm hoping this isn't
something stupid that I am doing.  There _IS_ a test database that contains
a TABLE01
in the following format:

##begin msqldump snippet 
#
# Table structure for table 'TABLE01'
#
CREATE TABLE TABLE01 (
  she CHAR(32),
  him CHAR(32),
  who CHAR(32)
) \g
##end msqldump snippet

I can add/remove from this database with the msql program that came with
mSQL.  By the look of the error it's a coding problem, but due to my lack of
OOP knowledge I'm not sure what I'm doing wrong.  If this is absolutely a
coding problem, please let me know so I can go somewhere else and do it.  (I
only ask here because I don't know if I'm using the module wrong or perl
wrong! :)

Thanks for any assistance
-QJ

~

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04472-25@oink>;
          Thu, 22 Aug 1996 07:39:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840675390:05907:1; Thu, 22 Aug 96 01:56:30 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa05175; 22 Aug 96 1:55 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa21732; 22 Aug 96 1:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA02249 for dbi-users-real; Wed, 21 Aug 1996 14:38:42 -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 OAA02244 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 14:38:39 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id WAA18963; Wed, 21 Aug 1996 22:25:48 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608212125.WAA18963@fruitbat.mcqueen.com>
Subject: Re: mSQL::DBD version failure
To: stergios@onward-net.com
Date: Wed, 21 Aug 1996 22:25:47 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <9608211734.AA18612@onward-net.com> from "Stergios Marinopoulos" at Aug 21, 96 10:27:11 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: 568


> I had a similar problem with test.pl failing for mSQL.  I tacked it
> down to mSQL.pm.  Below is how I changed my version of this file.
> It's been too long ago now that I do not remember the specifics.  I 
> did however included one comment that I think was the error message.

Get DBD::mSQL-0.60pl*10* which is the latest and has been for quite some
time.

> Stergios Marinopoulos

A.

-- 
Alligator Descartes                                             Anathematician
descarte@hermetica.com					   Circuit VI Engineer
http://www.hermetica.com					     KEPhALH F
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04472-38@oink>;
          Thu, 22 Aug 1996 07:41:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840677197:20790:8; Thu, 22 Aug 96 02:26:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20352; 22 Aug 96 2:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id PAA02389 for dbi-users-real; Wed, 21 Aug 1996 15:33:59 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from franklin.sdsc.edu (franklin.sdsc.edu [132.249.40.106]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA02385 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 15:33:55 -0700
Received: from pauline.sdsc.edu (pauline.sdsc.edu [132.249.40.68]) 
          by franklin.sdsc.edu (8.7.5/8.7.3/SDSCserver-12) with SMTP 
          id PAA02653; Wed, 21 Aug 1996 15:33:47 -0700 (PDT)
Received: from happy.sdsc.edu by pauline.sdsc.edu (5.65/1.11-client) with SMTP 
          id AA13696; Wed, 21 Aug 1996 15:33:47 -0700
Message-Id: <321B8ECA.794BDF32@sdsc.edu>
Date: Wed, 21 Aug 1996 15:33:47 -0700
From: Patti McCreary <pattimcc@sdsc.edu>
Organization: SDSC
X-Mailer: Mozilla 2.02 (X11; I; SunOS 4.1.4 sun4m)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Another LONG Question
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I know this question has been asked before but... DBI is truncating my long datatypes.

I'm confused about whether to use ora_long and ora_trunc or readblob() or ??. Ideally,
I'd like to be able to update, insert, select, etc. my LONG w/o truncation. I'm
getting the error "ORACLE_HOME not set!..." (code and full error below.) 

Anyway, thanks in advance for any help.

Patti



Here's my code;
#!/usr/local/bin/perl

use Oraperl;
use DBI;

$ENV{"ORAENV_ASK"} = "oraenv_ask";
$ENV{"ORACLE_SID"} = "sid";
$ENV{"ORACLE_PATH"} = "path";
$ENV{"ORACLE_TERM"} = "vt100";
$ENV{"ORACLE_HOME"} = "/oracle/home";
  
$drh = DBI->install_driver( 'Oracle' );
$lda = &ora_login('', 'user', 'password');

$Oraperl::ora_verno = '3.000';
$Oraperl::ora_long  = 5000;
$Oraperl::ora_trunc = 0;

my $sql="
SELECT LONG_FIELD 
FROM sourcebank 
WHERE short = '$short'";
 
my $csr=ora_open($lda, $sql);

my (@data) = ora_fetch ($csr);
my ($blob, $res, $length, $ll, $offset);
$res = '';
$length = 100000;
$offset = 0;
while (1)
{
$blob = $csr->blob_read (0, $offset, $length);
last unless $blob;
$ll = length $blob;
last unless $ll;
$res .= $blob;
$offset += $ll;
}
print $res; 

.
.
.
. 


I'm getting the error...

ORACLE_HOME not set! HTTP/1.0 200 Request fulfilled Server: WN/1.12.6 Date: Wednesday,
21-Aug-96 22:18:02 GMT Pragma: no-cache Content-type: text/html Title: File foo.cgi
Link: ; rev="Made" 

CONTENT_LENGTH = 2539

Content-type: text/html 



-- 
"Adding flames to the fire only makes the embers die sooner."

-------------------------------------------------
Patti McCreary		  
FACSNET Programmer	
pattimcc@facsnet.org	
SDSC Consultant
pattimcc@sdsc.edu
(619)534-8371
-------------------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04472-48@oink>;
          Thu, 22 Aug 1996 07:42:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840686408:26965:4; Thu, 22 Aug 96 05:00:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26725; 22 Aug 96 4:59 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id RAA02763 for dbi-users-real; Wed, 21 Aug 1996 17:17:56 -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 RAA02759 
          for <dbi-users@fugue.com>; Wed, 21 Aug 1996 17:17:52 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id BAA19813; Thu, 22 Aug 1996 01:09:19 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608220009.BAA19813@fruitbat.mcqueen.com>
Subject: Re: mSQL and Perl5
To: qj@wlci.com (Christopher Darrell)
Date: Thu, 22 Aug 1996 01:09:18 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199608211902.PAA01339@rah.wlci.com> from "Christopher Darrell" at Aug 21, 96 03:02:41 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: 2009


> I printed (and read) the 'rambling files' and was _really_ happy to find
> them!  They seem to explain everything I needed to know, however, when
> trying to execute the following bit of code:

[snip]

> I get the following errors upon execution:
> 
> ##begin error 
> Identifier "main::cursor" used only once: possible typo at cgitest.pl line 8.
> Statement handle DBI::st=HASH(0x11b750) DESTROY ignored - never set up at cgites
> t.pl line 15.
> ##end error

Nothing wrong with that. Those are *warnings*. An error would abort execution
of the program. 

> The file is called cgitest.pl even though it isn't, it contains everything I
> printed here, which was copied almost verbatim from Alligator's example in
> the ramble files.   I'm a beginner to OOP, and I'm hoping this isn't
> something stupid that I am doing.  There _IS_ a test database that contains
> a TABLE01
> in the following format:
> 
> ##begin msqldump snippet 
> #
> # Table structure for table 'TABLE01'
> #
> CREATE TABLE TABLE01 (
>   she CHAR(32),
>   him CHAR(32),
>   who CHAR(32)
> ) \g
> ##end msqldump snippet
> 
> I can add/remove from this database with the msql program that came with
> mSQL.  By the look of the error it's a coding problem, but due to my lack of
> OOP knowledge I'm not sure what I'm doing wrong.  If this is absolutely a
> coding problem, please let me know so I can go somewhere else and do it.  (I
> only ask here because I don't know if I'm using the module wrong or perl
> wrong! :)

Did you check whether the insert had worked? What you need to do ( and which
will remove the $cursor used only once warning ) is to add the lines:

if ( !defined $cursor ) {
    die "Error in INSERT: $DBI::errstr\n";
  }

after the $cursor = $dbh->do line.

If the insert fails, it'll return the error message why in $DBI::errstr.

> -QJ

-- 
Alligator Descartes                                             Anathematician
descarte@hermetica.com					   Circuit VI Engineer
http://www.hermetica.com					     KEPhALH F
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07924-2@oink>;
          Thu, 22 Aug 1996 14:11:36 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840713776:15215:5; Thu, 22 Aug 96 12:36:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa15102; 22 Aug 96 12:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA04098 for dbi-users-real; Thu, 22 Aug 1996 04:22:53 -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 EAA04094 
          for <dbi-users@fugue.com>; Thu, 22 Aug 1996 04:21:45 -0700
Received: by gateway1.srs.gov id AA03110 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Thu, 22 Aug 1996 07:19:39 -0400
Message-Id: <199608221119.AA03110@gateway1.srs.gov>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
          Thu, 22 Aug 1996 07:19:39 -0400
Date: Thu, 22 Aug 1996 07:19:21 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: [Fwd: Re: connect problem... Finally!]
To: dbi-users@fugue.com
Mime-Version: 1.0
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.4 sun4m)
Content-Type: multipart/mixed; boundary="------------6FB31846649C"
Content-Transfer-Encoding: 7BIT

This is a multi-part message in MIME format.

--------------6FB31846649C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Just realized I forgot to send this to the list.

--------------6FB31846649C
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Message-ID: <321B0FE4.41BF@dark-knight.srs.gov>
Date: Wed, 21 Aug 1996 09:32:20 -0400
From: James Taylor <y5202@dark-knight.srs.gov>
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Re: connect problem... Finally!
References: <9608201407.AA15712@toad.ig.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here is a quick crack at the SQL*Net connection issues.

The bulk of this information is from dbi-users postings by:

< tog          
< Terry Greenlaw                           terry@encompass.is.net
< Encompass Technologies

I have edited and supplemented.


Using Oracle environment variables with sqlplus and Perl.
---------------------------------------------------------

sqlplus
-------

ORACLE_SID is really unnecessary to set since TWO_TASK provides the
same functionality in addition to allowing remote connections.

% setenv TWO_TASK T:hostname:ORACLE_SID
% sqlplus username/password

Note that if you have *both* local and remote databases, and you
have ORACLE_SID *and* TWO_TASK set, and you don't specify a fully
qualified connect string on the command line, TWO_TASK takes precedence
over ORACLE_SID (i.e. you get connected to remote system).

TWO_TASK = P:sid will use the pipe driver for local connections  
SQL*Net 1.x

TWO_TASK = T:machine:sid will use TCP/IP (or D for DECNET, etc.) for
remote SQL*Net 1.x conn.

TWO_TASK = dbname will use the info stored in the SQL*Net 2.x
configuration file for local or remote connections.

ORACLE_HOME can also be left unset if you aren't using any of Oracle's
executables, but error messages may not display.

Discouraging the use of ORACLE_SID makes it easier on the users to see
what is going on. I just wish that TWO_TASK could be renamed, since it
makes no sense to the end user, and doesn't have the ORACLE prefix on
it.

Perl with DBI/DBD
-----------------

Below are various ways of connecting to an oracle database using
SQL*Net 1.x and SQL*Net 2.x.  "Machine" is the computer the database is
running on, "SID" is the SID of the database, "MS2" is the SQL*Net 2.x
connection descriptor for the database.

     BEGIN { 
        $ENV{TWO_TASK}='MS2'; 
        $ENV{ORACLE_HOME} = '/home/oracle/product/7.x.x';
     }
     ora_login('','scott/tiger');

works here for SQL*Net 2.x, as does

     BEGIN { 
        $ENV{TWO_TASK}='T:Machine:SID';
        $ENV{ORACLE_HOME} = '/home/oracle/product/7.x.x';
     }
     ora_login('','scott/tiger');

for SQL*Net 1.x connections.

For local connections use 'P:SID'.

login variations (not setting TWO_TASK)
----------------------------------------

$lda = ora_login('T:Machine:SID','username','password');

$lda = ora_login('','username@T:Machine:SID','password');

$lda = ora_login('','username@MS2','password');

$lda = ora_login('MS2','username','password');

$lda = ora_login('MS2','username/password','');

-- 
---
James Taylor              | All opinions expressed here are my
Net: james.taylor@srs.gov | own and should not be interpreted as
Phone: (803) 725-5323     | representing the views of DOE or WSRC.
---


--------------6FB31846649C--

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07924-4@oink>;
          Thu, 22 Aug 1996 14:11:45 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840716594:09937:1; Thu, 22 Aug 96 13:23:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa09356; 22 Aug 96 13:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id CAA03984 for dbi-dev-real; Thu, 22 Aug 1996 02:34:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nms.rz.uni-kiel.de (nms.rz.uni-kiel.de [134.245.10.2]) 
          by toccata.fugue.com (8.6.12/8.6.11) with SMTP id CAA03980 
          for <DBI-DEV@fugue.com>; Thu, 22 Aug 1996 02:34:14 -0700
From: kraemer@rz.uni-kiel.d400.de
Received: from crvax.rz.uni-kiel.de by nms.rz.uni-kiel.de with SMTP (PP) 
          id <21989-0@nms.rz.uni-kiel.de>; Thu, 22 Aug 1996 11:34:55 +0200
Date: Thu, 22 Aug 1996 11:32:31 +0200
Message-Id: <96082211323172@crvax.rz.uni-kiel.de>
To: DBI-DEV@fugue.com
Subject: discussion about Perl ODBC bindings (long)
X-VMS-To: SMTP%"DBI-DEV@FUGUE.COM"

Hello everybody!

I have been following the dbperl/DBI discussion for some time,
but now I have got some questions and suggestions about 
further development(s).
First I'll try to shortly summarize the state of the project.
Please correct me if I misunderstood something. 

Short survey about involved components: 
                
   ---------------            ---------------
    oraperl appl.      ...      xyPerl Appl       
   ---------------            ---------------         
         |                           |                 
         |                           |                     
   ---------------            ---------------       ----------------- 
    oraperl Emul                xyPerl Emul          DBI Application  
   ---------------            ---------------       ----------------- 
         |                          |                 | 
         \-------------------\      |    /------------/   
                             |      |    |          
    DBI-Interface            |      |    |        
                             |      |    |    
                            ----------------
                               DBI                  
    DBD-Interface           ----------------     
                            | |          |     
          /-----------------/ |          |    
          |                   |          |    
   --------------    ---------------    ==============  
    DBD::Oracle       DBD::xy             DBD::ODBC    
   --------------    ---------------    ==============
                                              |
                                              |ODBC Interface
                                              | 
                                        ==============
                                         ODBC Driver- 
                                          Manager      
                                        ==============
                                          |    |   
                                 /--------/    |   
                                 |             |    
                           =============    ===========  
                            ODBC-Driver ... ODBC-Driver   
                            for Oracle       for DB xy   
                           =============    ===========


 * At the moment there exist:
    - the DBI (Driver Manager) by Tim Bunce
    - several DBDs (Database Drivers) (see 
       http://www.hermetica.com/technologia/DBI/ for details)
    - emulation layers like Oraperl emulation in order to 
      support old style access to databases 
      ( or is oraperl the only one?)

 * It is planed to use ODBC Driver Manager and Database Drivers
   in future. For motivation and details see
    http://www.hermetica.com/technologia/DBI/tidbits/new_directions.html
   or the README of the DBI.
     
   There already exists a free ODBC Driver Manager 
   (Ke Jin's (<kejin@empress.com> iODBC).
   Brian Jepson <bjepson@conan.ids.net> announced the Free ODBC
   Driver Pack project.  

 * J. Michael Mahan (mahan@nextwork.rose-hulman.edu) developed a 
   iODBC extension for perl (iodbc_ext_0_1). The interface 'is tied
   very close to the C-libraries' and it doesn't seem to work as 
   as a DBD at the moment. So perhaps this extension could be used
   as a layer between the DBD::ODBC and the ODBC Driver Manager 
   (as suggested by Michael). 
      
 * The DBI-Interface ist not stable, the documentation is out of 
   date, it is not recommended to use it for application development
   (the application interface, not the DBI itself!).
   The README of the DBI says: 
    WARNING: THIS SOFTWARE IS ABOUT TO CHANGE DRAMATICALLY!
   The interfaces of the emulations should be used instead. 

Fortunately ODBC is fully specified, so the process of developing
ODBC-Drivers and the work above the ODBC-Manager (specifying the 
API, developing the DBD) can be done independently. Let's talk 
about the latter.
  
The first question is: what will be the supported and documented API for
the application programmer?

The emulation layers will be supported in future, but I don't think 
that will be the interface (or am I totally wrong?).
Before dicussion about ODBC came up, I thought a simple
(almost returncode-ignoring) program would look more or less like:

	use DBI;
 
        $drh = DBI->install_driver("my_driver") 
                  || die "cannot load driver..";
        $dbh = $drh->connect("mydb","username","passwd") 
                  || die "cannot connect";
        $sth = $dbh->prepare("select this,that from exampletab") 
                  || die "cannot prepare";
        $sth->execute() || die "cannot execute" ;
        while (($thisval,$thatval) = $sth->fetch() ) {
          ...do something with thisval and thatval ...
        }
        $sth->finish();
        $dbh->commit();
        $dbh->disconnect();


But now we will be ODBC (or SQL CLI)-oriented!

I think we all agree with Tim who says we should now 'carefully define a 
fairly formal "perl language binding" for the SQL CLI/ODBC API'. 
  
We could have two extreme positions:

  1) We define the Perl-API strictly according to the C-Interface. 
     This way seems to be gone by J. Michael Mahan. He does not even omit
     the string-length-parameters.
     Disadvantage:  OO-features of Perl not used
                    Perl-features of Perl not used ;)
     Advantage   :  Not so much (almost none) extra documentation needed, old 
                       ODBC-programmers feel at home
                    simple implementation
                    
     The following example is a modified (simplified) version of an example
     from Michael's documentation (we ignore returncodes).  

	use iodbc;  

        SQLAllocEnv($henv);    	
	SQLAllocConnect($henv, $hdbc));
	SQLConnect($hdbc, "mydb",SQL_NTS,
                   "user", SQL_NTS, "passwd", SQL_NTS);
        SQLAllocStmt($hdbc,$hstmt);
	SQLExecDirect($hstmt, "select this,that from exampletab", SQL_NTS);
 	SQLBindCol($hstmt, 1, SQL_C_DEFAULT,\$thisval,30,SQL_NULL_DATA);
        SQLBindCol($hstmt, 2, SQL_C_DEFAULT,\$thatval,30,SQL_NULL_DATA);
        while (SQLFetch($hstmt)==SQL_SUCCESS){
          ..do something with thisval and thatval..
        }
        SQLFreeStmt($hstmt, SQL_DROP);
        SQLTranscact($henv,$hdbc,SQL_COMMIT);
        SQLDisconnect($hdbc);
        SQLFreeConnect($hdbc);
        SQLFreeEnv($henv);

  2) We define the Perl-API as we would like to have it using Perl's
     OO-features (and Perl's perl-features)

     Disadvantage:  more work specifying, documenting, implementing...
                    more time needed 
                    ODBC-programmers not at home
     Advantages:    better interface 

     We could have a look at the Java JDBC specification too
     (http://splash.javasoft.com/jdbc/). JDBC is a sort of Java-Version
     of ODBC, it is object-oriented and we could take some ideas from there.
     Let's have a look at (part of) a JDBC-Program (without exception
     handling and class definitions):

     	import java.sql.*
        ...
	Connection con = DriverManager.getConnection("...mydb...",
                                                     "user","passwd");
	Statement  st  = con.createStatement();
        ResultSet  rs  = st.executeQuery("select this,that from exampletab");
	while (rs.next()) {
	   String thisval = rs.getString(1);
           String thatval = rs.getString(2);
	   ... do something with thisval and thatval...
        }
        st.close();
        con.close();
        ...

     Doesn't it look more like the first example than like the second?

  I think we should choose a way between this two positions. We could 
start discussion with an API close the ODBC-C-API and then carefully
add modifications. Perhaps we should start with ODBC Core Level.
So at the end we might have a set of general rules how to call
ODBC-Functions from Perl. A programmer then only needs this
set of rules on his first knee, the ODBC-Spec on his second knee and
can start writing DBI-Programs (sometimes it would be good to have
more than only two knees ;) .
  A simple tutorial explaining core function would be helpful for those
without ODBC-experience. Perhaps this could be developed 
during API discussion.

An quickshot _example_:
-----------------------

If we take ODBC 2.0 Core Level and have some rules like 

 - model handles as  objects (suggested by Tim) 
 - omit input string length parameters (suggested by Tim)
 - omit both types of output string length parameters (hmmm...can we really?)
 - prefer returnings lists to modifying output parameters (why? why not-
    ist's an example)

we could end up with something like the following classes and
methods: 

Class Environment:
------------------
   Methods: - Connect($dsn,$user,$passwd)
              returns Connection object

            - Error()
              returns error-information as list of
               ($sqlstate,$nativeError,$errormsg)

              or better one method for each value?
            
            - FreeEnv()
              frees environment resources

Class Connection:
-----------------
   Methods: - AllocStmt()
              returns Statement object

            - Error()
              see above

            - Transact($taEndType)
              parameter must be SQL_COMMIT or SQL_ROLLBACK

            - Disconnect()
              disconnect from database 

            - FreeConnect()
              frees connection resources

Class Statement:
----------------
   Methods: - Prepare($sqlstring)
             
            - GetCursorName()
              returns associated cursor name

            - SetCursorName($cname)
              sets cursor name

            - Execute() 
              executes prepared statement

            - ExecDirect(sqlstring)
              executes sql statement

            - RowCount()
              returns number of rows affected by statement

            - NumResultCols()
              returns number of columns in result set

	    - DescribeCol($colunNo)
              returns columns description as a list of
                ($columnname,$sqltype,$precision,$scale,$nullable)

              or better one method for each value?

            - BindCol($columnNo,$resultvar)
              binds variable to result column

            - ColAttributes($solumnNo,$descType)
              return single description value for column. Valid
              values for $descTpe are SQL_COLUMN_COUNT, SQL_COLUMN_LENGTH,
              SQL_COLUMN_NAME, ...

            - Fetch()
              fetches next row of result data

            - Cancel()
              cancels processing of statement

            - Error()
              see above

            - FreeStmt()
              frees statement resources

  You can still recognize the ODBC API, use the ODBC docs, but wait:
What about ODBC returncodes? A variable like DBI::ODBC::retcode which 
has to be checked after each function call? Should we return to
output parameters and let the functions simply return native 
ODBC returncodes instead of objects? 


So I think the following first questions arise:

General questions:

 - Which Version of ODBC are we talking about? (2.0, 3.0, 3.5?) 
 - Which Level of API are we talking about ? Should we start with core level?
 

About API:
 
 - Should we model handles as objects?
 - Should we delete length parameters for input string parameters ? 
   (Yes, I think)
 - Can we delete length parameters for output string parameters? 
   
   An example: ODBC function SQLDescribeCol has parameters:

     SQLDescribeCol(hstmt,...,szColName,cbColNameMax,pcbColName,...) 
 
     with: hstmt[input]:	statement handle
	   szColName[output]:	pointer to storage for column name
	   cbColNameMax[input]: maximum length of szColName buffer , in bytes
	   pcbColName[output]:	number of bytes available to return in szColName
				szColname may be truncated if cbColNameMax is
            			greater or equal to cbColNameMax

     An DBD::ODBC could first allocate memeory which is normally sufficient
     for column names and call the ODBC function. If it detects that the
     length was not sufficient it could reallocate a greater string and
     recall the function. In Perl you wouldn't see anything of this.

 - Should we use normal returncodes and output parameters? 

Perhaps it is better to stop now before I get too confused or confusing.
What do you think about these questions?

And thanks to all who have done some (or a lot of) work
within this project

Regards

Dirk
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07932-0@oink>;
          Thu, 22 Aug 1996 14:12:05 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840719237:28425:3; Thu, 22 Aug 96 14:07:17 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa28278; 22 Aug 96 14:06 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa19282; 22 Aug 96 14:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id EAA04137 for dbi-dev-real; Thu, 22 Aug 1996 04:44:48 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pobox.ids.net (pobox.ids.net [155.212.1.122]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id EAA04133 
          for <dbi-dev@fugue.com>; Thu, 22 Aug 1996 04:44:47 -0700
Received: from bjepson (bjepson.tiac.net [207.60.59.166]) 
          by pobox.ids.net (8.7.5/8.7.3) with SMTP id HAA01167 
          for <dbi-dev@fugue.com>; Thu, 22 Aug 1996 07:44:05 -0400 (EDT)
Message-ID: <321C458D.71C5@ids.net>
Date: Thu, 22 Aug 1996 07:33:33 -0400
From: Brian Jepson <bjepson@ids.net>
Organization: SMT Computing Society
X-Mailer: Mozilla 2.01 (WinNT; I)
MIME-Version: 1.0
To: dbi-dev@fugue.com
Subject: FreeODBC Announcement
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

   The FreeODBC home page has been updated to include a list 
of short-term goals, team members, and delivery date. Check 
it out on:

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

-- 
========= Brian Jepson (bjepson@ids.net) =========
http://www.ids.net/~bjepson
 
_Java_Database_Programming_ table of contents:
http://www.ids.net/~bjepson/javadb


---+++---
Received: from 158.152.1.73 by oink with SMTP (PP) id <09377-0@oink>;
          Thu, 22 Aug 1996 18:00:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840731588:08879:2; Thu, 22 Aug 96 17:33:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08568; 22 Aug 96 17:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id JAA04702 for dbi-users-real; Thu, 22 Aug 1996 09:24:52 -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 JAA04698 
          for <dbi-users@fugue.com>; Thu, 22 Aug 1996 09:24:49 -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 RAA20137;
          Thu, 22 Aug 1996 17:24:45 +0100
Date: Thu, 22 Aug 1996 17:24:45 +0100
Message-Id: <1978.199608221624@bssmlsa.nerc-bas.ac.uk.nerc-bas.ac.uk>
From: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
To: holoch@ccnet.com
CC: dbi-users@fugue.com
In-reply-to: <199608221559.IAA09770@ccnet4.ccnet.com> (holoch@ccnet.com)
Subject: Re: Core dump checking for ORA-942
Reply-to: agw@mail.nerc-bas.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII

>>>>> ""Rich" == "Rich Holoch" <holoch@ccnet.com> writes:

    > I am trying to check to see if auto extend is turned on in one
    > of the many Oracle databases that I manage.  (Yes, I know how
    > dangerous it is to use Oracle's auto extend and tablespace
    > resize "features").  This section of code (DBI .68 + DBD .29)
    > causes a core dump:

I suggest you upgrade to the latest versions of the DBI and DBD/Oracle

   DBI-0.71

   DBD-Oracle-0.37

.... I do not think anybody will attempt to suggest a fix until you
do the upgrade .... which may well be the fix in itself :-)

Andy.

+--------------------------------------------+
|   Dr Andy Wood, Database Administrator     |
|   British  Antarctic  Survey               |
|   High Cross, Madingley Road            +----------------------------------+
|   Cambridge,   CB3 0ET,   UK            |    A.G.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 <10251-0@oink>;
          Thu, 22 Aug 1996 22:09:05 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840737873:06330:2; Thu, 22 Aug 96 19:17:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa05874; 22 Aug 96 19:17 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id LAA05154 for dbi-users-real; Thu, 22 Aug 1996 11:09:23 -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 LAA05150 
          for <dbi-users@fugue.com>; Thu, 22 Aug 1996 11:09:10 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id TAA25665; Thu, 22 Aug 1996 19:00:00 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608221800.TAA25665@fruitbat.mcqueen.com>
Subject: Re: Core dump checking for ORA-942
To: holoch@ccnet.com (Rich Holoch)
Date: Thu, 22 Aug 1996 18:59:59 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199608221559.IAA09770@ccnet4.ccnet.com> from "Rich Holoch" at Aug 22, 96 08:51:36 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: 520


> So there are two issues here - the core dump,  which isn't nice,  and then 
> the more basic question of how to trap 942 errors when querying internal 
> Oracle tables that contain dollar signs.

Take a look at Severe Mangler at:

	ftp://ftp.mcqueen.com/pub/database/dbatools

which has system table reading code that works in it.

> Rich

-- 
Alligator Descartes                                             Anathematician
descarte@hermetica.com					   Circuit VI Engineer
http://www.hermetica.com					     KEPhALH F
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <10251-8@oink>;
          Thu, 22 Aug 1996 22:09:30 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840746313:07369:1; Thu, 22 Aug 96 21:38:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa06511; 22 Aug 96 21:37 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id NAA05806 for dbi-users-real; Thu, 22 Aug 1996 13:29:22 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ono.tc.net (ono.tc.net [205.216.237.24]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA05802 
          for <dbi-users@fugue.com>; Thu, 22 Aug 1996 13:29:18 -0700
Received: (from doug@localhost) by ono.tc.net (8.7.4/8.7.3) id QAA31447;
          Thu, 22 Aug 1996 16:28:46 -0400
To: dbi-users@fugue.com
Subject: 'make test' fails: DBD-Informix-0.20pl1, Perl 5.003, Irix 6.2 (native 
         cc)
From: Douglas McNaught <doug@ono.tc.net>
Date: 22 Aug 1996 16:28:45 -0400
Message-ID: <m2sp9f88oy.fsf@ono.tc.net>
Lines: 57
X-Mailer: Gnus v5.2.39/Emacs 19.30

Hey now,

I'm trying to get the Informix interface code to work on an SGI
Challenge S running Irix 6.2. I had to hack the Makefile.PL to cope
with the 5.003 version of MakeMaker, and so the Makefile would look in
the site_perl directory for the DBI include files. The package
compiles (with a few pointer<->integer assignment warnings, which seem
to be caused by a lack of prototypes in dbdimp.h) but 'make test'
gives the following error:

signify 213# make test
        PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/IP22-irix/5.003 -I/usr/local/lib/perl5 test.pl
install_driver(Informix) failed: Can't load './blib/arch/auto/DBD/Informix/Informix.so' for module DBD::Informix: 22839:/usr/local/bin/perl: rld: Fatal Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: ASF_SigSwitch at /usr/local/lib/perl5/DynaLoader.pm line 140.

 at blib/lib/DBD/Informix.pm line 18
        DBI::install_driver called at test.pl line 10
Testing: DBI->install_driver( 'Informix' ): *** Error code 2 (bu21)

The only change I made to Makefile.PL (besides adding the site-perl
directory to the include path for dbdimp.c) was to remove the %att
from the import list for MakeMaker, since the 5.003 version of MM
doesn't export it.

Any suggestions are appreciated--I'm lost in the maze of dynamic
loading and can't figure out where the problem is.

I'm using DBI 0.71, and the Perl configuration is as follows:
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=irix, osver=6.2, archname=IP22-irix
    uname='irix signify 6.2 03131015 ip22 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc -32', optimize='-O', gccversion=
    cppflags='-D_BSD_TYPES -D_BSD_TIME -DLANGUAGE_C'
    ccflags ='-D_BSD_TYPES -D_BSD_TIME -Olimit 3000 -DLANGUAGE_C'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=1, d_casti32=define, d_castneg=
    intsize=4, alignbytes=8, usemymalloc=n, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =''
    libpth=/usr/lib /lib
    libs=-lmalloc -lsun -lm -lc -lcrypt -lbsd -lPW
    libc=/usr/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags=' ', lddlflags='-32 -shared'

@INC: /usr/local/lib/perl5/IP22-irix/5.003 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/IP22-irix /usr/local/lib/perl5/site_perl .



-- 
Doug McNaught    System and Network Manager   Telet Communications LLC

                -----           doug@tc.net           -----
		-----      http://www.telet.net/      -----
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10255-16@oink>;
          Thu, 22 Aug 1996 22:10:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840743939:03844:2; Thu, 22 Aug 96 20:58:59 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa03133; 22 Aug 96 20:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net 
          id aa23705; 22 Aug 96 20:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id MAA05553 for dbi-users-real; Thu, 22 Aug 1996 12:45:40 -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 MAA05549 
          for <dbi-users@fugue.com>; Thu, 22 Aug 1996 12:45:35 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12) 
          id UAA26125 for dbi-users@fugue.com; Thu, 22 Aug 1996 20:36:20 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199608221936.UAA26125@fruitbat.mcqueen.com>
Subject: ORA-942 stuff
To: dbi-users@fugue.com
Date: Thu, 22 Aug 1996 20:36:19 +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: 376


Just as an afterthought, why don't you just query one of the system tables,
instead of testing against an error status for the existence of the sys.filext$?
Wouldn't that make slightly more sense?

-- 
Alligator Descartes                                             Anathematician
descarte@hermetica.com					   Circuit VI Engineer
http://www.hermetica.com					     KEPhALH F
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11442-0@oink>;
          Thu, 22 Aug 1996 23:03:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 840750475:19195:1; Thu, 22 Aug 96 22:47:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18393; 22 Aug 96 22:46 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11) 
          id OAA06124 for dbi-users-real; Thu, 22 Aug 1996 14:42:10 -0700
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ndcrelay.mci.com (ndcrelay.mci.com [199.249.18.40]) 
          by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA06120 
          for <dbi-users@fugue.com>; Thu, 22 Aug 1996 14:42:06 -0700
Received: by ndcrelay.mci.com; (8.6.12/1.1.8.2/07Nov95-0827AM) id RAA28483;
          Thu, 22 Aug 1996 17:41:34 -0400
Received: from pop1a.mail.mci.com by ndcrelay.mci.com;
          (8.6.12/1.1.8.2/14Nov95-0411PM) id RAA27628;
          Thu, 22 Aug 1996 17:41:34 -0400
Received: from [166.32.66.67] by pop1a.mail.mci.com;
          (5.65v3.2/1.1.8.2/24Apr96-0705PM) id AA12764;
          Thu, 22 Aug 1996 16:41:32 -0500
Message-Id: <321CD449.F3F@mci.com>
Date: Thu, 22 Aug 1996 17:42:33 -0400
From: Eric Spotts <eric.spotts@mci.com>
Reply-To: eric.spotts@mci.com
X-Mailer: Mozilla 3.0 (Win95; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am trying to compile DBD for a Sun Solaris running Oracle 7.1.3.  It
chokes when trying to find 'proc.mk'.  Is this an Oracle file it's
looking for?  Which directory should it reside in?  I did a search and
it doesn't exist anywhere on our server.  Please advise.

Thanks for your help,

Eric Spotts
---+++---
