Received: from punt.demon.co.uk by oink with SMTP (PP) id <21069-0@oink>;
          Mon, 23 Sep 1996 20:07:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843505584:27713:3; Mon, 23 Sep 96 20:06:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27591; 23 Sep 96 20:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA05122 for dbi-users-real; Mon, 23 Sep 1996 08:10:30 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id IAA05118 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 08:10:28 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ah26464;
          23 Sep 96 12:30 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa04756; 23 Sep 96 12:25 BST
Received: from toad by oink with SMTP (PP) id <17399-0@oink>;
          Mon, 23 Sep 1996 12:24:49 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA13988;
          Mon, 23 Sep 1996 12:24:43 +0000
Date: Mon, 23 Sep 1996 12:24:43 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609231124.AA13988@toad.ig.co.uk>
To: dbi-users@fugue.com, arjen@diogenes.capvolmac.nl
Subject: Re: Retreiving international characters using DBD::Oracle
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Arjen Duursma <arjen@diogenes.capvolmac.nl>
> 
> We are using DBI/DBD with an Oracle database which contains
> eight bit characters. The DBD functions return a question mark (?)
> for each eight bit character found.

What DBD functions?

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21262-1@oink>;
          Mon, 23 Sep 1996 21:05:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843507417:08028:45; Mon, 23 Sep 96 20:36:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07728; 23 Sep 96 20:35 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id JAA05195 for dbi-users-real; Mon, 23 Sep 1996 09:10:32 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id JAA05191 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 09:10:30 -0700 (PDT)
Received: (from doug@localhost) by ono.tc.net (8.7.4/8.7.3) id MAA03774;
          Mon, 23 Sep 1996 12:09:29 -0400
To: dbi-users@fugue.com
Cc: Alligator Descartes <descarte@hermetica.com>
Subject: Re: ANNOUNCE: DBD::Informix-0.23 released
References: <199609102032.VAA16762@chewbacca.hermetica.com>
From: Douglas McNaught <doug@ono.tc.net>
Date: 23 Sep 1996 12:09:29 -0400
In-Reply-To: Alligator Descartes's message of Tue, 10 Sep 1996 21:32:21 +0100 (BST)
Message-ID: <m23f09b4cm.fsf@ono.tc.net>
Lines: 53
X-Mailer: Gnus v5.2.39/Emacs 19.30

Alligator Descartes <descarte@hermetica.com> writes:

> Yes! It's another one! This one should fix *all* the numeric datatypes
> ( although not all the datatypes ).
> 
> It also provides a clean build, which wasn't happening with 0.22, so I
> recommend upgrading.

It still doesn't install on Irix 6.2, with Informix ESQL/C
7.10.UC2 for Irix.  The compile and install go OK (modulo the 'esql'
glitch mentioned in the README), but 'make test' fails with the
following error:

-------------------------------------------------
signify 84# make test
        PERL_DL_NONLAZY=1 /usr/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: 14788:/usr/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)
-------------------------------------------------

What the hell is 'ASF_SigSwitch'?

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 <21924-22@oink>;
          Tue, 24 Sep 1996 00:27:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843512662:08092:42; Mon, 23 Sep 96 22:04:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07476; 23 Sep 96 22:02 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA05497 for dbi-users-real; Mon, 23 Sep 1996 11:20:27 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id LAA05493 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 11:20:25 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa06620;
          23 Sep 96 18:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae00950; 23 Sep 96 19:07 BST
Received: from toad by oink with SMTP (PP) id <20328-0@oink>;
          Mon, 23 Sep 1996 19:05:49 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14592;
          Mon, 23 Sep 1996 19:05:36 +0000
Date: Mon, 23 Sep 1996 19:05:36 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609231805.AA14592@toad.ig.co.uk>
To: dbi-users@fugue.com, takami@mikigw2.paris-miki.co.jp
Subject: Re: I can't pass the "make test".
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Takami Keiichi <takami@mikigw2.paris-miki.co.jp>
> 
> Why I can't make the DBD-Oracle-0.38?
> 
> >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: >relocationerror: symbol not found: sys_nerr at >/usr/local/lib/perl5/DynaLoader.pm line 140.
> 
> What's wrong with it ?

I don't know. Do what the README says to do.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21924-24@oink>;
          Tue, 24 Sep 1996 00:27:58 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843512762:08752:29; Mon, 23 Sep 96 22:06:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08479; 23 Sep 96 22:05 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA05747 for dbi-users-real; Mon, 23 Sep 1996 11:59:23 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from log03.nswses.navy.mil ([137.24.10.205]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id LAA05743 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 11:59:17 -0700 (PDT)
Received: from log03 (localhost) by log03.nswses.navy.mil 
          with SMTP (1.37.109.15/16.2) id AA223815607;
          Mon, 23 Sep 1996 12:06:47 -0700
Message-Id: <3246DFC6.6AAD@log03.nswses.navy.mil>
Date: Mon, 23 Sep 1996 12:06:46 -0700
From: "Douglas A. Stanley" <dougs@log03.nswses.navy.mil>
Organization: Intelligent Systems International
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/750)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD:Oracle on HPUX 9.04
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Will this (DBD:Oracle) run under HPUX 9.04, and if so, could you
point out any further resources regarding this.

Much Thanks

Doug Stanley
-- 
+-----------------------------------------+--------------------------+
|  Douglas A. Stanley                     |                          |
|  Intelligent Systems International      |        No Matter         |
|                                         |      Where You Go,       |
|        Work: (805) 982-4182             |                          |
|                                         |      There You Are       |
|         Fax: (805) 933-4294             |                          |
|      E-mail: dougs@vcnet.com            |                          |
+-----------------------------------------+--------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21924-26@oink>;
          Tue, 24 Sep 1996 00:28:03 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843512839:09161:21; Mon, 23 Sep 96 22:07:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09081; 23 Sep 96 22:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA05562 for dbi-users-real; Mon, 23 Sep 1996 11:32:13 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id LAA05558 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 11:31:54 -0700 (PDT)
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com) 
          by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA20851;
          Mon, 23 Sep 96 13:31:33 CDT
X-Sender: ice@camg2.mfg.mke.ab.com
Message-Id: <v03007807ae6c87cc6177@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 23 Sep 1996 13:31:37 -0500
To: dbi-users@fugue.com
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: Hermetica problems??

Tried accessing the DBI page at:

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

Got a 404 not found.  Has this moved?

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 <21924-30@oink>;
          Tue, 24 Sep 1996 00:28:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843513149:10941:23; Mon, 23 Sep 96 22:12:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10508; 23 Sep 96 22:11 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id JAA05276 for dbi-users-real; Mon, 23 Sep 1996 09:57:20 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from www.inventa.com (ftp.inventa.com [205.178.17.3]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id JAA05272 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 09:57:16 -0700 (PDT)
Received: from ccsmtp.inventa.com (205.178.17.100) 
          by www.inventa.com (EMWAC SMTPRS 0.80) with SMTP 
          id <B0000004884@www.inventa.com>; Sun, 22 Sep 1996 21:56:09 -0700
Received: from cc:Mail by ccsmtp.inventa.com id AA843497999;
          Sun, 22 Sep 96 21:53:21 PST
Date: Sun, 22 Sep 96 21:53:21 PST
From: fwong <fwong@ccsmtp.inventa.com>
Encoding: 170 Text
Message-Id: <9608238434.AA843497999@ccsmtp.inventa.com>
To: dbi-users@fugue.com
Subject: Install driver failed

Hi,

I've installed DBI-0.71 and DBD-0.38 on Solaris2.3 Sparc20
workstation. When I run my Perl script as follow, I got an error
- install driver failed. I have no idea how to fix it.
Can anyone help? 

Thank you,

This program is to execute SQL statement and retreive selected
data, and then generate into HTML document. 


#!/usr/bin/perl -w

use CGI;
use DBI;

$database = "INS01";
$username = "timesheet";
$password = "timesheet";

$drh = DBI->install_driver('Oracle');
$dbh = $drh->connect($database, $username, $password);

die "Cannot connect:$DBI::errstr\n" unless $dbh;

$cursor = $dbh->prepare("SELECT employee.employeename, 
                                hours_worked.projectnumber, 
                                hours_worked.sun+hours_worked.mon+
                                hours_worked.tue+hours_worked.wed+
                                hours_worked.wed+hours_worked.thr+
                                hours_worked.fri+hours_worked.sat 
                         FROM employee, hours_worked
                         WHERE employee.empnumber=hours_worked.empnumber
                         ORDER BY employee.employeename");

$cursor->execute;

$query = new CGI;

print $query->start_html(-BGCOLOR=>"#FDF5E6", -title=>'Timesheets Report');

$weekending = &showdate(`cat ../timesheet/currentdata/weekending`);
print "<H1><CENTER>Report order by employee</CENTER></H1>";

        print "<BR><CENTER><TABLE BORDER=0>
               <TR><TH>Employee Name</TH>
                   <TH>Project Number</TH>
                   <TH>Hours</TH></TR>";
        
while (($emp_name, $proj_num, $hours) = $cursor->fetchrow) {


        print "<TR><TD>$emp_name</TD>
                   <TD>$proj_num</TD>
                   <TD>$hours</TD>
               </TR></TABLE></CENTER>";


        print <<END;}


END

print $query->end_html;

$cursor->finish;

$dbh->disconnect;

exit;

_______________________ Forward Header _______________________

Subject: Delivery failure
Author:  postmaster@www.inventa.com at Internet
Date:    9/20/96 7:09 PM

Your message has encountered delivery problems to the following recipients:
dbi-users@fuge.com

Unable to deliver to destination domain
Cannot resolve fuge.com

Your message reads (in part):

Received: from ccsmtp.inventa.com (205.178.17.100) by www.inventa.com
 (EMWAC SMTPRS 0.80) with SMTP id <B0000004858@www.inventa.com>;
 Fri, 20 Sep 1996 08:05:18 -0700
Received: from cc:Mail by ccsmtp.inventa.com
 id AA843271579; Fri, 20 Sep 96 08:02:52 PST
Date: Fri, 20 Sep 96 08:02:52 PST
From: "fwong" <fwong@ccsmtp.inventa.com>
Encoding: 69 Text
Message-Id: <9608208432.AA843271579@ccsmtp.inventa.com>
To: dbi-users@fuge.com
Subject: install driver failed

Hi,

I've install DBI-0.71 and DBD-0.38 on Solaris2.3 workstation.
When I run my Perl script as follows, I got the error said
install driver failed. I don't understand why I get this error
because I did install the drvier.

Anyone can help me?

#!/usr/bin/perl -w

use CGI;
use DBI;

$database = "INS01";
$username = "timesheet";
$password = "timesheet";

$drh = DBI->install_driver('Oracle');
$dbh = $drh->connect($database, $username, $password);

die "Cannot connect:$DBI::errstr\n" unless $dbh;

$cursor = $dbh->prepare("SELECT employee.employeename, 
                                hours_worked.projectnumber, 
                                hours_worked.sun+hours_worked.mon+
                                hours_worked.tue+hours_worked.wed+
                                hours_worked.wed+hours_worked.thr+
                                hours_worked.fri+hours_worked.sat 
                         FROM employee, hours_worked
                         WHERE employee.empnumber=hours_worked.empnumber
                         ORDER BY employee.employeename");

$cursor->execute;


$query = new CGI;

print $query->start_html(-BGCOLOR=>"#FDF5E6", -title=>'Timesheets Report');

$weekending = &showdate(`cat ../timesheet/currentdata/weekending`);
print "<H1><CENTER>Report order by employee</CENTER></H1>";

        print "<BR><CENTER><TABLE BORDER=0>
               <TR><TH>Employee Name</TH>
                   <TH>Project Number</TH>
                   <TH>Hours</TH></TR>";
        
while (($emp_name, $proj_num, $hours) = $cursor->fetchrow) {


        print "<TR><TD>$emp_name</TD>
                   <TD>$proj_num</TD>
                   <TD>$hours</TD>
               </TR></TABLE></CENTER>";


        print <<END;}


END

print $query->end_html;

$cursor->finish;

$dbh->disconnect;

exit;



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21924-55@oink>;
          Tue, 24 Sep 1996 00:29:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843518107:08054:48; Mon, 23 Sep 96 23:35:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07944; 23 Sep 96 23:34 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA05903 for dbi-users-real; Mon, 23 Sep 1996 13:04:08 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id NAA05899 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 13:03:38 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id al06540;
          23 Sep 96 18:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa00950; 23 Sep 96 19:07 BST
Received: from toad by oink with SMTP (PP) id <19718-0@oink>;
          Mon, 23 Sep 1996 18:24:52 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14494;
          Mon, 23 Sep 1996 18:24:22 +0000
Date: Mon, 23 Sep 1996 18:24:22 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609231724.AA14494@toad.ig.co.uk>
To: arjen@diogenes.capvolmac.nl, robin@igis.se
Subject: Re: Retreiving international characters using DBD::Oracle
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Robin Langdon <robin@igis.se>
> 
> > We are using DBI/DBD with an Oracle database which contains
> > eight bit characters. The DBD functions return a question mark (?)
> > for each eight bit character found.
> 
> We had the same problem with character sets. Make sure the following
> environment vaiables are set:
> 
> NLS_LANG, ORA_NLS, ORA_NLS32 
> For Example,
>    $ENV{'NLS_LANG'}    = "american_america.we8iso8859p1";
>    $ENV{'ORA_NLS'}     = "/home/oracle/ocommon/nls/admin/data";
>    $ENV{'ORA_NLS32'}   = "/home/oracle/ocommon/nls/admin/data";
> 
> This forces Oracle to use 8 bit characters. There is actually nothing
> wrong with DBI/DBD.

Thanks. Added to the README.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21924-57@oink>;
          Tue, 24 Sep 1996 00:29:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843518182:08432:23; Mon, 23 Sep 96 23:36:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08291; 23 Sep 96 23:35 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id MAA05870 for dbi-users-real; Mon, 23 Sep 1996 12:54:47 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id MAA05858;
          Mon, 23 Sep 1996 12:54:42 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ab14317;
          23 Sep 96 19:07 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab25065; 23 Sep 96 20:07 BST
Received: from toad by oink with SMTP (PP) id <21041-0@oink>;
          Mon, 23 Sep 1996 20:02:45 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14945;
          Mon, 23 Sep 1996 20:02:38 +0000
Date: Mon, 23 Sep 1996 20:02:38 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609231902.AA14945@toad.ig.co.uk>
To: dbi-announce@fugue.com, mellon@fugue.com
Subject: Announce DBI-0.72
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Changes in DBI 0.72,    23 Sep 1996

    Using an undefined value as a handle now gives a better
    error message (mainly useful for emulators like Oraperl).
    $dbh->do($sql, $attribs, @params) now works for binding
    placeholders.

This is a minor release but the next DBD::Oracle (due very soon)
will require it (but only so a $dbh->do with bind params works).

It's on ftp.demon.co.uk /pub/perl/db/DBI/ now and will get to CPAN
sites in a day or three.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21924-59@oink>;
          Tue, 24 Sep 1996 00:29:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843518255:08783:9; Mon, 23 Sep 96 23:37:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08578; 23 Sep 96 23:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id MAA05876 for dbi-users-real; Mon, 23 Sep 1996 12:54:49 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id MAA05859 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 12:54:43 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ak10527;
          23 Sep 96 18:41 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa10915; 23 Sep 96 19:32 BST
Received: from toad by oink with SMTP (PP) id <20713-0@oink>;
          Mon, 23 Sep 1996 19:31:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14885;
          Mon, 23 Sep 1996 19:31:50 +0000
Date: Mon, 23 Sep 1996 19:31:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609231831.AA14885@toad.ig.co.uk>
To: dbi-users@fugue.com, dave_rattanni@sikorsky.com
Subject: Re: DBD::Oracle test.pl problem
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: dave_rattanni@sikorsky.com (Dave Rattanni)
> 
> Make test freezes during connect/close/reconnect test.
> I checked the FAQ and the README.
> Has anyone run into this one?

Try using the truss command to see what system call it hangs at
and what it's doing at the time.

I've known oracle to hang here due to buggy NFS lock deamons.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21924-61@oink>;
          Tue, 24 Sep 1996 00:29:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843518582:10345:6; Mon, 23 Sep 96 23:43:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09920; 23 Sep 96 23:41 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA06078 for dbi-users-real; Mon, 23 Sep 1996 13:36:09 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id NAA06074 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 13:35:56 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa06617;
          23 Sep 96 18:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad00950; 23 Sep 96 19:07 BST
Received: from toad by oink with SMTP (PP) id <20300-0@oink>;
          Mon, 23 Sep 1996 19:00:45 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14545;
          Mon, 23 Sep 1996 19:00:36 +0000
Date: Mon, 23 Sep 1996 19:00:36 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609231800.AA14545@toad.ig.co.uk>
To: dbi-users@fugue.com, fwong@ccsmtp.inventa.com
Subject: Re: HELP!! - PRomblem on DBD::Oracle0.38
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: fwong <fwong@ccsmtp.inventa.com>
> 
> Hi,
> 
> I've already installed DBI-0.71 on Solaris 2.3; however, I have a problem
> to install DBD::Oracle-0.38.
> 
> When I tried to build Makefile.PL, I received an error message as follows:
> "$ORACLE_HOME not defined. Searching for Oracle...
>  Unable to determine ORACLE_HOME at Makefile.PL line 53"
> 
> I checked the environment in the oracle and I found ORACLE_HOME was set.
> I don't understand why ORACLE_HOME was unable to define.

You probably need to 'export' the variable from your shell so that
sub processes can see it. Try doing an 'export ORACLE_HOME' before
running the perl Makefile.PL command.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23201-2@oink>;
          Tue, 24 Sep 1996 00:53:58 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843521872:23573:8; Tue, 24 Sep 96 00:37:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23331; 24 Sep 96 0:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA06485 for dbi-dev-real; Mon, 23 Sep 1996 14:46:01 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id OAA06473;
          Mon, 23 Sep 1996 14:45:46 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ac12135;
          23 Sep 96 21:17 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa17571; 23 Sep 96 21:08 BST
Received: from toad by oink with SMTP (PP) id <21321-0@oink>;
          Mon, 23 Sep 1996 21:08:03 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15146;
          Mon, 23 Sep 1996 21:07:55 +0000
Date: Mon, 23 Sep 1996 21:07:55 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609232007.AA15146@toad.ig.co.uk>
To: dbi-announce@fugue.com, mellon@fugue.com
Subject: Announce DBD-Oracle-0.39 / Oraperl 1.29
Cc: dbi-users@fugue.com, dbi-dev@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Changes in DBD::Oracle 0.39 (Oraperl 1.29), 23rd Sep 1996

    Fix for DEC "target := MACRO = string" Makefile syntax.
    Added README notes from Dave Moellenhoff, Lou Henefeld and others.
    Added README.login from James Taylor.
    Added README.client with various notes about building DBD::Oracle
    on minimaly configured client systems.
    Extra parameters to ora_do are now passed to DBI's do().
    (This is an extension to the original oraperl ora_do.)

The Makefile syntax change should fix "don't know what to link with"
problems.

This release does not include Davide Migliavacca's patch to switch
from obndrv() to obndra() based binding (related to blank stripping).
[See dbi-dev Message-id: <01BB891E.9895D100@aloxe.sys.inferentia.it>
Date: Tue, 13 Aug 1996 13:51:54 +-200 and related thread of messages.]

I would like to include it but I have not done so because it's behaviour
with regard to blank stripping is not defined in the Oracle OCI manuals.
Sigh.   [Anyone not understanding the above can safely ignore it :-]

I've uploaded it to ftp.demon.co.uk /pub/perl/db/DBD/Oracle as usual
and it should get to CPAN sites in a day or three.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23201-4@oink>;
          Tue, 24 Sep 1996 00:54:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843522024:24091:13; Tue, 24 Sep 96 00:40:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23929; 24 Sep 96 0:39 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA06415 for dbi-users-real; Mon, 23 Sep 1996 14:32:02 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bpt.sikorsky.com (sun1.bpt.sikorsky.com [140.76.29.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id OAA06411 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 14:32:00 -0700 (PDT)
Received: from sun89.sikorsky by bpt.sikorsky.com (SMI-8.6/SMI-SVR4) 
          id RAA16892; Mon, 23 Sep 1996 17:30:16 -0400
Received: by sun89.sikorsky (SMI-8.6/SMI-SVR4) id RAA00570;
          Mon, 23 Sep 1996 17:31:18 -0400
Date: Mon, 23 Sep 1996 17:31:18 -0400
From: dave_rattanni@sikorsky.com (Dave Rattanni)
Message-Id: <199609232131.RAA00570@sun89.sikorsky>
To: dbi-users@fugue.com, Tim.Bunce@ig.co.uk
Subject: Re: DBD::Oracle test.pl problem
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: YHdLiFSYabezZMui4YFFNQ==

> From Tim.Bunce@ig.co.uk Mon Sep 23 15:54 EDT 1996
> Date: Mon, 23 Sep 1996 19:31:50 +0000
> From: Tim Bunce <Tim.Bunce@ig.co.uk>
> To: dbi-users@fugue.com, dave_rattanni@sikorsky.com
> Subject: Re: DBD::Oracle test.pl problem
> 
> 
> > From: dave_rattanni@sikorsky.com (Dave Rattanni)
> > 
> > Make test freezes during connect/close/reconnect test.
> > I checked the FAQ and the README.
> > Has anyone run into this one?
> 
> Try using the truss command to see what system call it hangs at
> and what it's doing at the time.
> 
> I've known oracle to hang here due to buggy NFS lock deamons.
> 
> Tim.

The way we got around this one was to use the
following:

1. Originally we had:

$dbname = $ARGV[0] || 'sun8ora';  # $ENV{TWO_TASK} || $ENV{ORACLE_SID} || 'crgs';
$dbuser = $ENV{ORACLE_USERID} || 'silo/silo123';

2. This  worked:

$ENV{ORACLE_HOME} = '/usr/oracle' unless $ENV{ORACLE_HOME};

$dbname = $ARGV[0] || 'sun8ora'; # $ENV{TWO_TASK} || $ENV{ORACLE_SID} || 'crgs';
$dbuser = $ENV{ORACLE_USERID} || 'silo/silo123@sun8ora';


Here's a snippet of the truss before the control C :


******************************************************
write(3, " n s d o :   c i d = 0 ,".., 61)      = 61
lseek(3, 0, SEEK_CUR)                           = 32166
lseek(3, 0, SEEK_CUR)                           = 32166
write(3, " n s d o :   r a n k = 6".., 26)      = 26
lseek(3, 0, SEEK_CUR)                           = 32192
lseek(3, 0, SEEK_CUR)                           = 32192
write(3, " n s d o :   n s c t x :".., 40)      = 40
lseek(3, 0, SEEK_CUR)                           = 32232
lseek(3, 0, SEEK_CUR)                           = 32232
write(3, " n s d o :   e n t r y\n", 12)        = 12
lseek(3, 0, SEEK_CUR)                           = 32244
lseek(3, 0, SEEK_CUR)                           = 32244
write(3, " n s d o :   c i d = 0 ,".., 61)      = 61
lseek(3, 0, SEEK_CUR)                           = 32305
lseek(3, 0, SEEK_CUR)                           = 32305
write(3, " n s d o :   n s c t x :".., 40)      = 40
lseek(3, 0, SEEK_CUR)                           = 32345
lseek(3, 0, SEEK_CUR)                           = 32345
write(3, " n s d o :   g t n = 1 3".., 41)      = 41
lseek(3, 0, SEEK_CUR)                           = 32386
lseek(3, 0, SEEK_CUR)                           = 32386
write(3, " n s d o :   n o r m a l".., 18)      = 18
lseek(3, 0, SEEK_CUR)                           = 32404
lseek(3, 0, SEEK_CUR)                           = 32404
write(3, " n s d o f l s :   e n t".., 15)      = 15
lseek(3, 0, SEEK_CUR)                           = 32419
lseek(3, 0, SEEK_CUR)                           = 32419
write(3, " n s d o f l s :   D A T".., 26)      = 26
lseek(3, 0, SEEK_CUR)                           = 32445
lseek(3, 0, SEEK_CUR)                           = 32445
write(3, " n s d o o t s n d :   e".., 17)      = 17
lseek(3, 0, SEEK_CUR)                           = 32462
lseek(3, 0, SEEK_CUR)                           = 32462
write(3, " n s d o o t s n d :   n".., 23)      = 23
lseek(3, 0, SEEK_CUR)                           = 32485
lseek(3, 0, SEEK_CUR)                           = 32485
write(3, " n s d o f l s :   s e n".., 31)      = 31
lseek(3, 0, SEEK_CUR)                           = 32516
lseek(3, 0, SEEK_CUR)                           = 32516
write(3, " n s p s e n d :   e n t".., 15)      = 15
lseek(3, 0, SEEK_CUR)                           = 32531
lseek(3, 0, SEEK_CUR)                           = 32531
write(3, " n s p s e n d :   p l e".., 25)      = 25
lseek(3, 0, SEEK_CUR)                           = 32556
lseek(3, 0, SEEK_CUR)                           = 32556
write(3, " n t p w r :   e n t r y".., 13)      = 13
write(10, "\0\n\0\006\0\0\0\0 @", 10)           = 10
    Received signal #18, SIGCLD [caught]
      siginfo: SIGCLD CLD_EXITED pid=1148 status=0x0000
sigaction(SIGCLD, 0xDFFFE2F8, 0xDFFFE378)       = 0

************************************************
Hope someone can determine what it is doing, I can't.
Let me know if I can assist.

Regards,

Dave
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23201-6@oink>;
          Tue, 24 Sep 1996 00:54:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843522163:24610:1; Tue, 24 Sep 96 00:42:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24520; 24 Sep 96 0:42 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA06378 for dbi-users-real; Mon, 23 Sep 1996 14:26:29 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id OAA06374 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 14:26:27 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by fruitbat.mcqueen.com (8.7.6/8.6.12) with ESMTP id WAA10200;
          Mon, 23 Sep 1996 22:17:39 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id WAA03164; Mon, 23 Sep 1996 22:24:59 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609232124.WAA03164@chewbacca.hermetica.com>
Subject: Re: Hermetica problems??
To: cmice@mfg.mke.ab.com (Christopher Ice)
Date: Mon, 23 Sep 1996 22:24:58 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <v03007807ae6c87cc6177@[130.151.91.215]> from "Christopher Ice" at Sep 23, 96 01:31:37 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


> Tried accessing the DBI page at:
> 
> http://www.hermetica.com/technologia/DBI/
> 
> Got a 404 not found.  Has this moved?

Yup. Try:

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

> Chris

-- 
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 <23201-8@oink>;
          Tue, 24 Sep 1996 00:54:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843522385:25470:0; Tue, 24 Sep 96 00:46:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25139; 24 Sep 96 0:45 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA06498 for dbi-users-real; Mon, 23 Sep 1996 14:47:48 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id OAA06473;
          Mon, 23 Sep 1996 14:45:46 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ac12135;
          23 Sep 96 21:17 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa17571; 23 Sep 96 21:08 BST
Received: from toad by oink with SMTP (PP) id <21321-0@oink>;
          Mon, 23 Sep 1996 21:08:03 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15146;
          Mon, 23 Sep 1996 21:07:55 +0000
Date: Mon, 23 Sep 1996 21:07:55 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609232007.AA15146@toad.ig.co.uk>
To: dbi-announce@fugue.com, mellon@fugue.com
Subject: Announce DBD-Oracle-0.39 / Oraperl 1.29
Cc: dbi-users@fugue.com, dbi-dev@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Changes in DBD::Oracle 0.39 (Oraperl 1.29), 23rd Sep 1996

    Fix for DEC "target := MACRO = string" Makefile syntax.
    Added README notes from Dave Moellenhoff, Lou Henefeld and others.
    Added README.login from James Taylor.
    Added README.client with various notes about building DBD::Oracle
    on minimaly configured client systems.
    Extra parameters to ora_do are now passed to DBI's do().
    (This is an extension to the original oraperl ora_do.)

The Makefile syntax change should fix "don't know what to link with"
problems.

This release does not include Davide Migliavacca's patch to switch
from obndrv() to obndra() based binding (related to blank stripping).
[See dbi-dev Message-id: <01BB891E.9895D100@aloxe.sys.inferentia.it>
Date: Tue, 13 Aug 1996 13:51:54 +-200 and related thread of messages.]

I would like to include it but I have not done so because it's behaviour
with regard to blank stripping is not defined in the Oracle OCI manuals.
Sigh.   [Anyone not understanding the above can safely ignore it :-]

I've uploaded it to ftp.demon.co.uk /pub/perl/db/DBD/Oracle as usual
and it should get to CPAN sites in a day or three.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23225-0@oink>;
          Tue, 24 Sep 1996 00:58:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843522968:27560:3; Tue, 24 Sep 96 00:56:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27209; 24 Sep 96 0:55 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA06462 for dbi-users-real; Mon, 23 Sep 1996 14:44:20 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from steel.datasci.co.uk (steel.datasci.co.uk [146.89.1.3]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id OAA06458 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 14:44:16 -0700 (PDT)
Received: from msmailgate.datasci.co.uk (msmailgate.datasci.co.uk [146.89.17.21]) 
          by mailhost.datasci.co.uk (8.7.5/8.7.3) with SMTP id WAA01167 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 22:41:39 +0100
Received: by msmailgate.datasci.co.uk with Microsoft Mail 
          id <324774B2@msmailgate.datasci.co.uk>; Mon, 23 Sep 96 22:42:10 PDT
From: Fairey Simon <S.Fairey@datasci.co.uk>
To: 'Perl DB Users' <dbi-users@fugue.com>
Subject: Failed build of DBD::Informix v0.23 on RS6000 running AIX 325
Date: Mon, 23 Sep 96 22:39:00 PDT
Message-ID: <324774B2@msmailgate.datasci.co.uk>
Encoding: 101 TEXT
X-Mailer: Microsoft Mail V3.0


Apologies if this has appeared before bit of confusion with addresses

Hi,

The following are the results of a attempt to install the Informix extension 
to Perl5.
Hopefully all the required information is present:
     Results of 'perl Makefile.PL'
     Results of 'make'
     My configuration.
I have the latest version 0.71 of DBI installed.
Full Informix version is 5.05.
If any thing else is required I will be only to happy to supply further 
details.
I just cannot seem to find which library the missing functions are in.

Any help is greatly appreciated.

Simon
PS: I hope the line lengths are ok, I didn't want to mutilate the results at 
all.
PPS: I am also assuming this is the correct place to send such a problem?

 --------------------------------
Configuring DBD::Informix version 0.23...
Remember to actually read the README file!

What version of Informix are you using? [5/6/7] Using Informix version 5 in 
/usr2/sf/informix
Informix sysliblist: -L/usr2/sf/informix/lib/esql -lsql -lgen -los -lm
System: perl5.003 aix isis 2 3 002031727500  aix dl_aix.xs
Compiler: cc -O -D_ALL_SOURCE -I/usr/local/include -D_NO_PROTO

Checking if your kit is complete...
Warning: the following files are missing in your kit:
     Makefile
     Makefile.old
Please inform the author.
Writing Makefile for DBD::Informix
 --------------------------------
cp Informix.pm ./blib/lib/DBD/Informix.pm
     /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_VARS" => []);'
     /bin/perl -I/usr/local/lib/perl5/aix/5.003 -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/usr2/sf/informix/incl/esql 
 -I/usr/local/lib/perl5/aix/5.003/DBI 
 -I/usr/local/lib/perl5/site_perl/aix/DBI -D_ALL_SOURCE -I/usr/local/include 
 -D_NO_PROTO -O     -DVERSION=\"0.23\"  -DXS_VERSION=\"0.23\" 
 -I/usr/local/lib/perl5/aix/5.003/CORE  Informix.c
     esql -c  -I/usr2/sf/informix/include -I/usr/local/lib/perl5 
 -I/usr/local/lib/perl5/aix/5.003 -I/usr/local/lib/perl5/site_perl/aix/DBI 
 -I/usr/local/lib/perl5/aix/5.003/CORE dbdimp.ec
Running Mkbootstrap for DBD::Informix ()
     chmod 644 Informix.bs
     LD_RUN_PATH="/usr2/sf/informix/lib/esql:/lib" ld -o 
./blib/arch/auto/DBD/Informix/Informix.so -H512 -T512 -bhalt:4 -bM:SRE 
 -bI:/usr/local/lib/perl5/aix/5.003/CORE/perl.exp -bE:Informix.exp -e 
_nostart -lc -L/usr/local/lib Informix.o  dbdimp.o dbdimp.o 
 -L/usr2/sf/informix/lib -L/usr2/sf/informix/lib -lbsd 
  -L/usr2/sf/informix/lib/esql -lsql -lgen -los -lm
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.
.__divss
.__mulh
.__divus
The error code from the last failed command is 8.

Make Quitting.
 --------------------------------
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=aix, osver=3.2.4, archname=aix
    uname='aix isis 2 3 002031727500 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_ALL_SOURCE -I/usr/local/include -D_NO_PROTO'
    ccflags ='-D_ALL_SOURCE -I/usr/local/include -D_NO_PROTO'
    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='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-ldbm -lld -lm -lc -lbsd -lPW
    libc=/usr/lib/libc.a, so=so
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=, ccdlflags='-bE:perl.exp'
    cccdlflags=' ', lddlflags='-H512 -T512 -bhalt:4 -bM:SRE 
 -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -e _nostart -lc 
 -L/usr/local/lib'
 --------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24326-0@oink>;
          Tue, 24 Sep 1996 07:36:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843523130:28277:21; Tue, 24 Sep 96 00:58:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28089; 24 Sep 96 0:57 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA06575 for dbi-users-real; Mon, 23 Sep 1996 14:56:55 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from alpha.cyberplex.com ([207.81.40.2]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id OAA06571 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 14:56:53 -0700 (PDT)
Received: by alpha.cyberplex.com; (5.65/1.1.8.2/07Feb96-0624PM) id AA09964;
          Mon, 23 Sep 1996 17:56:45 -0400
From: Craig Rodrigues <craig@cyberplex.com>
Message-Id: <9609232156.AA09964@alpha.cyberplex.com>
Subject: DBD Informix-> I don't have ESQL, what now?
To: dbi-users@fugue.com
Date: Mon, 23 Sep 1996 17:56:44 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

I got my manager to buy me Informix-SE for OSF/1 (Digital Unix).
However, I did not know that this package did not come with C libraries
(apparently, this stuff is in the ESQL add-on package).

I would really like to get DBD Informix to work, but apparently, I am
missing some libraries.
Has someone out there got DBD Informix working with Digital Unix?
Can you tell me how I can do this?
Thanks.
-- 
Craig Rodrigues                     CyberPlex Interactive Media
Application Programmer              24 Duncan St., Suite 300
                                    Toronto ON  M5V 2B8   CANADA
craig@cyberplex.com                 (416) 597-8889(voice) (416)597-2345(fax)
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24326-7@oink>;
          Tue, 24 Sep 1996 07:36:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843527431:12560:15; Tue, 24 Sep 96 02:10:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12517; 24 Sep 96 2:10 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id PAA06684 for dbi-users-real; Mon, 23 Sep 1996 15:23:12 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id PAA06677 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 15:22:58 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id am15826;
          23 Sep 96 19:20 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa03738; 23 Sep 96 19:13 BST
Received: from toad by oink with SMTP (PP) id <20417-0@oink>;
          Mon, 23 Sep 1996 19:12:06 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14627;
          Mon, 23 Sep 1996 19:11:51 +0000
Date: Mon, 23 Sep 1996 19:11:51 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609231811.AA14627@toad.ig.co.uk>
To: descarte@hermetica.com, anne@netquest.com
Subject: Re: DBI fetchrow question
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: anne@netquest.com (Rickert, Anne )
> 
> I'd like to implement a "see next 20 records" type of function on 
> a Web page which displays the results of a Select using DBI/DBD Oracle.
> Will "fetchrow" allow me to specify a start/end index for a cursor

No.

> or is there another way to do this?

Nothing internal.

> Also, how can I determine the
> total number of returned records without counting through them?

You can't.

Few major SQL API offer this kind of functionality. Those that do
do it the hard way but hide that from you.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24326-25@oink>;
          Tue, 24 Sep 1996 07:38:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843533674:29268:4; Tue, 24 Sep 96 03:54:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29173; 24 Sep 96 3:53 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id RAA07221 for dbi-users-real; Mon, 23 Sep 1996 17:36:33 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id RAA07213;
          Mon, 23 Sep 1996 17:36:30 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ae27637;
          24 Sep 96 1:00 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad29599; 24 Sep 96 0:53 BST
Received: from toad by oink with SMTP (PP) id <23179-0@oink>;
          Tue, 24 Sep 1996 00:52:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15450;
          Tue, 24 Sep 1996 00:52:27 +0000
Date: Tue, 24 Sep 1996 00:52:27 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609232352.AA15450@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Re: Announce DBI-0.72
Cc: Jazman56@aol.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


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

From Jazman56@aol.com  Tue Sep 24 00:31:21 1996
Date: Mon, 23 Sep 1996 17:40:29 -0400
From: Jazman56@aol.com
To: Tim.Bunce@ig.co.uk
Subject: Re: Announce DBI-0.72

Shut up!  Unsubscribe


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

Ah. Jazman.

Let me resend the instructions on how to unsubscribe since it
would appear that you did not get the last copy I sent you.

I'll spell this out for you... You need to read, understand and
follow these instructions. If they don't work for you then, and only
then, send a message to dbi-users@fugue.com stating, politely,
exactly what the problem was when you tried to unsubscribe.

Please note that I personally do not control or maintain the
mailing list.

Tim.


----- 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 <24326-35@oink>;
          Tue, 24 Sep 1996 07:39:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843544380:23716:7; Tue, 24 Sep 96 06:53:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23672; 24 Sep 96 6:52 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id UAA07514 for dbi-users-real; Mon, 23 Sep 1996 20:51:35 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id UAA07510 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 20:51:34 -0700 (PDT)
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail.austin.ibm.com (8.6.12/8.6.11) with ESMTP id WAA107390;
          Mon, 23 Sep 1996 22:51:32 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) id WAA21306;
          Mon, 23 Sep 1996 22:51:32 -0500 (CDT)
Message-Id: <199609240351.WAA21306@dax.austin.ibm.com>
To: Fairey Simon <S.Fairey@datasci.co.uk>
cc: 'Perl DB Users' <dbi-users@fugue.com>
Subject: Re: Failed build of DBD::Informix v0.23 on RS6000 running AIX 325
In-reply-to: Your message of Mon, 23 Sep 96 22:39:00 -0800. <324774B2@msmailgate.datasci.co.uk>
Date: Mon, 23 Sep 96 22:51:31 -0500


Fairey Simon <S.Fairey@datasci.co.uk>  writes:
|>      LD_RUN_PATH="/usr2/sf/informix/lib/esql:/lib" ld -o 
|> ./blib/arch/auto/DBD/Informix/Informix.so -H512 -T512 -bhalt:4 -bM:SRE 
|>  -bI:/usr/local/lib/perl5/aix/5.003/CORE/perl.exp -bE:Informix.exp -e 
|> _nostart -lc -L/usr/local/lib Informix.o  dbdimp.o dbdimp.o 
|>  -L/usr2/sf/informix/lib -L/usr2/sf/informix/lib -lbsd 
|>   -L/usr2/sf/informix/lib/esql -lsql -lgen -los -lm

This tells me that you are running on an AIX 3.2.x system, where
x is probably less than 5 or you are running a down level 
compiler.

|> 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.
|> .__divss
|> .__mulh
|> .__divus

These are 3 of about 6 symbols that appear when one uses the common
mode compiler for AIX.  Unfortunately, Informix has put together
the code with the common mode compiler and you don't have it on
your system.

Let me look up the address for those symbols tomorrow at the office
and I will send details on how to make it work.

Mike
----------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content 
mhm@austin.ibm.com                | of this posting is independent of 
Modeling, Analysis, and Compilers | official IBM position.
IBM Corporation, Austin, Texas    |

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24326-38@oink>;
          Tue, 24 Sep 1996 07:40:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843544443:23891:8; Tue, 24 Sep 96 06:54:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23762; 24 Sep 96 6:53 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id UAA07522 for dbi-users-real; Mon, 23 Sep 1996 20:58:10 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail1.austin.ibm.com (netmail1.austin.ibm.com [129.35.208.96]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id UAA07518 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 20:58:09 -0700 (PDT)
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail1.austin.ibm.com (8.6.12/8.6.11) with ESMTP id WAA26597;
          Mon, 23 Sep 1996 22:58:08 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) id WAA15960;
          Mon, 23 Sep 1996 22:58:07 -0500 (CDT)
Message-Id: <199609240358.WAA15960@dax.austin.ibm.com>
To: Fairey Simon <S.Fairey@datasci.co.uk>
cc: 'Perl DB Users' <dbi-users@fugue.com>
Subject: Re: Failed build of DBD::Informix v0.23 on RS6000 running AIX 325
In-reply-to: Your message of Mon, 23 Sep 96 22:39:00 -0800. <324774B2@msmailgate.datasci.co.uk>
Date: Mon, 23 Sep 96 22:58:06 -0500


Create a file called /usr/lib/lowsys.exp, with the following
contents:
________ CUT HERE_____
#!
__mulh			0x3100
__mull			0x3180
__divss			0x3200
__divus			0x3280
__quoss			0x3300
__quous			0x3380
________ CUT HERE_____

Mike
----------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content 
mhm@austin.ibm.com                | of this posting is independent of 
Modeling, Analysis, and Compilers | official IBM position.
IBM Corporation, Austin, Texas    |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26109-9@oink>;
          Tue, 24 Sep 1996 10:37:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843552031:18362:3; Tue, 24 Sep 96 09:00:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18261; 24 Sep 96 9:00 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id XAA07735 for dbi-users-real; Mon, 23 Sep 1996 23:00:49 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id XAA07731 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 23:00:45 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id aa21665;
          23 Sep 96 19:45 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa12996; 23 Sep 96 19:37 BST
Received: from toad by oink with SMTP (PP) id <20741-0@oink>;
          Mon, 23 Sep 1996 19:36:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14891;
          Mon, 23 Sep 1996 19:36:50 +0000
Date: Mon, 23 Sep 1996 19:36:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609231836.AA14891@toad.ig.co.uk>
To: dbi-users@fugue.com, garth@comm.mot.com
Subject: Re: DBD-Oracle-0.38 (HPUX 10.2 and Ora 7.3.2.2) Fail at Build Test
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Garth Kennedy <garth@comm.mot.com>
> 
> > Try using TWO_TASK not ORACLE_SID. See README.login.

> did not see a file called README.login. I did look at the
> notes related to login issues in the README - no help

README.login is in recent releases.

> > I'll need a core dump. See README.
> 
> Yes, I know. I tried several things because the procedure 
> n the README doesnt work, unfortunatly nothing I tried worked 
> either.

Talk to a local sys admin type.

> I tried a couple of things which so far dont look right.
> (The fall back echo('$c')| adb ./perl core came up with nothing)
> The following is a typical message (xdb)
> ---------------------------------------------
> Do you want to save a backup copy of the core file? y
> Core file saved as "core11356"
> Registers bad in core file (UE644)
> Error trying to read "core"; ignoring it (UE646)
> WARNING: /opt/langtools/lib/end.o was not linked with this program (UE836)
> 	 Shared-library debugging cannot be made available (UE837)

Try manually adding that to the list of objects in the generated Makefile
(O_FILES=... I think).

> comments about instructions in README.
> 1. someplace I ran across a string that looked like perl-g
>    the Makefile (.aperl ?) instruction was like $PERL)XXX
> 
> 2. by default the -g gets put with the ld flags, which 
>    does not work. (I manually put it with the CCFLAGS
>    and removed -O from OPTIMIZE - since they are in-compatible.)
> 
> I dont know at this point where the problem(s) are.

Neither do i.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26109-11@oink>;
          Tue, 24 Sep 1996 10:37:31 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843552606:20871:22; Tue, 24 Sep 96 09:10:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20764; 24 Sep 96 9:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id WAA07693 for dbi-users-real; Mon, 23 Sep 1996 22:46:24 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id WAA07689 
          for <dbi-users@fugue.com>; Mon, 23 Sep 1996 22:46:20 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ak27698;
          24 Sep 96 1:00 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab29599; 24 Sep 96 0:53 BST
Received: from toad by oink with SMTP (PP) id <23155-0@oink>;
          Tue, 24 Sep 1996 00:47:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15442;
          Tue, 24 Sep 1996 00:46:55 +0000
Date: Tue, 24 Sep 1996 00:46:55 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609232346.AA15442@toad.ig.co.uk>
To: dbi-users@fugue.com, dougs@log03.nswses.navy.mil
Subject: Re: DBD:Oracle on HPUX 9.04
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From owner-dbi-users@fugue.com  Tue Sep 24 00:31:14 1996
> Sender: owner-perldb-interest@fugue.com
> Date: Mon, 23 Sep 1996 12:06:46 -0700
> From: "Douglas A. Stanley" <dougs@log03.nswses.navy.mil>
> Organization: Intelligent Systems International
> Mime-Version: 1.0
> To: dbi-users@fugue.com
> Subject: DBD:Oracle on HPUX 9.04
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> 
> Will this (DBD:Oracle) run under HPUX 9.04, and if so, could you
> point out any further resources regarding this.
> 
> Much Thanks
> 
> Doug Stanley
> -- 
> +-----------------------------------------+--------------------------+
> |  Douglas A. Stanley                     |                          |
> |  Intelligent Systems International      |        No Matter         |
> |                                         |      Where You Go,       |
> |        Work: (805) 982-4182             |                          |
> |                                         |      There You Are       |
> |         Fax: (805) 933-4294             |                          |
> |      E-mail: dougs@vcnet.com            |                          |
> +-----------------------------------------+--------------------------+

Yes.

Pre-canned reply:

Perl4 database interfaces such as oraperl and ingperl will not work
with Perl5.  A new database independent standard interface is being
developed for Perl5.

An oracle module which uses that interface is being developed.
The oracle module includes an oraperl emulation interface.

Drivers are also currently being developed for Ingres, mSQL, DB2,
Informix, and QuickBase.  Other drivers will be developed over time.

Alpha releases of the DBI and DBD::Oracle modules are available from
ftp.demon.co.uk in /pub/perl/db/ but are not recommended for production
use at this time.  The archive is also mirrored by CPAN sites.

NOTE: The DBI is to change into an ODBC based interface. This will
change the DBI interface in some ways but should not affect emulation
interfaces such as Oraperl.

For more information and to keep informed about progress you can join
the mailing list via http://www.fugue.com/dbi (if you are unable to use
the web you can subscribe by sending a message to dbi-request@fugue.com,
it may take a few days to be processed).

Much useful information and online archives of the mailing lists can be
found at http://www.hermetica.com/technologia/DBI

All discussion related to this work should take place on the mailing list.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27908-23@oink>;
          Tue, 24 Sep 1996 18:04:04 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843576076:15537:31; Tue, 24 Sep 96 15:41:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15346; 24 Sep 96 15:40 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id DAA08051 for dbi-users-real; Tue, 24 Sep 1996 03:55:25 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id DAA08047 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 03:55:20 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by fruitbat.mcqueen.com (8.7.6/8.6.12) with ESMTP id LAA11819 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 11:46:26 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id LAA03880 for dbi-users@fugue.com; Tue, 24 Sep 1996 11:53:45 +0100
Received: from fruitbat.mcqueen.com (fruitbat.mcqueen.com [193.133.160.246]) 
          by chewbacca.hermetica.com (8.7.5/8.6.12) with ESMTP id RAA02648 
          for <descarte@chewbacca.hermetica.com>;
          Mon, 23 Sep 1996 17:09:35 +0100
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.7.6/8.6.12) 
          id RAA09265 for descarte@chewbacca.hermetica.com;
          Mon, 23 Sep 1996 17:02:08 +0100 (BST)
Received: from ono.tc.net (ono.tc.net [205.216.237.24]) 
          by fruitbat.mcqueen.com (8.7.6/8.6.12) with ESMTP id RAA09262 
          for <descarte@hermetica.com>; Mon, 23 Sep 1996 17:01:55 +0100 (BST)
Received: (from doug@localhost) by ono.tc.net (8.7.4/8.7.3) id MAA03774;
          Mon, 23 Sep 1996 12:09:29 -0400
To: dbi-users@fugue.com
Cc: Alligator Descartes <descarte@hermetica.com>
Subject: Re: ANNOUNCE: DBD::Informix-0.23 released
References: <199609102032.VAA16762@chewbacca.hermetica.com>
From: Douglas McNaught <doug@ono.tc.net>
Date: 23 Sep 1996 12:09:29 -0400
In-Reply-To: Alligator Descartes's message of Tue, 10 Sep 1996 21:32:21 +0100 (BST)
Message-ID: <m23f09b4cm.fsf@ono.tc.net>
Lines: 53
X-Mailer: Gnus v5.2.39/Emacs 19.30

Alligator Descartes <descarte@hermetica.com> writes:

> Yes! It's another one! This one should fix *all* the numeric datatypes
> ( although not all the datatypes ).
> 
> It also provides a clean build, which wasn't happening with 0.22, so I
> recommend upgrading.

It still doesn't install on Irix 6.2, with Informix ESQL/C
7.10.UC2 for Irix.  The compile and install go OK (modulo the 'esql'
glitch mentioned in the README), but 'make test' fails with the
following error:

-------------------------------------------------
signify 84# make test
        PERL_DL_NONLAZY=1 /usr/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: 14788:/usr/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)
-------------------------------------------------

What the hell is 'ASF_SigSwitch'?

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 <29237-0@oink>;
          Tue, 24 Sep 1996 18:25:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843585782:12474:150; Tue, 24 Sep 96 18:23:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08309; 24 Sep 96 18:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id GAA08214 for dbi-users-real; Tue, 24 Sep 1996 06:48:20 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id GAA08210 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 06:48:14 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by fruitbat.mcqueen.com (8.7.6/8.6.12) with ESMTP id OAA12340;
          Tue, 24 Sep 1996 14:39:21 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id OAA04163; Tue, 24 Sep 1996 14:46:39 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609241346.OAA04163@chewbacca.hermetica.com>
Subject: Re: Hermetica problems??
To: sailer@sun10.sep.bnl.gov (Tim Sailer)
Date: Tue, 24 Sep 1996 14:46:36 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <9609241258.AA06692@sun10.sep.bnl.gov.sep> from "Tim Sailer" at Sep 24, 96 08:58:53 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


> > > Got a 404 not found.  Has this moved?
> > 
> > Yup. Try:
> > 
> > 	http://www.hermetica.com/technologia/DBI/index.html
> 
> I get the following:
> 
> 
> 404 Not Found
> 
> URL '/technologia/DBI/index.html' cannot be found. 
> 
> Please refer to http://www.homepages.demon.co.uk/errors/404.html for a list of possible
> reasons for this error. 

Bizarre. That URL works fine in Lynx, but doesn't in Netscape........Most odd.
Try:

	http://www.istellar.demon.co.uk/technologia/DBI

for the moment until I find out from Demon why the aliasing doesn't seem to
work under Netscrape.

> Tim

-- 
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 <01454-14@oink>;
          Wed, 25 Sep 1996 07:37:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843587922:27879:184; Tue, 24 Sep 96 18:58:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27614; 24 Sep 96 18:54 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA08420 for dbi-users-real; Tue, 24 Sep 1996 08:25:00 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.brainstorm.net (mail.brainstorm.net [205.164.112.2]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id IAA08416 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 08:24:59 -0700 (PDT)
Received: from [205.178.22.15] (only.if.net [205.178.22.15]) 
          by mail.brainstorm.net (8.7.4/8.6.9) with ESMTP id IAA01839 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 08:24:28 -0700 (PDT)
X-Sender: thorman@netcom.com
Message-Id: <v0300780dae6dbab0204b@[205.178.22.15]>
In-Reply-To: <199609241346.OAA04163@chewbacca.hermetica.com>
References: <9609241258.AA06692@sun10.sep.bnl.gov.sep> from "Tim Sailer" at Sep 24,
            96 08:58:53 am
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 24 Sep 1996 08:25:51 -0800
To: dbi-users@fugue.com
From: Chris Thorman <ct@if.net>
Subject: Setting up DBD:Oracle

Hi,

I am having a hard time getting Oracle to tell me what calling interfaces
are available for what versions of their product.  I want to make Oracle
database calls from Perl and maybe C....

1) from a process running on the same machine, and
2) from a process running on a different machine on the network.

What Oracle product do I need (Enterprise or Workgroup)?  Which platforms
(machines) have users on this list had success with?  Are there any secrets
to squeezing the necessary libraries/headers out of those ...ehem... bozos
in the Oracle sales department?

-c


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-17@oink>;
          Wed, 25 Sep 1996 07:38:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843587932:27872:187; Tue, 24 Sep 96 18:58:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27795; 24 Sep 96 18:55 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA08375 for dbi-users-real; Tue, 24 Sep 1996 08:09:25 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zaphod.axion.bt.co.uk (zaphod.axion.bt.co.uk [132.146.5.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id IAA08371 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 08:09:05 -0700 (PDT)
Received: from GFMS35.gfms.bt.co.uk by zaphod.axion.bt.co.uk with SMTP (PP);
          Tue, 24 Sep 1996 16:08:03 +0100
From: Rob Willett <willett@gfms.bt.co.uk>
Date: Tue, 24 Sep 96 16:05:19 BST
Message-Id: <266.9609241505@GFMS35.gfms.bt.co.uk>
Received: from BTPON2.bt.co.uk by GFMS35.gfms.bt.co.uk;
          Tue, 24 Sep 96 16:05:19 BST
To: dbi-users@fugue.com
Subject: DBD-Oracle 0.38 on AIX 3.2.5
Cc: beggs@gfms.bt.co.uk


Hi folks. My coleague is experiencing the same problem building with DBD 0.38 
as I have seen on earlier posts about 0.36 ie 

Unresolved or undefined symbols

.....


The -bloadmap:<filename> option will create a load map


I beleive this was fixed in 0.37, but has it crept back in?

Can someone tell us what the likely cause is?

Cheers 

Rob Willett
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-30@oink>;
          Wed, 25 Sep 1996 07:40:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843590662:16128:45; Tue, 24 Sep 96 19:44:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15901; 24 Sep 96 19:43 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA08489 for dbi-users-real; Tue, 24 Sep 1996 08:47:55 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from berk.mail.netforce.net (berk.mail.netforce.net [194.73.237.3]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id IAA08485 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 08:47:52 -0700 (PDT)
Received: from nfg013.i.netforce.net (gateway-1-e0.route.netforce.net [194.73.236.7]) 
          by berk.mail.netforce.net (8.7.5/8.7.3) with SMTP id QAA16279 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 16:49:20 +0100
Received: by nfg013.i.netforce.net with Microsoft Mail 
          id <01BBAA38.10E2A540@nfg013.i.netforce.net>;
          Tue, 24 Sep 1996 16:47:26 +0100
Message-ID: <01BBAA38.10E2A540@nfg013.i.netforce.net>
From: Mathew Booth <mbooth@netforce.net>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: dbi-users@fugue.com
Date: Tue, 24 Sep 1996 16:47:24 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

dbi-users@fugue.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-34@oink>;
          Wed, 25 Sep 1996 07:41:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843592862:00180:33; Tue, 24 Sep 96 20:21:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00078; 24 Sep 96 20:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id JAA08606 for dbi-users-real; Tue, 24 Sep 1996 09:23:25 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.gnac.com (gw.gnac.com [130.93.130.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id JAA08602 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 09:23:23 -0700 (PDT)
Received: (from hogan@localhost) by gw.gnac.com (8.7.5/8.7.3) id JAA04772;
          Tue, 24 Sep 1996 09:23:17 -0700 (PDT)
Date: Tue, 24 Sep 1996 09:23:17 -0700 (PDT)
From: Emmett Hogan <hogan@GNAC.com>
Message-Id: <199609241623.JAA04772@gw.gnac.com>
Organization: Global Networking and Computing, Inc.
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
To: dbi-users@fugue.com, Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Still no luck in DBD:Oracle login delays....

I am about to pull out my rapidly disappearing hair over this.

I am using:

Perl Version 5.0003
Oraperl Emulation Interface version 1.29 
Oracle Driver 0.39
DBI-0.71 Switch by Tim Bunce, version 0.71

and my "ora_logins" are taking over a minute to complete !

Tim previous suggested that it *might* be thrashing due to low
memory, but no such luck, as it exhibits the same behavior on
a Sun with 64M (most of which is available).

I used "strace" to follow the system calls and found that everything
seems to move along just fine until right after it reads the passwd
file, at which time it starts bouncing back and forth between
"sigblock([BUS])" and "sigblock([SEGV])". Here is a snippet from 
the strace log. Note that it closes /etc/passwd, so I don't think the
problem is there), I am just not sure what it is trying to do after that
which is throwing it into this loop.

Is there any way to turn on some level of debugging (oracle, sqlnet,
DBI/DBD, etc.) prior to login?  Seems kinda difficult to debug a login
problem if you have to wait to use: $dbh->debug(2);

Has anyone else seen this behavior?

Thanks,
Emmett

......[ Everything looks "normal" up to this point ].....
open("/etc/passwd", O_RDONLY)           = 5
ioctl(5, TCGETA, 0xefffeacc)            = -1 ENOTTY (Inappropriate ioctl
for device)
fstat(5, {st_mode=S_IFREG|0644, st_size=1001, ...}) = 0
read(5, "root:5v9e3HQXKpOQg:0:1:Operator:"..., 8192) = 1001
lseek(5, -362, SEEK_CUR)                = 639
close(5)                                = 0
getpid()                                = 17551 (ppid 17550)
sigblock([BUS])                         = 0 (old mask [])
sigvec(SIGBUS, {0x6fe9f1ec, [], 0}, {0x6ff68c48, [], SV_INTERRUPT}) = 0
sigvec(SIGBUS, {0x6ff68c48, [], 0}, NULL) = 0
sigsetmask([])                          = 0x200 (old mask [BUS])
sigblock([SEGV])                        = 0 (old mask [])
sigvec(SIGSEGV, {0x6fe9f1ec, [], 0}, {0x6ff68c48, [], SV_INTERRUPT}) = 0
sigvec(SIGSEGV, {0x6ff68c48, [], 0}, NULL) = 0
sigsetmask([])                          = 0x400 (old mask [SEGV])
sigsetmask([])                          = 0 (old mask [])
sigblock([BUS])                         = 0 (old mask [])
sigvec(SIGBUS, {0x31228, [], 0}, {0x6ff68c48, [], 0}) = 0
sigvec(SIGBUS, {0x6ff68c48, [], 0}, NULL) = 0
sigsetmask([])                          = 0x200 (old mask [BUS])
sigblock([SEGV])                        = 0 (old mask [])
sigvec(SIGSEGV, {0x31228, [], 0}, {0x6ff68c48, [], 0}) = 0
sigvec(SIGSEGV, {0x6ff68c48, [], 0}, NULL) = 0
sigsetmask([])                          = 0x400 (old mask [SEGV])
sysconf(_SC_ARG_MAX)                    = 1048576
sigblock([BUS])                         = 0 (old mask [])
sigvec(SIGBUS, {0x6fe9f1ec, [], 0}, {0x6ff68c48, [], 0}) = 0
sigvec(SIGBUS, {0x6ff68c48, [], 0}, NULL) = 0
sigsetmask([])                          = 0x200 (old mask [BUS])
sigblock([SEGV])                        = 0 (old mask [])
sigvec(SIGSEGV, {0x6fe9f1ec, [], 0}, {0x6ff68c48, [], 0}) = 0
sigvec(SIGSEGV, {0x6ff68c48, [], 0}, NULL) = 0
sigsetmask([])                          = 0x400 (old mask [SEGV])
sigsetmask([])                          = 0 (old mask [])
sigblock([BUS])                         = 0 (old mask [])

.....[this continues on for over 10M !]...

Here is the little script I am using to test:

#!/usr/local/bin/perl5
# -*- Perl -*-
###########################################

$ENV{TNS_ADMIN} = "/usr/local/lib";

# Just to make sure these aren't getting in the way...
$ENV{TWO_TASK} = "";
$ENV{ORACLE_SID} = "";

if ( $] >= 5 ) {
  eval '$Oraperl::safe = 1';
  eval 'use Oraperl';
}

&ora_version;

$dbh = &ora_login( '','user/passwd@database','');

die "ora_login: $ora_errno: $ora_errstr\n" unless $dbh;
print "Successfully logged into: frontend/backend\@halo !\n";

&ora_logoff($dbh);

print "Successfully logged off of: user/passwd\@database !\n";

exit;

-- 

Emmett Hogan
Global Networking and Computing
Inet: Hogan@gnac.com
ICBM: 37d 33' 47" N, 122d 19' 28" W
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-45@oink>;
          Wed, 25 Sep 1996 07:42:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843597130:23909:11; Tue, 24 Sep 96 21:32:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23578; 24 Sep 96 21:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id KAA08876 for dbi-users-real; Tue, 24 Sep 1996 10:48:17 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id KAA08872 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 10:48:07 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa29336;
          24 Sep 96 17:46 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa18220; 24 Sep 96 18:19 BST
Received: from toad by oink with SMTP (PP) id <28935-0@oink>;
          Tue, 24 Sep 1996 18:17:25 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16584;
          Tue, 24 Sep 1996 18:17:02 +0000
Date: Tue, 24 Sep 1996 18:17:02 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609241717.AA16584@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: ODBC module?
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


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

From HowroydM@logica.com  Tue Sep 24 18:15:42 1996
From: "Howroyd Mark (PC)" <HowroydM@logica.com>
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: ODBC module?
Date: Tue, 24 Sep 96 12:39:00 bst
Encoding: 47 TEXT


Do you know where I can get an ODBC module from
 - if one exists yet  :-)


Regards,
Mark

 ----------
From: Tim Bunce
To: dbi-users@fugue.com
Cc: Howroyd Mark (PC)
Subject: DB Perl for SQL server?
Date: Wednesday, September 18, 1996 7:29PM

Forwarded to dbi-users.

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

>From HowroydM@uk.logica.com  Wed Sep 18 18:03:25 1996
From: "Howroyd Mark (PC)" <HowroydM@UK.Logica.com>
To: 'Tim Bunce' <Tim.Bunce@ig.co.uk>
Subject: DB Perl for SQL server?
Date: Wed, 18 Sep 1996 13:43:00 +0100
Encoding: 13 TEXT

Tim,

You may not be the person to answer this but I see that you have written
some db drivers for use with DB Perl, so I thought you may know.

Do you know what modules are available for using DB Perl with an SQL
Server database + where I might get hold of  them?


Regards,
Mark

email: howroydm@logica.com


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

Nothing for DBI but take a look at the Sybase modules in the Module List.
I think they can talk to SQL Server.

Tim.


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

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-47@oink>;
          Wed, 25 Sep 1996 07:42:31 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843597150:23910:32; Tue, 24 Sep 96 21:32:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23441; 24 Sep 96 21:30 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA09020 for dbi-users-real; Tue, 24 Sep 1996 11:26:14 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from stimpy.quickquote.com ([206.99.110.20]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id LAA09016 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 11:26:11 -0700 (PDT)
Received: (from dahl@localhost) by stimpy.quickquote.com (8.7.5/8.7.3) 
          id LAA12583; Tue, 24 Sep 1996 11:22:15 -0700 (PDT)
From: Michael Dahl <dahl@quickquote.com>
Message-Id: <199609241822.LAA12583@stimpy.quickquote.com>
Subject: Re: Setting up DBD:Oracle
To: ct@if.net (Chris Thorman)
Date: Tue, 24 Sep 1996 11:22:15 -0700 (PDT)
Cc: dbi-users@fugue.com
In-Reply-To: <v0300780dae6dbab0204b@[205.178.22.15]> from "Chris Thorman" at Sep 24, 96 08:25:51 am
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

Chris,

I just installed the Workgroup server on Solaris 2.5.

The Workgroup server includes the OCI libraries which allows you to
call the database from Perl using the DBI/DBD packages.  To embed SQL
statements in C programs, you will also need to buy the PRO*C compiler.

I was able to build the DBD-Oracle package without PRO*C using the
oracle.mk script in place of proc.mk.  My thanks to Rick Silterra
rs@cci.com for this tip.  To do this, use the following command to 
create the DBD-Oracle makefile:

	perl Makefile.PL -m /db/oracle7/rdbms/demo/oracle.mk

We also found the Workgroup server to be easier to install than the 
Enterprise server.

Michael Dahl
dahl@quickquote.com

> Hi,
> 
> I am having a hard time getting Oracle to tell me what calling interfaces
> are available for what versions of their product.  I want to make Oracle
> database calls from Perl and maybe C....
> 
> 1) from a process running on the same machine, and
> 2) from a process running on a different machine on the network.
> 
> What Oracle product do I need (Enterprise or Workgroup)?  Which platforms
> (machines) have users on this list had success with?  Are there any secrets
> to squeezing the necessary libraries/headers out of those ...ehem... bozos
> in the Oracle sales department?
> 
> -c
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-54@oink>;
          Wed, 25 Sep 1996 07:43:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843598481:02169:4; Tue, 24 Sep 96 21:54:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01601; 24 Sep 96 21:53 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA09124 for dbi-users-real; Tue, 24 Sep 1996 11:58:18 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from albaycin (albaycin.moebius.es [194.224.91.3]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id LAA09115;
          Tue, 24 Sep 1996 11:57:58 -0700 (PDT)
Received: by albaycin (SMI-8.6/SMI-SVR4) id UAA17615;
          Tue, 24 Sep 1996 20:56:33 -0100
Date: Tue, 24 Sep 1996 20:56:33 -0100
From: trivi@moebius.es (Ignacio Trivio)
Message-Id: <199609242156.UAA17615@albaycin>
To: dbi-users-request@fugue.com
Subject: unsubscribe
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-56@oink>;
          Wed, 25 Sep 1996 07:43:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843598558:02168:58; Tue, 24 Sep 96 21:55:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02185; 24 Sep 96 21:54 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id MAA09167 for dbi-users-real; Tue, 24 Sep 1996 12:02:03 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id MAA09163 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 12:02:01 -0700 (PDT)
Received: from franklin.vf.lmco.com ([166.17.5.51]) 
          by dekalb.vf.mmc.com (8.7.5/8.7.3) with ESMTP id PAA05878 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 15:01:58 -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 PAA09081 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 15:01:58 -0400 (EDT)
Received: from valerie by atl.lmco.com (8.6.13/ATL 1.14) with SMTP id PAA23037;
          Tue, 24 Sep 1996 15:00:58 -0400
Message-ID: <32482FE8.4FDF@atl.lmco.com>
Date: Tue, 24 Sep 1996 15:00:56 -0400
From: Bob Hackenberg <rhackenb@atl.lmco.com>
Organization: Advanced Technology Laboratories
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Re: Hermetica problems??
References: <199609241346.OAA04163@chewbacca.hermetica.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I tried

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

from Netscape and also got the same error but had no trouble getting to
it from Lynx.  I think the problem is with Netscape because we are
experiencing other odd Netscape Browser/Server caching problems that
can't be explained.  In our case the Netscape browser is finding files
that are not even there (even with the cache empty and turned off). 
Other browsers (Mosaic and Lynx) have no problem.  You may want to
contact Netscape and report the bug.


> Bizarre. That URL works fine in Lynx, but doesn't in Netscape........Most odd.
> Try:
> 
>         http://www.istellar.demon.co.uk/technologia/DBI
> 
> for the moment until I find out from Demon why the aliasing doesn't seem to
> work under Netscrape.
> 
> > Tim
> 

-- 

Bob Hackenberg            | rhackenb@atl.lmco.com
Advanced Technology Labs  | Voice:   609-338-3918 
A&E-3W                    | Fax:     609-338-4122
1 Federal St.             | Marcall: 8*794-3918
Camden, NJ 08102          | N2HSK
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-67@oink>;
          Wed, 25 Sep 1996 07:45:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843602651:27990:41; Tue, 24 Sep 96 23:04:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27977; 24 Sep 96 23:03 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id MAA09354 for dbi-users-real; Tue, 24 Sep 1996 12:57:09 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id MAA09350 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 12:57:08 -0700 (PDT)
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 PAA09876;
          Tue, 24 Sep 1996 15:48:01 -0400
Message-ID: <32483DE0.892@medg.lcs.mit.edu>
Date: Tue, 24 Sep 1996 16:00:32 -0400
From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
Organization: Children's Hospital Informatics Program
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: Emmett Hogan <hogan@GNAC.com>
CC: dbi-users@fugue.com, Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Re: Still no luck in DBD:Oracle login delays....
References: <199609241623.JAA04772@gw.gnac.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hlo,

	Yes, I'm having the same problem with the same config.

	Oraperl obtains the $dbh much faster.

Comments:
	1.	Why does it read the passwd file at all?
	
	2.   I presume the slow sequence of syscalls are taking place in the
call: 
	DBD::Oracle""db::_login($this, $dbname, $user, $auth) 

because thats where I see the slowdown when I run it through the
debugger.

	3.  I have two database which I connect to (from the sparc which runs
the perl code). One of the instances runs on a fast, unloaded
alpha(OpenVMS) running the Multithreaded Server. The other instance runs
on a production machine(alos OpenVMS) which tends to be loaded and has a
single-threaded server.

	The connect to the unloaded machine is substantially faster than the
connect to the production machine. 

	The speedup may be due to the factors I've mentioned (unloaded and
quick m/c versus loaded, production m/c) but I wonder if the Oraperl
emulation expects a MTS at the other end and slows down otherwise???



Emmett Hogan wrote:
> 
> I am about to pull out my rapidly disappearing hair over this.
> 
> I am using:
> 
> Perl Version 5.0003
> Oraperl Emulation Interface version 1.29
> Oracle Driver 0.39
> DBI-0.71 Switch by Tim Bunce, version 0.71
> 
> and my "ora_logins" are taking over a minute to complete !
> 
> Tim previous suggested that it *might* be thrashing due to low
> memory, but no such luck, as it exhibits the same behavior on
> a Sun with 64M (most of which is available).
> 
> I used "strace" to follow the system calls and found that everything
> seems to move along just fine until right after it reads the passwd
> file, at which time it starts bouncing back and forth between
> "sigblock([BUS])" and "sigblock([SEGV])". Here is a snippet from
> the strace log. Note that it closes /etc/passwd, so I don't think the
> problem is there), I am just not sure what it is trying to do after that
> which is throwing it into this loop.
> 
> Is there any way to turn on some level of debugging (oracle, sqlnet,
> DBI/DBD, etc.) prior to login?  Seems kinda difficult to debug a login
> problem if you have to wait to use: $dbh->debug(2);
> 
> Has anyone else seen this behavior?
> 
> Thanks,
> Emmett
> 

Taranga Ghosh

Tel: 617 355 8544			Fax: 617 355 8405
E-mail:tghosh@medg.lcs.mit.edu

Children's Hospital Informatics Program
224 Wolbach Bldg Children's Hospital
300 Longwood Ave
Boston MA 02115
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-69@oink>;
          Wed, 25 Sep 1996 07:45:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843602840:29220:30; Tue, 24 Sep 96 23:07:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29124; 24 Sep 96 23:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA09369 for dbi-users-real; Tue, 24 Sep 1996 13:05:44 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id NAA09365 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 13:05:42 -0700 (PDT)
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 QAA12427;
          Tue, 24 Sep 1996 16:06:29 -0400 (EDT)
Message-Id: <199609242006.QAA12427@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: Emmett Hogan <hogan@GNAC.com>
cc: dbi-users@fugue.com
Subject: Re: Still no luck in DBD:Oracle login delays....
In-reply-to: Your message of "Tue, 24 Sep 1996 09:23:17 PDT." <199609241623.JAA04772@gw.gnac.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 24 Sep 1996 16:05:11 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

> I am about to pull out my rapidly disappearing hair over this.
> 
> I am using:
> 
> Perl Version 5.0003
> Oraperl Emulation Interface version 1.29 
> Oracle Driver 0.39
> DBI-0.71 Switch by Tim Bunce, version 0.71
> 
> and my "ora_logins" are taking over a minute to complete !
> 
What version of Oracle are you running? Tim, do you ask for this in the 
README? Anyway, if its 7.3, then have you tried setting TWO_TASK to your 
SQLNet alias?
John


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-71@oink>;
          Wed, 25 Sep 1996 07:45:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843603059:00733:28; Tue, 24 Sep 96 23:10:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00163; 24 Sep 96 23:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id MAA09346 for dbi-users-real; Tue, 24 Sep 1996 12:53:56 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id MAA09342 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 12:53:50 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by fruitbat.mcqueen.com (8.7.6/8.6.12) with ESMTP id UAA13935;
          Tue, 24 Sep 1996 20:45:02 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id UAA04754; Tue, 24 Sep 1996 20:52:15 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609241952.UAA04754@chewbacca.hermetica.com>
Subject: Re: Still no luck in DBD:Oracle login delays....
To: hogan@GNAC.com (Emmett Hogan)
Date: Tue, 24 Sep 1996 20:50:59 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199609241623.JAA04772@gw.gnac.com> from "Emmett Hogan" at Sep 24, 96 09:23:17 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


[snip]

> and my "ora_logins" are taking over a minute to complete !

[snip]

How long does SQL*Plus take to connect? Try altering the init.ora of the
database by adding the line 'sql_trace = true', then restarting the instance.
Try running the script again, which will generate a logfile in 'user_dump_dest'.
Stuff that through tkprof and see which statements are bottlenecking.

It could be any number of things, from SQL*Net problems, to having no 
non-system-owned rollback segments online.

> Emmett

-- 
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 <01454-87@oink>;
          Wed, 25 Sep 1996 07:47:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843606407:19019:26; Wed, 25 Sep 96 00:06:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18948; 25 Sep 96 0:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA09552 for dbi-users-real; Tue, 24 Sep 1996 13:57:19 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from stimpy.quickquote.com ([206.99.110.20]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id NAA09548 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 13:57:18 -0700 (PDT)
Received: (from dahl@localhost) by stimpy.quickquote.com (8.7.5/8.7.3) 
          id NAA15693 for dbi-users@fugue.com;
          Tue, 24 Sep 1996 13:53:26 -0700 (PDT)
From: Michael Dahl <dahl@quickquote.com>
Message-Id: <199609242053.NAA15693@stimpy.quickquote.com>
Subject: Anyone know of a dbm interface to Oracle?
To: dbi-users@fugue.com
Date: Tue, 24 Sep 1996 13:53:26 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

Does anyone know of a Perl module that would reroute dbm calls to an
Oracle database instead of unix files.  I think this would need to
be built on top of the DBI/DBD-Oracle routines.

We have a bunch of Perl code that currently uses dbm calls we would like
to hack into the database without taking the time to convert now.

Thanks for the help.

Michael Dahl
dahl@quickquote.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-89@oink>;
          Wed, 25 Sep 1996 07:47:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843606475:19308:7; Wed, 25 Sep 96 00:07:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18891; 25 Sep 96 0:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA09558 for dbi-users-real; Tue, 24 Sep 1996 13:57:28 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id NAA09554 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 13:57:25 -0700 (PDT)
Received: from DGS (dgs.dgsys.com) by DGS.dgsys.com (5.0/SMI-SVR4) id AA18160;
          Tue, 24 Sep 1996 16:54:28 -0400
Date: Tue, 24 Sep 1996 16:54:27 -0400 (EDT)
From: Robert Nicholson <steffi@DGS.dgsys.com>
X-Sender: steffi@DGS
To: dbi-users@fugue.com
Subject: out parameters of stored procedures?
Message-Id: <Pine.SOL.3.94.960924165332.6364A-100000@DGS>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi, will the oraperl interface support returing values via
out parameters?

I'd really like to prototype the ProC stuff in OraPerl if I could

Cheers.


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-95@oink>;
          Wed, 25 Sep 1996 07:48:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843608913:00755:20; Wed, 25 Sep 96 00:48:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00591; 25 Sep 96 0:47 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA09830 for dbi-users-real; Tue, 24 Sep 1996 14:44:45 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from www.digiserve.com (digiserve.com [204.91.84.212]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id OAA09826 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 14:44:43 -0700 (PDT)
Received: from mwa152259.emeryworld.com (mailserver.cnf.com [205.185.108.11]) 
          by www.digiserve.com (8.6.12/8.6.12) with SMTP id RAA18669;
          Tue, 24 Sep 1996 17:46:12 -0400
Message-ID: <32485656.5E88@yasd.com>
Date: Tue, 24 Sep 1996 14:44:54 -0700
From: Shelley Powers <shelleyp@yasd.com>
Reply-To: shelleyp@yasd.com
Organization: YASD Web Development
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Bob Hackenberg <rhackenb@atl.lmco.com>
CC: dbi-users@fugue.com
Subject: Re: Hermetica problems??
References: <199609241346.OAA04163@chewbacca.hermetica.com> <32482FE8.4FDF@atl.lmco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am also having the problem of accessing the site 
from Internet Explorer.  One thing I am beginning to suspect
is the fact I am going through a proxy.  Will try
from diff machine later.

Anyone else having problems access the www.hermetica.com site
from IE 3.0?

Shelley

Bob Hackenberg wrote:
> 
> I tried
> 
>   http://www.hermetica.com/technologia/DBI/index.html
> 
> from Netscape and also got the same error but had no trouble getting to
> it from Lynx.  I think the problem is with Netscape because we are
> experiencing other odd Netscape Browser/Server caching problems that
> can't be explained.  In our case the Netscape browser is finding files
> that are not even there (even with the cache empty and turned off).
> Other browsers (Mosaic and Lynx) have no problem.  You may want to
> contact Netscape and report the bug.
> 
> > Bizarre. That URL works fine in Lynx, but doesn't in Netscape........Most odd.
> > Try:
> >
> >         http://www.istellar.demon.co.uk/technologia/DBI
> >
> > for the moment until I find out from Demon why the aliasing doesn't seem to
> > work under Netscrape.
> >
> > > Tim
> >
> 
> --
> 
> Bob Hackenberg            | rhackenb@atl.lmco.com
> Advanced Technology Labs  | Voice:   609-338-3918
> A&E-3W                    | Fax:     609-338-4122
> 1 Federal St.             | Marcall: 8*794-3918
> Camden, NJ 08102          | N2HSK
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-97@oink>;
          Wed, 25 Sep 1996 07:49:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843608914:00754:11; Wed, 25 Sep 96 00:48:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00594; 25 Sep 96 0:47 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA09836 for dbi-users-real; Tue, 24 Sep 1996 14:45:41 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nander.cscaper.com (nander.cscaper.com [206.67.186.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id OAA09832 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 14:45:40 -0700 (PDT)
Received: from gadget.cscaper.com (gadget.cscaper.com [206.67.186.3]) 
          by nander.cscaper.com (8.7.1/8.7.1) with SMTP id OAA20689;
          Tue, 24 Sep 1996 14:45:47 -0700 (MST)
Received: by gadget.cscaper.com (SMI-8.6/SMI-SVR4) id OAA01413;
          Tue, 24 Sep 1996 14:41:36 -0700
To: Bob Hackenberg <rhackenb@atl.lmco.com>
Cc: dbi-users@fugue.com
Subject: Re: Hermetica problems??
References: <199609241346.OAA04163@chewbacca.hermetica.com> <32482FE8.4FDF@atl.lmco.com>
From: Randal Schwartz <merlyn@stonehenge.com>
Date: 24 Sep 1996 14:41:36 -0700
In-Reply-To: Bob Hackenberg's message of Tue, 24 Sep 1996 15:00:56 -0400
Message-ID: <8cenjroajz.fsf@gadget.cscaper.com>
Lines: 72
X-Mailer: Gnus v5.2.40/Emacs 19.34

>>>>> "Bob" == Bob Hackenberg <rhackenb@atl.lmco.com> writes:

Bob> I tried
Bob>   http://www.hermetica.com/technologia/DBI/index.html

Bob> from Netscape and also got the same error but had no trouble getting to
Bob> it from Lynx.  I think the problem is with Netscape because we are
Bob> experiencing other odd Netscape Browser/Server caching problems that
Bob> can't be explained.  In our case the Netscape browser is finding files
Bob> that are not even there (even with the cache empty and turned off). 
Bob> Other browsers (Mosaic and Lynx) have no problem.  You may want to
Bob> contact Netscape and report the bug.

Well, by telnetting into the server, I've observed that it's not a
very good (read: "non-RFC-conforming") server.

HTTP/0.9 is rejected with:

Output> Trying 194.222.233.177...
Output> Connected to www.istellar.demon.co.uk.
Output> Escape character is '^]'.
Output> GET /technologia/DBI/index.html


Output> HTTP/1.0 400 Cache Detected Error
Output> Content-type: text/html

Output> <TITLE>ERROR: Invalid HTTP Request</TITLE>
Output> <H2>Invalid HTTP Request</H2>
Output> <HR>
Output> <PRE>
Output> GET /technologia/DBI/index.html

Output> </PRE>
Output> <HR>
Output> <ADDRESS>
Output> Generated by squid/1.0.0@www.homepages.demon.co.uk
Output> </ADDRESS>

Output> Connection closed by foreign host.

Clearly illegal.  And HTTP/1.0 seems to be OK:

Output2> Trying 194.222.233.177...
Output2> Connected to www.istellar.demon.co.uk.
Output2> Escape character is '^]'.
Output2> GET /technologia/DBI/index.html HTTP/1.0


Output2> HTTP/1.0 200 OK
Output2> Server: thttpd/1.00.dis+
Output2> Content-type: text/html
Output2> Content-length: 7899
Output2> Last-modified: Fri, 20-Sep-96 10:13:38 GMT

Output2> <!-- -->
Output2> <!-- $Id: index.html,v 1.2 1996/03/31 19:41:50 descarte Exp descarte $ -->
Output2> <!-- -->
Output2> <BODY BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" ALINK="#ff0000" VLINK="#0000ff">
[...]
Output2> </BODY>
Output2> Connection closed by foreign host.

So, we've already got spooky behavior here.  What's this "squid" thing?
Sounds fishy to me. :-)

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-99@oink>;
          Wed, 25 Sep 1996 07:49:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843609058:01362:10; Wed, 25 Sep 96 00:50:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01046; 25 Sep 96 0:49 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA09887 for dbi-users-real; Tue, 24 Sep 1996 14:58:22 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from arctic.nadn.navy.mil (arctic.nadn.navy.mil [131.121.8.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id OAA09883 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 14:58:18 -0700 (PDT)
Received: from localhost (harle@localhost) 
          by arctic.nadn.navy.mil (8.7.5/8.7.3) with SMTP id SAA24405 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 18:03:20 -0400 (EDT)
X-Authentication-Warning: arctic.nadn.navy.mil: harle owned process doing -bs
Date: Tue, 24 Sep 1996 18:03:20 -0400 (EDT)
From: Jim Harle <harle@nadn.navy.mil>
X-Sender: harle@arctic
To: dbi-users@fugue.com
Subject: Re: Hermetica problems??
In-Reply-To: <32482FE8.4FDF@atl.lmco.com>
Message-ID: <Pine.GSO.3.95.960924180231.9851G-100000@arctic>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

The same problem also occurs with MSIE.

On Tue, 24 Sep 1996, Bob Hackenberg wrote:

> I tried
> 
>   http://www.hermetica.com/technologia/DBI/index.html
> 
> from Netscape and also got the same error but had no trouble getting to
> it from Lynx.  I think the problem is with Netscape because we are
> experiencing other odd Netscape Browser/Server caching problems that
> can't be explained.  In our case the Netscape browser is finding files
> that are not even there (even with the cache empty and turned off). 
> Other browsers (Mosaic and Lynx) have no problem.  You may want to
> contact Netscape and report the bug.
> 
> 
> > Bizarre. That URL works fine in Lynx, but doesn't in Netscape........Most odd.
> > Try:
> > 
> >         http://www.istellar.demon.co.uk/technologia/DBI
> > 
> > for the moment until I find out from Demon why the aliasing doesn't seem to
> > work under Netscrape.
> > 
> > > Tim
> > 
> 
> -- 
> 
> Bob Hackenberg            | rhackenb@atl.lmco.com
> Advanced Technology Labs  | Voice:   609-338-3918 
> A&E-3W                    | Fax:     609-338-4122
> 1 Federal St.             | Marcall: 8*794-3918
> Camden, NJ 08102          | N2HSK
> 

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-104@oink>;
          Wed, 25 Sep 1996 07:49:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843612058:13313:20; Wed, 25 Sep 96 01:40:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13287; 25 Sep 96 1:40 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id PAA09996 for dbi-users-real; Tue, 24 Sep 1996 15:25:45 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tom.compulink.co.uk (tom.compulink.co.uk [194.153.0.51]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id PAA09992 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 15:25:43 -0700 (PDT)
Received: (from root@localhost) by tom.compulink.co.uk (8.6.9/8.6.9) 
          id XAA11322 for dbi-users@fugue.com; Tue, 24 Sep 1996 23:25:23 +0100
Date: Tue, 24 Sep 96 23:24 BST-1
From: aburlison@cix.compulink.co.uk (Alan Burlison)
Subject: Re: Still no luck in DBD:Oracle login delays....
To: hogan@GNAC.com
Cc: dbi-users@fugue.com
Reply-To: aburlison@cix.compulink.co.uk
Message-Id: <memo.72756@cix.compulink.co.uk>

In-Reply-To: <199609241623.JAA04772@gw.gnac.com>
> I am about to pull out my rapidly disappearing hair over this.
> 
> I am using:
> 
> Perl Version 5.0003
> Oraperl Emulation Interface version 1.29 
> Oracle Driver 0.39
> DBI-0.71 Switch by Tim Bunce, version 0.71
> 
> and my "ora_logins" are taking over a minute to complete !

[snip]

> Has anyone else seen this behavior?

Yes, although not to the same extent.  My platform is a Unisys Opus MPP 
(SVR4) running Oracle 7.2 and Perl5.002.  Takes about 30 seconds for me.
I think this is an Oracle problem - you could try stripping out the C code
used to do the logging in & test it separately - shouldn't be more than 
10 lines or so of code.  Also check that ORACLE_HOME and ORACLE_SID are 
set correctly.

Alan Burlison   aburlison@cix.compulink.co.uk

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-114@oink>;
          Wed, 25 Sep 1996 07:51:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843614563:20917:4; Wed, 25 Sep 96 02:22:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20764; 25 Sep 96 2:21 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id QAA10110 for dbi-users-real; Tue, 24 Sep 1996 16:07:06 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.gnac.com (gw.gnac.com [130.93.130.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id QAA10106 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 16:07:05 -0700 (PDT)
Received: (from hogan@localhost) by gw.gnac.com (8.7.5/8.7.3) id QAA07872 
          for dbi-users@fugue.com; Tue, 24 Sep 1996 16:07:03 -0700 (PDT)
Date: Tue, 24 Sep 1996 16:07:03 -0700 (PDT)
From: Emmett Hogan <hogan@GNAC.com>
Message-Id: <199609242307.QAA07872@gw.gnac.com>
Organization: Global Networking and Computing, Inc.
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
To: dbi-users@fugue.com
Subject: DBI:ORACLE login delays, more strangeness

First off, thanks to all who have offered suggestions. The most often
ask question was how long it takes to login using SQL*PLUS, the answer
is "not long at all".  Also, most people asked what version of Oracle
we are running, (sorry, I should have mentioned that in my original
message) we are running version 7.1.6.

I have done a bit more testing and I have been able to replicate the
problem using just the DBI::ORACLE interface without ORAPERL. And I
have been able to get rid of the problem using the same "non-ORAPERL"
script.  I have two problems though:

1) The "fix" makes absolutely no sense to me.
2) The same "fix" doesn't fix the oraperl version.

Here is the super-simple DBI::ORACLE script:

-----------------------------------
#!/usr/local/bin/perl5
#
# Code Borrowed from:
#    ex1.pl: Written by Alligator Descartes

$ENV{TNS_ADMIN} = "/usr/local/lib";

# $ENV{TWO_TASK}, $ENV{ORACLE_SID}

use DBI;

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

$dbh = $drh->connect( 'database', 'username', 'password' );
die "Couldn't connect: $!" unless $dbh;

print "Successfully logged on to : username/passwd\@database !\n";

$dbh->disconnect;
print "Successfully logged off of: username/passwd\@database !\n";

exit;
# End of the NON-Oraperl Script
-----------------------------------

The script, as written runs in about 2 seconds:

> time ./dbioracle.test
Successfully logged on to : username/passwd@database !
Successfully logged off of: username/passwd@database !
1.723s real  1.040s user  0.380s system  82% ./dbioracle.test


But, if I remove the comment line:

# $ENV{TWO_TASK}, $ENV{ORACLE_SID}

The script takes over 3 MINUTES to run !!!!

> time ./dbioracle.test
Successfully logged on to : username/passwd@database !
Successfully logged off of: username/passwd@database !
200.870s real  29.260s user  135.120s system  81% ./dbioracle.test

During that 200 seconds it is spinning it's wheels just like my
ORAPERL version (alternating between sigblock([BUS]) and
sigblock([SEGV])).

Why would the existance of a comment make any difference at all in a
script????!!!!!!!

Unfortunately, this little comment makes no difference in the
ORAPERL script.

Any more thoughts or suggestions?

-Emmett

-- 

Emmett Hogan
Global Networking and Computing
Inet: Hogan@gnac.com
ICBM: 37d 33' 47" N, 122d 19' 28" W
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01454-132@oink>;
          Wed, 25 Sep 1996 07:53:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843625380:20199:12; Wed, 25 Sep 96 05:23:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20150; 25 Sep 96 5:22 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id SAA10512 for dbi-users-real; Tue, 24 Sep 1996 18:27:05 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id SAA10508 
          for <dbi-users@fugue.com>; Tue, 24 Sep 1996 18:27:03 -0700 (PDT)
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 VAA12221;
          Tue, 24 Sep 1996 21:18:00 -0400
Message-ID: <32488B39.3005@medg.lcs.mit.edu>
Date: Tue, 24 Sep 1996 21:30:33 -0400
From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
Organization: Children's Hospital Informatics Program
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: Emmett Hogan <hogan@GNAC.com>
CC: dbi-users@fugue.com
Subject: Re: DBI:ORACLE login delays, more strangeness
References: <199609242307.QAA07872@gw.gnac.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

	I was unable to replicate Emmett's results.

	With or with out comment, the times remained the same.

	

> But, if I remove the comment line:
> 
> # $ENV{TWO_TASK}, $ENV{ORACLE_SID}
> 
> The script takes over 3 MINUTES to run !!!!

My results:
1) On a quick machine, running Multithreaded Server, with/without
comments I got the same results:

664 machine:/u01/$ time tst 
Successfully logged on to :usr/pw@db1
Successfully logged off of: usr/pw@db1
Bad free() ignored during global destruction.
 
real        1.2
user        0.5
sys         0.3



2) On production machine, running single threaded server with and
without comment, the following figures are representative

%time tst
Successfully logged on to :usr/pw@db1 !
Successfully logged off of: usr/pw@db1!
Bad free() ignored during global destruction.
 
real        6.8
user        0.5
sys         0.3



Emmett Hogan wrote:
> 
> First off, thanks to all who have offered suggestions. The most often
> ask question was how long it takes to login using SQL*PLUS, the answer
> is "not long at all".  Also, most people asked what version of Oracle
> we are running, (sorry, I should have mentioned that in my original
> message) we are running version 7.1.6.
> 
> I have done a bit more testing and I have been able to replicate the
> problem using just the DBI::ORACLE interface without ORAPERL. And I
> have been able to get rid of the problem using the same "non-ORAPERL"
> script.  I have two problems though:
> 
> 1) The "fix" makes absolutely no sense to me.
> 2) The same "fix" doesn't fix the oraperl version.
> 
> Here is the super-simple DBI::ORACLE script:
> 
> -----------------------------------
> #!/usr/local/bin/perl5
> #
> # Code Borrowed from:
> #    ex1.pl: Written by Alligator Descartes
> 
> $ENV{TNS_ADMIN} = "/usr/local/lib";
> 
> # $ENV{TWO_TASK}, $ENV{ORACLE_SID}
> 
> use DBI;
> 
> $drh = DBI->install_driver( 'Oracle' );        # Uncomment for Oracle
> 
> $dbh = $drh->connect( 'database', 'username', 'password' );
> die "Couldn't connect: $!" unless $dbh;
> 
> print "Successfully logged on to : username/passwd\@database !\n";
> 
> $dbh->disconnect;
> print "Successfully logged off of: username/passwd\@database !\n";
> 
> exit;
> # End of the NON-Oraperl Script
> -----------------------------------
> 
> The script, as written runs in about 2 seconds:
> 
> > time ./dbioracle.test
> Successfully logged on to : username/passwd@database !
> Successfully logged off of: username/passwd@database !
> 1.723s real  1.040s user  0.380s system  82% ./dbioracle.test
> 
> But, if I remove the comment line:
> 
> # $ENV{TWO_TASK}, $ENV{ORACLE_SID}
> 
> The script takes over 3 MINUTES to run !!!!
> 
> > time ./dbioracle.test
> Successfully logged on to : username/passwd@database !
> Successfully logged off of: username/passwd@database !
> 200.870s real  29.260s user  135.120s system  81% ./dbioracle.test
> 
> During that 200 seconds it is spinning it's wheels just like my
> ORAPERL version (alternating between sigblock([BUS]) and
> sigblock([SEGV])).
> 
> Why would the existance of a comment make any difference at all in a
> script????!!!!!!!
> 
> Unfortunately, this little comment makes no difference in the
> ORAPERL script.
> 
> Any more thoughts or suggestions?
> 
> -Emmett
> 
> --
> 
> Emmett Hogan
> Global Networking and Computing
> Inet: Hogan@gnac.com
> ICBM: 37d 33' 47" N, 122d 19' 28" W

-- 
regards,
Taranga Ghosh

Tel: 617 355 8544			Fax: 617 355 8405
E-mail:tghosh@medg.lcs.mit.edu

Children's Hospital Informatics Program
224 Wolbach Bldg Children's Hospital
300 Longwood Ave
Boston MA 02115
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05144-15@oink>;
          Wed, 25 Sep 1996 13:08:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843645528:03780:6; Wed, 25 Sep 96 10:58:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03614; 25 Sep 96 10:58 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id AAA10922 for dbi-users-real; Wed, 25 Sep 1996 00:17:57 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from moulon.inra.fr (moulon.inra.fr [192.93.96.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id AAA10918 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 00:17:50 -0700 (PDT)
Received: (from decoux@localhost) by moulon.inra.fr (8.7.6/8.7.3) id JAA21095;
          Wed, 25 Sep 1996 09:21:29 +0200 (MET DST)
Date: Wed, 25 Sep 1996 09:21:29 +0200 (MET DST)
From: ts <decoux@moulon.inra.fr>
Message-Id: <199609250721.JAA21095@moulon.inra.fr>
To: rhackenb@atl.lmco.com, shelleyp@yasd.com
Subject: Re: Hermetica problems??
Cc: dbi-users@fugue.com


> 
> I am also having the problem of accessing the site 
> from Internet Explorer.  One thing I am beginning to suspect
> is the fact I am going through a proxy.  Will try
> from diff machine later.
> 
> Anyone else having problems access the www.hermetica.com site
> from IE 3.0?
> 

 Probably a problem with thttpd, it don't like when the header line `Host:'
refer to an aliase name rather than the official name :


moulon% telnet www.hermetica.com 80
Trying 194.222.233.177 ...
Connected to www.hermetica.com.
Escape character is '^]'.
GET /technologia/DBI/index.html HTTP/1.0
Host: www.hermetica.com

HTTP/1.0 404 Not Found
Server: thttpd/1.00.dis+
Content-type: text/html
Last-modified: Wed, 25-Sep-96 07:05:02 GMT

[...]
moulon% telnet www.hermetica.com 80
Trying 194.222.233.177 ...
Connected to www.hermetica.com.
Escape character is '^]'.
GET /technologia/DBI/index.html HTTP/1.0
Host: www.istellar.demon.co.uk

HTTP/1.0 200 OK
Server: thttpd/1.00.dis+
Content-type: text/html
Content-length: 7899
Last-modified: Fri, 20-Sep-96 10:13:38 GMT

[...]
moulon% nslookup www.hermetica.com
Server:  inra.inra.fr
Address:  138.102.88.1

Non-authoritative answer:
Name:    www.istellar.demon.co.uk
Address:  194.222.233.177
Aliases:  www.hermetica.com

moulon% 



Guy Decoux


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05948-0@oink>;
          Wed, 25 Sep 1996 13:55:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843654318:13711:11; Wed, 25 Sep 96 13:25:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13351; 25 Sep 96 13:24 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id BAA11061 for dbi-users-real; Wed, 25 Sep 1996 01:59:34 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id BAA11057 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 01:59:29 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by fruitbat.mcqueen.com (8.7.6/8.6.12) with ESMTP id JAA15658;
          Wed, 25 Sep 1996 09:50:35 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id JAA05663; Wed, 25 Sep 1996 09:57:16 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609250857.JAA05663@chewbacca.hermetica.com>
Subject: Re: Hermetica problems??
To: merlyn@stonehenge.com (Randal Schwartz)
Date: Wed, 25 Sep 1996 09:56:00 +0100 (BST)
Cc: rhackenb@atl.lmco.com, dbi-users@fugue.com
In-Reply-To: <8cenjroajz.fsf@gadget.cscaper.com> from "Randal Schwartz" at Sep 24, 96 02:41:36 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


> Bob> from Netscape and also got the same error but had no trouble getting to
> Bob> it from Lynx.  I think the problem is with Netscape because we are
> Bob> experiencing other odd Netscape Browser/Server caching problems that
> Bob> can't be explained.  In our case the Netscape browser is finding files
> Bob> that are not even there (even with the cache empty and turned off). 
> Bob> Other browsers (Mosaic and Lynx) have no problem.  You may want to
> Bob> contact Netscape and report the bug.
> 
> Well, by telnetting into the server, I've observed that it's not a
> very good (read: "non-RFC-conforming") server.
> 
> HTTP/0.9 is rejected with:

[snippity snip]

> So, we've already got spooky behavior here.  What's this "squid" thing?
> Sounds fishy to me. :-)

God alone knows. Demon operate a sort of virtual WWW space thing using their
own homebrew server ( I think ). squid is probably the name of it.

I've logged the problems yesterday and another batch today, so we'll see what
happens. However, in the meantime, use:

	http://www.istellar.demon.co.uk

it seems to be a bit more usable. Perhaps. Maybe. Feh. Should hopefully get
all this stuff sorted in the next day or two.

However, donations of WWW space gratefully accepted! 8-)

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 <06253-0@oink>;
          Wed, 25 Sep 1996 15:13:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843660633:02089:111; Wed, 25 Sep 96 15:10:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02687; 25 Sep 96 15:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id EAA11195 for dbi-users-real; Wed, 25 Sep 1996 04:32:32 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nander.cscaper.com (nander.cscaper.com [206.67.186.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id EAA11191 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 04:32:31 -0700 (PDT)
Received: from gadget.cscaper.com (gadget.cscaper.com [206.67.186.3]) 
          by nander.cscaper.com (8.7.1/8.7.1) with SMTP id EAA23638;
          Wed, 25 Sep 1996 04:32:02 -0700 (MST)
Received: by gadget.cscaper.com (SMI-8.6/SMI-SVR4) id EAA03151;
          Wed, 25 Sep 1996 04:27:49 -0700
To: Alligator Descartes <descarte@hermetica.com>
Cc: rhackenb@atl.lmco.com, dbi-users@fugue.com
Subject: Re: Hermetica problems??
References: <199609250857.JAA05663@chewbacca.hermetica.com>
From: Randal Schwartz <merlyn@stonehenge.com>
Date: 25 Sep 1996 04:27:49 -0700
In-Reply-To: Alligator Descartes's message of Wed, 25 Sep 1996 09:56:00 +0100 (BST)
Message-ID: <8c4tkmltqi.fsf@gadget.cscaper.com>
Lines: 15
X-Mailer: Gnus v5.2.40/Emacs 19.34

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

Alligator> However, donations of WWW space gratefully accepted! 8-)

Well, I know you mean that only half-seriously, but when perl.org
comes back up (geez, they moved it, and I didn't get the NIC
updated...  bleh), I'll be happy to arrange to host the perldb lists
there.  After all, that's what it's for!

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06734-0@oink>;
          Wed, 25 Sep 1996 15:33:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843661953:10337:27; Wed, 25 Sep 96 15:32:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10379; 25 Sep 96 15:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id FAA11235 for dbi-users-real; Wed, 25 Sep 1996 05:14:07 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from rio.infodirekt.de (rio.infodirekt.de [194.97.120.29]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id FAA11231 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 05:14:05 -0700 (PDT)
Received: from [194.97.120.28] (mac.infodirekt.de [194.97.120.28]) 
          by rio.infodirekt.de (8.6.12/8.6.12) with SMTP id OAA10222;
          Wed, 25 Sep 1996 14:13:08 +0200
X-Sender: ts@rio.infodirekt.de
Message-Id: <v01510109ae6ed1690b5a@[194.97.120.28]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 25 Sep 1996 14:10:24 +0200
To: Alligator Descartes <descarte@hermetica.com>
From: ts@infodirekt.de (Thomas Schreiber)
Subject: Re: Hermetica problems??
Cc: dbi-users@fugue.com

>> Bob> from Netscape and also got the same error but had no trouble getting to
>> Bob> it from Lynx.  I think the problem is with Netscape because we are
>> Bob> experiencing other odd Netscape Browser/Server caching problems that
>> Bob> can't be explained.  In our case the Netscape browser is finding files
>> Bob> that are not even there (even with the cache empty and turned off).
>> Bob> Other browsers (Mosaic and Lynx) have no problem.  You may want to
>> Bob> contact Netscape and report the bug.
>>
>> Well, by telnetting into the server, I've observed that it's not a
>> very good (read: "non-RFC-conforming") server.
>>
>> HTTP/0.9 is rejected with:
>
>[snippity snip]
>
>> So, we've already got spooky behavior here.  What's this "squid" thing?
>> Sounds fishy to me. :-)
>
>God alone knows. Demon operate a sort of virtual WWW space thing using their
>own homebrew server ( I think ). squid is probably the name of it.


     SQUID is not an ordinary web server but a powerful proxy, something
     that is between the web browser and the web server.


>
>I've logged the problems yesterday and another batch today, so we'll see what
>happens. However, in the meantime, use:
>
>        http://www.istellar.demon.co.uk
>
>it seems to be a bit more usable. Perhaps. Maybe. Feh. Should hopefully get
>all this stuff sorted in the next day or two.
>
>However, donations of WWW space gratefully accepted! 8-)
>
>A.
>
>--
>Alligator Descartes                                             Anathematician
>descarte@hermetica.com                                     Circuit VI Engineer
>http://www.hermetica.com                                             KEPhALH F

Thomas

____________________________________________________________
infodirekt - Thomas Schreiber         Tel:  +49 89/324796-50
Frankfurter Ring 193a                 Fax:  +49 89/324796-51
80807 Muenchen, Germany              email: ts@infodirekt.de
________________________ See you at http://www.infodirekt.de


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07421-17@oink>;
          Wed, 25 Sep 1996 18:02:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843668527:22059:71; Wed, 25 Sep 96 17:22:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21963; 25 Sep 96 17:21 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id GAA11320 for dbi-users-real; Wed, 25 Sep 1996 06:12:18 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id GAA11316 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 06:12:16 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ac03323;
          25 Sep 96 13:28 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa10231; 25 Sep 96 13:10 BST
Received: from toad by oink with SMTP (PP) id <05150-0@oink>;
          Wed, 25 Sep 1996 13:07:28 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA17650;
          Wed, 25 Sep 1996 13:07:12 +0000
Date: Wed, 25 Sep 1996 13:07:12 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609251207.AA17650@toad.ig.co.uk>
To: hogan@GNAC.com, tghosh@medg.lcs.mit.edu
Subject: Re: Still no luck in DBD:Oracle login delays....
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
> 
> Hlo,
> 	Yes, I'm having the same problem with the same config.
> 
> 	Oraperl obtains the $dbh much faster.

Have you tried rebuilding perl4 oraperl with the same version of 
Oracle that you're using with DBD::Oracle ?

If not then you're not comparing like with like.

> Comments:
> 	1.   Why does it read the passwd file at all?

Ask Oracle.

> 	2.   I presume the slow sequence of syscalls are taking place in the
> call: 
> 	DBD::Oracle::db::_login($this, $dbname, $user, $auth) 
> 
> because thats where I see the slowdown when I run it through the
> debugger.

The slowness will be in the OCI orlon() function called by
DBD::Oracle::db::_login. DBD::Oracle::db::_login itself is trivial
and could not be the cause. Summary: it's Oracle.

> 	3.  I have two database which I connect to (from the sparc which runs
> the perl code). One of the instances runs on a fast, unloaded
> alpha(OpenVMS) running the Multithreaded Server. The other instance runs
> on a production machine(alos OpenVMS) which tends to be loaded and has a
> single-threaded server.
> 
> 	The connect to the unloaded machine is substantially faster than the
> connect to the production machine. 
> 
> 	The speedup may be due to the factors I've mentioned (unloaded and
> quick m/c versus loaded, production m/c) but I wonder if the Oraperl
> emulation expects a MTS at the other end and slows down otherwise???

Oraperl/DBD::Oracle just calls the OCI orlon() function. Simple as that.

The slowness you are seeing is not related to Oraperl/DBD::Oracle at all
(proven by the fast login to a different database).

Having said that I would greatly appreciate it if you could get to the
bottom of why it is slow on one system but not the other (do they run
the same version of Oracle for example) so we can help some others who
have slow logins.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-5@oink>;
          Thu, 26 Sep 1996 07:36:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843676367:11975:10; Wed, 25 Sep 96 19:32:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11680; 25 Sep 96 19:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id JAA11678 for dbi-users-real; Wed, 25 Sep 1996 09:28:06 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id JAA11674 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 09:28:04 -0700 (PDT)
Received: (from binkley@localhost) by gateway.novasoft.com (8.7.1/8.7.1) 
          id MAA09000; Wed, 25 Sep 1996 12:27:07 -0400 (EDT)
Date: Wed, 25 Sep 1996 12:27:07 -0400 (EDT)
From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
Message-Id: <199609251627.MAA09000@gateway.novasoft.com>
To: dbi-users@fugue.com
In-reply-to: <199609251559.LAA08469@gateway.novasoft.com> (binkley@gateway.novasoft.com)
Subject: Re: oracle install as requirement for dbd::oracle
Reply-to: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>

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

 DM> I am ordering Pro*C for unix so I can use dbd::oracle on my unix
 DM> machine.  Would be nice to know if I have to go buy Oracle for
 DM> unix or if I just need Pro*C.

 BKO(> I run an Oraperl web application on machines with NO oracle or
 BKO(> sql*net installed, and they work just fine.  On those machines,
 BKO(> I build on some other host with Oracle, tar up the build
 BKO(> directories, copy them to the target machines, unpack and
 BKO(> install.

Oh, yah, one tip I forgot about.  In your connect string for logging
in, remember to include the port number of "orasrv" on the remote
host: your local host (the one without Oracle) doesn't have an entry
in /etc/services for this port.  Like this:

  user/password@t:host/1525:database

(the default port is 1525; check with your admin on the destination
machine to make sure it isn't something else).

--binkley
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-7@oink>;
          Thu, 26 Sep 1996 07:36:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843676404:11978:45; Wed, 25 Sep 96 19:33:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11774; 25 Sep 96 19:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA11519 for dbi-users-real; Wed, 25 Sep 1996 08:40:13 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zeus.webworks.ca (zeus.webworks.ca [205.250.61.12]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id IAA11515 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 08:40:12 -0700 (PDT)
Received: from dano.webworks.ca (dano.webworks.ca [205.250.61.55]) 
          by zeus.webworks.ca (8.7.5/8.7.3) with SMTP id MAA02526 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 12:40:59 -0300 (ADT)
Message-Id: <2.2.32.19960925154300.01165c64@mail.webworks.ca>
X-Sender: dano@mail.webworks.ca
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 25 Sep 1996 12:43:00 -0300
To: dbi-users@fugue.com
From: Danny Macdonald <dano@webworks.ca>
Subject: oracle install as requirement for dbd::oracle

In the README file it says you have to install min requirements of oracle
for this software to work. The question is what is min? It notes you need
Pro*C. Is that all?

The reason I ask is I have Oracle on my NT machine, but want to use
dbd::oracle on my unix box to make calls to the Oracle server on NT.

I am ordering Pro*C for unix so I can use dbd::oracle on my unix machine.
Would be nice to know if I have to go buy Oracle for unix or if I just need
Pro*C.

Thanks,
DANO
+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
| Danny MacDonald  - FATHER INTERNET  | Have             |
| WebWorks Worldwide                  |     a            | 
| If it ain't WebWorks it ain't real! |       safe       | 
| Suite 2004, Box 23.                 |                  |
| 1969 Upper Water Street Purdy's 2   |  Ride!           |
| B3J 3R7, Halifax, Nova Scotia       |                  |  
| Canada. (902)429-0805               | dano@webworks.ca |
| fax: (902)423-0899                  |                  |
| URL: http://www.webworks.ca         |                  |
+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-9@oink>;
          Thu, 26 Sep 1996 07:36:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843676426:11975:52; Wed, 25 Sep 96 19:33:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12162; 25 Sep 96 19:33 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA11505 for dbi-users-real; Wed, 25 Sep 1996 08:31:33 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from zeus.webworks.ca (zeus.webworks.ca [205.250.61.12]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id IAA11501 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 08:31:30 -0700 (PDT)
Received: from dano.webworks.ca (dano.webworks.ca [205.250.61.55]) 
          by zeus.webworks.ca (8.7.5/8.7.3) with SMTP id MAA02456 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 12:31:53 -0300 (ADT)
Message-Id: <2.2.32.19960925153418.009089d4@mail.webworks.ca>
X-Sender: dano@mail.webworks.ca
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 25 Sep 1996 12:34:18 -0300
To: dbi-users@fugue.com
From: Danny Macdonald <dano@webworks.ca>
Subject: dbi (or ODBC) with perl NT

Can you use the perl dbi (I am particularly interested in DBD::Oracle) on
windows NT using NTperl?

From what I have seen i would say this is not currently possible (at least
easily), but would love to hear what other people have experienced or know.

Any other solutions someone can suggest for NT? I am also currently looking
at Win32::ODBC but haven't had time to delve too deep.

As an aside, does anyone know of an ODBC interface for gcc for unix?

Thanks Kindly,
DANO
+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
| Danny MacDonald  - FATHER INTERNET  | Have             |
| WebWorks Worldwide                  |     a            | 
| If it ain't WebWorks it ain't real! |       safe       | 
| Suite 2004, Box 23.                 |                  |
| 1969 Upper Water Street Purdy's 2   |  Ride!           |
| B3J 3R7, Halifax, Nova Scotia       |                  |  
| Canada. (902)429-0805               | dano@webworks.ca |
| fax: (902)423-0899                  |                  |
| URL: http://www.webworks.ca         |                  |
+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-11@oink>;
          Thu, 26 Sep 1996 07:37:05 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843676460:11979:65; Wed, 25 Sep 96 19:34:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12146; 25 Sep 96 19:33 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA11491 for dbi-users-real; Wed, 25 Sep 1996 08:21:15 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from nander.cscaper.com (nander.cscaper.com [206.67.186.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id IAA11487 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 08:21:14 -0700 (PDT)
Received: from gadget.cscaper.com (gadget.cscaper.com [206.67.186.3]) 
          by nander.cscaper.com (8.7.1/8.7.1) with SMTP id IAA24144;
          Wed, 25 Sep 1996 08:21:11 -0700 (MST)
Received: by gadget.cscaper.com (SMI-8.6/SMI-SVR4) id IAA03746;
          Wed, 25 Sep 1996 08:16:59 -0700
To: ts@infodirekt.de (Thomas Schreiber)
Cc: Alligator Descartes <descarte@hermetica.com>, dbi-users@fugue.com
Subject: Re: Hermetica problems??
References: <v01510109ae6ed1690b5a@[194.97.120.28]>
From: Randal Schwartz <merlyn@stonehenge.com>
Date: 25 Sep 1996 08:16:58 -0700
In-Reply-To: ts@infodirekt.de's message of Wed, 25 Sep 1996 14:10:24 +0200
Message-ID: <8cybhysjyt.fsf@gadget.cscaper.com>
Lines: 20
X-Mailer: Gnus v5.2.40/Emacs 19.34

>>>>> "Thomas" == Thomas Schreiber <ts@infodirekt.de> writes:

>> God alone knows. Demon operate a sort of virtual WWW space thing using their
>> own homebrew server ( I think ). squid is probably the name of it.


Thomas>      SQUID is not an ordinary web server but a powerful proxy,
Thomas>      something that is between the web browser and the web
Thomas>      server.

powerfully broken and non-RFC-compliant, I'll say. :-)

is there a buglist that we should be report this to?

-- 
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@ora.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-15@oink>;
          Thu, 26 Sep 1996 07:37:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843676543:11978:146; Wed, 25 Sep 96 19:35:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12005; 25 Sep 96 19:33 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id JAA11610 for dbi-users-real; Wed, 25 Sep 1996 09:00:53 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id JAA11606 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 09:00:50 -0700 (PDT)
Received: (from binkley@localhost) by gateway.novasoft.com (8.7.1/8.7.1) 
          id LAA08469; Wed, 25 Sep 1996 11:59:55 -0400 (EDT)
Date: Wed, 25 Sep 1996 11:59:55 -0400 (EDT)
From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
Message-Id: <199609251559.LAA08469@gateway.novasoft.com>
To: dbi-users@fugue.com
In-reply-to: <2.2.32.19960925154300.01165c64@mail.webworks.ca> (message from Danny Macdonald on Wed, 25 Sep 1996 12:43:00 -0300)
Subject: Re: oracle install as requirement for dbd::oracle
Reply-to: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>

>>>>> "DM" == Danny Macdonald <dano@webworks.ca> writes:

 DM> In the README file it says you have to install min requirements
 DM> of oracle for this software to work. The question is what is min?
 DM> It notes you need Pro*C. Is that all?

 DM> The reason I ask is I have Oracle on my NT machine, but want to
 DM> use dbd::oracle on my unix box to make calls to the Oracle server
 DM> on NT.

 DM> I am ordering Pro*C for unix so I can use dbd::oracle on my unix
 DM> machine.  Would be nice to know if I have to go buy Oracle for
 DM> unix or if I just need Pro*C.

I run an Oraperl web application on machines with NO oracle or sql*net
installed, and they work just fine.  On those machines, I build on
some other host with Oracle, tar up the build directories, copy them
to the target machines, unpack and install.

--binkley
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-26@oink>;
          Thu, 26 Sep 1996 07:39:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843679258:29412:40; Wed, 25 Sep 96 20:20:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29440; 25 Sep 96 20:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id KAA11811 for dbi-users-real; Wed, 25 Sep 1996 10:08:41 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id KAA11807 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 10:08:33 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id RAA10327;
          Wed, 25 Sep 1996 17:54:55 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id SAA06947; Wed, 25 Sep 1996 18:06:51 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609251706.SAA06947@chewbacca.hermetica.com>
Subject: Re: Still no luck in DBD:Oracle login delays....
To: Tim.Bunce@ig.co.uk (Tim Bunce)
Date: Wed, 25 Sep 1996 18:06:50 +0100 (BST)
Cc: hogan@GNAC.com, tghosh@medg.lcs.mit.edu, dbi-users@fugue.com
In-Reply-To: <9609251207.AA17650@toad.ig.co.uk> from "Tim Bunce" at Sep 25, 96 01:07: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


> The slowness you are seeing is not related to Oraperl/DBD::Oracle at all
> (proven by the fast login to a different database).
> 
> Having said that I would greatly appreciate it if you could get to the
> bottom of why it is slow on one system but not the other (do they run
> the same version of Oracle for example) so we can help some others who
> have slow logins.

Yes, some profiling data would be good from both machines since you seem
to have two different timing sets potentially available.

> Tim.

-- 
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 <10172-28@oink>;
          Thu, 26 Sep 1996 07:39:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843679328:29914:15; Wed, 25 Sep 96 20:22:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29545; 25 Sep 96 20:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id KAA11776 for dbi-users-real; Wed, 25 Sep 1996 10:00:05 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from info.curtin.edu.au (ichishol@info.curtin.edu.au [134.7.70.222]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id KAA11772 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 10:00:03 -0700 (PDT)
Received: (from ichishol@localhost) by info.curtin.edu.au (8.7.3/8.7.3) 
          id AAA08099; Thu, 26 Sep 1996 00:59:22 +0800 (WST)
From: Glenn Chisholm <ichishol@info.curtin.edu.au>
Message-Id: <199609251659.AAA08099@info.curtin.edu.au>
Subject: Re: Hermetica problems??
To: merlyn@stonehenge.com (Randal Schwartz)
Date: Thu, 26 Sep 1996 00:59:19 +0800 (WST)
Cc: dbi-users@fugue.com
In-Reply-To: <8cybhysjyt.fsf@gadget.cscaper.com> from "Randal Schwartz" at Sep 25, 96 08:16:58 am
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> powerfully broken and non-RFC-compliant, I'll say. :-)
> 
> is there a buglist that we should be report this to?
> 
I can take care of that or if you would prefer take a look at

http://www.nlanr.net/Squid/

Glenn
-- 
Glenn Chisholm				PH : 	 +61 09 351 3818
Network Services			FAX: 	 +61 09 351 2673
Curtin University of Technology		E-Mail : glenn@iron.curtin.edu.au
Perth, Western Australia			
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-68@oink>;
          Thu, 26 Sep 1996 07:44:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843690736:09169:28; Wed, 25 Sep 96 23:32:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08651; 25 Sep 96 23:30 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA12610 for dbi-users-real; Wed, 25 Sep 1996 13:33:36 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.home.vix.com ([192.5.5.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id NAA12606 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 13:33:34 -0700 (PDT)
Received: by gw.home.vix.com id NAA08524; Wed, 25 Sep 1996 13:32:32 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id af01107;
          25 Sep 96 13:11 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab08737; 25 Sep 96 13:06 BST
Received: from toad by oink with SMTP (PP) id <04693-0@oink>;
          Wed, 25 Sep 1996 10:08:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA17551;
          Wed, 25 Sep 1996 10:08:06 +0000
Date: Wed, 25 Sep 1996 10:08:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609250908.AA17551@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: DBperl and Ingres
Cc: matthew@internet1.net
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From: Matthew Hagerty <matthew@internet1.net>

Greetings Tim,

   I have been reading FAQs and other sources around the net for the
past few hours and it seems you are the main source of a PERL/Ingres
interface.  I have just installed OpenIngres 1.2/00 and I am frantically
trying to find some way to interface web pages (via CGI) to the server. 
I am pretty good with DOS based databases and U*IX in general, but
moving to a RDBMS from DOS and then trying to interface with a CGI
program is helping me to lose my hair faster!

   I was wondering if you were still working on the DBperl/Ingres
solution?  I'm pretty new to programming in a U*IX environment, but if I
could help I would like to.  Maybe I could supply you with the database
to test the software against and/or beta test it?

Thank you for you time.
Matthew Hagerty
SysAdmin ~ internet1.net

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

There's a perl4 interface (ingperl) but no Perl5 one yet.

A couple of offers for implementing one have been made but nothing
has come of them yet.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-70@oink>;
          Thu, 26 Sep 1996 07:44:47 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843691131:11439:24; Wed, 25 Sep 96 23:38:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11200; 25 Sep 96 23:37 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA12566 for dbi-users-real; Wed, 25 Sep 1996 13:28:11 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from noc.cerf.net (tramn@noc.cerf.net [192.153.156.22]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id NAA12562 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 13:28:10 -0700 (PDT)
Received: (from tramn@localhost) by noc.cerf.net (8.6.10/8.6.9) id NAA07868;
          Wed, 25 Sep 1996 13:28:05 -0700
From: "Tram N. Nguyen" <tramn@cerf.net>
Message-Id: <199609252028.NAA07868@noc.cerf.net>
Subject: DBI:Informix retrieve TEXT data type
To: dbi-users@fugue.com, tramn@noc.cerf.net (Tram N. Nguyen)
Date: Wed, 25 Sep 1996 13:28:04 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi all,

I'm using informix/perl for a while . However, I never write any perl 
script which retrieve Bytes data type . Is there any one can help me with 
this ?
 I got a table with these fields :
      prd_name char(80),
      category char(10),
      .....
      prd_info text

I can do most operation with all the fields except prd_info . Is it 
posiible to do s select statement that get prd_info (select prd_name, 
prd_info from info where ....) . If so, How we do that ?

Thanks in advance.

Tram.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-72@oink>;
          Thu, 26 Sep 1996 07:45:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843691325:12629:18; Wed, 25 Sep 96 23:42:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa11177; 25 Sep 96 23:37 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id MAA12464 for dbi-users-real; Wed, 25 Sep 1996 12:58:10 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from hq.caci.com (user@cissco.hq.caci.com [204.177.212.111]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id MAA12458 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 12:58:07 -0700 (PDT)
Received: by hq.caci.com; id QAA05035; Wed, 25 Sep 1996 16:04:00 -0400 (EDT)
Received: from link.hq.caci.com(198.135.9.13) by cissco.hq.caci.com 
          via smap (V3.1.1) id xma005028; Wed, 25 Sep 96 16:03:58 -0400
Received: from ccMail by link.hq.caci.com (SMTPLINK V2.11.01) id AA843692581;
          Wed, 25 Sep 96 15:56:00 EST
Date: Wed, 25 Sep 96 15:56:00 EST
From: "Jeffrey L. Urlwin" <jurlwin@hq.caci.com>
Encoding: 32 Text
Message-Id: <9608258436.AA843692581@link.hq.caci.com>
To: dbi-users <dbi-users@fugue.com>
Subject: Re: dbi (or ODBC) with perl NT



  I've had success with Oracle and Intersolve's ODBC driver (I downloaded
  the 30 day trial version).  The oracle NT ODBC driver has a SERIOUS
  memory leak.

  Jeff
  ----
Can you use the perl dbi (I am particularly interested in DBD::Oracle) on
windows NT using NTperl?

From what I have seen i would say this is not currently possible (at least
easily), but would love to hear what other people have experienced or know.

Any other solutions someone can suggest for NT? I am also currently looking
at Win32::ODBC but haven't had time to delve too deep.

As an aside, does anyone know of an ODBC interface for gcc for unix?

Thanks Kindly,
DANO
+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
| Danny MacDonald  - FATHER INTERNET  | Have             |
| WebWorks Worldwide                  |     a            |
| If it ain't WebWorks it ain't real! |       safe       |
| Suite 2004, Box 23.                 |                  |
| 1969 Upper Water Street Purdy's 2   |  Ride!           |
| B3J 3R7, Halifax, Nova Scotia       |                  |
| Canada. (902)429-0805               | dano@webworks.ca |
| fax: (902)423-0899                  |                  |
| URL: http://www.webworks.ca         |                  |
+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-81@oink>;
          Thu, 26 Sep 1996 07:46:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843693103:22185:8; Thu, 26 Sep 96 00:11:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21846; 26 Sep 96 0:10 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA12720 for dbi-users-real; Wed, 25 Sep 1996 13:54:48 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from aruba.lerc.nasa.gov (aruba.lerc.nasa.gov [139.88.35.16]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id NAA12716 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 13:54:42 -0700 (PDT)
Received: from bytor.lerc.nasa.gov by aruba.lerc.nasa.gov 
          with ESMTP (NASA LeRC 8.7.4.1/2.01-main) id QAA19085;
          Wed, 25 Sep 1996 16:54:21 -0400 (EDT)
Received: by bytor.lerc.nasa.gov (NASA LeRC 8.7.4.1/2.01-local) id QAA01728;
          Wed, 25 Sep 1996 16:54:20 -0400 (EDT)
From: Gary Gapinski <gapinski@lerc.nasa.gov>
Message-Id: <9609251654.ZM1726@bytor.lerc.nasa.gov>
Date: Wed, 25 Sep 1996 16:54:20 -0400
In-Reply-To: Taranga Ghosh <tghosh@medg.lcs.mit.edu> "Re: Still no luck in DBD:Oracle login delays...." (Sep 25, 10:03am)
References: <9609251207.AA17650@toad.ig.co.uk> <32493BBB.242F@medg.lcs.mit.edu>
X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
To: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
Subject: Re: Still no luck in DBD:Oracle login delays....
Cc: Tim Bunce <Tim.Bunce@ig.co.uk>, dbi-users@fugue.com, hogan@GNAC.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Hello, Taranga:

It seems unlikely that the additional overhead of the MTS could speed things
up. One thing that comes to mind is page-in time being obviated in the presence
of the MTS. Please try a test using two instances of your test program. The
first instance should be set to connect and then suspend. The second should
time a connection established while the first instance is suspended. Both
instances should run on the same system and connect to the same data base
instance using the same connect string.

Also, are you using the same version of SQL*Net for all connections?

Please provide copies of all SQL*Net-related configuration files (at least the
LISTENER.ORA and TNSNAMES.ORA files located on the systems involved), as well
as the INIT.ORA files for the data bases involved.

Also,
On Sep 25, 10:03am, Taranga Ghosh wrote:
> Subject: Re: Still no luck in DBD:Oracle login delays....
>
> Tim Bunce wrote:
> >
> > > From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
> > >
> > > Hlo,
> > >       Yes, I'm having the same problem with the same config.
> > >
> > >       Oraperl obtains the $dbh much faster.
> >
> > Have you tried rebuilding perl4 oraperl with the same version of
> > Oracle that you're using with DBD::Oracle ?
> >
> > If not then you're not comparing like with like.
>
> 	Yes, its the same version.
>
(snip)

This is not an exact answer to the question. Has the perl4 oraperl been
*re-compiled and linked* with the same version of Oracle with which you
compiled and linked DBD::Oracle?

Also, as Tim later asks, are you using the same version of Oracle on all
systems involved, or different versions.

Are each of the data base instances using the same version of Oracle?

Sorry for all the questions regarding versions, but it may make a difference,
although it should not.

Regards,

Gary
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-84@oink>;
          Thu, 26 Sep 1996 07:46:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843693341:23288:17; Thu, 26 Sep 96 00:15:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23020; 26 Sep 96 0:14 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA12826 for dbi-users-real; Wed, 25 Sep 1996 14:16:07 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id OAA12820 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 14:16:00 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id WAA22675 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 22:02:23 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id WAA07522 for dbi-users@fugue.com; Wed, 25 Sep 1996 22:14:19 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609252114.WAA07522@chewbacca.hermetica.com>
Subject: Hermetica
To: dbi-users@fugue.com
Date: Wed, 25 Sep 1996 22:14:18 +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


OK, thanks to Philip Kizer at nostrum.com, Hermetica now has a new home in
the US. The DNS has been updated, but may take a day or so to filter about.
Basically, if you can get at the page as:

	http://www.hermetica.com

then you're probably pointing at the right place.

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 <10172-87@oink>;
          Thu, 26 Sep 1996 07:47:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843693426:23726:20; Thu, 26 Sep 96 00:17:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22159; 26 Sep 96 0:11 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id HAA11389 for dbi-users-real; Wed, 25 Sep 1996 07:05:27 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id HAA11385 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 07:05:15 -0700 (PDT)
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 JAA14173;
          Wed, 25 Sep 1996 09:51:04 -0400
Message-ID: <32493BBB.242F@medg.lcs.mit.edu>
Date: Wed, 25 Sep 1996 10:03:39 -0400
From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
Organization: Children's Hospital Informatics Program
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: Tim Bunce <Tim.Bunce@ig.co.uk>
CC: hogan@GNAC.com, dbi-users@fugue.com
Subject: Re: Still no luck in DBD:Oracle login delays....
References: <9609251207.AA17650@toad.ig.co.uk>
Content-Type: multipart/mixed; boundary="------------6352746629EF"

This is a multi-part message in MIME format.

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

Tim Bunce wrote:
> 
> > From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
> >
> > Hlo,
> >       Yes, I'm having the same problem with the same config.
> >
> >       Oraperl obtains the $dbh much faster.
> 
> Have you tried rebuilding perl4 oraperl with the same version of
> Oracle that you're using with DBD::Oracle ?
> 
> If not then you're not comparing like with like.

	Yes, its the same version.


> Oraperl/DBD::Oracle just calls the OCI orlon() function. Simple as that.
> 
> The slowness you are seeing is not related to Oraperl/DBD::Oracle at all
> (proven by the fast login to a different database).
> 
> Having said that I would greatly appreciate it if you could get to the
> bottom of why it is slow on one system but not the other (do they run
> the same version of Oracle for example) so we can help some others who
> have slow logins.


OK, so lets tabulate the evidence

			System                        Login Time
	perl4-oraperl + Production Machine(non-MTS)  Good (2 secs)
	Perl5-DBI     + Production Machine           Bad (14-7 secs)
        Perl5-DBI     + Very Fast Machine with MTS   Good (2 secs)
	

Comments
	* The perl scripts are running on a Sparc-20 with 64M of memory. 
	
	* The databases being connected to are on alphas running VMS.

	* DBI/DBD::Oracle and oraperl were both built on the Sparc-20 which has
Oracle 7.3.2 on it. I am not familiar with the internals of
DBI/DBD::Oracle and perl4-oraperl but I've repeated both builds and both
of them went fine.


	My feeling is that there may be a bad interaction between the OCI
orlon() call(as used by DBD::Oracle) and a machine which is **not
running a MTS**. Does perl4-oraperl use a different mechanism to
connect?


	I've not experienced the password related slowdowns.

RUNNING TRUSS

	Running truss on the system shows that my slowdown (in using DBI/DBD
Oracle + Production machine + non-mts) is at:

...........
Lots of stuff
......
sigprocmask(SIG_SETMASK, 0xEFFF9254, 0x00000000) = 0
getmsg(7, 0xEFFF9264, 0xEFFF91B0, 0xEFFF91BC)   = 0
ioctl(7, TI_GETMYNAME, 0xEFFF93E4)              = 0
fcntl(7, F_SETFD, 0x00000001)                   = 0
sigaction(SIGPIPE, 0xEFFF9F08, 0xEFFF9F88)      = 0
brk(0x00182000)                                 = 0
brk(0x00183000)                                 = 0
brk(0x00183000)                                 = 0
brk(0x00184000)                                 = 0
getpid()                                        = 11597 [11596]
times(0xEFFF9748)                               = 377586572
times(0xEFFFAD40)                               = 377586572
write(7, "\0CC\0\001\0\0\001 501 ,".., 204)     = 204
brk(0x00184000)                                 = 0
brk(0x00185000)                                 = 0
read(7, 0x00182036, 2048)       (sleeping...)  <===== SLOWDOWN IS HERE
...................
more stuff
.....................

I've attached the entire truss output.


-- 
regards,
Taranga Ghosh

Tel: 617 355 8544			Fax: 617 355 8405
E-mail:tghosh@medg.lcs.mit.edu

Children's Hospital Informatics Program
224 Wolbach Bldg Children's Hospital
300 Longwood Ave
Boston MA 02115

--------------6352746629EF
Content-Type: text/plain; charset=us-ascii; name="syscalls"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="syscalls"

execve("./tst", 0xEFFFFB78, 0xEFFFFB88)  argc = 4
open("/dev/zero", O_RDONLY)			= 3
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF7C0000
open("/usr/ucblib/libsocket.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libsocket.so.1", O_RDONLY)	= 4
fstat(4, 0xEFFFF814)				= 0
mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED, 4, 0) = 0xEF7B0000
mmap(0x00000000, 122880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF790000
munmap(0xEF79D000, 61440)			= 0
mmap(0xEF7AC000, 5393, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 49152) = 0xEF7AC000
close(4)					= 0
open("/usr/ucblib/libnsl.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libnsl.so.1", O_RDONLY)		= 4
fstat(4, 0xEFFFF814)				= 0
mmap(0xEF7B0000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0xEF7B0000
mmap(0x00000000, 524288, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF700000
munmap(0xEF760000, 61440)			= 0
mmap(0xEF76F000, 36557, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 389120) = 0xEF76F000
mmap(0xEF778000, 31408, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF778000
close(4)					= 0
open("/usr/ucblib/libdl.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libdl.so.1", O_RDONLY)		= 4
fstat(4, 0xEFFFF814)				= 0
mmap(0xEF7B0000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0xEF7B0000
close(4)					= 0
open("/usr/ucblib/libm.so.1", O_RDONLY)		Err#2 ENOENT
open("/usr/lib/libm.so.1", O_RDONLY)		= 4
fstat(4, 0xEFFFF814)				= 0
mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED, 4, 0) = 0xEF6F0000
mmap(0x00000000, 155648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF6C0000
munmap(0xEF6D5000, 61440)			= 0
mmap(0xEF6E4000, 6056, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 81920) = 0xEF6E4000
close(4)					= 0
open("/usr/ucblib/libc.so.1", O_RDONLY)		Err#2 ENOENT
open("/usr/lib/libc.so.1", O_RDONLY)		= 4
fstat(4, 0xEFFFF814)				= 0
mmap(0xEF6F0000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0xEF6F0000
mmap(0x00000000, 618496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF600000
munmap(0xEF67E000, 61440)			= 0
mmap(0xEF68D000, 28768, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 512000) = 0xEF68D000
mmap(0xEF695000, 4792, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF695000
close(4)					= 0
open("/usr/ucblib/libintl.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libintl.so.1", O_RDONLY)		= 4
fstat(4, 0xEFFFF814)				= 0
mmap(0xEF6F0000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0xEF6F0000
mmap(0x00000000, 81920, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF6A0000
munmap(0xEF6A3000, 61440)			= 0
mmap(0xEF6B2000, 2416, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 8192) = 0xEF6B2000
mmap(0xEF6B3000, 920, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF6B3000
close(4)					= 0
open("/usr/ucblib/libmp.so.1", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libmp.so.1", O_RDONLY)		= 4
fstat(4, 0xEFFFF814)				= 0
mmap(0xEF6F0000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0xEF6F0000
mmap(0x00000000, 77824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF5E0000
munmap(0xEF5E3000, 61440)			= 0
mmap(0xEF5F2000, 3318, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 8192) = 0xEF5F2000
close(4)					= 0
open("/usr/ucblib/libw.so.1", O_RDONLY)		Err#2 ENOENT
open("/usr/lib/libw.so.1", O_RDONLY)		= 4
fstat(4, 0xEFFFF814)				= 0
mmap(0xEF6F0000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FIXED, 4, 0) = 0xEF6F0000
mmap(0x00000000, 94208, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF5C0000
munmap(0xEF5C7000, 61440)			= 0
mmap(0xEF5D6000, 3136, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 24576) = 0xEF5D6000
close(4)					= 0
open("/usr/platform/SUNW,SPARCstation-20/lib/libc_psr.so.1", O_RDONLY) Err#2 ENOENT
close(3)					= 0
munmap(0xEF6F0000, 4096)			= 0
brk(0x000A2410)					= 0
brk(0x000A2800)					= 0
brk(0x000A3000)					= 0
brk(0x000A3000)					= 0
brk(0x000A3800)					= 0
brk(0x000A3800)					= 0
brk(0x000A4000)					= 0
brk(0x000A4000)					= 0
brk(0x000A4800)					= 0
getuid()					= 110 [110]
getuid()					= 110 [110]
getgid()					= 101 [101]
getgid()					= 101 [101]
brk(0x000A4800)					= 0
brk(0x000A5000)					= 0
brk(0x000A5000)					= 0
brk(0x000A5800)					= 0
brk(0x000A5800)					= 0
brk(0x000A6000)					= 0
brk(0x000A6000)					= 0
brk(0x000A6800)					= 0
brk(0x000A6800)					= 0
brk(0x000A8800)					= 0
brk(0x000A8800)					= 0
brk(0x000A9000)					= 0
getcontext(0xEFFFF830)
open("./tst", O_RDONLY)				= 3
brk(0x000A9000)					= 0
brk(0x000A9800)					= 0
time()						= 843659663
brk(0x000A9800)					= 0
brk(0x000AA000)					= 0
brk(0x000AA000)					= 0
brk(0x000AA800)					= 0
brk(0x000AA800)					= 0
brk(0x000AB000)					= 0
brk(0x000AB000)					= 0
brk(0x000AB800)					= 0
getpid()					= 11617 [11616]
brk(0x000AB800)					= 0
brk(0x000AC000)					= 0
brk(0x000AC000)					= 0
brk(0x000AC800)					= 0
fstat(3, 0xEFFFEDD8)				= 0
brk(0x000AC800)					= 0
brk(0x000B0800)					= 0
ioctl(3, TCGETA, 0xEFFFED64)			Err#25 ENOTTY
read(3, " # ! / u s r / l o c a l".., 8192)	= 411
brk(0x000B0800)					= 0
brk(0x000B1000)					= 0
brk(0x000B1000)					= 0
brk(0x000B1800)					= 0
getcontext(0xEFFFF5F8)
getcontext(0xEFFFF500)
open("/usr/local/lib/perl5/DBI.pm", O_RDONLY)	Err#2 ENOENT
open("/usr/local/lib/perl5/sun4-solaris/5.003/DBI.pm", O_RDONLY) Err#2 ENOENT
open("/usr/local/lib/perl5/DBI.pm", O_RDONLY)	Err#2 ENOENT
open("/usr/local/lib/perl5/site_perl/sun4-solaris/DBI.pm", O_RDONLY) Err#2 ENOENT
open("/usr/local/lib/perl5/site_perl/DBI.pm", O_RDONLY) = 4
brk(0x000B1800)					= 0
brk(0x000B2000)					= 0
brk(0x000B2000)					= 0
brk(0x000B2800)					= 0
fstat(4, 0xEFFFE950)				= 0
brk(0x000B2800)					= 0
brk(0x000B6800)					= 0
ioctl(4, TCGETA, 0xEFFFE8DC)			Err#25 ENOTTY
read(4, " r e q u i r e   5 . 0 0".., 8192)	= 8192
brk(0x000B6800)					= 0
brk(0x000BA800)					= 0
brk(0x000BA800)					= 0
brk(0x000BB000)					= 0
brk(0x000BB000)					= 0
brk(0x000BB800)					= 0
brk(0x000BB800)					= 0
brk(0x000BC000)					= 0
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
open("/usr/local/lib/perl5/Carp.pm", O_RDONLY)	= 5
brk(0x000BC000)					= 0
brk(0x000BC800)					= 0
brk(0x000BC800)					= 0
brk(0x000BD000)					= 0
brk(0x000BD000)					= 0
brk(0x000BD800)					= 0
brk(0x000BD800)					= 0
brk(0x000BE000)					= 0
fstat(5, 0xEFFFE4C8)				= 0
brk(0x000BE000)					= 0
brk(0x000C2000)					= 0
ioctl(5, TCGETA, 0xEFFFE454)			Err#25 ENOTTY
read(5, " p a c k a g e   C a r p".., 8192)	= 2187
brk(0x000C2000)					= 0
brk(0x000C3000)					= 0
brk(0x000C3000)					= 0
brk(0x000C3800)					= 0
brk(0x000C3800)					= 0
brk(0x000C4800)					= 0
brk(0x000C4800)					= 0
brk(0x000C5000)					= 0
brk(0x000C5000)					= 0
brk(0x000C5800)					= 0
brk(0x000C5800)					= 0
brk(0x000C6000)					= 0
brk(0x000C6000)					= 0
brk(0x000C6800)					= 0
brk(0x000C6800)					= 0
brk(0x000C7000)					= 0
brk(0x000C7000)					= 0
brk(0x000C7800)					= 0
brk(0x000C7800)					= 0
brk(0x000C8000)					= 0
brk(0x000C8000)					= 0
brk(0x000C8800)					= 0
brk(0x000C8800)					= 0
brk(0x000C9000)					= 0
brk(0x000C9000)					= 0
brk(0x000C9800)					= 0
read(5, 0x000BE00C, 8192)			= 0
lseek(5, 0, SEEK_CUR)				= 2187
close(5)					= 0
open("/usr/local/lib/perl5/Exporter.pm", O_RDONLY) = 5
brk(0x000C9800)					= 0
brk(0x000CA000)					= 0
brk(0x000CA000)					= 0
brk(0x000CA800)					= 0
brk(0x000CA800)					= 0
brk(0x000CB000)					= 0
fstat(5, 0xEFFFE4C8)				= 0
ioctl(5, TCGETA, 0xEFFFE454)			Err#25 ENOTTY
read(5, " p a c k a g e   E x p o".., 8192)	= 8192
brk(0x000CB000)					= 0
brk(0x000CF000)					= 0
brk(0x000CF000)					= 0
brk(0x000CF800)					= 0
brk(0x000CF800)					= 0
brk(0x000D0000)					= 0
brk(0x000D0000)					= 0
brk(0x000D0800)					= 0
brk(0x000D0800)					= 0
brk(0x000D1000)					= 0
brk(0x000D1000)					= 0
brk(0x000D1800)					= 0
brk(0x000D1800)					= 0
brk(0x000D2000)					= 0
brk(0x000D2000)					= 0
brk(0x000D2800)					= 0
brk(0x000D2800)					= 0
brk(0x000D3000)					= 0
brk(0x000D3000)					= 0
brk(0x000D3800)					= 0
brk(0x000D3800)					= 0
brk(0x000D4000)					= 0
brk(0x000D4000)					= 0
brk(0x000D4800)					= 0
brk(0x000D4800)					= 0
brk(0x000D5000)					= 0
brk(0x000D5000)					= 0
brk(0x000D5800)					= 0
brk(0x000D5800)					= 0
brk(0x000D6000)					= 0
brk(0x000D6000)					= 0
brk(0x000D6800)					= 0
brk(0x000D6800)					= 0
brk(0x000D7000)					= 0
brk(0x000D7000)					= 0
brk(0x000D7800)					= 0
brk(0x000D7800)					= 0
brk(0x000D8000)					= 0
brk(0x000D8000)					= 0
brk(0x000D8800)					= 0
brk(0x000D8800)					= 0
brk(0x000D9000)					= 0
brk(0x000D9000)					= 0
brk(0x000D9800)					= 0
brk(0x000D9800)					= 0
brk(0x000DA000)					= 0
brk(0x000DA000)					= 0
brk(0x000DA800)					= 0
brk(0x000DA800)					= 0
brk(0x000DB000)					= 0
brk(0x000DB000)					= 0
brk(0x000DB800)					= 0
brk(0x000DB800)					= 0
brk(0x000DC000)					= 0
brk(0x000DC000)					= 0
brk(0x000DC800)					= 0
brk(0x000DC800)					= 0
brk(0x000DD000)					= 0
brk(0x000DD000)					= 0
brk(0x000DD800)					= 0
brk(0x000DD800)					= 0
brk(0x000DE000)					= 0
brk(0x000DE000)					= 0
brk(0x000DE800)					= 0
brk(0x000DE800)					= 0
brk(0x000DF000)					= 0
brk(0x000DF000)					= 0
brk(0x000DF800)					= 0
brk(0x000DF800)					= 0
brk(0x000E0000)					= 0
brk(0x000E0000)					= 0
brk(0x000E0800)					= 0
brk(0x000E0800)					= 0
brk(0x000E1000)					= 0
brk(0x000E1000)					= 0
brk(0x000E1800)					= 0
brk(0x000E1800)					= 0
brk(0x000E2000)					= 0
brk(0x000E2000)					= 0
brk(0x000E2800)					= 0
brk(0x000E2800)					= 0
brk(0x000E3000)					= 0
brk(0x000E3000)					= 0
brk(0x000E3800)					= 0
brk(0x000E3800)					= 0
brk(0x000E4000)					= 0
brk(0x000E4000)					= 0
brk(0x000E4800)					= 0
brk(0x000E4800)					= 0
brk(0x000E5000)					= 0
lseek(5, 0xFFFFF334, SEEK_CUR)			= 4916
close(5)					= 0
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
open("/usr/local/lib/perl5/DynaLoader.pm", O_RDONLY) = 5
fstat(5, 0xEFFFE4C8)				= 0
ioctl(5, TCGETA, 0xEFFFE454)			Err#25 ENOTTY
read(5, " p a c k a g e   D y n a".., 8192)	= 8192
getcontext(0xEFFFECE8)
getcontext(0xEFFFEBF0)
open("/usr/local/lib/perl5/vars.pm", O_RDONLY)	= 6
brk(0x000E5000)					= 0
brk(0x000E5800)					= 0
fstat(6, 0xEFFFE040)				= 0
brk(0x000E5800)					= 0
brk(0x000E9800)					= 0
ioctl(6, TCGETA, 0xEFFFDFCC)			Err#25 ENOTTY
read(6, " p a c k a g e   v a r s".., 8192)	= 976
brk(0x000E9800)					= 0
brk(0x000EA000)					= 0
brk(0x000EA000)					= 0
brk(0x000EA800)					= 0
getcontext(0xEFFFE860)
getcontext(0xEFFFE768)
brk(0x000EA800)					= 0
brk(0x000EB000)					= 0
brk(0x000EB000)					= 0
brk(0x000EB800)					= 0
brk(0x000EB800)					= 0
brk(0x000EC000)					= 0
brk(0x000EC000)					= 0
brk(0x000EC800)					= 0
brk(0x000EC800)					= 0
brk(0x000ED000)					= 0
read(6, 0x000E580C, 8192)			= 0
lseek(6, 0, SEEK_CUR)				= 976
close(6)					= 0
brk(0x000ED000)					= 0
brk(0x000ED800)					= 0
brk(0x000ED800)					= 0
brk(0x000EE000)					= 0
brk(0x000EE000)					= 0
brk(0x000EE800)					= 0
brk(0x000EE800)					= 0
brk(0x000EF000)					= 0
brk(0x000EF000)					= 0
brk(0x000EF800)					= 0
brk(0x000EF800)					= 0
brk(0x000F0000)					= 0
brk(0x000F0000)					= 0
brk(0x000F0800)					= 0
brk(0x000F0800)					= 0
brk(0x000F1000)					= 0
brk(0x000F1000)					= 0
brk(0x000F1800)					= 0
brk(0x000F1800)					= 0
brk(0x000F2000)					= 0
brk(0x000F2000)					= 0
brk(0x000F2800)					= 0
brk(0x000F2800)					= 0
brk(0x000F3000)					= 0
brk(0x000F3000)					= 0
brk(0x000F3800)					= 0
brk(0x000F3800)					= 0
brk(0x000F4000)					= 0
brk(0x000F4000)					= 0
brk(0x000F4800)					= 0
brk(0x000F4800)					= 0
brk(0x000F5000)					= 0
brk(0x000F5000)					= 0
brk(0x000F5800)					= 0
brk(0x000F5800)					= 0
brk(0x000F6000)					= 0
brk(0x000F6000)					= 0
brk(0x000F6800)					= 0
brk(0x000F6800)					= 0
brk(0x000F7000)					= 0
brk(0x000F7000)					= 0
brk(0x000F7800)					= 0
brk(0x000F7800)					= 0
brk(0x000F8000)					= 0
brk(0x000F8000)					= 0
brk(0x000F8800)					= 0
brk(0x000F8800)					= 0
brk(0x000F9000)					= 0
brk(0x000F9000)					= 0
brk(0x000F9800)					= 0
brk(0x000F9800)					= 0
brk(0x000FA000)					= 0
brk(0x000FA000)					= 0
brk(0x000FA800)					= 0
brk(0x000FA800)					= 0
brk(0x000FB000)					= 0
brk(0x000FB000)					= 0
brk(0x000FB800)					= 0
lseek(5, 0xFFFFF6D8, SEEK_CUR)			= 5848
close(5)					= 0
open("/usr/local/lib/perl5/Config.pm", O_RDONLY) Err#2 ENOENT
open("/usr/local/lib/perl5/sun4-solaris/5.003/Config.pm", O_RDONLY) = 5
brk(0x000FB800)					= 0
brk(0x000FC000)					= 0
fstat(5, 0xEFFFE4C8)				= 0
ioctl(5, TCGETA, 0xEFFFE454)			Err#25 ENOTTY
read(5, " p a c k a g e   C o n f".., 8192)	= 8192
brk(0x000FC000)					= 0
brk(0x000FC800)					= 0
getcontext(0xEFFFECE8)
getcontext(0xEFFFEBF0)
brk(0x000FC800)					= 0
brk(0x000FD000)					= 0
brk(0x000FD000)					= 0
brk(0x000FD800)					= 0
brk(0x000FD800)					= 0
brk(0x000FE000)					= 0
brk(0x000FE000)					= 0
brk(0x000FE800)					= 0
brk(0x000FE800)					= 0
brk(0x000FF000)					= 0
brk(0x000FF000)					= 0
brk(0x00101000)					= 0
read(5, " o i d   * '\n m a n 1 d".., 8192)	= 6631
brk(0x00101000)					= 0
brk(0x00101800)					= 0
brk(0x00101800)					= 0
brk(0x00102000)					= 0
brk(0x00102000)					= 0
brk(0x00102800)					= 0
brk(0x00102800)					= 0
brk(0x00103000)					= 0
brk(0x00103000)					= 0
brk(0x00103800)					= 0
brk(0x00103800)					= 0
brk(0x00104000)					= 0
brk(0x00104000)					= 0
brk(0x00104800)					= 0
brk(0x00104800)					= 0
brk(0x00105000)					= 0
brk(0x00105000)					= 0
brk(0x00105800)					= 0
brk(0x00105800)					= 0
brk(0x00106000)					= 0
brk(0x00106000)					= 0
brk(0x00106800)					= 0
brk(0x00106800)					= 0
brk(0x00107000)					= 0
brk(0x00107000)					= 0
brk(0x00107800)					= 0
brk(0x00107800)					= 0
brk(0x00108000)					= 0
brk(0x00108000)					= 0
brk(0x00108800)					= 0
lseek(5, 0xFFFFF75E, SEEK_CUR)			= 12613
close(5)					= 0
open("/usr/local/lib/perl5/AutoLoader.pm", O_RDONLY) = 5
fstat(5, 0xEFFFE4C8)				= 0
ioctl(5, TCGETA, 0xEFFFE454)			Err#25 ENOTTY
read(5, " p a c k a g e   A u t o".., 8192)	= 2200
getcontext(0xEFFFECE8)
getcontext(0xEFFFEBF0)
brk(0x00108800)					= 0
brk(0x00109000)					= 0
brk(0x00109000)					= 0
brk(0x00109800)					= 0
brk(0x00109800)					= 0
brk(0x0010A000)					= 0
brk(0x0010A000)					= 0
brk(0x0010A800)					= 0
brk(0x0010A800)					= 0
brk(0x0010B000)					= 0
brk(0x0010B000)					= 0
brk(0x0010B800)					= 0
brk(0x0010B800)					= 0
brk(0x0010C000)					= 0
brk(0x0010C000)					= 0
brk(0x0010C800)					= 0
read(5, 0x000E580C, 8192)			= 0
lseek(5, 0, SEEK_CUR)				= 2200
close(5)					= 0
brk(0x0010C800)					= 0
brk(0x0010D000)					= 0
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
open("/usr/local/lib/perl5/strict.pm", O_RDONLY) = 5
fstat(5, 0xEFFFE4C8)				= 0
ioctl(5, TCGETA, 0xEFFFE454)			Err#25 ENOTTY
read(5, " p a c k a g e   s t r i".., 8192)	= 2137
brk(0x0010D000)					= 0
brk(0x0010D800)					= 0
read(5, 0x000E580C, 8192)			= 0
lseek(5, 0, SEEK_CUR)				= 2137
close(5)					= 0
brk(0x0010D800)					= 0
brk(0x0010E000)					= 0
brk(0x0010E000)					= 0
brk(0x0010E800)					= 0
brk(0x0010E800)					= 0
brk(0x0010F000)					= 0
brk(0x0010F000)					= 0
brk(0x0010F800)					= 0
brk(0x0010F800)					= 0
brk(0x00110000)					= 0
brk(0x00110000)					= 0
brk(0x00110800)					= 0
brk(0x00110800)					= 0
brk(0x00111000)					= 0
brk(0x00111000)					= 0
brk(0x00111800)					= 0
brk(0x00111800)					= 0
brk(0x00112000)					= 0
brk(0x00112000)					= 0
brk(0x00112800)					= 0
brk(0x00112800)					= 0
brk(0x00113000)					= 0
brk(0x00113000)					= 0
brk(0x00113800)					= 0
brk(0x00113800)					= 0
brk(0x00114000)					= 0
brk(0x00114000)					= 0
brk(0x00114800)					= 0
brk(0x00114800)					= 0
brk(0x00115000)					= 0
brk(0x00115000)					= 0
brk(0x00115800)					= 0
brk(0x00115800)					= 0
brk(0x00116000)					= 0
brk(0x00116000)					= 0
brk(0x00116800)					= 0
brk(0x00116800)					= 0
brk(0x00117000)					= 0
brk(0x00117000)					= 0
brk(0x00117800)					= 0
brk(0x00117800)					= 0
brk(0x00118000)					= 0
brk(0x00118000)					= 0
brk(0x00118800)					= 0
brk(0x00118800)					= 0
brk(0x00119000)					= 0
brk(0x00119000)					= 0
brk(0x00119800)					= 0
brk(0x00119800)					= 0
brk(0x0011A000)					= 0
brk(0x0011A000)					= 0
brk(0x0011A800)					= 0
brk(0x0011A800)					= 0
brk(0x0011B000)					= 0
brk(0x0011B000)					= 0
brk(0x0011B800)					= 0
brk(0x0011B800)					= 0
brk(0x0011C000)					= 0
brk(0x0011C000)					= 0
brk(0x0011C800)					= 0
brk(0x0011C800)					= 0
brk(0x0011D000)					= 0
brk(0x0011D000)					= 0
brk(0x0011D800)					= 0
brk(0x0011D800)					= 0
brk(0x0011E000)					= 0
brk(0x0011E000)					= 0
brk(0x0011E800)					= 0
brk(0x0011E800)					= 0
brk(0x0011F000)					= 0
brk(0x0011F000)					= 0
brk(0x0011F800)					= 0
brk(0x0011F800)					= 0
brk(0x00120000)					= 0
brk(0x00120000)					= 0
brk(0x00120800)					= 0
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
brk(0x00120800)					= 0
brk(0x00121000)					= 0
brk(0x00121000)					= 0
brk(0x00121800)					= 0
brk(0x00121800)					= 0
brk(0x00122000)					= 0
brk(0x00122000)					= 0
brk(0x00122800)					= 0
brk(0x00122800)					= 0
brk(0x00123000)					= 0
brk(0x00123000)					= 0
brk(0x00123800)					= 0
brk(0x00123800)					= 0
brk(0x00124000)					= 0
brk(0x00124000)					= 0
brk(0x00124800)					= 0
brk(0x00124800)					= 0
brk(0x00125000)					= 0
brk(0x00125000)					= 0
brk(0x00125800)					= 0
brk(0x00125800)					= 0
brk(0x00126000)					= 0
brk(0x00126000)					= 0
brk(0x00126800)					= 0
brk(0x00126800)					= 0
brk(0x00127000)					= 0
brk(0x00127000)					= 0
brk(0x00127800)					= 0
brk(0x00127800)					= 0
brk(0x00128000)					= 0
brk(0x00128000)					= 0
brk(0x00128800)					= 0
brk(0x00128800)					= 0
brk(0x00129000)					= 0
brk(0x00129000)					= 0
brk(0x00129800)					= 0
read(4, " t ,   $ a t t r ,   $ i".., 8192)	= 8192
brk(0x00129800)					= 0
brk(0x0012A000)					= 0
brk(0x0012A000)					= 0
brk(0x0012A800)					= 0
brk(0x0012A800)					= 0
brk(0x0012B000)					= 0
brk(0x0012B000)					= 0
brk(0x0012B800)					= 0
brk(0x0012B800)					= 0
brk(0x0012C000)					= 0
brk(0x0012C000)					= 0
brk(0x0012C800)					= 0
brk(0x0012C800)					= 0
brk(0x0012D000)					= 0
brk(0x0012D000)					= 0
brk(0x0012D800)					= 0
brk(0x0012D800)					= 0
brk(0x0012E000)					= 0
brk(0x0012E000)					= 0
brk(0x0012E800)					= 0
brk(0x0012E800)					= 0
brk(0x0012F000)					= 0
brk(0x0012F000)					= 0
brk(0x0012F800)					= 0
brk(0x0012F800)					= 0
brk(0x00130000)					= 0
brk(0x00130000)					= 0
brk(0x00130800)					= 0
brk(0x00130800)					= 0
brk(0x00131000)					= 0
brk(0x00131000)					= 0
brk(0x00131800)					= 0
brk(0x00131800)					= 0
brk(0x00132000)					= 0
brk(0x00132000)					= 0
brk(0x00132800)					= 0
brk(0x00132800)					= 0
brk(0x00133000)					= 0
brk(0x00133000)					= 0
brk(0x00133800)					= 0
brk(0x00133800)					= 0
brk(0x00134000)					= 0
brk(0x00134000)					= 0
brk(0x00134800)					= 0
brk(0x00134800)					= 0
brk(0x00135000)					= 0
brk(0x00135000)					= 0
brk(0x00135800)					= 0
brk(0x00135800)					= 0
brk(0x00136000)					= 0
brk(0x00136000)					= 0
brk(0x00136800)					= 0
brk(0x00136800)					= 0
brk(0x00137000)					= 0
brk(0x00137000)					= 0
brk(0x00137800)					= 0
brk(0x00137800)					= 0
brk(0x00138000)					= 0
brk(0x00138000)					= 0
brk(0x00138800)					= 0
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
brk(0x00138800)					= 0
brk(0x00139000)					= 0
brk(0x00139000)					= 0
brk(0x00139800)					= 0
brk(0x00139800)					= 0
brk(0x0013A000)					= 0
brk(0x0013A000)					= 0
brk(0x0013A800)					= 0
brk(0x0013A800)					= 0
brk(0x0013B000)					= 0
brk(0x0013B000)					= 0
brk(0x0013B800)					= 0
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
brk(0x0013B800)					= 0
brk(0x0013C000)					= 0
brk(0x0013C000)					= 0
brk(0x0013C800)					= 0
brk(0x0013C800)					= 0
brk(0x0013D000)					= 0
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
brk(0x0013D000)					= 0
brk(0x0013D800)					= 0
brk(0x0013D800)					= 0
brk(0x0013E000)					= 0
brk(0x0013E000)					= 0
brk(0x0013E800)					= 0
brk(0x0013E800)					= 0
brk(0x0013F000)					= 0
brk(0x0013F000)					= 0
brk(0x0013F800)					= 0
brk(0x0013F800)					= 0
brk(0x00140000)					= 0
brk(0x00140000)					= 0
brk(0x00140800)					= 0
brk(0x00140800)					= 0
brk(0x00141000)					= 0
brk(0x00141000)					= 0
brk(0x00141800)					= 0
getcontext(0xEFFFF170)
getcontext(0xEFFFF078)
brk(0x00141800)					= 0
brk(0x00142000)					= 0
brk(0x00142000)					= 0
brk(0x00142800)					= 0
brk(0x00142800)					= 0
brk(0x00143000)					= 0
brk(0x00143000)					= 0
brk(0x00143800)					= 0
brk(0x00143800)					= 0
brk(0x00144000)					= 0
brk(0x00144000)					= 0
brk(0x00144800)					= 0
brk(0x00144800)					= 0
brk(0x00145000)					= 0
brk(0x00145000)					= 0
brk(0x00145800)					= 0
brk(0x00145800)					= 0
brk(0x00146000)					= 0
lseek(4, 0xFFFFFD02, SEEK_CUR)			= 15618
close(4)					= 0
brk(0x00146000)					= 0
brk(0x00146800)					= 0
stat("/usr/local/lib/perl5/auto/DBI", 0x000A137C) Err#2 ENOENT
stat("/usr/local/lib/perl5/sun4-solaris/5.003/auto/DBI", 0x000A137C) Err#2 ENOENT
stat("/usr/local/lib/perl5/auto/DBI", 0x000A137C) Err#2 ENOENT
stat("/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI", 0x000A137C) = 0
brk(0x00146800)					= 0
brk(0x00147000)					= 0
stat("/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI/DBI.so", 0x000A137C) = 0
stat("/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI/DBI.bs", 0x000A137C) = 0
open("/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBI/DBI.so", O_RDONLY) = 4
fstat(4, 0xEFFFF3AC)				= 0
mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED, 4, 0) = 0xEF6F0000
mmap(0x00000000, 102400, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF5A0000
munmap(0xEF5A9000, 61440)			= 0
mmap(0xEF5B8000, 3720, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 32768) = 0xEF5B8000
close(4)					= 0
mprotect(0xEF5A0000, 34611, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xEF5A0000, 34611, PROT_READ|PROT_EXEC) = 0
munmap(0xEF6F0000, 4096)			= 0
brk(0x00147000)					= 0
brk(0x00147800)					= 0
brk(0x00147800)					= 0
brk(0x00148000)					= 0
brk(0x00148000)					= 0
brk(0x00148800)					= 0
brk(0x00148800)					= 0
brk(0x00149000)					= 0
brk(0x00149000)					= 0
brk(0x00149800)					= 0
brk(0x00149800)					= 0
brk(0x0014A000)					= 0
brk(0x0014A000)					= 0
brk(0x0014A800)					= 0
brk(0x0014A800)					= 0
brk(0x0014B000)					= 0
brk(0x0014B000)					= 0
brk(0x0014B800)					= 0
brk(0x0014B800)					= 0
brk(0x0014C000)					= 0
brk(0x0014C000)					= 0
brk(0x0014C800)					= 0
brk(0x0014C800)					= 0
brk(0x0014D000)					= 0
brk(0x0014D000)					= 0
brk(0x0014D800)					= 0
brk(0x0014D800)					= 0
brk(0x0014E000)					= 0
brk(0x0014E000)					= 0
brk(0x0014E800)					= 0
brk(0x0014E800)					= 0
brk(0x0014F000)					= 0
brk(0x0014F000)					= 0
brk(0x0014F800)					= 0
brk(0x0014F800)					= 0
brk(0x00150000)					= 0
brk(0x00150000)					= 0
brk(0x00150800)					= 0
brk(0x00150800)					= 0
brk(0x00151000)					= 0
brk(0x00151000)					= 0
brk(0x00151800)					= 0
brk(0x00151800)					= 0
brk(0x00152000)					= 0
brk(0x00152000)					= 0
brk(0x00152800)					= 0
brk(0x00152800)					= 0
brk(0x00153000)					= 0
brk(0x00153000)					= 0
brk(0x00153800)					= 0
brk(0x00153800)					= 0
brk(0x00154000)					= 0
read(3, 0x000AC80C, 8192)			= 0
lseek(3, 0, SEEK_CUR)				= 411
close(3)					= 0
getcontext(0xEFFFF860)
open("/usr/local/lib/perl5/DBD/Oracle.pm", O_RDONLY) Err#2 ENOENT
open("/usr/local/lib/perl5/sun4-solaris/5.003/DBD/Oracle.pm", O_RDONLY) Err#2 ENOENT
open("/usr/local/lib/perl5/DBD/Oracle.pm", O_RDONLY) Err#2 ENOENT
open("/usr/local/lib/perl5/site_perl/sun4-solaris/DBD/Oracle.pm", O_RDONLY) Err#2 ENOENT
open("/usr/local/lib/perl5/site_perl/DBD/Oracle.pm", O_RDONLY) = 3
fstat(3, 0xEFFFECB0)				= 0
ioctl(3, TCGETA, 0xEFFFEC3C)			Err#25 ENOTTY
read(3, " #       $ I d :   O r a".., 8192)	= 4598
getcontext(0xEFFFF4D0)
getcontext(0xEFFFF3D8)
getcontext(0xEFFFF4D0)
getcontext(0xEFFFF3D8)
getcontext(0xEFFFF4D0)
getcontext(0xEFFFF3D8)
brk(0x00154000)					= 0
brk(0x00154800)					= 0
getcontext(0xEFFFF4D0)
getcontext(0xEFFFF3D8)
brk(0x00154800)					= 0
brk(0x00155000)					= 0
brk(0x00155000)					= 0
brk(0x00155800)					= 0
brk(0x00155800)					= 0
brk(0x00156000)					= 0
brk(0x00156000)					= 0
brk(0x00156800)					= 0
brk(0x00156800)					= 0
brk(0x00157000)					= 0
getcontext(0xEFFFF4D0)
getcontext(0xEFFFF3D8)
read(3, 0x000AC80C, 8192)			= 0
lseek(3, 0, SEEK_CUR)				= 4598
close(3)					= 0
stat("/usr/local/lib/perl5/auto/DBD/Oracle", 0x000A137C) Err#2 ENOENT
stat("/usr/local/lib/perl5/sun4-solaris/5.003/auto/DBD/Oracle", 0x000A137C) Err#2 ENOENT
stat("/usr/local/lib/perl5/auto/DBD/Oracle", 0x000A137C) Err#2 ENOENT
stat("/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle", 0x000A137C) = 0
stat("/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle/Oracle.so", 0x000A137C) = 0
stat("/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle/Oracle.bs", 0x000A137C) = 0
open("/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle/Oracle.so", O_RDONLY) = 3
fstat(3, 0xEFFFF70C)				= 0
mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED, 3, 0) = 0xEF6F0000
mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF580000
munmap(0xEF588000, 61440)			= 0
mmap(0xEF597000, 2580, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 28672) = 0xEF597000
close(3)					= 0
open("/usr/ucblib/libclntsh.so.1.0", O_RDONLY)	Err#2 ENOENT
open("/usr/lib/libclntsh.so.1.0", O_RDONLY)	Err#2 ENOENT
open("/usr/local/lib/libclntsh.so.1.0", O_RDONLY) Err#2 ENOENT
open("/u01/app/oracle/product/7.3.2/lib/libclntsh.so.1.0", O_RDONLY) = 3
fstat(3, 0xEFFFF64C)				= 0
mmap(0xEF6F0000, 4096, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FIXED, 3, 0) = 0xEF6F0000
mmap(0x00000000, 2428928, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xEF300000
munmap(0xEF52F000, 61440)			= 0
mmap(0xEF53E000, 63804, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 2285568) = 0xEF53E000
open("/dev/zero", O_RDONLY)			= 4
mmap(0xEF54E000, 11356, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF54E000
close(3)					= 0
mprotect(0xEF580000, 29344, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xEF580000, 29344, PROT_READ|PROT_EXEC) = 0
mprotect(0xEF300000, 2288096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xEF300000, 2288096, PROT_READ|PROT_EXEC) = 0
close(4)					= 0
munmap(0xEF6F0000, 4096)			= 0
brk(0x00157000)					= 0
brk(0x00157800)					= 0
brk(0x00157800)					= 0
brk(0x00158000)					= 0
brk(0x00158000)					= 0
brk(0x00158800)					= 0
brk(0x00158800)					= 0
brk(0x00159000)					= 0
brk(0x00159000)					= 0
brk(0x00159800)					= 0
open("/u01/app/oracle/product/7.3.2/ocommon/nls/admin/data/lx1boot.nlb", O_RDONLY) = 3
fstat(3, 0xEFFFEC38)				= 0
ioctl(3, TCGETA, 0xEFFFEBC4)			Err#25 ENOTTY
read(3, "A5A5\0\00110\0\0 ;1A\0\0".., 8192)	= 8192
read(3, " 9 7 8 0 X\0\0\0\0\0\0\0".., 8192)	= 6938
lseek(3, 0, SEEK_CUR)				= 15130
close(3)					= 0
open("/u01/app/oracle/product/7.3.2/ocommon/nls/admin/data/lx00001.nlb", O_RDONLY) = 3
fstat(3, 0xEFFFE9E8)				= 0
ioctl(3, TCGETA, 0xEFFFE974)			Err#25 ENOTTY
read(3, " Z Z\0\00110\0\0\0\0\0\0".., 8192)	= 482
read(3, 0x000B680C, 8192)			= 0
lseek(3, 0, SEEK_CUR)				= 482
close(3)					= 0
open("/u01/app/oracle/product/7.3.2/ocommon/nls/admin/data/lx20001.nlb", O_RDONLY) = 3
fstat(3, 0xEFFFE9E8)				= 0
ioctl(3, TCGETA, 0xEFFFE974)			Err#25 ENOTTY
read(3, " Z Z\0\00110\0\0\002\0\0".., 8192)	= 3161
read(3, 0x000B680C, 8192)			= 0
lseek(3, 0, SEEK_CUR)				= 3161
close(3)					= 0
brk(0x00159800)					= 0
brk(0x0015A000)					= 0
open("/u01/app/oracle/product/7.3.2/ocommon/nls/admin/data/lx10001.nlb", O_RDONLY) = 3
fstat(3, 0xEFFFE9E8)				= 0
ioctl(3, TCGETA, 0xEFFFE974)			Err#25 ENOTTY
read(3, " Z Z\0\00110\0\0\001\0\0".., 8192)	= 269
read(3, 0x000B680C, 8192)			= 0
lseek(3, 0, SEEK_CUR)				= 269
close(3)					= 0
stat("./", 0xEFFFB8D4)				= 0
stat("/", 0xEFFFB84C)				= 0
open("./../", O_RDONLY|O_NDELAY)		= 3
fcntl(3, F_SETFD, 0x00000001)			= 0
fstat(3, 0xEFFFB358)				= 0
fstat(3, 0xEFFFB8D4)				= 0
getdents(3, 0x000BD818, 1048)			= 580
close(3)					= 0
open("./../../", O_RDONLY|O_NDELAY)		= 3
fcntl(3, F_SETFD, 0x00000001)			= 0
fstat(3, 0xEFFFB358)				= 0
fstat(3, 0xEFFFB8D4)				= 0
getdents(3, 0x000BD818, 1048)			= 100
close(3)					= 0
open("./../../../", O_RDONLY|O_NDELAY)		= 3
fcntl(3, F_SETFD, 0x00000001)			= 0
fstat(3, 0xEFFFB358)				= 0
fstat(3, 0xEFFFB8D4)				= 0
open("/etc/mnttab", O_RDONLY)			= 4
fstat(4, 0xEFFFB130)				= 0
ioctl(4, TCGETA, 0xEFFFB0BC)			Err#25 ENOTTY
read(4, " / d e v / d s k / c 0 t".., 8192)	= 662
lstat("/u01", 0xEFFFB344)			= 0
lstat("/u01/..", 0xEFFFB344)			= 0
lseek(4, 0xFFFFFEC2, SEEK_CUR)			= 344
close(4)					= 0
close(3)					= 0
brk(0x0015A000)					= 0
brk(0x0015A800)					= 0
brk(0x0015A800)					= 0
brk(0x0015B000)					= 0
access("/u01/app/oracle/product/7.3.2/network/admin/sqlnet.ora", 0) Err#2 ENOENT
access("/u01/app/oracle/.sqlnet.ora", 0)	Err#2 ENOENT
brk(0x0015B000)					= 0
brk(0x0015B800)					= 0
systeminfo(SI_HOSTNAME, "ripley", 256)		= 7
open("/u01/app/oracle/product/7.3.2/otrace/admin/process.dat", O_RDWR) = 3
lseek(3, 0, SEEK_CUR)				= 0
lseek(3, 0, SEEK_SET)				= 0
fstat(3, 0xEFFFAC68)				= 0
ioctl(3, TCGETA, 0xEFFFABF4)			Err#25 ENOTTY
read(3, "\0\0\0\0\0\0\0\0\006\rC8".., 8192)	= 8192
lseek(3, 0, SEEK_SET)				= 0
read(3, "\0\0\0\0\0\0\0\0\006\rC8".., 8192)	= 8192
fcntl(3, F_SETLK, 0xEFFFAE44)			= 0
lseek(3, 0, SEEK_SET)				= 0
read(3, "\0\0\0\0\0\0\0\0\006\rC8".., 8192)	= 8192
lseek(3, 0, SEEK_SET)				= 0
write(3, "\0\0\0\0\0\0\0\0\006\rC8".., 28)	= 28
fcntl(3, F_SETLK, 0xEFFFAE44)			= 0
fcntl(3, F_SETLK, 0xEFFFADE4)			= 0
lseek(3, 0, SEEK_CUR)				= 28
lseek(3, 383296, SEEK_SET)			= 383296
read(3, "\0\0\0\0\005D9 @\0\0\0\0".., 8192)	= 8192
lseek(3, 383296, SEEK_SET)			= 383296
write(3, "\0\0\001\005D9 @\0\0\0\0".., 6724)	= 6724
fcntl(3, F_SETLK, 0xEFFFADE4)			= 0
getpid()					= 11617 [11616]
ioctl(0, TCGETA, 0xEFFFAB5C)			= 0
fstat(0, 0xEFFFAC60)				= 0
open("/etc/ttysrch", O_RDONLY)			= 4
stat("/etc/ttysrch", 0xEFFFAAE8)		= 0
read(4, " # i d e n t\t " @ ( # )".., 1408)	= 1408
close(4)					= 0
stat("/dev/console", 0xEFFFABD8)		= 0
stat("/dev/pts/4", 0xEFFFAAE8)			= 0
open("/var/adm/utmpx", O_RDWR|O_CREAT, 0644)	Err#13 EACCES
open("/var/adm/utmpx", O_RDONLY)		= 4
open("/var/adm/utmpx", O_RDONLY)		= 5
access("/var/adm/utmp", 0)			= 0
fstat(5, 0xEFFFAB40)				= 0
ioctl(5, TCGETA, 0xEFFFAACC)			Err#25 ENOTTY
read(5, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192)	= 5208
close(4)					= 0
lseek(5, 0xFFFFF8BC, SEEK_CUR)			= 3348
close(5)					= 0
open("/var/adm/utmp", O_RDONLY)			= 4
lseek(4, 288, SEEK_SET)				= 288
read(4, " o r a c l e\0\0 r l 2 0".., 36)	= 36
close(4)					= 0
open("/u01/app/oracle/product/7.3.2/otrace/admin/regid.dat", O_RDWR) = 4
lseek(4, 0, SEEK_CUR)				= 0
lseek(4, 0, SEEK_SET)				= 0
fstat(4, 0xEFFFABF0)				= 0
ioctl(4, TCGETA, 0xEFFFAB7C)			Err#25 ENOTTY
read(4, "\0\0\0\0\0\0\0\0\0\084DC".., 8192)	= 8192
lseek(4, 28, SEEK_SET)				= 28
read(4, "\0\0\001\0\0\01C\0\0\01C".., 8192)	= 8192
lseek(4, 316, SEEK_SET)				= 316
read(4, "\0\0\002\0\001 <\0\0\01C".., 8192)	= 8192
lseek(4, 604, SEEK_SET)				= 604
read(4, "\0\0\001\0\002 \\0\01A `".., 8192)	= 8192
lseek(4, 892, SEEK_SET)				= 892
read(4, "\0\0\002\0\003 |\0\01A `".., 8192)	= 8192
lseek(4, 1180, SEEK_SET)			= 1180
read(4, "\0\0\001\0\0049C\0\0 4A4".., 8192)	= 8192
lseek(4, 1468, SEEK_SET)			= 1468
read(4, "\0\0\002\0\005BC\0\0 4A4".., 8192)	= 8192
lseek(4, 1756, SEEK_SET)			= 1756
read(4, "\0\0\001\0\006DC\0\0 NE8".., 8192)	= 8192
lseek(4, 2044, SEEK_SET)			= 2044
read(4, "\0\0\002\0\007FC\0\0 NE8".., 8192)	= 8192
lseek(4, 2332, SEEK_SET)			= 2332
read(4, "\0\0\001\0\0\t1C\0\0 i ,".., 8192)	= 8192
lseek(4, 2620, SEEK_SET)			= 2620
read(4, "\0\0\002\0\0\n <\0\0 i ,".., 8192)	= 8192
lseek(4, 2908, SEEK_SET)			= 2908
read(4, "\0\0\001\0\0\v \\0\083 p".., 8192)	= 8192
lseek(4, 3196, SEEK_SET)			= 3196
read(4, "\0\0\002\0\0\f |\0\083 p".., 8192)	= 8192
lseek(4, 3484, SEEK_SET)			= 3484
read(4, "\0\0\001\0\0\r9C\0\09DB4".., 8192)	= 8192
lseek(4, 3772, SEEK_SET)			= 3772
read(4, "\0\0\002\0\00EBC\0\09DB4".., 8192)	= 8192
lseek(4, 4060, SEEK_SET)			= 4060
read(4, "\0\0\001\0\00FDC\0\0B7F8".., 8192)	= 8192
lseek(4, 4348, SEEK_SET)			= 4348
read(4, "\0\0\002\0\010FC\0\0B7F8".., 8192)	= 8192
lseek(4, 4636, SEEK_SET)			= 4636
read(4, "\0\0\001\0\0121C\0\0D2 <".., 8192)	= 8192
lseek(4, 4924, SEEK_SET)			= 4924
read(4, "\0\0\002\0\013 <\0\0D2 <".., 8192)	= 8192
lseek(4, 5212, SEEK_SET)			= 5212
read(4, "\0\0\001\0\014 \\0\0EC80".., 8192)	= 8192
lseek(4, 5500, SEEK_SET)			= 5500
read(4, "\0\0\002\0\015 |\0\0EC80".., 8192)	= 8192
lseek(4, 5788, SEEK_SET)			= 5788
read(4, "\0\0\001\0\0169C\00106C4".., 8192)	= 8192
lseek(4, 6076, SEEK_SET)			= 6076
read(4, "\0\0\002\0\017BC\00106C4".., 8192)	= 8192
lseek(4, 6364, SEEK_SET)			= 6364
read(4, "\0\0\001\0\018DC\001 !\b".., 8192)	= 8192
lseek(4, 6652, SEEK_SET)			= 6652
read(4, "\0\0\002\0\019FC\001 !\b".., 8192)	= 8192
lseek(4, 6940, SEEK_SET)			= 6940
read(4, "\0\0\001\0\01B1C\001 ; L".., 8192)	= 8192
lseek(4, 7228, SEEK_SET)			= 7228
read(4, "\0\0\002\0\01C <\001 ; L".., 8192)	= 8192
lseek(4, 7516, SEEK_SET)			= 7516
read(4, "\0\0\001\0\01D \\001 U90".., 8192)	= 8192
lseek(4, 7804, SEEK_SET)			= 7804
read(4, "\0\0\002\0\01E |\001 U90".., 8192)	= 8192
lseek(4, 8092, SEEK_SET)			= 8092
read(4, "\0\0\001\0\01F9C\001 oD4".., 8192)	= 8192
lseek(4, 8380, SEEK_SET)			= 8380
read(4, "\0\0\002\0\0  BC\001 oD4".., 8192)	= 8192
lseek(4, 8668, SEEK_SET)			= 8668
read(4, "\0\0\001\0\0 !DC\0018A18".., 8192)	= 8192
lseek(4, 8956, SEEK_SET)			= 8956
read(4, "\0\0\002\0\0 "FC\0018A18".., 8192)	= 8192
lseek(4, 9244, SEEK_SET)			= 9244
read(4, "\0\0\001\0\0 $1C\001A4 \".., 8192)	= 8192
lseek(4, 9532, SEEK_SET)			= 9532
read(4, "\0\0\002\0\0 % <\001A4 \".., 8192)	= 8192
lseek(4, 9820, SEEK_SET)			= 9820
read(4, "\0\0\001\0\0 & \\001BEA0".., 8192)	= 8192
lseek(4, 10108, SEEK_SET)			= 10108
read(4, "\0\0\002\0\0 ' |\001BEA0".., 8192)	= 8192
lseek(4, 10396, SEEK_SET)			= 10396
read(4, "\0\0\001\0\0 (9C\001D8E4".., 8192)	= 8192
lseek(4, 10684, SEEK_SET)			= 10684
read(4, "\0\0\002\0\0 )BC\001D8E4".., 8192)	= 8192
lseek(4, 10972, SEEK_SET)			= 10972
read(4, "\0\0\001\0\0 *DC\001F3 (".., 8192)	= 8192
lseek(4, 11260, SEEK_SET)			= 11260
read(4, "\0\0\002\0\0 +FC\001F3 (".., 8192)	= 8192
lseek(4, 11548, SEEK_SET)			= 11548
read(4, "\0\0\001\0\0 -1C\002\r l".., 8192)	= 8192
lseek(4, 11836, SEEK_SET)			= 11836
read(4, "\0\0\002\0\0 . <\002\r l".., 8192)	= 8192
lseek(4, 12124, SEEK_SET)			= 12124
read(4, "\0\0\001\0\0 / \\002 'B0".., 8192)	= 8192
lseek(4, 12412, SEEK_SET)			= 12412
read(4, "\0\0\002\0\0 0 |\002 'B0".., 8192)	= 8192
lseek(4, 12700, SEEK_SET)			= 12700
read(4, "\0\0\001\0\0 19C\002 AF4".., 8192)	= 8192
lseek(4, 12988, SEEK_SET)			= 12988
read(4, "\0\0\002\0\0 2BC\002 AF4".., 8192)	= 8192
lseek(4, 13276, SEEK_SET)			= 13276
read(4, "\0\0\001\0\0 3DC\002 \ 8".., 8192)	= 8192
lseek(4, 13564, SEEK_SET)			= 13564
read(4, "\0\0\002\0\0 4FC\002 \ 8".., 8192)	= 8192
lseek(4, 13852, SEEK_SET)			= 13852
read(4, "\0\0\001\0\0 61C\002 v |".., 8192)	= 8192
lseek(4, 14140, SEEK_SET)			= 14140
read(4, "\0\0\002\0\0 7 <\002 v |".., 8192)	= 8192
lseek(4, 14428, SEEK_SET)			= 14428
read(4, "\0\0\001\0\0 8 \\00290C0".., 8192)	= 8192
lseek(4, 14716, SEEK_SET)			= 14716
read(4, "\0\0\002\0\0 9 |\00290C0".., 8192)	= 8192
lseek(4, 15004, SEEK_SET)			= 15004
read(4, "\0\0\001\0\0 :9C\002AB04".., 8192)	= 8192
lseek(4, 15292, SEEK_SET)			= 15292
read(4, "\0\0\002\0\0 ;BC\002AB04".., 8192)	= 8192
lseek(4, 15580, SEEK_SET)			= 15580
read(4, "\0\0\001\0\0 <DC\002C5 H".., 8192)	= 8192
lseek(4, 15868, SEEK_SET)			= 15868
read(4, "\0\0\002\0\0 =FC\002C5 H".., 8192)	= 8192
lseek(4, 16156, SEEK_SET)			= 16156
read(4, "\0\0\001\0\0 ?1C\002DF8C".., 8192)	= 8192
lseek(4, 16444, SEEK_SET)			= 16444
read(4, "\0\0\002\0\0 @ <\002DF8C".., 8192)	= 8192
lseek(4, 16732, SEEK_SET)			= 16732
read(4, "\0\0\001\0\0 A \\002F9D0".., 8192)	= 8192
lseek(4, 17020, SEEK_SET)			= 17020
read(4, "\0\0\002\0\0 B |\002F9D0".., 8192)	= 8192
lseek(4, 17308, SEEK_SET)			= 17308
read(4, "\0\0\001\0\0 C9C\0031414".., 8192)	= 8192
lseek(4, 17596, SEEK_SET)			= 17596
read(4, "\0\0\002\0\0 DBC\0031414".., 8192)	= 8192
lseek(4, 17884, SEEK_SET)			= 17884
read(4, "\0\0\001\0\0 EDC\003 . X".., 8192)	= 8192
lseek(4, 18172, SEEK_SET)			= 18172
read(4, "\0\0\002\0\0 FFC\003 . X".., 8192)	= 8192
lseek(4, 18460, SEEK_SET)			= 18460
read(4, "\0\0\001\0\0 H1C\003 H9C".., 8192)	= 8192
lseek(4, 18748, SEEK_SET)			= 18748
read(4, "\0\0\002\0\0 I <\003 H9C".., 8192)	= 8192
lseek(4, 19036, SEEK_SET)			= 19036
read(4, "\0\0\001\0\0 J \\003 bE0".., 8192)	= 8192
lseek(4, 19324, SEEK_SET)			= 19324
read(4, "\0\0\002\0\0 K |\003 bE0".., 8192)	= 8192
lseek(4, 19612, SEEK_SET)			= 19612
read(4, "\0\0\001\0\0 L9C\003 } $".., 8192)	= 8192
lseek(4, 19900, SEEK_SET)			= 19900
read(4, "\0\0\002\0\0 MBC\003 } $".., 8192)	= 8192
lseek(4, 20188, SEEK_SET)			= 20188
read(4, "\0\0\001\0\0 NDC\00397 h".., 8192)	= 8192
lseek(4, 20476, SEEK_SET)			= 20476
read(4, "\0\0\002\0\0 OFC\00397 h".., 8192)	= 8192
lseek(4, 20764, SEEK_SET)			= 20764
read(4, "\0\0\001\0\0 Q1C\003B1AC".., 8192)	= 8192
lseek(4, 21052, SEEK_SET)			= 21052
read(4, "\0\0\002\0\0 R <\003B1AC".., 8192)	= 8192
lseek(4, 21340, SEEK_SET)			= 21340
read(4, "\0\0\001\0\0 S \\003CBF0".., 8192)	= 8192
lseek(4, 21628, SEEK_SET)			= 21628
read(4, "\0\0\002\0\0 T |\003CBF0".., 8192)	= 8192
lseek(4, 21916, SEEK_SET)			= 21916
read(4, "\0\0\001\0\0 U9C\003E6 4".., 8192)	= 8192
lseek(4, 22204, SEEK_SET)			= 22204
read(4, "\0\0\002\0\0 VBC\003E6 4".., 8192)	= 8192
lseek(4, 22492, SEEK_SET)			= 22492
read(4, "\0\0\001\0\0 WDC\004\0 x".., 8192)	= 8192
lseek(4, 22780, SEEK_SET)			= 22780
read(4, "\0\0\002\0\0 XFC\004\0 x".., 8192)	= 8192
lseek(4, 23068, SEEK_SET)			= 23068
read(4, "\0\0\001\0\0 Z1C\0041ABC".., 8192)	= 8192
lseek(4, 23356, SEEK_SET)			= 23356
read(4, "\0\0\002\0\0 [ <\0041ABC".., 8192)	= 8192
lseek(4, 23644, SEEK_SET)			= 23644
read(4, "\0\0\001\0\0 \ \\004 5\0".., 8192)	= 8192
lseek(4, 23932, SEEK_SET)			= 23932
read(4, "\0\0\002\0\0 ] |\004 5\0".., 8192)	= 8192
lseek(4, 24220, SEEK_SET)			= 24220
read(4, "\0\0\001\0\0 ^9C\004 O D".., 8192)	= 8192
lseek(4, 24508, SEEK_SET)			= 24508
read(4, "\0\0\002\0\0 _BC\004 O D".., 8192)	= 8192
lseek(4, 24796, SEEK_SET)			= 24796
read(4, "\0\0\001\0\0 `DC\004 i88".., 8192)	= 8192
lseek(4, 25084, SEEK_SET)			= 25084
read(4, "\0\0\002\0\0 aFC\004 i88".., 8192)	= 8192
lseek(4, 25372, SEEK_SET)			= 25372
read(4, "\0\0\001\0\0 c1C\00483CC".., 8192)	= 8192
lseek(4, 25660, SEEK_SET)			= 25660
read(4, "\0\0\002\0\0 d <\00483CC".., 8192)	= 8192
lseek(4, 25948, SEEK_SET)			= 25948
read(4, "\0\0\001\0\0 e \\0049E10".., 8192)	= 8064
lseek(4, 26236, SEEK_SET)			= 26236
read(4, "\0\0\002\0\0 f |\0049E10".., 8192)	= 7776
lseek(4, 26524, SEEK_SET)			= 26524
read(4, "\0\0\001\0\0 g9C\004B8 T".., 8192)	= 7488
lseek(4, 26812, SEEK_SET)			= 26812
read(4, "\0\0\002\0\0 hBC\004B8 T".., 8192)	= 7200
lseek(4, 27100, SEEK_SET)			= 27100
read(4, "\0\0\001\0\0 iDC\004D298".., 8192)	= 6912
lseek(4, 27388, SEEK_SET)			= 27388
read(4, "\0\0\002\0\0 jFC\004D298".., 8192)	= 6624
lseek(4, 27676, SEEK_SET)			= 27676
read(4, "\0\0\001\0\0 l1C\004ECDC".., 8192)	= 6336
lseek(4, 27964, SEEK_SET)			= 27964
read(4, "\0\0\002\0\0 m <\004ECDC".., 8192)	= 6048
lseek(4, 28252, SEEK_SET)			= 28252
read(4, "\0\0\001\0\0 n \\00507  ".., 8192)	= 5760
lseek(4, 28540, SEEK_SET)			= 28540
read(4, "\0\0\002\0\0 o |\00507  ".., 8192)	= 5472
lseek(4, 28828, SEEK_SET)			= 28828
read(4, "\0\0\001\0\0 p9C\005 ! d".., 8192)	= 5184
lseek(4, 29116, SEEK_SET)			= 29116
read(4, "\0\0\002\0\0 qBC\005 ! d".., 8192)	= 4896
lseek(4, 29404, SEEK_SET)			= 29404
read(4, "\0\0\001\0\0 rDC\005 ;A8".., 8192)	= 4608
lseek(4, 29692, SEEK_SET)			= 29692
read(4, "\0\0\002\0\0 sFC\005 ;A8".., 8192)	= 4320
lseek(4, 29980, SEEK_SET)			= 29980
read(4, "\0\0\001\0\0 u1C\005 UEC".., 8192)	= 4032
lseek(4, 30268, SEEK_SET)			= 30268
read(4, "\0\0\002\0\0 v <\005 UEC".., 8192)	= 3744
lseek(4, 30556, SEEK_SET)			= 30556
read(4, "\0\0\001\0\0 w \\005 p 0".., 8192)	= 3456
lseek(4, 30844, SEEK_SET)			= 30844
read(4, "\0\0\002\0\0 x |\005 p 0".., 8192)	= 3168
lseek(4, 31132, SEEK_SET)			= 31132
read(4, "\0\0\001\0\0 y9C\0058A t".., 8192)	= 2880
lseek(4, 31420, SEEK_SET)			= 31420
read(4, "\0\0\002\0\0 zBC\0058A t".., 8192)	= 2592
lseek(4, 31708, SEEK_SET)			= 31708
read(4, "\0\0\001\0\0 {DC\005A4B8".., 8192)	= 2304
lseek(4, 31996, SEEK_SET)			= 31996
read(4, "\0\0\002\0\0 |FC\005A4B8".., 8192)	= 2016
lseek(4, 32284, SEEK_SET)			= 32284
read(4, "\0\0\001\0\0 ~1C\005BEFC".., 8192)	= 1728
lseek(4, 32572, SEEK_SET)			= 32572
read(4, "\0\0\002\0\07F <\005BEFC".., 8192)	= 1440
lseek(4, 32860, SEEK_SET)			= 32860
read(4, "\0\0\0\0\0\080 \\0\0\0\0".., 8192)	= 1152
lseek(4, 33148, SEEK_SET)			= 33148
read(4, "\0\0\0\0\0\081 |\0\0\0\0".., 8192)	= 864
lseek(4, 33436, SEEK_SET)			= 33436
read(4, "\0\0\0\0\0\0829C\0\0\0\0".., 8192)	= 576
lseek(4, 33724, SEEK_SET)			= 33724
read(4, "\0\0\0\0\0\083BC\0\0\0\0".., 8192)	= 288
lseek(4, 34012, SEEK_SET)			= 34012
read(4, 0x000E580C, 8192)			= 0
lseek(4, 0, SEEK_SET)				= 0
read(4, "\0\0\0\0\0\0\0\0\0\084DC".., 8192)	= 8192
fcntl(4, F_SETLK, 0xEFFFAE34)			= 0
lseek(4, 0, SEEK_SET)				= 0
read(4, "\0\0\0\0\0\0\0\0\0\084DC".., 8192)	= 8192
lseek(4, 0, SEEK_SET)				= 0
write(4, "\0\0\0\0\0\0\0\0\0\084DC".., 28)	= 28
fcntl(4, F_SETLK, 0xEFFFAE34)			= 0
fcntl(4, F_SETLK, 0xEFFFADD4)			= 0
lseek(4, 0, SEEK_CUR)				= 28
lseek(4, 32860, SEEK_SET)			= 32860
read(4, "\0\0\0\0\0\080 \\0\0\0\0".., 8192)	= 1152
lseek(4, 32860, SEEK_SET)			= 32860
write(4, "\0\0\001\0\080 \\0\0\0\0".., 288)	= 288
fcntl(4, F_SETLK, 0xEFFFADD4)			= 0
lseek(4, 0, SEEK_CUR)				= 33148
lseek(4, 0, SEEK_SET)				= 0
read(4, "\0\0\0\0\0\0\0\0\0\084DC".., 8192)	= 8192
lseek(4, 28, SEEK_SET)				= 28
lseek(4, 0, SEEK_CUR)				= 28
read(4, "\0\0\001\0\0\01C\0\0\01C".., 8192)	= 8192
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
lseek(4, 0, SEEK_CUR)				= 8220
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192)	= 8192
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
lseek(4, 0, SEEK_CUR)				= 16412
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192)	= 8192
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
lseek(4, 0, SEEK_CUR)				= 24604
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192)	= 8192
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
lseek(4, 0, SEEK_CUR)				= 32796
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192)	= 1216
lseek(4, 0, SEEK_CUR)				= 34012
lseek(4, 0, SEEK_CUR)				= 34012
lseek(4, 0, SEEK_CUR)				= 34012
fcntl(4, F_SETLK, 0xEFFFAD6C)			= 0
lseek(4, 33148, SEEK_SET)			= 33148
read(4, "\0\0\0\0\0\081 |\0\0\0\0".., 8192)	= 864
lseek(4, 33148, SEEK_SET)			= 33148
write(4, "\0\0\002\0\081 |\0\0\0\0".., 288)	= 288
fcntl(4, F_SETLK, 0xEFFFAD6C)			= 0
lseek(4, 0, SEEK_CUR)				= 33436
lseek(4, 33148, SEEK_SET)			= 33148
write(4, "\0\0\002\0\081 |\005D9 @".., 288)	= 288
lseek(4, 0, SEEK_CUR)				= 33436
lseek(4, 32860, SEEK_SET)			= 32860
write(4, "\0\0\001\0\080 \\005D9 @".., 288)	= 288
open("/u01/app/oracle/product/7.3.2/otrace/admin/collect.dat", O_RDWR) = 5
lseek(5, 0, SEEK_CUR)				= 0
lseek(5, 0, SEEK_SET)				= 0
fstat(5, 0xEFFFAB88)				= 0
ioctl(5, TCGETA, 0xEFFFAB14)			Err#25 ENOTTY
read(5, "\0\0\001\0\0\0\0\0\015 H".., 8192)	= 5448
lseek(5, 28, SEEK_SET)				= 28
read(5, "\0\0\0\0\0\0\01C\0\0\0\0".., 8192)	= 5420
lseek(5, 1112, SEEK_SET)			= 1112
brk(0x0015B800)					= 0
brk(0x0015C000)					= 0
read(5, "\0\0\0\0\0\004 X\0\0\0\0".., 8192)	= 4336
lseek(5, 2196, SEEK_SET)			= 2196
read(5, "\0\0\0\0\0\0\b94\0\0\0\0".., 8192)	= 3252
lseek(5, 3280, SEEK_SET)			= 3280
read(5, "\0\0\0\0\0\0\fD0\0\0\0\0".., 8192)	= 2168
lseek(5, 4364, SEEK_SET)			= 4364
read(5, "\0\0\0\0\0\011\f\0\0\0\0".., 8192)	= 1084
lseek(5, 5448, SEEK_SET)			= 5448
read(5, 0x000BE00C, 8192)			= 0
lseek(3, 0, SEEK_CUR)				= 390020
lseek(3, 383296, SEEK_SET)			= 383296
write(3, "\0\0\001\005D9 @\0\0 - a".., 6724)	= 6724
brk(0x0015C000)					= 0
brk(0x0015C800)					= 0
access("/var/opt/oracle/intchg.ora", 0)		Err#2 ENOENT
access("/u01/app/oracle/product/7.3.2/network/admin/intchg.ora", 0) Err#2 ENOENT
access("/var/opt/oracle/tnsnav.ora", 0)		Err#2 ENOENT
access("/u01/app/oracle/product/7.3.2/network/admin/tnsnav.ora", 0) Err#2 ENOENT
brk(0x0015C800)					= 0
brk(0x0015D000)					= 0
access("/u01/app/oracle/.tnsnames.ora", 0)	Err#2 ENOENT
access("/var/opt/oracle/tnsnames.ora", 0)	Err#2 ENOENT
access("/u01/app/oracle/product/7.3.2/network/admin/tnsnames.ora", 0) = 0
sysconfig(_CONFIG_CLK_TCK)			= 100
times(0xEFFFB4E8)				= 377609570
brk(0x0015D000)					= 0
brk(0x0015D800)					= 0
brk(0x0015D800)					= 0
brk(0x0015F800)					= 0
brk(0x0015F800)					= 0
brk(0x00161800)					= 0
brk(0x00161800)					= 0
brk(0x00163800)					= 0
brk(0x00163800)					= 0
brk(0x00165800)					= 0
brk(0x00165800)					= 0
brk(0x00175800)					= 0
brk(0x00175800)					= 0
brk(0x00176000)					= 0
brk(0x00176000)					= 0
brk(0x00177000)					= 0
brk(0x00177000)					= 0
brk(0x00177800)					= 0
brk(0x00177800)					= 0
brk(0x00179800)					= 0
times(0xEFFFB0E0)				= 377609574
stat("/u01/app/oracle/product/7.3.2/network/admin/tnsnames.ora", 0xEFFFB068) = 0
open("/u01/app/oracle/product/7.3.2/network/admin/tnsnames.ora", O_RDONLY) = 6
fcntl(6, F_SETFD, 0x00000001)			= 0
fstat(6, 0xEFFFAD78)				= 0
brk(0x00179800)					= 0
brk(0x0017D800)					= 0
ioctl(6, TCGETA, 0xEFFFAD04)			Err#25 ENOTTY
read(6, " t c p n a t   = ( d e s".., 8192)	= 1769
brk(0x0017D800)					= 0
brk(0x0017E000)					= 0
brk(0x0017E000)					= 0
brk(0x0017E800)					= 0
brk(0x0017E800)					= 0
brk(0x0017F000)					= 0
read(6, 0x0017980C, 8192)			= 0
lseek(6, 0, SEEK_CUR)				= 1769
close(6)					= 0
brk(0x0017F000)					= 0
brk(0x0017F800)					= 0
uname(0xEF549114)				= 1
getuid()					= 110 [110]
open("/etc/.name_service_door", O_RDONLY)	= 6
fcntl(6, F_SETFD, 0x00000001)			= 0
door_info(6, 0xEF694F18)			= 0
door_call(6, 0xEFFFA1B0, 0x00000400, 0x00000081, 0x00000000) = 0
sigaction(SIGINT, 0xEFFFBAF0, 0xEFFFBBF0)	= 0
sigaction(SIGINT, 0xEFFFBAF0, 0xEFFFBBF0)	= 0
brk(0x0017F800)					= 0
brk(0x00180800)					= 0
brk(0x00180800)					= 0
brk(0x00181800)					= 0
brk(0x00181800)					= 0
brk(0x00182000)					= 0
times(0xEFFFAD40)				= 377609579
access("/var/tmp/.oracle", 0)			= 0
open("/etc/netconfig", O_RDONLY)		= 7
fstat(7, 0xEFFF9068)				= 0
ioctl(7, TCGETA, 0xEFFF8FF4)			Err#25 ENOTTY
read(7, " #\n #   T h e   " N e t".., 8192)	= 1064
read(7, 0x0017980C, 8192)			= 0
lseek(7, 0, SEEK_CUR)				= 1064
lseek(7, 0, SEEK_SET)				= 0
read(7, " #\n #   T h e   " N e t".., 8192)	= 1064
read(7, 0x0017980C, 8192)			= 0
lseek(7, 0, SEEK_CUR)				= 1064
close(7)					= 0
open("/dev/ticotsord", O_RDWR)			= 7
ioctl(7, I_PUSH, "sockmod")			= 0
ioctl(7, I_STR, 0xEFFF9668)			= 0
ioctl(7, I_SETCLTIME, 0xEFFF971C)		= 0
ioctl(7, I_SWROPT, 0x00000002)			= 0
sigfillset(0xEF69571C)				= 0
sigprocmask(SIG_SETMASK, 0xEFFF970C, 0xEFFF96FC) = 0
ioctl(7, I_STR, 0xEFFF9580)			= 0
sigprocmask(SIG_SETMASK, 0xEFFF96FC, 0xEFFF96D8) = 0
access("/var/tmp/.oracle/stcphub", 0)		Err#2 ENOENT
access("/var/tmp/o/stcphub", 0)			Err#2 ENOENT
close(7)					= 0
times(0xEFFFAD40)				= 377609582
open("/dev/tcp", O_RDWR)			= 7
ioctl(7, I_PUSH, "sockmod")			= 0
ioctl(7, I_STR, 0xEFFF92E0)			= 0
ioctl(7, I_SETCLTIME, 0xEFFF9394)		= 0
ioctl(7, I_SWROPT, 0x00000002)			= 0
sigprocmask(SIG_SETMASK, 0xEFFF9384, 0xEFFF9374) = 0
ioctl(7, I_STR, 0xEFFF91F8)			= 0
sigprocmask(SIG_SETMASK, 0xEFFF9374, 0xEFFF9350) = 0
fcntl(7, F_GETFL, 0x00000000)			= 2
sigprocmask(SIG_BLOCK, 0xEFFF91B0, 0xEFFF9254)	= 0
putmsg(7, 0xEFFF9264, 0x00000000, 0)		= 0
getmsg(7, 0xEFFF9264, 0x00000000, 0xEFFF915C)	= 0
sigprocmask(SIG_SETMASK, 0xEFFF9254, 0x00000000) = 0
getmsg(7, 0xEFFF9264, 0xEFFF91B0, 0xEFFF91BC)	= 0
ioctl(7, TI_GETMYNAME, 0xEFFF93E4)		= 0
fcntl(7, F_SETFD, 0x00000001)			= 0
sigaction(SIGPIPE, 0xEFFF9F08, 0xEFFF9F88)	= 0
brk(0x00182000)					= 0
brk(0x00183000)					= 0
brk(0x00183000)					= 0
brk(0x00184000)					= 0
getpid()					= 11617 [11616]
times(0xEFFF9748)				= 377609585
times(0xEFFFAD40)				= 377609585
write(7, "\0CC\0\001\0\0\001 501 ,".., 204)	= 204
brk(0x00184000)					= 0
brk(0x00185000)					= 0
read(7, 0x00182036, 2048)	(sleeping...)
read(7, "\0\b\0\0\v\0\0\0", 2048)		= 8
write(7, "\0CC\0\001\0\0\001 501 ,".., 204)	= 204
read(7, "\018\0\002\0\0\001 3\b01".., 2048)	= 24
times(0xEFFFAD40)				= 377610595
write(7, "\0 ]\0\006\0\0\0\0\0DEAD".., 93)	= 93
read(7, "\0 W\0\006\0\0\0\0\0DEAD".., 2048)	= 87
sigaction(SIGTSTP, 0xEFFFEFC8, 0xEFFFF048)	= 0
ioctl(0, TCGETA, 0xEFFFEEFC)			= 0
fstat(0, 0xEFFFF000)				= 0
open("/etc/ttysrch", O_RDONLY)			= 8
stat("/etc/ttysrch", 0xEFFFEE88)		= 0
read(8, " # i d e n t\t " @ ( # )".., 1408)	= 1408
close(8)					= 0
stat("/dev/console", 0xEFFFEF78)		= 0
stat("/dev/pts/4", 0xEFFFEE88)			= 0
getuid()					= 110 [110]
door_info(6, 0xEFFFEBE8)			= 0
door_call(6, 0xEFFFEC80, 0x00000400, 0x00000081, 0x00000000) = 0
getpid()					= 11617 [11616]
write(7, "\01E\0\006\0\0\0\0\00104".., 30)	= 30
read(7, "\0BB\0\006\0\0\0\0\00104".., 2048)	= 187
write(7, "01B7\0\006\0\0\0\0\00201".., 439)	= 439
read(7, "018C\0\006\0\0\0\0\00201".., 2048)	= 396
write(7, "\08D\0\006\0\0\0\0\003 R".., 141)	= 141
read(7, "\0 4\0\006\0\0\0\0\0\b01".., 2048)	= 52
write(7, "\09E\0\006\0\0\0\0\003 Q".., 158)	= 158
read(7, "\0 !\0\006\0\0\0\0\004\0".., 2048)	= 33
write(7, "\01B\0\006\0\0\0\0\003 ;".., 27)	= 27
read(7, "\014\0\006\0\0\0\0\0\b01".., 2048)	= 20
ioctl(1, TCGETA, 0xEFFFF70C)			Err#25 ENOTTY
fstat(1, 0xEFFFF780)				= 0
ioctl(1, TCGETA, 0xEFFFF70C)			Err#25 ENOTTY
write(7, "\0\r\0\006\0\0\0\0\003\t".., 13)	= 13
read(7, "\0\v\0\006\0\0\0\0\0\t", 2048)		= 11
write(7, "\0\n\0\006\0\0\0\0 @", 10)		= 10
close(7)					= 0
sigaction(SIGINT, 0xEFFFF320, 0xEFFFF420)	= 0
getcontext(0xEFFFF710)
setcontext(0xEFFFF710)
getcontext(0xEFFFF780)
getcontext(0xEFFFF688)
getcontext(0xEFFFF608)
getcontext(0xEFFFF3B8)
getcontext(0xEFFFF258)
getcontext(0xEFFFF608)
getcontext(0xEFFFF3B8)
setcontext(0xEFFFF3B8)
getcontext(0xEFFFF4A8)
getcontext(0xEFFFF608)
lseek(4, 0, SEEK_CUR)				= 33148
lseek(4, 28, SEEK_SET)				= 28
read(4, "\0\0\001\0\0\01C\0\0\01C".., 8192)	= 8192
lseek(4, 316, SEEK_SET)				= 316
read(4, "\0\0\002\0\001 <\0\0\01C".., 8192)	= 8192
lseek(4, 604, SEEK_SET)				= 604
read(4, "\0\0\001\0\002 \\0\01A `".., 8192)	= 8192
lseek(4, 892, SEEK_SET)				= 892
read(4, "\0\0\002\0\003 |\0\01A `".., 8192)	= 8192
lseek(4, 1180, SEEK_SET)			= 1180
read(4, "\0\0\001\0\0049C\0\0 4A4".., 8192)	= 8192
lseek(4, 1468, SEEK_SET)			= 1468
read(4, "\0\0\002\0\005BC\0\0 4A4".., 8192)	= 8192
lseek(4, 1756, SEEK_SET)			= 1756
read(4, "\0\0\001\0\006DC\0\0 NE8".., 8192)	= 8192
lseek(4, 2044, SEEK_SET)			= 2044
read(4, "\0\0\002\0\007FC\0\0 NE8".., 8192)	= 8192
lseek(4, 2332, SEEK_SET)			= 2332
read(4, "\0\0\001\0\0\t1C\0\0 i ,".., 8192)	= 8192
lseek(4, 2620, SEEK_SET)			= 2620
read(4, "\0\0\002\0\0\n <\0\0 i ,".., 8192)	= 8192
lseek(4, 2908, SEEK_SET)			= 2908
read(4, "\0\0\001\0\0\v \\0\083 p".., 8192)	= 8192
lseek(4, 3196, SEEK_SET)			= 3196
read(4, "\0\0\002\0\0\f |\0\083 p".., 8192)	= 8192
lseek(4, 3484, SEEK_SET)			= 3484
read(4, "\0\0\001\0\0\r9C\0\09DB4".., 8192)	= 8192
lseek(4, 3772, SEEK_SET)			= 3772
read(4, "\0\0\002\0\00EBC\0\09DB4".., 8192)	= 8192
lseek(4, 4060, SEEK_SET)			= 4060
read(4, "\0\0\001\0\00FDC\0\0B7F8".., 8192)	= 8192
lseek(4, 4348, SEEK_SET)			= 4348
read(4, "\0\0\002\0\010FC\0\0B7F8".., 8192)	= 8192
lseek(4, 4636, SEEK_SET)			= 4636
read(4, "\0\0\001\0\0121C\0\0D2 <".., 8192)	= 8192
lseek(4, 4924, SEEK_SET)			= 4924
read(4, "\0\0\002\0\013 <\0\0D2 <".., 8192)	= 8192
lseek(4, 5212, SEEK_SET)			= 5212
read(4, "\0\0\001\0\014 \\0\0EC80".., 8192)	= 8192
lseek(4, 5500, SEEK_SET)			= 5500
read(4, "\0\0\002\0\015 |\0\0EC80".., 8192)	= 8192
lseek(4, 5788, SEEK_SET)			= 5788
read(4, "\0\0\001\0\0169C\00106C4".., 8192)	= 8192
lseek(4, 6076, SEEK_SET)			= 6076
read(4, "\0\0\002\0\017BC\00106C4".., 8192)	= 8192
lseek(4, 6364, SEEK_SET)			= 6364
read(4, "\0\0\001\0\018DC\001 !\b".., 8192)	= 8192
lseek(4, 6652, SEEK_SET)			= 6652
read(4, "\0\0\002\0\019FC\001 !\b".., 8192)	= 8192
lseek(4, 6940, SEEK_SET)			= 6940
read(4, "\0\0\001\0\01B1C\001 ; L".., 8192)	= 8192
lseek(4, 7228, SEEK_SET)			= 7228
read(4, "\0\0\002\0\01C <\001 ; L".., 8192)	= 8192
lseek(4, 7516, SEEK_SET)			= 7516
read(4, "\0\0\001\0\01D \\001 U90".., 8192)	= 8192
lseek(4, 7804, SEEK_SET)			= 7804
read(4, "\0\0\002\0\01E |\001 U90".., 8192)	= 8192
lseek(4, 8092, SEEK_SET)			= 8092
read(4, "\0\0\001\0\01F9C\001 oD4".., 8192)	= 8192
lseek(4, 8380, SEEK_SET)			= 8380
read(4, "\0\0\002\0\0  BC\001 oD4".., 8192)	= 8192
lseek(4, 8668, SEEK_SET)			= 8668
read(4, "\0\0\001\0\0 !DC\0018A18".., 8192)	= 8192
lseek(4, 8956, SEEK_SET)			= 8956
read(4, "\0\0\002\0\0 "FC\0018A18".., 8192)	= 8192
lseek(4, 9244, SEEK_SET)			= 9244
read(4, "\0\0\001\0\0 $1C\001A4 \".., 8192)	= 8192
lseek(4, 9532, SEEK_SET)			= 9532
read(4, "\0\0\002\0\0 % <\001A4 \".., 8192)	= 8192
lseek(4, 9820, SEEK_SET)			= 9820
read(4, "\0\0\001\0\0 & \\001BEA0".., 8192)	= 8192
lseek(4, 10108, SEEK_SET)			= 10108
read(4, "\0\0\002\0\0 ' |\001BEA0".., 8192)	= 8192
lseek(4, 10396, SEEK_SET)			= 10396
read(4, "\0\0\001\0\0 (9C\001D8E4".., 8192)	= 8192
lseek(4, 10684, SEEK_SET)			= 10684
read(4, "\0\0\002\0\0 )BC\001D8E4".., 8192)	= 8192
lseek(4, 10972, SEEK_SET)			= 10972
read(4, "\0\0\001\0\0 *DC\001F3 (".., 8192)	= 8192
lseek(4, 11260, SEEK_SET)			= 11260
read(4, "\0\0\002\0\0 +FC\001F3 (".., 8192)	= 8192
lseek(4, 11548, SEEK_SET)			= 11548
read(4, "\0\0\001\0\0 -1C\002\r l".., 8192)	= 8192
lseek(4, 11836, SEEK_SET)			= 11836
read(4, "\0\0\002\0\0 . <\002\r l".., 8192)	= 8192
lseek(4, 12124, SEEK_SET)			= 12124
read(4, "\0\0\001\0\0 / \\002 'B0".., 8192)	= 8192
lseek(4, 12412, SEEK_SET)			= 12412
read(4, "\0\0\002\0\0 0 |\002 'B0".., 8192)	= 8192
lseek(4, 12700, SEEK_SET)			= 12700
read(4, "\0\0\001\0\0 19C\002 AF4".., 8192)	= 8192
lseek(4, 12988, SEEK_SET)			= 12988
read(4, "\0\0\002\0\0 2BC\002 AF4".., 8192)	= 8192
lseek(4, 13276, SEEK_SET)			= 13276
read(4, "\0\0\001\0\0 3DC\002 \ 8".., 8192)	= 8192
lseek(4, 13564, SEEK_SET)			= 13564
read(4, "\0\0\002\0\0 4FC\002 \ 8".., 8192)	= 8192
lseek(4, 13852, SEEK_SET)			= 13852
read(4, "\0\0\001\0\0 61C\002 v |".., 8192)	= 8192
lseek(4, 14140, SEEK_SET)			= 14140
read(4, "\0\0\002\0\0 7 <\002 v |".., 8192)	= 8192
lseek(4, 14428, SEEK_SET)			= 14428
read(4, "\0\0\001\0\0 8 \\00290C0".., 8192)	= 8192
lseek(4, 14716, SEEK_SET)			= 14716
read(4, "\0\0\002\0\0 9 |\00290C0".., 8192)	= 8192
lseek(4, 15004, SEEK_SET)			= 15004
read(4, "\0\0\001\0\0 :9C\002AB04".., 8192)	= 8192
lseek(4, 15292, SEEK_SET)			= 15292
read(4, "\0\0\002\0\0 ;BC\002AB04".., 8192)	= 8192
lseek(4, 15580, SEEK_SET)			= 15580
read(4, "\0\0\001\0\0 <DC\002C5 H".., 8192)	= 8192
lseek(4, 15868, SEEK_SET)			= 15868
read(4, "\0\0\002\0\0 =FC\002C5 H".., 8192)	= 8192
lseek(4, 16156, SEEK_SET)			= 16156
read(4, "\0\0\001\0\0 ?1C\002DF8C".., 8192)	= 8192
lseek(4, 16444, SEEK_SET)			= 16444
read(4, "\0\0\002\0\0 @ <\002DF8C".., 8192)	= 8192
lseek(4, 16732, SEEK_SET)			= 16732
read(4, "\0\0\001\0\0 A \\002F9D0".., 8192)	= 8192
lseek(4, 17020, SEEK_SET)			= 17020
read(4, "\0\0\002\0\0 B |\002F9D0".., 8192)	= 8192
lseek(4, 17308, SEEK_SET)			= 17308
read(4, "\0\0\001\0\0 C9C\0031414".., 8192)	= 8192
lseek(4, 17596, SEEK_SET)			= 17596
read(4, "\0\0\002\0\0 DBC\0031414".., 8192)	= 8192
lseek(4, 17884, SEEK_SET)			= 17884
read(4, "\0\0\001\0\0 EDC\003 . X".., 8192)	= 8192
lseek(4, 18172, SEEK_SET)			= 18172
read(4, "\0\0\002\0\0 FFC\003 . X".., 8192)	= 8192
lseek(4, 18460, SEEK_SET)			= 18460
read(4, "\0\0\001\0\0 H1C\003 H9C".., 8192)	= 8192
lseek(4, 18748, SEEK_SET)			= 18748
read(4, "\0\0\002\0\0 I <\003 H9C".., 8192)	= 8192
lseek(4, 19036, SEEK_SET)			= 19036
read(4, "\0\0\001\0\0 J \\003 bE0".., 8192)	= 8192
lseek(4, 19324, SEEK_SET)			= 19324
read(4, "\0\0\002\0\0 K |\003 bE0".., 8192)	= 8192
lseek(4, 19612, SEEK_SET)			= 19612
read(4, "\0\0\001\0\0 L9C\003 } $".., 8192)	= 8192
lseek(4, 19900, SEEK_SET)			= 19900
read(4, "\0\0\002\0\0 MBC\003 } $".., 8192)	= 8192
lseek(4, 20188, SEEK_SET)			= 20188
read(4, "\0\0\001\0\0 NDC\00397 h".., 8192)	= 8192
lseek(4, 20476, SEEK_SET)			= 20476
read(4, "\0\0\002\0\0 OFC\00397 h".., 8192)	= 8192
lseek(4, 20764, SEEK_SET)			= 20764
read(4, "\0\0\001\0\0 Q1C\003B1AC".., 8192)	= 8192
lseek(4, 21052, SEEK_SET)			= 21052
read(4, "\0\0\002\0\0 R <\003B1AC".., 8192)	= 8192
lseek(4, 21340, SEEK_SET)			= 21340
read(4, "\0\0\001\0\0 S \\003CBF0".., 8192)	= 8192
lseek(4, 21628, SEEK_SET)			= 21628
read(4, "\0\0\002\0\0 T |\003CBF0".., 8192)	= 8192
lseek(4, 21916, SEEK_SET)			= 21916
read(4, "\0\0\001\0\0 U9C\003E6 4".., 8192)	= 8192
lseek(4, 22204, SEEK_SET)			= 22204
read(4, "\0\0\002\0\0 VBC\003E6 4".., 8192)	= 8192
lseek(4, 22492, SEEK_SET)			= 22492
read(4, "\0\0\001\0\0 WDC\004\0 x".., 8192)	= 8192
lseek(4, 22780, SEEK_SET)			= 22780
read(4, "\0\0\002\0\0 XFC\004\0 x".., 8192)	= 8192
lseek(4, 23068, SEEK_SET)			= 23068
read(4, "\0\0\001\0\0 Z1C\0041ABC".., 8192)	= 8192
lseek(4, 23356, SEEK_SET)			= 23356
read(4, "\0\0\002\0\0 [ <\0041ABC".., 8192)	= 8192
lseek(4, 23644, SEEK_SET)			= 23644
read(4, "\0\0\001\0\0 \ \\004 5\0".., 8192)	= 8192
lseek(4, 23932, SEEK_SET)			= 23932
read(4, "\0\0\002\0\0 ] |\004 5\0".., 8192)	= 8192
lseek(4, 24220, SEEK_SET)			= 24220
read(4, "\0\0\001\0\0 ^9C\004 O D".., 8192)	= 8192
lseek(4, 24508, SEEK_SET)			= 24508
read(4, "\0\0\002\0\0 _BC\004 O D".., 8192)	= 8192
lseek(4, 24796, SEEK_SET)			= 24796
read(4, "\0\0\001\0\0 `DC\004 i88".., 8192)	= 8192
lseek(4, 25084, SEEK_SET)			= 25084
read(4, "\0\0\002\0\0 aFC\004 i88".., 8192)	= 8192
lseek(4, 25372, SEEK_SET)			= 25372
read(4, "\0\0\001\0\0 c1C\00483CC".., 8192)	= 8192
lseek(4, 25660, SEEK_SET)			= 25660
read(4, "\0\0\002\0\0 d <\00483CC".., 8192)	= 8192
lseek(4, 25948, SEEK_SET)			= 25948
read(4, "\0\0\001\0\0 e \\0049E10".., 8192)	= 8064
lseek(4, 26236, SEEK_SET)			= 26236
read(4, "\0\0\002\0\0 f |\0049E10".., 8192)	= 7776
lseek(4, 26524, SEEK_SET)			= 26524
read(4, "\0\0\001\0\0 g9C\004B8 T".., 8192)	= 7488
lseek(4, 26812, SEEK_SET)			= 26812
read(4, "\0\0\002\0\0 hBC\004B8 T".., 8192)	= 7200
lseek(4, 27100, SEEK_SET)			= 27100
read(4, "\0\0\001\0\0 iDC\004D298".., 8192)	= 6912
lseek(4, 27388, SEEK_SET)			= 27388
read(4, "\0\0\002\0\0 jFC\004D298".., 8192)	= 6624
lseek(4, 27676, SEEK_SET)			= 27676
read(4, "\0\0\001\0\0 l1C\004ECDC".., 8192)	= 6336
lseek(4, 27964, SEEK_SET)			= 27964
read(4, "\0\0\002\0\0 m <\004ECDC".., 8192)	= 6048
lseek(4, 28252, SEEK_SET)			= 28252
read(4, "\0\0\001\0\0 n \\00507  ".., 8192)	= 5760
lseek(4, 28540, SEEK_SET)			= 28540
read(4, "\0\0\002\0\0 o |\00507  ".., 8192)	= 5472
lseek(4, 28828, SEEK_SET)			= 28828
read(4, "\0\0\001\0\0 p9C\005 ! d".., 8192)	= 5184
lseek(4, 29116, SEEK_SET)			= 29116
read(4, "\0\0\002\0\0 qBC\005 ! d".., 8192)	= 4896
lseek(4, 29404, SEEK_SET)			= 29404
read(4, "\0\0\001\0\0 rDC\005 ;A8".., 8192)	= 4608
lseek(4, 29692, SEEK_SET)			= 29692
read(4, "\0\0\002\0\0 sFC\005 ;A8".., 8192)	= 4320
lseek(4, 29980, SEEK_SET)			= 29980
read(4, "\0\0\001\0\0 u1C\005 UEC".., 8192)	= 4032
lseek(4, 30268, SEEK_SET)			= 30268
read(4, "\0\0\002\0\0 v <\005 UEC".., 8192)	= 3744
lseek(4, 30556, SEEK_SET)			= 30556
read(4, "\0\0\001\0\0 w \\005 p 0".., 8192)	= 3456
lseek(4, 30844, SEEK_SET)			= 30844
read(4, "\0\0\002\0\0 x |\005 p 0".., 8192)	= 3168
lseek(4, 31132, SEEK_SET)			= 31132
read(4, "\0\0\001\0\0 y9C\0058A t".., 8192)	= 2880
lseek(4, 31420, SEEK_SET)			= 31420
read(4, "\0\0\002\0\0 zBC\0058A t".., 8192)	= 2592
lseek(4, 31708, SEEK_SET)			= 31708
read(4, "\0\0\001\0\0 {DC\005A4B8".., 8192)	= 2304
lseek(4, 31996, SEEK_SET)			= 31996
read(4, "\0\0\002\0\0 |FC\005A4B8".., 8192)	= 2016
lseek(4, 32284, SEEK_SET)			= 32284
read(4, "\0\0\001\0\0 ~1C\005BEFC".., 8192)	= 1728
lseek(4, 32572, SEEK_SET)			= 32572
read(4, "\0\0\002\0\07F <\005BEFC".., 8192)	= 1440
lseek(4, 32860, SEEK_SET)			= 32860
read(4, "\0\0\001\0\080 \\005D9 @".., 8192)	= 1152
lseek(4, 33148, SEEK_SET)			= 33148
read(4, "\0\0\002\0\081 |\005D9 @".., 8192)	= 864
lseek(4, 33148, SEEK_SET)			= 33148
lseek(4, 0, SEEK_CUR)				= 33148
write(4, "\0\0\0\0\0\081 |\0\0\0\0".., 288)	= 288
fcntl(4, F_SETLK, 0xEFFFF804)			= 0
lseek(4, 0, SEEK_CUR)				= 33436
lseek(4, 0, SEEK_SET)				= 0
read(4, "\0\0\0\0\0\0\0\0\0\084DC".., 8192)	= 8192
lseek(4, 0, SEEK_SET)				= 0
write(4, "\0\0\0\0\0\0\0\0\0\084DC".., 28)	= 28
fcntl(4, F_SETLK, 0xEFFFF804)			= 0
lseek(4, 0, SEEK_CUR)				= 28
lseek(4, 32860, SEEK_SET)			= 32860
write(4, "\0\0\001\0\080 \\005D9 @".., 288)	= 288
lseek(4, 0, SEEK_CUR)				= 33148
lseek(4, 32860, SEEK_SET)			= 32860
lseek(4, 0, SEEK_CUR)				= 32860
write(4, "\0\0\0\0\0\080 \\0\0\0\0".., 288)	= 288
fcntl(4, F_SETLK, 0xEFFFF86C)			= 0
lseek(4, 0, SEEK_CUR)				= 33148
lseek(4, 0, SEEK_SET)				= 0
read(4, "\0\0\0\0\0\0\0\0\0\084DC".., 8192)	= 8192
lseek(4, 0, SEEK_SET)				= 0
write(4, "\0\0\0\0\0\0\0\0\0\084DC".., 28)	= 28
fcntl(4, F_SETLK, 0xEFFFF86C)			= 0
lseek(3, 0, SEEK_CUR)				= 390020
lseek(3, 383296, SEEK_SET)			= 383296
lseek(3, 0, SEEK_CUR)				= 383296
write(3, "\0\0\0\0\005D9 @\0\0\0\0".., 6724)	= 6724
fcntl(3, F_SETLK, 0xEFFFF8EC)			= 0
lseek(3, 0, SEEK_CUR)				= 390020
lseek(3, 0, SEEK_SET)				= 0
read(3, "\0\0\0\0\0\0\0\0\006\rC8".., 8192)	= 8192
lseek(3, 0, SEEK_SET)				= 0
write(3, "\0\0\0\0\0\0\0\0\006\rC8".., 28)	= 28
fcntl(3, F_SETLK, 0xEFFFF8EC)			= 0
Bad free() ignored during global destruction.
write(2, " B a d   f r e e ( )   i".., 46)	= 46
lseek(3, 0, SEEK_CUR)				= 28
close(3)					= 0
lseek(4, 0, SEEK_CUR)				= 28
close(4)					= 0
lseek(5, 0, SEEK_CUR)				= 5448
close(5)					= 0
lseek(0, 0, SEEK_CUR)				= 979220
Successfully logged on to :ops$kohane/foobarcc@tcphub !
Successfully logged off of: ops$kohane/foobarcc@tcphub !
write(1, " S u c c e s s f u l l y".., 113)	= 113
_exit(0)

--------------6352746629EF--

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-112@oink>;
          Thu, 26 Sep 1996 07:51:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843703602:29363:7; Thu, 26 Sep 96 03:06:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29219; 26 Sep 96 3:05 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id QAA13481 for dbi-users-real; Wed, 25 Sep 1996 16:55:13 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id QAA13477 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 16:55:07 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ae27356;
          25 Sep 96 18:06 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa21418; 25 Sep 96 18:00 BST
Received: from toad by oink with SMTP (PP) id <06838-0@oink>;
          Wed, 25 Sep 1996 15:38:01 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA18093;
          Wed, 25 Sep 1996 15:37:37 +0000
Date: Wed, 25 Sep 1996 15:37:37 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609251437.AA18093@toad.ig.co.uk>
To: tghosh@medg.lcs.mit.edu
Subject: Re: Still no luck in DBD:Oracle login delays....
Cc: hogan@GNAC.com, dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
> 
> Tim Bunce wrote:
> > 
> > > From: Taranga Ghosh <tghosh@medg.lcs.mit.edu>
> > >
> > > Hlo,
> > >       Yes, I'm having the same problem with the same config.
> > >
> > >       Oraperl obtains the $dbh much faster.
> > 
> > Have you tried rebuilding perl4 oraperl with the same version of
> > Oracle that you're using with DBD::Oracle ?
> > 
> > If not then you're not comparing like with like.
> 
> 	Yes, its the same version.

So you've recompiled oraperl recently. Okay.

> > Oraperl/DBD::Oracle just calls the OCI orlon() function. Simple as that.
> > 
> > The slowness you are seeing is not related to Oraperl/DBD::Oracle at all
> > (proven by the fast login to a different database).
> > 
> > Having said that I would greatly appreciate it if you could get to the
> > bottom of why it is slow on one system but not the other (do they run
> > the same version of Oracle for example) so we can help some others who
> > have slow logins.
> 
> OK, so lets tabulate the evidence
> 
> 			System                        Login Time
> 	perl4-oraperl + Production Machine(non-MTS)  Good (2 secs)
> 	Perl5-DBI     + Production Machine           Bad (14-7 secs)
>  	Perl5-DBI     + Very Fast Machine with MTS   Good (2 secs)
> 	
> Comments
> 	* The perl scripts are running on a Sparc-20 with 64M of memory. 
> 	* The databases being connected to are on alphas running VMS.
> 	* DBI/DBD::Oracle and oraperl were both built on the Sparc-20 which has
> Oracle 7.3.2 on it.

Are the servers 7.3.2 ?

> 	My feeling is that there may be a bad interaction between the OCI
> orlon() call(as used by DBD::Oracle) and a machine which is **not
> running a MTS**. Does perl4-oraperl use a different mechanism to
> connect?

Nope. It calls orlon().

They do differ in how they setup/use ORACLE_SID/TWO_TASK and $dbname.
Try setting up ORACLE_SID/TWO_TASK correctly and then using an empty
string for the $dbname parameter of the ora_login (and just 'user/passwd'
for $username).

> write(7, "\0CC\0\001\0\0\001 501 ,".., 204)     = 204
> ...
> read(7, 0x00182036, 2048)       (sleeping...)  <===== SLOWDOWN IS HERE

Looks like it's waiting for a reply from the server.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-116@oink>;
          Thu, 26 Sep 1996 07:52:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843705409:04143:13; Thu, 26 Sep 96 03:36:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04098; 26 Sep 96 3:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id RAA13750 for dbi-users-real; Wed, 25 Sep 1996 17:42:19 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from stortek.com (stortek.com [129.80.22.249]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id RAA13746 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 17:42:17 -0700 (PDT)
Received: from magellan.teq.stortek.com by stortek.com with SMTP 
          id AA13911 (5.65c/IDA-1.4.4 for <dbi-users@fugue.com>);
          Wed, 25 Sep 1996 18:40:37 -0600
Received: from gomer (gomer.stortek.com) 
          by magellan.teq.stortek.com (5.x/SMI-SVR4) id AA21723;
          Wed, 25 Sep 1996 18:40:32 -0600
Received: from goober.stortek.com by gomer (5.x/SMI-SVR4) id AA09370;
          Wed, 25 Sep 1996 18:39:27 -0600
Message-Id: <3249D037.936@gomer.stortek.com>
Date: Wed, 25 Sep 1996 18:37:11 -0600
From: Kelly Carney <kcarney@gomer.stortek.com>
X-Mailer: Mozilla 3.0Gold (Win95; I)
Mime-Version: 1.0
To: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>
Cc: dbi-users@fugue.com
Subject: Re: oracle install as requirement for dbd::oracle
References: <199609251627.MAA09000@gateway.novasoft.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

B. K. Oxley (binkley) wrote:
> 
> >>>>> "BKO(" == B K Oxley (binkley) <binkley@gateway.novasoft.com> writes:
> 
>  DM> I am ordering Pro*C for unix so I can use dbd::oracle on my unix
>  DM> machine.  Would be nice to know if I have to go buy Oracle for
>  DM> unix or if I just need Pro*C.
> 
>  BKO(> I run an Oraperl web application on machines with NO oracle or
>  BKO(> sql*net installed, and they work just fine.  On those machines,
>  BKO(> I build on some other host with Oracle, tar up the build
>  BKO(> directories, copy them to the target machines, unpack and
>  BKO(> install.
> 
> Oh, yah, one tip I forgot about.  In your connect string for logging
> in, remember to include the port number of "orasrv" on the remote
> host: your local host (the one without Oracle) doesn't have an entry
> in /etc/services for this port.  Like this:
> 
>   user/password@t:host/1525:database
> 
> (the default port is 1525; check with your admin on the destination
> machine to make sure it isn't something else).
> 
> --binkley

Great tip.  Here's a bit more you can do...

From your Oracle host, copy the "sqlnet.ora" and "tnsnames.ora"
files from the directory pointed to by the env variable $TNS_ADMIN
to your non-Oracle box.  On the non-Oracle box, set a TNS_ADMIN
env var to where you placed these files.

Now you should be able to use something like this:

    user/password@database

You'll be able to do stuff either way:

   $lda = &ora_login("database", "user", "password") || die $ora_errstr;
 or
   $lda = &ora_login('', "user/password\@t:host:database", '') || die $ora_errstr;

-- Kelly
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-125@oink>;
          Thu, 26 Sep 1996 07:53:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843711410:20719:16; Thu, 26 Sep 96 05:16:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20639; 26 Sep 96 5:16 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id TAA14059 for dbi-users-real; Wed, 25 Sep 1996 19:06:18 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.netquest.com ([206.148.118.7]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id TAA14055 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 19:06:16 -0700 (PDT)
Received: from anne.netquest.com ([206.148.118.135]) 
          by mail.netquest.com (post.office MTA v1.9.3 ID# 247-13926) 
          with SMTP id AAA64 for <dbi-users@fugue.com>;
          Wed, 25 Sep 1996 22:08:45 -0400
Message-Id: <1.5.4.32.19960926020850.006a4f54@mail.netquest.com>
X-Sender: anne@mail.netquest.com
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 25 Sep 1996 22:08:50 -0400
To: dbi-users@fugue.com
From: anne@netquest.com (Rickert, Anne )
Subject: oracle.mk in place of proc.mk?

>On Tue, 19 Dec 95 17:02:29 --0100 
>Massimo Balestra (mbalestra@flower.it) wrote :
>
>I don't have ProC installed too but taking a look at the Makefile.PL file I
>found that we have to tell the installation to use oracle.mk instead of 
>proc.mk.
>To do this you have only to pass the following parameter: 
> -m /path/to/oracle.mk to the makefile maker.
>The complete command I type is:
>perl Makefile.PL -m path/to/oracle.mk
>
>Then I Install all the rest in the standard way.
>
>On my machine it works. 

I am trying to install DBD:Oracle on Solaris x86 2.5.1 with 
Oracle Workgroup Server version 7.3. Perl and DBI installed 
successfully. I do not have Pro*C available to me, but was 
encouraged by the suggestion by Massimo Balestra to use 
oracle.mk.  I entered 

  perl Makefile.PL -m /opt/oracle7/rdbms/demo/oracle.mk

Unfortunately, I received the following result ...

    Configuring DBD::Oracle ...

   Using Oracle in /opt/oracle7

   WARNING: Oracle OCI (Pro*C) does not appear to be installed.
   You must install Pro*C before you can build DBD::Oracle properly.

   Reading /opt/oracle7/rdbms/demo/oracle.mk.
   Unable to read /opt/oracle7/rdbms/lib/env_rdbms.dk.mk: No such file or
directory at Makefile.PL line 321, <GEN0> chunk 20.

Has anyone had success with this?  I'd really appreciate any help you can 
give!

_______________________________________________________________
 NetQuest Communications, Inc. / Internet Communications, Inc.   
    Voice 810.623.1347                Voice 810.683.6069
      Fax 810.623.1513                  Fax 810.683.2678
   http://www.netquest.com             info@netquest.com     

    Full Internet Service Provider / Networking services
    Windows NT/Novell/FoxPro/Access/SQL-Server solutions
______________________________________________________________

       #     # ##### ###### ###### #    # ##### ##### ######
      ##    # #        #   #    # #    # #     #        #
     # #   # #        #   #    # #    # #     #        #
    #  #  # ####     #   #  # # #    # ####  #####    #
   #   # # #        #   #   ## #    # #         #    #
  #    ## #        #   #    # #    # #         #    #
 #     # #####    #   ###### ###### ##### #####    #
______________________________________________________________

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-131@oink>;
          Thu, 26 Sep 1996 07:54:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843717399:05102:14; Thu, 26 Sep 96 06:56:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05049; 26 Sep 96 6:56 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id VAA14428 for dbi-users-real; Wed, 25 Sep 1996 21:12:06 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id VAA14424 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 21:12:05 -0700 (PDT)
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id VAA22562; Wed, 25 Sep 1996 21:11:56 -0700
Message-Id: <199609260411.VAA22562@voro.lbl.gov>
To: tghosh@medg.lcs.mit.edu, hogan@GNAC.com, dbi-users@fugue.com
cc: Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Re: Still no luck in DBD:Oracle login delays....
In-reply-to: Your message of "Wed, 25 Sep 1996 15:37:37 -0000." <9609251437.AA18093@toad.ig.co.uk>
Date: Wed, 25 Sep 1996 21:11:56 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>


I have not followed this whole thing too closely so far, so
please forgive me if I ask already asked/answered questions.

[...]
> > OK, so lets tabulate the evidence
> > 
> > 			System                        Login Time
> > 	perl4-oraperl + Production Machine(non-MTS)  Good (2 secs)
> > 	Perl5-DBI     + Production Machine           Bad (14-7 secs)
> >  	Perl5-DBI     + Very Fast Machine with MTS   Good (2 secs)

Is the slow one running MTS or not?

Have you considered that the slow DB might just be slow?
Is connect time from another client (e.g. sqlplus) OK?

It would be rare to see a non-MTS system that slow, unless perhaps 
it was thrashing, but an almost idle system can be very slow
to connect if MTS is not tuned correctly.  

Were I in your shoes at the moment, I'd snoop the net and watch
the packets.  (to confirm if the delay is waiting for the remote
server to respond, or a delay induced somehow on the local system) 
and I'd turn on trace on the TNS listener, and see what's happening 
there, and if any of this points to the DB, look at the MTS dispatcher
queues and see what kind of waits that are experiencing.

Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10172-133@oink>;
          Thu, 26 Sep 1996 07:54:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843717399:05106:11; Thu, 26 Sep 96 06:56:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05048; 26 Sep 96 6:56 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id VAA14438 for dbi-users-real; Wed, 25 Sep 1996 21:14:48 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id VAA14434 
          for <dbi-users@fugue.com>; Wed, 25 Sep 1996 21:14:47 -0700 (PDT)
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id VAA22589; Wed, 25 Sep 1996 21:14:44 -0700
Message-Id: <199609260414.VAA22589@voro.lbl.gov>
To: dbi-users@fugue.com
cc: tghosh@medg.lcs.mit.edu, hogan@GNAC.com, Tim.Bunce@ig.co.uk
Subject: Re: Still no luck in DBD:Oracle login delays....
In-reply-to: Your message of "Wed, 25 Sep 1996 15:37:37 -0000." <9609251437.AA18093@toad.ig.co.uk>
Date: Wed, 25 Sep 1996 21:14:44 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>

Btw, this also reminds me, is everyone aware that sqlnet v1 is
no longer supported on the server, as of 7.3?

So the T:host:DB connect syntax goes away, and the tnsnames.ora file
becomes a requirement.

Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15307-2@oink>;
          Thu, 26 Sep 1996 15:03:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843737578:28491:22; Thu, 26 Sep 96 12:32:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28363; 26 Sep 96 12:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id CAA14824 for dbi-users-real; Thu, 26 Sep 1996 02:12:10 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.pi.se (mail.pi.se [194.52.20.8]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id CAA14820 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 02:12:08 -0700 (PDT)
Received: from ubu.igis.se (mail.igis.se [194.132.192.91]) 
          by mail.pi.se (8.7.5/8.7.3) with SMTP id LAA00506 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 11:12:04 +0200 (MET DST)
Received: from dune.igis.se (dune.igis.se [10.0.1.4]) 
          by ubu.igis.se (940816.SGI.8.6.9/941003) with ESMTP id LAA19443 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 11:12:02 +0200
Received: from dune.igis.se (localhost [127.0.0.1]) 
          by dune.igis.se (940816.SGI.8.6.9/941003) with SMTP id LAA15827 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 11:12:01 +0200
Message-ID: <324A48E0.41C6@igis.se>
Date: Thu, 26 Sep 1996 11:12:00 +0200
From: Robin Langdon <robin@igis.se>
Organization: Industrial Grade Information Systems AB
X-Mailer: Mozilla 3.0Gold (X11; I; IRIX 5.3 IP22)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD-Oracle/Oraperl Performance question
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

We are in the process of performance tuning a application written using
DBD-Oracle via Oraperl emulation and have found some interesting results
when it comes to selecting data.

We have a wrapper function "fetch" which fetches the result of a SQL
query into an associative array (format: $rec{column name}[rec no]). For
small result sets this works fine, typically taking 0.01 seconds.
However for larger results (several thousand records) we lose time
pushing the result from ora_fetch onto the array - about 1 second for
approx 2500 records.

What would be nice is an "ora_fetch_all" function which returns the
complete result set in an array of arrays. This must surely be faster
than pushing an array several thousand times inside perl.

Is there anybody that has done something similar to this ?

-- 
---------------------------------------- 
Robin Langdon                           
Industrial Grade Information Systems AB 
Mailto:robin@igis.se
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15307-4@oink>;
          Thu, 26 Sep 1996 15:03:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843737644:28784:4; Thu, 26 Sep 96 12:34:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28509; 26 Sep 96 12:33 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id CAA14806 for dbi-users-real; Thu, 26 Sep 1996 02:01:58 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id CAA14802 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 02:01:48 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ae03269;
          25 Sep 96 13:28 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa08737; 25 Sep 96 13:06 BST
Received: from toad by oink with SMTP (PP) id <04656-0@oink>;
          Wed, 25 Sep 1996 09:54:16 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA17504;
          Wed, 25 Sep 1996 09:54:06 +0000
Date: Wed, 25 Sep 1996 09:54:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609250854.AA17504@toad.ig.co.uk>
To: Jazman56@aol.com
Subject: Re: ODBC module?
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


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

From Jazman56@aol.com  Wed Sep 25 07:54:03 1996
Date: Tue, 24 Sep 1996 16:34:32 -0400
From: Jazman56@aol.com
To: Tim.Bunce@ig.co.uk
Subject: Re: ODBC module?

unsubscribe


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

Jazman, did you receive my recent mail explaining how to unsubscribe
(and pointing out that I do no maintain this mailing list)?

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15307-6@oink>;
          Thu, 26 Sep 1996 15:03:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843737717:29219:1; Thu, 26 Sep 96 12:35:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28766; 26 Sep 96 12:34 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id CAA14838 for dbi-users-real; Thu, 26 Sep 1996 02:20:41 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from juliet.logica.com (firewall-user@juliet.logica.com [193.133.30.5]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id CAA14834 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 02:20:39 -0700 (PDT)
Received: by juliet.logica.com; id KAA08868; Thu, 26 Sep 1996 10:20:37 +0100
Received: from carmen.logica.co.uk(158.234.8.100) by juliet.logica.com 
          via smap (g3.0.3) id xma008843; Thu, 26 Sep 96 10:20:14 +0100
Received: from smtpmail.logica.com (mssmtp.logica.com [158.234.8.102]) 
          by carmen.logica.co.uk (8.7.1/8.7.Beta.10) with SMTP id KAA22444 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 10:21:05 +0100 (BST)
Received: by smtpmail.logica.com with Microsoft Mail 
          id <324A58E4@smtpmail.logica.com>; Thu, 26 Sep 96 10:20:20 bst
From: "Howroyd Mark (PC)" <HowroydM@logica.com>
To: 'fugueserver' <dbi-users@fugue.com>
Subject: unsubscribe
Date: Thu, 26 Sep 96 09:41:00 bst
Message-ID: <324A58E4@smtpmail.logica.com>
Encoding: 2 TEXT
X-Mailer: Microsoft Mail V3.0


unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15423-0@oink>;
          Thu, 26 Sep 1996 15:22:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843747625:19277:29; Thu, 26 Sep 96 15:20:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19024; 26 Sep 96 15:19 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id FAA15085 for dbi-users-real; Thu, 26 Sep 1996 05:18:45 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from isgate.is (isgate.is [193.4.58.51]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id FAA15081 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 05:18:43 -0700 (PDT)
Received: from njala.saga.is by isgate.is (8.7.5-M/ISnet/14-10-91);
          Thu, 26 Sep 1996 12:18:30 GMT
Received: from adal.hagkaup.is by njala.saga.is (8.7.5/ISnet/10-08-95);
          Thu, 26 Sep 1996 12:16:08 GMT
Received: from sun5.hagkaup.is by adal.hagkaup.is (8.7.5/ISnet/25-02-95);
          Thu, 26 Sep 1996 12:16:02 GMT
Received: from sib(6.12.94) by sun5.hagkaup.is (8.7.5/) id MAA06921;
          Thu, 26 Sep 1996 12:13:29 GMT
From: Yngvi Thor Sigurjonsson <yngvi@hagkaup.is>
Message-Id: <199609261213.MAA06921@sun5.hagkaup.is>
Subject: Re: Retreiving international characters using DBD::Oracle
To: robin@igis.se (Robin Langdon)
Date: Thu, 26 Sep 1996 12:13:28 +0000 (GMT)
Cc: arjen@diogenes.capvolmac.nl, dbi-users@fugue.com
In-Reply-To: <3246739C.2781@igis.se> from Robin Langdon at "Sep 23, 96 01:25:16 pm"
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> > We are using DBI/DBD with an Oracle database which contains
> > eight bit characters. The DBD functions return a question mark (?)
> > for each eight bit character found.
> 
> We had the same problem with character sets. Make sure the following
> environment vaiables are set:
> 
> NLS_LANG, ORA_NLS, ORA_NLS32 
> For Example,
>    $ENV{'NLS_LANG'}    = "american_america.we8iso8859p1";
>    $ENV{'ORA_NLS'}     = "/home/oracle/ocommon/nls/admin/data";
>    $ENV{'ORA_NLS32'}   = "/home/oracle/ocommon/nls/admin/data";
> 
> This forces Oracle to use 8 bit characters. There is actually nothing
> wrong with DBI/DBD.
> 


I would like all of you who are using 8-bit characters and "export" for
backups to make sure that you have NLS_LANG set when export is run. 
Otherwise you might get unusable backups with ? replacing all your
beloved characters. We were lucky once when we noticed that our exports
were damaged before disaster struck.

Regards 
	Yngvi
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15423-2@oink>;
          Thu, 26 Sep 1996 15:22:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843747696:19760:5; Thu, 26 Sep 96 15:21:36 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19219; 26 Sep 96 15:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id EAA15004 for dbi-users-real; Thu, 26 Sep 1996 04:37:46 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from juliet.logica.com (firewall-user@juliet.logica.com [193.133.30.5]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id EAA15000 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 04:37:43 -0700 (PDT)
Received: by juliet.logica.com; id MAA02171; Thu, 26 Sep 1996 12:37:40 +0100
Received: from carmen.logica.co.uk(158.234.8.100) by juliet.logica.com 
          via smap (g3.0.3) id xma002057; Thu, 26 Sep 96 12:37:15 +0100
Received: from smtpmail.logica.com (mssmtp.logica.com [158.234.8.102]) 
          by carmen.logica.co.uk (8.7.1/8.7.Beta.10) with SMTP id MAA00955 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 12:38:06 +0100 (BST)
Received: by smtpmail.logica.com with Microsoft Mail 
          id <324A7900@smtpmail.logica.com>; Thu, 26 Sep 96 12:37:20 bst
From: "Howroyd Mark (PC)" <HowroydM@logica.com>
To: 'fugueserver' <dbi-users@fugue.com>
Subject: unsubscribe
Date: Thu, 26 Sep 96 12:30:00 bst
Message-ID: <324A7900@smtpmail.logica.com>
Encoding: 2 TEXT
X-Mailer: Microsoft Mail V3.0


howroydm@logica.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15423-4@oink>;
          Thu, 26 Sep 1996 15:22:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843747698:19761:16; Thu, 26 Sep 96 15:21:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19742; 26 Sep 96 15:21 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id FAA15075 for dbi-users-real; Thu, 26 Sep 1996 05:14:55 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from spider.ilink.fr (spider.ilink.fr [194.98.79.225]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id FAA15071 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 05:14:50 -0700 (PDT)
Received: from pentium by spider.ilink.fr 
          via SMTP (940816.SGI.8.6.9/940406.SGI.AUTO) 
          for <dbi-users@fugue.com> id NAA20793;
          Thu, 26 Sep 1996 13:14:41 +0100
Message-Id: <1.5.4.32.19960926191449.002df0a0@mail.ilink.fr>
X-Sender: alex@mail.ilink.fr
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Date: Thu, 26 Sep 1996 14:14:49 -0500
To: 'fugueserver' <dbi-users@fugue.com>
From: Alexandre COSTE <alex@ilink.fr>
Subject: unsubscribe
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by toccata.fugue.com id 
                      FAA15075


alex@ilink.fr

Alexandre COSTE - Ing=E9nieur Syst=E8mes - Alexandre.Coste@ilink.fr
Ilink           - Fournisseur d'acc=E9s Internet - info@ilink.fr
-http://www.ilink.fr

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17033-3@oink>;
          Thu, 26 Sep 1996 17:33:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843755334:04822:22; Thu, 26 Sep 96 17:28:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04679; 26 Sep 96 17:28 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id GAA15176 for dbi-users-real; Thu, 26 Sep 1996 06:19:02 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id GAA15172 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 06:18:58 -0700 (PDT)
Received: (from binkley@localhost) by gateway.novasoft.com (8.7.1/8.7.1) 
          id JAA20425; Thu, 26 Sep 1996 09:17:51 -0400 (EDT)
Date: Thu, 26 Sep 1996 09:17:51 -0400 (EDT)
From: "B. K. Oxley (binkley)" <binkley@gateway.novasoft.com>
Message-Id: <199609261317.JAA20425@gateway.novasoft.com>
To: kcarney@gomer.stortek.com
CC: dbi-users@fugue.com
In-reply-to: <3249D037.936@gomer.stortek.com> (message from Kelly Carney on Wed, 25 Sep 1996 18:37:11 -0600)
Subject: Re: oracle install as requirement for dbd::oracle
Reply-to: "B. K. Oxley (binkley)" <Brian.Oxley@gateway.novasoft.com>

>>>>> "KC" == Kelly Carney <kcarney@gomer.stortek.com> writes:

 >> From your Oracle host, copy the "sqlnet.ora" and "tnsnames.ora"
 KC> files from the directory pointed to by the env variable
 KC> $TNS_ADMIN to your non-Oracle box.  On the non-Oracle box, set a
 KC> TNS_ADMIN env var to where you placed these files.

 KC> Now you should be able to use something like this:

 KC> user/password@database

Two questions:

1. Is this SQL*NET 1.0 or 2.0 syntax for the connect string?  (I
believe it is 2.0, but am unsure.)  As for the port, I think that the
default port for v1 is 1525, but is 1521 for v2.  I am, however, no
Oracle expert.

2. Does ORACLE's license agreement prohibit this copying?  Our company
disallows me from shipping any Oracle support files with my Oraperl
application until we resolve this question.


--binkley
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18656-0@oink>;
          Thu, 26 Sep 1996 18:57:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843760461:09245:75; Thu, 26 Sep 96 18:54:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04843; 26 Sep 96 18:43 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id HAA15378 for dbi-users-real; Thu, 26 Sep 1996 07:57:19 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id HAA15374 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 07:57:17 -0700 (PDT)
Received: by mercury.Sun.COM (Sun.COM) id HAA04520;
          Thu, 26 Sep 1996 07:56:46 -0700
Received: from smith.EBay.Sun.COM by Ebay.Sun.COM (SMI-8.6/SMI-5.3) id HAA21624;
          Thu, 26 Sep 1996 07:56:44 -0700
Received: by smith.EBay.Sun.COM (5.x/SMI-SVR4) id AA03567;
          Thu, 26 Sep 1996 07:53:18 -0700
Date: Thu, 26 Sep 1996 07:53:18 -0700
From: philip.smith@EBay.sun.com (Philip Smith)
Message-Id: <9609261453.AA03567@smith.EBay.Sun.COM>
To: dbi-users@fugue.com
Subject: unsubscribe
Cc: philip.smith@EBay.sun.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Md5: hdeBTR4qbJ4p96fDbDRqhQ==

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18718-0@oink>;
          Thu, 26 Sep 1996 19:22:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843762076:17644:281; Thu, 26 Sep 96 19:21:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16509; 26 Sep 96 19:10 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA15529 for dbi-users-real; Thu, 26 Sep 1996 08:50:50 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id IAA15525 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 08:50:49 -0700 (PDT)
Received: by gw.home.vix.com id IAA07350; Thu, 26 Sep 1996 08:50:47 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id av08393;
          26 Sep 96 15:40 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa06211; 26 Sep 96 16:33 BST
Received: from toad by oink with SMTP (PP) id <15858-0@oink>;
          Thu, 26 Sep 1996 16:33:05 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20287;
          Thu, 26 Sep 1996 16:32:58 +0000
Date: Thu, 26 Sep 1996 16:32:58 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609261532.AA20287@toad.ig.co.uk>
To: pgiza@cmgi.com
Subject: Oracle and Perl
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users

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

From pgiza@cmgi.com  Thu Sep 26 16:22:51 1996
Date: Thu, 26 Sep 1996 11:22:32 -0400
From: Peter Giza <pgiza@cmgi.com>
To: Tim.Bunce@ig.co.uk
Subject: Oracle and Perl
Reply-To: pgiza@cmgi.com

Tim,

   I would like to know if you can tell me if there is
any other interface to Oracle using perl other than oraperl?
I have been searching around, and rumor has it that there
is something far better, but I haven't been able to find
anything.  Any help would be appreciated.

-pete


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

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20540-2@oink>;
          Fri, 27 Sep 1996 07:36:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843762854:24265:182; Thu, 26 Sep 96 19:34:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25198; 26 Sep 96 19:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id JAA15664 for dbi-users-real; Thu, 26 Sep 1996 09:09:02 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from amdext.amd.com (amdext.amd.com [139.95.251.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id JAA15659 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 09:09:01 -0700 (PDT)
Received: from amdint.amd.com by amdext.amd.com with SMTP 
          id AA28095 (5.67a/IDA-1.5+AMD for <dbi-users@fugue.com>);
          Thu, 26 Sep 1996 09:08:30 -0700
Received: from lovecraft.amd.com by amdint.amd.com with SMTP 
          id AA21064 (5.67a/IDA-1.5+AMD for <dbi-users@fugue.com>);
          Thu, 26 Sep 1996 09:08:27 -0700
Received: by lovecraft.amd.com (SMI-8.6/AMD-S-2.0) id LAA07339;
          Thu, 26 Sep 1996 11:08:26 -0500
From: Boris Yazlovitsky <boris@lovecraft.amd.com>
Message-Id: <9609261108.ZM7337@lovecraft>
Date: Thu, 26 Sep 1996 11:08:25 -0500
X-Mailer: Z-Mail (3.2.1 10oct95)
To: dbi-users@fugue.com
Subject: Remote server
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Hi,

I'm new to this list.  I would like to know if oraperl (or any other
similar software) allows an interface to Oracle on a remote server
(with no nfs cross-mounts).

Thanks a lot for your help,
Boris Yazlovitsky

-- 

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20540-11@oink>;
          Fri, 27 Sep 1996 07:37:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843766675:22420:62; Thu, 26 Sep 96 20:37:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21720; 26 Sep 96 20:35 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id KAA15887 for dbi-users-real; Thu, 26 Sep 1996 10:02:25 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id KAA15883 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 10:02:23 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id RAA09331 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 17:48:52 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id SAA00454 for dbi-users@fugue.com; Thu, 26 Sep 1996 18:00:56 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609261700.SAA00454@chewbacca.hermetica.com>
Subject: ANNOUNCE: DBD-Informix-0.24
To: dbi-users@fugue.com
Date: Thu, 26 Sep 1996 18:00:55 +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


DBD::Informix version 0.24 has been released. This release features some
stability patches on recent work, multiple cursor support ( that works! )
and correct datatype handling.

Thanks to Terry Nightingale for the work.

Release is available from:

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

and will filter across CPAN over the next few days.

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 <20540-18@oink>;
          Fri, 27 Sep 1996 07:37:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843769415:13167:42; Thu, 26 Sep 96 21:23:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13049; 26 Sep 96 21:22 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id KAA16085 for dbi-users-real; Thu, 26 Sep 1996 10:41:59 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id KAA16080 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 10:40:52 -0700 (PDT)
Received: by gateway1.srs.gov id AA28634 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Thu, 26 Sep 1996 13:38:39 -0400
Message-Id: <199609261738.AA28634@gateway1.srs.gov>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
          Thu, 26 Sep 1996 13:38:39 -0400
Date: Thu, 26 Sep 1996 13:36:27 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: [Fwd: Bad free() in GD.pm]
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="------------2CBEBDA6A41"
Content-Transfer-Encoding: 7BIT

This is a multi-part message in MIME format.

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

Hmmm... This smells like something I've seen here!  I wonder if there is
a link??

Tom Malaher wrote:
> 
> I'm using GD.pm for some cgi stuff, and i'm getting hundreds of
> the following message:
>       Bad free() ignored during global destruction.
> repeated over and over.
> 
> perl -d allows me to discover that the message is coming from
> the following code (stolen right out of the GD.pod documentation)
> 
> open (GIF,$file) || die "open:!$";
> $myImage = newFromGif GD::Image(GIF) || die "newFromGif";
> close GIF;
> 
> The "close" is getting the error!!!
> ...the code continues, and finally the exit statement at the end
> gets another batch of errors.
> (At one point during a debugger run it seemed that a "print $im->gif;"
> was getting the message too, but I can't reproduce that.)
> 
> I have not noticed this because the messages have been going into
> the error_log, and the code *works* fine!
> 
> Now, I'm developing a cron job to do something similar and I'm
> getting these errors.  A look back into the error_log tells me
> the original code is only getting it *occasionally*! huh?!?!?!
> 
> Installation Details:
> - BSD/OS mymachine 2.0.1 BSDI BSD/OS 2.0.1 ... i386
> - This is perl, version 5.003 with EMBED
>         built under bsdos at Sep  8 1996 15:46:24
>         + suidperl security patch
> - GD v 1.01
> - gd 1.2
> 
> Any ideas?  Initially I thought it was due to improper object
> destruction in GD.pm... but now I'm not so sure.
> 
> Thanks,
> Tom tmalaher@netstart.com

-- 
---
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.
---

--------------2CBEBDA6A41
Content-Type: message/news
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Relay-Version: ANU News - V6.1B9 05/16/94 VAX/VMS V6.1; site srs.gov
Path: srs.gov!gatech!rutgers!goliath.montclair.edu!newsserver.jvnc.net!newsserver2.jvnc.net!cpk-news-hub1.bbnplanet.com!www.nntp.primenet.com!nntp.primenet.com!news.texas.net!news1.best.com!noos.hooked.net!imsai.canuck.com!usenet
Newsgroups: comp.lang.perl.modules,comp.lang.perl,comp.lang.perl.misc
Subject: Bad free() in GD.pm
Message-ID: <3238A75D.41C67EA6@netstart.com>
From: Tom Malaher <tmalaher@netstart.com>
Date: Thu, 12 Sep 1996 18:14:22 -0600
Organization: NetStart Consulting
NNTP-Posting-Host: netstart.canuck.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (X11; I; NetBSD 1.2A i386)
CC: lstein@genome.wi.mit.edu, tmalaher@netstart.com
Xref: srs.gov comp.lang.perl.modules:308 comp.lang.perl.misc:44225

I'm using GD.pm for some cgi stuff, and i'm getting hundreds of
the following message:
      Bad free() ignored during global destruction.
repeated over and over.

perl -d allows me to discover that the message is coming from
the following code (stolen right out of the GD.pod documentation)

open (GIF,$file) || die "open:!$";
$myImage = newFromGif GD::Image(GIF) || die "newFromGif";
close GIF;

The "close" is getting the error!!!
...the code continues, and finally the exit statement at the end
gets another batch of errors.
(At one point during a debugger run it seemed that a "print $im->gif;"
was getting the message too, but I can't reproduce that.)

I have not noticed this because the messages have been going into
the error_log, and the code *works* fine!

Now, I'm developing a cron job to do something similar and I'm
getting these errors.  A look back into the error_log tells me
the original code is only getting it *occasionally*! huh?!?!?!

Installation Details:
- BSD/OS mymachine 2.0.1 BSDI BSD/OS 2.0.1 ... i386
- This is perl, version 5.003 with EMBED
        built under bsdos at Sep  8 1996 15:46:24
        + suidperl security patch
- GD v 1.01
- gd 1.2

Any ideas?  Initially I thought it was due to improper object 
destruction in GD.pm... but now I'm not so sure.

Thanks,
Tom tmalaher@netstart.com

--------------2CBEBDA6A41--

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20540-25@oink>;
          Fri, 27 Sep 1996 07:38:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843773431:13195:44; Thu, 26 Sep 96 22:30:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12723; 26 Sep 96 22:28 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA16484 for dbi-users-real; Thu, 26 Sep 1996 11:55:54 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id LAA16480 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 11:55:49 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id TAA11095;
          Thu, 26 Sep 1996 19:42:09 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id TAA00805; Thu, 26 Sep 1996 19:54:07 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609261854.TAA00805@chewbacca.hermetica.com>
Subject: Re: Remote server
To: boris@lovecraft.amd.com (Boris Yazlovitsky)
Date: Thu, 26 Sep 1996 19:52:51 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <9609261108.ZM7337@lovecraft> from "Boris Yazlovitsky" at Sep 26, 96 11:08:25 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


> I'm new to this list.  I would like to know if oraperl (or any other
> similar software) allows an interface to Oracle on a remote server
> (with no nfs cross-mounts).

Use SQL*Net.

> Boris Yazlovitsky

-- 
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 <20540-27@oink>;
          Fri, 27 Sep 1996 07:39:01 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843773533:14381:9; Thu, 26 Sep 96 22:32:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13922; 26 Sep 96 22:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA16490 for dbi-users-real; Thu, 26 Sep 1996 11:56:43 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id LAA16486 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 11:56:17 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id TAA11101;
          Thu, 26 Sep 1996 19:42:42 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id TAA00800; Thu, 26 Sep 1996 19:53:31 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609261853.TAA00800@chewbacca.hermetica.com>
Subject: Re: oracle install as requirement for dbd::oracle
To: Brian.Oxley@gateway.novasoft.com
Date: Thu, 26 Sep 1996 19:52:15 +0100 (BST)
Cc: kcarney@gomer.stortek.com, dbi-users@fugue.com
In-Reply-To: <199609261317.JAA20425@gateway.novasoft.com> from "B. K. Oxley" at Sep 26, 96 09:17:51 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


>  >> From your Oracle host, copy the "sqlnet.ora" and "tnsnames.ora"
>  KC> files from the directory pointed to by the env variable
>  KC> $TNS_ADMIN to your non-Oracle box.  On the non-Oracle box, set a
>  KC> TNS_ADMIN env var to where you placed these files.
> 
>  KC> Now you should be able to use something like this:
> 
>  KC> user/password@database
> 
> Two questions:
> 
> 1. Is this SQL*NET 1.0 or 2.0 syntax for the connect string?  (I
> believe it is 2.0, but am unsure.)  As for the port, I think that the
> default port for v1 is 1525, but is 1521 for v2.  I am, however, no
> Oracle expert.

That looks like SQL*Net V2 syntax. Unless you were running some SQL*Net V1
aliasing ( which I think they added at some point ). SQL*Net V1 uses port
1525, SQL*Net V2 I have seen use 1521, but the times I've installed it on
Dynix/ptx, Solaris and Dec OSF seem to use 1526 defaultly.

> 2. Does ORACLE's license agreement prohibit this copying?  Our company
> disallows me from shipping any Oracle support files with my Oraperl
> application until we resolve this question.

I would think, probably not. You'd need to double check your licensing 
agreement, but I doubt Oracle would let you ship, even if it was just 
basic message files. Shipping a tnsnames.ora is fine, shipping something off
the original Oracle tape isn't.

> --binkley

-- 
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 <20540-35@oink>;
          Fri, 27 Sep 1996 07:39:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843777243:10753:13; Thu, 26 Sep 96 23:34:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10122; 26 Sep 96 23:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id MAA16642 for dbi-users-real; Thu, 26 Sep 1996 12:34:53 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bnr.ca (x400gate.nortel.ca [192.58.194.73]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id MAA16632 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 12:34:26 -0700 (PDT)
X400-Received: by mta bnr.ca in /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
               Thu, 26 Sep 1996 14:47:58 -0400
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
               Thu, 26 Sep 1996 14:10:54 -0400
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
               Thu, 26 Sep 1996 14:10:00 -0400
Date: Thu, 26 Sep 1996 14:10:00 -0400
X400-Originator: /dd.id=0512435/g=jean-francois/i=j/s=soumis/@bnr.ca
X400-MTS-Identifier: [/PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/;bcars735.b.630:26.08.96.18.10.54]
X400-Content-Type: P2-1984 (2)
Content-Identifier: DBD::mSQL : P...
From: "jean-francois (j.) soumis" <stud6v8@nortel.ca>
Message-ID: <"17999 Thu Sep 26 14:11:27 1996"@bnr.ca>
To: dbi-users@fugue.com
Cc: descarte@hermetica.com
Subject: DBD::mSQL : Problem related to shared libraries - Help please !

Hi, I'm trying to install DBD-msql and I got this error when I run make. It has
to do with shared libraries. Here's the output:

OUTPUT
===================================================================

bmtlh643:~/idea/DBD-mSQL-0.60pl9> make realclean
        rm -rf mSQL.c ./blib Makefile.aperl ./blib/arch/auto/DBD/mSQL/extralibs.all perlmain.c mon.out core so_locations *~ */*~ */*/*~ *.o *.a perl.exe mSQL.bs mSQL.bso mSQL.def mSQL.exp
        mv Makefile Makefile.old 2>/dev/null
        rm -rf ./blib/lib/auto/DBD/mSQL ./blib/arch/auto/DBD/mSQL
        rm -f ./blib/arch/auto/DBD/mSQL/mSQL.sl ./blib/arch/auto/DBD/mSQL/mSQL.bs
        rm -f ./blib/arch/auto/DBD/mSQL/mSQL.a ./blib/lib/DBD/mSQL.pm
        rm -rf Makefile Makefile.old
[2]  - Done                   vuepad output
bmtlh643:~/idea/DBD-mSQL-0.60pl9> perl5 Makefile.PL

Configuring DBD::mSQL version 0.60pl9...
Remember to actually read the README file!

And YES, I REALLY MEAN READ IT!

Hints, tips, ramblings at:

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

Using mSQL in /tmp_mnt/u/user63/stud6v8/msql
mSQL sysliblist: -L/tmp_mnt/u/user63/stud6v8/msql/lib -lmsql -lm
-> Is this installation a root install or non-root? [root/notroot] notroot
You say you're a non-root install........
Using port: 4333 as default
System: perl5.002 hp-ux bmtlh30 a.09.05 a 9000735 2003023367 two-user license  PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include

Checking if your kit is complete...
Warning: the following files are missing in your kit:
        Makefile
Please inform the author.
Writing Makefile for DBD::mSQL

bmtlh643:~/idea/DBD-mSQL-0.60pl9> make 

        umask 0 && cp mSQL.pm ./blib/lib/DBD/mSQL.pm
        cc -c -I/tmp_mnt/u/user63/stud6v8/msql/include -I/usr/local/pkg/perl/5.002/lib/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.60pl9\" -DXS_VERSION=\"0.60pl9\" +z -I/usr/local/pkg/perl/5.002/lib/PA-RISC1.1/CORE  dbdimp.c
cc:  warning 475: Variable "retl" declared in function "readblob" is not initialized before being used.
        /usr/local/bin/perl5 -I/usr/local/pkg/perl/5.002/lib/PA-RISC1.1 -I/usr/local/pkg/perl/5.002/lib /usr/local/pkg/perl/5.002/lib/ExtUtils/xsubpp  -typemap /usr/local/pkg/perl/5.002/lib/ExtUtils/typemap mSQL.xs >mSQL.tc && mv mSQL.tc mSQL.c
Please specify prototyping behavior for mSQL.xs (see perlxs manual)
        cc -c -I/tmp_mnt/u/user63/stud6v8/msql/include -I/usr/local/pkg/perl/5.002/lib/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.60pl9\" -DXS_VERSION=\"0.60pl9\" +z -I/usr/local/pkg/perl/5.002/lib/PA-RISC1.1/CORE  mSQL.c
Running Mkbootstrap for DBD::mSQL ()
        chmod 644 mSQL.bs
        LD_RUN_PATH="/tmp_mnt/u/user63/stud6v8/msql/lib:/lib/pa1.1" ld -o ./blib/arch/auto/DBD/mSQL/mSQL.sl -b -L/usr/local/lib dbdimp.o  mSQL.o -L/tmp_mnt/u/user63/stud6v8/msql/lib -L/tmp_mnt/u/user63/stud6v8/msql/lib  -L/tmp_mnt/u/user63/stud6v8/msql/lib -lmsql -lm  
ld: DP-Relative Code in file /tmp_mnt/u/user63/stud6v8/msql/lib/libmsql.a(libmsql.o) - Shared Library must be Position-Independent 
*** Error code 1

Stop.

bmtlh643:~/idea/DBD-mSQL-0.60pl9> 


VERSIONS
==================================
perl : 5.002
mSQL :version 1.0 Patch 16     7 Jul 1996

CONFIG
==================================
bmtlh643:~/idea/DBD-mSQL-0.60pl9>  perl5  -e 'use Config; print Config::myconfig()'
Summary of my perl5 (5.0 patchlevel 2) configuration:
  Platform:
    osname=hpux, osver=9, archname=PA-RISC1.1
    uname='hp-ux bmtlh30 a.09.05 a 9000735 2003023367 two-user license '
    hint=recommended, useposix=true 
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=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
    libs=-lnet -lnsl_s -lndbm -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='+z', lddlflags='-b -L/usr/local/lib'

Can you see the problem ?

--------------------------------------------------------------------------------
Jean-Francois Soumis        e-mail:stud6v8@nortel.ca
Speech Program Office       Phone: (514) 765-7717
Dept 6V23, BNR (Nortel)     
Montreal, Canada. 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20540-37@oink>;
          Fri, 27 Sep 1996 07:39:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843778723:19160:4; Thu, 26 Sep 96 23:58:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18704; 26 Sep 96 23:57 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA16869 for dbi-users-real; Thu, 26 Sep 1996 13:41:27 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from stortek.com (stortek.com [129.80.22.249]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id NAA16865 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 13:41:25 -0700 (PDT)
Received: from magellan.teq.stortek.com by stortek.com with SMTP 
          id AA12905 (5.65c/IDA-1.4.4 for <dbi-users@fugue.com>);
          Thu, 26 Sep 1996 14:39:34 -0600
Received: from gomer (gomer.stortek.com) 
          by magellan.teq.stortek.com (5.x/SMI-SVR4) id AA24166;
          Thu, 26 Sep 1996 14:39:32 -0600
Received: by gomer (5.x/SMI-SVR4) id AA10316; Thu, 26 Sep 1996 14:39:13 -0600
Date: Thu, 26 Sep 1996 14:39:13 -0600
From: kcarney@magellan.teq.stortek.com (Kelly Carney)
Message-Id: <9609262039.AA10316@gomer>
To: Brian.Oxley@gateway.novasoft.com, descarte@hermetica.com
Subject: Re: oracle install as requirement for dbd::oracle
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII


> From owner-dbi-users@fugue.com Thu Sep 26 14:13 MDT 1996
> From: Alligator Descartes <descarte@hermetica.com>
> Subject: Re: oracle install as requirement for dbd::oracle
> To: Brian.Oxley@gateway.novasoft.com
> Date: Thu, 26 Sep 1996 19:52:15 +0100 (BST)
> Cc: kcarney@gomer.stortek.com, dbi-users@fugue.com
> X-Pants: ** The return address of this email should be: descarte@hermetica.com
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> 
> 
> >  >> From your Oracle host, copy the "sqlnet.ora" and "tnsnames.ora"
> >  KC> files from the directory pointed to by the env variable
> >  KC> $TNS_ADMIN to your non-Oracle box.  On the non-Oracle box, set a
> >  KC> TNS_ADMIN env var to where you placed these files.
> > 
> >  KC> Now you should be able to use something like this:
> > 
> >  KC> user/password@database
> > 
> > Two questions:
> > 
> > 1. Is this SQL*NET 1.0 or 2.0 syntax for the connect string?  (I
> > believe it is 2.0, but am unsure.)  As for the port, I think that the
> > default port for v1 is 1525, but is 1521 for v2.  I am, however, no
> > Oracle expert.
> 
> That looks like SQL*Net V2 syntax. Unless you were running some SQL*Net V1
> aliasing ( which I think they added at some point ). SQL*Net V1 uses port
> 1525, SQL*Net V2 I have seen use 1521, but the times I've installed it on
> Dynix/ptx, Solaris and Dec OSF seem to use 1526 defaultly.

  It IS SQL*Net V2.  When I run a test that uses this syntax, the connection
  is made on port 1521.  I'm glad this works since the DBA folks here would
  like to turn off the SQL*Net V1 (port 1525) at some time in the future.

> 
> > 2. Does ORACLE's license agreement prohibit this copying?  Our company
> > disallows me from shipping any Oracle support files with my Oraperl
> > application until we resolve this question.
> 
> I would think, probably not. You'd need to double check your licensing 
> agreement, but I doubt Oracle would let you ship, even if it was just 
> basic message files. Shipping a tnsnames.ora is fine, shipping something off
> the original Oracle tape isn't.

  My sources here say it's OK to use the "tnsnames.ora" and "sqlnet.ora" files.

> 
> > --binkley
> 
> -- 
> 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 <20540-49@oink>;
          Fri, 27 Sep 1996 07:41:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843781712:02643:19; Fri, 27 Sep 96 00:48:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02462; 27 Sep 96 0:47 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA17111 for dbi-users-real; Thu, 26 Sep 1996 14:48:11 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gate.randomwalk.com (root@[206.25.187.125]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id OAA17107 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 14:48:10 -0700 (PDT)
Received: from xanadu (xanadu.ivillage.com [204.151.56.2]) 
          by gate.randomwalk.com (8.7.5/8.7.3) with SMTP id RAA19317;
          Thu, 26 Sep 1996 17:48:16 -0400
Message-ID: <324AF8C6.5111@randomwalk.com>
Date: Thu, 26 Sep 1996 17:42:30 -0400
From: Li Markakis <lmarkakis@randomwalk.com>
X-Mailer: Mozilla 3.0b6 (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: I'm new to this list.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I need to get a perl program to talk to Oracle.  I'm using Unix. 
Oraperl only works with Perl4.  So I assume I'm in the right place.

However, I'm using perl5.002 and the DBI specs say it only works w/
5.003 or later.

Am I doomed to failure (do I HAVE to upgrade?)



Li.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20540-51@oink>;
          Fri, 27 Sep 1996 07:41:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843782064:03946:22; Fri, 27 Sep 96 00:54:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03830; 27 Sep 96 0:53 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id OAA17128 for dbi-users-real; Thu, 26 Sep 1996 14:53:58 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.cmgi.com (root@ns.cmgi.com [204.71.28.8]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id OAA17124 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 14:53:56 -0700 (PDT)
Received: from oz (oz.cmgi.com [204.71.29.100]) by ns.cmgi.com (8.6.12/8.6.9) 
          with ESMTP id RAA04757 for <dbi-users@fugue.com>;
          Thu, 26 Sep 1996 17:50:52 -0400
Received: (from pgiza@localhost) by oz (SMI-8.6/8.6.9) id RAA18838;
          Thu, 26 Sep 1996 17:58:14 -0400
Date: Thu, 26 Sep 1996 17:58:14 -0400
Message-Id: <199609262158.RAA18838@oz>
From: Peter Giza <pgiza@cmgi.com>
To: dbi-users@fugue.com
Subject: Has anybody seen this error
Reply-To: pgiza@cmgi.com

Ok I built it, and now I test it, and the world is bad.
Is this the same *free* errors as references in the README?
The reason I ask is because of the:

Can't get DBI::dr=HASH(0xde5ac)->{DebugLog}: unrecognised attribute at /usr/local/lib/perl5/site_perl/DBI.pm line 413.

error that is in the muck below.  Thanks any help would be
appreciated.

-pete



pgiza@legolas:$  \make test TEST_VERBOSE=1 
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=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.18 cusr  0.13 csys =  0.31 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.24 $
Loaded DBI.pm at blib/lib/Oraperl.pm line 23
    DBI dispatch debug level set to 2
DBI->install_driver DBI Oracle at blib/lib/Oraperl.pm line 62
DBI->install_driver(Oracle) loaded
    New DBI::dr (for DBD::Oracle::dr, parent=, id=)
    dbih_setup_handle(DBI::dr=HASH(0x15ee18)=>DBI::dr=HASH(0x1a67c8), DBD::Oracle::dr, NULL)
    New DBI::dr => DBI::dr=HASH(0x15ee18) (inner=DBI::dr=HASH(0x1a67c8)) for DBD::Oracle::dr
DBI->install_driver(Oracle) = DBI::dr=HASH(0x15ee18)
    >> debug       DISPATCH (DBI::dr=HASH(0x15ee18) @2 g0 a185ce8 r2)
    -> debug in DBD::_::common for DBD::Oracle::dr (DBI::dr=HASH(0x15ee18)~0x1a67c8 0)
    <- debug= 0
    >> STORE       DISPATCH (DBI::dr=HASH(0x1a67c8) @3 g0 a0 r2)
    -> STORE in DBD::_::common for DBD::Oracle::dr (DBI::dr=HASH(0x1a67c8) 'CompatMode' 1)
    STORE DBI::dr=HASH(0x1a67c8) 'CompatMode' => 1
    <- STORE= 1
    >> STORE       DISPATCH (DBI::dr=HASH(0x1a67c8) @3 g0 a0 r2)
    -> STORE for DBD::Oracle::dr (DBI::dr=HASH(0x1a67c8) 'Warn' 0)
    STORE DBI::dr=HASH(0x1a67c8) 'Warn' => 0
    <- STORE= 1
    New DBI::dr (for DBD::Switch::dr, parent=, id=SCALAR(0x167600))
    dbih_setup_handle(DBI::dr=HASH(0x1a6738)=>DBI::dr=HASH(0xde5ac), DBD::Switch::dr, SCALAR(0x167600))
    New DBI::dr => DBI::dr=HASH(0x1a6738) (inner=DBI::dr=HASH(0xde5ac)) for DBD::Switch::dr
 
Oraperl Emulation Interface version 1.29 
    >> FETCH       DISPATCH (DBI::dr=HASH(0x1a67c8) @2 g0 a0 r1)
    <- FETCH= '0.39' QUICK
Oracle Driver 0.39
    >> FETCH       DISPATCH (DBI::dr=HASH(0xde5ac) @2 g0 a0 r1)
    -> FETCH for DBD::Switch::dr (DBI::dr=HASH(0xde5ac) 'Attribution')
    <- FETCH= 'DBI-0.72 Switch by Tim Bunce'
    >> FETCH       DISPATCH (DBI::dr=HASH(0xde5ac) @2 g0 a0 r1)
    <- FETCH= '0.72' QUICK
DBI-0.72 Switch by Tim Bunce, version 0.72
 
 
Connecting
 to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
 as 'adsmart/adsmart' (via ORACLE_USERID env var or default - recommend name/passwd@dbname)
(ORACLE_SID='test', TWO_TASK='')
    >> connect     DISPATCH (DBI::dr=HASH(0x15ee18) @4 g1 a185dc8 r1)
    -> connect for DBD::Oracle::dr (DBI::dr=HASH(0x15ee18)~0x1a67c8 '' 'adsmart/adsmart' '')
    New DBI::db (for DBD::Oracle::db, parent=DBI::dr=HASH(0x1a67c8), id=)
    dbih_setup_handle(DBI::db=HASH(0xde540)=>DBI::db=HASH(0xde7b0), DBD::Oracle::db, NULL)
    New DBI::db => DBI::db=HASH(0xde540) (inner=DBI::db=HASH(0xde7b0)) for DBD::Oracle::db
    <- connect= ( DBI::db=HASH(0xde540) ) [1 items]
    >> disconnect  DISPATCH (DBI::db=HASH(0xde540) @1 g0 a183788 r1)
    -> disconnect for DBD::Oracle::db (DBI::db=HASH(0xde540)~0xde7b0)
    <- disconnect= 1
    >> DESTROY     DISPATCH (DBI::db=HASH(0xde540) @1 g0 a1835e8 r1)
       (outer handle DESTROY ignored)
    >> DESTROY     DISPATCH (DBI::db=HASH(0xde7b0) @1 g0 a1835e8 r1)
    -> DESTROY for DBD::Oracle::db (DBI::db=HASH(0xde7b0))
    <- DESTROY= undef
    dbih_clearcom 0xdc008 done
    >> STORE       DISPATCH (DBI::dr=HASH(0xde5ac) @3 g0 a0 r1)
    -> STORE for DBD::Switch::dr (DBI::dr=HASH(0xde5ac) 'DebugLog' 'test.log')
Can't get DBI::dr=HASH(0xde5ac)->{DebugLog}: unrecognised attribute at /usr/local/lib/perl5/site_perl/DBI.pm line 413.
DBI::END
DBI::disconnect_all DBI
DBI::disconnect_all for 'Oracle'
DBI::END complete
Attempt to free unreferenced scalar during global destruction.
See README about Bad free() warnings!
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.
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.
Attempt to free unreferenced scalar during global destruction.
Attempt to free unreferenced scalar during global destruction.
*** Error code 139
make: Fatal error: Command failed for target `test_dynamic'
pgiza@legolas:$ 
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20540-81@oink>;
          Fri, 27 Sep 1996 07:55:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843805374:10241:6; Fri, 27 Sep 96 07:22:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10167; 27 Sep 96 7:22 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id WAA18517 for dbi-dev-real; Thu, 26 Sep 1996 22:13:37 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from anna.in-berlin.de (anna.in-berlin.de [193.175.21.66]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id WAA18513 
          for <dbi-dev@fugue.com>; Thu, 26 Sep 1996 22:13:35 -0700 (PDT)
Received: by anna.in-berlin.de (940816.SGI.8.6.9/940406.SGI) id HAA06593;
          Fri, 27 Sep 1996 07:13:22 +0200
Date: Fri, 27 Sep 1996 07:13:22 +0200
Message-Id: <199609270513.HAA06593@anna.in-berlin.de>
From: Andreas Koenig <k@anna.in-berlin.de>
To: The DBI Mailing Lists <dbi-dev@fugue.com>
Subject: DBI-0.72 and irix
Reply-to: andreas.koenig@franz.ww.tu-berlin.de

The usual irixisms...

     *imp_msv = ((XRV*)  (sv)->sv_any )->xrv_rv ;  
 -------------^
cfe: Error: DBI.c, line 764: Type SV *  of rhs of assignment expression is incompatible with type GV *  of lhs (3.3.16.1)
     *imp_msv = ((XRV*)  (sv)->sv_any )->xrv_rv ;  
 -------------^
cfe: Error: DBI.c, line 897: Incompatible pointer type assignment (3.3.16.1, 3.5.4.1(21))
            imp_msv = Perl_gv_fetchmethod (((imp_xxh)->com. std.imp_stash)  , meth_name);
        ------------^
cfe: Error: DBI.c, line 897: Type GV *  of rhs of assignment expression is incompatible with type SV *  of lhs (3.3.16.1)
            imp_msv = Perl_gv_fetchmethod (((imp_xxh)->com. std.imp_stash)  , meth_name);
        ------------^


andreas
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25761-2@oink>;
          Fri, 27 Sep 1996 17:08:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843839669:18105:6; Fri, 27 Sep 96 16:54:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17720; 27 Sep 96 16:53 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id GAA00737 for dbi-users-real; Fri, 27 Sep 1996 06:06:47 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from anna.in-berlin.de (anna.in-berlin.de [193.175.21.66]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id GAA00733 
          for <dbi-users@fugue.com>; Fri, 27 Sep 1996 06:06:38 -0700 (PDT)
Received: by anna.in-berlin.de (940816.SGI.8.6.9/940406.SGI) id PAA10729;
          Fri, 27 Sep 1996 15:05:32 +0200
Date: Fri, 27 Sep 1996 15:05:32 +0200
Message-Id: <199609271305.PAA10729@anna.in-berlin.de>
From: Andreas Koenig <k@anna.in-berlin.de>
To: james.taylor@srs.gov
CC: dbi-users@fugue.com
In-reply-to: <199609261738.AA28634@gateway1.srs.gov> (message from James Taylor on Thu, 26 Sep 1996 13:36:27 -0400)
Subject: Re: [Fwd: Bad free() in GD.pm]
Reply-to: andreas.koenig@franz.ww.tu-berlin.de

>>>>> James Taylor <james.taylor@srs.gov> writes:

 james> Content-type: text/plain; charset="us-ascii"
 james> Hmmm... This smells like something I've seen here!  I wonder if there is
 james> a link??

 james> Tom Malaher wrote:
 >> 
 >> I'm using GD.pm for some cgi stuff, and i'm getting hundreds of
 >> the following message:
 >> Bad free() ignored during global destruction.
 >> repeated over and over.


I don't think, there's any connection to DBI.

He shall install the latest version, that's all.

andreas
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00520-74@oink>;
          Mon, 30 Sep 1996 10:22:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843867389:28143:3; Sat, 28 Sep 96 00:36:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27846; 28 Sep 96 0:35 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA00516 for dbi-users-real; Fri, 27 Sep 1996 13:15:03 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from uswat.advtech.uswest.com (firewall-user@[130.13.16.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id NAA00512 
          for <dbi-users@fugue.com>; Fri, 27 Sep 1996 13:14:56 -0700 (PDT)
Received: from denorca6 (denorca8.uswc.uswest.com [151.116.91.120]) 
          by uswat.advtech.uswest.com (8.7.5/8.7.3) with SMTP id OAA00527;
          Fri, 27 Sep 1996 14:13:37 -0600 (MDT)
Message-Id: <199609272013.OAA00527@uswat.advtech.uswest.com>
Received: by denorca6 (NX5.67f2/NX3.0X) id AA00678;
          Fri, 27 Sep 96 14:13:36 -0600
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3risc v118.3)
Original-Received: by NeXT.Mailer (1.118.3)
PP-warning: Illegal Received field on preceding line
From: "James W. Meyer" <jwmeyer@uswest.com>
Date: Fri, 27 Sep 96 14:13:34 -0600
To: dbi-users@fugue.com
Subject: DBI make install failed
Cc: Tim.Bunce@ig.co.uk

Tim,

The following is a complete log of a complete dbi build:

# perl Makefile.PL

    Remember to actually *read* the README file!

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

    DO NOT build the DBI under the Perl source tree.

    Use 'make test' to execute self tests.

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

MakeMaker (v5.34)
        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/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
# make
        cc -c  -D_HPUX_SOURCE -Aa -O     -DVERSION=\"0.72\"   
-DXS_VERSION=\"0.72\" +z  
-I/usr/local/lib/perl5/PA-RISC1.1/5.003/CORE  DBI.c
Running Mkbootstrap for DBI ()
        chmod 644 DBI.bs
        LD_RUN_PATH="" ld -o ./blib/arch/auto/DBI/DBI.sl -b  
-L/usr/local/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
# make test
        LD_RUN_PATH="" ld -o ./blib/arch/auto/DBI/DBI.sl -b  
-L/usr/local/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
        PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib  
-I/usr/local/lib/perl5/PA-RISC1.1/5.003 -I/usr/local/lib/perl5 -e  
'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests  
@ARGV;' t/*.t
t/min...............ok
All tests successful.
Files=1,  Tests=12,  0 secs ( 0.25 cusr  0.04 csys =  0.29 cpu)
        PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib  
-I/usr/local/lib/perl5/PA-RISC1.1/5.003 -I/usr/local/lib/perl5  
test.pl
test.pl
DBI test application $Revision: 1.16 $
Switch: DBI-0.72 Switch by Tim Bunce, 0.72
DebugDispatch: 0
Available Drivers: ExampleP, NullP, Sponge
Read DBI special variables (expect: empty string, 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(0x400e48d4)

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(0x400e49f4)
Prepared as DBI::st=HASH(0x400e4aa8)
Number of fields: 3
Data type of first field: 1
Driver name: ExampleP

Fetching data from both cursors.
Expect several rows of data:
16877 2 ., 1 1024 .
16877 2 .., 1 1024 ..
16877 3 lost+found, 1 1024 cron
16895 1600 tmp, 2 2048 mqueue
16749 3200 bin, 1 1024 lp
16749 6400 man, 1 24 uucppublic
16749 6401 nettest, 1 1024 uucp
16749 9601 netdemo, 1 24 ppl

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(0x400e4acc) debug level set to 2
    -> DESTROY for DBD::ExampleP::st (DBI::st=HASH(0x400e4acc))
    <- 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:
843852615 .
bind_col worked

Cursor tests done (scoped objects will be destroyed now)
test.pl done (global destruction will follow)

# make install
Perl lib version (5.000) doesn't match executable version (5.003)
BEGIN failed--compilation aborted at  
/usr/local/lib/perl5/ExtUtils/Install.pm line 8.
BEGIN failed--compilation aborted.
*** Error code 2

Stop.
# 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 denorca2 a.09.04 e 9000887 1423326251 8-user license '
    hint=recommended, useposix=true, d_sigaction=define
  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=, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib/pa1.1 /lib /usr/lib
    libs=-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
    libc=/lib/libc.sl, so=sl
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=, ccdlflags='-Wl,-E  
-Wl,-B,deferred '
    cccdlflags='+z', lddlflags='-b -L/usr/local/lib'

@INC: /usr/local/lib/perl5/PA-RISC1.1/5.003 /usr/local/lib/perl5  
/usr/local/lib/perl5/site_perl/PA-RISC1.1  
/usr/local/lib/perl5/site_perl .


Thanks,
Jim Meyer
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00520-84@oink>;
          Mon, 30 Sep 1996 10:23:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843872553:15109:14; Sat, 28 Sep 96 02:02:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15046; 28 Sep 96 2:02 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id QAA01021 for dbi-users-real; Fri, 27 Sep 1996 16:05:13 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from linux-markm.fishnet.net (linux-markm.fishnet.net [205.216.133.39]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id QAA01009 
          for <dbi-users@fugue.com>; Fri, 27 Sep 1996 16:03:41 -0700 (PDT)
Received: (from mark@localhost) by linux-markm.fishnet.net (8.7.1/8.7.1) 
          id QAA01147; Fri, 27 Sep 1996 16:01:19 -0700
Date: Fri, 27 Sep 1996 16:01:18 -0700 (PDT)
From: Caldera Desktop User <mark@linux-markm.fishnet.net>
To: dbi-users@fugue.com
Subject: oraperl for windows NT
Message-ID: <Pine.LNX.3.91.960927155710.366A-100000@linux-markm.fishnet.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello,

Does anyone know of any work being done to port oraperl, DBD::Oracle, etc. to
windows NT.  If so, I would like to be involved in the project.

Thanks much,
Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00520-97@oink>;
          Mon, 30 Sep 1996 10:24:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843878240:29576:7; Sat, 28 Sep 96 03:37:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29493; 28 Sep 96 3:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id RAA01264 for dbi-users-real; Fri, 27 Sep 1996 17:39:05 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id RAA01259 
          for <dbi-users@fugue.com>; Fri, 27 Sep 1996 17:39:02 -0700 (PDT)
Received: from chewbacca.hermetica.com (root@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id BAA02956;
          Sat, 28 Sep 1996 01:25:30 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id BAA00999; Sat, 28 Sep 1996 01:31:16 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199609280031.BAA00999@chewbacca.hermetica.com>
Subject: Re: DBI make install failed
To: jwmeyer@uswest.com (James W. Meyer)
Date: Sat, 28 Sep 1996 01:30:01 +0100 (BST)
Cc: dbi-users@fugue.com, Tim.Bunce@ig.co.uk
In-Reply-To: <199609272013.OAA00527@uswat.advtech.uswest.com> from "James W. Meyer" at Sep 27, 96 02:13:34 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


> # make install
> Perl lib version (5.000) doesn't match executable version (5.003)
> BEGIN failed--compilation aborted at  
> /usr/local/lib/perl5/ExtUtils/Install.pm line 8.
> BEGIN failed--compilation aborted.
> *** Error code 2
> 
> Stop.

Looks like you need to upgrade perl to v5.003. Either that, or your perl
library and executable are mismatched. 

Either way, a reinstall looks like it's on the cards.

> Jim Meyer

-- 
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 <00520-105@oink>;
          Mon, 30 Sep 1996 10:24:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843884066:12213:0; Sat, 28 Sep 96 05:14:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12080; 28 Sep 96 5:13 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id TAA01504 for dbi-users-real; Fri, 27 Sep 1996 19:11:49 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ember.spry.com (ember.spry.com [165.121.12.17]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id TAA01500 
          for <dbi-users@fugue.com>; Fri, 27 Sep 1996 19:11:46 -0700 (PDT)
Received: from localhost by ember.spry.com with ESMTP id <310409-26710>;
          Fri, 27 Sep 1996 19:10:41 -0800
Reply-to: ken@spry.com
To: dbi-users@fugue.com
cc: Tim.Bunce@ig.co.uk
Subject: Bad free() in DBD::Oracle
Date: Fri, 27 Sep 1996 19:10:31 -0700
From: Ken Pizzini <ken@ember.spry.com>
Message-Id: <96Sep27.191041pdt.310409-26710+19@ember.spry.com>

I have a simple Oraperl program:
|#!/usr/local/bin/perl
|
|BEGIN { $ENV{ORACLE_HOME} = '/oracle/app/oracle/product/7.3.2' }
|use Oraperl;
|
|$SIG{__WARN__} = sub { $_[0] =~ /^Bad free/ ? dump : warn $_[0] };
|
|$lda = &ora_login("", "dbuser\@dbs1.local", "***");
|print "lda=$lda\n";
|$lda  and  &ora_logoff($lda);

(password hand-edited for security purposes)

Running this, I get:
$ perl z
lda=DBI::db=HASH(0x176398)
Abort (core dumped)
$ 


Using:
 DBI-072
 DBD-Oracle-0.39
 Oracle 7.3.2

Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.5, archname=sun4-solaris
    uname='sunos feng 5.5 generic sun4m '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='gcc', optimize='-O6 -msupersparc', gccversion=2.7.2
    cppflags='-I/usr/local/include -I/opt/gnu/include'
    ccflags ='-I/usr/local/include -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='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

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



It looks like it is a problem with PRO*C:
I re-linked perl with the dmalloc library, set
  DMALLOC_OPTIONS=debug=0x34f47d83,inter=250,log=l_malloc
and find that code called via exit() hooks bombs with:
|debug-malloc library: dumping program, fatal error
|   Error: pointer does not point to start of user-allocated space (err 62)
|Abort (core dumped)

Looking in my l_malloc log, I see:
|31984: free: pointer does not point to start of user-allocated space: pointer '0x1fd010' from 'ra=0xef4b1c94'
|31984: ERROR: _chunk_free: pointer does not point to start of user-allocated space (err 62)

Running again with ",addr=0x1fd010", I get a core dump with the following
trace (slightly trimmed):

(internals of malloc())
#5  0x81478 in malloc (size=2084880) at malloc.c:366
#6  0xef4ac83c in epcioread ()
#7  0xef4ad1e0 in epciofstill_free ()
#8  0xef4ae5dc in epcioffirst_free ()
#9  0xef4b170c in epcpro_add ()
#10 0xef4abeb4 in epc_init ()
#11 0xef3c85b0 in nldtotinit ()
#12 0xef3d2cb8 in nlstddt_do_alter_trace ()
#13 0xef3d1568 in nlstdgg ()
#14 0xef407568 in osnqig1 ()
#15 0xef394c78 in osncon ()
#16 0xef367bec in upiini ()
#17 0xef35f244 in upiahm ()
#18 0xef364324 in upilgn ()
#19 0xef363f0c in upilon ()
#20 0xef355d3c in ocirlo ()
#21 0xef5843d8 in dbd_db_login ()
(more stuff)


Running again with ",addr=0x1fd010:1", I get a core dump with the following
trace (slightly trimmed):

(internals of free())
#5  0x81600 in free (pnt=0x1fd010) at malloc.c:453
#6  0xef4aebb4 in epcioffree_record ()
#7  0xef4b1c14 in epcpro_delete ()
#8  0xef4ac380 in epc_exit_handler ()
#9  0xef6169f0 in _exithandle ()
#10 0xef673ecc in exit ()


So it looks like epcioread() is malloc()ing  2084880 bytes,
but the pointer is being modified before the free in epcioffree_record().


It really looks to me like a problem in Oracle's library, but
I'm posting this message here because I am encountering the
probem through Oraperl, and it looks like y'all have had
more dealings with this kind of thing than I have.  If you
can think of something else that I should check, just send me
some e-mail.


		--Ken Pizzini
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00520-135@oink>;
          Mon, 30 Sep 1996 10:26:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843932913:04830:2; Sat, 28 Sep 96 18:48:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04646; 28 Sep 96 18:47 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA02736 for dbi-users-real; Sat, 28 Sep 1996 08:33:15 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.netquest.com ([206.148.118.7]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id IAA02732 
          for <dbi-users@fugue.com>; Sat, 28 Sep 1996 08:33:12 -0700 (PDT)
Received: from anne.netquest.com ([206.148.118.152]) 
          by mail.netquest.com (post.office MTA v1.9.3 ID# 247-13926) 
          with SMTP id AAA151 for <dbi-users@fugue.com>;
          Sat, 28 Sep 1996 11:35:35 -0400
Message-Id: <1.5.4.32.19960928153659.006aba54@mail.netquest.com>
X-Sender: anne@mail.netquest.com
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 28 Sep 1996 11:36:59 -0400
To: dbi-users@fugue.com
From: anne@netquest.com (Rickert, Anne )
Subject: DBD-Oracle build problem on Solaris 2.5.1

I've been trying to build DBD-Oracle-0.38 on Solaris x86 2.5.1 with 
Oracle 7.3.2.

Problem #1: I don't have and can't get Pro*C.
  I tried using oracle.mk instead.  Got the error 

  Reading /opt/oracle7/rdbms/demo/oracle.mk.
   Unable to read /opt/oracle7/rdbms/lib/env_rdbms.dk.mk: No such file or
directory at Makefile.PL line 321, <GEN0> chunk 20.

  I modified oracle.mk to refer to env_rdms.mk instead of env_rdbms.dk.mk 
  and oracle.mk instead of oracle.dk.mk, since there were no  ".dk.mk" on my
system.

Problem #2

  Now I am getting the following error

     Using Oracle in /opt/oracle7
 
     WARNING: Oracle OCI (Pro*C) does not appear to be installed.
     You must install Pro*C before you can build DBD::Oracle properly.

     Reading /opt/oracle7/rdbms/demo/oracle.mk.
     Reading /opt/oracle7/rdbms/lib/env_rdbms.mk.
     ERROR parsing /opt/oracle7/rdbms/demo/oracle.mk: Unable to determine
what      to link with.

  This might be related to my use of a hacked oracle.mk, but I've noticed 
  other messages to the mailing list which mention this same error 
  related to Oracle 7.3.2.

Any help would be very much appreciated!

Thanks

Anne
_______________________________________________________________
 NetQuest Communications, Inc. / Internet Communications, Inc.   
    Voice 810.623.1347                Voice 810.683.6069
      Fax 810.623.1513                  Fax 810.683.2678
   http://www.netquest.com             info@netquest.com     

    Full Internet Service Provider / Networking services
    Windows NT/Novell/FoxPro/Access/SQL-Server solutions
______________________________________________________________

       #     # ##### ###### ###### #    # ##### ##### ######
      ##    # #        #   #    # #    # #     #        #
     # #   # #        #   #    # #    # #     #        #
    #  #  # ####     #   #  # # #    # ####  #####    #
   #   # # #        #   #   ## #    # #         #    #
  #    ## #        #   #    # #    # #         #    #
 #     # #####    #   ###### ###### ##### #####    #
______________________________________________________________

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00520-143@oink>;
          Mon, 30 Sep 1996 10:26:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843939123:28000:5; Sat, 28 Sep 96 20:32:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27841; 28 Sep 96 20:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id KAA02862 for dbi-users-real; Sat, 28 Sep 1996 10:33:30 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id KAA02858 
          for <dbi-users@fugue.com>; Sat, 28 Sep 1996 10:33:29 -0700 (PDT)
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 RAA18378;
          Sat, 28 Sep 1996 17:28:33 GMT
Received: from il02dns1.comm.mot.com (il02dns1.comm.mot.com [145.1.3.2]) 
          by pobox.mot.com (8.7.3/8.6.10/MOT-3.8) with ESMTP id MAA03703;
          Sat, 28 Sep 1996 12:32:25 -0500 (CDT)
Received: from viola.comm.mot.com (viola.comm.mot.com [145.1.57.12]) 
          by il02dns1.comm.mot.com (8.7.5/8.7.3) with ESMTP id MAA00389;
          Sat, 28 Sep 1996 12:40:55 -0500 (CDT)
Message-Id: <199609281740.MAA00389@il02dns1.comm.mot.com>
Received: by viola.comm.mot.com (1.40.112.8/16.2) id AA184731807;
          Sat, 28 Sep 1996 12:30:07 -0500
From: Garth Kennedy <garth@comm.mot.com>
Subject: Re: Bad free() in DBD::Oracle
To: ken@spry.com
Date: Sat, 28 Sep 1996 12:30:06 CDT
Cc: dbi-users@fugue.com
In-Reply-To: <96Sep27.191041pdt.310409-26710+19@ember.spry.com>; from "Ken Pizzini" at Sep 27, 96 7:10 pm
Organization: Motorola Inc.
Department: RNSG World Wide Manufacturing
Reply-To: garth@comm.mot.com
X-Mailer: Elm [revision: 112.6]

> 
> I have a simple Oraperl program:

> lda=DBI::db=HASH(0x176398)
> Abort (core dumped)

> Using:
>  DBI-072
>  DBD-Oracle-0.39
>  Oracle 7.3.2
 -- on sun
> 
> So it looks like epcioread() is malloc()ing  2084880 bytes,
> but the pointer is being modified before the free in epcioffree_record().
> 
> 
> It really looks to me like a problem in Oracle's library, but
> I'm posting this message here because I am encountering the
> probem through Oraperl, and it looks like y'all have had
> more dealings with this kind of thing than I have.  If you
> can think of something else that I should check, just send me
> some e-mail.

I have the same (or similar problem) on HP with HP-UX 10.01 and 10.2;
with DBI-0.71,-0.72 and DBD-Oracle-0.38,-0.39 
AND ONLY Oracle 7.3.2.2. (The only version of Oracle 7.3 we have in house.)
(To get/keep things going I used Oracle 7.2.3.?? to build the DBD-Oracle module.)

I have not been able (no time) to get as far into the problem as I wanted.
I am resonably convinced that the HP Compiler/Library is OK (for this issue)
which was my initial suspicion.

It appears (for my situation) that it is also an Oracle library issue.


> 		--Ken Pizzini

Regards

Garth

--
+----------------------------------------------------------------+
| Garth Kennedy     garth@comm.mot.com  Telephone (847) 576-3786 |
| Radio Network Solutions Group Motorola      FAX (847) 576-2656 |
+----------------------------------------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00520-148@oink>;
          Mon, 30 Sep 1996 10:26:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843941815:07691:0; Sat, 28 Sep 96 21:16:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07411; 28 Sep 96 21:15 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA02904 for dbi-users-real; Sat, 28 Sep 1996 11:17:05 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ember.spry.com (ember.spry.com [165.121.12.17]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id LAA02900 
          for <dbi-users@fugue.com>; Sat, 28 Sep 1996 11:17:01 -0700 (PDT)
Received: from localhost by ember.spry.com with ESMTP id <310409-26710>;
          Sat, 28 Sep 1996 11:15:59 -0800
Reply-to: ken@spry.com
To: dbi-users@fugue.com
Subject: Re: Bad free() in DBD::Oracle
Date: Sat, 28 Sep 1996 11:15:48 -0700
From: Ken Pizzini <ken@ember.spry.com>
Message-Id: <96Sep28.111559pdt.310409-26710+20@ember.spry.com>

More information on my recent report...
The problem does not appear to be a modified pointer, as I recently
claimed, but rather a double-free of memory.  It looks like epcpro_delete()
is trying to free some memory already freed by epcioffree_record().
Now to replicate this in PRO*C, so that the bug report can be sent
to Oracle...

		--Ken Pizzini


Script started on Sat Sep 28 11:13:34 1996
bash$ gdb ~/perl-5.003/perl
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.5), Copyright 1996 Free Software Foundation, Inc...
(gdb) b exit
Breakpoint 1 at 0xa0b14
(gdb) r z
Starting program: /home/ken/perl-5.003/perl z
Breakpoint 1 at 0xef673ec4
lda=DBI::db=HASH(0xc9394)

Breakpoint 1, 0xef673ec4 in exit ()
(gdb) bt
#0  0xef673ec4 in exit ()
#1  0x1d760 in main ()
(gdb) b epcpro_delete
Breakpoint 2 at 0xef4b1b5c
(gdb) c
Continuing.

Breakpoint 2, 0xef4b1b5c in epcpro_delete ()
(gdb) b free
Breakpoint 3 at 0x815c8: file malloc.c, line 451.
(gdb) cond 3 pnt == 0x1fd010
(gdb) c
Continuing.

Breakpoint 3, free (pnt=0x1fd010) at malloc.c:451
malloc.c:451: No such file or directory.
(gdb) bt
#0  free (pnt=0x1fd010) at malloc.c:451
#1  0xef4aebb4 in epcioffree_record ()
#2  0xef4b1c14 in epcpro_delete ()
#3  0xef4ac380 in epc_exit_handler ()
#4  0xef6169f0 in _exithandle ()
#5  0xef673ecc in exit ()
(gdb) c
Continuing.

Breakpoint 3, free (pnt=0x1fd010) at malloc.c:451
malloc.c:451: No such file or directory.
(gdb) bt
#0  free (pnt=0x1fd010) at malloc.c:451
#1  0xef4b1c9c in epcpro_delete ()
#2  0xef4ac380 in epc_exit_handler ()
#3  0xef6169f0 in _exithandle ()
#4  0xef673ecc in exit ()
(gdb) c
Continuing.
debug-malloc library: dumping program, fatal error
   Error: pointer does not point to start of user-allocated space (err 62)

Program received signal SIGABRT, Aborted.
0xef673e30 in kill ()
(gdb) q
The program is running.  Quit anyway (and kill it)? (y or n) y
bash$ 
script done on Sat Sep 28 11:15:02 1996
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00520-151@oink>;
          Mon, 30 Sep 1996 10:27:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 843942681:10765:2; Sat, 28 Sep 96 21:31:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10676; 28 Sep 96 21:30 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA02957 for dbi-users-real; Sat, 28 Sep 1996 11:54:38 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ember.spry.com (ember.spry.com [165.121.12.17]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id LAA02953 
          for <dbi-users@fugue.com>; Sat, 28 Sep 1996 11:54:36 -0700 (PDT)
Received: from localhost by ember.spry.com with ESMTP id <310409-26710>;
          Sat, 28 Sep 1996 11:53:38 -0800
To: dbi-users@fugue.com
Subject: Re: Bad free() in DBD::Oracle
In-reply-to: My message of "Sat, 28 Sep 1996 11:15:48 PDT."
Date: Sat, 28 Sep 1996 11:53:31 -0700
From: Ken Pizzini <ken@ember.spry.com>
Message-Id: <96Sep28.115338pdt.310409-26710+22@ember.spry.com>

I recently said:
> More information on my recent report...
> The problem does not appear to be a modified pointer, as I recently
> claimed, but rather a double-free of memory.  It looks like epcpro_delete()
> is trying to free some memory already freed by epcioffree_record().
> Now to replicate this in PRO*C, so that the bug report can be sent
> to Oracle...

Okay, here is a simple PRO*C program which replicates the problem:

|#include <stdio.h>
|#include <stdlib.h>
|#include <string.h>
|EXEC SQL INCLUDE sqlca;
|void sqlerror(void) {
|    EXEC SQL WHENEVER SQLERROR CONTINUE;
|    printf("\nORACLE error detected:");
|    printf("\n% .70s \n", sqlca.sqlerrm.sqlerrmc);
|    EXEC SQL ROLLBACK WORK RELEASE;
|    exit(1);
|}
|int main(void) {
|    const char *username = "xxxxx";
|    const char *password = "zzzzz";
|    putenv("ORACLE_HOME=/oracle/app/oracle/product/7.3.2");
|    EXEC SQL WHENEVER SQLERROR DO sqlerror();
|    EXEC SQL CONNECT :username IDENTIFIED BY :password;
|    EXEC SQL ROLLBACK WORK RELEASE;
|    exit(0);
|}

I link with a debugging version of malloc(), and find the
same problem:
  epcioread() malloc()s a block,
  which, during program exit(), epcioffree_record() free()s,
  and then epcpro_delete() free()s again.

Perl and Oraperl are not involved at all, and so are clearly
exonerated from any responsibility for the problem.

With the default libc version of malloc() this problem goes undiagnosed,
but Perl's malloc and the dmalloc library both diagnose the problem.

On Monday I'll propigate this error through our Oracle support channel.

		--Ken Pizzini
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00520-227@oink>;
          Mon, 30 Sep 1996 10:31:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844046540:26333:1; Mon, 30 Sep 96 02:22:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25833; 30 Sep 96 2:21 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id QAA05043 for dbi-dev-real; Sun, 29 Sep 1996 16:37:17 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from online.tmx.com.au ([192.150.129.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id QAA05039 
          for <dbi-dev@fugue.com>; Sun, 29 Sep 1996 16:37:15 -0700 (PDT)
Received: from localhost (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5) 
          id JAA25048; Mon, 30 Sep 1996 09:37:11 +1000
Received: from unknown(192.147.246.102) by online.tmx.com.au via smap (V1.3mjr) 
          id sma025044; Mon Sep 30 09:37:09 1996
Received: from rabbit.bha.oz.au by sparrow.bha.oz.au (8.6.12/4.03) id JAA01877;
          Mon, 30 Sep 1996 09:37:53 +1000
Received: from petrel.bha.oz.au by rabbit.bha.oz.au (AIX 3.2/UCB 5.64/4.03) 
          id AA50667; Mon, 30 Sep 1996 09:36:19 +1000
Message-Id: <1.5.4.32.19960929233151.00673104@rabbit>
X-Sender: abr@rabbit
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 30 Sep 1996 09:31:51 +1000
To: dbi-dev@fugue.com
From: Andrew Brown <abr@bha.oz.au>
Subject: Supporting multiple DB versions

I am in the process of writing a DBI interface for DBQ (a DB2 derivative
written by my company, BHA Computer).  I have sucessfully managed to build a
DBI interface for a single DBQ version but compatability is not guaranteed
between versions. It is currently necessary to relink the source with the
API libraries applicable to each version.

Does anyone have suggestions about how multiple versions can be handled
under the covers somewhere in the DBI interface?

ie, so I can go:

        DBI->install_driver( 'DBQ' )

    and the right version is accessed.

As suggested at the DBPerl site I started from the Oracle and mSQL interfaces.

Thakyou in advance,
Andrew

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08110-4@oink>;
          Mon, 30 Sep 1996 16:46:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844095013:02351:11; Mon, 30 Sep 96 15:50:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02001; 30 Sep 96 15:48 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id GAA06208 for dbi-dev-real; Mon, 30 Sep 1996 06:04:18 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id GAA06204 
          for <dbi-dev@fugue.com>; Mon, 30 Sep 1996 06:04:15 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id at06640;
          30 Sep 96 12:59 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa03319; 30 Sep 96 12:53 BST
Received: from toad by oink with SMTP (PP) id <23651-0@oink>;
          Fri, 27 Sep 1996 11:00:45 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21370;
          Fri, 27 Sep 1996 11:00:37 +0000
Date: Fri, 27 Sep 1996 11:00:37 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609271000.AA21370@toad.ig.co.uk>
To: dbi-dev@fugue.com, andreas.koenig@franz.ww.tu-berlin.de
Subject: Re: DBI-0.72 and irix
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Andreas Koenig <k@anna.in-berlin.de>
> 
> The usual irixisms...
> 
>      *imp_msv = ((XRV*)  (sv)->sv_any )->xrv_rv ;  
>  -------------^
> cfe: Error: DBI.c, line 764: Type SV *  of rhs of assignment expression is incompatible with type GV *  of lhs (3.3.16.1)
>      *imp_msv = ((XRV*)  (sv)->sv_any )->xrv_rv ;  
>  -------------^
> cfe: Error: DBI.c, line 897: Incompatible pointer type assignment (3.3.16.1, 3.5.4.1(21))
>             imp_msv = Perl_gv_fetchmethod (((imp_xxh)->com. std.imp_stash)  , meth_name);
>         ------------^
> cfe: Error: DBI.c, line 897: Type GV *  of rhs of assignment expression is incompatible with type SV *  of lhs (3.3.16.1)
>             imp_msv = Perl_gv_fetchmethod (((imp_xxh)->com. std.imp_stash)  , meth_name);
>         ------------^

Thanks. Here's a patch.

Tim.

*** 1.58	1996/09/23 18:20:45
--- DBI.xs	1996/09/27 09:34:59
***************
*** 1,4 ****
! /* $Id: DBI.xs,v 1.58 1996/09/23 18:20:45 timbo Exp timbo $
   *
   * Copyright (c) 1994, 1995  Tim Bunce
   *
--- 1,4 ----
! /* $Id: DBI.xs,v 1.58 1996/09/23 18:20:45 timbo Exp $
   *
   * Copyright (c) 1994, 1995  Tim Bunce
   *
***************
*** 734,740 ****
  quick_FETCH(hrv, keysv, imp_msv)
      SV *hrv;	/* ref to inner hash */
      SV *keysv;
!     GV **imp_msv;
  {
      void *tmp;
      SV *sv;
--- 734,740 ----
  quick_FETCH(hrv, keysv, imp_msv)
      SV *hrv;	/* ref to inner hash */
      SV *keysv;
!     SV **imp_msv;	/* Code GV or CV */
  {
      void *tmp;
      SV *sv;
***************
*** 753,759 ****
  	return SvRV(sv); /* return deref if ref to CODE ref */
      if (type != SVt_PVCV)
  	return sv;	 /* return non-code refs */
!     *imp_msv = SvRV(sv); /* tell dispatch() to execute this code instead */
      return NULL;
  }
  
--- 753,759 ----
  	return SvRV(sv); /* return deref if ref to CODE ref */
      if (type != SVt_PVCV)
  	return sv;	 /* return non-code refs */
!     *imp_msv = (SV*)SvRV(sv); /* tell dispatch() to execute this code instead */
      return NULL;
  }
  
***************
*** 886,892 ****
  
      }else{
  	if (!imp_msv) {
! 	    imp_msv = gv_fetchmethod(DBIc_IMP_STASH(imp_xxh), meth_name);
  	    if (!imp_msv)
  		croak("Can't locate DBI object method \"%s\" via package \"%s\"",
  		    meth_name, HvNAME(DBIc_IMP_STASH(imp_xxh)));
--- 886,892 ----
  
      }else{
  	if (!imp_msv) {
! 	    imp_msv = (SV*)gv_fetchmethod(DBIc_IMP_STASH(imp_xxh), meth_name);
  	    if (!imp_msv)
  		croak("Can't locate DBI object method \"%s\" via package \"%s\"",
  		    meth_name, HvNAME(DBIc_IMP_STASH(imp_xxh)));
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08142-0@oink>;
          Mon, 30 Sep 1996 16:50:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844098543:23674:27; Mon, 30 Sep 96 16:49:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23384; 30 Sep 96 16:48 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id FAA06189 for dbi-users-real; Mon, 30 Sep 1996 05:49:31 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id FAA06185 
          for <dbi-users@fugue.com>; Mon, 30 Sep 1996 05:49:30 -0700 (PDT)
Received: by gw.home.vix.com id FAA15028; Mon, 30 Sep 1996 05:49:27 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ac28500;
          30 Sep 96 12:06 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac03319; 30 Sep 96 12:53 BST
Received: from toad by oink with SMTP (PP) id <04423-0@oink>;
          Mon, 30 Sep 1996 10:52:08 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00806;
          Mon, 30 Sep 1996 10:51:37 +0000
Date: Mon, 30 Sep 1996 10:51:37 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609300951.AA00806@toad.ig.co.uk>
To: dbi-users@fugue.com, jwmeyer@uswest.com
Subject: Re: DBI make install failed
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "James W. Meyer" <jwmeyer@uswest.com>
> 
> Tim,
> 
> The following is a complete log of a complete dbi build:
> 
> # make install
> Perl lib version (5.000) doesn't match executable version (5.003)
> BEGIN failed--compilation aborted at  
> /usr/local/lib/perl5/ExtUtils/Install.pm line 8.
> BEGIN failed--compilation aborted.

I suspect you have an old Config.pm lying around.

It's not a DBI problem.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09907-0@oink>;
          Mon, 30 Sep 1996 19:13:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844106816:14293:78; Mon, 30 Sep 96 19:06:56 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14502; 30 Sep 96 19:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA06452 for dbi-users-real; Mon, 30 Sep 1996 08:05:59 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id IAA06448 
          for <dbi-users@fugue.com>; Mon, 30 Sep 1996 08:05:49 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ab06770;
          30 Sep 96 12:59 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad03319; 30 Sep 96 12:53 BST
Received: from toad by oink with SMTP (PP) id <05968-0@oink>;
          Mon, 30 Sep 1996 11:11:59 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01543;
          Mon, 30 Sep 1996 11:11:53 +0000
Date: Mon, 30 Sep 1996 11:11:53 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9609301011.AA01543@toad.ig.co.uk>
To: dbi-users@fugue.com, ken@spry.com
Subject: Re: Bad free() in DBD::Oracle
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

> It really looks to me like a problem in Oracle's library, but
> I'm posting this message here because I am encountering the
> probem through Oraperl, and it looks like y'all have had
> more dealings with this kind of thing than I have.  If you
> can think of something else that I should check, just send me
> some e-mail.
> 
> 		--Ken Pizzini

Ken, thank you very much for the detailed information.

I urge anyone (even everyone) who has an Oracle maintenance contract
to send in a copy of this information as a problem report and get a
bug number for it. Adding a reference to Purify would do no harm ;-)

Please let me know if you get a bug number or any other useful response.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11649-32@oink>;
          Tue, 1 Oct 1996 07:40:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844124284:27840:12; Mon, 30 Sep 96 23:58:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27570; 30 Sep 96 23:57 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id NAA07463 for dbi-users-real; Mon, 30 Sep 1996 13:04:56 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeeper.hcc.com (GATEKEEPER.HCC.COM [148.163.104.2]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id NAA07459 
          for <dbi-users@fugue.com>; Mon, 30 Sep 1996 13:04:51 -0700 (PDT)
Received: by gatekeeper.hcc.com (5.65/jj-092193); id AA26125;
          Mon, 30 Sep 1996 16:04:49 -0400
Received: by mailgate.bridgewater.ne.hcc.com (5.65/mdf-110895<...pronounced 'Herkst Sel-a-neez'>) 
          id AA21192; Mon, 30 Sep 1996 16:04:47 -0400
Message-Id: <325052E1.6EED@BRWHCC3.HCC.COM>
Date: Mon, 30 Sep 1996 16:08:17 -0700
From: Anna Elbaum <ELBAUM1@BRWHCC3.HCC.COM>
Organization: Hoechst Marion Roussel
X-Mailer: Mozilla 2.02 (Win16; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: HELP
X-Url: http://www.hermetica.com/technologia/DBI/DBD/index.html#Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

-- 

Hello,

I would like some more information on Perl 5 DBI. Our group is developing 
an intranet using Perl 5 with connectivity to our Oracle databases 
running on several different platforms... VAX/VMS, HP-UX. We are using a 
Netscape server running NT, and we need something which will enable Perl 
5 to talk to our databases from the NT server. We could also use any 
information that you might have on an SGI server running Netscape, and 
connecting with Oracle.

Can DBI help us. How, or where do I get all the components??  Any 
suggestions???

HELP!

Anna Elbaum <Elbaum1@brwhcc3.hcc.com>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11649-46@oink>;
          Tue, 1 Oct 1996 07:45:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844138108:15327:7; Tue, 01 Oct 96 03:48:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15203; 1 Oct 96 3:47 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id WAA18713 for dbi-users-real; Thu, 26 Sep 1996 22:56:50 -0700 (PDT)
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.8.Beta.4/8.6.11) with SMTP id WAA18709 
          for <dbi-users@fugue.com>; Thu, 26 Sep 1996 22:56:49 -0700 (PDT)
Received: from auspex.auspex.com ([144.48.8.10]) 
          by auspex-gw2.auspex.com (8.6.12/8.6.12) with ESMTP id WAA06442;
          Thu, 26 Sep 1996 22:56:46 -0700
Received: from dumas.auspex.fr by auspex.auspex.com (8.7.2/) id WAA01197;
          Thu, 26 Sep 1996 22:56:44 -0700 (PDT)
Received: from dickens ([194.2.216.6]) by dumas.auspex.fr (8.6.9/8.6.9) 
          with SMTP id HAA10304; Fri, 27 Sep 1996 07:58:01 +0200
Message-ID: <324B6CC9.7DE14518@Auspex.Com>
Date: Fri, 27 Sep 1996 07:57:29 +0200
From: Kevin Stock <KStock@auspex.com>
Organization: Auspex Systems European Technical Support Centre
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.4 sun4m)
MIME-Version: 1.0
To: pgiza@cmgi.com
CC: dbi-users@fugue.com
Subject: Re: Oracle and Perl
References: <9609261532.AA20287@toad.ig.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Pete,

>    I would like to know if you can tell me if there is
> any other interface to Oracle using perl other than oraperl?
> I have been searching around, and rumor has it that there
> is something far better, but I haven't been able to find
> anything.  Any help would be appreciated.

Somebody did post a set of Perl routines under the title 'deprecating
Oraperl' a while ago, which worked by forking the SQL binary as a
separate process. I'm sure it worked (I've used a similar approach
for Unify) but I don't think it was really suited to large applications,
and I doubt that it handled NULL fields correctly. I don't know of any
other alternatives.

	Kevin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12648-0@oink>;
          Tue, 1 Oct 1996 07:54:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844151913:24220:3; Tue, 01 Oct 96 07:38:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24048; 1 Oct 96 7:37 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id VAA10214 for dbi-users-real; Mon, 30 Sep 1996 21:43:44 -0700 (PDT)
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.8.Beta.4/8.6.11) with ESMTP id VAA10210 
          for <dbi-users@fugue.com>; Mon, 30 Sep 1996 21:43:41 -0700 (PDT)
Received: from gonzo.tamu.edu (localhost [127.0.0.1]) 
          by gonzo.tamu.edu (8.8.0/8.8.0) with ESMTP id XAA10841;
          Mon, 30 Sep 1996 23:42:44 -0500 (CDT)
From: pckizer@tamu.edu (Philip Kizer)
To: Randal Schwartz <merlyn@stonehenge.com>
cc: Alligator Descartes <descarte@hermetica.com>, dbi-users@fugue.com
Subject: Re: Hermetica problems??
Reply-To: pckizer@nostrum.com
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 "25 Sep 1996 04:27:49 PDT." <8c4tkmltqi.fsf@gadget.cscaper.com>
Date: Mon, 30 Sep 1996 23:42:43 -0500
Message-ID: <10839.844144963@gonzo.tamu.edu>


Randal Schwartz <merlyn@stonehenge.com> wrote:
>Alligator> However, donations of WWW space gratefully accepted! 8-)
>
>Well, I know you mean that only half-seriously, but when perl.org
>comes back up (geez, they moved it, and I didn't get the NIC
>updated...  bleh), I'll be happy to arrange to host the perldb lists
>there.  After all, that's what it's for!

Well, Alligator and I moved Hermetice to my site, all the DNS caches should
have updated by now if you're using www.hermetica.com; would someone please
verify that it is indeed working for them, I've seen no problem from
everywhere I've tried...


-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 <16537-0@oink>;
          Tue, 1 Oct 1996 18:25:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844190434:12921:48; Tue, 01 Oct 96 18:20:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10556; 1 Oct 96 18:13 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id GAA10778 for dbi-users-real; Tue, 1 Oct 1996 06:53:19 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from traci.cs.ndsu.nodak.edu (traci.cs.ndsu.NoDak.edu [134.129.125.60]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id GAA10774 
          for <dbi-users@fugue.com>; Tue, 1 Oct 1996 06:53:18 -0700 (PDT)
Received: (from berdahl@localhost) by traci.cs.ndsu.nodak.edu (8.6.12/8.6.12) 
          id IAA13559; Tue, 1 Oct 1996 08:59:28 GMT
Date: Tue, 1 Oct 1996 08:59:27 +0000 ()
From: Tim Berdahl <berdahl@traci.cs.ndsu.nodak.edu>
To: dbi-users@fugue.com
Subject: DBD::Oracle
Message-ID: <Pine.BSF.3.91.961001085552.13552A-100000@traci.cs.ndsu.nodak.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

I wish to install DBD::Oracle on my system (Linux), however I don't understand
the prerequisites.  It says that I need "Oracle7 RDBMS", but the web link
(from page: http://www.hermetica.com/technologia/DBI/DBD/index.html#Oracle)
only points me to Oracle's home page.  I've wandered around Oracles stuff and
can't seem to find the thing that I need.

Any help would be greatly appreciated.

Thanks in advance,

--
Tim Berdahl
==============================================================================
|                          berdahl@plains.nodak.edu                          |
|                            Pager: (701)237-1489                            | 
|                            Phone: (701)232-7597                            |
Goals:========================================================================
Get married, get masters & doctorate degrees, get job, have kids, retire & die
     
'finger berdahl@plains.nodak.edu' to get my PGP public key

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19670-6@oink>;
          Wed, 2 Oct 1996 12:34:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844200649:17975:67; Tue, 01 Oct 96 21:10:49 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17762; 1 Oct 96 21:08 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id JAA11142 for dbi-users-real; Tue, 1 Oct 1996 09:27:30 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from alpha.cyberplex.com ([207.81.40.2]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id JAA11138 
          for <dbi-users@fugue.com>; Tue, 1 Oct 1996 09:27:24 -0700 (PDT)
Received: by alpha.cyberplex.com; (5.65/1.1.8.2/07Feb96-0624PM) id AA03817;
          Tue, 1 Oct 1996 12:27:06 -0400
From: Craig Rodrigues <craig@cyberplex.com>
Message-Id: <9610011627.AA03817@alpha.cyberplex.com>
Subject: Trouble installing DBI-Informix
To: dbi-users@fugue.com
Date: Tue, 1 Oct 1996 12:27:05 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

Here is my situation:

Informix-SE 7.1
Informix-ESQL/C 7.1
perl5.003
DBI 0.72
DBD-Informix 0.24

I can build DBD-Informix 0.24, but when I try the tests, I get errors such as:

27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: _OtsMove
27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: ASF_SigSwitch
27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: getCurUser
27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: ifxOS_mutexDestroy
27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: meFree
27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: ifxOS_mutexUnLock
27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: ifxOS_mutexLock
27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: ifxOS_mutexInit
27703:/usr/local/bin/perl: /sbin/loader: Error: unresolvable symbol in ./blib/arch/auto/DBD/Informix/Informix.so: meAlloc


Any ideas?

I can provide more details later.
-- 
Craig Rodrigues                     CyberPlex Interactive Media
Application Programmer              24 Duncan St., Suite 300
                                    Toronto ON  M5V 2B8   CANADA
craig@cyberplex.com                 (416) 597-8889(voice) (416)597-2345(fax)
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19670-9@oink>;
          Wed, 2 Oct 1996 12:34:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844201315:22380:47; Tue, 01 Oct 96 21:21:55 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22316; 1 Oct 96 21:21 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA17058 for dbi-dev-real; Tue, 1 Oct 1996 11:12:01 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from interlock.mckesson.com (interlock.mckesson.com [199.221.43.2]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id LAA17054 
          for <dbi-dev@fugue.com>; Tue, 1 Oct 1996 11:11:59 -0700 (PDT)
Received: from wsbip1.mckesson.com by interlock.mckesson.com with SMTP 
          id AA12508 (InterLock SMTP Gateway 3.0 for <dbi-dev@fugue.com>);
          Tue, 1 Oct 1996 11:11:29 -0700
Received: from wsbip1 by wsbip1.mckesson.com (SMI-8.6/SMI-SVR4) id LAA03909;
          Tue, 1 Oct 1996 11:11:58 -0700
Message-Id: <199610011811.LAA03909@wsbip1.mckesson.com>
To: dbi-dev@fugue.com
Cc: Tim.Bunce@ig.co.uk
Subject: attrib option to bind_param method doesn't work (with patch)
Reply-To: stephen.zander@interlock.mckesson.com
Organisation: speaking through but not for McKesson Corp.
Date: Tue, 01 Oct 1996 11:11:57 -0700
From: Stephen Zander <srz@mckesson.com>


The $cts->bind_param method mentioned in the 0.39 Oraperl documentation
doesn't actually work.

Attached is a patch which fixes a small logic error and provides the
additional support needed to actually use string (type 5) parameters (a
small problem with variations in paramete length)

This has been tested on
	AIX 4.1.4 with Oracle 7.2.3
	Solaris 2.5 with Oracle 7.3.2

Please reply directly as the list server has my old email address 


Stephen
---
"Normallacy is a statistical illusion". -- me

*** dbdimp.c.orig       Tue Oct  1 10:54:35 1996
--- dbdimp.c    Tue Oct  1 10:52:38 1996
***************
*** 459,465 ****
        /* Setup / Clear attributes as defined by attribs.              */
        /* If attribs is EMPTY then reset attribs to default.           */
        ;       /* XXX */
!       if ( (svp=hv_fetch((HV*)SvRV(attribs), "ora_type",8, 0)) == NULL) {
            if (!dbtype_is_string(SvIV(*svp)))  /* mean but safe        */
                croak("bind_param %s ora_type %d not a simple string type",
                        name, (int)SvIV(*svp));
--- 459,465 ----
        /* Setup / Clear attributes as defined by attribs.              */
        /* If attribs is EMPTY then reset attribs to default.           */
        ;       /* XXX */
!       if ( (svp=hv_fetch((HV*)SvRV(attribs), "ora_type",8, 0)) != NULL) {
            if (!dbtype_is_string(SvIV(*svp)))  /* mean but safe        */
                croak("bind_param %s ora_type %d not a simple string type",
                        name, (int)SvIV(*svp));
***************
*** 481,486 ****
--- 481,496 ----
        value_ptr = SvPV(phs->sv, value_len);
        phs->indp = 0;
  
+       /* Without some additional manipluation, attributes don't work. */
+       /* String variables (type 5) need to appear one longer than     */
+       /* really are, or Oracle doesn't manipulate them correctly.     */
+       /* Other datatypes may suffer a similar fate.                   */
+       switch (phs->ftype) {
+           case SQLT_STR:
+               ++value_len;
+               break;
+       }
+ 
        /* Since we don't support LONG VAR types we must check  */
        /* for lengths too big to pass to obndrv as an sword.   */
        if (value_len > SWORDMAXVAL)    /* generally INT_MAX    */
***************
*** 492,497 ****
--- 502,511 ----
        phs->indp = -1;
      }
  
+     if (dbis->debug >= 2)
+       fprintf(DBILOGFP, "bind %s <== '%s' (size: %d type: %d)\n",
+               name, value_ptr, value_len, phs->ftype);
+ 
      /* this will change to odndra sometime    */
      if (obndrv(imp_sth->cda, (text*)name, -1,
            (ub1*)value_ptr, (sword)value_len,
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19670-24@oink>;
          Wed, 2 Oct 1996 12:35:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844207329:25733:15; Tue, 01 Oct 96 23:02:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25153; 1 Oct 96 23:00 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA17207 for dbi-users-real; Tue, 1 Oct 1996 11:34:44 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeeper.hcc.com (GATEKEEPER.HCC.COM [148.163.104.2]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id LAA17203 
          for <dbi-users@fugue.com>; Tue, 1 Oct 1996 11:34:42 -0700 (PDT)
Received: by gatekeeper.hcc.com (5.65/jj-092193); id AA02489;
          Tue, 1 Oct 1996 14:34:39 -0400
Received: by mailgate.bridgewater.ne.hcc.com (5.65/mdf-110895<...pronounced 'Herkst Sel-a-neez'>) 
          id AA24141; Tue, 1 Oct 1996 14:34:32 -0400
Received: (from patrick@localhost) 
          by amadeus.bridgewater.ne.hcc.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) 
          id LAA02894 for dbi-users@fugue.com; Tue, 1 Oct 1996 11:50:09 -0700
From: Patrick McKeown <patrick@amadeus.bridgewater.ne.hcc.com>
Message-Id: <9610011150.ZM2892@amadeus.bridgewater.ne.hcc.com>
Date: Tue, 1 Oct 1996 11:50:08 -0700
X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail)
To: dbi-users@fugue.com
Subject: DBI
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Tim,

	Hello, I am currently running an SGI with Netscape Web Server. I am
going to have various Oracle Databases running, the first one being on NT. What
do you recommend being the procedure to right scripts (in Perl), to interact
with the database. Or trigger sqls, that then display info on the web? I want
to have sqls to web interaction but do not know how. Any help would be
appreciated.

Thanks in advance

-- 


Patrick-James McKeown
Internet Technology Consultant
Hoechst Marion Roussel
patrick@amadeus.bridgewater.ne.hcc.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19670-53@oink>;
          Wed, 2 Oct 1996 12:37:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844240781:05149:46; Wed, 02 Oct 96 08:19:41 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa04907; 2 Oct 96 8:18 BST
Received: from toccata.fugue.com ([(null)]) by relay-1.mail.demon.net 
          id aa04658; 2 Oct 96 7:44 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id SAA18611 for dbi-users-real; Tue, 1 Oct 1996 18:04:11 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bbnplanet.com (poblano.near.net [198.114.157.116]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id SAA18607 
          for <dbi-users@fugue.com>; Tue, 1 Oct 1996 18:04:10 -0700 (PDT)
Received: from pasilla.bbnplanet.com by poblano.bbnplanet.com id aa17784;
          1 Oct 96 21:03 EDT
Received: by pasilla.bbnplanet.com (SMI-8.6/SMI-4.1) id VAA10441;
          Tue, 1 Oct 1996 21:03:31 -0400
Message-Id: <199610020103.VAA10441@pasilla.bbnplanet.com>
Subject: Using DBD::Informix w/Informix 4.1
To: dbi-users@fugue.com
Date: Tue, 1 Oct 1996 21:03:31 -0400 (EDT)
From: Josh Purinton <jpurinto@bbnplanet.com>
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

I notice that DBD::Informix requires one's Informix to be version 5.0
or higher.  Has anyone made the modifications necessary to get it to
work with Informix 4.1? If so, could you give me some pointers in the
right direction?

Thanks for any help you can provide.

--Josh
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26433-31@oink>;
          Thu, 3 Oct 1996 07:45:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844293291:26755:45; Wed, 02 Oct 96 22:54:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26527; 2 Oct 96 22:53 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id LAA20373 for dbi-users-real; Wed, 2 Oct 1996 11:26:26 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bdm.com (firewall-user@bdmgate.bdm.com [208.200.186.10]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id LAA20369 
          for <dbi-users@fugue.com>; Wed, 2 Oct 1996 11:26:21 -0700 (PDT)
Received: by bdm.com; id OAA05446; Wed, 2 Oct 1996 14:26:14 -0400
Received: from lan.mcl.bdm.com(158.114.17.254) by bdmgate.bdm.com 
          via smap (3.2) id xma005434; Wed, 2 Oct 96 14:26:01 -0400
Received: from BDM-Message_Server by lan.mcl.bdm.com with Novell_GroupWise;
          Wed, 02 Oct 1996 14:28:54 -0500
Message-Id: <s2527c26.052@lan.mcl.bdm.com>
X-Mailer: Novell GroupWise 4.1
Date: Wed, 02 Oct 1996 14:28:13 -0500
From: Tom O'Rourke <TOrourke@bdm.com>
To: dbi-users@fugue.com
Cc: Tim.Bruce@ig.co.uk
Subject: Oraperl question

Any advice on how to execute a stored procedure from an Oraperl
program and receive output parameters ?

Any advice would be greatly appreciated.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01034-2@oink>;
          Thu, 3 Oct 1996 18:01:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844359917:25022:4; Thu, 03 Oct 96 17:25:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24536; 3 Oct 96 17:24 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id GAA23249 for dbi-users-real; Thu, 3 Oct 1996 06:14:11 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from unimur.um.es (unimur.um.es [155.54.1.1]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id GAA23245 
          for <dbi-users@fugue.com>; Thu, 3 Oct 1996 06:13:51 -0700 (PDT)
Received: from fcu.um.es (gaia.fcu.um.es) by unimur.um.es (4.1/SMI-4.1) 
          id AA00564; Thu, 3 Oct 96 15:16:40 +0200
Received: from becario.dif.um.es by fcu.um.es (5.x/SMI-SVR4) id AA24216;
          Thu, 3 Oct 1996 15:16:46 +0100
Date: Thu, 3 Oct 1996 15:16:46 +0100
Message-Id: <1.5.4.16.19961003151335.22d78106@gaia.fcu.um.es>
X-Sender: juanbot@gaia.fcu.um.es
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com, heredia@ooap3.dif.um.es, heredia@ooap3.dif.um.es
From: "J.A. Botia Blaya" <juanbot@gaia.fcu.um.es>
Subject: Second Call:Problems with the DATE field in DBI and DBD::Oracle

Hello. Im using DBD::Oracle with Oracle7 and DBI 0.71 and my problem is that
all works fine with selects but my problem is with the modify sentences and
with the DATE field. When I do:

$modify="insert into EMPRESA (NOMBRE,URL_EMPRESA,URL_PRODUCTOS,PROD_INSTALADOS,
FECHA_COMIENZO,MONTANTE,OBSERVACIONES) values ('Empresa1','http://','http://',0,
'10-10-10',0,'ninguna')";

$rc=$handlebd->do($modify);

I get the next error:

ORA-01847: month's day must be between 1 and the last month's day (DBD:
oexec error)

However if i do the same modify from sqlplus:

SQL>insert into EMPRESA (NOMBRE,URL_EMPRESA,URL_PRODUCTOS,PROD_INSTALADOS,
FECHA_COMIENZO,MONTANTE,OBSERVACIONES) values ('pepe','pepe','pepe',0,
'10-10-10',0,'ninguna')

I get one row added.

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

Any Idea?

Thanks on Advance.
------------------------------------------------
Juan Botia Blaya.
e-mail:juanbot@fcu.um.es
telf:307100-x2035
Becario de Redes
Universidad de Murcia
-------------------------------------------------


------------------------------------------------
Juan Botia Blaya.
e-mail:juanbot@fcu.um.es
telf:307100-x2035
Becario de Redes
Universidad de Murcia
-------------------------------------------------

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01034-7@oink>;
          Thu, 3 Oct 1996 18:01:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844361912:06710:44; Thu, 03 Oct 96 17:58:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06083; 3 Oct 96 17:56 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id IAA23462 for dbi-dev-real; Thu, 3 Oct 1996 08:17:46 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.cmgi.com (root@ns.cmgi.com [204.71.28.8]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id IAA23458 
          for <dbi-dev@fugue.com>; Thu, 3 Oct 1996 08:17:45 -0700 (PDT)
Received: from oz (oz.cmgi.com [204.71.29.100]) by ns.cmgi.com (8.6.12/8.6.9) 
          with ESMTP id LAA06460 for <dbi-dev@fugue.com>;
          Thu, 3 Oct 1996 11:14:47 -0400
Received: (from pgiza@localhost) by oz (SMI-8.6/8.6.9) id LAA22473;
          Thu, 3 Oct 1996 11:22:00 -0400
Date: Thu, 3 Oct 1996 11:22:00 -0400
Message-Id: <199610031522.LAA22473@oz>
From: Peter Giza <pgiza@cmgi.com>
To: dbi-dev@fugue.com
Subject: AM I missing something?
Reply-To: pgiza@cmgi.com

Hi,

  I've been reading the contents of the DBI spec which apparently
hasn't been updated since 1994/06/13!  I tried to use the &db`titles
method, and voila! it's not there.  Could you please either point
me to another more up-to-date document that covers what really is
in DBI.pm .  Thanks ever so much.  BTW, the website doc are out of
date as well.

-pete

Peter E. Giza
Technical Consultant
AdSmart Co.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03211-18@oink>;
          Fri, 4 Oct 1996 07:37:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844377014:04066:12; Thu, 03 Oct 96 22:10:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03679; 3 Oct 96 22:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.Beta.4/8.6.11) 
          id KAA24289 for dbi-users-real; Thu, 3 Oct 1996 10:55:54 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netcom9.netcom.com (richp@netcom9.netcom.com [192.100.81.119]) 
          by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id KAA24285 
          for <dbi-users@fugue.com>; Thu, 3 Oct 1996 10:55:53 -0700 (PDT)
Received: (from richp@localhost) by netcom9.netcom.com (8.6.13/Netcom) 
          id KAA24243; Thu, 3 Oct 1996 10:55:51 -0700
Date: Thu, 3 Oct 1996 10:55:51 -0700
From: richp@netcom.com (Richard Puckett II)
Message-Id: <199610031755.KAA24243@netcom9.netcom.com>
To: dbi-users@fugue.com

Hello,
 
  I am trying to get DBD 0.39 (Oracle) working and am having a small
problem.  It's probably something trivial but I'm not familiar enough
with everything to track it down right now.  Any help would be greatly
appreciated.  Thanks!
 
- Richard.
 
 ----------------------------
 ----- MISC INFORMATION -----
 ----------------------------
 
=====
make test TEST_VERBOSE=1:
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/su
n4-solaris/5.003 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verb
ose); $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: relocat
ion error: symbol not found: osndfn: referenced in ./blib/arch/auto/DBD/Oracle/O
racle.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)
=====
Solaris 2.5
Perl version: 5.003
Oracle version: 7.2.2.3.0
=====
Perl -V:
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.5, archname=sun4-solaris
    uname='sunos arcadia 5.5 generic sun4m sparc sunw,sparcstation-4 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.6.0
    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='gcc', ldflags =' -L/opt/gnu/lib'
    libpth=/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/opt/gnu/lib'
 
@INC: /usr/local/lib/perl5/sun4-solaris/5.003 /usr/local/lib/perl5 /usr/local/li
b/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .
 
=====
perl Makefile.PL -s osndfn (interesting lines):
  searching lib/libsqlnet.a ...
[34]    |         0|       0|NOTY |GLOB |0    |UNDEF  |osndfn
nm: lib/*.so: No such file or directory
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-65@oink>;
          Mon, 7 Oct 1996 07:43:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844472554:15244:12; Sat, 05 Oct 96 00:42:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15051; 5 Oct 96 0:41 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA28053 for dbi-users-real; Fri, 4 Oct 1996 13:52:14 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw.gnac.com (gw.gnac.com [130.93.130.1]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id NAA28049 
          for <dbi-users@fugue.com>; Fri, 4 Oct 1996 13:52:13 -0700 (PDT)
Received: (from hogan@localhost) by gw.gnac.com (8.7.5/8.7.3/GNAC-1.1) 
          id NAA01037 for dbi-users@fugue.com;
          Fri, 4 Oct 1996 13:52:11 -0700 (PDT)
Date: Fri, 4 Oct 1996 13:52:11 -0700 (PDT)
From: Emmett Hogan <hogan@GNAC.com>
Message-Id: <199610042052.NAA01037@gw.gnac.com>
Organization: Global Networking and Computing, Inc.
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
To: dbi-users@fugue.com
Subject: DBD:Oracle Login Delays..No More !

Well, the 2 minute delays I was seeing when logging into the database.

I am not sure why, but I had to compile PERL5 with -DDEBUGGING, once
I did that, everything runs great.

Does anyone know why this might make a difference?

-Emmett


-- 

Emmett Hogan
Global Networking and Computing
Inet: Hogan@gnac.com
ICBM: 37d 33' 47" N, 122d 19' 28" W
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-71@oink>;
          Mon, 7 Oct 1996 07:43:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844473627:19210:23; Sat, 05 Oct 96 01:00:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19060; 5 Oct 96 0:59 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id PAA28396 for dbi-users-real; Fri, 4 Oct 1996 15:16:59 -0700 (PDT)
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.8.0/8.6.11) with SMTP id PAA28392 
          for <dbi-users@fugue.com>; Fri, 4 Oct 1996 15:16:47 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id al04308;
          4 Oct 96 16:38 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ai06088; 4 Oct 96 13:52 BST
Received: from toad by oink with SMTP (PP) id <05937-0@oink>;
          Fri, 4 Oct 1996 12:52:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02050;
          Fri, 4 Oct 1996 12:52:30 +0000
Date: Fri, 4 Oct 1996 12:52:30 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610041152.AA02050@toad.ig.co.uk>
To: dbi-users@fugue.com, richp@netcom.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: richp@netcom.com (Richard Puckett II)
>  
>   I am trying to get DBD 0.39 (Oracle) working and am having a small
> problem.  It's probably something trivial but I'm not familiar enough
> with everything to track it down right now.  Any help would be greatly
> appreciated.  Thanks!

Help us to help you: read the README and do just as it says (don't edit
down the output, all the information may be needed, esp. the build log).

Tim.

p.s. Use a good subject line.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-84@oink>;
          Mon, 7 Oct 1996 07:45:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844478186:04244:4; Sat, 05 Oct 96 02:16:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04038; 5 Oct 96 2:15 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id RAA29097 for dbi-dev-real; Fri, 4 Oct 1996 17:01:29 -0700 (PDT)
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.8.0/8.6.11) with SMTP id RAA29093 
          for <dbi-dev@fugue.com>; Fri, 4 Oct 1996 17:01:23 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id am04308;
          4 Oct 96 16:38 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ak06088; 4 Oct 96 13:52 BST
Received: from toad by oink with SMTP (PP) id <05986-0@oink>;
          Fri, 4 Oct 1996 12:55:45 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02085;
          Fri, 4 Oct 1996 12:55:38 +0000
Date: Fri, 4 Oct 1996 12:55:38 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610041155.AA02085@toad.ig.co.uk>
To: dbi-dev@fugue.com, pgiza@cmgi.com
Subject: Re: AM I missing something?
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Peter Giza <pgiza@cmgi.com>
> 
>   I've been reading the contents of the DBI spec which apparently
> hasn't been updated since 1994/06/13!  I tried to use the &db`titles
> method, and voila! it's not there.  Could you please either point
> me to another more up-to-date document that covers what really is
> in DBI.pm .

The notes at the end of DBI.pm are it, for now.

Would anyone like to volunteer to edit the spec to bring it into line
with the _current_ situation?

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-96@oink>;
          Mon, 7 Oct 1996 07:46:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844485974:24314:5; Sat, 05 Oct 96 04:26:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24217; 5 Oct 96 4:25 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id SAA29382 for dbi-users-real; Fri, 4 Oct 1996 18:03:31 -0700 (PDT)
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.8.0/8.6.11) with SMTP id SAA29376 
          for <dbi-users@fugue.com>; Fri, 4 Oct 1996 18:03:27 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ag01826;
          3 Oct 96 16:27 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa08636; 3 Oct 96 16:35 BST
Received: from toad by oink with SMTP (PP) id <29262-0@oink>;
          Thu, 3 Oct 1996 11:03:51 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00935;
          Thu, 3 Oct 1996 11:03:41 +0000
Date: Thu, 3 Oct 1996 11:03:41 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610031003.AA00935@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: oraperl question
Cc: jrs@hnv.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From jrs@hnv.com  Thu Oct  3 07:39:35 1996
Date: Wed, 02 Oct 1996 13:41:48 -0500
From: jeffrey seul <jrs@hnv.com>
Organization: hnv.com
Mime-Version: 1.0
To: Tim.Bunce@ig.co.uk
Cc: jrs@hnv.com
Subject: oraperl question
X-Url: http://www.rosat.mpe-garching.mpg.de/mailing-lists/PerlDB-Interest/9609/msg00005.html
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello Tim,

I'm sorry to bother you at your "real" email address
as opposed to using the dbi-users mailing list, but
I have two reasonably simple questions:

1.  Is there a version of oraperl that is compatible
with perl v5.0 (for solaris 2.4)?

(and if so, could you tell me perhaps where I may find/
 procure binaries)

2.  If oraperl is available for Solaris 2.4, do you
know of any problems/caviats installing on 
an SS20 running Solaris 2.4 and Oracle 7.2.2.3?

any help is greatly appreciated...


Jeffrey Seul
jrs@hnv.com

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

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-98@oink>;
          Mon, 7 Oct 1996 07:46:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844486576:25793:6; Sat, 05 Oct 96 04:36:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25719; 5 Oct 96 4:35 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA29537 for dbi-users-real; Fri, 4 Oct 1996 19:01:27 -0700 (PDT)
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.8.0/8.6.11) with SMTP id TAA29533 
          for <dbi-users@fugue.com>; Fri, 4 Oct 1996 19:01:24 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id cp01700;
          4 Oct 96 16:37 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad06088; 4 Oct 96 13:51 BST
Received: from toad by oink with SMTP (PP) id <03879-0@oink>;
          Fri, 4 Oct 1996 10:45:26 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01592;
          Fri, 4 Oct 1996 10:45:19 +0000
Date: Fri, 4 Oct 1996 10:45:19 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610040945.AA01592@toad.ig.co.uk>
To: dbi-users@fugue.com, TOrourke@bdm.com
Subject: Re: Oraperl question
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Tom O'Rourke <TOrourke@bdm.com>
> Cc: Tim.Bruce@ig.co.uk
          ^^^^^
Close. :-)

> 
> Any advice on how to execute a stored procedure from an Oraperl
> program and receive output parameters ?

You can't directly, yet.

It's looking likely that my real-work will require me to (finally)
resolve this in the next month or so.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-100@oink>;
          Mon, 7 Oct 1996 07:46:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844487623:28086:3; Sat, 05 Oct 96 04:53:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28020; 5 Oct 96 4:52 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA29583 for dbi-users-real; Fri, 4 Oct 1996 19:20:00 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bdm.com (firewall-user@bdmgate.bdm.com [208.200.186.10]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id TAA29576 
          for <dbi-users@fugue.com>; Fri, 4 Oct 1996 19:19:58 -0700 (PDT)
Received: by bdm.com; id WAA19822; Fri, 4 Oct 1996 22:12:00 -0400
Received: from lan.mcl.bdm.com(158.114.17.254) by bdmgate.bdm.com 
          via smap (3.2) id xma019805; Fri, 4 Oct 96 22:11:47 -0400
Received: from BDM-Message_Server by lan.mcl.bdm.com with Novell_GroupWise;
          Fri, 04 Oct 1996 22:14:53 -0500
Message-Id: <s2558c5d.092@lan.mcl.bdm.com>
X-Mailer: Novell GroupWise 4.1
Date: Fri, 04 Oct 1996 22:14:30 -0500
From: Tom O'Rourke <TOrourke@bdm.com>
To: dbi-users@fugue.com, Tim.Bunce@ig.co.uk
Subject: Re: Oraperl question -Reply

** High Priority **

Any workarounds that you know of ?  We have developed a great deal
of logic in stored procedures with the understanding that we could
execute the procedures from Perl program.  This assumption was
based upon my experience with Sybperl (where we could execute
stored procedures from Perl).  

Any advice would be greatly appreciated.  We are in a real bind here !!!

P.S. I'm not sure whether or not the people who set up Perl and Sybperl
did anything special to allow us to execute the Sybase procedures from
Perl.  They may have.



>>> Tim Bunce <Tim.Bunce@ig.co.uk> 10/04/96 05:45am >>>

> From: Tom O'Rourke <TOrourke@bdm.com>
> Cc: Tim.Bruce@ig.co.uk
          ^^^^^
Close. :-)

> 
> Any advice on how to execute a stored procedure from an Oraperl
> program and receive output parameters ?

You can't directly, yet.

It's looking likely that my real-work will require me to (finally)
resolve this in the next month or so.

Tim.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-111@oink>;
          Mon, 7 Oct 1996 07:47:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844494846:13281:6; Sat, 05 Oct 96 06:54:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13191; 5 Oct 96 6:53 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id VAA29856 for dbi-users-real; Fri, 4 Oct 1996 21:01:28 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cloud9.net (z18P/rqTLxZW9f74KJqm9g5yhBjMtkzw@cloud9.net [168.100.1.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id VAA29852 
          for <dbi-users@fugue.com>; Fri, 4 Oct 1996 21:01:26 -0700 (PDT)
Received: from joe.pfizer.com (catech.dialup.cloud9.net [168.100.200.71]) 
          by cloud9.net (8.7.6/cloud9-1.0) with SMTP id AAA23036;
          Sat, 5 Oct 1996 00:00:57 -0400 (EDT)
Message-ID: <3255DD80.6190@cloud9.net>
Date: Sat, 05 Oct 1996 00:01:05 -0400
From: Carl Tichler <catech@cloud9.net>
Reply-To: catech@cloud9.net
Organization: CAT Technology, Inc.
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Tom O'Rourke <TOrourke@bdm.com>
CC: dbi-users@fugue.com
Subject: Re: Oraperl question -Reply
References: <s2558c5d.092@lan.mcl.bdm.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tom O'Rourke wrote:
> 
> ** High Priority **
> 
> Any workarounds that you know of ?  We have developed a great deal
> of logic in stored procedures with the understanding that we could
> execute the procedures from Perl program.  This assumption was
> based upon my experience with Sybperl (where we could execute
> stored procedures from Perl).

The workaround I use is to insert the results of the stored
procedure into a specific table (with some key I generate in
the Perl script), then look up the result in a subsequent select,
and delete the row after I am done with it.  For example:

If you want the results a_str,b_int from this:

a_str := sproc(b_int,c);

then I do the following PL/SQL block in oraperl:

declare a_str varchar2(100);
b_int integer;
begin
a_str := sproc(b_int,c);
insert into result_table values(this_key,c) (key_int,result_val);
commit;
end;

and then read the result from the "result_table" with
a select statement.  I generate a unique integer key
within the perl script and substitute this number for
the "this_key" in the above PL/SQL, then just execute it
with ora_do().  It is cumbersome, but it allows the oraperl
script to get aways with using only straight selects.
I needed to do this anyway, due to problems getting result 
values back using Powerbuilder from Oracle stored procedures.
We had to use both Powerbuilder and oraperl to call the
same stored procedures.  The Powerbuilder problems were partially
resolved (i.e. we got result values back only for certain data 
types, and oracle errors were not always propogated back to
Powerbuilder properly).  And don't forget that Oracle (before 
version 7.2) could not return result sets from stored procedures.
A rude awakening for a satisfied sybperl user.  But I will happily
beta test any stored procedure related fixes to oraperl!

Carl Tichler

> 
> Any advice would be greatly appreciated.  We are in a real bind here !!!
> 
> P.S. I'm not sure whether or not the people who set up Perl and Sybperl
> did anything special to allow us to execute the Sybase procedures from
> Perl.  They may have.
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-145@oink>;
          Mon, 7 Oct 1996 07:52:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844610826:04179:27; Sun, 06 Oct 96 15:07:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03750; 6 Oct 96 15:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id EAA14852 for dbi-users-real; Sun, 6 Oct 1996 04:54:23 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from merc.iternet.it (merc@slip16.infomark.it [194.184.44.46]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA14848 
          for <dbi-users@fugue.com>; Sun, 6 Oct 1996 04:54:07 -0700 (PDT)
Received: (from merc@localhost) by merc.iternet.it (8.6.12/8.6.12) id MAA00995;
          Sun, 6 Oct 1996 12:59:32 +0200
Date: Sun, 6 Oct 1996 12:59:32 +0200 (MET DST)
From: Tony Merc Mobily <merc@infomedia.it>
To: dbi-users@fugue.com
cc: descarte@hermetica.com
Subject: Problem with DBD (msql)
Message-ID: <Pine.LNX.3.91.961006125235.970A-100000@merc.iternet.it>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello all!

I was just trying to install DBD-mSQL-0.60pl10.
I installed ../DBI-0.72, and everything was right.

I installed Perl 5.003, from redhat.

My problem was this:
------------------------------------------------------------------------
[root@merc 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.
[root@merc DBD-mSQL-0.60pl10]#
-------------------------------------------------------------------------

My configuration is this:

-------------------------------------------------------------------------
[root@merc DBD-mSQL-0.60pl10]# perl -e 'use Config; print Config::myconfig()'
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=linux, osver=2.0.0, archname=i586-linux
    uname='linux porky.redhat.com 2.0.0 #13 fri jun 28 14:12:50 edt 1996 
i586 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O2', gccversion=2.7.2
    cppflags='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    ccflags ='-Dbool=char -DHAS_BOOL -I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=4, usemymalloc=n, randbits=31
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lndbm -lgdbm -ldb -ldl -lm -lc
    libc=/lib/libc.so.5.2.18, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

[root@merc DBD-mSQL-0.60pl10]#
---------------------------------------------------------------------------

...and (obvious) if had this result from "make":

---------------------------------------------------------------------------
[root@merc DBD-mSQL-0.60pl10]# make
make: *** No targets specified and no makefile found.  Stop.
[root@merc DBD-mSQL-0.60pl10]# make test
make: *** No rule to make target `test'.  Stop.
[root@merc DBD-mSQL-0.60pl10]#
---------------------------------------------------------------------------

What is the problem???
Could you help me?
I am writing a program to sell things by Web Pages.
I used, before today, text files (bleaaahh) and now i have to rewrite 
everything to work with an Sql Database.

I'm sorry if i bored you with my logs, :-)
thanks a lot!

Bye,

Merc.

I am still studing my signature :-)

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16092-154@oink>;
          Mon, 7 Oct 1996 07:53:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844619593:06648:2; Sun, 06 Oct 96 17:33:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06450; 6 Oct 96 17:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA00719 for dbi-users-real; Sun, 6 Oct 1996 07:43:07 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fedex.mpd.tandem.com ([131.124.250.27]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA00715 
          for <dbi-users@fugue.com>; Sun, 6 Oct 1996 07:43:05 -0700 (PDT)
Received: from rolex.mpd.tandem.com (rolex.mpd.tandem.com [131.124.4.1]) 
          by fedex.mpd.tandem.com (8.7.5/8.7.1) with ESMTP id JAA23767;
          Sun, 6 Oct 1996 09:41:00 -0500 (CDT)
Received: from birdland.mpd.tandem.com (birdland.mpd.tandem.com [131.124.10.10]) 
          by rolex.mpd.tandem.com (8.7.5/8.7.1) with ESMTP id JAA02941;
          Sun, 6 Oct 1996 09:41:03 -0500 (CDT)
Received: (from parker@localhost) by birdland.mpd.tandem.com (8.7.1/8.7.1) 
          id JAA15606; Sun, 6 Oct 1996 09:40:55 -0500 (CDT)
From: Michael Parker <parker@birdland.mpd.tandem.com>
Message-Id: <199610061440.JAA15606@birdland.mpd.tandem.com>
Subject: Re: Problem with DBD (msql)
To: merc@infomedia.it (Tony Merc Mobily)
Date: Sun, 6 Oct 1996 09:40:55 -0500 (CDT)
Cc: dbi-users@fugue.com
In-Reply-To: <Pine.LNX.3.91.961006125235.970A-100000@merc.iternet.it> from "Tony Merc Mobily" at Oct 6, 96 12:59:32 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

> 
> Hello all!
> 
> I was just trying to install DBD-mSQL-0.60pl10.
> I installed ../DBI-0.72, and everything was right.
> 
> I installed Perl 5.003, from redhat.
> 
> My problem was this:
> ------------------------------------------------------------------------
> [root@merc 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.
> [root@merc DBD-mSQL-0.60pl10]#
[snip snip]
> 
> What is the problem???
> Could you help me?
> I am writing a program to sell things by Web Pages.
> I used, before today, text files (bleaaahh) and now i have to rewrite 
> everything to work with an Sql Database.
> 
> I'm sorry if i bored you with my logs, :-)
> thanks a lot!


I got the same thing.  I simply edited line 12 of Makefile.PL and
removed the %att variable from the call.  Then ran perl Makefile.PL
and Everything worked correctly and I haven't had any problems thus far.  

Michael Parker
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20778-11@oink>;
          Mon, 7 Oct 1996 13:35:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844687292:03427:24; Mon, 07 Oct 96 12:21:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03352; 7 Oct 96 12:21 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id AAA00676 for dbi-users-real; Mon, 7 Oct 1996 00:59:59 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id AAA00672 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 00:59:51 -0700 (PDT)
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 JAA09807 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 09:01:58 +0100 (BST)
Received: from redwood by lion.amtrak.co.uk (5.x/SMI-SVR4) id AA16839;
          Mon, 7 Oct 1996 09:01:23 +0100
Message-Id: <3258BAA9.1C0D@amtrak.co.uk>
Date: Mon, 07 Oct 1996 09:09:13 +0100
From: Simon Windsor <simon.windsor@amtrak.co.uk>
Organization: Amtrak Express Parcels
X-Mailer: Mozilla 3.0 (WinNT; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Re: Oraperl question -Reply
References: <s2558c5d.092@lan.mcl.bdm.com> <3255DD80.6190@cloud9.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tom O'Rourke wrote:
>
> ** High Priority **
>
> Any workarounds that you know of ?  We have developed a great deal
> of logic in stored procedures with the understanding that we could
> execute the procedures from Perl program.  This assumption was
> based upon my experience with Sybperl (where we could execute
> stored procedures from Perl).


Whilst it is not currently possible to use the following syntax

    $A = &OraFunc($B, $C);

a simple perl function can be set up to execute the following SQL
statement

sub OraQry {
    local($OraLU) = $dbh->prepare(@_) {|| &OraErr(@_)}; ## Optional
Error Handler enclosed with {}
     $OraLU->execute;
    local($Answer) = $OraLU->fetchrow;
    $OraLU->finish;
    return $Answer;
}

$A = &OraQry("Select OraFunc($B, $C) from dual");

The approach will work with Oracle, and possible other RDBMSs. Please
note that 'dual' is a system view
and can be replace by any table that the Oracle User has access to.

Simon...

-- 
+------------------+---------------+-----------------------------------+
! Simon Windsor    !               ! Email: simon.windsor@amtrak.co.uk !
!                  ! Company House !                                   !
! Software Analyst ! Tower Hill    ! Tel:   44 (0)117 927 2002 xt 448  !
!   Developer      ! Bristol       ! Fax:   44 (0)117 925 0013         !
!                  ! England       !                                   !
! Amtrak Express   ! BS2 0AZ       !                                   !
!     Parcels      !               !                                   !
!                  !               !                                   !
+------------------+---------------+-----------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24285-21@oink>;
          Mon, 7 Oct 1996 21:29:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844718909:18903:21; Mon, 07 Oct 96 21:08:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16080; 7 Oct 96 21:05 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA01056 for dbi-users-real; Mon, 7 Oct 1996 07:53:50 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bman.uucom.com (root@bman.uucom.com [198.202.217.19]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA01052 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 07:53:46 -0700 (PDT)
Received: from delusion.uucom.com (delusion.uucom.com [198.202.217.27]) 
          by bman.uucom.com (8.7.6/960513.07ccg) with SMTP id KAA04798;
          Mon, 7 Oct 1996 10:53:42 -0400 (EDT)
Message-ID: <3259199A.B4E80EE@uucom.com>
Date: Mon, 07 Oct 1996 10:54:18 -0400
From: "Greg A. Lato" <glato@uucom.com>
Organization: UUcom, Inc.
X-Mailer: Mozilla 3.0Gold (X11; I; Linux 2.0.11 i586)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Stored Procedures in DBD::Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am wondering if there is any deadline or expected date at which time
stored procedures would be supported in the DBD::Oracle package?

I am currently working on a large project using the Oracle package and
stored procedures would save us a lot of time and allow us to be more
efficient.  However, if support for stored procedures is a ways off, I
will continue with the current development work around.

Thanks much for your help and time,

Greg

PS:  I am not subscribed to this list, so direct email response would
     be prefered.

-- 
Greg A. Lato				  	  glato@uucom.com
UUcom, Inc.				     http://www.uucom.com
4875 Eisenhower Avenue, Suite 250, Alexandria, VA 22304-0797, USA
       phone: 703-461-1350		fax: 703-461-1360
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25851-6@oink>;
          Tue, 8 Oct 1996 00:07:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844727973:20775:17; Mon, 07 Oct 96 23:39:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19154; 7 Oct 96 23:38 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA02128 for dbi-dev-real; Mon, 7 Oct 1996 12:17:23 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id MAA02115 
          for <dbi-dev@fugue.com>; Mon, 7 Oct 1996 12:17:09 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id aj08896;
          7 Oct 96 19:59 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa19340; 7 Oct 96 19:58 BST
Received: from toad by oink with SMTP (PP) id <23636-0@oink>;
          Mon, 7 Oct 1996 19:57:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05133;
          Mon, 7 Oct 1996 19:57:38 +0000
Date: Mon, 7 Oct 1996 19:57:38 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071857.AA05133@toad.ig.co.uk>
To: dbi-dev@fugue.com, stephen.zander@interlock.mckesson.com
Subject: Re: attrib option to bind_param method doesn't work (with patch)
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Stephen Zander <srz@mckesson.com>
> 
> The $cts->bind_param method mentioned in the 0.39 Oraperl documentation
> doesn't actually work.
> 
> Attached is a patch which fixes a small logic error and provides the
> additional support needed to actually use string (type 5) parameters (a
> small problem with variations in paramete length)

Thanks.

A good patch showing up an embarassing lack of testing (both by me
and the various people I've recommended the use of ora_type=>5 to!)

It'll be in the next release.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25851-9@oink>;
          Tue, 8 Oct 1996 00:08:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844729338:29094:30; Tue, 08 Oct 96 00:02:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28558; 8 Oct 96 0:00 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA01739 for dbi-users-real; Mon, 7 Oct 1996 11:25:30 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA01735 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 11:25:23 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ae04171;
          7 Oct 96 19:22 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af03015; 7 Oct 96 19:18 BST
Received: from toad by oink with SMTP (PP) id <23329-0@oink>;
          Mon, 7 Oct 1996 19:09:24 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05065;
          Mon, 7 Oct 1996 19:09:16 +0000
Date: Mon, 7 Oct 1996 19:09:16 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071809.AA05065@toad.ig.co.uk>
To: dbi-users@fugue.com, robin@igis.se
Subject: Re: DBD-Oracle/Oraperl Performance question
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Robin Langdon <robin@igis.se>
> 
> We are in the process of performance tuning a application written using
> DBD-Oracle via Oraperl emulation and have found some interesting results
> when it comes to selecting data.
> 
> We have a wrapper function "fetch" which fetches the result of a SQL
> query into an associative array (format: $rec{column name}[rec no]). For
> small result sets this works fine, typically taking 0.01 seconds.
> However for larger results (several thousand records) we lose time
> pushing the result from ora_fetch onto the array - about 1 second for
> approx 2500 records.
> 
> What would be nice is an "ora_fetch_all" function which returns the
> complete result set in an array of arrays. This must surely be faster
> than pushing an array several thousand times inside perl.
> 
> Is there anybody that has done something similar to this ?

You are probably suffering from perl's own hash growth memory wastage
problems. The next release of perl may include a way to pre-grow your
hashes to avoid this problem.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25851-12@oink>;
          Tue, 8 Oct 1996 00:08:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844729464:29893:1; Tue, 08 Oct 96 00:04:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29550; 8 Oct 96 0:03 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA02152 for dbi-users-real; Mon, 7 Oct 1996 12:22:24 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id MAA02140 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 12:21:59 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ag04171;
          7 Oct 96 19:23 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ag03015; 7 Oct 96 19:18 BST
Received: from toad by oink with SMTP (PP) id <23364-0@oink>;
          Mon, 7 Oct 1996 19:17:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05070;
          Mon, 7 Oct 1996 19:17:19 +0000
Date: Mon, 7 Oct 1996 19:17:19 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071817.AA05070@toad.ig.co.uk>
To: dbi-users@fugue.com, pgiza@cmgi.com
Subject: Re: Has anybody seen this error
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Peter Giza <pgiza@cmgi.com>
> 
> Ok I built it, and now I test it, and the world is bad.
> Is this the same *free* errors as references in the README?

Yes.

> The reason I ask is because of the:
> 
> Can't get DBI::dr=HASH(0xde5ac)->{DebugLog}: unrecognised attribute at /usr/local/lib/perl5/site_perl/DBI.pm line 413.
> 
> error

That's an oversight on my part. I'd implemented a STORE but not a FETCH
when I added the DebugLog attribute.

> that is in the muck below.

The muck below was a bunch of unresolved problems, mostly in the perl core,
which only show up when the perl_destruct_level global is set (which the
DBI does just for the sake of it when DBI debugging is enabled).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25878-1@oink>;
          Tue, 8 Oct 1996 00:11:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844729724:01210:29; Tue, 08 Oct 96 00:08:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01159; 8 Oct 96 0:08 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA02180 for dbi-users-real; Mon, 7 Oct 1996 12:32:27 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id MAA02176 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 12:32:22 -0700 (PDT)
Received: by gw.home.vix.com id MAA10222; Mon, 7 Oct 1996 12:30:54 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac03582;
          7 Oct 96 19:19 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac03015; 7 Oct 96 19:18 BST
Received: from toad by oink with SMTP (PP) id <23257-0@oink>;
          Mon, 7 Oct 1996 19:00:18 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05047;
          Mon, 7 Oct 1996 19:00:10 +0000
Date: Mon, 7 Oct 1996 19:00:10 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071800.AA05047@toad.ig.co.uk>
To: dbi-users@fugue.com, anne@netquest.com
Subject: Re: DBD-Oracle build problem on Solaris 2.5.1
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: anne@netquest.com (Rickert, Anne )
> 
> I've been trying to build DBD-Oracle-0.38 on Solaris x86 2.5.1 with 
> Oracle 7.3.2.
> 
> Problem #1: I don't have and can't get Pro*C.
>   I tried using oracle.mk instead.  Got the error 
> 
>   Reading /opt/oracle7/rdbms/demo/oracle.mk.
>    Unable to read /opt/oracle7/rdbms/lib/env_rdbms.dk.mk: No such file or
> directory at Makefile.PL line 321, <GEN0> chunk 20.
> 
>   I modified oracle.mk to refer to env_rdms.mk instead of env_rdbms.dk.mk 
>   and oracle.mk instead of oracle.dk.mk, since there were no  ".dk.mk" on my
> system.

Sigh. The next release will try to work around Oracle's bungling for you.

> Problem #2
> 
>   Now I am getting the following error
>      ERROR parsing /opt/oracle7/rdbms/demo/oracle.mk: Unable to determine
> what      to link with.

The DBD-Oracle-0.39 release may have fixed that for you. If not follow
the advice it now prints.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25878-5@oink>;
          Tue, 8 Oct 1996 00:12:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844729887:02095:28; Tue, 08 Oct 96 00:11:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01921; 8 Oct 96 0:10 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA02363 for dbi-users-real; Mon, 7 Oct 1996 13:20:54 -0700 (PDT)
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.8.0/8.6.11) with SMTP id NAA02357 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 13:20:48 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id bi22734;
          7 Oct 96 17:35 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa11831; 7 Oct 96 18:29 BST
Received: from toad by oink with SMTP (PP) id <23009-0@oink>;
          Mon, 7 Oct 1996 18:29:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA04996;
          Mon, 7 Oct 1996 18:29:36 +0000
Date: Mon, 7 Oct 1996 18:29:36 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071729.AA04996@toad.ig.co.uk>
To: dbi-users@fugue.com, hogan@GNAC.com
Subject: Re: DBD:Oracle Login Delays..No More !
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Emmett Hogan <hogan@GNAC.com>
> 
> Well, the 2 minute delays I was seeing when logging into the database.
> 
> I am not sure why, but I had to compile PERL5 with -DDEBUGGING, once
> I did that, everything runs great.
> 
> Does anyone know why this might make a difference?

None. Seems circumstantial to me.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25878-7@oink>;
          Tue, 8 Oct 1996 00:12:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844729628:00792:25; Tue, 08 Oct 96 00:07:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00325; 8 Oct 96 0:05 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA02492 for dbi-dev-real; Mon, 7 Oct 1996 13:53:40 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA02488;
          Mon, 7 Oct 1996 13:53:35 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ad03561;
          7 Oct 96 19:18 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab03015; 7 Oct 96 19:18 BST
Received: from toad by oink with SMTP (PP) id <23197-0@oink>;
          Mon, 7 Oct 1996 18:51:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05042;
          Mon, 7 Oct 1996 18:51:32 +0000
Date: Mon, 7 Oct 1996 18:51:32 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071751.AA05042@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: oraperl interface - fetchall
Cc: dbi-dev@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users and dbi-dev.

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

From: al@rosina.lucent.com

Hi Tim,
	I have built perl 5.003, DBI-0.72, and DBD-Oracle-0.39 on
solaris 2.x. I am in the process of evaluating possible use of this
in our project in AT&T. Our need is as follows:

we need to be able to issue a single ora_fetch() command and obtain
a reference to the entire set of data returned from the query to the
database. I have played with oraperl and in the array context 
you get a row at a time per ora_fetch(). we handle large number of
rows in our queries at times (say 100,000) and in the current
setup this would mean that many number of ora_fetch() calls.
Needless to say this impacts the performance.
If a query results in 5 columns by 10,000 rows, we need  a reference
to this array of 50,000 elements. Could you give me some pointers
as to how I could go about achieving this or if you are planning
this work when would that come out?

Your thoughts on this is much appreciated.

Logen
al@rosina.att.com
(908) 615-5025
AT&T, Middletown NJ, USA.

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

Someone with a reasonable amount of XS skill could write a small
patch to the DBI.xs code which implements a $aryref = $sth->fetchall
method. That's how I had planned to do it. It would then be available
to all drivers. Drivers wanting more speed could then implement the
same method in their own subclass.

Offers welcome. (I've time to offer DBI/DBD advice for this but not XS
advice, only those with reasonable XS skills already should apply. Sorry.)

Having said all that, it won't make oraperl much faster till it gets
a row cache. That's possibly sooner than it was but I still can't say
for sure.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25960-0@oink>;
          Tue, 8 Oct 1996 00:26:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844730755:06744:21; Tue, 08 Oct 96 00:25:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06467; 8 Oct 96 0:25 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA02435 for dbi-users-real; Mon, 7 Oct 1996 13:43:26 -0700 (PDT)
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.8.0/8.6.11) with SMTP id NAA02431 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 13:43:21 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ap16281;
          7 Oct 96 20:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab24273; 7 Oct 96 21:27 BST
Received: from toad by oink with SMTP (PP) id <24131-0@oink>;
          Mon, 7 Oct 1996 20:39:03 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05180;
          Mon, 7 Oct 1996 20:38:55 +0000
Date: Mon, 7 Oct 1996 20:38:55 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071938.AA05180@toad.ig.co.uk>
To: dbi-users@fugue.com, hogan@GNAC.com
Subject: Re: DBI:ORACLE login delays, more strangeness
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Emmett Hogan <hogan@GNAC.com>
> 
> I have done a bit more testing and I have been able to replicate the
> problem using just the DBI::ORACLE interface without ORAPERL. And I
> have been able to get rid of the problem using the same "non-ORAPERL"
> script.  I have two problems though:
> 
> 1) The "fix" makes absolutely no sense to me.
> 2) The same "fix" doesn't fix the oraperl version.
> 
> Here is the super-simple DBI::ORACLE script:
> -----------------------------------
> #!/usr/local/bin/perl5
> $ENV{TNS_ADMIN} = "/usr/local/lib";
> # $ENV{TWO_TASK}, $ENV{ORACLE_SID}
> use DBI;
> $drh = DBI->install_driver( 'Oracle' );        # Uncomment for Oracle
> $dbh = $drh->connect( 'database', 'username', 'password' );
> die "Couldn't connect: $!" unless $dbh;

> But, if I remove the comment line:
> 
> # $ENV{TWO_TASK}, $ENV{ORACLE_SID}
> 
> The script takes over 3 MINUTES to run !!!!

> During that 200 seconds it is spinning it's wheels just like my
> ORAPERL version (alternating between sigblock([BUS]) and
> sigblock([SEGV])).
> 
> Why would the existance of a comment make any difference at all in a
> script????!!!!!!!

> Any more thoughts or suggestions?

Smells like a memory corruption problem. Can't say who, what or where.
My purify's bust right now (a loan SS20 has been swapped for a loan
UltraII :-) When it's working again I'll run the DBI & DBD::Oracle
through it (I can't guarantee anything will show up but it's worth a go).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27393-0@oink>;
          Tue, 8 Oct 1996 07:36:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844730829:07184:2; Tue, 08 Oct 96 00:27:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06371; 8 Oct 96 0:26 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id OAA02625 for dbi-users-real; Mon, 7 Oct 1996 14:15:29 -0700 (PDT)
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.8.0/8.6.11) with SMTP id OAA02606 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 14:12:15 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aq16281;
          7 Oct 96 20:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac24273; 7 Oct 96 21:27 BST
Received: from toad by oink with SMTP (PP) id <24150-0@oink>;
          Mon, 7 Oct 1996 20:42:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05186;
          Mon, 7 Oct 1996 20:42:49 +0000
Date: Mon, 7 Oct 1996 20:42:49 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071942.AA05186@toad.ig.co.uk>
To: dbi-users@fugue.com, willett@gfms.bt.co.uk
Subject: Re: DBD-Oracle 0.38 on AIX 3.2.5
Cc: beggs@gfms.bt.co.uk
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Rob Willett <willett@gfms.bt.co.uk>
> 
> Hi folks. My coleague is experiencing the same problem building with DBD 0.38 
> as I have seen on earlier posts about 0.36 ie 
> 
> Unresolved or undefined symbols
> .....
> The -bloadmap:<filename> option will create a load map
> 
> I beleive this was fixed in 0.37, but has it crept back in?
> Can someone tell us what the likely cause is?

If you still have a problem with the current release please send all
the info the README asks for.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27393-2@oink>;
          Tue, 8 Oct 1996 07:36:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844730905:07501:0; Tue, 08 Oct 96 00:28:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07186; 8 Oct 96 0:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA02519 for dbi-users-real; Mon, 7 Oct 1996 13:58:48 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA02488;
          Mon, 7 Oct 1996 13:53:35 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ad03561;
          7 Oct 96 19:18 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab03015; 7 Oct 96 19:18 BST
Received: from toad by oink with SMTP (PP) id <23197-0@oink>;
          Mon, 7 Oct 1996 18:51:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05042;
          Mon, 7 Oct 1996 18:51:32 +0000
Date: Mon, 7 Oct 1996 18:51:32 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071751.AA05042@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: oraperl interface - fetchall
Cc: dbi-dev@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users and dbi-dev.

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

From: al@rosina.lucent.com

Hi Tim,
	I have built perl 5.003, DBI-0.72, and DBD-Oracle-0.39 on
solaris 2.x. I am in the process of evaluating possible use of this
in our project in AT&T. Our need is as follows:

we need to be able to issue a single ora_fetch() command and obtain
a reference to the entire set of data returned from the query to the
database. I have played with oraperl and in the array context 
you get a row at a time per ora_fetch(). we handle large number of
rows in our queries at times (say 100,000) and in the current
setup this would mean that many number of ora_fetch() calls.
Needless to say this impacts the performance.
If a query results in 5 columns by 10,000 rows, we need  a reference
to this array of 50,000 elements. Could you give me some pointers
as to how I could go about achieving this or if you are planning
this work when would that come out?

Your thoughts on this is much appreciated.

Logen
al@rosina.att.com
(908) 615-5025
AT&T, Middletown NJ, USA.

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

Someone with a reasonable amount of XS skill could write a small
patch to the DBI.xs code which implements a $aryref = $sth->fetchall
method. That's how I had planned to do it. It would then be available
to all drivers. Drivers wanting more speed could then implement the
same method in their own subclass.

Offers welcome. (I've time to offer DBI/DBD advice for this but not XS
advice, only those with reasonable XS skills already should apply. Sorry.)

Having said all that, it won't make oraperl much faster till it gets
a row cache. That's possibly sooner than it was but I still can't say
for sure.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27393-20@oink>;
          Tue, 8 Oct 1996 07:37:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844736997:02056:14; Tue, 08 Oct 96 02:09:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01965; 8 Oct 96 2:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id QAA03152 for dbi-dev-real; Mon, 7 Oct 1996 16:26:18 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id QAA03148 
          for <dbi-dev@fugue.com>; Mon, 7 Oct 1996 16:26:14 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac03561;
          7 Oct 96 19:18 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa03015; 7 Oct 96 19:18 BST
Received: from toad by oink with SMTP (PP) id <23129-0@oink>;
          Mon, 7 Oct 1996 18:44:37 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05034;
          Mon, 7 Oct 1996 18:44:30 +0000
Date: Mon, 7 Oct 1996 18:44:30 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071744.AA05034@toad.ig.co.uk>
To: dbi-dev@fugue.com, abr@bha.oz.au
Subject: Re: Supporting multiple DB versions
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Andrew Brown <abr@bha.oz.au>
> 
> I am in the process of writing a DBI interface for DBQ (a DB2 derivative
> written by my company, BHA Computer).  I have sucessfully managed to build a
> DBI interface for a single DBQ version but compatability is not guaranteed
> between versions. It is currently necessary to relink the source with the
> API libraries applicable to each version.
> 
> Does anyone have suggestions about how multiple versions can be handled
> under the covers somewhere in the DBI interface?
> 
> ie, so I can go:
> 
>         DBI->install_driver( 'DBQ' )
> 
>     and the right version is accessed.
> 
> As suggested at the DBPerl site I started from the Oracle and mSQL interfaces.

Personally I'd shoot the person who keeps making incompatible changes to
the API.

Meanwhile I'd just write DBQ1, DBQ2 etc, incrementing the number
whenever an incompatible API change is made. It's not a big deal for
the application to use an ENV var, say, to pick the driver.

Tim.

p.s. Don't use DBI->install_driver(), use $dbh = DBI->connect(..., 'DBQ1');
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27393-29@oink>;
          Tue, 8 Oct 1996 07:38:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844742507:18644:5; Tue, 08 Oct 96 03:41:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18462; 8 Oct 96 3:40 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id QAA03033 for dbi-users-real; Mon, 7 Oct 1996 16:04:16 -0700 (PDT)
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.8.0/8.6.11) with SMTP id QAA03029 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 16:04:13 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aq16281;
          7 Oct 96 20:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac24273; 7 Oct 96 21:27 BST
Received: from toad by oink with SMTP (PP) id <24150-0@oink>;
          Mon, 7 Oct 1996 20:42:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05186;
          Mon, 7 Oct 1996 20:42:49 +0000
Date: Mon, 7 Oct 1996 20:42:49 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610071942.AA05186@toad.ig.co.uk>
To: dbi-users@fugue.com, willett@gfms.bt.co.uk
Subject: Re: DBD-Oracle 0.38 on AIX 3.2.5
Cc: beggs@gfms.bt.co.uk
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Rob Willett <willett@gfms.bt.co.uk>
> 
> Hi folks. My coleague is experiencing the same problem building with DBD 0.38 
> as I have seen on earlier posts about 0.36 ie 
> 
> Unresolved or undefined symbols
> .....
> The -bloadmap:<filename> option will create a load map
> 
> I beleive this was fixed in 0.37, but has it crept back in?
> Can someone tell us what the likely cause is?

If you still have a problem with the current release please send all
the info the README asks for.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27393-36@oink>;
          Tue, 8 Oct 1996 07:39:45 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844754301:19663:7; Tue, 08 Oct 96 06:58:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19556; 8 Oct 96 6:57 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id UAA03966 for dbi-users-real; Mon, 7 Oct 1996 20:15:47 -0700 (PDT)
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.8.0/8.6.11) with SMTP id UAA03962 
          for <dbi-users@fugue.com>; Mon, 7 Oct 1996 20:15:43 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ai06849;
          7 Oct 96 23:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa22230; 8 Oct 96 0:07 BST
Received: from toad by oink with SMTP (PP) id <25831-0@oink>;
          Tue, 8 Oct 1996 00:06:28 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05511;
          Tue, 8 Oct 1996 00:06:19 +0000
Date: Tue, 8 Oct 1996 00:06:19 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610072306.AA05511@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: PL/SQL - something that works already
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


I've stolen some time to start working in PL/SQL (don't jump for joy
just yet, I don't know what I'll be able to finish in the short term).

In the course of my tinkering I've determined that the following
already work:


    $c = &ora_open($l, q{
            begin RAISE invalid_number; end; 
        }); 
    # Expect ORA-01722: invalid number 
    die "ora_open: $ora_errstr"
        unless $ora_errno == 1722;
 

    $c = &ora_open($l, q{
            DECLARE FOO EXCEPTION;
            begin raise foo; end; 
        }); 
    # Expect ORA-06510: PL/SQL: unhandled user-defined exception
    die "ora_open: $ora_errstr"  
        unless $ora_errno == 6510;
 

    $c = &ora_open($l, q{
            begin raise_application_error(-20101,'app error'); end;
        });
    # Expect our exception number and error text 
    die "ora_open: $ora_errno"  
        unless $ora_errno == 20101;         # our exception number
    die "ora_open: $ora_errstr"
        unless $ora_errstr =~ m/app error/; # our exception text
 

The raise_application_error is especially interesting since it
offers a simple way to return simple number + string value pairs
from pl/sql code.

I've no idea about efficiency. Can someone try some benchmarks
("begin end" vs "begin raise_application_error(...) end" for example)
to see if oracle exception handling is slow or usefull quick.

I'm not yet sure how the full-blown in/out parameter support will
look but it might be something like

	$sth->bind_param_inout(1, \$var1)

Let's wait and see (but don't hold your breath!)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01862-0@oink>;
          Tue, 8 Oct 1996 18:03:31 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844783629:10427:48; Tue, 08 Oct 96 15:07:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10292; 8 Oct 96 15:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id DAA04662 for dbi-users-real; Tue, 8 Oct 1996 03:42:27 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from control (control.retesa.es [194.73.128.128]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id DAA04658 
          for <dbi-users@fugue.com>; Tue, 8 Oct 1996 03:42:24 -0700 (PDT)
Received: by control (SMI-8.6/SMI-SVR4) id MAA14182;
          Tue, 8 Oct 1996 12:37:37 -0100
Received: from sun2.retesa.es(194.72.67.34) by control via smap (V1.3) 
          id sma014177; Tue Oct 8 12:37:30 1996
Received: from JAVIER.retesa.es by sun2.retesa.es (5.x/SMI-SVR4) id AA04428;
          Tue, 8 Oct 1996 11:25:51 GMT
Message-Id: <325A2D70.7426@retesa.es>
Date: Tue, 08 Oct 1996 11:31:12 +0100
From: Antonio Martmn <aamp@retesa.es>
Reply-To: aamp@retesa.es
Organization: retesa.es
X-Mailer: Mozilla 3.0 (Win95; I)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: amartin@retesa.es
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello.
I am an Spanish Analist.
I am working with library DBI.
I need more information abour DBI::Oracle.
How i get error_code?.
I Know that i can get DBI::errstr, but 
how i can get mor error detall?

		!!Gracias!! :)

PD: Sorry about my English.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04496-0@oink>;
          Wed, 9 Oct 1996 07:37:09 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844820337:22782:1; Wed, 09 Oct 96 01:18:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa22417; 9 Oct 96 1:18 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA05888 for dbi-users-real; Tue, 8 Oct 1996 12:17:24 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id MAA05882 
          for <dbi-users@fugue.com>; Tue, 8 Oct 1996 12:17:06 -0700 (PDT)
Received: by gw.home.vix.com id MAA04234; Tue, 8 Oct 1996 12:16:29 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id am02081;
          8 Oct 96 17:16 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa27120; 8 Oct 96 18:07 BST
Received: from toad by oink with SMTP (PP) id <01951-0@oink>;
          Tue, 8 Oct 1996 18:07:25 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06925;
          Tue, 8 Oct 1996 18:07:16 +0000
Date: Tue, 8 Oct 1996 18:07:16 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610081707.AA06925@toad.ig.co.uk>
To: dbi-users@fugue.com, aamp@retesa.es
Subject: Re: amartin@retesa.es
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Antonio Martmn <aamp@retesa.es>
> 
> Hello.
> I am an Spanish Analist.
> I am working with library DBI.
> I need more information abour DBI::Oracle.
> How i get error_code?.
> I Know that i can get DBI::errstr, but 
> how i can get mor error detall?
> 
> 		!!Gracias!! :)
> 
> PD: Sorry about my English.

Use the

	perldoc Oraperl

command to get more information.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04561-32@oink>;
          Wed, 9 Oct 1996 07:50:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844826121:26965:16; Wed, 09 Oct 96 02:55:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26797; 9 Oct 96 2:54 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id PAA06531 for dbi-users-real; Tue, 8 Oct 1996 15:21:03 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id PAA06522 
          for <dbi-users@fugue.com>; Tue, 8 Oct 1996 15:18:21 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ag28262;
          8 Oct 96 18:50 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa20062; 8 Oct 96 18:43 BST
Received: from toad by oink with SMTP (PP) id <02391-0@oink>;
          Tue, 8 Oct 1996 18:42:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07015;
          Tue, 8 Oct 1996 18:42:15 +0000
Date: Tue, 8 Oct 1996 18:42:15 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610081742.AA07015@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: PL/SQL news update
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Just to let you know that this code now works in my copy:

    $c = &ora_open($l, q{
            declare err_num number; err_msg char(510);
            begin
                err_num := :1;
                err_msg := :2;
                raise_application_error(-20000-err_num, 'plus '||err_msg);
            end;
        }) || die "ora_open: $ora_errstr";
    &ora_bind($c, 42, "my msg");
    # Expect our exception number and error text
    die "ora_open: $ora_errno $ora_errstr"
        unless $ora_errno == 20042;             # our exception number
    die "ora_open: $ora_errstr"
        unless $ora_errstr =~ m/plus my msg/;   # our exception text

It'll lockup in your copy unless you add these lines near the
top of dbd_describe:

    if (imp_sth->cda->ft == 34) {       /* SQL function "PL/SQL EXECUTE" */
        if (dbis->debug >= 2)
            fprintf(DBILOGFP, "    dbd_describe skipped for pl/sql\n");
        return 1;
    }

More news as it happens.

One step at a time.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04561-34@oink>;
          Wed, 9 Oct 1996 07:50:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844826323:27467:3; Wed, 09 Oct 96 02:58:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27272; 9 Oct 96 2:57 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id PAA06540 for dbi-users-real; Tue, 8 Oct 1996 15:27:50 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id PAA06536 
          for <dbi-users@fugue.com>; Tue, 8 Oct 1996 15:27:46 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ag28262;
          8 Oct 96 18:50 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa20062; 8 Oct 96 18:43 BST
Received: from toad by oink with SMTP (PP) id <02391-0@oink>;
          Tue, 8 Oct 1996 18:42:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07015;
          Tue, 8 Oct 1996 18:42:15 +0000
Date: Tue, 8 Oct 1996 18:42:15 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610081742.AA07015@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: PL/SQL news update
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Just to let you know that this code now works in my copy:

    $c = &ora_open($l, q{
            declare err_num number; err_msg char(510);
            begin
                err_num := :1;
                err_msg := :2;
                raise_application_error(-20000-err_num, 'plus '||err_msg);
            end;
        }) || die "ora_open: $ora_errstr";
    &ora_bind($c, 42, "my msg");
    # Expect our exception number and error text
    die "ora_open: $ora_errno $ora_errstr"
        unless $ora_errno == 20042;             # our exception number
    die "ora_open: $ora_errstr"
        unless $ora_errstr =~ m/plus my msg/;   # our exception text

It'll lockup in your copy unless you add these lines near the
top of dbd_describe:

    if (imp_sth->cda->ft == 34) {       /* SQL function "PL/SQL EXECUTE" */
        if (dbis->debug >= 2)
            fprintf(DBILOGFP, "    dbd_describe skipped for pl/sql\n");
        return 1;
    }

More news as it happens.

One step at a time.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07289-36@oink>;
          Wed, 9 Oct 1996 16:35:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844826952:29488:9; Wed, 09 Oct 96 03:09:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa28472; 9 Oct 96 3:08 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id PAA06516 for dbi-users-real; Tue, 8 Oct 1996 15:14:05 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id PAA06505 
          for <dbi-users@fugue.com>; Tue, 8 Oct 1996 15:09:55 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ag28262;
          8 Oct 96 18:50 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa20062; 8 Oct 96 18:43 BST
Received: from toad by oink with SMTP (PP) id <02391-0@oink>;
          Tue, 8 Oct 1996 18:42:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07015;
          Tue, 8 Oct 1996 18:42:15 +0000
Date: Tue, 8 Oct 1996 18:42:15 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610081742.AA07015@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: PL/SQL news update
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Just to let you know that this code now works in my copy:

    $c = &ora_open($l, q{
            declare err_num number; err_msg char(510);
            begin
                err_num := :1;
                err_msg := :2;
                raise_application_error(-20000-err_num, 'plus '||err_msg);
            end;
        }) || die "ora_open: $ora_errstr";
    &ora_bind($c, 42, "my msg");
    # Expect our exception number and error text
    die "ora_open: $ora_errno $ora_errstr"
        unless $ora_errno == 20042;             # our exception number
    die "ora_open: $ora_errstr"
        unless $ora_errstr =~ m/plus my msg/;   # our exception text

It'll lockup in your copy unless you add these lines near the
top of dbd_describe:

    if (imp_sth->cda->ft == 34) {       /* SQL function "PL/SQL EXECUTE" */
        if (dbis->debug >= 2)
            fprintf(DBILOGFP, "    dbd_describe skipped for pl/sql\n");
        return 1;
    }

More news as it happens.

One step at a time.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07289-44@oink>;
          Wed, 9 Oct 1996 16:37:47 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844828975:04971:12; Wed, 09 Oct 96 03:42:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04489; 9 Oct 96 3:40 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA05164 for dbi-users-real; Tue, 8 Oct 1996 08:54:12 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from psci.sas.upenn.edu (pat@PSCI.SAS.UPENN.EDU [130.91.92.84]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA05160 
          for <dbi-users@fugue.com>; Tue, 8 Oct 1996 08:54:06 -0700 (PDT)
Received: (from pat@localhost) by psci.sas.upenn.edu (8.7.6/8.7.3) id LAA40418;
          Tue, 8 Oct 1996 11:53:58 -0400
From: Pat Hildebrand <pat@ssc.upenn.edu>
Message-Id: <199610081553.LAA40418@psci.sas.upenn.edu>
Subject: can't login DBD-Oracle-0.39 under AIX 4.1.4
To: dbi-users@fugue.com
Date: Tue, 8 Oct 1996 11:53:57 -0400 (EDT)
Cc: Tim.Bunce@ig.co.uk
X-Mailer: ELM [version 2.4 PL23-upenn3.1]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

    I have read the README and README.login and tried editing what I
think is the problem line of test.pl with the only change being what I
get back as being in that line.  Therefore here is the info and any help
would be greatly appreciated.

                 Pat Hildebrand
                 pat@ssc.upenn.edu


Oracle version: 7.3.2.1 (dedicated server, none of the parallel stuff)
Operating System: AIX version 4.1.4



output of perl -V

Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=aix, osver=4.1.4.0, archname=aix
    uname='aix psci 1 4 000013943800 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -I/usr/local/include -D_NO_PROTO'
    ccflags ='-qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -I/usr/local/include -D_NO_PROTO'
    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 /lib /usr/lib /usr/ccs/lib
    libs=-lgdbm -ldbm -lld -lm -lc -lbsd -lPW
    libc=/usr/lib/libc.a, so=so
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=, ccdlflags='-bE:perl.exp'
    cccdlflags=' ', lddlflags='-H512 -T512 -bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lc -L/usr/local/lib'

@INC: /usr/local/lib/perl5/aix/5.003 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/aix /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/aix .



log from perl Makefile.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.
uniq:  is not a text file.


 Configuring DBD::Oracle ...

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

Using Oracle in /u03/app/oracle/product/7.3.2
Reading /u03/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk.
Reading /u03/app/oracle/product/7.3.2/precomp/env_precomp.mk.
System: perl5.003 aix psci 1 4 000013943800 
Compiler: cc -O -qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -I/usr/local/include -D_NO_PROTO
Linker:   /usr/bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       $(ORACLE_HOME)/bin/oraxlc 
  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)
  LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) 
Linking with  -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm -lm 

Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Oracle



log from 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/aix/5.003" "-I/usr/local/lib/perl5" -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" => "DBD::Oracle", "DL_FUNCS" => {  }, "DL_VARS" => []);'
	perl -I/usr/local/lib/perl5/aix/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. -I/u03/app/oracle/product/7.3.2/precomp/public -I/u03/app/oracle/product/7.3.2/rdbms/demo -I/usr/local/lib/perl5/site_perl/aix/DBI -I/usr/local/lib/perl5/aix/5.003/DBI -qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -I/usr/local/include -D_NO_PROTO -O     -DVERSION=\"0.39\"  -DXS_VERSION=\"0.39\"  -I/usr/local/lib/perl5/aix/5.003/CORE  Oracle.c
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 85.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 126.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 145.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 151.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 195.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 287.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 592.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 598.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 616.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 617.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 629.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 630.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 636.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 642.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 763.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 813.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 874.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 905.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 910.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 995.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1000.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1032.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1044.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1081.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1082.18: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1083.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1084.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1085.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1086.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1128.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1176.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1178.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1194.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1212.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1304.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1341.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1360.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1417.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1440.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1461.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/unixish.h", line 42.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/unixish.h", line 49.26: 1506-342 (W) "/*" detected in comment.
	cc -c -I. -I/u03/app/oracle/product/7.3.2/precomp/public -I/u03/app/oracle/product/7.3.2/rdbms/demo -I/usr/local/lib/perl5/site_perl/aix/DBI -I/usr/local/lib/perl5/aix/5.003/DBI -qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -I/usr/local/include -D_NO_PROTO -O     -DVERSION=\"0.39\"  -DXS_VERSION=\"0.39\"  -I/usr/local/lib/perl5/aix/5.003/CORE  dbdimp.c
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 85.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 126.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 145.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 151.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 195.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 287.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 592.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 598.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 616.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 617.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 629.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 630.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 636.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 642.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 763.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 813.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 874.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 905.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 910.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 995.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1000.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1032.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1044.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1081.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1082.18: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1083.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1084.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1085.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1086.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1128.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1176.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1178.34: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1194.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1212.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1304.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1341.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1360.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1417.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1440.26: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/config.h", line 1461.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/unixish.h", line 42.42: 1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5/aix/5.003/CORE/unixish.h", line 49.26: 1506-342 (W) "/*" detected in comment.
Running Mkbootstrap for DBD::Oracle ()
	chmod 644 Oracle.bs
	LD_RUN_PATH="/u03/app/oracle/product/7.3.2/lib:/lib" ld -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 -b noentry -lc -L/usr/local/lib Oracle.o  dbdimp.o -H512 -T512 -bhalt:4   -L/u03/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 -lm -lld -lm -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
Target "makemakerdflt" is up to date.


log from make test

	PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/aix/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 ( 1.13 cusr  0.16 csys =  1.29 cpu)
	PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/aix/5.003 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.24 $

Oraperl Emulation Interface version 1.29 
Oracle Driver 0.39
DBI-0.72 Switch by Tim Bunce, version 0.72


Connecting
 to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
 as 'scott/tiger' (via ORACLE_USERID env var or default - recommend name/passwd@dbname)
(ORACLE_SID='db03', TWO_TASK='')
Caught a SIGSEGV at blib/lib/DBD/Oracle.pm line 142
@ = DBD::Oracle::dr::connect('DBI::dr=HASH(0x200c8558)', '', 'scott/tiger', '') called from file `blib/lib/Oraperl.pm' line 98
@ = Oraperl::ora_login('', 'scott/tiger', '') called from file `test.pl' line 42
make: The signal code from the last command is 6.


Stop.



Since I didn't have TWO_TASK set and it is the recommended way, I set
TWO_TASK and here is the log from make test when TWO_TASK is set

	PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/aix/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 ( 1.18 cusr  0.18 csys =  1.36 cpu)
	PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/aix/5.003 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.24 $

Oraperl Emulation Interface version 1.29 
Oracle Driver 0.39
DBI-0.72 Switch by Tim Bunce, version 0.72


Connecting
 to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
 as 'scott/tiger' (via ORACLE_USERID env var or default - recommend name/passwd@dbname)
(ORACLE_SID='db03', TWO_TASK='db03')
Caught a SIGSEGV at blib/lib/DBD/Oracle.pm line 142
@ = DBD::Oracle::dr::connect('DBI::dr=HASH(0x200c85a4)', '', 'scott/tiger', '') called from file `blib/lib/Oraperl.pm' line 98
@ = Oraperl::ora_login('', 'scott/tiger', '') called from file `test.pl' line 42
make: The signal code from the last command is 6.


Stop.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07289-67@oink>;
          Wed, 9 Oct 1996 16:39:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844860830:07248:9; Wed, 09 Oct 96 12:33:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07033; 9 Oct 96 12:33 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id BAA07687 for dbi-users-real; Wed, 9 Oct 1996 01:33:54 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from unimur.um.es (unimur.um.es [155.54.1.1]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id BAA07683 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 01:33:44 -0700 (PDT)
Received: from fcu.um.es (gaia.fcu.um.es) by unimur.um.es (4.1/SMI-4.1) 
          id AA13343; Wed, 9 Oct 96 10:36:44 +0200
Received: from becario.dif.um.es by fcu.um.es (5.x/SMI-SVR4) id AA18415;
          Wed, 9 Oct 1996 10:36:31 +0100
Date: Wed, 9 Oct 1996 10:36:31 +0100
Message-Id: <1.5.4.16.19961009103344.22374906@gaia.fcu.um.es>
X-Sender: juanbot@gaia.fcu.um.es
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: "J.A. Botia Blaya" <juanbot@gaia.fcu.um.es>
Subject: About doing a cache in perl for DBI querys

Hello all. What about a new question on the net?

Im doing a database accesible via Web. I have the Oracle server in a
machine; machine A, with DBI and DBD:Oracle, and the Web server in another
machine; machine B. Right? The B machine executes the cgi's which do the
querys to the machine A in SQL using RSH and this is my bottleneck so I have
been thinking in doing a cache of Querys in the B machine. Any idea? Is
there any methodology or software for generics cache development? Does
anyone know other alternative solution for this bottleneck?

Thanks on advance.
------------------------------------------------
Juan Botia Blaya.
e-mail:juanbot@fcu.um.es
telf:307100-x2035
Becario de Redes
Universidad de Murcia
-------------------------------------------------

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10632-2@oink>;
          Wed, 9 Oct 1996 19:12:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844884668:04028:294; Wed, 09 Oct 96 19:11:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05597; 9 Oct 96 19:07 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA08005 for dbi-users-real; Wed, 9 Oct 1996 05:37:45 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail1.austin.ibm.com (netmail1.austin.ibm.com [129.35.208.96]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA08001 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 05:37:44 -0700 (PDT)
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail1.austin.ibm.com (8.6.12/8.6.11) with ESMTP id HAA14029;
          Wed, 9 Oct 1996 07:37:41 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) id HAA19070;
          Wed, 9 Oct 1996 07:37:37 -0500 (CDT)
Message-Id: <199610091237.HAA19070@dax.austin.ibm.com>
X-Mailer: exmh version 1.6.7 5/3/96
To: perl5-porters@nicoh.com
cc: dbi-users@fugue.com
Subject: Anyone seen problem with LONG names?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 09 Oct 96 07:37:37 -0500


I have an end user who has developed a tool using Perl 5.003 (not sure
which version, as I'm still waiting on details), DBI, and DBD::DB2.

Using OO techniques, has gotten to the point where the class name is 20+
characters and the actual function names are 40+ characters.  As soon as
he references a class with 20+ character name, memory is being corrupted.

Anything less the 20 characters in the class name, which means the function
names are less than 40 characters, everything works.

Anyone seen anything like this?  Or is it time to break out the debuggers?

Thanks.
Mike

------------------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content of  
mhm@austin.ibm.com                | this posting is independent of 
Commercial Performance            | official IBM position.
IBM Corporation, Austin, Texas    |


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12222-4@oink>;
          Thu, 10 Oct 1996 07:38:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844885200:09808:184; Wed, 09 Oct 96 19:20:00 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa10730; 9 Oct 96 19:18 BST
Received: from toccata.fugue.com ([(null)]) by relay-1.mail.demon.net 
          id aa25197; 9 Oct 96 19:17 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA08061 for dbi-users-real; Wed, 9 Oct 1996 06:17:40 -0700 (PDT)
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.8.0/8.6.11) with SMTP id GAA08057 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 06:17:38 -0700 (PDT)
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com) 
          by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA25393;
          Wed, 9 Oct 96 08:17:20 CDT
X-Sender: ice@camg2.mfg.mke.ab.com
Message-Id: <v03007807ae8155e6e38c@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 9 Oct 1996 08:17:25 -0500
To: dbi-users@fugue.com
From: Christopher Ice <cmice@mfg.mke.ab.com>
Subject: DNS lookups via DBI...

I've seen/heard rumors about a DNS DBD for perl which would let me do
queries against a DNS to get hostnames, IPs, MXs, CNAMEs, etc.

Any word on the status of such a beast?  Any other ways to do this w/o
dbperl?  (Pls keep the alternate discussions off the list in the name of
bandwidth.)

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 <12222-41@oink>;
          Thu, 10 Oct 1996 07:43:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844891446:20938:0; Wed, 09 Oct 96 21:04:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20574; 9 Oct 96 21:03 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA08168 for dbi-users-real; Wed, 9 Oct 1996 07:10:56 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.koz.net (ns.koz.net [199.72.127.50]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA08164 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 07:10:53 -0700 (PDT)
Received: from chall ([199.72.127.70]) by ns.koz.net (8.7.5/8.7.3) with SMTP 
          id KAA07640 for <dbi-users@fugue.com>;
          Wed, 9 Oct 1996 10:10:32 -0400 (EDT)
Message-ID: <325BB2CB.470B@koz.com>
Date: Wed, 09 Oct 1996 10:12:27 -0400
From: "Charles P. Hall" <chall@koz.com>
Organization: Koz Inc.
X-Mailer: Mozilla 3.0Gold (WinNT; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Docs on DBI?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

HELP! I'm getting really baffled. I need to get to Informix/ESQL from
Perl. I've got DBI 0.72 and DBD-Informix 0.23, but I don't see any
documentation anywhere. How will I use this after I get it installed?
The only info I have is the draft .6 DBI Spec which is supposed to be
obsolete. What do I do?

Thanks...

Charles Hall
chall@koz.com
Raleigh, NC  USA
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12222-77@oink>;
          Thu, 10 Oct 1996 07:48:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844901208:20328:54; Wed, 09 Oct 96 23:46:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20169; 9 Oct 96 23:46 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA08983 for dbi-users-real; Wed, 9 Oct 1996 11:55:39 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns1.infonautics.com (ns1.infonautics.com [199.99.164.5]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA08979 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 11:55:31 -0700 (PDT)
Received: from adminsrv.infonautics.com (adminsrv.infonautics.com [199.99.164.114]) 
          by ns1.infonautics.com (8.7.5/8.7.3) with SMTP id OAA06471 
          for <@ns1:dbi-users@fugue.com>; Wed, 9 Oct 1996 14:56:18 -0400 (EDT)
Received: by adminsrv.infonautics.com (4.1/SMI-4.1) id AA16463;
          Wed, 9 Oct 96 14:56:18 EDT
Message-Id: <9610091856.AA16463@adminsrv.infonautics.com>
Received: by Infonautics Corporation (Lotus Notes Mail Gateway for SMTP V1.0) 
          id 265FFF78898A3F6E852563BE004F3C1F; Wed, 9 Oct 96 18:56:17 EDT
To: dbi-users <dbi-users@fugue.com>
Cc: "Tim.Bunce" <Tim.Bunce@ig.co.uk>
From: Sunny Balijepalli/Infonautics Corporation <Sunny_Balijepalli@adminsrv.infonautics.com>
Date: 9 Oct 96 14:56:22 EDT
Subject: DBD::Oracle "libclntsh.so: unknown type" FIXED!
Mime-Version: 1.0
Content-Type: Text/Plain

Sorry for the premature email.  The .so file was in the wrong location.  I was 
able to complete the install and run the tests with no problem.  Thanks,

Sunny
Email: sunny@infonautics.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12222-79@oink>;
          Thu, 10 Oct 1996 07:49:03 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844901582:22482:40; Wed, 09 Oct 96 23:53:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21543; 9 Oct 96 23:52 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA08957 for dbi-users-real; Wed, 9 Oct 1996 11:49:47 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA08953 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 11:49:41 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id TAA10678;
          Wed, 9 Oct 1996 19:36:00 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id TAA05708; Wed, 9 Oct 1996 19:47:56 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199610091847.TAA05708@chewbacca.hermetica.com>
Subject: Re: DNS lookups via DBI...
To: cmice@mfg.mke.ab.com (Christopher Ice)
Date: Wed, 9 Oct 1996 19:47:50 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <v03007807ae8155e6e38c@[130.151.91.215]> from "Christopher Ice" at Oct 9, 96 08:17:25 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


> I've seen/heard rumors about a DNS DBD for perl which would let me do
> queries against a DNS to get hostnames, IPs, MXs, CNAMEs, etc.
> 
> Any word on the status of such a beast?  Any other ways to do this w/o
> dbperl?  (Pls keep the alternate discussions off the list in the name of
> bandwidth.)

As far as I can remember, this was mentioned in the spec as a possible module.
I don't think anything ever came of it, but I had made a start on one once.
I don't think I'm likely to do it now, but it'd be quite cool......

> Chris

-- 
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 <12222-87@oink>;
          Thu, 10 Oct 1996 07:50:04 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844901922:24322:6; Wed, 09 Oct 96 23:58:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23984; 9 Oct 96 23:57 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA08969 for dbi-users-real; Wed, 9 Oct 1996 11:53:50 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA08965 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 11:53:37 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id aw21665;
          9 Oct 96 19:02 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa23097; 9 Oct 96 18:47 BST
Received: from toad by oink with SMTP (PP) id <09308-0@oink>;
          Wed, 9 Oct 1996 18:46:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA10609;
          Wed, 9 Oct 1996 18:46:27 +0000
Date: Wed, 9 Oct 1996 18:46:27 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610091746.AA10609@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: PL/SQL - progress
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Before I go home for the evening I thought I'd share this (lightly edited)
debug log with you:

    -> prepare for DBD::Oracle::db (DBI::db=HASH(0x24b858)~0x24b8dc '
			declare bar number;
			begin bar := :1; bar := bar + 1; :1 := bar; end;
		')
    <- prepare= DBI::st=HASH(0x24a0dc)
    -> bind_param_inout for DBD::Oracle::st (DBI::st=HASH(0x24a0dc)~0x7df1e4 1 SCALAR(0x24d99c) 10)
bind :p1 <== '42' (attribs: )
bind :p1 <== '42' (size 2, ora_type 1)
    <- bind_param_inout= 1
    -> execute for DBD::Oracle::st (DBI::st=HASH(0x24a0dc)~0x7df1e4)
    dbd_describe skipped for pl/sql
    dbd_st_execute (for sql func 34 after oci func 28)...
    dbd_st_execute complete (rc 0, rpc 1, op1)
:p1='43'

There's still some way to go. That ":p1='43'" was printed by debug code in
dbd_st_execute. I've not yet written the code to copy the value back to the
perl variable.

One step at a time.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12222-90@oink>;
          Thu, 10 Oct 1996 07:50:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844903379:01400:9; Thu, 10 Oct 96 00:22:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01075; 10 Oct 96 0:22 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA08242 for dbi-users-real; Wed, 9 Oct 1996 07:48:44 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bach.videotron.net (bach.videotron.net [205.151.222.10]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA08227 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 07:46:04 -0700 (PDT)
Received: from Cable.spc.videotron.ca (ppp170.135.mmtl.videotron.net [207.96.135.170]) 
          by bach.videotron.net (8.7.5/8.6.12) with SMTP id KAA27687;
          Wed, 9 Oct 1996 10:45:56 -0400 (EDT)
Message-Id: <199610091445.KAA27687@bach.videotron.net>
Comments: Authenticated sender is <dmccabe@pop.spc.videotron.ca>
From: David McCabe <David.McCabe@videotron.net>
To: "J.A. Botia Blaya" <juanbot@gaia.fcu.um.es>, dbi-users@fugue.com
Date: Wed, 9 Oct 1996 10:42:03 +0000
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Re: About doing a cache in perl for DBI querys
Reply-to: David.McCabe@videotron.net
X-Confirm-Reading-To: dmccabe@videotron.net
X-pmrqc: 1
Priority: normal
X-mailer: Pegasus Mail for Windows (v2.32)

> Date:          Wed, 9 Oct 1996 10:36:31 +0100
> To:            dbi-users@fugue.com
> From:          "J.A. Botia Blaya" <juanbot@gaia.fcu.um.es>
> Subject:       About doing a cache in perl for DBI querys

> Hello all. What about a new question on the net?
> 
> Im doing a database accesible via Web. I have the Oracle server in a
> machine; machine A, with DBI and DBD:Oracle, and the Web server in another
> machine; machine B. Right? The B machine executes the cgi's which do the
> querys to the machine A in SQL using RSH and this is my bottleneck so I have
> been thinking in doing a cache of Querys in the B machine. Any idea? Is
> there any methodology or software for generics cache development? Does
> anyone know other alternative solution for this bottleneck?

	One solution that we are looking at is the new FastCGI from Open Market. We
use their web server here, so it is included, but they make the code and
libraries available for other servers as well. A fastcgi can be run on any
other machine, it does not have to reside on the same machine as the web
server. This lets you put your database behind a firewall, and leave the web
server outside the firewall. The connection is done through tcp ports between 
the two machines. You can get more info from www.fastcgi.com, or 
www.openmarket.com.

	BTW, Fastcgi can be in perl, C, TCL, or whatever language you want, just like 
normal cgi.

David McCabe    Unix Admin for http://www.infinit.net
Le Groupe Videotron   Services PC  (sent from home)
Montreal, Quebec 1 (514) 281 1232  ext 2511
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12222-98@oink>;
          Thu, 10 Oct 1996 07:51:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844904070:04869:1; Thu, 10 Oct 96 00:34:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04158; 10 Oct 96 0:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA09108 for dbi-users-real; Wed, 9 Oct 1996 12:24:01 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.koz.net (ns.koz.net [199.72.127.50]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id MAA09104 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 12:23:59 -0700 (PDT)
Received: from chall ([199.72.127.70]) by ns.koz.net (8.7.5/8.7.3) with SMTP 
          id PAA11299 for <dbi-users@fugue.com>;
          Wed, 9 Oct 1996 15:23:38 -0400 (EDT)
Message-ID: <325BFC2F.1647@koz.com>
Date: Wed, 09 Oct 1996 15:25:35 -0400
From: "Charles P. Hall" <chall@koz.com>
Organization: Koz Inc.
X-Mailer: Mozilla 3.0Gold (WinNT; I)
MIME-Version: 1.0
To: PerlDB Listserve <dbi-users@fugue.com>
Subject: Infromix-DBD-DBI Install Questions
Content-Type: multipart/mixed; boundary="------------3EB914F55AB9"

This is a multi-part message in MIME format.

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

I'm trying to get Informix 7.2 on Sun-Solaris running with Perl. I've
installed DBI-0.72 and DBD-0.23/24(?). DBI seems to test OK, but the
tests included with DBD fail.

The gist of the error message is as follows:

install_driver(Informix) failed: Can't load ...Informix.so for module
   DBD::Informix... symbol not found gl_full_mbscat... DynaLoader
Line    140.

Alligator Descartes (DBD's creator) very kindly looked around, but
didn't see anything. This leads me to suspect that it must be DBI that
didn't quite get put in place right.

Does anyone have any ideas? I've attached the whole ugly message as a
file...

Thanks!
Charles Hall
chall@koz.com
Raleigh, NC USA

--------------3EB914F55AB9
Content-Type: text/plain; charset=us-ascii; name="err.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="err.txt"

Results from DBD's test.pl program:


PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib 
    -I/usr/local/lib/perl5/sparc-solaris/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: ld.so.1: /usr/local/bin/perl: fatal: relocation error: 
    symbol not found: gl_full_mbscat: referenced in 
    ./blib/arch/auto/DBD/Informix/Informix.so 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' ): make: *** [test_dynamic] Error 2

--------------3EB914F55AB9--

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12222-108@oink>;
          Thu, 10 Oct 1996 07:52:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844910860:29458:8; Thu, 10 Oct 96 02:27:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29321; 10 Oct 96 2:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA09327 for dbi-users-real; Wed, 9 Oct 1996 13:51:20 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns1.infonautics.com (ns1.infonautics.com [199.99.164.5]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id NAA09323 
          for <dbi-users@fugue.com>; Wed, 9 Oct 1996 13:51:11 -0700 (PDT)
Received: from adminsrv.infonautics.com (adminsrv.infonautics.com [199.99.164.114]) 
          by ns1.infonautics.com (8.7.5/8.7.3) with SMTP id KAA03053 
          for <@ns1:dbi-users@fugue.com>; Wed, 9 Oct 1996 10:59:38 -0400 (EDT)
Received: by adminsrv.infonautics.com (4.1/SMI-4.1) id AA12327;
          Wed, 9 Oct 96 10:59:37 EDT
Message-Id: <9610091459.AA12327@adminsrv.infonautics.com>
Received: by Infonautics Corporation (Lotus Notes Mail Gateway for SMTP V1.0) 
          id 265FFF78898A3F6E852563BE004F3C1F; Wed, 9 Oct 96 14:59:37 EDT
To: dbi-users <dbi-users@fugue.com>
Cc: "Tim.Bunce" <Tim.Bunce@ig.co.uk>
From: Sunny Balijepalli/Infonautics Corporation <Sunny_Balijepalli@adminsrv.infonautics.com>
Date: 9 Oct 96 10:59:13 EDT
Subject: DBD::Oracle "libclntsh.so: unknown type"
Mime-Version: 1.0
Content-Type: Text/Plain

Hello:

I am trying to build the Oracle DBD extension to Perl have and am having 
problems.  I have looked through the mailling list archives and have not been 
able to find any hints on solving my problem.  I was wondering if anyone on the 
list has had similar problems and can point me in the right direction.

I was able to build DBI-0.72 with no problems.  I was also able to do the perl 
Makefile.PL with no problems.  However when I did a "make"  I received the 
error:  libclntsh.so: unknown type.  Could it be that this module is not 
compatible with Oracle 7.2.3?
Thanks in advance for your help.


Sunny.
Email:  sunny@infonautics.com

============================================================
DBD 0.39
DBI 0.72
Operating System Sun OS 5.5
Oracle 7.3.2 
perl 5.002
===========================================================

# make

cc -c -I. -I/opt/oracle/app/oracle/product/7.3.2/precomp/public 
-I/opt/oracle/app/oracle/product/7.3.2/rdbms/demo -I/opt/perl5/lib/s
ite_perl/sun4-solaris/DBI -I/opt/perl5/lib/sun4-solaris/5.003/DBI  -O     
-DVERSION=\"0.39\"  -DXS_VERSION=\"0.39\" -Kpic -I/opt/per
l5/lib/sun4-solaris/5.003/CORE  Oracle.c
"Oracle.c", line 144: warning: end-of-loop code not reached
::
"Oracle.c", line 406: warning: end-of-loop code not reached
cc -c -I. -I/opt/oracle/app/oracle/product/7.3.2/precomp/public 
-I/opt/oracle/app/oracle/product/7.3.2/rdbms/demo -I/opt/perl5/lib/s
ite_perl/sun4-solaris/DBI -I/opt/perl5/lib/sun4-solaris/5.003/DBI  -O     
-DVERSION=\"0.39\"  -DXS_VERSION=\"0.39\" -Kpic -I/opt/per
l5/lib/sun4-solaris/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/opt/oracle/app/oracle/product/7.3.2/lib:/lib" cc -o 
blib/arch/auto/DBD/Oracle/Oracle.so -G -L/opt/gnu/lib Oracle.o  db
dimp.o /opt/oracle/app/oracle/product/7.3.2/lib/__fstd.o   -L/op
t/oracle/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 -l
core3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -lm
ld: fatal: file /opt/oracle/app/oracle/product/7.3.2/lib/libclntsh.so: unknown 
type, unable to process using elf(3E) libraries
ld: fatal: library -lclntsh: not found
ld: fatal: File processing errors.  No output written to 
blib/arch/auto/DBD/Oracle/Oracle.so
*** Error code 1
make: Fatal error: Command failed for target 
`blib/arch/auto/DBD/Oracle/Oracle.so'

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19038-10@oink>;
          Thu, 10 Oct 1996 20:11:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844973524:04087:29; Thu, 10 Oct 96 19:52:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04116; 10 Oct 96 19:51 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA11151 for dbi-users-real; Thu, 10 Oct 1996 07:34:34 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id HAA11147 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 07:34:32 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ai25658;
          10 Oct 96 15:01 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac09083; 10 Oct 96 14:53 BST
Received: from toad by oink with SMTP (PP) id <15120-0@oink>;
          Thu, 10 Oct 1996 10:17:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA13283;
          Thu, 10 Oct 1996 10:17:31 +0000
Date: Thu, 10 Oct 1996 10:17:31 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610100917.AA13283@toad.ig.co.uk>
To: perl5-porters@nicoh.com, mhm@austin.ibm.com
Subject: Re: Anyone seen problem with LONG names?
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: mhm@austin.ibm.com
> 
> I have an end user who has developed a tool using Perl 5.003 (not sure
> which version, as I'm still waiting on details), DBI, and DBD::DB2.
> 
> Using OO techniques, has gotten to the point where the class name is 20+
> characters and the actual function names are 40+ characters.  As soon as
> he references a class with 20+ character name, memory is being corrupted.
> 
> Anything less the 20 characters in the class name, which means the function
> names are less than 40 characters, everything works.
> 
> Anyone seen anything like this?  Or is it time to break out the debuggers?

No. Yes.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19038-13@oink>;
          Thu, 10 Oct 1996 20:11:55 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844973751:05456:31; Thu, 10 Oct 96 19:55:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04349; 10 Oct 96 19:52 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA11192 for dbi-users-real; Thu, 10 Oct 1996 08:03:49 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA11187 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 08:03:46 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ab25701;
          10 Oct 96 15:01 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae09083; 10 Oct 96 14:53 BST
Received: from toad by oink with SMTP (PP) id <15572-0@oink>;
          Thu, 10 Oct 1996 12:28:15 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16304;
          Thu, 10 Oct 1996 12:28:06 +0000
Date: Thu, 10 Oct 1996 12:28:06 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610101128.AA16304@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Purify's view of Oracle 7.3's Bad Free
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Just to put another nail in the coffin of the Bad Free problem,
here's Purify's view:

      FUM: Freeing unallocated memory
      This is occurring while in:
            free           [rtlib.o]
            epcpro_delete  [epcpro.c]
            epc_exit_handler [epcinit.c]
            _exithandle    [libc.so.1]
            exit           [rtlib.o]
            main           [perlmain.o]
            _start         [crt1.o]
      Attempting to free block at 0x2c2828 already freed.
      This block was allocated from:
            malloc         [rtlib.o]
            epcioread      [epcio.c]
            epciofstill_free [epciof.c]
            epciofscan_for_free [epciof.c]
            epcioffirst_free [epciof.c]
            epcpro_add     [epcpro.c]
            epc_init       [epcinit.c]
            nldtotinit     [nldtot.c]
            nlstddt_do_alter_trace [nlstdgo.c]
            nlstdgg        [nlstdgo.c]
            osnqig1        [osnqig.c]
            osncon         [osncon.c]
            upiini         [upiprv.c]
            upiahm         [upicdc.c]
            upilgn         [upilog.c]
            upilon         [upilog.c]
            ocirlo         [oci.c]
            dbd_db_login   [Oracle.a]
            XS_DBD__Oracle__db__login [Oracle.a]
            Perl_pp_entersub [libperl.a]
      There have been 1 frees since this block was freed from:
            free           [rtlib.o]
            epcioffree_record [epciof.c]
            epcpro_delete  [epcpro.c]
            epc_exit_handler [epcinit.c]
            _exithandle    [libc.so.1]
            exit           [rtlib.o]
            main           [perlmain.o]
            _start         [crt1.o]

I'd be grateful if people with good Oracle support contacts could
forward this to them.

Thanks.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20701-8@oink>;
          Fri, 11 Oct 1996 07:38:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844978055:01337:29; Thu, 10 Oct 96 21:07:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01198; 10 Oct 96 21:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA11672 for dbi-users-real; Thu, 10 Oct 1996 10:09:11 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id JAA11627;
          Thu, 10 Oct 1996 09:51:57 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac07937;
          10 Oct 96 17:14 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa28180; 10 Oct 96 17:12 BST
Received: from toad by oink with SMTP (PP) id <17832-0@oink>;
          Thu, 10 Oct 1996 17:12:03 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19510;
          Thu, 10 Oct 1996 17:11:56 +0000
Date: Thu, 10 Oct 1996 17:11:56 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610101611.AA19510@toad.ig.co.uk>
To: dbi-announce@fugue.com, mellon@fugue.com
Subject: Announce: DBI-0.73.tar.Z
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Changes in DBI 0.73,    10th Oct 1996

    Fixed some compiler type warnings (IRIX).
    Fixed DBI->internal->{DebugLog} = $filename.
    Made debug log file unbuffered.
    Added experimental bind_param_inout method to interface.
    Usage: $dbh->bind_param_inout($param, \$value, $maxlen [, \%attribs ])
    (only currently used by DBD::Oracle at this time.)

Anyone hoping to use the bind_param_inout method in the next release
of DBD::Oracle (don't ask when that might be!) will need to have
built and installed this version of the DBI.

It's on ftp.demon.co.uk/pub/perl/db/DBI/ now and will make it to CPAN
in a day or three.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20701-10@oink>;
          Fri, 11 Oct 1996 07:38:24 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844978419:03677:25; Thu, 10 Oct 96 21:13:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03245; 10 Oct 96 21:12 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA12880 for dbi-users-real; Thu, 10 Oct 1996 10:59:29 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.kabel.de ([194.121.239.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA12876 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 10:59:25 -0700 (PDT)
Received: from [194.121.239.125] by mail.kabel.de (AIX 4.1/UCB 5.64/4.03) 
          id AA19840; Thu, 10 Oct 1996 19:55:51 +0100
Date: Thu, 10 Oct 1996 19:55:51 +0100
X-Sender: hmueller@mail.kabel.de
Message-Id: <v01540b05ae830552df29@[194.121.239.125]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: hmueller@mail.kabel.de (Hanno Mueller)
Subject: Problems building DBI-Informix 0.24

Hello everyone,


I am having troubles building DBI-Informix 0.24 on an AIX-Machine with gcc
and Informix 7.1.

The "ld" call of the makefile fails:

ld: 0711-317 ERROR: Undefined symbol: t_errno
ld: 0711-317 ERROR: Undefined symbol: .t_open
ld: 0711-317 ERROR: Undefined symbol: .t_alloc
ld: 0711-317 ERROR: Undefined symbol: .t_bind
ld: 0711-317 ERROR: Undefined symbol: .t_free
ld: 0711-317 ERROR: Undefined symbol: .t_close
ld: 0711-317 ERROR: Undefined symbol: .t_connect
ld: 0711-317 ERROR: Undefined symbol: .t_look
ld: 0711-317 ERROR: Undefined symbol: .t_rcvconnect
ld: 0711-317 ERROR: Undefined symbol: .t_unbind
ld: 0711-317 ERROR: Undefined symbol: .t_rcvdis
ld: 0711-317 ERROR: Undefined symbol: .t_accept
ld: 0711-317 ERROR: Undefined symbol: .t_listen
ld: 0711-317 ERROR: Undefined symbol: .t_snd
ld: 0711-317 ERROR: Undefined symbol: .t_rcv
ld: 0711-317 ERROR: Undefined symbol: .t_sync
ld: 0711-317 ERROR: Undefined symbol: .t_sndrel
ld: 0711-317 ERROR: Undefined symbol: .t_rcvrel
ld: 0711-317 ERROR: Undefined symbol: .t_rcvudata
ld: 0711-317 ERROR: Undefined symbol: .t_sndudata

I suspect that "ld" does not find a library, but it does not
bark (usually it would say "can't find bla.h").

Any clues?


Greetings,

Hanno Mueller


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20701-23@oink>;
          Fri, 11 Oct 1996 07:40:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844979800:12164:44; Thu, 10 Oct 96 21:36:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12337; 10 Oct 96 21:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA13064 for dbi-users-real; Thu, 10 Oct 1996 11:38:05 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from lynx.csn.net (lynx.csn.net [199.117.160.129]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA13060 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 11:38:03 -0700 (PDT)
Received: from wcc.com (sunspot.wcc.com [144.207.1.50]) 
          by lynx.csn.net (8.6.12/8.6.12) with SMTP id MAA02090 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 12:37:55 -0600
Received: from den3960 (smferris.wcc.com) by wcc.com (4.1/SMI-4.1) id AA29565;
          Thu, 10 Oct 96 12:37:53 MDT
Message-Id: <9610101837.AA29565@wcc.com>
From: Shawn M Ferris <smferri0@wcc.com>
To: DBI Users <dbi-users@fugue.com>
Subject: DBD Oracle on Linux.
Date: Thu, 10 Oct 1996 12:30:05 -0600
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

For those who have had success on getting this running, all I ask is if a
sco-cross compiler was the only thing necessary and some possible tips to
get it working. I have successfully created the compiler and am still
having some problems. Any help will be greatly appreciated. I'm sure if I
play long enough I can get it working, but would like to know if I missing
something.

Thanks MUCHO!!!

SMF 8)
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20701-25@oink>;
          Fri, 11 Oct 1996 07:40:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844979990:13500:12; Thu, 10 Oct 96 21:39:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12997; 10 Oct 96 21:38 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA11635 for dbi-announce-real;
          Thu, 10 Oct 1996 09:52:10 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id JAA11627;
          Thu, 10 Oct 1996 09:51:57 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac07937;
          10 Oct 96 17:14 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa28180; 10 Oct 96 17:12 BST
Received: from toad by oink with SMTP (PP) id <17832-0@oink>;
          Thu, 10 Oct 1996 17:12:03 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19510;
          Thu, 10 Oct 1996 17:11:56 +0000
Date: Thu, 10 Oct 1996 17:11:56 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610101611.AA19510@toad.ig.co.uk>
To: dbi-announce@fugue.com, mellon@fugue.com
Subject: Announce: DBI-0.73.tar.Z
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Changes in DBI 0.73,    10th Oct 1996

    Fixed some compiler type warnings (IRIX).
    Fixed DBI->internal->{DebugLog} = $filename.
    Made debug log file unbuffered.
    Added experimental bind_param_inout method to interface.
    Usage: $dbh->bind_param_inout($param, \$value, $maxlen [, \%attribs ])
    (only currently used by DBD::Oracle at this time.)

Anyone hoping to use the bind_param_inout method in the next release
of DBD::Oracle (don't ask when that might be!) will need to have
built and installed this version of the DBI.

It's on ftp.demon.co.uk/pub/perl/db/DBI/ now and will make it to CPAN
in a day or three.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20701-32@oink>;
          Fri, 11 Oct 1996 07:41:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844980174:14602:11; Thu, 10 Oct 96 21:42:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14222; 10 Oct 96 21:41 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA13035 for dbi-users-real; Thu, 10 Oct 1996 11:32:15 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.koz.net ([199.72.127.50]) by toccata.fugue.com (8.8.0/8.6.11) 
          with ESMTP id LAA13031 for <dbi-users@fugue.com>;
          Thu, 10 Oct 1996 11:32:12 -0700 (PDT)
Received: from chall ([199.72.127.70]) by ns.koz.net (8.7.5/8.7.3) with SMTP 
          id OAA24167; Thu, 10 Oct 1996 14:31:34 -0400 (EDT)
Message-ID: <325D4180.116D@koz.com>
Date: Thu, 10 Oct 1996 14:33:36 -0400
From: "Charles P. Hall" <chall@koz.com>
Organization: Koz Inc.
X-Mailer: Mozilla 3.0Gold (WinNT; I)
MIME-Version: 1.0
To: Hanno Mueller <hmueller@mail.kabel.de>
CC: dbi-users@fugue.com
Subject: Re: Problems building DBI-Informix 0.24
References: <v01540b05ae830552df29@[194.121.239.125]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I don't know how related this is to Hanno's problem, but I had a
run-time error with a similar message. The functions not found were
different than his.

The only solution was to use the "nm" command to find which functions
were in what files, and add "-l" operands to the $sysliblist in
Makefile.PL

My lost functions were in the Informix ESQL libraries, but none of them
started with a "t_" like yours.

Charles Hall
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20701-37@oink>;
          Fri, 11 Oct 1996 07:42:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844980816:18124:14; Thu, 10 Oct 96 21:53:36 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17042; 10 Oct 96 21:50 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA11570 for dbi-users-real; Thu, 10 Oct 1996 09:28:47 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sultan.hsii.ccare.com (sultan.hsii.ccare.com [192.101.181.3]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id JAA11560 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 09:28:40 -0700 (PDT)
Received: from msgw.hsii.ccare.com by SULTAN.HSII.CCARE.COM (PMDF V5.0-5 #4597) 
          id <01IAH5NDMQ2O004JE6@SULTAN.HSII.CCARE.COM> 
          for dbi-users@fugue.com; Thu, 10 Oct 1996 11:28:58 -0500 (CDT)
Received: by msgw.hsii.ccare.com with Microsoft Mail 
          id <325D24F8@msgw.hsii.ccare.com>;
          Thu, 10 Oct 1996 11:31:52 -0500 (CDT)
Date: Thu, 10 Oct 1996 11:17:00 -0500 (CDT)
From: "Willard, Keith" <KWillard@msmail.hsii.ccare.com>
Subject: Re:can't login DBD-Oracle-0.39 under AIX 4.1.4
To: dbilist <dbi-users@fugue.com>
Message-id: <325D24F8@msgw.hsii.ccare.com>
X-Mailer: Microsoft Mail V3.0
Content-transfer-encoding: 7BIT
Encoding: 362 TEXT


We are also having problems virtually identical to those posted by Pat H.'s 
message, which is trying to build  under aix 4.1.4, DBD-Oracle-0.39, DBI 
0.72, Perl5.003 and Oracle 7.3.2.1  (We have also failed with Oracle 
7.3.2.2).

We have previously successfully built the same combination of DBD/DBI/Perl 
on the same box with Oracle 7.2.2 and we have successfully running this 
combination of DBD/DBI/Perl on solaris with Oracle 7.3.2.1

I am very curious if anyone has successfully built this extention with the 
Oracle 7.3 stuff on aix?

 --keith willard





details
(our connection string works just fine from sqlplus at the command line)
(we have included the irritating warning comments we always get on aix that 
seems to be a makemaker aix bug)

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

Compiling against Oracle 7.3.2.2.0 (or 7.3.2.1.0)

 perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=aix, osver=4.2.0.0, archname=aix
    uname='aix bullwinkle 2 4 006053944c00 '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
 -D_NO_PROTO'
    ccflags ='-qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
 -D_NO_PROTO'
    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 /lib /usr/lib /usr/ccs/lib
    libs=-ldbm -ldl -lld -lm -lc -lbsd -lPW
    libc=/usr/lib/libc.a, so=so
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=, ccdlflags='-bE:perl.exp'
    cccdlflags=' ', lddlflags='-H512 -T512 -bhalt:4 -bM:SRE 
 -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lc 
 -L/usr/local/lib'

@INC: /usr/local/lib/perl5.003/lib/aix/5.003 /usr/local/lib/perl5.003/lib 
/usr/local/lib/perl5.003/lib/site_perl/aix 
/usr/local/lib/perl5.003/lib/site_perl .


perl Makefile.PL

 Configuring DBD::Oracle ...

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

Using Oracle in /usr/users/oracle/app/oracle/product/7.3.2
Reading 
/usr/users/oracle/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk.
Reading /usr/users/oracle/app/oracle/product/7.3.2/precomp/env_precomp.mk.
System: perl5.003 aix bullwinkle 2 4 006053944c00
Compiler: cc -O -qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
 -D_NO_PROTO
Linker:   /bin/ld
Oracle proc.mk would have used these values but we override them:
  CC:       $(ORACLE_HOME)/bin/oraxlc
  CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) 
$(SHARED_CFLAG) $(ENV_FLAGS)
  LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME)
Linking with  -lclntsh -lxa -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon 
 -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc 
 -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm -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


jhallgre@bullwinkle28> 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.003/lib/aix/5.003" 
"-I/usr/local/lib/perl5.003/lib" -e 'use ExtUtils::Mksymlists; 
 Mksymlists("NAME" => "DBD::Oracle", "DL_FUNCS" => {  }, "DL_VARS" => []);'
        perl -I/usr/local/lib/perl5.003/lib/aix/5.003 
 -I/usr/local/lib/perl5.003/lib /usr/local/lib/perl5.003/lib/ExtUtils/xsubpp 
 -typemap /usr/local/lib/perl5.003/lib/ExtUtils/typemap Oracle.xs >Oracle.tc 
&& mv Oracle.tc Oracle.c
        cc -c -I. 
 -I/usr/users/oracle/app/oracle/product/7.3.2/precomp/public 
 -I/usr/users/oracle/app/oracle/product/7.3.2/rdbms/demo 
 -I/usr/local/lib/perl5.003/lib/site_perl/aix/DBI 
 -I/usr/local/lib/perl5.003/lib/aix/5.003/DBI -qmaxmem=8192 -D_ALL_SOURCE 
 -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D_NO_PROTO -O     -DVERSION=\"0.39\" 
 -DXS_VERSION=\"0.39\"  -I/usr/local/lib/perl5.003/lib/aix/5.003/CORE 
 Oracle.c
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 85.26: 1506-342 
(W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 126.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 145.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 151.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 287.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 592.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 598.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 616.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 617.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 629.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 630.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 636.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 642.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 763.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 813.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 874.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 905.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 910.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1000.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1032.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1044.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1081.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1082.18: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1083.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1084.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1085.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1086.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1128.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1176.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1178.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1194.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1212.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1304.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1341.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1360.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1361.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1417.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1440.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1461.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1495.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/unixish.h", line 42.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/unixish.h", line 49.26: 
1506-342 (W) "/*" detected in comment.
        cc -c -I. 
 -I/usr/users/oracle/app/oracle/product/7.3.2/precomp/public 
 -I/usr/users/oracle/app/oracle/product/7.3.2/rdbms/demo 
 -I/usr/local/lib/perl5.003/lib/site_perl/aix/DBI 
 -I/usr/local/lib/perl5.003/lib/aix/5.003/DBI -qmaxmem=8192 -D_ALL_SOURCE 
 -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D_NO_PROTO -O     -DVERSION=\"0.39\" 
 -DXS_VERSION=\"0.39\"  -I/usr/local/lib/perl5.003/lib/aix/5.003/CORE 
 dbdimp.c
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 85.26: 1506-342 
(W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 126.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 145.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 151.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 287.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 592.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 598.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 616.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 617.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 629.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 630.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 636.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 642.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 763.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 813.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 874.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 905.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 910.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1000.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1032.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1044.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1081.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1082.18: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1083.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1084.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1085.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1086.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1128.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1176.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1178.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1194.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1212.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1304.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1341.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1360.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1361.34: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1417.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1440.26: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1461.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/config.h", line 1495.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/unixish.h", line 42.42: 
1506-342 (W) "/*" detected in comment.
"/usr/local/lib/perl5.003/lib/aix/5.003/CORE/unixish.h", line 49.26: 
1506-342 (W) "/*" detected in comment.
Running Mkbootstrap for DBD::Oracle ()
        chmod 644 Oracle.bs
        LD_RUN_PATH="/usr/users/oracle/app/oracle/product/7.3.2/lib:/lib" ld 
 -o ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE 
 -bI:/usr/local/lib/perl5.003/lib/aix/5.003/CORE/perl.exp -bE:Oracle.exp -b 
noentry -lc -L/usr/local/lib Oracle.o  dbdimp.o -H512 -T512 -bhalt:4 
  -L/usr/users/oracle/app/oracle/product/7.3.2/lib -lclntsh -lxa -lsql 
 -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet 
 -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 
 -lcore3  -lnlsrtl3 -lm -lld -lm -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
Target "makemakerdflt" is up to date.




 make test TEST_VERBOSE=1
        PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib 
 -I/usr/local/lib/perl5.003/lib/aix/5.003 -I/usr/local/lib/perl5.003/lib -e 
'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' 
t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
All tests successful.
Files=1,  Tests=5,  0 secs ( 0.36 cusr  0.03 csys =  0.39 cpu)
        PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib 
 -I/usr/local/lib/perl5.003/lib/aix/5.003 -I/usr/local/lib/perl5.003/lib 
test.pl
Oraperl test application $Revision: 1.24 $

Oraperl Emulation Interface version 1.29
Oracle Driver 0.39
DBI-0.71 Switch by Tim Bunce, version 0.71


Connecting
 to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
 as 'system/manager@DRS_DEV' (via ORACLE_USERID env var or default - 
recommend name/passwd@dbname)
(ORACLE_SID='drs_dev', TWO_TASK='')
Caught a SIGSEGV at blib/lib/DBD/Oracle.pm line 142
@ = DBD::Oracle::dr::connect('DBI::dr=HASH(0x200d422c)', '', 
'system/manager@DRS_DEV', '') called from file `blib/lib/Oraperl.pm' line 98
@ = Oraperl::ora_login('', 'system/manager@DRS_DEV', '') called from file 
`test.pl' line 42
make: 1254-059 The signal code from the last command is 6.


Stop.

 sqlplus system/manager@DRS_DEV

SQL*Plus: Release 3.3.2.0.0 - Production on Thu Oct 10 10:47:47 1996

Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.


Connected to:
Oracle7 Server Release 7.2.3.0.0 - Production Release
With the distributed option
PL/SQL Release 2.2.3.0.0 - Production

SQL> quit


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20701-64@oink>;
          Fri, 11 Oct 1996 07:45:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844988162:00713:8; Thu, 10 Oct 96 23:56:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00256; 10 Oct 96 23:55 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA13296 for dbi-users-real; Thu, 10 Oct 1996 12:35:28 -0700 (PDT)
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.8.0/8.6.11) with SMTP id MAA13292 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 12:34:13 -0700 (PDT)
Received: by gateway1.srs.gov id AA02030 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Thu, 10 Oct 1996 15:31:36 -0400
Message-Id: <199610101931.AA02030@gateway1.srs.gov>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
          Thu, 10 Oct 1996 15:31:36 -0400
Date: Thu, 10 Oct 1996 15:31:50 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
To: "Willard, Keith" <KWillard@msmail.hsii.ccare.com>
Cc: dbilist <dbi-users@fugue.com>
Mime-Version: 1.0
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.5 i86pc)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <325D24F8@msgw.hsii.ccare.com>

Willard, Keith wrote:
> 
> We are also having problems virtually identical to those posted by Pat H.'s
> message, which is trying to build  under aix 4.1.4, DBD-Oracle-0.39, DBI
> 0.72, Perl5.003 and Oracle 7.3.2.1  (We have also failed with Oracle
> 7.3.2.2).
> 
> We have previously successfully built the same combination of DBD/DBI/Perl
> on the same box with Oracle 7.2.2 and we have successfully running this
> combination of DBD/DBI/Perl on solaris with Oracle 7.3.2.1
> 
> I am very curious if anyone has successfully built this extention with the
> Oracle 7.3 stuff on aix?
> 

I've had the same problem and have not found a solution.  I also have
had problems just builing Perl5.003 under AIX 4.1.4 with error's like
this:

I am compiling Perl5.003 for AIX 1.4.  Perl compiles and passes all
tests, but when I run make test or just rerun make to verify that
everything is up to date I get the following messages:

        Making DynaLoader (static)
         cc   -bE:perl.exp -o perl perlmain.o libperl.a
lib/auto/DynaLoader/Dyn 
ld: 0711-415 WARNING: Symbol Perl_nexttype is already exported.
ld: 0711-415 WARNING: Symbol Perl_nextval is already exported.
ld: 0711-415 WARNING: Symbol Perl_filter_add is already exported.
ld: 0711-415 WARNING: Symbol Perl_filter_del is already exported.
ld: 0711-415 WARNING: Symbol Perl_filter_read is already exported.
ld: 0711-415 WARNING: Symbol Perl_save_pptr is already exported.
ld: 0711-415 WARNING: Symbol Perl_sighandler is already exported.
ld: 0711-319 WARNING: Exported symbol not defined: Perl_abs_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_add_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_add_ass_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_additem
ld: 0711-319 WARNING: Exported symbol not defined: Perl_atan2_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_band_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_bool__amg

and a bunch more of the same type of errors.  The perl binary (as in the
cc command above exists and works, but if I keep rerunning make, this
keep happening.

I looked in the perl-porters archive and found that others were having
trouble with AIX 4.1.x and Perl5.00x...  Couldn't find a solution.  I've
also tried gcc which resulted in a different set of problems.

Does anyone know what is up with this?

---
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 punt.demon.co.uk by oink with SMTP (PP) id <20701-66@oink>;
          Fri, 11 Oct 1996 07:46:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844991090:14209:12; Fri, 11 Oct 96 00:44:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13895; 11 Oct 96 0:43 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA13620 for dbi-users-real; Thu, 10 Oct 1996 13:50:47 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id NAA13616 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 13:50:44 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id VAA00603;
          Thu, 10 Oct 1996 21:37:13 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id VAA00735; Thu, 10 Oct 1996 21:49:11 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199610102049.VAA00735@chewbacca.hermetica.com>
Subject: Re: DBD Oracle on Linux.
To: smferri0@wcc.com (Shawn M Ferris)
Date: Thu, 10 Oct 1996 21:49:04 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <9610101837.AA29565@wcc.com> from "Shawn M Ferris" at Oct 10, 96 12:30:05 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


> For those who have had success on getting this running, all I ask is if a
> sco-cross compiler was the only thing necessary and some possible tips to
> get it working. I have successfully created the compiler and am still
> having some problems. Any help will be greatly appreciated. I'm sure if I
> play long enough I can get it working, but would like to know if I missing
> something.

Believe it or not, I just got it working not 5 minutes ago after having got
it working last year sometime, then having to remove Oracle off my Linux box
due to space considerations.

Basically, get idld and idas from the SCO Unix distribution, then, run all the
stuff as per usual, however, at the stage where it should link the shared
library, kill the make, then replace the gcc/cc line with what it says has
been ignored from proc.mk. Then type 'make' again. It'll then make the shared
library with the SCO stuff, which works fine.

I'm using Linux 2.1.1 ( woo! ) and the latest ibcs2 and it works fine and 
dandy. Even to the extent that I can run CGI stuff locally over SQL*Net V2
to a remote database over a PPP link! So nah!

> SMF 8)

-- 
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 <20701-68@oink>;
          Fri, 11 Oct 1996 07:46:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 844991092:14211:11; Fri, 11 Oct 96 00:44:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14019; 11 Oct 96 0:44 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA13645 for dbi-users-real; Thu, 10 Oct 1996 13:52:13 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from asterix.danosi.dk (asterix.danosi.dk [193.88.50.70]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA13641 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 13:51:57 -0700 (PDT)
Received: from flamenco. by asterix.danosi.dk (SMI-8.6/SMI-SVR4) id WAA05171;
          Thu, 10 Oct 1996 22:50:47 +0200
Received: from localhost by flamenco. (SMI-8.6/SMI-SVR4) id WAA24363;
          Thu, 10 Oct 1996 22:54:19 +0200
Date: Thu, 10 Oct 1996 22:54:19 +0200 (MET DST)
From: Soren Juul Moller <sjm@danosi.dk>
X-Sender: sjm@flamenco
To: DBI Users List <dbi-users@fugue.com>
Subject: Re: DBD Oracle on Linux.
In-Reply-To: <9610101837.AA29565@wcc.com>
Message-ID: <Pine.GSO.3.94.961010224813.24357B-100000@flamenco>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 10 Oct 1996, Shawn M Ferris wrote:

> For those who have had success on getting this running, all I ask is if a
> sco-cross compiler was the only thing necessary and some possible tips to
> get it working. I have successfully created the compiler and am still
> having some problems. Any help will be greatly appreciated. I'm sure if I
> play long enough I can get it working, but would like to know if I missing
> something.

Same for me. I also very much like to hear how they did.
I'm even have trouble building the compiler (missing libgcc.a, crt1.o and
so on).
Another problem is that I can't install Oracle correctly (missing idcomp, 
idld ...). Instead I copied all the packed files and uncompressed them by
hand. This means that the libraries are not merged. This alone will give
DBD-Oracle link problems.

--
Soren Juul Moller                          Danosi A/S
sjm@danosi.dk                              Lautrupbjerg 5
(+45) 4489 4959                            DK-2750 Ballerup

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23252-3@oink>;
          Fri, 11 Oct 1996 10:11:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845019844:08242:14; Fri, 11 Oct 96 08:44:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08130; 11 Oct 96 8:43 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id WAA15018 for dbi-users-real; Thu, 10 Oct 1996 22:06:21 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bme.inje.ac.kr (bme.inje.ac.kr [203.241.225.11]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id WAA15014 
          for <dbi-users@fugue.com>; Thu, 10 Oct 1996 22:06:09 -0700 (PDT)
Received: from Info_Hoon.inje.ac.kr ([203.241.225.59]) 
          by bme.inje.ac.kr (8.6.12h2/8.6.9) with SMTP id OAA03651 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 14:01:40 +0900
Message-Id: <3.0b33.32.19961010192102.006865b0@bme.inje.ac.kr>
X-Sender: jch93@bme.inje.ac.kr
X-Mailer: Windows Eudora Pro Version 3.0b33 (32)
Date: Fri, 11 Oct 1996 14:05:56 +0900
To: dbi-users@fugue.com
From: Chang-hoon Ji <jch93@bmesolaris.inje.ac.kr>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

unsubscribe
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23947-0@oink>;
          Fri, 11 Oct 1996 11:55:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845026993:14403:3; Fri, 11 Oct 96 10:43:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13965; 11 Oct 96 10:42 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id AAA15221 for dbi-users-real; Fri, 11 Oct 1996 00:13:49 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from pe.langs.co.at (pe.langs.co.at [193.80.61.83]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id AAA15217 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 00:13:46 -0700 (PDT)
From: gerhard@pe.langs.co.at
Received: by pe.langs.co.at (AIX 4.1/UCB 5.64/4.03) id AA18868;
          Fri, 11 Oct 1996 09:11:45 +0200
Date: Fri, 11 Oct 1996 09:11:45 +0200
Message-Id: <9610110711.AA18868@pe.langs.co.at>
To: hmueller@mail.kabel.de
Subject: Re: Problems building DBI-Informix 0.24
Cc: dbi-users@fugue.com
Reply-To: glangs@relay1.Austria.EU.net
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Md5: 6/sOvuqcUpNw/ghqe3Fqag==


>I am having troubles building DBI-Informix 0.24 on an AIX-Machine with gcc
>and Informix 7.1.
>
>The "ld" call of the makefile fails:
>
>ld: 0711-317 ERROR: Undefined symbol: t_errno
>ld: 0711-317 ERROR: Undefined symbol: .t_open
>ld: 0711-317 ERROR: Undefined symbol: .t_alloc
... rest deleted

It's the tli library you are missing. 
(/usr/lib/libtli.a, Informix esql/c requires it).

-----------------------------------------------------------------
Langs Gerhard                      glangs@mail.Austria.eu.net

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25502-22@oink>;
          Fri, 11 Oct 1996 18:03:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845047971:10155:65; Fri, 11 Oct 96 16:32:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09285; 11 Oct 96 16:29 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA15591 for dbi-users-real; Fri, 11 Oct 1996 05:36:50 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bme.inje.ac.kr (bme.inje.ac.kr [203.241.225.11]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA15587 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 05:36:46 -0700 (PDT)
Received: from Info_Hoon.inje.ac.kr ([203.241.225.59]) 
          by bme.inje.ac.kr (8.6.12h2/8.6.9) with SMTP id VAA05656 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 21:32:27 +0900
Message-Id: <3.0b33.32.19961011213628.00693f18@bme.inje.ac.kr>
X-Sender: jch93@bme.inje.ac.kr
X-Mailer: Windows Eudora Pro Version 3.0b33 (32)
Date: Fri, 11 Oct 1996 21:36:28 +0900
To: dbi-users@fugue.com
From: Chang-hoon Ji <jch93@bmesolaris.inje.ac.kr>
Subject: Help me method.
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

Please unsubscribe.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25502-24@oink>;
          Fri, 11 Oct 1996 18:04:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845048039:10941:1; Fri, 11 Oct 96 16:33:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10393; 11 Oct 96 16:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id EAA15509 for dbi-users-real; Fri, 11 Oct 1996 04:37:33 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA15505 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 04:37:27 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac27305;
          11 Oct 96 12:03 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa00521; 11 Oct 96 11:55 BST
Received: from toad by oink with SMTP (PP) id <23811-0@oink>;
          Fri, 11 Oct 1996 11:02:42 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21753;
          Fri, 11 Oct 1996 11:02:35 +0000
Date: Fri, 11 Oct 1996 11:02:35 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610111002.AA21753@toad.ig.co.uk>
To: perl5-porters@nicoh.com
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to perl5-porters in case someone can offer some help.

Meanwhile can AIX 4.1 users on the dbi-users mailing list please grab
a copy of perl5.003_07 from the address below and retry the builds
<http://www.lafayette.edu/~doughera/doughera/perl/perl5.003_07.tar.gz>
(or $CPAN/id/ANDYD/perl5.003_07.tar.gz in a day or so.)

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

From owner-dbi-users@fugue.com  Fri Oct 11 07:53:56 1996
Date: Thu, 10 Oct 1996 15:31:50 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
To: "Willard, Keith" <KWillard@msmail.hsii.ccare.com>
Cc: dbilist <dbi-users@fugue.com>
References: <325D24F8@msgw.hsii.ccare.com>

Willard, Keith wrote:
> 
> We are also having problems virtually identical to those posted by Pat H.'s
> message, which is trying to build  under aix 4.1.4, DBD-Oracle-0.39, DBI
> 0.72, Perl5.003 and Oracle 7.3.2.1  (We have also failed with Oracle
> 7.3.2.2).
> 
> We have previously successfully built the same combination of DBD/DBI/Perl
> on the same box with Oracle 7.2.2 and we have successfully running this
> combination of DBD/DBI/Perl on solaris with Oracle 7.3.2.1
> 
> I am very curious if anyone has successfully built this extention with the
> Oracle 7.3 stuff on aix?
> 

I've had the same problem and have not found a solution.  I also have
had problems just builing Perl5.003 under AIX 4.1.4 with error's like
this:

I am compiling Perl5.003 for AIX 1.4.  Perl compiles and passes all
tests, but when I run make test or just rerun make to verify that
everything is up to date I get the following messages:

        Making DynaLoader (static)
         cc   -bE:perl.exp -o perl perlmain.o libperl.a
lib/auto/DynaLoader/Dyn 
ld: 0711-415 WARNING: Symbol Perl_nexttype is already exported.
ld: 0711-415 WARNING: Symbol Perl_nextval is already exported.
ld: 0711-415 WARNING: Symbol Perl_filter_add is already exported.
ld: 0711-415 WARNING: Symbol Perl_filter_del is already exported.
ld: 0711-415 WARNING: Symbol Perl_filter_read is already exported.
ld: 0711-415 WARNING: Symbol Perl_save_pptr is already exported.
ld: 0711-415 WARNING: Symbol Perl_sighandler is already exported.
ld: 0711-319 WARNING: Exported symbol not defined: Perl_abs_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_add_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_add_ass_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_additem
ld: 0711-319 WARNING: Exported symbol not defined: Perl_atan2_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_band_amg
ld: 0711-319 WARNING: Exported symbol not defined: Perl_bool__amg

and a bunch more of the same type of errors.  The perl binary (as in the
cc command above exists and works, but if I keep rerunning make, this
keep happening.

I looked in the perl-porters archive and found that others were having
trouble with AIX 4.1.x and Perl5.00x...  Couldn't find a solution.  I've
also tried gcc which resulted in a different set of problems.

Does anyone know what is up with this?

---
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.
---

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

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25502-49@oink>;
          Fri, 11 Oct 1996 18:08:13 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845051567:02632:47; Fri, 11 Oct 96 17:32:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02144; 11 Oct 96 17:30 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA15658 for dbi-users-real; Fri, 11 Oct 1996 06:15:36 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA15654 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 06:15:34 -0700 (PDT)
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail.austin.ibm.com (8.6.12/8.6.11) with ESMTP id IAA94110;
          Fri, 11 Oct 1996 08:15:30 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) id IAA23382;
          Fri, 11 Oct 1996 08:15:27 -0500 (CDT)
Message-Id: <199610111315.IAA23382@dax.austin.ibm.com>
X-Mailer: exmh version 1.6.7 5/3/96
To: james.taylor@srs.gov, KWillard@msmail.hsii.ccare.com
Cc: perl5-porters@nicoh.com, dbi-users@fugue.com
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
In-reply-to: Your message of Fri, 11 Oct 96 11:02:35 +0000. <9610111002.AA21753@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 11 Oct 96 08:15:26 -0500


> ----- Begin Included Message -----
> 
James Taylor <james.taylor@srs.gov> wrote:
> Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
> To: "Willard, Keith" <KWillard@msmail.hsii.ccare.com>
> Cc: dbilist <dbi-users@fugue.com>
> References: <325D24F8@msgw.hsii.ccare.com>
> 
> Willard, Keith wrote:
> > 
> > We are also having problems virtually identical to those posted by Pat H.'s
> > message, which is trying to build  under aix 4.1.4, DBD-Oracle-0.39, DBI
> > 0.72, Perl5.003 and Oracle 7.3.2.1  (We have also failed with Oracle
> > 7.3.2.2).

If perl built successfully, then this is an Oracle on AIX issue.  Otherwise,
it is likely a missing component under AIX.  Check to make sure that all
of bos.adt ( 13 pieces ) and all of bos.compat ( 11 pieces ) were
installed.

> > 
> > We have previously successfully built the same combination of DBD/DBI/Perl
> > on the same box with Oracle 7.2.2 and we have successfully running this
> > combination of DBD/DBI/Perl on solaris with Oracle 7.3.2.1
> > 
> > I am very curious if anyone has successfully built this extention with the
> > Oracle 7.3 stuff on aix?
> > 
> 
> I've had the same problem and have not found a solution.  I also have
> had problems just builing Perl5.003 under AIX 4.1.4 with error's like
> this:
> 
> I am compiling Perl5.003 for AIX 1.4.  Perl compiles and passes all
> tests, but when I run make test or just rerun make to verify that
> everything is up to date I get the following messages:
> 
>         Making DynaLoader (static)
>          cc   -bE:perl.exp -o perl perlmain.o libperl.a
> lib/auto/DynaLoader/Dyn 
> ld: 0711-415 WARNING: Symbol Perl_nexttype is already exported.
> ld: 0711-319 WARNING: Exported symbol not defined: Perl_abs_amg
[ list shorten ]
> 
> and a bunch more of the same type of errors.  The perl binary (as in the
> cc command above exists and works, but if I keep rerunning make, this
> keep happening.
> 

All of the 

ld:  0711-415 WARNING:  Symbol X is already exported.

or

ld:  0711-319 WARNING:  Exported symbol not defined:  X

messages are a by product of the way perl is faking dynamic loading and
should be ignored.  Unfortunately, there are only two ways to make the
warnings disappear and both will take an inordinate amount of time to
implement and test...something which I don't have at the present time.

Rest assured that the message are for information only and will happen
no matter how many times you run make.

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


Mike
----------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content 
mhm@austin.ibm.com                | of this posting is independent of 
Modeling, Analysis, and Compilers | official IBM position.
IBM Corporation, Austin, Texas    |


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25502-20@oink>;
          Fri, 11 Oct 1996 18:03:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845047825:08847:61; Fri, 11 Oct 96 16:30:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09323; 11 Oct 96 16:29 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA15612 for dbi-users-real; Fri, 11 Oct 1996 05:43:13 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.kabel.de ([194.121.239.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA15604 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 05:43:09 -0700 (PDT)
Received: from [194.121.239.125] by mail.kabel.de (AIX 4.1/UCB 5.64/4.03) 
          id AA05908; Fri, 11 Oct 1996 14:39:32 +0100
Date: Fri, 11 Oct 1996 14:39:32 +0100
X-Sender: hmueller@mail.kabel.de
Message-Id: <v01540b05ae8407f7a11b@[194.121.239.125]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: hmueller@mail.kabel.de (Hanno Mueller)
Subject: Thanks, problem solved!... (Problems building DBI-Informix 0.24)

Thanks everyone who replied. This message helped me -
maybe a note like this should be added to the README:

>From: Craig Rodrigues <craig@cyberplex.com>
>Subject: Re: Problems building DBI-Informix 0.24
>To: hmueller@mail.kabel.de (Hanno Mueller)
>Date: Thu, 10 Oct 1996 14:34:06 -0400 (EDT)
>Mime-Version: 1.0
>
>Hello,
>
>If you have esql, type esql -v.  Look at all the libraries that are being
linked in.
>Go to Makefile.PL, and add the necessary libraries that are not being
>linked to: $sysliblist
>
>It seems that esql links in some libraries that are different for each
>Informix platform.
>--
>Craig Rodrigues                     CyberPlex Interactive Media
>Application Programmer              24 Duncan St., Suite 300
>                                    Toronto ON  M5V 2B8   CANADA
>craig@cyberplex.com                 (416) 597-8889(voice) (416)597-2345(fax)

Greetings,

Hanno


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25502-26@oink>;
          Fri, 11 Oct 1996 18:04:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845048065:10939:36; Fri, 11 Oct 96 16:34:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10303; 11 Oct 96 16:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA15608 for dbi-users-real; Fri, 11 Oct 1996 05:43:13 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail.kabel.de ([194.121.239.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA15603 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 05:43:06 -0700 (PDT)
Received: from [194.121.239.125] by mail.kabel.de (AIX 4.1/UCB 5.64/4.03) 
          id AA05914; Fri, 11 Oct 1996 14:39:37 +0100
Date: Fri, 11 Oct 1996 14:39:37 +0100
X-Sender: hmueller@mail.kabel.de
Message-Id: <v01540b06ae84097ffd4c@[194.121.239.125]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-users@fugue.com
From: hmueller@mail.kabel.de (Hanno Mueller)
Subject: ...more questions: $cursor->finish?

Hello everyone,


now that I have DBI 0.73 and DBD::Informix 0.24 up and running,
we were trying a few test programs.

I tried a modified version of the perl script that is on
http://www.hermetica.com/technologia/DBI/examples/ex2.html:

        #!/usr/bin/perl
        #
        # ex2.pl: Written by Alligator Descartes

        use DBI;

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

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

        $cursor = $dbh->prepare( "SELECT name, number FROM names"
        $cursor->execute;

        while ( @fields = $cursor->fetchrow ) {
            foreach $w (@fields) {
                print "*$w* ";
            }
            print "\n";
          }

        $cursor->finish;
        #undef $cursor;

        $dbh->disconnect;

and it worked except for one peculiar error message...
Here's what it says:

"disconnect(DBI::db=HASH(0x2009160c)) invalidates 1 associated cursor(s)"


Now if I undefine $cursor before disconnection $dbh, the error message does
not occur.


However, I thought that $cursor->finish; would do the job completely.

Why should I undefine the $cursor?

Is it a bug or a feature?


Greetings,

Hanno


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25502-52@oink>;
          Fri, 11 Oct 1996 18:08:45 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845051767:03938:42; Fri, 11 Oct 96 17:36:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03291; 11 Oct 96 17:34 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA15707 for dbi-users-real; Fri, 11 Oct 1996 06:30:09 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA15703 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 06:30:07 -0700 (PDT)
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail.austin.ibm.com (8.6.12/8.6.11) with ESMTP id IAA117094;
          Fri, 11 Oct 1996 08:30:05 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) id IAA13894;
          Fri, 11 Oct 1996 08:30:05 -0500 (CDT)
Message-Id: <199610111330.IAA13894@dax.austin.ibm.com>
X-Mailer: exmh version 1.6.7 5/3/96
To: hmueller@mail.kabel.de (Hanno Mueller)
cc: dbi-users@fugue.com
Subject: Re: Problems building DBI-Informix 0.24
In-reply-to: Your message of Thu, 10 Oct 96 19:55:51 +0100. <v01540b05ae830552df29@[194.121.239.125]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 11 Oct 96 08:30:05 -0500


hmueller@mail.kabel.de (Hanno Mueller)  writes:
> Hello everyone,
> 
> 
> I am having troubles building DBI-Informix 0.24 on an AIX-Machine with gcc
> and Informix 7.1.
> 
> The "ld" call of the makefile fails:
> 
> ld: 0711-317 ERROR: Undefined symbol: t_errno
> ld: 0711-317 ERROR: Undefined symbol: .t_open
> ld: 0711-317 ERROR: Undefined symbol: .t_alloc
> ld: 0711-317 ERROR: Undefined symbol: .t_bind
> ld: 0711-317 ERROR: Undefined symbol: .t_free
> ld: 0711-317 ERROR: Undefined symbol: .t_close
> ld: 0711-317 ERROR: Undefined symbol: .t_connect
> ld: 0711-317 ERROR: Undefined symbol: .t_look
> ld: 0711-317 ERROR: Undefined symbol: .t_rcvconnect
> ld: 0711-317 ERROR: Undefined symbol: .t_unbind
> ld: 0711-317 ERROR: Undefined symbol: .t_rcvdis
> ld: 0711-317 ERROR: Undefined symbol: .t_accept
> ld: 0711-317 ERROR: Undefined symbol: .t_listen
> ld: 0711-317 ERROR: Undefined symbol: .t_snd
> ld: 0711-317 ERROR: Undefined symbol: .t_rcv
> ld: 0711-317 ERROR: Undefined symbol: .t_sync
> ld: 0711-317 ERROR: Undefined symbol: .t_sndrel
> ld: 0711-317 ERROR: Undefined symbol: .t_rcvrel
> ld: 0711-317 ERROR: Undefined symbol: .t_rcvudata
> ld: 0711-317 ERROR: Undefined symbol: .t_sndudata
> 

Informix is using the streams modules, which your system
has not pushed into place.

Mike
----------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content 
mhm@austin.ibm.com                | of this posting is independent of 
Modeling, Analysis, and Compilers | official IBM position.
IBM Corporation, Austin, Texas    |


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25502-47@oink>;
          Fri, 11 Oct 1996 18:07:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845051533:02635:17; Fri, 11 Oct 96 17:32:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02154; 11 Oct 96 17:30 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA15696 for dbi-users-real; Fri, 11 Oct 1996 06:28:54 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA15692 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 06:28:51 -0700 (PDT)
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail.austin.ibm.com (8.6.12/8.6.11) with ESMTP id IAA16448;
          Fri, 11 Oct 1996 08:28:50 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) id IAA17460;
          Fri, 11 Oct 1996 08:28:50 -0500 (CDT)
Message-Id: <199610111328.IAA17460@dax.austin.ibm.com>
X-Mailer: exmh version 1.6.7 5/3/96
To: "Willard, Keith" <KWillard@msmail.hsii.ccare.com>
cc: dbilist <dbi-users@fugue.com>
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
In-reply-to: Your message of Thu, 10 Oct 96 11:17:00 -0500. <325D24F8@msgw.hsii.ccare.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 11 Oct 96 08:28:49 -0500


"Willard, Keith" <KWillard@msmail.hsii.ccare.com>  writes:
> Compiling against Oracle 7.3.2.2.0 (or 7.3.2.1.0)
> 
>  perl -V
> Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:

First, move up to atleast perl5.005_5, and perferrably perl5.003_7.
This will fix all the "comment within comment" problems.

 
>  Configuring DBD::Oracle ...
> 
> >>>     Remember to actually *READ* the README file!
>         Especially if you have any problems.
> 
> Using Oracle in /usr/users/oracle/app/oracle/product/7.3.2
> Reading 
> /usr/users/oracle/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk.
> Reading /usr/users/oracle/app/oracle/product/7.3.2/precomp/env_precomp.mk.
> System: perl5.003 aix bullwinkle 2 4 006053944c00
> Compiler: cc -O -qmaxmem=8192 -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
>  -D_NO_PROTO
> Linker:   /bin/ld
> Oracle proc.mk would have used these values but we override them:
>   CC:       $(ORACLE_HOME)/bin/oraxlc
>   CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) 
> $(SHARED_CFLAG) $(ENV_FLAGS)
>   LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME)
> Linking with  -lclntsh -lxa -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon 
>  -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc 
>  -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lm -lld -lm -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
> 
> 
> jhallgre@bullwinkle28> 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.003/lib/aix/5.003" 
> "-I/usr/local/lib/perl5.003/lib" -e 'use ExtUtils::Mksymlists; 
>  Mksymlists("NAME" => "DBD::Oracle", "DL_FUNCS" => {  }, "DL_VARS" => []);'
>         perl -I/usr/local/lib/perl5.003/lib/aix/5.003 
>  -I/usr/local/lib/perl5.003/lib /usr/local/lib/perl5.003/lib/ExtUtils/xsubpp 
>  -typemap /usr/local/lib/perl5.003/lib/ExtUtils/typemap Oracle.xs >Oracle.tc 
> && mv Oracle.tc Oracle.c
>         cc -c -I. 
>  -I/usr/users/oracle/app/oracle/product/7.3.2/precomp/public 
>  -I/usr/users/oracle/app/oracle/product/7.3.2/rdbms/demo 
>  -I/usr/local/lib/perl5.003/lib/site_perl/aix/DBI 
>  -I/usr/local/lib/perl5.003/lib/aix/5.003/DBI -qmaxmem=8192 -D_ALL_SOURCE 
>  -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D_NO_PROTO -O     -DVERSION=\"0.39\" 
>  -DXS_VERSION=\"0.39\"  -I/usr/local/lib/perl5.003/lib/aix/5.003/CORE 
>  Oracle.c
>         cc -c -I. 
>  -I/usr/users/oracle/app/oracle/product/7.3.2/precomp/public 
>  -I/usr/users/oracle/app/oracle/product/7.3.2/rdbms/demo 
>  -I/usr/local/lib/perl5.003/lib/site_perl/aix/DBI 
>  -I/usr/local/lib/perl5.003/lib/aix/5.003/DBI -qmaxmem=8192 -D_ALL_SOURCE 
>  -D_ANSI_C_SOURCE -D_POSIX_SOURCE -D_NO_PROTO -O     -DVERSION=\"0.39\" 
>  -DXS_VERSION=\"0.39\"  -I/usr/local/lib/perl5.003/lib/aix/5.003/CORE 
>  dbdimp.c
> Running Mkbootstrap for DBD::Oracle ()
>         chmod 644 Oracle.bs
>         LD_RUN_PATH="/usr/users/oracle/app/oracle/product/7.3.2/lib:/lib" ld 
>  -o ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE 
>  -bI:/usr/local/lib/perl5.003/lib/aix/5.003/CORE/perl.exp -bE:Oracle.exp -b 
> noentry -lc -L/usr/local/lib Oracle.o  dbdimp.o -H512 -T512 -bhalt:4 
>   -L/usr/users/oracle/app/oracle/product/7.3.2/lib -lclntsh -lxa -lsql 
>  -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet 
>  -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 
>  -lcore3  -lnlsrtl3 -lm -lld -lm -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
> Target "makemakerdflt" is up to date.
> 
> 
> 
> 
>  make test TEST_VERBOSE=1
>         PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib 
>  -I/usr/local/lib/perl5.003/lib/aix/5.003 -I/usr/local/lib/perl5.003/lib -e 
> 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' 
> t/*.t
> t/base..............1..5
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok
> All tests successful.
> Files=1,  Tests=5,  0 secs ( 0.36 cusr  0.03 csys =  0.39 cpu)
>         PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib 
>  -I/usr/local/lib/perl5.003/lib/aix/5.003 -I/usr/local/lib/perl5.003/lib 
> test.pl
> Oraperl test application $Revision: 1.24 $
> 
> Oraperl Emulation Interface version 1.29
> Oracle Driver 0.39
> DBI-0.71 Switch by Tim Bunce, version 0.71
> 

Up to now everything looks noraml.

> Connecting
>  to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
>  as 'system/manager@DRS_DEV' (via ORACLE_USERID env var or default - 
> recommend name/passwd@dbname)
> (ORACLE_SID='drs_dev', TWO_TASK='')

This looks a little strange, but then I don't run Oracle.

Are you sure that an appropriate login string is being built and passed
on?

Mike

----------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content 
mhm@austin.ibm.com                | of this posting is independent of 
Modeling, Analysis, and Compilers | official IBM position.
IBM Corporation, Austin, Texas    |


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25502-55@oink>;
          Fri, 11 Oct 1996 18:09:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845052700:09339:0; Fri, 11 Oct 96 17:51:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08443; 11 Oct 96 17:49 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA15725 for dbi-users-real; Fri, 11 Oct 1996 06:50:28 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gate.randomwalk.com (root@[206.25.187.125]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id GAA15721 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 06:50:26 -0700 (PDT)
Received: from ballantine.ivillage.com (ballantine.ivillage.com [204.151.56.31]) 
          by gate.randomwalk.com (8.7.5/8.7.3) with SMTP id JAA08359;
          Fri, 11 Oct 1996 09:49:36 -0400
Message-ID: <325E7AC6.1152@randomwalk.com>
Date: Fri, 11 Oct 1996 09:50:14 -0700
From: Li Markakis <lmarkakis@randomwalk.com>
X-Mailer: Mozilla 3.0 (X11; I; IRIX 6.2 IP22)
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 <04087-35@oink>;
          Mon, 14 Oct 1996 07:40:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845063149:10936:17; Fri, 11 Oct 96 20:45:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10646; 11 Oct 96 20:45 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA15870 for dbi-announce-real;
          Fri, 11 Oct 1996 08:28:42 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gw1.fbc.com ([198.240.130.66]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA15866 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 08:28:39 -0700 (PDT)
Received: by gw1.fbc.com (4.1/GW1-v1.1) id AA15770; Fri, 11 Oct 96 11:35:13 EDT
Received: from unknown(169.39.5.57) by gw1.fbc.com via smap (V1.3) id tma015763;
          Fri Oct 11 11:35:09 1996
Received: from csfp.co.uk (root@[159.156.6.192]) 
          by csfb1.fir.fbc.com (8.6.12/8.6.12) with SMTP id LAA09622 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 11:27:59 -0400
Received: from dundee.csfp.co.uk by csfp.co.uk (4.1/SMI-4.1.v1(H_mailhost)) 
          id AA23948; Fri, 11 Oct 96 16:27:56 BST
Received: by dundee.csfp.co.uk (SMI-8.6/SMI-SVR4) id QAA08858;
          Fri, 11 Oct 1996 16:27:56 +0100
Date: Fri, 11 Oct 1996 16:27:56 +0100
From: bpatel1@csfp.co.uk (Bhupendra Kumar Patel)
Message-Id: <9610111627.ZM8856@dundee>
X-Mailer: Z-Mail (3.2.1 10apr95)
To: dbi-announce@fugue.com
Subject: unsubscribe dbi-announce@fugue.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

unsubscribe dbi-announce@fugue.com

-- 
-----------------------------------------------------------------------
Bhupendra K. Patel                         Email:    bpatel1@csfp.co.uk
Information Technology Development           Tel:   +44 (0)171 516 2408
Credit Suisse Financial Products             Fax:   +44 (0)171 516 4101 
-----------------------------------------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-42@oink>;
          Mon, 14 Oct 1996 07:41:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845065381:22708:10; Fri, 11 Oct 96 21:23:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22425; 11 Oct 96 21:22 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA16030 for dbi-announce-real;
          Fri, 11 Oct 1996 09:34:39 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeep.ti.com (news.ti.com [192.94.94.33]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id JAA16026 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 09:34:37 -0700 (PDT)
Received: from robin.itg.ti.com ([128.247.31.238]) by gatekeep.ti.com (8.6.13) 
          with ESMTP id LAA20295 for <dbi-announce@fugue.com>;
          Fri, 11 Oct 1996 11:34:04 -0500
Received: from dsbs15.itg.ti.com (DSBS15.itg.ti.com [128.247.30.97]) 
          by robin.itg.ti.com (8.7.3/8.6.11) with SMTP id LAA26064 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 11:26:14 -0500 (CDT)
Received: from ti (cna0176818.dseg.ti.com [157.170.37.18]) 
          by dsbs15.itg.ti.com (TI SMTPMail MTA v1.0.4.2) with SMTP 
          id CEQIBGBF; Fri, 11 Oct 1996 11:33:31 -0600
X-Mailer: BeyondMail for Windows/Professional 2.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
To: dbi-announce@fugue.com
From: Kurt Cearley <kcearley@ti.com>
Subject: unsubscribe
Date: Fri, 11 Oct 1996 11:36:33 -0700
X-BeyondMail-Priority: 1
Message-Id: <BMSMTP8450589700a0176818@dsbs15.itg.ti.com>
Conversation-Id: <BMSMTP8450589701a0176818@dsbs15.itg.ti.com>
Reply-To: Kurt Cearley <kcearley@ti.com>
X-Receipt-From-Agent: true


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-86@oink>;
          Mon, 14 Oct 1996 07:45:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845073785:01327:2; Fri, 11 Oct 96 23:43:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01046; 11 Oct 96 23:41 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA16392 for dbi-users-real; Fri, 11 Oct 1996 12:56:21 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from fastlane.net (fastlane.net [204.251.16.10]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id MAA16388 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 12:56:19 -0700 (PDT)
Received: from bogey (fw55.fastlane.net [206.42.189.55]) 
          by fastlane.net (8.7.5/8.7.3) with SMTP id OAA08574 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 14:59:13 -0500 (CDT)
Message-ID: <325EC1E1.4752@fastlane.net>
Date: Fri, 11 Oct 1996 14:53:37 -0700
From: Richard Buentello <rich@fastlane.net>
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBI problems
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I downloaded DBI-0_73_tar and have expanded it on my ATT Unix system.  I
have Perl 5 installed (/usr/local/lib/perl5/3435-svr4/5.003).  In the
README instructions for DBI it instructs me to run the following
command:

	perl Makefile.PL

when I execute this command the following error is returned:


	(Exporter.pm not found) at
/usr/local/lib/perl5/3435-svr4/5.003/ExtUtils/MM_Unix.pm line 1589.
	Could not open 'DBI.pm': No such file or director at
/usr/local/lib/perl5/3435-svr4/5.003/ExtUtils/MM_Unix.pm line 2315.


I have expanded DBI in a separate directory (home/tech/DBI) and is not
under the Perl tree.  Any ideas....Thanks Richard Buentello
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-88@oink>;
          Mon, 14 Oct 1996 07:45:47 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845073787:01326:6; Fri, 11 Oct 96 23:43:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01098; 11 Oct 96 23:42 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA16424 for dbi-users-real; Fri, 11 Oct 1996 13:17:38 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from jpmgate1.jpmorgan.com (jpmorgan.jpmorgan.com [146.149.99.127]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id NAA16420 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 13:17:35 -0700 (PDT)
Received: from jpmgate1.jpmorgan.com (mrzip.ny.jpmorgan.com [146.149.1.2]) 
          by jpmgate1.jpmorgan.com (8.7.6/8.7.5) with SMTP id QAA18981 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 16:17:33 -0400
Received: from nyfxd87 (nyfxd87.ny.jpmorgan.com [169.124.20.87]) 
          by mrzip.ny.jpmorgan.com (8.8.0/8.7.6) with SMTP id QAA17581;
          Fri, 11 Oct 1996 16:17:32 -0400 (EDT)
Message-ID: <325EAB5C.695@jpmorgan.com>
Date: Fri, 11 Oct 1996 16:17:32 -0400
From: Harvi Sachar <sachar_harvi@jpmorgan.com>
Organization: JP Morgan
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD for oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
Does this interface (perl to oracle) works on NT.

Thanks

harvi Sachar

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-110@oink>;
          Mon, 14 Oct 1996 07:48:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845079695:24401:11; Sat, 12 Oct 96 01:21:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24292; 12 Oct 96 1:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id PAA16628 for dbi-users-real; Fri, 11 Oct 1996 15:25:18 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from abyss.ecst.csuchico.edu (abyss.ecst.csuchico.edu [132.241.1.34]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id PAA16624 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 15:25:15 -0700 (PDT)
Received: (from kal@localhost) 
          by abyss.ecst.csuchico.edu (8.8.Beta.4/8.8.Beta.4) id PAA17633 
          for dbi-users@fugue.com; Fri, 11 Oct 1996 15:24:30 -0700 (PDT)
From: Simplicist <kal@ecst.csuchico.edu>
Message-Id: <199610112224.PAA17633@abyss.ecst.csuchico.edu>
Subject: DBD-Oracle-0.39 installation: what if Oracle is not local?
To: dbi-users@fugue.com
Date: Fri, 11 Oct 1996 15:24:29 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Greetings all.
I'm a beginner and just started exploring perl5 and DBD-Oracle.
I installed perl5 successfully on my HP9000 with HPUX 9.03 at work.
 Now I'm trying to install DBD-Oracle-0.39 on the same machine.
Oracle is installed on another centralized machine (call it HP9000-2) in I.S.,
ProC is installed (Don't know which or how to check version)
I was able to install DBI-0.72 On my machine with no error messages
Now I'm trying to install DBD-Oracle-0.39. 
I've modified my .cshrc by adding the following to its end

setenv ORACLE_HOME /u03/home/oracle/dist/7.1.3
setenv ORACLE_SID  scgup
setenv TWO_TASK tns:scgup

I identified ORACLE_HOME and ORACLE_SID by logging to HP9000-2 and typing env.
The third line was suggested by an I.S. person (has to do with SQlnet or 
something)

I want to be able to write CGI scripts using perl5 and DBD-Oracle to 
automate common queries. The web server is running on my HP.

Now, when I downloaded DBD-Oracle-0.39. When I type perl Makefile.PL
I get the following message:

start message*******
----------------------------------------
 Configuring DBD::Oracle ...

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

Using Oracle in /u03/home/oracle/dist/7.1.3

WARNING: Oracle OCI (Pro*C) does not appear to be installed.
You must install Pro*C before you can build DBD::Oracle properly.


        Unable to locate proc.mk in your Oracle installation.

        proc.mk is part of the Oracle Pro*C product. You need to build
        DBD::Oracle on a system which has Oracle Pro*C installed.

        If proc.mk is installed somewhere non-standard you can use
                perl Makefile.PL -m /path/to/proc.mk
        to specify where it is.
-------------------------------------------------------
end message *************

I know for a fact that ProC is installed on our centralized HP9000. But
I don't know where its is on that machine.
I'm a beginner and I need help to get off the ground.
Could someone help?

Thankfully,
Kal.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-112@oink>;
          Mon, 14 Oct 1996 07:48:21 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845079696:24405:11; Sat, 12 Oct 96 01:21:36 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24289; 12 Oct 96 1:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id OAA16559 for dbi-users-real; Fri, 11 Oct 1996 14:55:49 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from umr.edu (hermes.cc.umr.edu [131.151.1.68]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id OAA16555 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 14:55:48 -0700 (PDT)
Received: from meteor.cc.umr.edu (meteor.cc.umr.edu [131.151.35.3]) via ESMTP 
          by hermes.cc.umr.edu (8.7.5/R.4.17) id QAA27517;
          Fri, 11 Oct 1996 16:55:46 -0500 (CDT)
Received: from [131.151.253.125] (dialup-pkr-8-5.network.umr.edu [131.151.253.125]) 
          via ESMTP by meteor.cc.umr.edu (8.6.12/M.3.01) id QAA10438;
          Fri, 11 Oct 1996 16:55:45 -0500
X-Sender: nneul@pop3.umr.edu
Message-Id: <v03010500ae8471c6721f@[131.151.253.91]>
In-Reply-To: <325EAB5C.695@jpmorgan.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 11 Oct 1996 16:53:32 -0500
To: dbi-users@fugue.com
From: Nathan Neulinger <nneul@umr.edu>
Subject: DBI/DBD Static Installation - how?

I am using HP-UX 9.0.x machines, and as such, will have to build DBI,
DBD-Informix staticly, since HP's can't mix PIC and non-PIC code, and
Informix doesn't come with shared libraries.

How would I go about doing this? There doesn't seem to be any documentation
anywhere that explains how you go about building the modules staticly... I
saw something in the perlmod page, but from what I can tell, everyone is
assuming that you are going to do everything dynamically.

Some explicit instructions for doing this would be nice.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                  Univ. of Missouri - Rolla
EMail: nneul@umr.edu                  Computing Services
WWW: http://www.umr.edu/~nneul      SysAdmin: rollanet.org


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-114@oink>;
          Mon, 14 Oct 1996 07:48:31 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845079901:25140:6; Sat, 12 Oct 96 01:25:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24924; 12 Oct 96 1:24 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id OAA16546 for dbi-users-real; Fri, 11 Oct 1996 14:52:36 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from grs.com (nile.grs.com [204.73.246.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id OAA16542 
          for <dbi-users@fugue.com>; Fri, 11 Oct 1996 14:52:33 -0700 (PDT)
From: jeremy@grs.com
Received: from styx.grs.com (styx.grs.com [204.73.246.103]) 
          by grs.com (8.7.2/8.7.2) with SMTP id QAA13183;
          Fri, 11 Oct 1996 16:49:48 -0500 (CDT)
Received: by styx.grs.com (SMI-8.6/SMI-SVR4) id QAA04725;
          Fri, 11 Oct 1996 16:50:12 -0500
Date: Fri, 11 Oct 1996 16:50:12 -0500
Message-Id: <199610112150.QAA04725@styx.grs.com>
To: dbi-users@fugue.com
Subject: trouble compiling DBI-0.72
Cc: Tim.Bunce@ig.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: GJW9UNEbgd7EVdhuMUEL+g==

I 'm working on a Sparc 5 running 2.5 using per5.003 trying to compile the 
DBI-0.72 . I seem to be geting some link errors. I'm not real great with 
compliler output so if you could look at this and give me some suggestions
to why the test fails, I would be greatful. I have attached what you have asked
if you need anything else just ask and I will try to get it if I know how.


I would like to use this for the progress 7.0 database if I could. I might be
barking up the wrong tree. Will this pm call SQL request from a Progress 
database?



Thankyou,


Jeremy Bauer			1370 Mendota Heights Rd.
Systems Engineer		Suite 400
Great River Systems 		St. Paul, MN 55120
jeremy@grs.com 			Phone: (612) 686-0995 ext. 13	
http://www.grs.com		Fax:   (612) 686-0997

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-135@oink>;
          Mon, 14 Oct 1996 07:50:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845084274:08762:9; Sat, 12 Oct 96 02:37:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08730; 12 Oct 96 2:37 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id PAA16712 for dbi-announce-real;
          Fri, 11 Oct 1996 15:57:54 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from maple.enet.net (maple.enet.net [168.158.8.5]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id PAA16708 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 15:57:53 -0700 (PDT)
Received: from orion.enet.net (orion.enet.net [168.158.9.103]) 
          by maple.enet.net (8.6.9/8.6.9) with SMTP id PAA07140 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 15:59:02 -0700
Message-Id: <1.5.4.32.19961011232003.00670078@enet.net>
X-Sender: mueller@enet.net
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 11 Oct 1996 16:20:03 -0700
To: dbi-announce@fugue.com
From: Steve Mueller <mueller@enet.net>
Subject: unsubscribe

unsubscribe dbi-announce@fugue.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-137@oink>;
          Mon, 14 Oct 1996 07:51:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845084338:08885:8; Sat, 12 Oct 96 02:38:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08857; 12 Oct 96 2:38 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id PAA16582 for dbi-announce-real;
          Fri, 11 Oct 1996 15:12:33 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id PAA16578 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 15:12:31 -0700 (PDT)
Received: from windmill (dyn000128.belt.digex.net [206.181.16.128]) 
          by mail2.access.digex.net (8.8.0/8.8.0) with SMTP id SAA02757 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 18:12:29 -0400 (EDT)
Message-ID: <325EC681.4EDD@access.digex.net>
Date: Fri, 11 Oct 1996 18:13:21 -0400
From: "Wayne D. Elias" <wdelias@access.digex.net>
Organization: Windmill Software
X-Mailer: Mozilla 3.0Gold (Win95; I)
MIME-Version: 1.0
To: dbi-announce@fugue.com
Subject: dbi-announce@fugue.com
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

unsubscribe dbi-announce@fugue.com@fugue.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-144@oink>;
          Mon, 14 Oct 1996 07:51:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845089626:22902:11; Sat, 12 Oct 96 04:07:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22862; 12 Oct 96 4:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id RAA16856 for dbi-announce-real;
          Fri, 11 Oct 1996 17:18:01 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id RAA16852 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 17:18:00 -0700 (PDT)
Received: from henryho.austin.ibm.com (henryho.austin.ibm.com [129.35.124.163]) 
          by netmail.austin.ibm.com (8.6.12/8.6.11) with SMTP id TAA117144 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 19:17:58 -0500
Received: from localhost 
          by henryho.austin.ibm.com (AIX 3.2/UCB 5.64/4.03-client-2.6) 
          for dbi-announce@fugue.com at austin.ibm.com; id AA28579;
          Fri, 11 Oct 1996 19:17:57 -0500
Message-Id: <9610120017.AA28579@henryho.austin.ibm.com>
To: dbi-announce@fugue.com
Subject: unsubscribe
Date: Fri, 11 Oct 1996 19:17:57 -0500
From: Ho <henryho@austin.ibm.com>

unsubscribe dbi-announce@fugue.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-146@oink>;
          Mon, 14 Oct 1996 07:51:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845089688:23039:1; Sat, 12 Oct 96 04:08:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22891; 12 Oct 96 4:07 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id SAA17041 for dbi-dev-real; Fri, 11 Oct 1996 18:27:28 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from emout13.mail.aol.com (emout13.mx.aol.com [198.81.11.39]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id SAA17037 
          for <dbi-dev@fugue.com>; Fri, 11 Oct 1996 18:27:26 -0700 (PDT)
From: Reetnem@aol.com
Received: by emout13.mail.aol.com (8.6.12/8.6.12) id VAA08207;
          Fri, 11 Oct 1996 21:26:55 -0400
Date: Fri, 11 Oct 1996 21:26:55 -0400
Message-ID: <961011212654_541457643@emout13.mail.aol.com>
To: tim.bunce@ig.co.uk, dbi-dev@fugue.com
Subject: Array fetch

Here are some changes you can make to version 0.39 of DBI Oracle to allow
array fetches.


------------------------- Changes to dbdimp.h ----------------------------
39a40,43
>     int     cache_size;
>     int     in_cache;
>     int     next_entry;
>     int     end_of_data;
69c73
<     sb2  indp;  /* null/trunc indicator variable */
---
>     sb2  *aindp; /* null/trunc indicator variable */
71,76c75,78
<     ub1  *buf;  /* data buffer (points to sv data) */
<     ub2  bufl;  /* length of data buffer  */
<     ub2  rlen;  /* length of returned data  */
<     ub2  rcode;  /* field level error status  */
< 
<     SV *sv;
---
>     char *abuf;  /* data buffer (points to sv data) */
>     ub2   bufl;  /* length of data buffer  */
>     ub2  *arlen; /* length of returned data  */
>     ub2  *arcode; /* field level error status  */
------------------------- Changes to dbdimp.c ----------------------------
82,83c82,83
<     fprintf(fp, "   out: ftype %d, indp %d, bufl %d, rlen %d, rcode %d\n",
<      fbh->ftype, fbh->indp, fbh->bufl, fbh->rlen, fbh->rcode);
---
>     fprintf(fp, "   out: ftype %d, indp %p, bufl %d, rlen %p, rcode %p\n",
>             fbh->ftype, fbh->aindp, fbh->bufl, fbh->arlen, fbh->arcode);
517a518,520
>     SV  *ora_cache = perl_get_sv("ora_cache", FALSE);
>     SV  *cache     = perl_get_sv("cache",     FALSE);
>     
531a535,549
>     imp_sth->cache_size  = 5;
>     imp_sth->in_cache    = 0;
>     imp_sth->end_of_data = 0;
>  
>     if( cache         &&
>         SvOK( cache )   )
>       imp_sth->cache_size  = SvIV( cache );
>     else
>       if( ora_cache         &&
>           SvOK( ora_cache )   )
>         imp_sth->cache_size  = SvIV( ora_cache );
>  
>     if( imp_sth->cache_size < 1 )
>       imp_sth->cache_size  = 5;
>     
597,602c615,618
<  /* currently we use an sv, later we'll use an array */
<  fbh->sv = newSV((STRLEN)fbh->bufl);
<  (void)SvUPGRADE(fbh->sv, SVt_PV);
<  SvREADONLY_on(fbh->sv);
<  (void)SvPOK_only(fbh->sv);
<  fbh->buf = (ub1*)SvPVX(fbh->sv);
---
>         Newz( 43, fbh->aindp,  imp_sth->cache_size,             sb2  );
>         Newz( 43, fbh->abuf,   imp_sth->cache_size * fbh->bufl, char );
>         Newz( 43, fbh->arlen,  imp_sth->cache_size,             ub2  );
>         Newz( 43, fbh->arcode, imp_sth->cache_size,             ub2  );
605,607c621,623
<  if (odefin(imp_sth->cda, i, fbh->buf, fbh->bufl,
<   fbh->ftype, -1, &fbh->indp,
<   (text*)0, -1, -1, &fbh->rlen, &fbh->rcode)) {
---
>         if (odefin(imp_sth->cda, i, fbh->abuf, fbh->bufl,
>                 fbh->ftype, -1, fbh->aindp,
>                 (text*)0, -1, -1, fbh->arlen, fbh->arcode)) {
663,664c679,688
<     /* This will become ofen() once the buffer management is reworked. */
<     if (ofetch(imp_sth->cda)) {
---
>     if (!imp_sth->in_cache){
>       int rowcount = imp_sth->cda->rpc;
>       
>       if (imp_sth->end_of_data){
>  if (debug >= 1)
>               fprintf(DBILOGFP, "end of data" );
>  sv_setiv(DBIc_ERR(imp_sth), 0);     /* just end-of-fetch    */
>         return Nullav;
>       }
>       if (ofen(imp_sth->cda, imp_sth->cache_size)) {
667a692,695
>        if (debug >= 3)
>        fprintf(DBILOGFP, "    dbd_st_fetch failed, rc=%d",
>         imp_sth->cda->rc);
>      return Nullav;
669c697,698
<      sv_setiv(DBIc_ERR(imp_sth), 0); /* just end-of-fetch */
---
>    imp_sth->end_of_data = 1;
>    sv_setiv(DBIc_ERR(imp_sth), 0);     /* just end-of-fetch    */
671,674c700,702
<  if (debug >= 3)
<      fprintf(DBILOGFP, "    dbd_st_fetch failed, rc=%d",
<   imp_sth->cda->rc);
<  return Nullav;
---
>       }
>       imp_sth->in_cache   = imp_sth->cda->rpc - rowcount;
>       imp_sth->next_entry = 0;
685c713
<  int rc = fbh->rcode;
---
>         int rc = fbh->arcode[imp_sth->next_entry];
700,701c728,731
<      SvCUR(fbh->sv) = fbh->rlen;
<      sv_setsv(sv, fbh->sv); /* XXX can be optimised later */
---
>       /* XXX can be optimised later   */
>              sv_setpvn(sv,
>          &fbh->abuf[imp_sth->next_entry * fbh->bufl],
>          fbh->arlen[imp_sth->next_entry]              );
718a749,750
>     ++imp_sth->next_entry;
>     --imp_sth->in_cache;
818c850,853
<  sv_free(fbh->sv);
---
>   Safefree(fbh->aindp );
>   Safefree(fbh->abuf  );
>   Safefree(fbh->arlen );
>   Safefree(fbh->arcode);

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-155@oink>;
          Mon, 14 Oct 1996 07:53:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845107247:03970:1; Sat, 12 Oct 96 09:00:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03832; 12 Oct 96 9:00 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id WAA17377 for dbi-announce-real;
          Fri, 11 Oct 1996 22:16:15 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bme.inje.ac.kr (bme.inje.ac.kr [203.241.225.11]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id WAA17373 
          for <dbi-announce@fugue.com>; Fri, 11 Oct 1996 22:15:54 -0700 (PDT)
Received: from Info_Hoon.inje.ac.kr ([203.241.225.59]) 
          by bme.inje.ac.kr (8.6.12h2/8.6.9) with SMTP id OAA05317 
          for <dbi-announce@fugue.com>; Sat, 12 Oct 1996 14:11:21 +0900
Message-Id: <3.0b33.32.19961012141530.006971bc@bme.inje.ac.kr>
X-Sender: jch93@bme.inje.ac.kr
X-Mailer: Windows Eudora Pro Version 3.0b33 (32)
Date: Sat, 12 Oct 1996 14:15:40 +0900
To: dbi-announce@fugue.com
From: Chang-hoon Ji <jch93@bmesolaris.inje.ac.kr>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

unsubscribe dbi-announce@fugue.com@fugue.com

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-171@oink>;
          Mon, 14 Oct 1996 07:54:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845115337:05466:1; Sat, 12 Oct 96 11:15:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05155; 12 Oct 96 11:14 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id AAA17492 for dbi-announce-real;
          Sat, 12 Oct 1996 00:33:16 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id AAA17488 
          for <dbi-announce@fugue.com>; Sat, 12 Oct 1996 00:33:15 -0700 (PDT)
Received: from windmill (dyn000313.belt.digex.net [206.181.17.59]) 
          by mail2.access.digex.net (8.8.0/8.8.0) with SMTP id DAA27778 
          for <dbi-announce@fugue.com>; Sat, 12 Oct 1996 03:33:12 -0400 (EDT)
Message-ID: <325F49E8.378F@access.digex.net>
Date: Sat, 12 Oct 1996 03:34:00 -0400
From: "Wayne D. Elias" <wdelias@access.digex.net>
Organization: Windmill Software
X-Mailer: Mozilla 3.0Gold (Win95; I)
MIME-Version: 1.0
To: dbi-announce@fugue.com
Subject: Unsubscribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

unsubscribe dbi-announce@fugue.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-174@oink>;
          Mon, 14 Oct 1996 07:55:11 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845122402:27422:0; Sat, 12 Oct 96 13:13:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27187; 12 Oct 96 13:12 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id DAA17675 for dbi-users-real; Sat, 12 Oct 1996 03:09:16 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id DAA17671 
          for <dbi-users@fugue.com>; Sat, 12 Oct 1996 03:09:09 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id KAA23364;
          Sat, 12 Oct 1996 10:55:33 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id LAA06827; Sat, 12 Oct 1996 11:07:29 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199610121007.LAA06827@chewbacca.hermetica.com>
Subject: Re: DBI/DBD Static Installation - how?
To: nneul@umr.edu (Nathan Neulinger)
Date: Sat, 12 Oct 1996 11:07:28 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <v03010500ae8471c6721f@[131.151.253.91]> from "Nathan Neulinger" at Oct 11, 96 04:53:32 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


> How would I go about doing this? There doesn't seem to be any documentation
> anywhere that explains how you go about building the modules staticly... I
> saw something in the perlmod page, but from what I can tell, everyone is
> assuming that you are going to do everything dynamically.
> 
> Some explicit instructions for doing this would be nice.

	make perl

In the DBI build directory. Follow the instructions to install that new perl
binary. Go into the DBD build directory and do the same. Et voila. A static
perl.

> -- Nathan

-- 
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 <04087-191@oink>;
          Mon, 14 Oct 1996 07:57:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845143128:16448:19; Sat, 12 Oct 96 18:58:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16436; 12 Oct 96 18:58 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA17902 for dbi-announce-real;
          Sat, 12 Oct 1996 06:41:50 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from digibank.digibank.it (bbs.digibank.it [194.21.100.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA17898 
          for <dbi-announce@fugue.com>; Sat, 12 Oct 1996 06:41:38 -0700 (PDT)
Date: Sat, 12 Oct 1996 06:41:38 -0700 (PDT)
Message-Id: <199610121341.GAA17898@toccata.fugue.com>
Received: from [194.21.100.24] by digibank.it id 7d320.wrk;
          Sat, 12 Oct 1996 15:41:38 GMT
X-Sender: pmal@digibank.it
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: dbi-announce@fugue.com
From: Paolo Malacarne <pmal@digibank.it>

unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-196@oink>;
          Mon, 14 Oct 1996 07:57:47 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845151374:18189:1; Sat, 12 Oct 96 21:16:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17822; 12 Oct 96 21:15 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA18091 for dbi-announce-real;
          Sat, 12 Oct 1996 10:03:25 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dfw-ix2.ix.netcom.com (dfw-ix2.ix.netcom.com [206.214.98.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA18087 
          for <dbi-announce@fugue.com>; Sat, 12 Oct 1996 10:03:23 -0700 (PDT)
Received: from bdwelle.ix.netcom.com (sfo-ca14-02.ix.netcom.com [205.184.16.66]) 
          by dfw-ix2.ix.netcom.com (8.6.13/8.6.12) with SMTP id KAA28783 
          for <dbi-announce@fugue.com>; Sat, 12 Oct 1996 10:02:51 -0700
Message-Id: <2.2.32.19961012165954.006b7838@popd.ix.netcom.com>
X-Sender: bdwelle@popd.ix.netcom.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 12 Oct 1996 09:59:54 -0700
To: dbi-announce@fugue.com
From: Bowen Dwelle <bdwelle@ix.netcom.com>
Subject: unsubscribe dbi-announce@fugue.com

unsubscribe dbi-announce@fugue.com
+------------------------------------------------------------------+ 
| Bowen Dwelle                               bdwelle@ix.netcom.com | 
| 800-462-7740 x4647                http://www.netcom.com/~bdwelle |
+------------------------------------------------------------------+ 

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-202@oink>;
          Mon, 14 Oct 1996 07:58:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845167127:06770:4; Sun, 13 Oct 96 01:38:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06655; 13 Oct 96 1:38 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id OAA18397 for dbi-announce-real;
          Sat, 12 Oct 1996 14:43:08 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from goodguy.goodnet.com (root@goodnet.com [207.98.129.1]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id OAA18393 
          for <dbi-announce@fugue.com>; Sat, 12 Oct 1996 14:43:06 -0700 (PDT)
Received: from hakert (phx-ts3-26.doitnow.com [207.98.157.123]) 
          by goodguy.goodnet.com (8.7.5/8.7.1) with SMTP id OAA11533 
          for <dbi-announce@fugue.com>; Sat, 12 Oct 1996 14:42:23 -0700 (MST)
Message-Id: <2.2.32.19961012214511.00685354@goodnet.com>
X-Sender: jh10401@goodnet.com
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sat, 12 Oct 1996 14:45:11 -0700
To: dbi-announce@fugue.com
From: jessica <jh10401@goodnet.com>

unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04087-235@oink>;
          Mon, 14 Oct 1996 08:02:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845220309:16014:6; Sun, 13 Oct 96 16:25:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15688; 13 Oct 96 16:24 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA19389 for dbi-users-real; Sun, 13 Oct 1996 05:53:08 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id FAA19385 
          for <dbi-users@fugue.com>; Sun, 13 Oct 1996 05:53:03 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id NAA01600 
          for <dbi-users@fugue.com>; Sun, 13 Oct 1996 13:39:06 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id NAA10252 for dbi-users@fugue.com; Sun, 13 Oct 1996 13:50:58 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199610131250.NAA10252@chewbacca.hermetica.com>
Subject: To all the lemmings
To: dbi-users@fugue.com
Date: Sun, 13 Oct 1996 13:50:50 +0100 (BST)
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


To all the lemmings who have followed on from the original attempt to 
unsubscribe from either the dbi-users, dbi-announce or dbi-dev mailing
lists by mailing unsubscribe commands to the list itself.........

Please stop. Please stop right now. Go to:

	http://www.fugue.com/dbi

and unsubscribe there.

Emailing to this list does *not* work. I don't know why you ever thought it
would. Go away and read something on how mailing lists work.

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 <10814-14@oink>;
          Mon, 14 Oct 1996 12:36:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845283201:23185:3; Mon, 14 Oct 96 09:53:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22849; 14 Oct 96 9:52 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id AAA20507 for dbi-users-real; Mon, 14 Oct 1996 00:59:13 -0700 (PDT)
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.8.0/8.6.11) with SMTP id AAA20503 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 00:59:10 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa29799;
          14 Oct 96 7:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa14791; 14 Oct 96 8:29 BST
Received: from toad by oink with SMTP (PP) id <25748-0@oink>;
          Fri, 11 Oct 1996 18:16:31 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22829;
          Fri, 11 Oct 1996 18:16:08 +0000
Date: Fri, 11 Oct 1996 18:16:08 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610111716.AA22829@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: HOW TO UNSUBSCRIBE
Cc: lmarkakis@randomwalk.com, jch93@bmesolaris.inje.ac.kr
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

If you want to unsubscribe from the dbi-users mailing list
then please read the following carefully.

Sending any kind of message to the dbi-users list will _not_ get
you unsubscribed. You need to follow these instructions (especially
the last paragraph).

Tim.

Please also note that I do not maintain the mailing list.

----- 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 <10814-16@oink>;
          Mon, 14 Oct 1996 12:36:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845283211:23185:23; Mon, 14 Oct 96 09:53:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22881; 14 Oct 96 9:52 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id AAA20500 for dbi-users-real; Mon, 14 Oct 1996 00:56:02 -0700 (PDT)
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.8.0/8.6.11) with SMTP id AAA20496 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 00:56:00 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa02462;
          14 Oct 96 7:36 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab14791; 14 Oct 96 8:29 BST
Received: from toad by oink with SMTP (PP) id <25796-0@oink>;
          Fri, 11 Oct 1996 18:20:31 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22836;
          Fri, 11 Oct 1996 18:20:22 +0000
Date: Fri, 11 Oct 1996 18:20:22 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610111720.AA22836@toad.ig.co.uk>
To: rokeeffe@datatimes.com, bailey@hmivax.humgen.upenn.edu, dbi-users@fugue.com
Subject: RE: Perl / OraPerl (plus some)
Cc: vmsperl@hmivax.humgen.upenn.edu, perl5-porters@africa.nicoh.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
> 
> Rob O'keeffe <rokeeffe@datatimes.com> wrote:
> |
> | >Is OraPerl available for VMS?
> | >If yes, can you provide a URL?
> | On that note, what DB interfaces are available for vmsperl?
> 
> I don't know whether there are any VMS-specific database interfaces
> around.  Last I checked, the standard DBI compiled OK under VMS, so
> one can potentially use any drivers that exist for that (I think the
> only commercial-class DB witha driver currently is Oracle).

I believe the Informix and DB2 drivers are also getting some serious use.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10814-39@oink>;
          Mon, 14 Oct 1996 12:38:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845288840:21359:4; Mon, 14 Oct 96 11:27:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21026; 14 Oct 96 11:26 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id CAA20664 for dbi-users-real; Mon, 14 Oct 1996 02:21:01 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from asterix.danosi.dk (asterix.danosi.dk [193.88.50.70]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id CAA20660 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 02:20:51 -0700 (PDT)
Received: from flamenco. by asterix.danosi.dk (SMI-8.6/SMI-SVR4) id LAA24949;
          Mon, 14 Oct 1996 11:19:40 +0200
Received: from localhost by flamenco. (SMI-8.6/SMI-SVR4) id LAA29890;
          Mon, 14 Oct 1996 11:23:16 +0200
Date: Mon, 14 Oct 1996 11:23:15 +0200 (MET DST)
From: Soren Juul Moller <sjm@danosi.dk>
X-Sender: sjm@flamenco
To: DBI Users List <dbi-users@fugue.com>
Subject: DBD-Oracle on Linux
Message-ID: <Pine.GSO.3.94.961014112040.27534A-100000@flamenco>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Could anyone please give an *exact* description on how to
compile and link DBD-Oracle on Linux with SCO Oracle.

Also state which versions of what you are using.

Thanks in advance.
  Soren
--
Soren Juul Moller                          Danosi A/S
sjm@danosi.dk                              Lautrupbjerg 5
(+45) 4489 4959                            DK-2750 Ballerup

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12653-1@oink>;
          Mon, 14 Oct 1996 18:01:03 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845312290:08993:53; Mon, 14 Oct 96 17:58:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08875; 14 Oct 96 17:57 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA20880 for dbi-dev-real; Mon, 14 Oct 1996 05:29:53 -0700 (PDT)
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.8.0/8.6.11) with SMTP id FAA20875 
          for <dbi-dev@fugue.com>; Mon, 14 Oct 1996 05:28:41 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id al07093;
          14 Oct 96 11:42 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa03286; 14 Oct 96 12:36 BST
Received: from toad by oink with SMTP (PP) id <10567-0@oink>;
          Mon, 14 Oct 1996 10:55:37 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29558;
          Mon, 14 Oct 1996 10:55:31 +0000
Date: Mon, 14 Oct 1996 10:55:31 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610140955.AA29558@toad.ig.co.uk>
To: dbi-dev@fugue.com, Reetnem@aol.com
Subject: Re: Array fetch
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Reetnem@aol.com
> 
> Here are some changes you can make to version 0.39 of DBI Oracle to allow
> array fetches.

Thanks. I was just starting to look at implementing that.

A context diff (diff -c) would be more helpful to me (and a liberal
sprinkling of comments would do no harm :-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13324-1@oink>;
          Mon, 14 Oct 1996 19:25:47 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845314389:22394:112; Mon, 14 Oct 96 18:33:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21750; 14 Oct 96 18:29 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA20953 for dbi-users-real; Mon, 14 Oct 1996 06:17:51 -0700 (PDT)
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.8.0/8.6.11) with SMTP id GAA20949 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 06:17:49 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id am23965;
          14 Oct 96 12:22 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ai17866; 14 Oct 96 13:21 BST
Received: from toad by oink with SMTP (PP) id <11716-0@oink>;
          Mon, 14 Oct 1996 13:15:28 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29945;
          Mon, 14 Oct 1996 13:15:21 +0000
Date: Mon, 14 Oct 1996 13:15:21 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610141215.AA29945@toad.ig.co.uk>
To: dbi-users@fugue.com, sachar_harvi@jpmorgan.com
Subject: Re: DBD for oracle
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Harvi Sachar <sachar_harvi@jpmorgan.com>
> 
> Hi,
> Does this interface (perl to oracle) works on NT.

No.

Someone sometime did a port but I've heard nothing for a long time.

Once HIP release a port of perl5 that's even remotely up to date
and include a working MakeMaker then it sould be easy to port DBI
and DBD::Oracle. Till then it's only for the brave or foolhardy.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13324-3@oink>;
          Mon, 14 Oct 1996 19:26:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845314584:24815:19; Mon, 14 Oct 96 18:36:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24577; 14 Oct 96 18:35 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA21072 for dbi-dev-real; Mon, 14 Oct 1996 07:05:09 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id HAA21068;
          Mon, 14 Oct 1996 07:05:08 -0700 (PDT)
Received: from danton.gr.osf.org (danton.gr.osf.org [130.105.64.11]) 
          by postman.osf.org (8.7.6/8.7.3) with SMTP id KAA21396;
          Mon, 14 Oct 1996 10:04:27 -0400 (EDT)
Message-Id: <199610141404.KAA21396@postman.osf.org>
Received: from venom.gr.osf.org by danton.gr.osf.org with SMTP (15.11/15.6) 
          id AA04397; Mon, 14 Oct 96 08:42:23 -0100
X-Mailer: exmh version 1.6.2 7/18/95
To: dbi-dev@fugue.com, dbi-announce@fugue.com
Subject: Interface to a OODB
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 14 Oct 1996 09:40:21 +0200
From: Caroline Burrer-Hoog <caroline@gr.osf.org>

Hello !
I would be interested to know if a DBI driver exists to interface an 
object-oriented database product (ObjectStore, O2 products for examples).

Caroline.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14009-7@oink>;
          Mon, 14 Oct 1996 20:21:34 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845320633:06142:353; Mon, 14 Oct 96 20:17:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22273; 14 Oct 96 19:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA21030 for dbi-users-real; Mon, 14 Oct 1996 06:52:45 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from idiom.com (0@idiom.com [140.174.82.4]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id GAA21026 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 06:52:44 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by idiom.com (8.7.5/8.6.12) 
          with SMTP id GAA02666 for <dbi-users@fugue.com>;
          Mon, 14 Oct 1996 06:52:42 -0700 (PDT)
Message-Id: <199610141352.GAA02666@idiom.com>
X-Authentication-Warning: idiom.com: Host localhost [127.0.0.1] didn't use HELO 
                          protocol
To: dbi-users@fugue.com
Subject: Anyone using dbi to access db's on IBM mainframes?
Date: Mon, 14 Oct 1996 06:52:42 -0700
From: Jason Venner <jason@idiom.com>


I know there is a db2 interface, but I am under the impression it is
for db2 on the RS6000.

I am also interesting in accessing though cics and vtam as well as
db2.

The OS in question is MVS 5.2.2

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14708-4@oink>;
          Tue, 15 Oct 1996 00:16:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845322015:06191:1236; Mon, 14 Oct 96 20:40:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22644; 14 Oct 96 19:37 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA21064 for dbi-users-real; Mon, 14 Oct 1996 07:00:15 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from grs.com (nile.grs.com [204.73.246.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA21060 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 07:00:03 -0700 (PDT)
From: jeremy@grs.com
Received: from styx.grs.com (styx.grs.com [204.73.246.103]) 
          by grs.com (8.7.2/8.7.2) with SMTP id IAA16168;
          Mon, 14 Oct 1996 08:39:59 -0500 (CDT)
Received: by styx.grs.com (SMI-8.6/SMI-SVR4) id IAA05893;
          Mon, 14 Oct 1996 08:40:30 -0500
Date: Mon, 14 Oct 1996 08:40:30 -0500
Message-Id: <199610141340.IAA05893@styx.grs.com>
To: dbi-users@fugue.com
Subject: Sending the rest of what I should have
Cc: Tim.Bunce@ig.co.uk
Mime-Version: 1.0
Content-Type: multipart/mixed;boundary=1bbf_3a12-da4_14dd-63cb_791


--1bbf_3a12-da4_14dd-63cb_791
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: jqzgSi+fGr+LfTtc3qBBjQ==
X-Sun-Data-Type: text

I forgot to send the make file and error messages sorry.
He they are.


Jeremy Bauer			1370 Mendota Heights Rd.
Systems Engineer		Suite 400
Great River Systems 		St. Paul, MN 55120
jeremy@grs.com 			Phone: (612) 686-0995 ext. 13	
http://www.grs.com		Fax:   (612) 686-0997

--1bbf_3a12-da4_14dd-63cb_791
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: gC0eP5d/rqRJFApPIkOFQw==
Content-Description: Makefile
X-Sun-Data-Type: Makefile

# This Makefile is for the DBI 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:

#	DEFINE => q[-Wall -Wno-comment]
#	NAME => q[DBI]
#	VERSION_FROM => q[DBI.pm]
#	clean => { FILES=>q[$(DISTVNAME)/] }
#	dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], PREOP=>q[$(MAKE) -f Makefile.old distdir] }

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

# These definitions are from config.sh (via /opt/GNUperl5/lib/sun4-solaris/5.003/Config.pm)

# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = gcc
CCCDLFLAGS = 
CCDLFLAGS = 
DLEXT = none
DLSRC = dl_none.xs
LD = ld
LDDLFLAGS = 
LDFLAGS = 
LIBC = /lib/libc.so
LIB_EXT = .a
OBJ_EXT = .o
RANLIB = :
SO = so


# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
NAME = DBI
DISTNAME = DBI
NAME_SYM = DBI
VERSION = 0.72
VERSION_SYM = 0_72
XS_VERSION = 0.72
INST_BIN = ./blib/bin
INST_EXE = ./blib/script
INST_LIB = ./blib/lib
INST_ARCHLIB = ./blib/arch
INST_SCRIPT = ./blib/script
PREFIX = /opt/GNUperl5
INSTALLDIRS = site
INSTALLPRIVLIB = $(PREFIX)/lib
INSTALLARCHLIB = $(PREFIX)/lib/sun4-solaris/5.003
INSTALLSITELIB = $(PREFIX)/lib/site_perl
INSTALLSITEARCH = $(PREFIX)/lib/site_perl/sun4-solaris
INSTALLBIN = $(PREFIX)/bin
INSTALLSCRIPT = $(PREFIX)/bin
PERL_LIB = /opt/GNUperl5/lib
PERL_ARCHLIB = /opt/GNUperl5/lib/sun4-solaris/5.003
SITELIBEXP = /opt/GNUperl5/lib/site_perl
SITEARCHEXP = /opt/GNUperl5/lib/site_perl/sun4-solaris
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = /opt/GNUperl5/lib/sun4-solaris/5.003/CORE
PERL = /usr/local/bin/perl
FULLPERL = /usr/local/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 = /opt/GNUperl5/lib/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 = DBI
BASEEXT = DBI
DLBASE = $(BASEEXT)
VERSION_FROM = DBI.pm
DEFINE = -Wall -Wno-comment
OBJECT = $(BASEEXT)$(OBJ_EXT)
LDFROM = $(OBJECT)
LINKTYPE = static

# Handy lists of source code files:
XS_FILES= DBI.xs
C_FILES = DBI.c
O_FILES = DBI.o
H_FILES = DBIXS.h
MAN1PODS = 
MAN3PODS = 
INST_MAN1DIR = ./blib/man1
INSTALLMAN1DIR = $(PREFIX)/man/man1
MAN1EXT = 1
INST_MAN3DIR = ./blib/man3
INSTALLMAN3DIR = $(PREFIX)/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)
INST_ARCHLIBDIR  = $(INST_ARCHLIB)

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 = DBI.pm \
	DBIXS.h \
	lib/DBD/ExampleP.pm \
	lib/DBD/NullP.pm \
	lib/DBD/Sponge.pm

PM_TO_BLIB = DBIXS.h \
	$(INST_ARCHLIBDIR)/DBI/DBIXS.h \
	DBI.pm \
	$(INST_LIBDIR)/DBI.pm \
	lib/DBD/NullP.pm \
	$(INST_LIB)/DBD/NullP.pm \
	lib/DBD/ExampleP.pm \
	$(INST_LIB)/DBD/ExampleP.pm \
	lib/DBD/Sponge.pm \
	$(INST_LIB)/DBD/Sponge.pm


# --- 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 = /opt/GNUperl5/lib/ExtUtils
XSUBPP = $(XSUBPPDIR)/xsubpp
XSPROTOARG = 
XSUBPPDEPS = $(XSUBPPDIR)/typemap
XSUBPPARGS = -typemap $(XSUBPPDIR)/typemap


# --- MakeMaker tools_other section:

SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = ld
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:
# DIST_DEFAULT, clean distcheck disttest ci tardist, PREOP, $(MAKE) -f Makefile.old distdir

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 = 
OPTIMIZE = -O
PERLTYPE = 
LARGE = 
SPLIT = 


# --- MakeMaker const_loadlibs section:

# DBI might depend on some other libraries:
# See ExtUtils::Liblist for details
#
LD_RUN_PATH = 


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

# --- MakeMaker post_constants section:


# --- 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 :: /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_AUTODIR)
	@$(EQUALIZE_TIMESTAMP) /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h $(INST_AUTODIR)/.exists

	-@$(CHMOD) 755 $(INST_AUTODIR)

$(INST_LIBDIR)/.exists :: /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_LIBDIR)
	@$(EQUALIZE_TIMESTAMP) /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h $(INST_LIBDIR)/.exists

	-@$(CHMOD) 755 $(INST_LIBDIR)

$(INST_ARCHAUTODIR)/.exists :: /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_ARCHAUTODIR)
	@$(EQUALIZE_TIMESTAMP) /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h $(INST_ARCHAUTODIR)/.exists

	-@$(CHMOD) 755 $(INST_ARCHAUTODIR)

$(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 = DBI.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 = 
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:

manifypods :
	@$(NOOP)


# --- MakeMaker processPL section:


# --- MakeMaker installbin section:


# --- MakeMaker subdirs section:

# none

# --- MakeMaker clean section:
# FILES, $(DISTVNAME)/

# 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 DBI.c $(DISTVNAME)/ ./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_ARCHLIBDIR)/DBI/DBIXS.h $(INST_LIBDIR)/DBI.pm $(INST_LIB)/DBD/NullP.pm $(INST_LIB)/DBD/ExampleP.pm $(INST_LIB)/DBD/Sponge.pm
	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)

DBI.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/local/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:

# Full list of MakeMaker attribute values:
#	AR => q[ar]
#	AR_STATIC_ARGS => q[cr]
#	BASEEXT => q[DBI]
#	BOOTDEP => q[]
#	C => [q[DBI.c]]
#	CC => q[gcc]
#	CCCDLFLAGS => q[]
#	CCDLFLAGS => q[]
#	CCFLAGS => q[]
#	CFLAGS => q[ CCFLAGS = OPTIMIZE = -O PERLTYPE = LARGE = SPLIT = ]
#	CHMOD => q[chmod]
#	CONFIG => [q[ar], q[cc], q[cccdlflags], q[ccdlflags], q[dlext], q[dlsrc], q[ld], q[lddlflags], q[ldflags], q[libc], q[lib_ext], q[obj_ext], q[ranlib], q[sitelibexp], q[sitearchexp], q[so]]
#	CONST_CCCMD => q[CCCMD = $(CC) -c $(INC) $(CCFLAGS) $(OPTIMIZE) \ 	$(PERLTYPE) $(LARGE) $(SPLIT) $(DEFINE_VERSION) \ 	$(XS_DEFINE_VERSION)]
#	CP => q[cp]
#	DEFINE => q[-Wall -Wno-comment]
#	DIR => []
#	DIR_TARGET => { PACK001=HASH(...)=>{ $(INST_ARCHAUTODIR)=>q[3], $(INST_LIBDIR)=>q[1], $(INST_AUTODIR)=>q[1] } }
#	DISTNAME => q[DBI]
#	DLBASE => q[$(BASEEXT)]
#	DLEXT => q[none]
#	DLSRC => q[dl_none.xs]
#	FIRST_MAKEFILE => q[Makefile]
#	FULLEXT => q[DBI]
#	FULLPERL => q[/usr/local/bin/perl]
#	H => [q[DBIXS.h]]
#	HAS_LINK_CODE => q[1]
#	INSTALLARCHLIB => q[$(PREFIX)/lib/sun4-solaris/5.003]
#	INSTALLBIN => q[$(PREFIX)/bin]
#	INSTALLDIRS => q[site]
#	INSTALLMAN1DIR => q[$(PREFIX)/man/man1]
#	INSTALLMAN3DIR => q[$(PREFIX)/man/man3]
#	INSTALLPRIVLIB => q[$(PREFIX)/lib]
#	INSTALLSCRIPT => q[$(PREFIX)/bin]
#	INSTALLSITEARCH => q[$(PREFIX)/lib/site_perl/sun4-solaris]
#	INSTALLSITELIB => q[$(PREFIX)/lib/site_perl]
#	INST_ARCHLIB => q[./blib/arch]
#	INST_BIN => q[./blib/bin]
#	INST_EXE => q[./blib/script]
#	INST_LIB => q[./blib/lib]
#	INST_MAN1DIR => q[./blib/man1]
#	INST_MAN3DIR => q[./blib/man3]
#	INST_SCRIPT => q[./blib/script]
#	LARGE => q[]
#	LD => q[ld]
#	LDDLFLAGS => q[]
#	LDFLAGS => q[]
#	LDFROM => q[$(OBJECT)]
#	LD_RUN_PATH => q[]
#	LIBC => q[/lib/libc.so]
#	LIBPERL_A => q[libperl.a]
#	LIBS => [q[]]
#	LIB_EXT => q[.a]
#	LINKTYPE => q[static]
#	MAKEFILE => q[Makefile]
#	MAKE_APERL_FILE => q[Makefile.aperl]
#	MAN1EXT => q[1]
#	MAN1PODS => {  }
#	MAN3EXT => q[3]
#	MAN3PODS => {  }
#	MAP_TARGET => q[perl]
#	MV => q[mv]
#	NAME => q[DBI]
#	NAME_SYM => q[DBI]
#	NEEDS_LINKING => q[1]
#	NOECHO => q[@]
#	NOOP => q[sh -c true]
#	OBJECT => q[$(BASEEXT)$(OBJ_EXT)]
#	OBJ_EXT => q[.o]
#	OPTIMIZE => q[-O]
#	O_FILES => [q[DBI.o]]
#	PARENT_NAME => undef
#	PERL => q[/usr/local/bin/perl]
#	PERLMAINCC => q[$(CC)]
#	PERLTYPE => undef
#	PERL_ARCHLIB => q[/opt/GNUperl5/lib/sun4-solaris/5.003]
#	PERL_INC => q[/opt/GNUperl5/lib/sun4-solaris/5.003/CORE]
#	PERL_LIB => q[/opt/GNUperl5/lib]
#	PERL_SRC => undef
#	PL_FILES => {  }
#	PM => { DBIXS.h=>q[$(INST_ARCHLIBDIR)/DBI/DBIXS.h], DBI.pm=>q[$(INST_LIBDIR)/DBI.pm], lib/DBD/NullP.pm=>q[$(INST_LIB)/DBD/NullP.pm], lib/DBD/ExampleP.pm=>q[$(INST_LIB)/DBD/ExampleP.pm], lib/DBD/Sponge.pm=>q[$(INST_LIB)/DBD/Sponge.pm] }
#	PMLIBDIRS => [q[lib]]
#	PREFIX => q[/opt/GNUperl5]
#	PREREQ_PM => {  }
#	RANLIB => q[:]
#	RM_F => q[rm -f]
#	RM_RF => q[rm -rf]
#	SITEARCHEXP => q[/opt/GNUperl5/lib/site_perl/sun4-solaris]
#	SITELIBEXP => q[/opt/GNUperl5/lib/site_perl]
#	SKIPHASH => {  }
#	SO => q[so]
#	SPLIT => q[]
#	TOUCH => q[touch]
#	UMASK_NULL => q[umask 0]
#	VERSION => q[0.72]
#	VERSION_FROM => q[DBI.pm]
#	VERSION_SYM => q[0_72]
#	XS => { DBI.xs=>q[DBI.c] }
#	XSPROTOARG => q[]
#	XS_VERSION => q[0.72]
#	clean => { FILES=>q[$(DISTVNAME)/] }
#	dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], PREOP=>q[$(MAKE) -f Makefile.old distdir] }

# --- MakeMaker postamble section:


# End.
--1bbf_3a12-da4_14dd-63cb_791
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-MD5: 5vhD8cLU4f+DF+ghwRHbAg==
Content-Description: Makefile.aperl
X-Sun-Data-Type: Makefile

# This Makefile is for the DBI 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:

#	DEFINE => q[-Wall -Wno-comment]
#	NAME => q[DBI]
#	VERSION_FROM => q[DBI.pm]
#	clean => { FILES=>q[$(DISTVNAME)/] }
#	dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], PREOP=>q[$(MAKE) -f Makefile.old distdir] }

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

# These definitions are from config.sh (via /opt/GNUperl5/lib/sun4-solaris/5.003/Config.pm)

# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = gcc
CCCDLFLAGS = 
CCDLFLAGS = 
DLEXT = none
DLSRC = dl_none.xs
LD = ld
LDDLFLAGS = 
LDFLAGS = 
LIBC = /lib/libc.so
LIB_EXT = .a
OBJ_EXT = .o
RANLIB = :
SO = so


# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
NAME = DBI
DISTNAME = DBI
NAME_SYM = DBI
VERSION = 0.72
VERSION_SYM = 0_72
XS_VERSION = 0.72
INST_BIN = ./blib/bin
INST_EXE = ./blib/script
INST_LIB = ./blib/lib
INST_ARCHLIB = ./blib/arch
INST_SCRIPT = ./blib/script
PREFIX = /opt/GNUperl5
INSTALLDIRS = site
INSTALLPRIVLIB = $(PREFIX)/lib
INSTALLARCHLIB = $(PREFIX)/lib/sun4-solaris/5.003
INSTALLSITELIB = $(PREFIX)/lib/site_perl
INSTALLSITEARCH = $(PREFIX)/lib/site_perl/sun4-solaris
INSTALLBIN = $(PREFIX)/bin
INSTALLSCRIPT = $(PREFIX)/bin
PERL_LIB = /opt/GNUperl5/lib
PERL_ARCHLIB = /opt/GNUperl5/lib/sun4-solaris/5.003
SITELIBEXP = /opt/GNUperl5/lib/site_perl
SITEARCHEXP = /opt/GNUperl5/lib/site_perl/sun4-solaris
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = /opt/GNUperl5/lib/sun4-solaris/5.003/CORE
PERL = /usr/local/bin/perl
FULLPERL = /usr/local/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 = /opt/GNUperl5/lib/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 = DBI
BASEEXT = DBI
DLBASE = $(BASEEXT)
VERSION_FROM = DBI.pm
DEFINE = -Wall -Wno-comment
OBJECT = $(BASEEXT)$(OBJ_EXT)
LDFROM = $(OBJECT)
LINKTYPE = static

# Handy lists of source code files:
XS_FILES= DBI.xs
C_FILES = DBI.c
O_FILES = DBI.o
H_FILES = DBIXS.h
MAN1PODS = 
MAN3PODS = 
INST_MAN1DIR = ./blib/man1
INSTALLMAN1DIR = $(PREFIX)/man/man1
MAN1EXT = 1
INST_MAN3DIR = ./blib/man3
INSTALLMAN3DIR = $(PREFIX)/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)
INST_ARCHLIBDIR  = $(INST_ARCHLIB)

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 = DBI.pm \
	DBIXS.h \
	lib/DBD/ExampleP.pm \
	lib/DBD/NullP.pm \
	lib/DBD/Sponge.pm

PM_TO_BLIB = DBIXS.h \
	$(INST_ARCHLIBDIR)/DBI/DBIXS.h \
	DBI.pm \
	$(INST_LIBDIR)/DBI.pm \
	lib/DBD/NullP.pm \
	$(INST_LIB)/DBD/NullP.pm \
	lib/DBD/ExampleP.pm \
	$(INST_LIB)/DBD/ExampleP.pm \
	lib/DBD/Sponge.pm \
	$(INST_LIB)/DBD/Sponge.pm


# --- 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 = /opt/GNUperl5/lib/ExtUtils
XSUBPP = $(XSUBPPDIR)/xsubpp
XSPROTOARG = 
XSUBPPDEPS = $(XSUBPPDIR)/typemap
XSUBPPARGS = -typemap $(XSUBPPDIR)/typemap


# --- MakeMaker tools_other section:

SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = ld
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:
# DIST_DEFAULT, clean distcheck disttest ci tardist, PREOP, $(MAKE) -f Makefile.old distdir

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 = 
OPTIMIZE = -O
PERLTYPE = 
LARGE = 
SPLIT = 


# --- MakeMaker const_loadlibs section:

# DBI might depend on some other libraries:
# See ExtUtils::Liblist for details
#
LD_RUN_PATH = 


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

# --- MakeMaker post_constants section:


# --- 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.aperl $(INST_LIBDIR)/.exists
	@$(NOOP)

config :: $(INST_ARCHAUTODIR)/.exists
	@$(NOOP)

config :: $(INST_AUTODIR)/.exists
	@$(NOOP)

config :: Version_check
	@$(NOOP)


$(INST_AUTODIR)/.exists :: /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_AUTODIR)
	@$(EQUALIZE_TIMESTAMP) /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h $(INST_AUTODIR)/.exists

	-@$(CHMOD) 755 $(INST_AUTODIR)

$(INST_LIBDIR)/.exists :: /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_LIBDIR)
	@$(EQUALIZE_TIMESTAMP) /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h $(INST_LIBDIR)/.exists

	-@$(CHMOD) 755 $(INST_LIBDIR)

$(INST_ARCHAUTODIR)/.exists :: /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h
	@$(MKPATH) $(INST_ARCHAUTODIR)
	@$(EQUALIZE_TIMESTAMP) /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/perl.h $(INST_ARCHAUTODIR)/.exists

	-@$(CHMOD) 755 $(INST_ARCHAUTODIR)

$(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.aperl $(INST_DYNAMIC) $(INST_BOOT) $(INST_PM)
dynamic :: Makefile.aperl $(INST_DYNAMIC) $(INST_BOOT)
	@$(NOOP)


# --- MakeMaker dynamic_bs section:

BOOTSTRAP = DBI.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.aperl  $(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 = 
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.aperl $(INST_STATIC) $(INST_PM)
static :: Makefile.aperl $(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:

manifypods :
	@$(NOOP)


# --- MakeMaker processPL section:


# --- MakeMaker installbin section:


# --- MakeMaker subdirs section:

# none

# --- MakeMaker clean section:
# FILES, $(DISTVNAME)/

# 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 DBI.c $(DISTVNAME)/ ./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.aperl Makefile.aperl.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_ARCHLIBDIR)/DBI/DBIXS.h $(INST_LIBDIR)/DBI.pm $(INST_LIB)/DBD/NullP.pm $(INST_LIB)/DBD/ExampleP.pm $(INST_LIB)/DBD/Sponge.pm
	rm -rf Makefile.aperl Makefile.aperl.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.aperl";'

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)

DBI.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.aperl : Makefile.PL $(CONFIGDEP)
	@echo "Makefile out-of-date with respect to $?"
	@echo "Cleaning current config before rebuilding Makefile..."
	-@mv Makefile.aperl Makefile.aperl.old
	-$(MAKE) -f Makefile.aperl.old clean >/dev/null 2>&1 || true
	$(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" Makefile.PL "DIR=" "MAKEFILE=Makefile.aperl" "LINKTYPE=static" "MAKEAPERL=1" "NORECURS=1" "CCCDLFLAGS="
	@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.aperl :: $(VERSION_FROM)
#	@echo "Warning: Makefile possibly out of date with $(VERSION_FROM)"


# --- MakeMaker staticmake section:

# --- MakeMaker makeaperl section ---
MAP_TARGET    = perl
FULLPERL      = /usr/local/bin/perl

MAP_LINKCMD   = $(CC)
MAP_PERLINC   = -I./blib/arch -I./blib/lib -I/opt/GNUperl5/lib/sun4-solaris/5.003 -I/opt/GNUperl5/lib
MAP_STATIC    = /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Safe/Safe.a \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/SDBM_File/SDBM_File.a \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/NDBM_File/NDBM_File.a \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/FileHandle/FileHandle.a \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/Fcntl/Fcntl.a \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/DynaLoader/DynaLoader.a \
	./blib/arch/auto/DBI/DBI.a

MAP_PRELIBS   =   

MAP_LIBPERL = /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a

$(INST_ARCHAUTODIR)/extralibs.all: $(INST_ARCHAUTODIR)/.exists ./blib/arch/auto/DBI/extralibs.ld \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/DynaLoader/extralibs.ld \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/Fcntl/extralibs.ld \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/FileHandle/extralibs.ld \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/NDBM_File/extralibs.ld \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/extralibs.ld \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/SDBM_File/extralibs.ld \
	/opt/GNUperl5/lib/sun4-solaris/5.003/auto/Safe/extralibs.ld
	@rm -f $@
	@$(TOUCH) $@
	cat ./blib/arch/auto/DBI/extralibs.ld >> $@
	cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/DynaLoader/extralibs.ld >> $@
	cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Fcntl/extralibs.ld >> $@
	cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/FileHandle/extralibs.ld >> $@
	cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/NDBM_File/extralibs.ld >> $@
	cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/extralibs.ld >> $@
	cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/SDBM_File/extralibs.ld >> $@
	cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Safe/extralibs.ld >> $@

$(MAP_TARGET) :: ./perlmain$(OBJ_EXT) $(MAP_LIBPERL) $(MAP_STATIC) $(INST_ARCHAUTODIR)/extralibs.all
	$(MAP_LINKCMD) -o $@ $(OPTIMIZE) ./perlmain$(OBJ_EXT) $(MAP_LIBPERL) $(MAP_STATIC) `cat $(INST_ARCHAUTODIR)/extralibs.all` $(MAP_PRELIBS)
	@echo 'To install the new "$(MAP_TARGET)" binary, call'
	@echo '    make -f Makefile.aperl inst_perl MAP_TARGET=$(MAP_TARGET)'
	@echo 'To remove the intermediate files say'
	@echo '    make -f Makefile.aperl map_clean'

./perlmain$(OBJ_EXT): ./perlmain.c
	cd . && $(PERLMAINCC) -c  -I/opt/GNUperl5/lib/sun4-solaris/5.003/CORE  $(CCFLAGS) $(OPTIMIZE) \
	$(PERLTYPE) $(LARGE) $(SPLIT) $(DEFINE_VERSION) \
	$(XS_DEFINE_VERSION) -I$(PERL_INC) perlmain.c

./perlmain.c: Makefile.aperl
	@echo Writing $@
	@$(PERL) $(MAP_PERLINC) -e 'use ExtUtils::Miniperl; \
		writemain(grep s#.*/auto/##, qw|$(MAP_STATIC)|)' > $@.tmp && mv $@.tmp $@


doc_inst_perl:
	@echo Appending installation info to $(INSTALLARCHLIB)/perllocal.pod
	@$(DOC_INSTALL) \
		"Perl binary $(MAP_TARGET)" \
		MAP_STATIC "$(MAP_STATIC)" \
		MAP_EXTRA "`cat $(INST_ARCHAUTODIR)/extralibs.all`" \
		MAP_LIBPERL "$(MAP_LIBPERL)" \
		>> $(INSTALLARCHLIB)/perllocal.pod


inst_perl: pure_inst_perl doc_inst_perl

pure_inst_perl: $(MAP_TARGET)
	cp $(MAP_TARGET) $(INSTALLBIN)/$(MAP_TARGET)

clean :: map_clean

map_clean :
	rm -f ./perlmain$(OBJ_EXT) ./perlmain.c $(MAP_TARGET) Makefile.aperl $(INST_ARCHAUTODIR)/extralibs.all


# --- 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:

# Full list of MakeMaker attribute values:
#	AR => q[ar]
#	AR_STATIC_ARGS => q[cr]
#	BASEEXT => q[DBI]
#	BOOTDEP => q[]
#	C => [q[DBI.c]]
#	CC => q[gcc]
#	CCCDLFLAGS => q[]
#	CCDLFLAGS => q[]
#	CCFLAGS => q[]
#	CFLAGS => q[ CCFLAGS = OPTIMIZE = -O PERLTYPE = LARGE = SPLIT = ]
#	CHMOD => q[chmod]
#	CONFIG => [q[ar], q[cc], q[cccdlflags], q[ccdlflags], q[dlext], q[dlsrc], q[ld], q[lddlflags], q[ldflags], q[libc], q[lib_ext], q[obj_ext], q[ranlib], q[sitelibexp], q[sitearchexp], q[so]]
#	CONST_CCCMD => q[CCCMD = $(CC) -c $(INC) $(CCFLAGS) $(OPTIMIZE) \ 	$(PERLTYPE) $(LARGE) $(SPLIT) $(DEFINE_VERSION) \ 	$(XS_DEFINE_VERSION)]
#	CP => q[cp]
#	DEFINE => q[-Wall -Wno-comment]
#	DIR => []
#	DIR_TARGET => { PACK001=HASH(...)=>{ $(INST_ARCHAUTODIR)=>q[3], $(INST_LIBDIR)=>q[1], $(INST_AUTODIR)=>q[1] } }
#	DISTNAME => q[DBI]
#	DLBASE => q[$(BASEEXT)]
#	DLEXT => q[none]
#	DLSRC => q[dl_none.xs]
#	FIRST_MAKEFILE => q[Makefile]
#	FULLEXT => q[DBI]
#	FULLPERL => q[/usr/local/bin/perl]
#	H => [q[DBIXS.h]]
#	HAS_LINK_CODE => q[1]
#	INSTALLARCHLIB => q[$(PREFIX)/lib/sun4-solaris/5.003]
#	INSTALLBIN => q[$(PREFIX)/bin]
#	INSTALLDIRS => q[site]
#	INSTALLMAN1DIR => q[$(PREFIX)/man/man1]
#	INSTALLMAN3DIR => q[$(PREFIX)/man/man3]
#	INSTALLPRIVLIB => q[$(PREFIX)/lib]
#	INSTALLSCRIPT => q[$(PREFIX)/bin]
#	INSTALLSITEARCH => q[$(PREFIX)/lib/site_perl/sun4-solaris]
#	INSTALLSITELIB => q[$(PREFIX)/lib/site_perl]
#	INST_ARCHLIB => q[./blib/arch]
#	INST_BIN => q[./blib/bin]
#	INST_EXE => q[./blib/script]
#	INST_LIB => q[./blib/lib]
#	INST_MAN1DIR => q[./blib/man1]
#	INST_MAN3DIR => q[./blib/man3]
#	INST_SCRIPT => q[./blib/script]
#	LARGE => q[]
#	LD => q[ld]
#	LDDLFLAGS => q[]
#	LDFLAGS => q[]
#	LDFROM => q[$(OBJECT)]
#	LD_RUN_PATH => q[]
#	LIBC => q[/lib/libc.so]
#	LIBPERL_A => q[libperl.a]
#	LIBS => [q[]]
#	LIB_EXT => q[.a]
#	LINKTYPE => q[static]
#	MAKEAPERL => q[1]
#	MAKEFILE => q[Makefile.aperl]
#	MAKE_APERL_FILE => q[Makefile.aperl]
#	MAN1EXT => q[1]
#	MAN1PODS => {  }
#	MAN3EXT => q[3]
#	MAN3PODS => {  }
#	MAP_TARGET => q[perl]
#	MV => q[mv]
#	NAME => q[DBI]
#	NAME_SYM => q[DBI]
#	NEEDS_LINKING => q[1]
#	NOECHO => q[@]
#	NOOP => q[sh -c true]
#	NORECURS => q[1]
#	OBJECT => q[$(BASEEXT)$(OBJ_EXT)]
#	OBJ_EXT => q[.o]
#	OPTIMIZE => q[-O]
#	O_FILES => [q[DBI.o]]
#	PARENT_NAME => undef
#	PERL => q[/usr/local/bin/perl]
#	PERLMAINCC => q[$(CC)]
#	PERLTYPE => undef
#	PERL_ARCHLIB => q[/opt/GNUperl5/lib/sun4-solaris/5.003]
#	PERL_INC => q[/opt/GNUperl5/lib/sun4-solaris/5.003/CORE]
#	PERL_LIB => q[/opt/GNUperl5/lib]
#	PERL_SRC => undef
#	PL_FILES => {  }
#	PM => { DBIXS.h=>q[$(INST_ARCHLIBDIR)/DBI/DBIXS.h], DBI.pm=>q[$(INST_LIBDIR)/DBI.pm], lib/DBD/NullP.pm=>q[$(INST_LIB)/DBD/NullP.pm], lib/DBD/ExampleP.pm=>q[$(INST_LIB)/DBD/ExampleP.pm], lib/DBD/Sponge.pm=>q[$(INST_LIB)/DBD/Sponge.pm] }
#	PMLIBDIRS => [q[lib]]
#	PREFIX => q[/opt/GNUperl5]
#	PREREQ_PM => {  }
#	RANLIB => q[:]
#	RM_F => q[rm -f]
#	RM_RF => q[rm -rf]
#	SITEARCHEXP => q[/opt/GNUperl5/lib/site_perl/sun4-solaris]
#	SITELIBEXP => q[/opt/GNUperl5/lib/site_perl]
#	SKIPHASH => {  }
#	SO => q[so]
#	SPLIT => q[]
#	TOUCH => q[touch]
#	UMASK_NULL => q[umask 0]
#	VERSION => q[0.72]
#	VERSION_FROM => q[DBI.pm]
#	VERSION_SYM => q[0_72]
#	XS => { DBI.xs=>q[DBI.c] }
#	XSPROTOARG => q[]
#	XS_VERSION => q[0.72]
#	clean => { FILES=>q[$(DISTVNAME)/] }
#	dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], PREOP=>q[$(MAKE) -f Makefile.old distdir] }

# --- MakeMaker postamble section:


# End.
--1bbf_3a12-da4_14dd-63cb_791
Content-Type: application/octet-stream
Content-Transfer-Encoding: 7bit
Content-MD5: 59t8O7uEwNzhlWXjvd4LRQ==
Content-Description: makeoutput

make test
Writing "Makefile.aperl" for this perl

remember to actually *read* the README file!

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

DO NOT build the DBI under the Perl source tree.

Use 'make test' to execute self tests.

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

MakeMaker (v5.34)
CCCDLFLAGS => q[]
DEFINE => q[-Wall -Wno-comment]
DIR => []
LINKTYPE => q[static]
MAKEAPERL => q[1]
MAKEFILE => q[Makefile.aperl]
NAME => q[DBI]
NORECURS => q[1]
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.aperl for DBI
make -f Makefile.aperl perl
Writing perlmain.c
cd . && gcc -c  -I/opt/GNUperl5/lib/sun4-solaris/5.003/CORE   -O \
-DVERSION=\"0.72\" \
-DXS_VERSION=\"0.72\" -I/opt/GNUperl5/lib/sun4-solaris/5.003/CORE perlmain.c
cat ./blib/arch/auto/DBI/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/DynaLoader/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Fcntl/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/FileHandle/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/NDBM_File/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/SDBM_File/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Safe/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
gcc -o perl -O ./perlmain.o /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Safe/Safe.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/SDBM_File/SDBM_File.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/NDBM_File/NDBM_File.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/FileHandle/FileHandle.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Fcntl/Fcntl.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/DynaLoader/DynaLoader.a  ./blib/arch/auto/DBI/DBI.a `cat ./blib/arch/auto/DBI/extralibs.all` 
Undefined                       first referenced
symbol                             in file
tan                                 /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
log                                 /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a(pp.o)
ceil                                /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
pow                                 /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a(pp.o)
log10                               /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
sinh                                /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
tanh                                /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
sqrt                                /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a(pp.o)
floor                               /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
fmod                                /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
atan2                               /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a(pp.o)
exp                                 /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a(pp.o)
asin                                /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
acos                                /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
atan                                /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
sin                                 /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a(pp.o)
cosh                                /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
cos                                 /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a(pp.o)
ld: fatal: Symbol referencing errors. No output written to perl
*** Error code 1
make: Fatal error: Command failed for target `perl'
Current working directory /opt/DBI-0.72
*** Error code 1
make: Fatal error: Command failed for target `perl'
--1bbf_3a12-da4_14dd-63cb_791--
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14708-16@oink>;
          Tue, 15 Oct 1996 00:18:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845325068:13488:16; Mon, 14 Oct 96 21:31:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22984; 14 Oct 96 20:45 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA22186 for dbi-users-real; Mon, 14 Oct 1996 12:00:05 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA22176 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 11:59:56 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id TAA26164;
          Mon, 14 Oct 1996 19:46:23 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id TAA27641; Mon, 14 Oct 1996 19:58:11 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199610141858.TAA27641@chewbacca.hermetica.com>
Subject: Re: BLOB Support
To: chall@koz.com (Charles P. Hall)
Date: Mon, 14 Oct 1996 19:58:10 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <32625F2D.58FD@koz.com> from "Charles P. Hall" at Oct 14, 96 11:41: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


> Wow, my new DBI/DBD install seems to work fine with Informix. But do I
> understand correctly that BLOB's are not supported? Does this include
> the Informix Text datatype (strings > 255 char). It doesn't seem to work
> but I don't want to give up until I'm SURE!

Now, let's see.

	http://www.hermetica.com/technologia/DBI/DBD/index.html#Informix

says "No BLOB support". Wonder what that could imply? 8-)

Strings with strlen() > 255 should work, if they don't send an program
exercising the problem, preferably with a test table and data.

> Charles Hall

-- 
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 <14708-18@oink>;
          Tue, 15 Oct 1996 00:18:16 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845325090:06090:3460; Mon, 14 Oct 96 21:31:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04736; 14 Oct 96 21:10 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA21303 for dbi-users-real; Mon, 14 Oct 1996 08:22:33 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from kcgw1.att.com (kcgw1.att.com [192.128.133.1]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA21299 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 08:22:31 -0700 (PDT)
Received: from benvolio.nova.att.com 
          by kcig1.att.att.com (SMI-8.6/EMS-1.2 sol2) id KAA13350;
          Mon, 14 Oct 1996 10:18:45 -0500
Received: from benvolio (benvolio.nova.att.com) by benvolio.nova.att.com 
          with SMTP (1.37.109.18/16.2) id AA028036546;
          Mon, 14 Oct 1996 11:22:26 -0400
Message-Id: <32625AB1.4B4D@benvolio.nova.att.com>
Date: Mon, 14 Oct 1996 11:22:25 -0400
From: "Duc H. Nguyen (AT&T-DBA)" <dhn@benvolio.nova.att.com>
Organization: AT&T
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/712)
Mime-Version: 1.0
To: dbi-users@fugue.com
Subject: Binding in update question
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I couldn't seem to get the following script working.  It seems to me
that
it doesn't know how to bind the variables in where clause for an update 
statement. Is this a feature? 8-(

-------------------------------------------------------------------------
Case 1: using sth->do

#!/usr/local/bin/perl

sub odberr {
  print "Database Error: $DBI::err - $DBI::errstr\nline: $_[1]\n";
  if ( $_[0] ) {
    $dbh->rollback;
    $dbh->disconnect;
  }
  exit 1;
}

#----------------------------------------------------------------------------#
# Main()
#----------------------------------------------------------------------------#
$prog_name   = $0;
$ENV{'ORACLE_HOME'} = '/opt/oracle';
$ENV{'PATH'} = "$ENV{'PATH'}:/advf/tools/sh:$ENV{'ORACLE_HOME'}/bin";

require 'getopts.pl';

&Getopts('c:u:') || &usage;

$oracle_sid = $opt_c || usage();

$ENV{'ORACLE_SID'} = $oracle_sid;

@users_lst = ('dhn','dth');

#/* Constructure dynamic ? for subsequence calls */
chop( $users = '?,' x @users_lst );

#/* Initiate DBI package */
use DBI;

#/* Install Oracle driver */
$drh = DBI->install_driver('Oracle');

#/* Connect to database */
$dbh = $drh->connect('', 'scott', 'tiger') || odberr($dbh, __LINE__);
$dbh->debug(2);
$stmt = <<EOSQL;
  update lgn_tbl set lgn_ind = 0, lgn_ttyname = null, lgn_pid = null
  where  lgn_usr_id in ( ?,? )
EOSQL
$rc = $dbh->do($stmt, @users_lst);
print $rc, "\n";
$dbh->disconnect;
exit 0;

tst1.pl -c advf
Output:
DBI::db=HASH(0x400c5ee4) debug level set to 2
DBI do: invalid number of parameters: handle + 3
Usage: $h->do($statement [, \%attribs]) at ./tst1.pl line 53.
    -> DESTROY for DBD::Oracle::db (DBI::db=HASH(0x400c5ee4))
    <- DESTROY= undef

case 2: user prepare, execute, finish
sub odberr {
  print "Database Error: $DBI::err - $DBI::errstr\nline: $_[1]\n";
  if ( $_[0] ) {
    $dbh->rollback;
    $dbh->disconnect;
  }
  exit 1;
}

#----------------------------------------------------------------------------#
# Main()
#----------------------------------------------------------------------------#
$prog_name   = $0;
$ENV{'ORACLE_HOME'} = '/opt/oracle';
$ENV{'PATH'} = "$ENV{'PATH'}:/advf/tools/sh:$ENV{'ORACLE_HOME'}/bin";

require 'getopts.pl';

&Getopts('c:u:') || &usage;

$oracle_sid = $opt_c || usage();

$ENV{'ORACLE_SID'} = $oracle_sid;

@users_lst = ('dhn','dth');

#/* Constructure dynamic ? for subsequence calls */
# chop( $users = '?,' x @users_lst );

#/* Initiate DBI package */
use DBI;

#/* Install Oracle driver */
$drh = DBI->install_driver('Oracle');

#/* Connect to database */
$dbh = $drh->connect('', 'scott', 'tiger') || odberr($dbh, __LINE__);
$dbh->debug(2);
$stmt = <<EOSQL;
  update lgn_tbl set lgn_ind = 0, lgn_ttyname = null, lgn_pid = null
  where  lgn_usr_id in ( ?,? )
EOSQL
$curs = $dbh->prepare($stmt) || odberr($dbh, __LINE__);
$rc = $curs->execute(@users_lst);
print $rc, "\n";
$curs->finish;
$dbh->disconnect;
exit 0;

tst.pl -c advfprod
Output:
    DBI::db=HASH(0x400c5ee4) debug level set to 2
    -> prepare for DBD::Oracle::db (DBI::db=HASH(0x400c5f98)~0x400c5ee4
'
update lgn_tbl set lgn_ind = 0, lgn_ttyname = null, lgn_pid = null
        where  lgn_usr_id in ( ?,? )
')
    <- prepare= DBI::st=HASH(0x400c5ea8)
    -> execute for DBD::Oracle::st (DBI::st=HASH(0x400c5ea8)~0x40015a20
'dhn' 'd
th')
    <- execute= '0E0'
0E0
    -> finish for DBD::Oracle::st (DBI::st=HASH(0x400c5ea8)~0x40015a20)
    <- finish= 1
    -> disconnect for DBD::Oracle::db
(DBI::db=HASH(0x400c5f98)~0x400c5ee4)
    <- disconnect= 1
    -> DESTROY for DBD::Oracle::st (DBI::st=HASH(0x40015a20))
    <- DESTROY= undef
    -> DESTROY for DBD::Oracle::db (DBI::db=HASH(0x400c5ee4))
    <- DESTROY= undef


This case indicated nothing is getting updated, but I know for sure
there are
2 records need to be updated.

thanx in advance
Duc Nguyen
DBA
dhn@benvolio.nova.att.com
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14708-22@oink>;
          Tue, 15 Oct 1996 00:18:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845325362:13482:239; Mon, 14 Oct 96 21:36:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22698; 14 Oct 96 20:45 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA22199 for dbi-users-real; Mon, 14 Oct 1996 12:01:42 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id MAA22194 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 12:01:37 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id TAA26180;
          Mon, 14 Oct 1996 19:48:03 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id TAA27663; Mon, 14 Oct 1996 19:59:51 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199610141859.TAA27663@chewbacca.hermetica.com>
Subject: Re: Anyone using dbi to access db's on IBM mainframes?
To: jason@idiom.com (Jason Venner)
Date: Mon, 14 Oct 1996 19:59:50 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <199610141352.GAA02666@idiom.com> from "Jason Venner" at Oct 14, 96 06:52:42 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


> I know there is a db2 interface, but I am under the impression it is
> for db2 on the RS6000.
> 
> I am also interesting in accessing though cics and vtam as well as
> db2.
> 
> The OS in question is MVS 5.2.2

As far as I'm aware, the DB2 module should work on anything you can get the
module and perl compiled on.

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 <14708-35@oink>;
          Tue, 15 Oct 1996 00:19:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845327149:13488:1533; Mon, 14 Oct 96 22:05:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21611; 14 Oct 96 20:42 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA22192 for dbi-users-real; Mon, 14 Oct 1996 12:00:50 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id MAA22188 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 12:00:42 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id TAA26173;
          Mon, 14 Oct 1996 19:47:13 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id TAA27650; Mon, 14 Oct 1996 19:59:00 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199610141859.TAA27650@chewbacca.hermetica.com>
Subject: Re: DBD for Microsoft SQL Server
To: nwc@hnc.com (Copp Nelson)
Date: Mon, 14 Oct 1996 19:59:00 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <c=US%a=_%p=HNC%l=PCHNC-961014145132Z-639@pchnc.hnc.com> from "Copp, Nelson" at Oct 14, 96 07:51:32 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


> Is there a version of DBD for Microsoft SQL Server
> or one planned at some point?

No and haven't heard anyone saying they were going to write one.

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 <14708-37@oink>;
          Tue, 15 Oct 1996 00:19:43 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845327460:13488:1722; Mon, 14 Oct 96 22:11:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24812; 14 Oct 96 20:49 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA21381 for dbi-users-real; Mon, 14 Oct 1996 08:40:03 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.koz.net (ns.koz.net [199.72.127.50]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA21374 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 08:40:00 -0700 (PDT)
Received: from chall (chall.koz.net [199.72.127.166]) 
          by ns.koz.net (8.7.5/8.7.3) with SMTP id LAA02066 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 11:39:33 -0400 (EDT)
Message-ID: <32625F2D.58FD@koz.com>
Date: Mon, 14 Oct 1996 11:41:33 -0400
From: "Charles P. Hall" <chall@koz.com>
Organization: Koz Inc.
X-Mailer: Mozilla 3.0Gold (WinNT; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: BLOB Support
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Wow, my new DBI/DBD install seems to work fine with Informix. But do I
understand correctly that BLOB's are not supported? Does this include
the Informix Text datatype (strings > 255 char). It doesn't seem to work
but I don't want to give up until I'm SURE!

Charles Hall
KOZ, inc.
Raleigh, NC
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14708-43@oink>;
          Tue, 15 Oct 1996 00:20:03 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845328103:13500:2101; Mon, 14 Oct 96 22:21:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01334; 14 Oct 96 21:03 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA21183 for dbi-users-real; Mon, 14 Oct 1996 07:51:41 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from hnc.hnc.com (hnc.hnc.com [206.79.10.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA21179 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 07:51:39 -0700 (PDT)
Received: (from uucp@localhost) by hnc.hnc.com (8.7.1/8.7.1) id HAA14492 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 07:48:20 -0700 (PDT)
Received: from serval.hnc.com(206.79.54.2) by hnc.hnc.com via smap (V1.3) 
          id sma014487; Mon Oct 14 07:48:12 1996
Received: from spike.hnc.com (spike.hnc.com [191.9.201.52]) 
          by serval.hnc.com (8.7.1/8.7.1) with ESMTP id HAA01221 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 07:47:47 -0700 (PDT)
Received: from pchnc.hnc.com (pchnc.hnc.com [191.9.204.105]) 
          by spike.hnc.com (8.7.1/8.7.1) with SMTP id HAA09214 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 07:49:44 -0700 (PDT)
Received: by pchnc.hnc.com with Microsoft Exchange (IMC 4.0.838.14) 
          id <01BBB9A4.860E7490@pchnc.hnc.com>; Mon, 14 Oct 1996 07:51:35 -0700
Message-ID: <c=US%a=_%p=HNC%l=PCHNC-961014145132Z-639@pchnc.hnc.com>
From: "Copp, Nelson" <nwc@hnc.com>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: DBD for Microsoft SQL Server
Date: Mon, 14 Oct 1996 07:51:32 -0700
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.838.14
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Is there a version of DBD for Microsoft SQL Server
or one planned at some point?
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14708-45@oink>;
          Tue, 15 Oct 1996 00:20:10 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845328266:27858:813; Mon, 14 Oct 96 22:24:26 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa17683; 14 Oct 96 21:40 BST
Received: from toccata.fugue.com ([(null)]) by relay-1.mail.demon.net 
          id aa17787; 14 Oct 96 21:37 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA22328 for dbi-users-real; Mon, 14 Oct 1996 12:39:33 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id MAA22324 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 12:39:24 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac03204;
          14 Oct 96 13:30 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ah17866; 14 Oct 96 13:21 BST
Received: from toad by oink with SMTP (PP) id <11700-0@oink>;
          Mon, 14 Oct 1996 13:13:11 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29939;
          Mon, 14 Oct 1996 13:13:04 +0000
Date: Mon, 14 Oct 1996 13:13:04 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610141213.AA29939@toad.ig.co.uk>
To: dbi-users@fugue.com, rich@fastlane.net
Subject: Re: DBI problems
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Richard Buentello <rich@fastlane.net>
> 
> I downloaded DBI-0_73_tar and have expanded it on my ATT Unix system.  I
> have Perl 5 installed (/usr/local/lib/perl5/3435-svr4/5.003).  In the
> README instructions for DBI it instructs me to run the following
> command:
> 
> 	perl Makefile.PL
> 
> when I execute this command the following error is returned:
> 
> 	(Exporter.pm not found) at
> /usr/local/lib/perl5/3435-svr4/5.003/ExtUtils/MM_Unix.pm line 1589.
> 	Could not open 'DBI.pm': No such file or director at
> /usr/local/lib/perl5/3435-svr4/5.003/ExtUtils/MM_Unix.pm line 2315.
> 
> I have expanded DBI in a separate directory (home/tech/DBI) and is not
> under the Perl tree.  Any ideas....Thanks Richard Buentello

Your perl installation looks bust. Delete, rebuild, retest and
reinstall perl (carefully).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14708-64@oink>;
          Tue, 15 Oct 1996 00:21:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845330752:27858:3130; Mon, 14 Oct 96 23:05:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa27151; 14 Oct 96 22:02 BST
Received: from toccata.fugue.com ([(null)]) by relay-1.mail.demon.net 
          id aa01666; 14 Oct 96 21:58 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA21732 for dbi-users-real; Mon, 14 Oct 1996 10:07:35 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id KAA21728 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 10:07:33 -0700 (PDT)
Received: from franklin.vf.lmco.com ([166.17.5.51]) 
          by dekalb.vf.mmc.com (8.7.6/8.7.3) with ESMTP id NAA28381 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 13:07:32 -0400 (EDT)
Received: from atl.lmco.com (hannibal.ATL.LMCO.COM [166.20.244.250]) 
          by franklin.vf.lmco.com (8.7.6/8.7.3) with SMTP id NAA08993 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 13:07:30 -0400 (EDT)
Received: from valerie by atl.lmco.com (8.6.13/ATL 1.14) with SMTP id NAA22354;
          Mon, 14 Oct 1996 13:07:29 -0400
Message-ID: <32627350.62C3@atl.lmco.com>
Date: Mon, 14 Oct 1996 13:07:28 -0400
From: Bob Hackenberg <rhackenb@atl.lmco.com>
Organization: Advanced Technology Laboratories
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: "DBI mailing list." <dbi-users@fugue.com>
Subject: SQL QUESTION
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is a sql question:

How do I combine the following two sql statements into a single one?

  select name from xyz
  select address from abc

Sorry if this is elementary but I just don't know sql that well.

Thanks,

bob

-- 

Bob Hackenberg            | rhackenb@atl.lmco.com
Advanced Technology Labs  | Voice:   609-338-3918 
A&E-3W                    | Fax:     609-338-4122
1 Federal St.             | Marcall: 8*794-3918
Camden, NJ 08102          | N2HSK
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14708-116@oink>;
          Tue, 15 Oct 1996 00:27:15 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845334580:17708:200; Tue, 15 Oct 96 00:09:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19169; 15 Oct 96 0:08 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA22078 for dbi-users-real; Mon, 14 Oct 1996 11:33:34 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA22074 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 11:33:31 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ab03156;
          14 Oct 96 13:30 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af17866; 14 Oct 96 13:21 BST
Received: from toad by oink with SMTP (PP) id <11665-0@oink>;
          Mon, 14 Oct 1996 13:04:12 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29920;
          Mon, 14 Oct 1996 13:04:05 +0000
Date: Mon, 14 Oct 1996 13:04:05 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610141204.AA29920@toad.ig.co.uk>
To: dbi-users@fugue.com, jeremy@grs.com
Subject: Re: trouble compiling DBI-0.72
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: jeremy@grs.com
> 
> I 'm working on a Sparc 5 running 2.5 using per5.003 trying to compile the 
> DBI-0.72 . I seem to be geting some link errors. I'm not real great with 
> compliler output so if you could look at this and give me some suggestions
> to why the test fails, I would be greatful. I have attached what you have asked
> if you need anything else just ask and I will try to get it if I know how.
> 
> I would like to use this for the progress 7.0 database if I could. I might be
> barking up the wrong tree. Will this pm call SQL request from a Progress 
> database?

There is no DBD driver for Progress (that I'm aware of) so the DBI will
probably not be of much use to you (unless you plan to write one).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17910-4@oink>;
          Tue, 15 Oct 1996 03:18:40 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845340038:17596:19; Tue, 15 Oct 96 01:40:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17222; 15 Oct 96 1:39 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA22630 for dbi-users-real; Mon, 14 Oct 1996 13:59:07 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from abyss.ecst.csuchico.edu (abyss.ecst.csuchico.edu [132.241.1.34]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id NAA22626 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 13:59:04 -0700 (PDT)
Received: (from kal@localhost) 
          by abyss.ecst.csuchico.edu (8.8.Beta.4/8.8.Beta.4) id NAA03393 
          for dbi-users@fugue.com; Mon, 14 Oct 1996 13:58:10 -0700 (PDT)
From: Simplicist <kal@ecst.csuchico.edu>
Message-Id: <199610142058.NAA03393@abyss.ecst.csuchico.edu>
Subject: Installing DBD-Oracle .39
To: dbi-users@fugue.com
Date: Mon, 14 Oct 1996 13:58:09 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Could someone help me please.
I have perl5.003, DBI.73 installed on an HP9000 running HPUX 9.03
Im trying to install DBD::Oracle module, but not successful, 
becuase I do not have Oracle or ProC installed on my machine.
They're both available on another remote machine. Could someone answer
this question: Do I have to have Oracle and ProC installed on the same machine
where I want to use DBI?
I can post the details of steps and messages I'm getting trying to 
install Oracl.39 (I did once alread but recieved no response)
Should I pursue this or is it hopeless?
I'm a beginner and immensly appreciate any bits of help.


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17910-6@oink>;
          Tue, 15 Oct 1996 03:18:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845340185:18033:20; Tue, 15 Oct 96 01:43:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17973; 15 Oct 96 1:42 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id OAA22823 for dbi-users-real; Mon, 14 Oct 1996 14:43:39 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id OAA22819 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 14:43:36 -0700 (PDT)
Received: from franklin.vf.lmco.com ([166.17.5.51]) 
          by dekalb.vf.mmc.com (8.7.6/8.7.3) with ESMTP id RAA20869 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 17:43:34 -0400 (EDT)
Received: from atl.lmco.com (hannibal.ATL.LMCO.COM [166.20.244.250]) 
          by franklin.vf.lmco.com (8.7.6/8.7.3) with SMTP id RAA09806 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 17:43:33 -0400 (EDT)
Received: from valerie by atl.lmco.com (8.6.13/ATL 1.14) with SMTP id RAA28006;
          Mon, 14 Oct 1996 17:43:30 -0400
Message-ID: <3262B401.13EE@atl.lmco.com>
Date: Mon, 14 Oct 1996 17:43:29 -0400
From: Bob Hackenberg <rhackenb@atl.lmco.com>
Organization: Advanced Technology Laboratories
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: Bob Hackenberg <rhackenb@atl.lmco.com>
CC: "DBI mailing list." <dbi-users@fugue.com>
Subject: Re: SQL QUESTION
References: <32627350.62C3@atl.lmco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I guess I didn't make myself clear enough on this.  Basically, I am
trying to issue two completely unrelated slq commands as a single
command.  This may not be possible.

To restate:

I want to say
  
select author from boo.xyz where logno = 10
AND
select title from books.abc where title like "Huit Clos"


In other words, can I ask for stuff from two separate tables that have
nothing in common with each other.  They don't share any common fields. 
Assume that either sql request will work by itself.  Is there some kind
of syntax like 

(select author from boo.xyz where logno = 10)
   AND
(select title from books.abc where title like "Huit Clos")


I know I can get all the info with two separate commands but I am trying
to figure out if I load up a single command with separate requests.

thanks,

bob

Bob Hackenberg wrote:
> 
> This is a sql question:
> 
> How do I combine the following two sql statements into a single one?
> 
>   select name from xyz
>   select address from abc
> 
> Sorry if this is elementary but I just don't know sql that well.
> 
> Thanks,
> 
> bob
> 
> --
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17910-8@oink>;
          Tue, 15 Oct 1996 03:18:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845340254:18267:16; Tue, 15 Oct 96 01:44:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18047; 15 Oct 96 1:43 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id QAA23229 for dbi-users-real; Mon, 14 Oct 1996 16:45:53 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from koi.synergyltd.com (root@koi.synergyltd.com [198.59.115.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id QAA23225 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 16:45:50 -0700 (PDT)
Received: from koi (drew@localhost [127.0.0.1]) 
          by koi.synergyltd.com (8.7.5/8.7.3) with SMTP id TAA20951;
          Mon, 14 Oct 1996 19:41:31 -0400
Message-ID: <3262CFAA.6DA245D@koi.synergyltd.com>
Date: Mon, 14 Oct 1996 17:41:30 -0600
From: Drew Einhorn <drew@koi.synergyltd.com>
Organization: Technology and Training
X-Mailer: Mozilla 3.0b6Gold (X11; I; Linux 2.0.21 i586)
MIME-Version: 1.0
To: Bob Hackenberg <rhackenb@atl.lmco.com>
CC: "DBI mailing list." <dbi-users@fugue.com>
Subject: Re: SQL QUESTION
References: <32627350.62C3@atl.lmco.com> <3262B401.13EE@atl.lmco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Bob Hackenberg wrote:
> 
> I guess I didn't make myself clear enough on this.  Basically, I am
> trying to issue two completely unrelated slq commands as a single
> command.  This may not be possible.
> 
> To restate:
> 
> I want to say
> 
> select author from boo.xyz where logno = 10
> AND
> select title from books.abc where title like "Huit Clos"
> 
> In other words, can I ask for stuff from two separate tables that have
> nothing in common with each other.  They don't share any common fields.
> Assume that either sql request will work by itself.  Is there some kind
> of syntax like
> 
> (select author from boo.xyz where logno = 10)
>    AND
> (select title from books.abc where title like "Huit Clos")
> 
> I know I can get all the info with two separate commands but I am trying
> to figure out if I load up a single command with separate requests.
> 

What you want is the UNION clause of ANSI SQL.  Some database backends
some backends support it others don't.  Check the documentation for
the backend you are using.

-- 
Drew Einhorn                 drew@koi.synergyltd.com
Technology and Training      505/281-1122
10580 S. Hwy 14
Tijeras, NM 87059
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17910-10@oink>;
          Tue, 15 Oct 1996 03:19:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845340401:18840:12; Tue, 15 Oct 96 01:46:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18681; 15 Oct 96 1:45 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id OAA22805 for dbi-users-real; Mon, 14 Oct 1996 14:39:27 -0700 (PDT)
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.8.0/8.6.11) with SMTP id OAA22800 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 14:39:13 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa16999;
          14 Oct 96 17:18 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa10058; 14 Oct 96 18:00 BST
Received: from toad by oink with SMTP (PP) id <12583-0@oink>;
          Mon, 14 Oct 1996 17:52:33 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00859;
          Mon, 14 Oct 1996 17:52:26 +0000
Date: Mon, 14 Oct 1996 17:52:26 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610141652.AA00859@toad.ig.co.uk>
To: dbi-users@fugue.com, jeremy@grs.com
Subject: Re: Sending the rest of what I should have
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: jeremy@grs.com
> 
> I forgot to send the make file and error messages sorry.
> He they are.

Thanks but the README doesn't ask for the (very large) Makefiles.

Out of what you sent this is the interesting part:

> gcc -o perl -O ./perlmain.o /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Safe/Safe.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/SDBM_File/SDBM_File.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/NDBM_File/NDBM_File.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/FileHandle/FileHandle.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/Fcntl/Fcntl.a  /opt/GNUperl5/lib/sun4-solaris/5.003/auto/DynaLoader/DynaLoader.a  ./blib/arch/auto/DBI/DBI.a `cat ./blib/arch/auto/DBI/extralibs.all` 
> Undefined                       first referenced
> symbol                             in file
> tan                                 /opt/GNUperl5/lib/sun4-solaris/5.003/auto/POSIX/POSIX.a(POSIX.o)
> log                                 /opt/GNUperl5/lib/sun4-solaris/5.003/CORE/libperl.a(pp.o)

Which is caused by the math library (-lm) not be included in the link.

To help you further I need you to read and follow the instructions
in the README file and send me exactly the information it asks for.

Also, I'd be interested to know why you are building this statically
on Solaris.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17910-12@oink>;
          Tue, 15 Oct 1996 03:19:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845340469:19045:5; Tue, 15 Oct 96 01:47:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18045; 15 Oct 96 1:43 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id QAA23250 for dbi-users-real; Mon, 14 Oct 1996 16:55:26 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id QAA23246 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 16:55:24 -0700 (PDT)
Received: by gw.home.vix.com id QAA26151; Mon, 14 Oct 1996 16:55:00 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ad01742;
          14 Oct 96 23:37 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa10308; 15 Oct 96 0:34 BST
Received: from toad by oink with SMTP (PP) id <14919-0@oink>;
          Tue, 15 Oct 1996 00:34:28 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01938;
          Tue, 15 Oct 1996 00:34:16 +0000
Date: Tue, 15 Oct 1996 00:34:16 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610142334.AA01938@toad.ig.co.uk>
To: nwc@hnc.com, descarte@hermetica.com
Subject: Re: DBD for Microsoft SQL Server
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <descarte@hermetica.com>
> 
> > Is there a version of DBD for Microsoft SQL Server
> > or one planned at some point?
> 
> No and haven't heard anyone saying they were going to write one.

I think the existing Sybase modules can talk to SQL Server
so that's the way people go.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17910-16@oink>;
          Tue, 15 Oct 1996 03:19:28 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845340695:19910:32; Tue, 15 Oct 96 01:51:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19812; 15 Oct 96 1:50 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA22604 for dbi-users-real; Mon, 14 Oct 1996 13:53:43 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from hickory.engr.utk.edu (HICKORY.ENGR.UTK.EDU [128.169.132.31]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA22600 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 13:53:37 -0700 (PDT)
Received: from localhost by hickory.engr.utk.edu (5.x/2.8s-UTK.UTCC) id AA04876;
          Mon, 14 Oct 1996 16:54:24 -0400
Date: Mon, 14 Oct 1996 16:54:24 -0400 (EDT)
From: Jay Flaherty <fty@hickory.engr.utk.edu>
To: Bob Hackenberg <rhackenb@atl.lmco.com>
Cc: "DBI mailing list." <dbi-users@fugue.com>
Subject: Re: SQL QUESTION
In-Reply-To: <32627350.62C3@atl.lmco.com>
Message-Id: <Pine.GSO.3.92.961014165000.4762B-100000@hickory.engr.utk.edu>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 14 Oct 1996, Bob Hackenberg wrote:

> This is a sql question:
>
> How do I combine the following two sql statements into a single one?
>
>   select name from xyz
>   select address from abc
>
> Sorry if this is elementary but I just don't know sql that well.

SELECT xyz.name, abc.address FROM xyz, abc

This is real basic and you're really going to need to bone up on SQL if
you want to do anything useful with SQL databases.

Jay

**********************************************
Jay Flaherty          fty@hickory.engr.utk.edu

    ------visualize whirled peas------
**********************************************

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17910-27@oink>;
          Tue, 15 Oct 1996 03:20:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845342825:27683:19; Tue, 15 Oct 96 02:27:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27648; 15 Oct 96 2:26 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id RAA23418 for dbi-users-real; Mon, 14 Oct 1996 17:43:40 -0700 (PDT)
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.8.0/8.6.11) with SMTP id RAA23414 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 17:43:37 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ad16724;
          15 Oct 96 0:05 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac14743; 15 Oct 96 1:01 BST
Received: from toad by oink with SMTP (PP) id <17368-0@oink>;
          Tue, 15 Oct 1996 00:52:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02073;
          Tue, 15 Oct 1996 00:52:23 +0000
Date: Tue, 15 Oct 1996 00:52:23 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610142352.AA02073@toad.ig.co.uk>
To: dbi-users@fugue.com, rhackenb@atl.lmco.com
Subject: Re: SQL QUESTION
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Bob Hackenberg <rhackenb@atl.lmco.com>
> 
> This is a sql question:
> 
> How do I combine the following two sql statements into a single one?
> 
>   select name from xyz
>   select address from abc
> 
> Sorry if this is elementary but I just don't know sql that well.

Your best bet is to ask in comp.lang.databases.

It's unfair to ask us to spend time answering questions which don't
relate to the purpose of the mailing list. Sorry.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17910-31@oink>;
          Tue, 15 Oct 1996 03:20:28 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845343667:00624:20; Tue, 15 Oct 96 02:41:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa00495; 15 Oct 96 2:40 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id RAA23465 for dbi-users-real; Mon, 14 Oct 1996 17:58:08 -0700 (PDT)
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.8.0/8.6.11) with SMTP id RAA23461 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 17:58:06 -0700 (PDT)
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G) 
          with ESMTP id RAA24805; Mon, 14 Oct 1996 17:58:01 -0700
Message-Id: <199610150058.RAA24805@voro.lbl.gov>
To: Bob Hackenberg <rhackenb@atl.lmco.com>
cc: "DBI mailing list." <dbi-users@fugue.com>
Subject: Re: SQL QUESTION
In-reply-to: Your message of "Mon, 14 Oct 1996 17:43:29 EDT." <3262B401.13EE@atl.lmco.com>
Date: Mon, 14 Oct 1996 17:58:00 -0700
From: Mark Dedlow <dedlow@voro.lbl.gov>

> From: Bob Hackenberg <rhackenb@atl.lmco.com>
>
> I guess I didn't make myself clear enough on this.  Basically, I am
> trying to issue two completely unrelated slq commands as a single
> command.  This may not be possible.
> 
> To restate:
> 
> I want to say
>   
> select author from boo.xyz where logno = 10
> AND
> select title from books.abc where title like "Huit Clos"
> 
> 
> In other words, can I ask for stuff from two separate tables that have
> nothing in common with each other.  They don't share any common fields. 
> Assume that either sql request will work by itself.  Is there some kind
> of syntax like 
> 
> (select author from boo.xyz where logno = 10)
>    AND
> (select title from books.abc where title like "Huit Clos")
> 
> 
> I know I can get all the info with two separate commands but I am trying
> to figure out if I load up a single command with separate requests.

Why?  

You should get a primer on relational databases.  Basically,
it's not so much that it "may not be possible", as much as it
is that it probably doesn't make any sense, won't give the results
you really want, and is dangerous (cartesian product).

In any case, this is not the right place for such discussion.  
Check out one of the SQL and database related newgroups. 

Mark

PS. If you reply, please spare the list and reply directly.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18711-0@oink>;
          Tue, 15 Oct 1996 03:39:38 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845346640:09501:18; Tue, 15 Oct 96 03:30:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09291; 15 Oct 96 3:30 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id SAA23506 for dbi-dev-real; Mon, 14 Oct 1996 18:11:27 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id SAA23499;
          Mon, 14 Oct 1996 18:11:13 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ag14498;
          14 Oct 96 19:47 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa28691; 14 Oct 96 19:28 BST
Received: from toad by oink with SMTP (PP) id <13348-0@oink>;
          Mon, 14 Oct 1996 19:28:03 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01092;
          Mon, 14 Oct 1996 19:27:56 +0000
Date: Mon, 14 Oct 1996 19:27:56 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610141827.AA01092@toad.ig.co.uk>
To: dbi-dev@fugue.com, dbi-announce@fugue.com, caroline@gr.osf.org
Subject: Re: Interface to a OODB
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Caroline Burrer-Hoog <caroline@gr.osf.org>
> 
> Hello !
> I would be interested to know if a DBI driver exists to interface an 
> object-oriented database product (ObjectStore, O2 products for examples).
> 
> Caroline.

Not that I'm aware of.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18868-0@oink>;
          Tue, 15 Oct 1996 03:53:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845347911:13666:15; Tue, 15 Oct 96 03:51:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13546; 15 Oct 96 3:51 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA23600 for dbi-users-real; Mon, 14 Oct 1996 19:04:22 -0700 (PDT)
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.8.0/8.6.11) with SMTP id TAA23596 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 19:04:20 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ab16887;
          15 Oct 96 0:06 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad14743; 15 Oct 96 1:02 BST
Received: from toad by oink with SMTP (PP) id <17396-0@oink>;
          Tue, 15 Oct 1996 01:01:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02144;
          Tue, 15 Oct 1996 01:00:51 +0000
Date: Tue, 15 Oct 1996 01:00:51 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610150000.AA02144@toad.ig.co.uk>
To: perl5-porters@africa.nicoh.com, skimo@breughel.ufsia.ac.be
Subject: Re: setbuf
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Tim Bunce <Tim.Bunce@ig.co.uk>
> 
> > From: Sven Verdoolaege <skimo@breughel.ufsia.ac.be>
> > 
> > Does anyone have a good manual page of setbuf ?
> > Mine doesn't specify the return values.
> > 
> > btw, am I the only one who uses both an sfio enabled perl and DBI ?
> > 
> > Does anyone feel like emulating fgets with sfio ?
> 
> Reading between the lines I guess you're having problems with the
> latest DBI release which calls setbuf on a debug FILE* handle.

Since PerlIO doesn't offer any way to make a file handle unbuffered
the 'fix' here is for users of Perl5.003_XX who are using sfio
to s/setbuf(fp,NULL)/PerlIO_setlinebuf(fp)/.

The next release of the DBI will do that (with suitable #ifndef's
so it'll do the right thing for pre-PerlIO versions of perl).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19480-7@oink>;
          Tue, 15 Oct 1996 07:36:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845351812:24693:10; Tue, 15 Oct 96 04:56:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24535; 15 Oct 96 4:56 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA23754 for dbi-users-real; Mon, 14 Oct 1996 19:47:25 -0700 (PDT)
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.8.0/8.6.11) with SMTP id TAA23750 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 19:47:21 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ad12515;
          15 Oct 96 2:41 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa27400; 15 Oct 96 3:39 BST
Received: from toad by oink with SMTP (PP) id <18688-0@oink>;
          Tue, 15 Oct 1996 03:37:37 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02610;
          Tue, 15 Oct 1996 03:37:18 +0000
Date: Tue, 15 Oct 1996 03:37:18 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610150237.AA02610@toad.ig.co.uk>
To: rhackenb@atl.lmco.com, dedlow@voro.lbl.gov
Subject: Re: SQL QUESTION
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Mark Dedlow <dedlow@voro.lbl.gov>
> 
> > From: Bob Hackenberg <rhackenb@atl.lmco.com>
> >
> > I guess I didn't make myself clear enough on this.

Actually, you did. I didn't make myself clear enough that this is
simply not the right place to ask such questions.

Mailing lists exist for specific purposes and it's rather unfair to
abuse the good will of the subscribers to answer off-topic questions.

I'm being rather hard-nosed about this because I've seen good mailing
lists suffer greatly from novices of all levels seeking a free lunch.

> You should get a primer on relational databases.  Basically,
> it's not so much that it "may not be possible", as much as it
> is that it probably doesn't make any sense, won't give the results
> you really want, and is dangerous (cartesian product).
>
> In any case, this is not the right place for such discussion.  
> Check out one of the SQL and database related newgroups. 

Exactly.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19480-17@oink>;
          Tue, 15 Oct 1996 07:37:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845359140:15082:4; Tue, 15 Oct 96 06:59:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14963; 15 Oct 96 6:58 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id WAA24038 for dbi-users-real; Mon, 14 Oct 1996 22:06:21 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id WAA24027;
          Mon, 14 Oct 1996 22:06:17 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id aa19070;
          15 Oct 96 4:01 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa28075; 15 Oct 96 3:58 BST
Received: from toad by oink with SMTP (PP) id <18915-0@oink>;
          Tue, 15 Oct 1996 03:58:20 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02675;
          Tue, 15 Oct 1996 03:58:09 +0000
Date: Tue, 15 Oct 1996 03:58:09 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610150258.AA02675@toad.ig.co.uk>
To: dbi-announce@fugue.com, mellon@fugue.com
Subject: Announce: DBD-Oracle-0.40 with PL/SQL support
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


Changes in DBD::Oracle 0.40 (Oraperl 1.29), 14th Oct 1996

    WARNING - This release contains significant changes to the
    placeholder binding code. You should test it carefully
    before using in live systems.

    Implemented PL/SQL output values via $sth->bind_param_inout.
    See the code at the end of test.pl for example usage.

    Binding is now implemented using obndra rather than obndrv.
    This may have a subtle effect when matching char fields
    against placeholders with trailing spaces.

    Fixed bind_param ora_type attribute. Thanks to Stephen Zander
    for the patch.  Updated README's. Added README.longs.

The warning is perhaps a little stong. I don't expect problems
for the existing functionality but the code has changed enough
to warrant caution. The obndra/obndrv may also affect you.
You have been warned!

Basically you can now use bind_param_inout to bind perl variables
tp placeholders. The binding is two-way (in and out) and 'live'
i.e., you don't have to keep re-binding. The value in the variable
at the time you call execute() is what gets used and if the PL/SQL
modifies that value you see the results in the perl variable.

Currently if the variable 'mutates' too much the execute will die
but it's unlikely to happen in typical use. Later I plan to
automatically rebind in such cases.

In order to use bind_param_inout you need to install the latest DBI
(released last week).

Enjoy.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19480-19@oink>;
          Tue, 15 Oct 1996 07:37:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845359217:15343:10; Tue, 15 Oct 96 07:00:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15177; 15 Oct 96 6:59 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id WAA24025 for dbi-users-real; Mon, 14 Oct 1996 22:06:03 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id WAA24021 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 22:05:51 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ao06662;
          15 Oct 96 1:30 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa18191; 15 Oct 96 1:21 BST
Received: from toad by oink with SMTP (PP) id <17432-0@oink>;
          Tue, 15 Oct 1996 01:09:06 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02159;
          Tue, 15 Oct 1996 01:08:48 +0000
Date: Tue, 15 Oct 1996 01:08:48 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610150008.AA02159@toad.ig.co.uk>
To: dbi-users@fugue.com, dhn@benvolio.nova.att.com
Subject: Re: Binding in update question
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "Duc H. Nguyen (AT&T-DBA)" <dhn@benvolio.nova.att.com>
> 
> Hi,
> 
> I couldn't seem to get the following script working.  It seems to me
> that
> it doesn't know how to bind the variables in where clause for an update 
> statement. Is this a feature? 8-(

> $rc = $dbh->do($stmt, @users_lst);

> DBI do: invalid number of parameters: handle + 3
> Usage: $h->do($statement [, \%attribs]) at ./tst1.pl line 53.

Upgrade your DBI then change your code to include an undef for \%attribs.

> $stmt = <<EOSQL;
>   update lgn_tbl set lgn_ind = 0, lgn_ttyname = null, lgn_pid = null
>   where  lgn_usr_id in ( ?,? )
> EOSQL
> $curs = $dbh->prepare($stmt) || odberr($dbh, __LINE__);
> $rc = $curs->execute(@users_lst);

>     -> execute for DBD::Oracle::st (DBI::st=HASH(0x400c5ea8)~0x40015a20
> 'dhn' 'd
> th')
>     <- execute= '0E0'
> 
> This case indicated nothing is getting updated, but I know for sure
> there are 2 records need to be updated.

Perhaps you are having the char vs varchar problem that's been discussed
on the list previously.

If your table fields are chars, try chaning them to varchars.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19480-26@oink>;
          Tue, 15 Oct 1996 07:39:23 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845361151:21719:10; Tue, 15 Oct 96 07:32:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21017; 15 Oct 96 7:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id WAA24105 for dbi-users-real; Mon, 14 Oct 1996 22:43:44 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from linux-markm.fishnet.net (linux-markm.fishnet.net [205.216.133.39]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id WAA24101 
          for <dbi-users@fugue.com>; Mon, 14 Oct 1996 22:43:41 -0700 (PDT)
Received: (from mark@localhost) by linux-markm.fishnet.net (8.7.1/8.7.1) 
          id WAA00261; Mon, 14 Oct 1996 22:42:17 -0700
Date: Mon, 14 Oct 1996 22:42:17 -0700 (PDT)
From: Caldera Desktop User <mark@linux-markm.fishnet.net>
To: Harvi Sachar <sachar_harvi@jpmorgan.com>
cc: dbi-users@fugue.com
Subject: Re: DBD for oracle
In-Reply-To: <325EAB5C.695@jpmorgan.com>
Message-ID: <Pine.LNX.3.91.961014223854.218A-100000@linux-markm.fishnet.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Fri, 11 Oct 1996, Harvi Sachar wrote:

> Hi,
> Does this interface (perl to oracle) works on NT.
> 
> Thanks
> 
> harvi Sachar
> 

Hello,

Thanks to Dan Demaggio I know of an alternative to DBD::Oracle on 
NT/Win95.  It's Win32::ODBC which can talk to any ODBC compliant 
database.  Get ftp://ftp.infowire.com/pub/NTPerl/Win32odbc_v960722.zip 
and the ODBC drivers from www.oracle.com and your all set.

Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20829-38@oink>;
          Tue, 15 Oct 1996 11:54:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845373725:20309:24; Tue, 15 Oct 96 11:02:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19881; 15 Oct 96 11:00 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id BAA24421 for dbi-users-real; Tue, 15 Oct 1996 01:40:28 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeep.ti.com (news.ti.com [192.94.94.33]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id BAA24417 
          for <dbi-users@fugue.com>; Tue, 15 Oct 1996 01:40:26 -0700 (PDT)
Received: from tilde.csc.ti.com ([128.247.160.56]) by gatekeep.ti.com (8.6.13) 
          with ESMTP id DAA06702; Tue, 15 Oct 1996 03:35:57 -0500
Received: from tiuk.ti.com (backup3.tiuk.ti.com [134.183.11.102]) 
          by tilde.csc.ti.com (8.7.5/8.7.3) with SMTP id DAA13978;
          Tue, 15 Oct 1996 03:35:25 -0500 (CDT)
Received: from pluto by tiuk.ti.com (4.1/SMI-4.1) id AA03582;
          Tue, 15 Oct 96 09:34:31 BST
Received: by pluto (SMI-8.6) id JAA08826; Tue, 15 Oct 1996 09:34:29 +0100
Date: Tue, 15 Oct 1996 09:34:29 +0100
Message-Id: <199610150834.JAA08826@pluto>
To: Tim.Bunce@ig.co.uk
Cc: skimo@breughel.ufsia.ac.be, perl5-porters@africa.nicoh.com, 
    dbi-users@fugue.com
From: Nick Ing-Simmons <nik@tiuk.ti.com>
Organization: via, but not speaking for : Texas Instruments Ltd.
Subject: Re: setbuf
References: <9610150000.AA02144@toad.ig.co.uk>
In-Reply-To: <9610150000.AA02144@toad.ig.co.uk> from Tim Bunce on Tue, 15 Oct 1996 01:00:51 +0000

Tim Bunce <Tim.Bunce@ig.co.uk> writes:
>
>Since PerlIO doesn't offer any way to make a file handle unbuffered
>the 'fix' here is for users of Perl5.003_XX who are using sfio
>to s/setbuf(fp,NULL)/PerlIO_setlinebuf(fp)/.

Original PerlIO just implemented things perl (and core extensions)
did at the time. Perl did `setlinebuf' (dump.c) but did not do `unbuffered'.

We could do with a review of missing parts of PerlIO abstraction.


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23061-16@oink>;
          Tue, 15 Oct 1996 16:16:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845387404:01788:20; Tue, 15 Oct 96 14:50:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01534; 15 Oct 96 14:49 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA24630 for dbi-users-real; Tue, 15 Oct 1996 05:04:34 -0700 (PDT)
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.8.0/8.6.11) with SMTP id FAA24626 
          for <dbi-users@fugue.com>; Tue, 15 Oct 1996 05:04:32 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ab16377;
          15 Oct 96 11:46 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa21866; 15 Oct 96 12:44 BST
Received: from toad by oink with SMTP (PP) id <21690-0@oink>;
          Tue, 15 Oct 1996 12:38:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA03827;
          Tue, 15 Oct 1996 12:38:49 +0000
Date: Tue, 15 Oct 1996 12:38:49 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610151138.AA03827@toad.ig.co.uk>
To: nik@tiuk.ti.com
Subject: Re: setbuf
Cc: skimo@breughel.ufsia.ac.be, perl5-porters@africa.nicoh.com, 
    dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Nick Ing-Simmons <nik@tiuk.ti.com>
> 
> Tim Bunce <Tim.Bunce@ig.co.uk> writes:
> >
> >Since PerlIO doesn't offer any way to make a file handle unbuffered
> >the 'fix' here is for users of Perl5.003_XX who are using sfio
> >to s/setbuf(fp,NULL)/PerlIO_setlinebuf(fp)/.
> 
> Original PerlIO just implemented things perl (and core extensions)
> did at the time. Perl did `setlinebuf' (dump.c) but did not do `unbuffered'.

Sure. That's what I figured.

> We could do with a review of missing parts of PerlIO abstraction.

You could grab a bunch of extensions from CPAN and build them using
sfio PerlIO and see what breaks.

Meanwhile the xs and guts pods need to have a paragraph or two about
stdio/PerlIO and references to the PerlIO pod.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26892-0@oink>;
          Wed, 16 Oct 1996 07:35:48 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845410076:15823:0; Tue, 15 Oct 96 21:07:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa14991; 15 Oct 96 21:07 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA25459 for dbi-users-real; Tue, 15 Oct 1996 11:38:38 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from monk.mps.ohio-state.edu (monk.mps.ohio-state.edu [128.146.111.52]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA25455 
          for <dbi-users@fugue.com>; Tue, 15 Oct 1996 11:38:36 -0700 (PDT)
Received: (from ilya@localhost) by monk.mps.ohio-state.edu (8.7.6/8.7.3) 
          id OAA24782; Tue, 15 Oct 1996 14:36:49 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Message-Id: <199610151836.OAA24782@monk.mps.ohio-state.edu>
Subject: Re: setbuf
To: nik@tiuk.ti.com (Nick Ing-Simmons)
Date: Tue, 15 Oct 1996 14:36:49 -0400 (EDT)
Cc: Tim.Bunce@ig.co.uk, skimo@breughel.ufsia.ac.be, 
    perl5-porters@africa.nicoh.com, dbi-users@fugue.com
In-Reply-To: <199610150834.JAA08826@pluto> from "Nick Ing-Simmons" at Oct 15, 96 09:34:29 am
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Nick Ing-Simmons writes:
> 
> Tim Bunce <Tim.Bunce@ig.co.uk> writes:
> >
> >Since PerlIO doesn't offer any way to make a file handle unbuffered
> >the 'fix' here is for users of Perl5.003_XX who are using sfio
> >to s/setbuf(fp,NULL)/PerlIO_setlinebuf(fp)/.
> 
> Original PerlIO just implemented things perl (and core extensions)
> did at the time. Perl did `setlinebuf' (dump.c) but did not do `unbuffered'.
> 
> We could do with a review of missing parts of PerlIO abstraction.

Btw, while we are here: under OS/2 the test posix:15 (=posix:last)
fails due to the following:
	$| = 0
does not switch off the buffering on STDOUT=term. Thus
	perl -e "$|=0; print 'abc'; <>"
prints 'abc' before waiting for input.

Buffering works as it should when pipiing through `cat'. Background:
under OS/2 tty filehandles are not buffered by default.

Since I feel a little bit shabby about buffering, pleaasse explain
whether it is working "as designed". Should not I be able to switch
off buffering even if it was not switched on _by Perl_?

Ilya

P.S. In a desperate attempt I tried 
	perl -e "$|=1; $|=0; print 'abc'; <>"
It does not work either...
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26896-49@oink>;
          Wed, 16 Oct 1996 07:42:14 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845418146:11896:916; Tue, 15 Oct 96 23:22:26 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa27696; 15 Oct 96 23:13 BST
Received: from toccata.fugue.com ([(null)]) by relay-1.mail.demon.net 
          id aa12873; 15 Oct 96 23:12 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id OAA26097 for dbi-users-real; Tue, 15 Oct 1996 14:03:08 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from scream.u-net.net (mail.u-net.net [194.119.128.80]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id OAA26093 
          for <dbi-users@fugue.com>; Tue, 15 Oct 1996 14:03:00 -0700 (PDT)
Received: from ni-s.u-net.com ([193.119.182.90]) by u-net.net with SMTP 
          id <38773(4)>; Tue, 15 Oct 1996 21:51:01 +0100
Received: by ni-s.u-net.com (SMI-8.6/SMI-SVR4) id VAA00700;
          Tue, 15 Oct 1996 21:59:07 +0100
Date: Tue, 15 Oct 1996 21:59:07 +0100
From: Nick Ing-Simmons <nick@ni-s.u-net.com>
Message-Id: <199610152059.VAA00700@ni-s.u-net.com>
Subject: Re: setbuf
To: ilya@math.ohio-state.edu
CC: Tim.Bunce@ig.co.uk, perl5-porters@africa.nicoh.com, 
    skimo@breughel.ufsia.ac.be, dbi-users@fugue.com, 
    Nick Ing-Simmons <nik@tiuk.ti.com>
References: <199610151836.OAA24782@monk.mps.ohio-state.edu>
In-Reply-To: <199610151836.OAA24782@monk.mps.ohio-state.edu> from Ilya Zakharevich on Tue, 15 Oct 1996 19:36:49 +0100

Ilya Zakharevich <ilya@math.ohio-state.edu> writes:
>
>Btw, while we are here: under OS/2 the test posix:15 (=posix:last)

A familiar fail signature.
The last test in posix is checking that if it calls _exit then buffered
data is _NOT_ flushed. It sets up stdout to not auto-flushed
prints something and then calls _exit. "Correct" behaviour is for data in buffer
to be lost. OS/2 "fails" same way stock sfio "fails" - both flush the 
buffer (printing to stdout) despite _exit rather than exit.
As test has not explcitly set buffering it is test that is at fault, but sfio
would fail anyway as it is "too helpful", and has its on "exit" mechanism
that _exit does not know about.


>fails due to the following:
>	$| = 0
>does not switch off the buffering on STDOUT=term. 

Wrong fail analysis though I think:

$| has no affect on buffering whatsoever (this surprised me too).

It is not supposed to - for two reasons:

1. You set $| = 1 to get 'autoflush'
2. It is autoflush, not unbuffered, that is it does PerlIO_flush() e.g. fflush()
   after each print, rather than not buffering.

>Thus
>	perl -e "$|=0; print 'abc'; <>"
>prints 'abc' before waiting for input.

So stdout is unbuffered - okay by me.

>
>Buffering works as it should when pipiing through `cat'. Background:
>under OS/2 tty filehandles are not buffered by default.

Not unreasonable in these days of "fast" (glass) tty's,
UNIX dates back to 110 baud 50kg mechanical things.

>
>Since I feel a little bit shabby about buffering, pleaasse explain
>whether it is working "as designed". Should not I be able to switch
>off buffering even if it was not switched on _by Perl_?

Perhaps Perl should define buffered-ness of ttys.
Or perhaps someone should enhance posix.t to turn on buffering,
perhaps using IO.xs hooks to setv?buf()

>
>P.S. In a desperate attempt I tried 
>	perl -e "$|=1; $|=0; print 'abc'; <>"
>It does not work either...
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26896-54@oink>;
          Wed, 16 Oct 1996 07:44:21 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845418614:11932:1050; Tue, 15 Oct 96 23:30:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id ab12692; 15 Oct 96 21:21 BST
Received: from toccata.fugue.com ([(null)]) by relay-1.mail.demon.net 
          id aa00685; 15 Oct 96 21:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA25590 for dbi-users-real; Tue, 15 Oct 1996 12:24:01 -0700 (PDT)
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.8.0/8.6.11) with SMTP id MAA25579 
          for <dbi-users@fugue.com>; Tue, 15 Oct 1996 12:22:59 -0700 (PDT)
Received: by gateway1.srs.gov id AA02259 (InterLock SMTP Gateway 3.0 
          for dbi-users@fugue.com); Tue, 15 Oct 1996 15:19:22 -0400
Message-Id: <199610151919.AA02259@gateway1.srs.gov>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
          Tue, 15 Oct 1996 15:19:22 -0400
Date: Tue, 15 Oct 1996 15:19:07 -0400
From: James Taylor <james.taylor@srs.gov>
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Cc: perl5-porters@nicoh.com, dbi-users@fugue.com
Mime-Version: 1.0
X-Mailer: Mozilla 3.01b1 (X11; I; SunOS 5.4 sun4m)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <9610111002.AA21753@toad.ig.co.uk>

Tim Bunce wrote:
> 
> Forwarded to perl5-porters in case someone can offer some help.
> 

Thanks.

> Meanwhile can AIX 4.1 users on the dbi-users mailing list please grab
> a copy of perl5.003_07 from the address below and retry the builds
> <http://www.lafayette.edu/~doughera/doughera/perl/perl5.003_07.tar.gz>
> (or $CPAN/id/ANDYD/perl5.003_07.tar.gz in a day or so.)

I've tried 5.003_07 with DBD 0.39 & 0.40.  No joy.  The following is the
last part of "make test".

Oraperl test application $Revision: 1.25 $
 
Oraperl Emulation Interface version 1.29 
Oracle Driver 0.40
DBI-0.73 Switch by Tim Bunce, version 0.73
 
 
Connecting
 to '' (from command line, else uses ORACLE_SID or TWO_TASK -
recommended)
 as 'user/pass' (via ORACLE_USERID env var or default - recommend
name/pa)
(ORACLE_SID='', TWO_TASK='spkprod1')
Goto undefined subroutine &sigtrap::trap at blib/lib/Oraperl.pm line 50.
make: 1254-004 The error code from the last command is 255.
 
 
Stop.
$ 

Any ideas, need additional info?

Sigh, I wish I could just do this on the SUN.

Thanks,

James
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02029-0@oink>;
          Wed, 16 Oct 1996 14:45:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845465813:15827:47; Wed, 16 Oct 96 12:36:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15727; 16 Oct 96 12:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id DAA28555 for dbi-users-real; Wed, 16 Oct 1996 03:08:54 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tcp.ip.lu (slipper.ip.lu [194.51.248.48]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id DAA28551 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 03:08:51 -0700 (PDT)
Received: from [194.51.248.65] by tcp.ip.lu with smtp (Smail3.1.29.1 #1) 
          id m0vDSQy-0003mVC; Wed, 16 Oct 96 10:38 MET
Message-Id: <v03007803ae8a4e29216a@[194.51.248.75]>
In-Reply-To: <199610150834.JAA08826@pluto>
References: <9610150000.AA02144@toad.ig.co.uk> from Tim Bunce on Tue,
            15 Oct 1996 01:00:51 +0000 <9610150000.AA02144@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 16 Oct 1996 10:41:23 +0200
To: Nick Ing-Simmons <nik@tiuk.ti.com>
From: Dominic Dunlop <domo@tcp.ip.lu>
Subject: Re: setbuf
Cc: Tim.Bunce@ig.co.uk, skimo@breughel.ufsia.ac.be, 
    perl5-porters@africa.nicoh.com, dbi-users@fugue.com

At 10:34 +0200 1996-10-15, Nick Ing-Simmons wrote:

>We could do with a review of missing parts of PerlIO abstraction.

Well, there's the almost undocumented FileHandle::new_tmpfile.
(Documentation for Posix.pm has pointer to FileHandle; Filehandle man page
doesn't mention it.)  I'm not sure quite where new_tmpfile belongs, but I
find it useful and would like to see it found a properly-documented
permanent home outside the now-obsolescent FileHandle.

Thoughts, anybody?

---
Dominic Dunlop


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02029-2@oink>;
          Wed, 16 Oct 1996 14:46:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845465816:15826:40; Wed, 16 Oct 96 12:36:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15742; 16 Oct 96 12:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id DAA28590 for dbi-users-real; Wed, 16 Oct 1996 03:26:25 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeep.ti.com (news.ti.com [192.94.94.33]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id DAA28586 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 03:26:22 -0700 (PDT)
Received: from tilde.csc.ti.com ([128.247.160.56]) by gatekeep.ti.com (8.6.13) 
          with ESMTP id FAA14884; Wed, 16 Oct 1996 05:23:57 -0500
Received: from tiuk.ti.com (backup3.tiuk.ti.com [134.183.11.102]) 
          by tilde.csc.ti.com (8.7.5/8.7.3) with SMTP id FAA22102;
          Wed, 16 Oct 1996 05:23:25 -0500 (CDT)
Received: from pluto by tiuk.ti.com (4.1/SMI-4.1) id AA16813;
          Wed, 16 Oct 96 11:22:32 BST
Received: by pluto (SMI-8.6) id LAA12729; Wed, 16 Oct 1996 11:22:31 +0100
Date: Wed, 16 Oct 1996 11:22:31 +0100
Message-Id: <199610161022.LAA12729@pluto>
To: domo@tcp.ip.lu
Cc: Tim.Bunce@ig.co.uk, perl5-porters@africa.nicoh.com, 
    skimo@breughel.ufsia.ac.be, dbi-users@fugue.com, 
    Nick Ing-Simmons <nik@tiuk.ti.com>
From: Nick Ing-Simmons <nik@tiuk.ti.com>
Organization: via, but not speaking for : Texas Instruments Ltd.
Subject: Re: setbuf
References: <9610150000.AA02144@toad.ig.co.uk> from Tim Bunce on Tue,
            15 Oct 1996 01:00:51 +0000 <9610150000.AA02144@toad.ig.co.uk> <v03007803ae8a4e29216a@[194.51.248.75]>
In-Reply-To: <v03007803ae8a4e29216a@[194.51.248.75]> from Dominic Dunlop on Wed, 16 Oct 1996 10:41:23 +0200

Dominic Dunlop <domo@tcp.ip.lu> writes:
>At 10:34 +0200 1996-10-15, Nick Ing-Simmons wrote:
>
>>We could do with a review of missing parts of PerlIO abstraction.
>
>Well, there's the almost undocumented FileHandle::new_tmpfile.

Hmm, I meant a review of PerlIO "C" level API. But this is not too 
far off.

>(Documentation for Posix.pm has pointer to FileHandle; Filehandle man page
>doesn't mention it.)  I'm not sure quite where new_tmpfile belongs, 

It is in IO::File::new_tmpfile (in IO.xs) and maps to PerlIO_tmpfile().

>but I
>find it useful and would like to see it found a properly-documented
>permanent home outside the now-obsolescent FileHandle.
>

Does not seem to be mentioned in IO::File.pm though.

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02536-24@oink>;
          Wed, 16 Oct 1996 17:18:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845477855:24869:40; Wed, 16 Oct 96 15:57:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24873; 16 Oct 96 15:56 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA28831 for dbi-users-real; Wed, 16 Oct 1996 06:45:04 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from info.bts.gov (info.bts.gov [152.120.123.156]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id GAA28827 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 06:45:01 -0700 (PDT)
Received: from hedgehog.bts.gov (hedgehog.bts.gov [152.120.123.236]) 
          by info.bts.gov (8.7.6/8.7.3) with SMTP id JAA06253 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 09:45:36 -0400 (EDT)
Received: by hedgehog.bts.gov with Microsoft Mail 
          id <01BBBB4C.F5193880@hedgehog.bts.gov>;
          Wed, 16 Oct 1996 10:29:48 -0400
Message-ID: <01BBBB4C.F5193880@hedgehog.bts.gov>
From: Matt Neuendorf <mneuendo@bts.gov>
To: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: DBD:Oracle - perl 5 performance issue
Date: Wed, 16 Oct 1996 10:29:47 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

I'm using this code to login:

$ENV{TNS_ADMIN} = "/usr/local/lib";
# $ENV{TWO_TASK}, $ENV{ORACLE_SID}
use DBI;
$drh = DBI->install_driver( 'Oracle' ); # Uncomment for Oracle
$dbh = $drh->connect( 'database', 'username', 'password' );
die "Couldn't connect: $!" unless $dbh;

It takes roughly 90 seconds to logon to the Oracle and do what it needs
to do. What's holding it up? (I haven't included a trace, too long)

Matt Neuendorf
Bureau of Transportation Statistics
mneuendo@bts.gov

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02536-26@oink>;
          Wed, 16 Oct 1996 17:18:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845477858:24869:48; Wed, 16 Oct 96 15:57:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24913; 16 Oct 96 15:56 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA28870 for dbi-users-real; Wed, 16 Oct 1996 07:07:35 -0700 (PDT)
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.8.0/8.6.11) with SMTP id HAA28866 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 07:07:33 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ab11777;
          16 Oct 96 13:47 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ae27643; 16 Oct 96 14:45 BST
Received: from toad by oink with SMTP (PP) id <01623-0@oink>;
          Wed, 16 Oct 1996 12:48:53 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07757;
          Wed, 16 Oct 1996 12:48:46 +0000
Date: Wed, 16 Oct 1996 12:48:46 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610161148.AA07757@toad.ig.co.uk>
To: dbi-users@fugue.com
Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Where has everybody gone?

I'm somewhat surprised by the total lack of response after
adding support for PL/SQL in/out bind variables.

Puzzled.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04177-0@oink>;
          Wed, 16 Oct 1996 19:07:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845486853:06923:965; Wed, 16 Oct 96 18:27:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05402; 16 Oct 96 17:37 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA29053 for dbi-users-real; Wed, 16 Oct 1996 08:20:54 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from farbin.rgbsn.com (root@farbin.rgbsn.com [192.203.148.10]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA29049 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 08:20:48 -0700 (PDT)
Received: from lilly.rgbsn.com (lilly.rgbsn.com [192.203.148.135]) 
          by farbin.rgbsn.com (8.6.12/8.6.9) with SMTP id JAA04137;
          Wed, 16 Oct 1996 09:20:11 -0600
Message-ID: <3264FD55.7085@rgbsn.com>
Date: Wed, 16 Oct 1996 09:20:53 -0600
From: Steve Gwynn <sgwynn@rgbsn.com>
Reply-To: sgwynn@rgbsn.com
Organization: CSRI
X-Mailer: Mozilla 3.0b6Gold (Win95; I)
MIME-Version: 1.0
To: Bob Hackenberg <rhackenb@atl.lmco.com>
CC: "DBI mailing list." <dbi-users@fugue.com>
Subject: Re: SQL QUESTION
References: <32627350.62C3@atl.lmco.com> <3262B401.13EE@atl.lmco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Bob Hackenberg wrote:
> 
> I want to say
> 
> select author from boo.xyz where logno = 10
> AND
> select title from books.abc where title like "Huit Clos"
> 

Try:
SELECT author, title
FROM boo.xyz, books.abc
WHERE boo.xyz.logno = 10
  AND books.abc.title like 'Huit Clos'
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04177-2@oink>;
          Wed, 16 Oct 1996 19:07:17 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845487899:22891:2341; Wed, 16 Oct 96 18:44:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09705; 16 Oct 96 17:50 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA29127 for dbi-users-real; Wed, 16 Oct 1996 08:53:25 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from abyss.ecst.csuchico.edu (abyss.ecst.csuchico.edu [132.241.1.34]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA29123 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 08:53:24 -0700 (PDT)
Received: (from kal@localhost) 
          by abyss.ecst.csuchico.edu (8.8.Beta.4/8.8.Beta.4) id IAA13152 
          for dbi-users@fugue.com; Wed, 16 Oct 1996 08:52:32 -0700 (PDT)
From: Simplicist <kal@ecst.csuchico.edu>
Message-Id: <199610161552.IAA13152@abyss.ecst.csuchico.edu>
Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
To: dbi-users@fugue.com
Date: Wed, 16 Oct 1996 08:52:31 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

I'm sure I'll appreciate that feature once I get to use it.
Keep up the good work Tim.
Kal
 
> Where has everybody gone?
> 
> I'm somewhat surprised by the total lack of response after
> adding support for PL/SQL in/out bind variables.
> 
> Puzzled.
> 
> Tim.
> 

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05846-4@oink>;
          Thu, 17 Oct 1996 07:36:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845491171:06933:2255; Wed, 16 Oct 96 19:39:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02488; 16 Oct 96 18:48 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA29249 for dbi-users-real; Wed, 16 Oct 1996 09:47:39 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cegelecproj.co.uk (ganymede.cegelecproj.co.uk [159.245.72.6]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id JAA29245 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 09:47:36 -0700 (PDT)
Received: from vampire.cegelecproj.co.uk (cerberus.cegelecproj.co.uk) 
          by cegelecproj.co.uk (4.1/SMI-4.1) id AA02255;
          Wed, 16 Oct 96 17:46:58 BST
Received: from phantom.cegelecproj.co.uk 
          by vampire.cegelecproj.co.uk (SMI-8.6/SMI-SVR4) id RAA02952;
          Wed, 16 Oct 1996 17:46:55 +0100
Received: by phantom.cegelecproj.co.uk (SMI-8.6/SMI-SVR4) id RAA04421;
          Wed, 16 Oct 1996 17:46:55 +0100
Date: Wed, 16 Oct 1996 17:46:55 +0100
From: Steve_Kilbane@cegelecproj.co.uk
Message-Id: <199610161646.RAA04421@phantom.cegelecproj.co.uk>
To: dbi-users@fugue.com
Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
X-Mailer: Wilymail 0.4

Tim quoth:
> I'm somewhat surprised by the total lack of response after
> adding support for PL/SQL in/out bind variables.

Ok, a question, then. I've been using oraperl in the past.
Can I carry on using it, or do I have to get around to
learning DBD to take advantage of the in/out binding?

Oh, and thanks for doing this. I'm sure you'll regret
it soon enough, when the deluge starts. :-)

steve
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05846-25@oink>;
          Thu, 17 Oct 1996 07:39:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845495578:06933:4309; Wed, 16 Oct 96 20:52:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10429; 16 Oct 96 20:22 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA29648 for dbi-users-real; Wed, 16 Oct 1996 11:30:25 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id LAA29644 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 11:30:23 -0700 (PDT)
Received: from jovial.cse.psu.edu (groenvel@jovial.cse.psu.edu [130.203.10.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id OAA15273;
          Wed, 16 Oct 1996 14:29:35 -0400 (EDT)
Message-Id: <199610161829.OAA15273@cse.psu.edu>
X-Mailer: exmh version 1.6.9 8/22/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: Announce: DBD-Oracle-0.40 with PL/SQL support
In-reply-to: Your message of "Wed, 16 Oct 1996 12:48:46 -0000." <9610161148.AA07757@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 16 Oct 1996 14:29:28 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

As of this morning, it hadnt made it to my closest CPAN mirror. I dl'd it from 
an upstream site and it built fine on my development box Solaris x86/Oracle 
7.1.x.

Anyway, thanks a lot for the update. Even though I have no immediate use for 
the new features, I appreciate your effort. Now its time to track down my copy 
of the Feuerstein book.

Thanks,
John

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05846-31@oink>;
          Thu, 17 Oct 1996 07:40:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845495997:06933:4691; Wed, 16 Oct 96 20:59:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22774; 16 Oct 96 19:39 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA29243 for dbi-dev-real; Wed, 16 Oct 1996 09:45:54 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from dna307.dna.mci.com (dna307.dna.mci.com [166.41.50.227]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id JAA29239 
          for <dbi-dev@fugue.com>; Wed, 16 Oct 1996 09:45:52 -0700 (PDT)
From: amyers@dna307.dna.mci.com
Received: by dna307.dna.mci.com; id AA18774; Wed, 16 Oct 1996 10:45:15 -0600
Message-Id: <9610161645.AA18774@dna307.dna.mci.com>
X-Mailer: exmh version 1.6.7 5/3/96
To: dbi-dev@fugue.com
Cc: Tim.Bunce@ig.co.uk
Subject: Bind problem, version 0.39
In-Reply-To: Your message of "Mon, 07 Oct 96 19:57:38 -0000." <9610071857.AA05133@toad.ig.co.uk>
X-Url: http://puma.dna.mci.com/~amyers
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 16 Oct 96 10:45:15 -0600
X-Mts: smtp

Hello,

I am having problems binding information to a cursor, and having it 
return the correct results.  I believe it is tied to the column definition,
which is CHAR 14.  The variable I am binding to it is a CHAR 8.  (When
I go CHAR 2 against another CHAR 2, it works.)  I have
tried padding the blanks at the end, and this does not help.  If I do not
use variable binding, the sql statement will work.  I believe this is a bug,
please let me know if I am doing something wrong.  I have included the
perl code, and the results of the run below.

One other interesting point, if I change to sql statment to 
"select * from et_prod.event where ACCT_ID like :1"
and the bind to
'%2M123456%'
The bind works.

perl 5.003
dec unix 3.2 rev 214
DBD-Oracle 0.39
DBI 0.71

Please let me know if I can provide anymore information.

Alan Myers
Alan.Myers@MCI.com
---------------------------------------------------
#!/usr/local/bin/perl

eval 'use Oraperl; 1' || die $@ if $] >= 5;

$ora_debug = shift if $ARGV[0] =~ /^-#/;

$lda = ora_login(undef, $ARGV[0], $ARGV[1]) || die $ora_errstr;


&do_query_1($lda, "Query 1");

&do_bind_1($lda, "Bind 1");

ora_logoff($lda);

sub do_query_1
{
  my ($lda, $txt) =  @_;
  #
  # ACCT_ID is a CHAR 14, query key is CHAR 8
  #  Does not work
  #

  print "$txt\n";

  $csr = ora_open($lda, 
        'select * from et_prod.event where ACCT_ID = \'2M123456\'', 15) 
        || die $ora_errstr;

  if (($sys_id, $acct_id, @result) = ora_fetch($csr))
  {
    printf "$sys_id %d, $acct_id %d\n", 
            length($sys_id), length($acct_id);
  }
  else
  {
    die $ora_errstr if $ora_errno;
    print "unknown\n";
  }

  ora_close($csr);

}
sub do_bind_1
{
  my ($lda, $txt) =  @_;
  #
  # ACCT_ID is a CHAR 14, query key is CHAR 8
  #  Does not work
  #

  print "$txt\n";

  $csr = ora_open($lda, 
        'select * from et_prod.event where ACCT_ID = :1', 15)
        || die $ora_errstr;

   &ora_bind($csr, '2M123456')	|| die $ora_errstr;
   # This does not work either
   # &ora_bind($csr, '2M123456      ') || die $ora_errstr;
  if (($sys_id, $acct_id, @result) = ora_fetch($csr))
  {
    printf "$sys_id %d, $acct_id %d\n", 
            length($sys_id), length($acct_id);
  }
  else
  {
    die $ora_errstr if $ora_errno;
    print "unknown\n";
  }

  ora_close($csr);

}
--------------------
The results from this run are:
Query 1
ML 2, 2M123456       14
Bind 1
unknown



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05846-33@oink>;
          Thu, 17 Oct 1996 07:40:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845496051:06923:4582; Wed, 16 Oct 96 21:00:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01006; 16 Oct 96 19:59 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA29558 for dbi-users-real; Wed, 16 Oct 1996 11:09:29 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from kjahds.com (kjahds@prn-ts1-43.jvnc.net [204.143.69.43]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA29554 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 11:09:26 -0700 (PDT)
Received: from localhost (kjahds@localhost) by kjahds.com (8.7.5/8.7.3) 
          with SMTP id OAA00643; Wed, 16 Oct 1996 14:24:26 -0400
Date: Wed, 16 Oct 1996 14:24:26 -0400 (EDT)
From: Kenneth Albanowski <kjahds@kjahds.com>
To: Nick Ing-Simmons <nik@tiuk.ti.com>
cc: domo@tcp.ip.lu, Tim.Bunce@ig.co.uk, perl5-porters@africa.nicoh.com, 
    skimo@breughel.ufsia.ac.be, dbi-users@fugue.com
Subject: Re: setbuf
In-Reply-To: <199610161022.LAA12729@pluto>
Message-ID: <Pine.LNX.3.93.961016142333.403E-100000@kjahds.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 16 Oct 1996, Nick Ing-Simmons wrote:

> It is in IO::File::new_tmpfile (in IO.xs) and maps to PerlIO_tmpfile().

Assuming new_tmpfile can be used as a constructor, that's redudant. It
should be "new_temp" so that you can say:

  $x = new_temp IO::File;

--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05846-35@oink>;
          Thu, 17 Oct 1996 07:41:04 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845496056:06930:4598; Wed, 16 Oct 96 21:00:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01044; 16 Oct 96 19:59 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA29543 for dbi-users-real; Wed, 16 Oct 1996 11:05:50 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from ns.cmgi.com (root@ns.cmgi.com [204.71.28.8]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA29539 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 11:05:47 -0700 (PDT)
Received: from oz (oz.cmgi.com [204.71.29.100]) by ns.cmgi.com (8.7.6/8.7.3) 
          with ESMTP id OAA28873 for <dbi-users@fugue.com>;
          Wed, 16 Oct 1996 14:02:25 -0400
Received: (from pgiza@localhost) by oz (SMI-8.6/8.6.9) id OAA29620;
          Wed, 16 Oct 1996 14:09:42 -0400
Date: Wed, 16 Oct 1996 14:09:42 -0400
Message-Id: <199610161809.OAA29620@oz>
From: Peter Giza <pgiza@cmgi.com>
To: dbi-users@fugue.com
Subject: OK What gives?!
Reply-To: pgiza@cmgi.com

I can make my cgi script work from the command line just fine
but when I try to access it through the Apache webserver it
deficates all over the error_log.

The gist of the script:

#!/usr/local/bin/perl -w
BEGIN {
$ENV{'LD_LIBRARY_PATH'}="/d3/app/oracle/product/7.3.2/lib:/usr/local/lib/perl5/s
ite_perl/sun4-solaris/auto/DBD/Oracle:/usr/dt/lib:/usr/local/lib:/opt/SUNWspro/b
in:/lib:/usr/lib"; 
$ENV{'ORACLE_HOME'}="/d3/app/oracle/product/7.3.2";
$ENV{'OBK_HOME'}="/d3/app/oracle/product/7.3.2/obackup";
$ENV{'ORACLE_BASE'}="/d3/app/oracle";
$ENV{'ORACLE_DOC'}="/d3/app/oracle/doc";
$ENV{'ORACLE_HOME'}="/d3/app/oracle/product/7.3.2";
$ENV{'ORACLE_PATH'}=".:/d3/app/oracle/product/7.3.2/bin:/d3/app/oracle/product/7
.3.2/obackup/bin:/opt/bin:usr/bin:/usr/local/bin:/usr/ccs/bin";
$ENV{'ORACLE_SID'}="test";
$ENV{'ORACLE_TERM'}="sun5";
$ENV{'ORA_NLS'}="/d3/app/oracle/product/7.3.2/ocommon/nls/admin/data";
$ENV{'ORA_NLS32'}="/d3/app/oracle/product/7.3.2/ocommon/nls/admin/data";
$ENV{'PATH'}="/opt/atria/bin:/opt/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/SUNWsp
ro/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:.:/opt/local/java/bin:/d3/app/oracle/prod
uct/7.3.2/bin";
}
.
.
.
print STDERR "\$PATH = $ENV{'PATH'}\n";
print STDERR "\$ORACLE_HOME = $ENV{'ORACLE_HOME'}\n";
print STDERR "\$LD_LIBRARY_PATH = $ENV{'LD_LIBRARY_PATH'}\n";
$drh = DBI->install_driver( 'Oracle' ); # Uncomment for Oracle
.
.
.

The httpd/logs/error_log file:

LD_LIBRARY_PATH:/d3/app/oracle/product/7.3.2/lib:/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle:/usr/dt/lib:/usr/local/lib:/opt/SUNWspro/bin:/lib:/usr/lib
$PATH = /opt/atria/bin:/opt/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:.:/opt/local/java/bin:/d3/app/oracle/product/7.3.2/bin
$ORACLE_HOME = /d3/app/oracle/product/7.3.2
$LD_LIBRARY_PATH = /d3/app/oracle/product/7.3.2/lib:/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle:/usr/dt/lib:/usr/local/lib:/opt/SUNWspro/bin:/lib:/usr/lib
install_driver(Oracle) failed: Can't load '/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/local/bin/perl: fatal: libclntsh.so.1.0: can't open file: errno=2 at /usr/local/lib/perl5/DynaLoader.pm line 140.

Any info would be appreciated otherwise I'll have to sqlplus foo/blah
-q 'blah blah blah...'


-pete
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05846-54@oink>;
          Thu, 17 Oct 1996 07:43:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845497560:01598:768; Wed, 16 Oct 96 21:26:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02455; 16 Oct 96 18:48 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA29216 for dbi-users-real; Wed, 16 Oct 1996 09:34:42 -0700 (PDT)
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.8.0/8.6.11) with SMTP id JAA29212 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 09:34:26 -0700 (PDT)
Received: from bssmlsa.nerc-bas.ac.uk 
          by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id RAA18747;
          Wed, 16 Oct 1996 17:32:07 +0100
Date: Wed, 16 Oct 1996 17:32:07 +0100 (BST)
From: Andy Wood <agw@mail.nerc-bas.ac.uk>
Reply-To: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
To: Steve Gwynn <sgwynn@rgbsn.com>
cc: Bob Hackenberg <rhackenb@atl.lmco.com>, 
    "DBI mailing list." <dbi-users@fugue.com>
Subject: Re: SQL QUESTION
In-Reply-To: <3264FD55.7085@rgbsn.com>
Message-ID: <Pine.SGI.3.95.961016172917.14694B-100000@bssmlsa.nerc-bas.ac.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Wed, 16 Oct 1996, Steve Gwynn wrote:

> From: Steve Gwynn <sgwynn@rgbsn.com>
> To: Bob Hackenberg <rhackenb@atl.lmco.com>
> Cc: "DBI mailing list." <dbi-users@fugue.com>
> Subject: Re: SQL QUESTION
> 
> Bob Hackenberg wrote:
> > 
> > I want to say
> > 
> > select author from boo.xyz where logno = 10
> > AND
> > select title from books.abc where title like "Huit Clos"
> > 
> 
> Try:
> SELECT author, title
> FROM boo.xyz, books.abc
> WHERE boo.xyz.logno = 10
>   AND books.abc.title like 'Huit Clos'
> 

Suggest you do not try this, because as you have no WHERE clause which
joins the two tables you will get a cartesian product of the two
tables!

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 punt.demon.co.uk by oink with SMTP (PP) id <05846-87@oink>;
          Thu, 17 Oct 1996 07:47:51 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845502630:21905:995; Wed, 16 Oct 96 22:50:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08384; 16 Oct 96 21:42 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA29887 for dbi-users-real; Wed, 16 Oct 1996 12:37:07 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id MAA29883 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 12:37:02 -0700 (PDT)
Received: from aloxe.sys.inferentia.it (aloxe.sys.inferentia.it [195.120.5.95]) 
          by sauternes.inferentia.it (8.7.6/8.7.3) with SMTP id VAA16759;
          Wed, 16 Oct 1996 21:36:08 +0100
Received: by aloxe.sys.inferentia.it with Microsoft Mail 
          id <01BBBBAA.2A2AC0E0@aloxe.sys.inferentia.it>;
          Wed, 16 Oct 1996 21:37:00 +-100
Message-ID: <01BBBBAA.2A2AC0E0@aloxe.sys.inferentia.it>
From: Davide Migliavacca <davide.migliavacca@inferentia.it>
To: 'Tim Bunce' <Tim.Bunce@ig.co.uk>
Cc: "'dbi-users@fugue.com'" <dbi-users@fugue.com>
Subject: RE: Announce: DBD-Oracle-0.40 with PL/SQL support
Date: Wed, 16 Oct 1996 21:36:59 +-100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am too busy with the annual SMAU expo now, but I'll surely use the =
feature when I go back to normal work.
Alive and listening :-)=20
Keep up the good work
	Davide

------------------------------------------
Davide Migliavacca - Inferentia, Milano IT
http://www.inferentia.it
Phone +39 2 59928.1 Fax .221
------ Standard disclaimer applies -------



----------
From: 	Tim Bunce[SMTP:Tim.Bunce@ig.co.uk]
Sent: 	mercoled=EC 16 ottobre 1996 13.48
To: 	dbi-users@fugue.com
Subject: 	Re: Announce: DBD-Oracle-0.40 with PL/SQL support

Where has everybody gone?

I'm somewhat surprised by the total lack of response after
adding support for PL/SQL in/out bind variables.

Puzzled.

Tim.



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05846-89@oink>;
          Thu, 17 Oct 1996 07:48:09 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845502659:21916:921; Wed, 16 Oct 96 22:50:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa08488; 16 Oct 96 21:42 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA29857 for dbi-users-real; Wed, 16 Oct 1996 12:33:00 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bnl.gov (bnl.gov [130.199.128.163]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id MAA29853 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 12:32:58 -0700 (PDT)
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 PAA10969 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 15:32:56 -0400 (EDT)
Received: by sun10.sep.bnl.gov.sep (4.1/SMI-4.1) id AA19614;
          Wed, 16 Oct 96 15:35:12 EDT
From: sailer@sun10.sep.bnl.gov (Tim Sailer)
Message-Id: <9610161935.AA19614@sun10.sep.bnl.gov.sep>
Subject: DBI/DBD/Oraperl
To: dbi-users@fugue.com
Date: Wed, 16 Oct 1996 15:35:12 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL22]
Content-Type: text

Is there any other way besides using Oraperl.pm to set ora_long?
Oraperl is the only place I've seen it.

Tim

-- 
 (work) sailer@bnl.gov / (home) tps@buoy.com - http://www.buoy.com/~tps
                     "Time flies like an arrow...
                      Fruit Flies like a Banana!"
** 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 <05846-102@oink>;
          Thu, 17 Oct 1996 07:49:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845505159:19007:319; Wed, 16 Oct 96 23:32:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26146; 16 Oct 96 22:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA29957 for dbi-users-real; Wed, 16 Oct 1996 12:59:22 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from monk.mps.ohio-state.edu (monk.mps.ohio-state.edu [128.146.111.52]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id MAA29953 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 12:59:12 -0700 (PDT)
Received: (from ilya@localhost) by monk.mps.ohio-state.edu (8.7.6/8.7.3) 
          id PAA26458; Wed, 16 Oct 1996 15:57:33 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Message-Id: <199610161957.PAA26458@monk.mps.ohio-state.edu>
Subject: Re: setbuf
To: nik@tiuk.ti.com (Nick Ing-Simmons)
Date: Wed, 16 Oct 1996 15:57:33 -0400 (EDT)
Cc: domo@tcp.ip.lu, Tim.Bunce@ig.co.uk, perl5-porters@africa.nicoh.com, 
    skimo@breughel.ufsia.ac.be, dbi-users@fugue.com, nik@tiuk.ti.com
In-Reply-To: <199610161022.LAA12729@pluto> from "Nick Ing-Simmons" at Oct 16, 96 11:22:31 am
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Nick Ing-Simmons writes:
> It is in IO::File::new_tmpfile (in IO.xs) and maps to PerlIO_tmpfile().

What it is? Do I understand it would fail if on RO media?

-e scripts are created in a safe writable location, not in the current
directory. Should not IO::File::new_tmpfile do the same, especially
since there is an infrastructure for this already?

Ilya
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05846-114@oink>;
          Thu, 17 Oct 1996 07:52:59 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845507943:05706:9; Thu, 17 Oct 96 00:19:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa05397; 17 Oct 96 0:17 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA29863 for dbi-users-real; Wed, 16 Oct 1996 12:34:53 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vortex.uplanet.com (host-165-3.uplanet.com [204.163.165.3]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id MAA29859 
          for <dbi-users@fugue.com>; Wed, 16 Oct 1996 12:34:51 -0700 (PDT)
Received: from yoga.uplanet.com by vortex.uplanet.com (SMI-8.6/SMI-SVR4) 
          id MAA21090; Wed, 16 Oct 1996 12:34:16 -0700
Received: by yoga.uplanet.com (SMI-8.6/SMI-SVR4) id MAA12071;
          Wed, 16 Oct 1996 12:34:15 -0700
Date: Wed, 16 Oct 1996 12:34:15 -0700
From: hamilton@uplanet.com (Hamilton H.)
Message-Id: <199610161934.MAA12071@yoga.uplanet.com>
To: dbi-users@fugue.com
Subject: DBI vs ODBC
X-Sun-Charset: US-ASCII

I am converting our oraperl code over to Perl 5 and was planning
on using DBI.  However, after untaring the DBI module and reading
the README I noticed at the bottom, a letter from Tim Bunce
written in December 1995?  I am confused about this letter.
Is Tim saying that DBI will be thrown out or that DBI will be
enhanced to support ODBC?  Sorry for the naive question but
I appreciate your response.

Hamilton Hitchings
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09426-22@oink>;
          Thu, 17 Oct 1996 09:53:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845541133:27686:1; Thu, 17 Oct 96 09:32:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27479; 17 Oct 96 9:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id AAA02387 for dbi-users-real; Thu, 17 Oct 1996 00:27:09 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeep.ti.com (news.ti.com [192.94.94.33]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id AAA02383 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 00:27:08 -0700 (PDT)
Received: from tilde.csc.ti.com ([128.247.160.56]) by gatekeep.ti.com (8.6.13) 
          with ESMTP id CAA15754; Thu, 17 Oct 1996 02:25:34 -0500
Received: from tiuk.ti.com (backup3.tiuk.ti.com [134.183.11.102]) 
          by tilde.csc.ti.com (8.7.5/8.7.3) with SMTP id CAA07523;
          Thu, 17 Oct 1996 02:25:02 -0500 (CDT)
Received: from pluto by tiuk.ti.com (4.1/SMI-4.1) id AA26255;
          Thu, 17 Oct 96 08:24:09 BST
Received: by pluto (SMI-8.6) id IAA15407; Thu, 17 Oct 1996 08:24:08 +0100
Date: Thu, 17 Oct 1996 08:24:08 +0100
Message-Id: <199610170724.IAA15407@pluto>
To: kjahds@kjahds.com
Cc: Tim.Bunce@ig.co.uk, domo@tcp.ip.lu, skimo@breughel.ufsia.ac.be, 
    perl5-porters@africa.nicoh.com, dbi-users@fugue.com, 
    Nick Ing-Simmons <nik@tiuk.ti.com>
From: Nick Ing-Simmons <nik@tiuk.ti.com>
Organization: via, but not speaking for : Texas Instruments Ltd.
Subject: Re: setbuf
References: <Pine.LNX.3.93.961016142333.403E-100000@kjahds.com>
In-Reply-To: <Pine.LNX.3.93.961016142333.403E-100000@kjahds.com> from Kenneth Albanowski on Wed, 16 Oct 1996 14:24:26 -0400 (EDT)

Kenneth Albanowski <kjahds@kjahds.com> writes:
>On Wed, 16 Oct 1996, Nick Ing-Simmons wrote:
>
>> It is in IO::File::new_tmpfile (in IO.xs) and maps to PerlIO_tmpfile().
>
>Assuming new_tmpfile can be used as a constructor, that's redudant. 

What is redundant - just the name ?

>It
>should be "new_temp" so that you can say:
>
>  $x = new_temp IO::File;

   $x = new_tmpfile IO::File;

Should work.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09426-24@oink>;
          Thu, 17 Oct 1996 09:53:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845541154:27692:15; Thu, 17 Oct 96 09:32:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27468; 17 Oct 96 9:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id AAA02434 for dbi-users-real; Thu, 17 Oct 1996 00:47:28 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeep.ti.com (news.ti.com [192.94.94.33]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id AAA02430 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 00:47:26 -0700 (PDT)
Received: from tilde.csc.ti.com ([128.247.160.56]) by gatekeep.ti.com (8.6.13) 
          with ESMTP id CAA17381; Thu, 17 Oct 1996 02:45:17 -0500
Received: from tiuk.ti.com (backup3.tiuk.ti.com [134.183.11.102]) 
          by tilde.csc.ti.com (8.7.5/8.7.3) with SMTP id CAA10868;
          Thu, 17 Oct 1996 02:44:44 -0500 (CDT)
Received: from pluto by tiuk.ti.com (4.1/SMI-4.1) id AA26511;
          Thu, 17 Oct 96 08:43:51 BST
Received: by pluto (SMI-8.6) id IAA15468; Thu, 17 Oct 1996 08:43:50 +0100
Date: Thu, 17 Oct 1996 08:43:50 +0100
Message-Id: <199610170743.IAA15468@pluto>
To: ilya@math.ohio-state.edu
Cc: Tim.Bunce@ig.co.uk, domo@tcp.ip.lu, skimo@breughel.ufsia.ac.be, 
    perl5-porters@africa.nicoh.com, dbi-users@fugue.com, nik@tiuk.ti.com
From: Nick Ing-Simmons <nik@tiuk.ti.com>
Organization: via, but not speaking for : Texas Instruments Ltd.
Subject: Re: setbuf
References: <199610161957.PAA26458@monk.mps.ohio-state.edu>
In-Reply-To: <199610161957.PAA26458@monk.mps.ohio-state.edu> from Ilya Zakharevich on Wed, 16 Oct 1996 15:57:33 -0400 (EDT)

Ilya Zakharevich <ilya@math.ohio-state.edu> writes:
>Nick Ing-Simmons writes:
>> It is in IO::File::new_tmpfile (in IO.xs) and maps to PerlIO_tmpfile().
>
>What it is? Do I understand it would fail if on RO media?
>
>-e scripts are created in a safe writable location, not in the current
>directory. Should not IO::File::new_tmpfile do the same, especially
>since there is an infrastructure for this already?

Perhaps. As it stands new_tmpfile  is built on 

extern FILE	*tmpfile(void);

While -e uses mktemp()

Both should put files in /tmp /usr/tmp /var/tmp or similar.
tmpfile() may honour $ENV{TMPDIR} ...


>
>Ilya
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09426-26@oink>;
          Thu, 17 Oct 1996 09:53:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845541162:27691:31; Thu, 17 Oct 96 09:32:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27455; 17 Oct 96 9:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id AAA02426 for dbi-users-real; Thu, 17 Oct 1996 00:42:53 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from kjahds.com (root@prn-ts1-21.jvnc.net [204.143.69.21]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id AAA02422 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 00:42:51 -0700 (PDT)
Received: from localhost (kjahds@localhost) by kjahds.com (8.7.5/8.7.3) 
          with SMTP id DAA02688; Thu, 17 Oct 1996 03:53:13 -0400
Date: Thu, 17 Oct 1996 03:53:13 -0400 (EDT)
From: Kenneth Albanowski <kjahds@kjahds.com>
To: Nick Ing-Simmons <nik@tiuk.ti.com>
cc: Tim.Bunce@ig.co.uk, domo@tcp.ip.lu, skimo@breughel.ufsia.ac.be, 
    perl5-porters@africa.nicoh.com, dbi-users@fugue.com
Subject: Re: setbuf
In-Reply-To: <199610170724.IAA15407@pluto>
Message-ID: <Pine.LNX.3.93.961017035256.2376D-100000@kjahds.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Thu, 17 Oct 1996, Nick Ing-Simmons wrote:

> Kenneth Albanowski <kjahds@kjahds.com> writes:
> >On Wed, 16 Oct 1996, Nick Ing-Simmons wrote:
> >
> >> It is in IO::File::new_tmpfile (in IO.xs) and maps to PerlIO_tmpfile().
> >
> >Assuming new_tmpfile can be used as a constructor, that's redudant. 
> 
> What is redundant - just the name ?

Yes, sorry, I did mean the name.

--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10551-20@oink>;
          Thu, 17 Oct 1996 14:12:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845547019:02396:46; Thu, 17 Oct 96 11:10:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02379; 17 Oct 96 11:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id BAA02497 for dbi-users-real; Thu, 17 Oct 1996 01:57:53 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from monk.mps.ohio-state.edu (monk.mps.ohio-state.edu [128.146.111.52]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id BAA02493 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 01:57:51 -0700 (PDT)
Received: (from ilya@localhost) by monk.mps.ohio-state.edu (8.7.6/8.7.3) 
          id EAA27195; Thu, 17 Oct 1996 04:56:10 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Message-Id: <199610170856.EAA27195@monk.mps.ohio-state.edu>
Subject: Re: setbuf
To: nik@tiuk.ti.com (Nick Ing-Simmons)
Date: Thu, 17 Oct 1996 04:56:09 -0400 (EDT)
Cc: ilya@math.ohio-state.edu, Tim.Bunce@ig.co.uk, domo@tcp.ip.lu, 
    skimo@breughel.ufsia.ac.be, perl5-porters@africa.nicoh.com, 
    dbi-users@fugue.com, nik@tiuk.ti.com
In-Reply-To: <199610170743.IAA15468@pluto> from "Nick Ing-Simmons" at Oct 17, 96 08:43:50 am
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Nick Ing-Simmons writes:
> 
> Ilya Zakharevich <ilya@math.ohio-state.edu> writes:
> >Nick Ing-Simmons writes:
> >> It is in IO::File::new_tmpfile (in IO.xs) and maps to PerlIO_tmpfile().
> >
> >What it is? Do I understand it would fail if on RO media?
> >
> >-e scripts are created in a safe writable location, not in the current
> >directory. Should not IO::File::new_tmpfile do the same, especially
> >since there is an infrastructure for this already?
> 
> Perhaps. As it stands new_tmpfile  is built on 
> 
> extern FILE	*tmpfile(void);
> 
> While -e uses mktemp()
> 
> Both should put files in /tmp /usr/tmp /var/tmp or similar.
> tmpfile() may honour $ENV{TMPDIR} ...

Well, POSIX::tmpnam() here (OS/2) returns name in the current
directory whether or not it is read-only. Similarly,

	perl -MFileHandle -e '$fh = FileHandle::new_tmpfile; print STDERR $fh'

leaves $fh undefined iff on read-only media. How does it work on *nix?
I may even report it as a bug in CRT if it works somewhere.

Ilya
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10551-22@oink>;
          Thu, 17 Oct 1996 14:13:06 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845547085:03041:0; Thu, 17 Oct 96 11:11:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02386; 17 Oct 96 11:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id CAA02559 for dbi-users-real; Thu, 17 Oct 1996 02:15:11 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gatekeep.ti.com (news.ti.com [192.94.94.33]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id CAA02555 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 02:15:09 -0700 (PDT)
Received: from tilde.csc.ti.com ([128.247.160.56]) by gatekeep.ti.com (8.6.13) 
          with ESMTP id EAA25474; Thu, 17 Oct 1996 04:13:27 -0500
Received: from tiuk.ti.com (backup3.tiuk.ti.com [134.183.11.102]) 
          by tilde.csc.ti.com (8.7.5/8.7.3) with SMTP id EAA24541;
          Thu, 17 Oct 1996 04:12:54 -0500 (CDT)
Received: from pluto by tiuk.ti.com (4.1/SMI-4.1) id AA27598;
          Thu, 17 Oct 96 10:12:01 BST
Received: by pluto (SMI-8.6) id KAA15689; Thu, 17 Oct 1996 10:12:00 +0100
Date: Thu, 17 Oct 1996 10:12:00 +0100
Message-Id: <199610170912.KAA15689@pluto>
To: ilya@math.ohio-state.edu
Cc: Tim.Bunce@ig.co.uk, domo@tcp.ip.lu, perl5-porters@africa.nicoh.com, 
    skimo@breughel.ufsia.ac.be, dbi-users@fugue.com, nik@tiuk.ti.com
From: Nick Ing-Simmons <nik@tiuk.ti.com>
Organization: via, but not speaking for : Texas Instruments Ltd.
Subject: Re: setbuf
References: <199610170856.EAA27195@monk.mps.ohio-state.edu>
In-Reply-To: <199610170856.EAA27195@monk.mps.ohio-state.edu> from Ilya Zakharevich on Thu, 17 Oct 1996 04:56:09 -0400 (EDT)

Ilya Zakharevich <ilya@math.ohio-state.edu> writes:
>> 
>> Perhaps. As it stands new_tmpfile  is built on 
>> 
>> extern FILE	*tmpfile(void);
>> 
>> While -e uses mktemp()
>> 
>> Both should put files in /tmp /usr/tmp /var/tmp or similar.
>> tmpfile() may honour $ENV{TMPDIR} ...
>
>Well, POSIX::tmpnam() here (OS/2) returns name in the current
>directory whether or not it is read-only. Similarly,

tmpnam() and tmpfile() _could_ behave differently, but I guess it is 
unlikely. On *nix (Solaris man page): 

     tmpnam() always generates a file name using the  path-prefix
     defined  as P_tmpdir in the <stdio.h> header.  If s is NULL,
     tmpnam() leaves its result in an internal  static  area  and
     returns  a  pointer to that area.  The next call to tmpnam()
     will destroy the contents of the area.  If s is not NULL, it
     is  assumed  to  be  the  address  of  an  array of at least
     L_tmpnam bytes, where L_tmpnam  is  a  constant  defined  in
     <stdio.h>;  tmpnam()  places  its  result  in that array and
     returns s.

     tmpfile() creates a temporary file using a name generated by
     the  tmpnam()  routine  and  returns  a  corresponding  FILE
     pointer.  


My stdio.h defines:

#define	P_tmpdir	"/var/tmp/"

As it happens I dislike that - /var/tmp is small here, I would rather 
it used /tmp

>
>	perl -MFileHandle -e '$fh = FileHandle::new_tmpfile; print STDERR $fh'
>
>leaves $fh undefined iff on read-only media. How does it work on *nix?

I don't have any read-only media to hand, but man implies it should work.

>I may even report it as a bug in CRT if it works somewhere.
>
>Ilya
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10551-24@oink>;
          Thu, 17 Oct 1996 14:13:17 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845547090:03041:8; Thu, 17 Oct 96 11:11:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa02437; 17 Oct 96 11:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id CAA02515 for dbi-users-real; Thu, 17 Oct 1996 02:00:36 -0700 (PDT)
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.8.0/8.6.11) with SMTP id CAA02511 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 02:00:34 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ac08370;
          17 Oct 96 8:59 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab07506; 17 Oct 96 9:51 BST
Received: from toad by oink with SMTP (PP) id <09395-0@oink>;
          Thu, 17 Oct 1996 09:49:31 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11492;
          Thu, 17 Oct 1996 09:49:23 +0000
Date: Thu, 17 Oct 1996 09:49:23 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610170849.AA11492@toad.ig.co.uk>
To: dbi-users@fugue.com, Steve_Kilbane@cegelecproj.co.uk
Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve_Kilbane@cegelecproj.co.uk
> 
> Tim quoth:
> > I'm somewhat surprised by the total lack of response after
> > adding support for PL/SQL in/out bind variables.
> 
> Ok, a question, then. I've been using oraperl in the past.
> Can I carry on using it, or do I have to get around to
> learning DBD to take advantage of the in/out binding?

Look at test.pl. It uses oraperl for everything except the
bind_param_inout call. That's what I'd recommend for now.

> Oh, and thanks for doing this. I'm sure you'll regret
> it soon enough, when the deluge starts. :-)

:-)

Next time I get some free time I'll do some more work on
the row cache. I've done some already and I've also had a
patch sent to me but it wasn't a context diff so I've not 
done much with it. No promises, as usual.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10551-28@oink>;
          Thu, 17 Oct 1996 14:13:35 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845548092:08142:7; Thu, 17 Oct 96 11:28:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07819; 17 Oct 96 11:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id CAA02578 for dbi-users-real; Thu, 17 Oct 1996 02:26:41 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from monk.mps.ohio-state.edu (monk.mps.ohio-state.edu [128.146.111.52]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id CAA02574 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 02:26:39 -0700 (PDT)
Received: (from ilya@localhost) by monk.mps.ohio-state.edu (8.7.6/8.7.3) 
          id FAA27289; Thu, 17 Oct 1996 05:26:08 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Message-Id: <199610170926.FAA27289@monk.mps.ohio-state.edu>
Subject: Re: setbuf
To: nik@tiuk.ti.com (Nick Ing-Simmons)
Date: Thu, 17 Oct 1996 05:26:08 -0400 (EDT)
Cc: ilya@math.ohio-state.edu, Tim.Bunce@ig.co.uk, domo@tcp.ip.lu, 
    perl5-porters@africa.nicoh.com, skimo@breughel.ufsia.ac.be, 
    dbi-users@fugue.com, nik@tiuk.ti.com
In-Reply-To: <199610170912.KAA15689@pluto> from "Nick Ing-Simmons" at Oct 17, 96 10:12:00 am
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Nick Ing-Simmons writes:
> tmpnam() and tmpfile() _could_ behave differently, but I guess it is 
> unlikely. On *nix (Solaris man page): 
> 
>      tmpnam() always generates a file name using the  path-prefix
>      defined  as P_tmpdir in the <stdio.h> header.  If s is NULL,
>      tmpnam() leaves its result in an internal  static  area  and
>      returns  a  pointer to that area.  The next call to tmpnam()
>      will destroy the contents of the area.  If s is not NULL, it
>      is  assumed  to  be  the  address  of  an  array of at least
>      L_tmpnam bytes, where L_tmpnam  is  a  constant  defined  in
>      <stdio.h>;  tmpnam()  places  its  result  in that array and
>      returns s.
> 
>      tmpfile() creates a temporary file using a name generated by
>      the  tmpnam()  routine  and  returns  a  corresponding  FILE
>      pointer.  

Word-by-word (Well, I did not check, but it looks so) the same
here. _But_:

#if !defined (P_tmpdir)
#define P_tmpdir "."
#define L_tmpnam (sizeof (P_tmpdir) + 13)
#endif

Perl has a macro TMPPATH which may be a better default for tmpnam than
NULL. It is "/tmp" on *nix and calculated at runtime under OS/2. 

It _should_ work since -e depends on it. Should not it be used instead
of NULL if no argument for POSIX::tmpnam is given? Having tmpfile()
work may be a little bit trickier.

On the other hand, since it looks broken under OS/2 only (so far), I
may just redefine tmpfile() and tmpnam() in os2ish.h...

Ilya
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10551-30@oink>;
          Thu, 17 Oct 1996 14:13:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845548989:12482:0; Thu, 17 Oct 96 11:43:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12021; 17 Oct 96 11:41 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id CAA02614 for dbi-users-real; Thu, 17 Oct 1996 02:45:16 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from tcp.ip.lu (slipper.ip.lu [194.51.248.48]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id CAA02610 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 02:45:10 -0700 (PDT)
Received: from [194.51.248.70] by tcp.ip.lu with smtp (Smail3.1.29.1 #1) 
          id m0vDooH-0003mhC; Thu, 17 Oct 96 10:32 MET
Message-Id: <v03007803ae8ba059ee03@[194.51.248.65]>
In-Reply-To: <199610161022.LAA12729@pluto>
References: <v03007803ae8a4e29216a@[194.51.248.75]> from Dominic Dunlop on Wed,
            16 Oct 1996 10:41:23 +0200 <9610150000.AA02144@toad.ig.co.uk> from Tim Bunce on Tue,
            15 Oct 1996 01:00:51 +0000 <9610150000.AA02144@toad.ig.co.uk> <v03007803ae8a4e29216a@[194.51.248.75]>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 17 Oct 1996 11:26:53 +0200
To: Nick Ing-Simmons <nik@tiuk.ti.com>
From: Dominic Dunlop <domo@tcp.ip.lu>
Subject: Re: setbuf
Cc: Tim.Bunce@ig.co.uk, perl5-porters@africa.nicoh.com, 
    skimo@breughel.ufsia.ac.be, dbi-users@fugue.com, 
    Nick Ing-Simmons <nik@tiuk.ti.com>

At 12:22 +0200 1996-10-16, Nick Ing-Simmons wrote ,in response to my
slightly off-topic question about the disposition of FileHandle:new_tmpfile:

>It is in IO::File::new_tmpfile (in IO.xs) and maps to PerlIO_tmpfile().
>...
>Does not seem to be mentioned in IO::File.pm though.

Damn.  I should have grepped through the libraries as well as the man
pages.  After all, that's what I did last time...

---
Dominic Dunlop


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10551-41@oink>;
          Thu, 17 Oct 1996 14:14:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845555080:12823:15; Thu, 17 Oct 96 13:24:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12700; 17 Oct 96 13:24 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id DAA02742 for dbi-users-real; Thu, 17 Oct 1996 03:57:21 -0700 (PDT)
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.8.0/8.6.11) with SMTP id DAA02738 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 03:57:19 -0700 (PDT)
X400-Received: by mta NT.COM in /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Thu, 17 Oct 1996 10:55:23 +0000
X400-Received: by /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Thu, 17 Oct 1996 08:51:29 +0000
X400-Received: by /PRMD=NT/ADMD=MCI/C=US/; Relayed;
               Thu, 17 Oct 1996 01:51:02 +0000
Date: Thu, 17 Oct 1996 01:51:02 +0000
X400-Originator: Greg.Giles.3113701@nt.com
X400-Recipients: non-disclosure:;
X400-MTS-Identifier: [/PRMD=NT/ADMD=MCI/C=US/;<n1366576217.29044@npgtq02.pai01]
X400-Content-Type: P2-1984 (2)
Content-Identifier: Re: Announce:...
From: Greg Giles <Greg.Giles.3113701@nt.com>
Message-ID: <n1366576217.29044@npgtq02.pai01.nt.com>
To: dbi-users@fugue.com
Subject: Re: Announce: DBD-Oracle-0.
X-Mailer: Mail*Link SMTP-QM 3.0.3 b1 d5
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; Name="Message Body"
Content-Transfer-Encoding: quoted-printable


> I'm somewhat surprised by the total lack of response after
> adding support for PL/SQL in/out bind variables.

My e-mail has been down over the last few days and I've lost the =
announcement.
I for one would like to congratulate you on getting this working, it will =
be of
major benefit to our whole team. We are currently doing cross-platform =
devlopment
with C (HP, Sun, Win3.1, Win95), perl, tcl/tk, Visual Basic, Powerbuilder =
(Mac, Sun & PC)
now we have this we can take advantage of the PL-SQL packages we have =
developed,
as thats where the majority of our business logic is.

Many Thanks

---------------------------------------------------------------------
| 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 <11973-4@oink>;
          Thu, 17 Oct 1996 16:06:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845562992:29971:50; Thu, 17 Oct 96 15:36:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa29800; 17 Oct 96 15:34 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA02994 for dbi-users-real; Thu, 17 Oct 1996 06:24:17 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA02990 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 06:24:15 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac12432;
          17 Oct 96 14:15 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab29372; 17 Oct 96 14:11 BST
Received: from toad by oink with SMTP (PP) id <09974-0@oink>;
          Thu, 17 Oct 1996 10:05:17 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11596;
          Thu, 17 Oct 1996 10:05:09 +0000
Date: Thu, 17 Oct 1996 10:05:09 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610170905.AA11596@toad.ig.co.uk>
To: dbi-users@fugue.com, sailer@sun10.sep.bnl.gov
Subject: Re: DBI/DBD/Oraperl
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: sailer@sun10.sep.bnl.gov (Tim Sailer)
> 
> Is there any other way besides using Oraperl.pm to set ora_long?
> Oraperl is the only place I've seen it.

You can set $Oraperl::ora_long where ever you like :-)

I plan to migrate the 'long & trunc' concept up into the DBI
so it can be used by other drivers in a consistent manner.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11973-8@oink>;
          Thu, 17 Oct 1996 16:06:44 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845563936:03556:312; Thu, 17 Oct 96 15:52:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06273; 17 Oct 96 15:51 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA03034 for dbi-users-real; Thu, 17 Oct 1996 06:44:45 -0700 (PDT)
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.8.0/8.6.11) with SMTP id GAA03030 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 06:44:43 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ah26086;
          17 Oct 96 14:26 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa01516; 17 Oct 96 14:19 BST
Received: from toad by oink with SMTP (PP) id <10628-0@oink>;
          Thu, 17 Oct 1996 14:18:57 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA12265;
          Thu, 17 Oct 1996 14:18:47 +0000
Date: Thu, 17 Oct 1996 14:18:47 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610171318.AA12265@toad.ig.co.uk>
To: ilya@math.ohio-state.edu, nik@tiuk.ti.com
Subject: Re: setbuf
Cc: Tim.Bunce@ig.co.uk, domo@tcp.ip.lu, perl5-porters@africa.nicoh.com, 
    skimo@breughel.ufsia.ac.be, dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


I'd appreciate it if further mail on this thread could remove
dbi-users@fugue.com from the CC line. The discussion has moved
outside the scope of that list.

Thanks.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11973-12@oink>;
          Thu, 17 Oct 1996 16:06:58 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845564346:08158:144; Thu, 17 Oct 96 15:59:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07989; 17 Oct 96 15:55 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA03000 for dbi-users-real; Thu, 17 Oct 1996 06:26:39 -0700 (PDT)
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.8.0/8.6.11) with SMTP id GAA02996 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 06:26:38 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ab25402;
          17 Oct 96 14:19 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa29372; 17 Oct 96 14:11 BST
Received: from toad by oink with SMTP (PP) id <09487-0@oink>;
          Thu, 17 Oct 1996 10:00:38 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11587;
          Thu, 17 Oct 1996 10:00:25 +0000
Date: Thu, 17 Oct 1996 10:00:25 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610170900.AA11587@toad.ig.co.uk>
To: powers@ml.com
Subject: Re: DBI status
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "Brent B. Powers" <powers@ml.com>
> 
> I'm a little confused.... I had thought that DBI development was
> somewhat 'on hold' until it was re-architected to be based more on the
> line of ODBC... Is this the case?

I certainly have strong plans for ODBC support. Basically it comes
just below adding a row cache to DBD::Oracle, which is next on
the list.

> (I was somewhat surprised to see the article in DDJ on DBI).

So was I!

I'm very happy to have people write about the DBI but I found it
rather sad and puzzling that Perry Scherer don't contact me to
check over what he was going to have printed. There were an
assortment of minor problems I would have happily corrected.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12033-0@oink>;
          Thu, 17 Oct 1996 16:20:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845565429:15011:134; Thu, 17 Oct 96 16:17:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15398; 17 Oct 96 16:14 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA03050 for dbi-users-real; Thu, 17 Oct 1996 06:51:03 -0700 (PDT)
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.8.0/8.6.11) with SMTP id GAA03045 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 06:51:01 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id aa25406;
          17 Oct 96 14:19 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac29372; 17 Oct 96 14:11 BST
Received: from toad by oink with SMTP (PP) id <09982-0@oink>;
          Thu, 17 Oct 1996 10:05:59 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11602;
          Thu, 17 Oct 1996 10:05:50 +0000
Date: Thu, 17 Oct 1996 10:05:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610170905.AA11602@toad.ig.co.uk>
To: pgiza@cmgi.com
Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Peter Giza <pgiza@cmgi.com>
> 
> Tim,
> 
> I'd be a whole lot more excited if exec'ing stored procs worked.

Eh?

"exec'ing stored procs" has always worked.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12802-2@oink>;
          Thu, 17 Oct 1996 17:13:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845568723:04020:335; Thu, 17 Oct 96 17:12:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa04102; 17 Oct 96 17:01 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA03188 for dbi-users-real; Thu, 17 Oct 1996 07:26:09 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from intfw.bear.com (intfw.bear.com [206.25.172.66]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id HAA03184 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 07:26:08 -0700 (PDT)
Received: by intfw.bear.com (4.1/SMI-4.1) id AA23501;
          Thu, 17 Oct 96 10:26:05 EDT
Received: from fastbear(165.168.74.3) by intfw via smap (V1.3) id sma022505;
          Thu Oct 17 10:16:50 1996
Received: from ursa2.bear.com 
          by fastbear.bear.com (4.1/SMI-4.1/1.0 AMR 12/15/94) id AA11493;
          Thu, 17 Oct 96 10:22:28 EDT
Received: from bear.com (ursa) by ursa2.bear.com (4.1/SMI-4.1/AMR+DJMS(2)) 
          id AA11508; Thu, 17 Oct 96 10:16:45 EDT
Received: from jaguar.bears by bear.com (4.1/SMI-4.0/JMD+AR+DJS) id AA25929;
          Thu, 17 Oct 96 10:16:44 EDT
Received: by jaguar.bears (4.1/SMI-4.1) id AA17984; Thu, 17 Oct 96 10:16:43 EDT
Date: Thu, 17 Oct 96 10:16:43 EDT
From: buzz@bear.com (Buzz Moschetti)
Message-Id: <9610171416.AA17984@jaguar.bears>
To: Tim Bunce <Tim.Bunce@ig.co.uk>
Cc: powers@ml.com, dbi-users@fugue.com
In-Reply-To: <9610170900.AA11587@toad.ig.co.uk>
Subject: Re: DBI status
Reply-To: buzz@bear.com (Buzz Moschetti)

Tim Bunce writes:
 > > From: "Brent B. Powers" <powers@ml.com>
 > [...]
 > > (I was somewhat surprised to see the article in DDJ on DBI).
 > 
 > So was I!
 > 
 > I'm very happy to have people write about the DBI but I found it
 > rather sad and puzzling that Perry Scherer don't contact me to
 > check over what he was going to have printed. There were an
 > assortment of minor problems I would have happily corrected.

The fact that the bulk of the quotes in the article were pulled almost
verbatim from the perl FAQ and articles in c.l.p seems to indicate that
a new kind of cyber "re-reporting" industry is sprouting up.  It's no
longer necessary to actually talk (or email) to individuals; you can
simply go to a few newsgroups, mailing list, and a Lycos/AltaVista 
search or two and presto.


--
*******************************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, offer or
agreement or any information about any transaction, customer account or account
activity contained in this communication.
*******************************************************************************
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13048-4@oink>;
          Thu, 17 Oct 1996 18:01:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845570899:21147:245; Thu, 17 Oct 96 17:48:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17769; 17 Oct 96 17:34 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA03320 for dbi-users-real; Thu, 17 Oct 1996 08:04:27 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id IAA03316 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 08:04:26 -0700 (PDT)
Received: from jovial.cse.psu.edu (groenvel@jovial.cse.psu.edu [130.203.10.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id LAA29040;
          Thu, 17 Oct 1996 11:04:23 -0400 (EDT)
Message-Id: <199610171504.LAA29040@cse.psu.edu>
X-Mailer: exmh version 1.6.9 8/22/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: pgiza@cmgi.com
cc: dbi-users@fugue.com
Subject: Re: OK What gives?!
In-reply-to: Your message of "Wed, 16 Oct 1996 14:09:42 EDT." <199610161809.OAA29620@oz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 17 Oct 1996 11:04:15 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

> I can make my cgi script work from the command line just fine
> but when I try to access it through the Apache webserver it
> deficates all over the error_log.
Smells like a CGI FAQ...did you try it from the command line as the user under which the server runs? 'su - nobody'?
John
groenvel@cse.psu.edu 

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14017-0@oink>;
          Thu, 17 Oct 1996 19:38:47 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845577309:10435:1955; Thu, 17 Oct 96 19:35:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07899; 17 Oct 96 18:24 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA03495 for dbi-users-real; Thu, 17 Oct 1996 08:59:35 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA03491 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 08:59:29 -0700 (PDT)
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id QAA03629;
          Thu, 17 Oct 1996 16:46:00 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id QAA02039; Thu, 17 Oct 1996 16:57:53 +0100
From: Alligator Descartes <descarte@hermetica.com>
Message-Id: <199610171557.QAA02039@chewbacca.hermetica.com>
Subject: Re: DBI status
To: buzz@bear.com
Date: Thu, 17 Oct 1996 16:57:52 +0100 (BST)
Cc: Tim.Bunce@ig.co.uk, powers@ml.com, dbi-users@fugue.com
In-Reply-To: <9610171416.AA17984@jaguar.bears> from "Buzz Moschetti" at Oct 17, 96 10:16: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


>  > I'm very happy to have people write about the DBI but I found it
>  > rather sad and puzzling that Perry Scherer don't contact me to
>  > check over what he was going to have printed. There were an
>  > assortment of minor problems I would have happily corrected.
> 
> The fact that the bulk of the quotes in the article were pulled almost
> verbatim from the perl FAQ and articles in c.l.p seems to indicate that
> a new kind of cyber "re-reporting" industry is sprouting up.  It's no
> longer necessary to actually talk (or email) to individuals; you can
> simply go to a few newsgroups, mailing list, and a Lycos/AltaVista 
> search or two and presto.

Hm, not having seen the article, I can only comment on the abstract on the
WWW site. The article looks quite poor. Advertised as the 'DBPerl' API? *ahem*
Pity there aren't DBDs for all the databases he's touted it supports.

Given that neither I, Tim, nor the list have heard a thing about it, it could
well be a zero-research article. What a pity.

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 <14103-0@oink>;
          Thu, 17 Oct 1996 20:13:49 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845579558:17589:471; Thu, 17 Oct 96 20:12:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26885; 17 Oct 96 19:08 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA03615 for dbi-users-real; Thu, 17 Oct 1996 09:37:48 -0700 (PDT)
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.8.0/8.6.11) with SMTP id JAA03611 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 09:37:45 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id aa25254;
          17 Oct 96 14:17 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad29372; 17 Oct 96 14:11 BST
Received: from toad by oink with SMTP (PP) id <09995-0@oink>;
          Thu, 17 Oct 1996 10:09:46 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11608;
          Thu, 17 Oct 1996 10:09:39 +0000
Date: Thu, 17 Oct 1996 10:09:39 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610170909.AA11608@toad.ig.co.uk>
To: dbi-users@fugue.com, hamilton@uplanet.com
Subject: Re: DBI vs ODBC
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: hamilton@uplanet.com (Hamilton H.)
> 
> I am converting our oraperl code over to Perl 5 and was planning
> on using DBI.  However, after untaring the DBI module and reading
> the README I noticed at the bottom, a letter from Tim Bunce
> written in December 1995?  I am confused about this letter.
> Is Tim saying that DBI will be thrown out or that DBI will be
> enhanced to support ODBC?  Sorry for the naive question but
> I appreciate your response.

The DBI will be extended rather than "thrown out".

Basically ignore that letter for now and stick with the Oraperl
emulation that comes with DBD::Oracle.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15713-4@oink>;
          Fri, 18 Oct 1996 07:36:17 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845581429:10537:4411; Thu, 17 Oct 96 20:43:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14271; 17 Oct 96 19:51 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA03839 for dbi-users-real; Thu, 17 Oct 1996 10:34:47 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from deliverator.sgi.com (deliverator.sgi.com [204.94.214.10]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA03835 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 10:34:45 -0700 (PDT)
Received: from dockrill.corp.sgi.com by deliverator.sgi.com 
          via ESMTP (950413.SGI.8.6.12/951211.SGI.AUTO) id KAA05970;
          Thu, 17 Oct 1996 10:34:43 -0700
Received: by dockrill.corp.sgi.com (950413.SGI.8.6.12/930416.SGI) id KAA20943;
          Thu, 17 Oct 1996 10:34:42 -0700
Date: Thu, 17 Oct 1996 10:34:42 -0700
From: sanjeevk@dockrill.corp.sgi.com (Sanjeev Kumar)
Message-Id: <9610171034.ZM20941@dockrill.corp.sgi.com>
In-Reply-To: Tim Bunce <Tim.Bunce@ig.co.uk> "Re: Announce: DBD-Oracle-0.40 with PL/SQL support" (Oct 17, 10:05am)
References: <9610170905.AA11602@toad.ig.co.uk>
X-Mailer: Z-Mail-SGI (3.2S.3 08feb96 MediaMail)
To: Tim Bunce <Tim.Bunce@ig.co.uk>, pgiza@cmgi.com
Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
Cc: dbi-users@fugue.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Once Upon a Time  Oct 17, 10:05am, Tim Bunce wrote:
> Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
>
> > From: Peter Giza <pgiza@cmgi.com>
> >
> > Tim,
> >
> > I'd be a whole lot more excited if exec'ing stored procs worked.
>
> Eh?
>
> "exec'ing stored procs" has always worked.
Could you give us a few examples of stored procedure execution? Describing
where we could pass few parameters and    bind results with the variables.
This feature has been very cool with Sybperl.

Thanks
sk.
>
> Tim.
>-- End of excerpt from Tim Bunce


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15713-12@oink>;
          Fri, 18 Oct 1996 07:39:57 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845582778:10537:5419; Thu, 17 Oct 96 21:06:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14731; 17 Oct 96 19:51 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA03854 for dbi-users-real; Thu, 17 Oct 1996 10:42:12 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from netmail1.austin.ibm.com (netmail1.austin.ibm.com [129.35.208.96]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA03850 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 10:42:10 -0700 (PDT)
From: mhm@austin.ibm.com
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59]) 
          by netmail1.austin.ibm.com (8.6.12/8.6.11) with ESMTP id MAA56556;
          Thu, 17 Oct 1996 12:42:12 -0500
Received: (from mhm@localhost) 
          by dax.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) id MAA19908;
          Thu, 17 Oct 1996 12:42:03 -0500 (CDT)
Message-Id: <199610171742.MAA19908@dax.austin.ibm.com>
X-Mailer: exmh version 1.6.7 5/3/96
To: Tim Bunce <Tim.Bunce@ig.co.uk>
cc: powers@ml.com, dbi-users@fugue.com
Subject: Re: DBI status
In-reply-to: Your message of Thu, 17 Oct 96 10:00:25 +0000. <9610170900.AA11587@toad.ig.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 17 Oct 96 12:42:02 -0500


Tim Bunce <Tim.Bunce@ig.co.uk>  writes:
> 
> > From: "Brent B. Powers" <powers@ml.com>
> > 
> > I'm a little confused.... I had thought that DBI development was
> > somewhat 'on hold' until it was re-architected to be based more on the
> > line of ODBC... Is this the case?
> 
> I certainly have strong plans for ODBC support. Basically it comes
> just below adding a row cache to DBD::Oracle, which is next on
> the list.
> 
> > (I was somewhat surprised to see the article in DDJ on DBI).
> 
> So was I!
> 
> I'm very happy to have people write about the DBI but I found it
> rather sad and puzzling that Perry Scherer don't contact me to
> check over what he was going to have printed. There were an
> assortment of minor problems I would have happily corrected.
> 

Agreed.  I tried sending him a follow up note pointing out some of the
things I caught (probably not as extensive as your list, Tim), but never
got a reply or acknowledgement.

I found it a little be depressing to be relegated to second class status.
DBD::DB2 didn't get mentioned until the bottom of second column...you
would think that the interface of choice for the IBM Olympic web server
would rate a little more press :-)

Mike
----------------------------------------------------------------------
Michael H. Moran                  | Standard Disclaimer:  The content 
mhm@austin.ibm.com                | of this posting is independent of 
Modeling, Analysis, and Compilers | official IBM position.
IBM Corporation, Austin, Texas    |


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15713-14@oink>;
          Fri, 18 Oct 1996 07:40:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845583005:17589:2566; Thu, 17 Oct 96 21:10:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16751; 17 Oct 96 19:57 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA03943 for dbi-users-real; Thu, 17 Oct 1996 11:04:37 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA03938 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 11:04:28 -0700 (PDT)
From: descarte@hermetica.com
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id SAA06090 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 18:50:58 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id TAA02556 for dbi-users@fugue.com; Thu, 17 Oct 1996 19:02:52 +0100
Message-Id: <199610171802.TAA02556@chewbacca.hermetica.com>
Subject: Database Mover program
To: dbi-users@fugue.com
Date: Thu, 17 Oct 1996 19:02:52 +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


I've bundled up a really old and quickly hacked version of a program that
I'd started developing to migrate between databases using DBI. It's in
rudimentary state, but the basic structure is there if anyone wants to run
with it.

	ftp://ftp.mcqueen.com/pub/databases/dbmv-0.1.tar.gz

I think it supported mSQL -> Oracle and vice versa, or something like that.
Extending it to cover Informix would be pretty easy too.

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 <15713-59@oink>;
          Fri, 18 Oct 1996 07:44:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845589805:27664:102; Thu, 17 Oct 96 23:03:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17560; 17 Oct 96 22:34 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA04610 for dbi-users-real; Thu, 17 Oct 1996 13:10:31 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from abyss.ecst.csuchico.edu (abyss.ecst.csuchico.edu [132.241.1.34]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id NAA04606 
          for <dbi-users@fugue.com>; Thu, 17 Oct 1996 13:10:24 -0700 (PDT)
Received: (from kal@localhost) 
          by abyss.ecst.csuchico.edu (8.8.Beta.4/8.8.Beta.4) id NAA13676 
          for dbi-users@fugue.com; Thu, 17 Oct 1996 13:09:30 -0700 (PDT)
From: Simplicist <kal@ecst.csuchico.edu>
Message-Id: <199610172009.NAA13676@abyss.ecst.csuchico.edu>
Subject: A sample script
To: dbi-users@fugue.com
Date: Thu, 17 Oct 1996 13:09:29 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Greetings all,
Can someone post a sample perl5 script that uses  DBI and DBD::Oracle?
As a beginner, I haven't yet started using oraperl or DBD::Oracle.
Should I learn DBD and forget oraperl, or use oraperl emulation
in DBD then switch to DBD?
Any advice greatly appreciated.

Kal.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19346-28@oink>;
          Fri, 18 Oct 1996 12:29:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845637650:01681:39; Fri, 18 Oct 96 12:20:50 BST
Received: from relay-1.mail.demon.net ([158.152.1.140]) 
          by punt-1.mail.demon.net id aa01896; 18 Oct 96 12:20 BST
Received: from toccata.fugue.com ([(null)]) by relay-1.mail.demon.net 
          id aa07357; 18 Oct 96 12:19 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id BAA06213 for dbi-users-real; Fri, 18 Oct 1996 01:17:33 -0700 (PDT)
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.8.0/8.6.11) with SMTP id BAA06209 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 01:17:24 -0700 (PDT)
Received: from bssmlsa.nerc-bas.ac.uk 
          by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id JAA15299;
          Fri, 18 Oct 1996 09:16:58 +0100
Date: Fri, 18 Oct 1996 09:16:57 +0100 (BST)
From: Andy Wood <agw@mail.nerc-bas.ac.uk>
Reply-To: Andrew G Wood <agw@mail.nerc-bas.ac.uk>
To: Simplicist <kal@ecst.csuchico.edu>
cc: dbi-users@fugue.com
Subject: Re: A sample script
In-Reply-To: <199610172009.NAA13676@abyss.ecst.csuchico.edu>
Message-ID: <Pine.SGI.3.95.961018091230.19516A-100000@bssmlsa.nerc-bas.ac.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Kal,

On Thu, 17 Oct 1996, Simplicist wrote:

> From: Simplicist <kal@ecst.csuchico.edu>
> To: dbi-users@fugue.com
> Subject: A sample script
> 
> Greetings all,
> Can someone post a sample perl5 script that uses  DBI and DBD::Oracle?
> As a beginner, I haven't yet started using oraperl or DBD::Oracle.
> Should I learn DBD and forget oraperl, or use oraperl emulation
> in DBD then switch to DBD?
> Any advice greatly appreciated.
> 
> Kal.
> 

Suggest that you take a look at the test script that comes with the
DBD::Oracle distribution ......

DBD-Oracle-0.40/test.pl

I learnt a great deal from that.

Personally I find Oraperl much easier to use than the raw :-) DBD.

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 punt.demon.co.uk by oink with SMTP (PP) id <20853-16@oink>;
          Fri, 18 Oct 1996 18:03:04 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845646925:20484:27; Fri, 18 Oct 96 14:55:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20239; 18 Oct 96 14:54 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA06451 for dbi-dev-real; Fri, 18 Oct 1996 05:03:13 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA06447 
          for <dbi-dev@fugue.com>; Fri, 18 Oct 1996 05:03:11 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id aa13872;
          18 Oct 96 12:33 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aj10519; 18 Oct 96 12:28 BST
Received: from toad by oink with SMTP (PP) id <19184-0@oink>;
          Fri, 18 Oct 1996 11:34:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25150;
          Fri, 18 Oct 1996 11:33:58 +0000
Date: Fri, 18 Oct 1996 11:33:58 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610181033.AA25150@toad.ig.co.uk>
To: dbi-dev@fugue.com, amyers@dna307.dna.mci.com
Subject: Re: Bind problem, version 0.39
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: amyers@dna307.dna.mci.com
> 
> Hello,
> 
> I am having problems binding information to a cursor, and having it 
> return the correct results.  I believe it is tied to the column definition,
> which is CHAR 14.  The variable I am binding to it is a CHAR 8.  (When
> I go CHAR 2 against another CHAR 2, it works.)  I have
> tried padding the blanks at the end, and this does not help.  If I do not
> use variable binding, the sql statement will work.  I believe this is a bug,
> please let me know if I am doing something wrong.

It's a feature. It's been discussed here before.

[I'd appreciate it if someone could write up a few words about it (or
even just gather my previous words from the archives) to make up an
entry in the README.]

It's a data type issue. DBD::Oracle binds variables as varchar2's
not chars.

See README.longs for how to change the type. Do the same thing but
use { ora_type => 96 }

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20853-34@oink>;
          Fri, 18 Oct 1996 18:05:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845654176:17184:640; Fri, 18 Oct 96 16:56:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17700; 18 Oct 96 16:43 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id EAA06396 for dbi-users-real; Fri, 18 Oct 1996 04:39:52 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA06392 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 04:39:49 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id aa13851;
          18 Oct 96 12:32 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ad10519; 18 Oct 96 12:28 BST
Received: from toad by oink with SMTP (PP) id <19063-0@oink>;
          Fri, 18 Oct 1996 10:50:39 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24876;
          Fri, 18 Oct 1996 10:50:33 +0000
Date: Fri, 18 Oct 1996 10:50:33 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610180950.AA24876@toad.ig.co.uk>
To: dbi-users@fugue.com, kal@ecst.csuchico.edu
Subject: Re: A sample script
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Simplicist <kal@ecst.csuchico.edu>
> 
> Greetings all,
> Can someone post a sample perl5 script that uses  DBI and DBD::Oracle?
> As a beginner, I haven't yet started using oraperl or DBD::Oracle.
> Should I learn DBD and forget oraperl, or use oraperl emulation
> in DBD then switch to DBD?
> Any advice greatly appreciated.

Stick to the Oraperl emulation. Use the

	perldoc Oraperl

command to read the documentation. The test.pl script has some
(messy) examples. The web pages at hermetica have more (I think).

Hopefully others will offer some examples.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20853-48@oink>;
          Fri, 18 Oct 1996 18:07:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845655642:17181:1419; Fri, 18 Oct 96 17:20:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa22510; 18 Oct 96 16:54 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id EAA06427 for dbi-users-real; Fri, 18 Oct 1996 04:58:41 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA06423 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 04:58:39 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ag13851;
          18 Oct 96 12:33 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af10519; 18 Oct 96 12:28 BST
Received: from toad by oink with SMTP (PP) id <19106-0@oink>;
          Fri, 18 Oct 1996 11:05:54 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24931;
          Fri, 18 Oct 1996 11:05:47 +0000
Date: Fri, 18 Oct 1996 11:05:47 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610181005.AA24931@toad.ig.co.uk>
To: pgiza@cmgi.com, sanjeevk@dockrill.corp.sgi.com
Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: sanjeevk@dockrill.corp.sgi.com (Sanjeev Kumar)
> 
> Once Upon a Time  Oct 17, 10:05am, Tim Bunce wrote:
> > Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
> >
> > > From: Peter Giza <pgiza@cmgi.com>
> > >
> > > Tim,
> > >
> > > I'd be a whole lot more excited if exec'ing stored procs worked.
> >
> > Eh?
> >
> > "exec'ing stored procs" has always worked.
>
> Could you give us a few examples of stored procedure execution? Describing
> where we could pass few parameters and    bind results with the variables.
> This feature has been very cool with Sybperl.

I'll let others do this. I've no time today. Sorry.

See test.pl for some examples (not using stored procs). It would be trivial
to add stored proc calls to these examples.

Also note that you don't have to use :1, :2 etc. You can use :foo, :bar
and bind then as $sth->bind_param_inout(':foo', \$foo, 100);

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20853-50@oink>;
          Fri, 18 Oct 1996 18:07:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845655857:17181:1610; Fri, 18 Oct 96 17:24:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24864; 18 Oct 96 17:00 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id EAA06419 for dbi-users-real; Fri, 18 Oct 1996 04:55:50 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA06415 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 04:55:48 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id af13893;
          18 Oct 96 12:33 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id al10519; 18 Oct 96 12:28 BST
Received: from toad by oink with SMTP (PP) id <19208-0@oink>;
          Fri, 18 Oct 1996 11:39:25 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25168;
          Fri, 18 Oct 1996 11:39:19 +0000
Date: Fri, 18 Oct 1996 11:39:19 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610181039.AA25168@toad.ig.co.uk>
To: pgiza@cmgi.com
Subject: Re: Stored procs
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> > > I'd be a whole lot more excited if exec'ing stored procs worked.
> > 
> > Eh?
> > 
> > "exec'ing stored procs" has always worked.

> From: Peter Giza <pgiza@cmgi.com>
> 
> Tim,
> 
>    I thought (according to the README anyway) that the exec
> did not return a value, ie; pass/fail.  This is kind of an
> important detail.

True, but you didn't mention that. Executing stored procs has always
worked, you just haven't been able to get values back.

Now you can, so you have reason to be "a whole lot more excited".

:-)

> Sorry if I am miss informed, but the
> hermetica pages seem to be out of date which I know is not
> your issue due to time.  Anyway please correct me if I'm wrong.
> Also, if you have any ideas on my problems invoking my scripts
> though cgi-bin/apache I would appreciate it.  I have checked
> all of the usual environment, and cannot find the problem.

Since I don't know what your problems are I can't help. (And since
I don't use apache myself I probably couldn't help anyway.)
If you explain the problem fully perhaps someone else can help.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20853-59@oink>;
          Fri, 18 Oct 1996 18:08:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845658006:00213:461; Fri, 18 Oct 96 18:00:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa25599; 18 Oct 96 17:01 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id EAA06413 for dbi-users-real; Fri, 18 Oct 1996 04:53:37 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from sluggo.rochgrp.com ([204.249.122.5]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA06409 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 04:53:35 -0700 (PDT)
Received: from greenhorn ([13.231.66.51]) by sluggo.rochgrp.com (8.6.11/8.6.9) 
          with SMTP id FAA00338 for <dbi-users@fugue.com>;
          Fri, 18 Oct 1996 05:50:39 -0400
Date: Fri, 18 Oct 1996 05:50:39 -0400
Message-Id: <199610180950.FAA00338@sluggo.rochgrp.com>
From: Terence W Dixon <tdixon@rochgrp.com>
To: dbi-users@fugue.com
Subject: Re: Sample Script
X-Mailer: Pronto E-Mail [version 2.01]
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Simplicist put:

Greetings all,
Can someone post a sample perl5 script that uses  DBI and DBD::Oracle?
As a beginner, I haven't yet started using oraperl or DBD::Oracle.
Should I learn DBD and forget oraperl, or use oraperl emulation
in DBD then switch to DBD?
Any advice greatly appreciated.

Kal.

I second this, as I am also a Perl beginner, and am about to do the 
Web/Oracle thing!
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29202-0@oink>;
          Mon, 21 Oct 1996 07:36:00 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845659098:00313:796; Fri, 18 Oct 96 18:18:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01431; 18 Oct 96 17:15 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id EAA06435 for dbi-users-real; Fri, 18 Oct 1996 04:59:38 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA06431 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 04:59:36 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id aa13972;
          18 Oct 96 12:33 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id an10519; 18 Oct 96 12:28 BST
Received: from toad by oink with SMTP (PP) id <19281-0@oink>;
          Fri, 18 Oct 1996 12:04:15 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25529;
          Fri, 18 Oct 1996 12:04:07 +0000
Date: Fri, 18 Oct 1996 12:04:07 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610181104.AA25529@toad.ig.co.uk>
To: dbi-users@fugue.com, mneuendo@bts.gov
Subject: Re: DBD:Oracle - perl 5 performance issue
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Matt Neuendorf <mneuendo@bts.gov>
> 
> I'm using this code to login:
> 
> $ENV{TNS_ADMIN} = "/usr/local/lib";
> # $ENV{TWO_TASK}, $ENV{ORACLE_SID}
> use DBI;
> $drh = DBI->install_driver( 'Oracle' ); # Uncomment for Oracle
> $dbh = $drh->connect( 'database', 'username', 'password' );
> die "Couldn't connect: $!" unless $dbh;
> 
> It takes roughly 90 seconds to logon to the Oracle and do what it needs
> to do. What's holding it up? (I haven't included a trace, too long)

Others have seen this. It's not DBD::Oracle's fault.

Try unsetting TWO_TASK and ORACLE_SID and connect using

	$drh->connect( '', 'username/password@database', '' )

Please let me know if that helps.

Tim.

p.s. Everyone should be doing:

	$dbh = DBI->connect( .., .., .., 'Oracle');

and not using install_driver.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29202-7@oink>;
          Mon, 21 Oct 1996 07:36:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845661038:00314:1354; Fri, 18 Oct 96 18:50:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14743; 18 Oct 96 18:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA06629 for dbi-users-real; Fri, 18 Oct 1996 06:18:41 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from info.bts.gov (info.bts.gov [152.120.123.156]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id GAA06625 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 06:18:39 -0700 (PDT)
Received: from hedgehog.bts.gov (hedgehog.bts.gov [152.120.123.236]) 
          by info.bts.gov (8.7.6/8.7.3) with SMTP id JAA24234;
          Fri, 18 Oct 1996 09:19:14 -0400 (EDT)
Received: by hedgehog.bts.gov with Microsoft Mail 
          id <01BBBCDB.9C1C9840@hedgehog.bts.gov>;
          Fri, 18 Oct 1996 10:03:28 -0400
Message-ID: <01BBBCDB.9C1C9840@hedgehog.bts.gov>
From: Matt Neuendorf <mneuendo@bts.gov>
To: "dbi-users@fugue.com" <dbi-users@fugue.com>, 
    'Tim Bunce' <Tim.Bunce@ig.co.uk>
Cc: 'Taranga Ghosh' <tghosh@medg.lcs.mit.edu>
Subject: RE: DBD:Oracle - perl 5 performance issue
Date: Fri, 18 Oct 1996 10:03:25 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit



----------
From: 	Tim Bunce[SMTP:Tim.Bunce@ig.co.uk]
Sent: 	Friday, October 18, 1996 8:04 AM
To: 	dbi-users@fugue.com; mneuendo@bts.gov
Subject: 	Re: DBD:Oracle - perl 5 performance issue


>> From: Matt Neuendorf <mneuendo@bts.gov>
>> 
>> I'm using this code to login:
>> 
>> $ENV{TNS_ADMIN} = "/usr/local/lib";
>> # $ENV{TWO_TASK}, $ENV{ORACLE_SID}
>> use DBI;
>> $drh = DBI->install_driver( 'Oracle' ); # Uncomment for Oracle
>> $dbh = $drh->connect( 'database', 'username', 'password' );
>> die "Couldn't connect: $!" unless $dbh;
>> 
>> It takes roughly 90 seconds to logon to the Oracle and do what it needs
>> to do. What's holding it up? (I haven't included a trace, too long)

>Others have seen this. It's not DBD::Oracle's fault.

>Try unsetting TWO_TASK and ORACLE_SID and connect using

>	$drh->connect( '', 'username/password@database', '' )

      This worked. It's solved the problem entirely. Thank You!

>Please let me know if that helps.

>Tim.

>p.s. Everyone should be doing:

>	$dbh = DBI->connect( .., .., .., 'Oracle');

      BTW, I tried this and I got problems. FYI. and Thanks Again.

>and not using install_driver.

>Tim.

Matt Neuendorf
Bureau of Transportation Statistics
mneuendo@bts.gov


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29202-9@oink>;
          Mon, 21 Oct 1996 07:36:33 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845661481:00314:1521; Fri, 18 Oct 96 18:58:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03526; 18 Oct 96 17:53 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA06673 for dbi-users-real; Fri, 18 Oct 1996 06:42:53 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id GAA06669 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 06:42:51 -0700 (PDT)
Received: from jovial.cse.psu.edu (groenvel@jovial.cse.psu.edu [130.203.10.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id JAA14353;
          Fri, 18 Oct 1996 09:42:49 -0400 (EDT)
Message-Id: <199610181342.JAA14353@cse.psu.edu>
X-Mailer: exmh version 1.6.9 8/22/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>, Tim.Bunce@ig.co.uk
cc: dbi-users@fugue.com
Subject: Re: DBI status
In-reply-to: Your message of "Thu, 17 Oct 1996 16:57:52 BST." <199610171557.QAA02039@chewbacca.hermetica.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 18 Oct 1996 09:42:35 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

Ouch, lets not make the same mistake twice. Please take a look at 
http://www.cse.psu.edu/~groenvel/IOUW96/paper/.
Criticisms cheerfully accepted; flames ignored.
John
groenvel@cse.psu.edu

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29202-19@oink>;
          Mon, 21 Oct 1996 07:37:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845663356:00314:2194; Fri, 18 Oct 96 19:29:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa09140; 18 Oct 96 18:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA06545 for dbi-users-real; Fri, 18 Oct 1996 05:41:30 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA06541 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 05:41:27 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ag13862;
          18 Oct 96 12:33 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ai10519; 18 Oct 96 12:28 BST
Received: from toad by oink with SMTP (PP) id <19168-0@oink>;
          Fri, 18 Oct 1996 11:27:21 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25101;
          Fri, 18 Oct 1996 11:27:14 +0000
Date: Fri, 18 Oct 1996 11:27:14 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610181027.AA25101@toad.ig.co.uk>
To: dbi-users@fugue.com, pgiza@cmgi.com
Subject: Re: OK What gives?!
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Peter Giza <pgiza@cmgi.com>
> 
> I can make my cgi script work from the command line just fine
> but when I try to access it through the Apache webserver it
> deficates all over the error_log.
> 
> The gist of the script:
> 
> #!/usr/local/bin/perl -w
> BEGIN {
> $ENV{'LD_LIBRARY_PATH'}="/d3/app/oracle/product/7.3.2/lib:/usr/local/lib/perl5/s
> ite_perl/sun4-solaris/auto/DBD/Oracle:/usr/dt/lib:/usr/local/lib:/opt/SUNWspro/b
> in:/lib:/usr/lib"; 

> print STDERR "\$LD_LIBRARY_PATH = $ENV{'LD_LIBRARY_PATH'}\n";
> $drh = DBI->install_driver( 'Oracle' ); # Uncomment for Oracle

> The httpd/logs/error_log file:
> 
> LD_LIBRARY_PATH:/d3/app/oracle/product/7.3.2/lib:/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle:/usr/dt/lib:/usr/local/lib:/opt/SUNWspro/bin:/lib:/usr/lib
> $PATH = /opt/atria/bin:/opt/bin:/usr/local/bin:/sbin:/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:.:/opt/local/java/bin:/d3/app/oracle/product/7.3.2/bin
> $ORACLE_HOME = /d3/app/oracle/product/7.3.2
> $LD_LIBRARY_PATH = /d3/app/oracle/product/7.3.2/lib:/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle:/usr/dt/lib:/usr/local/lib:/opt/SUNWspro/bin:/lib:/usr/lib
> install_driver(Oracle) failed: Can't load '/usr/local/lib/perl5/site_perl/sun4-solaris/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /usr/local/bin/perl: fatal: libclntsh.so.1.0: can't open file: errno=2 at /usr/local/lib/perl5/DynaLoader.pm line 140.

Assuming LD_LIBRARY_PATH is right then I'd suspect that your httpd server
is running cgi scripts set-uid. In which case LD_LIBRARY_PATH will be ignored.

Use "ldd -s Oracle.so" to see where it's looking.

Either rebuild with LD_RUN_PATH set to include the path to libclntsh or
create a symbolic link so that libclntsh is available via the same path
as it was when the module was built.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29202-58@oink>;
          Mon, 21 Oct 1996 07:45:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845671838:02682:219; Fri, 18 Oct 96 21:50:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa27340; 18 Oct 96 21:30 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA07131 for dbi-users-real; Fri, 18 Oct 1996 09:02:10 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from caustik.organic.com (h24.n145.organic.com [204.152.145.24]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id JAA07127 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 09:02:08 -0700 (PDT)
Received: from localhost (pixel@localhost) 
          by caustik.organic.com (8.7.5/8.6.12) with SMTP id JAA20127 
          for <dbi-users@fugue.com>; Fri, 18 Oct 1996 09:02:08 -0700 (PDT)
Date: Fri, 18 Oct 1996 09:02:07 -0700 (PDT)
From: James Cooper <pixel@organic.com>
To: dbi-users@fugue.com
Subject: Module to help build SQL statements?
Message-ID: <Pine.SOL.3.93.961018085944.20082C-100000@caustik.organic.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello,

I was wondering if there is a Perl5 module that helps build SQL strings in
an OO way.  It wouldn't have to check the validity of the statement (DBI
can do that for me), but simply provide a generic way to do ' escaping,
length truncation (for VARCHAR fields), etc.

If no such module exists, does anyone have interest in something like
that?  I'm thinking about writing it for a project I'm doing at work.

Thanks

-- James


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29931-5@oink>;
          Mon, 21 Oct 1996 08:02:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845748112:03978:3; Sat, 19 Oct 96 19:01:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa03734; 19 Oct 96 19:00 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA09672 for dbi-users-real; Sat, 19 Oct 1996 08:14:31 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from kriti.iitd.ernet.in ([202.141.64.29]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA09668 
          for <dbi-users@fugue.com>; Sat, 19 Oct 1996 08:14:20 -0700 (PDT)
Received: by kriti.iitd.ernet.in (5.x/SMI-SVR4) id AA26323;
          Sat, 19 Oct 1996 20:43:46 +0530
Date: Sat, 19 Oct 1996 20:43:45 +0530 (IST)
From: Amit Kumar <amk@iitd.ernet.in>
X-Sender: amk@kriti
To: dbi-users@fugue.com
Subject: postgres driver!
Message-Id: <Pine.SOL.3.91.961019204325.26311A-100000@kriti>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi!

A little bird told me that someone is making the postgres95 driver for
perl. Well, I was very interested in it as the machines in this place seem
to have no other database engine installed! Could anyone please update me
on the developments in the direction?
	
Sorry for the trouble, and thanks for the help (hopefully!) ! 

Sinesquarely,

Am K.



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29931-89@oink>;
          Mon, 21 Oct 1996 08:16:36 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845834380:07311:3; Sun, 20 Oct 96 18:59:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa07093; 20 Oct 96 18:58 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA10997 for dbi-users-real; Sun, 20 Oct 1996 08:30:05 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from bastix.tunix.kun.nl (bastix.tunix.kun.nl [131.174.20.39]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA10993 
          for <dbi-users@fugue.com>; Sun, 20 Oct 1996 08:30:03 -0700 (PDT)
Received: (from root@localhost) by bastix.tunix.kun.nl (8.7.1/8.6.12) 
          id RAA23143 for <dbi-users@fugue.com>;
          Sun, 20 Oct 1996 17:19:36 +0200 (MET DST)
Received: from omegix.tunix.kun.nl(172.16.2.15) by bastix.tunix.kun.nl 
          via smap (V1.3) id sma023035; Sun Oct 20 17:19:10 1996
Received: from localhost by (4.1/SMI-4.1) id AA15026;
          Sun, 20 Oct 96 16:19:09 +0100
Message-Id: <9610201519.AA15026@>
To: dbi-users@fugue.com
Subject: problems building DBD-mSQL-0.60pl10
Date: Sun, 20 Oct 1996 17:19:04 +0200
From: Leo Willems <leo@tunix.kun.nl>


Hello,

If I run the Makefile.PL for DBD-mSQL-0.60pl10 I get the error:

-----
"%att" is not exported by the ExtUtils::MakeMaker module at /pkg/perl-5.003/lib/Exporter.pm line 95
        Exporter::export called at /pkg/perl-5.003/lib/Exporter.pm line 149
        Exporter::import called at ./Makefile.PL line 12
        main::BEGIN called at /pkg/perl-5.003/lib/ExtUtils/MakeMaker.pm line 0
        eval {...} called at /pkg/perl-5.003/lib/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.
------

Can someone help me out here?


Log info:


$ perl5.003 -e 'use Config; print Config::myconfig()'
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=sunos, osver=4.1.4, archname=sun4-sunos
    uname='sunos omegix.tu 4.1.4 2 sun4m '
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.5.7
    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=31
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ucblib
    libs=-lnsl -ldbm -ldl -lm -lc -lposix
    libc=/lib/libc.so.1.9, so=so
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-assert nodefinitions -L/usr/local/lib'


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

$ perl5.003  -v                                      

This is perl, version 5.003 with EMBED
        built under sunos at Oct 20 1996 16:22:41
        + suidperl security patch

-----------

mSQL = msql.1.0.12

__________


Regards

Leo
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29931-127@oink>;
          Mon, 21 Oct 1996 08:21:56 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845872684:17774:10; Mon, 21 Oct 96 05:38:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17772; 21 Oct 96 5:38 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA00596 for dbi-dev-real; Sun, 20 Oct 1996 19:27:58 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from info.curtin.edu.au (ichishol@info.curtin.edu.au [134.7.70.222]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id TAA00592 
          for <dbi-dev@fugue.com>; Sun, 20 Oct 1996 19:27:54 -0700 (PDT)
Received: (from ichishol@localhost) by info.curtin.edu.au (8.7.3/8.7.3) 
          id KAA25705 for dbi-dev@fugue.com;
          Mon, 21 Oct 1996 10:27:47 +0800 (WST)
From: Glenn Chisholm <ichishol@info.curtin.edu.au>
Message-Id: <199610210227.KAA25705@info.curtin.edu.au>
Subject: Non Query Language Interfaces to DBI
To: dbi-dev@fugue.com
Date: Mon, 21 Oct 1996 10:27:44 +0800 (WST)
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Has anyone out there looked at an interface that is not based on an
SQL like language?

I am looking at a possible interface to DNS and the functionality
that it should deliver.

However rather than go in my own little direction I would like an
idea of where the group would like to go.

Glenn
-- 
Glenn Chisholm				PH : 	 +61 09 351 3818
Network Services			FAX: 	 +61 09 351 2673
Curtin University of Technology		E-Mail : glenn@iron.curtin.edu.au
Perth, Western Australia			
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01024-0@oink>;
          Mon, 21 Oct 1996 11:52:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845890131:16683:7; Mon, 21 Oct 96 10:28:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16409; 21 Oct 96 10:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id XAA00835 for dbi-users-real; Sun, 20 Oct 1996 23:37:49 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from vortex.uplanet.com (host-165-3.uplanet.com [204.163.165.3]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id XAA00831 
          for <dbi-users@fugue.com>; Sun, 20 Oct 1996 23:37:48 -0700 (PDT)
Received: from yoga.uplanet.com by vortex.uplanet.com (SMI-8.6/SMI-SVR4) 
          id XAA26886; Sun, 20 Oct 1996 23:37:16 -0700
Received: by yoga.uplanet.com (SMI-8.6/SMI-SVR4) id XAA20457;
          Sun, 20 Oct 1996 23:37:14 -0700
Date: Sun, 20 Oct 1996 23:37:14 -0700
From: hamilton@uplanet.com (Hamilton H.)
Message-Id: <199610210637.XAA20457@yoga.uplanet.com>
To: dbi-users@fugue.com
Subject: NT Ports
X-Sun-Charset: US-ASCII

Folks,

Has anyone done, or are there any plans to do an NT port
for DBI and DBD::Oracle?  If so can you give me more info?
Thank you very much.

Hamilton Hitchings
Unwired Planet
---+++---
Received: from 158.152.1.74 by oink with SMTP (PP) id <07831-0@oink>;
          Mon, 21 Oct 1996 18:03:10 +0100
Received: from punt-2.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845916976:25150:2; Mon, 21 Oct 96 17:56:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net 
          id aa24934; 21 Oct 96 17:55 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA01479 for dbi-users-real; Mon, 21 Oct 1996 06:12:35 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id GAA01473 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 06:12:21 -0700 (PDT)
From: descarte@hermetica.com
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id NAA00340;
          Mon, 21 Oct 1996 13:58:32 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id OAA11292; Mon, 21 Oct 1996 14:10:12 +0100
Message-Id: <199610211310.OAA11292@chewbacca.hermetica.com>
Subject: Re: DBI status
To: Tim.Bunce@ig.co.uk (Tim Bunce)
Date: Mon, 21 Oct 1996 14:10:11 +0100 (BST)
Cc: descarte@hermetica.com, groenvel@cse.psu.edu, dbi-users@fugue.com
In-Reply-To: <9610211158.AA08778@toad.ig.co.uk> from "Tim Bunce" at Oct 21, 96 12:58:07 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


> > Criticisms cheerfully accepted; flames ignored.
> 
> Looks okay after a quick glance. I've added it to the README.
> (Will it stay at that address for at least a few months or more?)

Yup, can't see anything obviously horrible..........At least it's not called
DBPerl now! 8-)

> Tim.

-- 
Alligator Descartes                                             Anathematician
descarte@hermetica.com					   Circuit VI Engineer
http://www.hermetica.com					     KEPhALH F
---+++---
Received: from 158.152.1.73 by oink with SMTP (PP) id <07830-43@oink>;
          Mon, 21 Oct 1996 18:09:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845915514:20729:1751; Mon, 21 Oct 96 17:31:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa06667; 21 Oct 96 17:16 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA01354 for dbi-dev-real; Mon, 21 Oct 1996 05:14:59 -0700 (PDT)
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.8.0/8.6.11) with SMTP id FAA01350 
          for <dbi-dev@fugue.com>; Mon, 21 Oct 1996 05:14:57 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id af22845;
          21 Oct 96 11:44 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ak04286; 21 Oct 96 12:44 BST
Received: from toad by oink with SMTP (PP) id <01235-0@oink>;
          Mon, 21 Oct 1996 12:18:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08561;
          Mon, 21 Oct 1996 12:18:50 +0000
Date: Mon, 21 Oct 1996 12:18:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610211118.AA08561@toad.ig.co.uk>
To: dbi-dev@fugue.com, ichishol@info.curtin.edu.au
Subject: Re: Non Query Language Interfaces to DBI
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Glenn Chisholm <ichishol@info.curtin.edu.au>
> 
> Has anyone out there looked at an interface that is not based on an
> SQL like language?
> 
> I am looking at a possible interface to DNS and the functionality
> that it should deliver.
> 
> However rather than go in my own little direction I would like an
> idea of where the group would like to go.

What I'd _really_ like to see an an SQL parser (even a simple one)
integrated into the DBI so that non SQL data sources (such as xbase
files and dns) can be queried with simple SQL queries.

At least one reasonably decent SQL parse source has been posted to
comp.sources.misc. The tricky part is to define an internal
representation of the parsed SQL in a form readily usable by drivers.

In the meantime you could probably write your own trivial sql-like
parser (DBD::ExampleP supplied with the DBI ia a _very_ trivial one).

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09199-2@oink>;
          Mon, 21 Oct 1996 18:49:07 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845919368:27211:2832; Mon, 21 Oct 96 18:36:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa16542; 21 Oct 96 17:39 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA01360 for dbi-users-real; Mon, 21 Oct 1996 05:15:06 -0700 (PDT)
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.8.0/8.6.11) with SMTP id FAA01356 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 05:15:05 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ae22845;
          21 Oct 96 11:44 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aj04286; 21 Oct 96 12:44 BST
Received: from toad by oink with SMTP (PP) id <01216-0@oink>;
          Mon, 21 Oct 1996 12:14:06 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08551;
          Mon, 21 Oct 1996 12:13:58 +0000
Date: Mon, 21 Oct 1996 12:13:58 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610211113.AA08551@toad.ig.co.uk>
To: dbi-users@fugue.com, hamilton@uplanet.com
Subject: Re: NT Ports
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: hamilton@uplanet.com (Hamilton H.)
> 
> Folks,
> 
> Has anyone done, or are there any plans to do an NT port
> for DBI and DBD::Oracle?  If so can you give me more info?

It'll happen sometime after a decent NT port of perl supports
MakeMaker and someone has time to try it. It should not be hard.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09233-0@oink>;
          Mon, 21 Oct 1996 18:53:27 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845920355:20729:3618; Mon, 21 Oct 96 18:52:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15482; 21 Oct 96 17:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA01314 for dbi-users-real; Mon, 21 Oct 1996 05:07:31 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from heimdal.datani.dk (heimdal.datani.dk [192.66.202.17]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id FAA01308 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 05:07:19 -0700 (PDT)
Received: from tyr.datani.dk (tyr.datani.dk [192.66.202.97]) 
          by heimdal.datani.dk (8.7.2/8.7.2) with ESMTP id NAA02224 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 13:07:06 +0100 (MET)
Received: from 192.66.202.97.datani.dk (ratatosk.datani.dk [192.66.202.101]) 
          by tyr.datani.dk (8.7.2/8.7.2) with SMTP id OAA16180 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 14:06:24 +0100 (MET)
Message-ID: <326B5951.23D4@datani.dk>
Date: Mon, 21 Oct 1996 14:06:57 +0300
From: Lars Nygaard <ln@datani.dk>
Organization: Datani A/S
X-Mailer: Mozilla 2.01 (Win95; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: Bad free() error
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

After installing DBI-0.73 and DBD-Oracle-0.40 on a SCO OpenServer 5 we 
get this message while executing a Perl script :
Bad free() ignored during global destruction.

Dose anybody have an idea ??

--------------------------------------
Datani A/S
Lars Nygaard
Mail:ln@datani.dk
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09688-2@oink>;
          Mon, 21 Oct 1996 21:04:08 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845921168:16594:1916; Mon, 21 Oct 96 19:06:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa17055; 21 Oct 96 17:41 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id EAA01275 for dbi-users-real; Mon, 21 Oct 1996 04:58:21 -0700 (PDT)
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.8.0/8.6.11) with SMTP id EAA01271 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 04:58:18 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa22946;
          21 Oct 96 11:44 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac04286; 21 Oct 96 12:43 BST
Received: from toad by oink with SMTP (PP) id <00861-0@oink>;
          Mon, 21 Oct 1996 10:54:22 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07547;
          Mon, 21 Oct 1996 10:54:15 +0000
Date: Mon, 21 Oct 1996 10:54:15 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610210954.AA07547@toad.ig.co.uk>
To: dbi-users@fugue.com, pixel@organic.com
Subject: Re: Module to help build SQL statements?
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: James Cooper <pixel@organic.com>
> 
> Hello,
> 
> I was wondering if there is a Perl5 module that helps build SQL strings in
> an OO way.  It wouldn't have to check the validity of the statement (DBI
> can do that for me), but simply provide a generic way to do ' escaping,
> length truncation (for VARCHAR fields), etc.

For escaping see

	$quoted_string = $dbh->quote($string);

> If no such module exists, does anyone have interest in something like
> that?  I'm thinking about writing it for a project I'm doing at work.

Possibly. Write up an outline spec and post it here for feedback.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09688-5@oink>;
          Mon, 21 Oct 1996 21:04:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845921743:16599:2116; Mon, 21 Oct 96 19:15:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10515; 21 Oct 96 18:36 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA01576 for dbi-users-real; Mon, 21 Oct 1996 06:56:39 -0700 (PDT)
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.8.0/8.6.11) with SMTP id GAA01572 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 06:56:37 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ae24092;
          21 Oct 96 11:47 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id af04286; 21 Oct 96 12:43 BST
Received: from toad by oink with SMTP (PP) id <01012-0@oink>;
          Mon, 21 Oct 1996 11:51:21 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08261;
          Mon, 21 Oct 1996 11:51:14 +0000
Date: Mon, 21 Oct 1996 11:51:14 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610211051.AA08261@toad.ig.co.uk>
To: dbi-users@fugue.com, amk@iitd.ernet.in
Subject: Re: postgres driver!
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Amit Kumar <amk@iitd.ernet.in>
> 
> Hi!
> 
> A little bird told me that someone is making the postgres95 driver for
> perl. Well, I was very interested in it as the machines in this place seem
> to have no other database engine installed! Could anyone please update me
> on the developments in the direction?

Check out the Module List.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09688-10@oink>;
          Mon, 21 Oct 1996 21:04:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845922360:16594:2420; Mon, 21 Oct 96 19:26:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13560; 21 Oct 96 18:43 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA01296 for dbi-users-real; Mon, 21 Oct 1996 05:04:14 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA01292 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 05:04:12 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac23120;
          21 Oct 96 13:00 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa07793; 21 Oct 96 12:55 BST
Received: from toad by oink with SMTP (PP) id <02048-0@oink>;
          Mon, 21 Oct 1996 12:55:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08763;
          Mon, 21 Oct 1996 12:55:32 +0000
Date: Mon, 21 Oct 1996 12:55:32 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610211155.AA08763@toad.ig.co.uk>
To: dbi-users@fugue.com, mneuendo@bts.gov
Subject: RE: DBD:Oracle - perl 5 performance issue
Cc: tghosh@medg.lcs.mit.edu
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Matt Neuendorf <mneuendo@bts.gov>
> 
> >> $dbh = $drh->connect( 'database', 'username', 'password' );
> >> die "Couldn't connect: $!" unless $dbh;
> >> 
> >> It takes roughly 90 seconds to logon to the Oracle and do what it needs
> >> to do. What's holding it up? (I haven't included a trace, too long)
> 
> >Others have seen this. It's not DBD::Oracle's fault.
> >Try unsetting TWO_TASK and ORACLE_SID and connect using
> >	$drh->connect( '', 'username/password@database', '' )
> 
>       This worked. It's solved the problem entirely. Thank You!

Thanks for the feedback. Others please take note.

> >	$dbh = DBI->connect( .., .., .., 'Oracle');
> 
>       BTW, I tried this and I got problems. FYI. and Thanks Again.

Er, it would be rather more helpful if you could expand on "I got problems".
That way I might be able to fix them for you!

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09688-34@oink>;
          Mon, 21 Oct 1996 21:06:37 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845927260:03313:365; Mon, 21 Oct 96 20:47:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19990; 21 Oct 96 17:48 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id FAA01440 for dbi-users-real; Mon, 21 Oct 1996 05:57:56 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA01436 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 05:57:53 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac24385;
          21 Oct 96 13:01 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa08589; 21 Oct 96 12:58 BST
Received: from toad by oink with SMTP (PP) id <02058-0@oink>;
          Mon, 21 Oct 1996 12:58:15 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08778;
          Mon, 21 Oct 1996 12:58:07 +0000
Date: Mon, 21 Oct 1996 12:58:07 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610211158.AA08778@toad.ig.co.uk>
To: descarte@hermetica.com, groenvel@cse.psu.edu
Subject: Re: DBI status
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: John D Groenveld <groenvel@cse.psu.edu>
> 
> Ouch, lets not make the same mistake twice. Please take a look at 
> http://www.cse.psu.edu/~groenvel/IOUW96/paper/.

Thanks.

> Criticisms cheerfully accepted; flames ignored.

Looks okay after a quick glance. I've added it to the README.
(Will it stay at that address for at least a few months or more?)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10464-0@oink>;
          Mon, 21 Oct 1996 21:30:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845928724:03313:1303; Mon, 21 Oct 96 21:12:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa10112; 21 Oct 96 18:35 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id GAA01529 for dbi-users-real; Mon, 21 Oct 1996 06:40:17 -0700 (PDT)
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.8.0/8.6.11) with SMTP id GAA01525 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 06:40:15 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ac24121;
          21 Oct 96 11:47 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ag04286; 21 Oct 96 12:44 BST
Received: from toad by oink with SMTP (PP) id <01039-0@oink>;
          Mon, 21 Oct 1996 11:59:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA08292;
          Mon, 21 Oct 1996 11:59:50 +0000
Date: Mon, 21 Oct 1996 11:59:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610211059.AA08292@toad.ig.co.uk>
To: dbi-users@fugue.com, davevan@nortel.ca
Subject: Re: PL sql and oraperl
Cc: hutton@nortel.ca
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "david (d.) van emden" <davevan@nortel.ca>
> To: tim.bunce@ig.co.uk

Please don't send mail to just me.

> Tim,
>  I am trying to get the values from a pl/sql block into perl variables.  How do I do this?  I understand how I assign pl sql variables perl values, but I cannot get the reverse to work.
> $buildit=<<DO_INSERT;
> declare
>   testab1    ofacore_app.ofa_get.valuefieldtabtype;
>   testab2    ofacore_app.ofa_get.valuelisttabtype;
>   formtype   varchar(40) := \'$form\';
>   session_id varchar(40) := \'$user->{'sessionid'}\';
>   role       varchar(40) := \'$this->{'rolename'}\';
> 
> begin
>   ofacore_app.ofa_get.new_order(session_id,role,formtype,testab1,testab2);
> 
> $junk := formtype;
> end;
> 
> I got an error on $junk...it didn't understand it.
> Could you let me know what I must do...

Sigh.

Did you even look at test.pl?

Did you notice the bind_param_inout method calls?

Try this:

	$buildit = q{
	declare
	  testab1    ofacore_app.ofa_get.valuefieldtabtype;
	  testab2    ofacore_app.ofa_get.valuelisttabtype;
	  formtype   varchar(40);
	  session_id varchar(40);
	  role       varchar(40);
	begin
	  ofacore_app.ofa_get.new_order(session_id,role,formtype,testab1,testab2);
	end;
	};
	my $csr = ora_open($dbh, $buildit) or die ...;
	$csr->bind_param_inout(':formtype', \$form, 40) or die ...;
	$csr->bind_param(':session_id', $user->{'sessionid'}) or die ...;
	$csr->bind_param(':role',       $this->{'rolename'})  or die ...;
	$csr->execute;
	print "form = $form\n"; # 'magically' updated

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10630-2@oink>;
          Mon, 21 Oct 1996 21:44:53 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845930308:03325:2399; Mon, 21 Oct 96 21:38:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa19671; 21 Oct 96 21:20 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id HAA01703 for dbi-users-real; Mon, 21 Oct 1996 07:54:19 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id HAA01699 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 07:54:16 -0700 (PDT)
Received: from jovial.cse.psu.edu (groenvel@jovial.cse.psu.edu [130.203.10.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id KAA11556;
          Mon, 21 Oct 1996 10:54:19 -0400 (EDT)
Message-Id: <199610211454.KAA11556@cse.psu.edu>
X-Mailer: exmh version 1.6.9 8/22/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: descarte@hermetica.com, Tim.Bunce@ig.co.uk (Tim Bunce)
cc: dbi-users@fugue.com
Subject: Re: DBI status
In-reply-to: Your message of "Mon, 21 Oct 1996 14:10:11 BST." <199610211310.OAA11292@chewbacca.hermetica.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 Oct 1996 10:53:38 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

> > Looks okay after a quick glance. I've added it to the README.
> > (Will it stay at that address for at least a few months or more?)
Should be there for a while. IOUW is the first week of November. By Nov 4, I 
hope to have my presentation (in HTML) available. I'll email the list when its 
up.

> Yup, can't see anything obviously horrible..........At least it's not called
> DBPerl now! 8-)
I like the sound of "DBPerl", but I see how its a misnomer. A lot of the people who goto these conferences, although extremely bright, are in a bit of a vacuum and you can get big mistakes like that by them. They and their organizations pay a ton of money to go to these things and get good, up-to-date technical information, I'd feel guilty and embarrassed to have confused them. 

Thanks for the input.
John
groenvel@cse.psu.edu

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11237-7@oink>;
          Tue, 22 Oct 1996 00:28:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845932347:10307:3064; Mon, 21 Oct 96 22:12:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24199; 21 Oct 96 21:32 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA01773 for dbi-users-real; Mon, 21 Oct 1996 08:19:17 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from limmat (limmat.switch.ch [130.59.4.30]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA01769 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 08:19:09 -0700 (PDT)
Message-Id: <199610211519.IAA01769@toccata.fugue.com>
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
          Mon, 21 Oct 1996 17:18:48 +0200
X-Mailer: exmh version 1.6.9 8/22/96
To: dbi-users@fugue.com
From: Martin Berli <berli@switch.ch>
Cc: Tim.Bunce@ig.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 Oct 1996 17:18:47 +0200

Hello Tim,

I tried to install DBD-Oracle-0.40 and got problems with "Bad free() warnings"
(according to the 'make test' output). I have no problem to connect
interactively as scott/tiger with sqlplus. But the test with the Oraperl
Emulation failed, as you can see below.

I hope I included all essential information within this mail:

1.) 'make test' output  (previous steps seemed to be ok)
2.) Oracle Version 7.3.2.1.0
3.) perl -V

I'm using the latest versions: DBI-0.73, DBD-Oracle-0.40, perl 5.003

Thanks for any help.

   Martin Berli, SWITCH


1.) 'make test' output
----------------------------------------------------------------------
[~/DBD-Oracle-0.40] make test
PERL_DL_NONLAZY=1 /opt/local/bin/perl -I./blib/arch -I./blib/lib 
-I/usr/local/li
b/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 -e 'use Test::Harness 
qw(&runt
ests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
All tests successful.
Files=1,  Tests=5,  1 secs ( 0.45 cusr  0.11 csys =  0.56 cpu)
PERL_DL_NONLAZY=1 /opt/local/bin/perl -I./blib/arch -I./blib/lib 
-I/usr/local/li
b/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.25 $

Oraperl Emulation Interface version 1.29
Oracle Driver 0.40
DBI-0.73 Switch by Tim Bunce, version 0.73


Connecting
 to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
 as 'scott/tiger' (via ORACLE_USERID env var or default - recommend 
name/passwd@
dbname)
(ORACLE_SID='lim1', TWO_TASK='')
ora_login: 1019: ORA-01019: unable to allocate memory in the user side (DBD: 
log
in failed)

Try to connect to the database using an oracle tool like sqlplus
only if that works should you suspect problems with DBD::Oracle.
Try leaving dbname value empty and set dbuser to name/passwd@dbname.

Test aborted.
See README about Bad free() warnings!
*** Error code 2
make: Fatal error: Command failed for target `test_dynamic'
----------------------------------------------------------------------

2.) Oracle Version
----------------------------------------------------------------------
Oracle7 Server Release 7.3.2.1.0 - Production Release
----------------------------------------------------------------------

3.) perl -V
----------------------------------------------------------------------
[~/DBD-Oracle-0.40] perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
  Platform:
    osname=solaris, osver=2.5, archname=sun4-solaris
    uname='sunos limmat 5.5 generic_103093-03 sun4m sparc sunw,sparcstation-20 
'
    hint=recommended, useposix=true, d_sigaction=define
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-I/usr/local/include -I/opt/local/include -I/opt/gnu/include'
    ccflags ='-I/usr/local/include -I/opt/local/include -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/local/lib -L/opt/gnu/lib'
    libpth=/usr/local/lib /opt/local/lib /opt/gnu/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=' ', lddlflags='-G -L/usr/local/lib -L/opt/local/lib 
-L/opt/gnu/l
ib'

@INC: /usr/local/lib/perl5/sun4-solaris/5.003 /usr/local/lib/perl5 
/usr/local/li
b/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl 
/usr/local/lib/per
l5/sun4-solaris .
----------------------------------------------------------------------



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11237-18@oink>;
          Tue, 22 Oct 1996 00:29:19 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845934818:20318:1049; Mon, 21 Oct 96 22:53:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id ab18939; 21 Oct 96 22:33 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA02123 for dbi-users-real; Mon, 21 Oct 1996 10:07:51 -0700 (PDT)
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.8.0/8.6.11) with ESMTP id KAA02119 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 10:07:48 -0700 (PDT)
Received: from jovial.cse.psu.edu (groenvel@jovial.cse.psu.edu [130.203.10.24]) 
          by cse.psu.edu (8.7.5/8.7.3) with ESMTP id NAA13524;
          Mon, 21 Oct 1996 13:08:04 -0400 (EDT)
Message-Id: <199610211708.NAA13524@cse.psu.edu>
X-Mailer: exmh version 1.6.9 8/22/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: Lars Nygaard <ln@datani.dk>
cc: dbi-users@fugue.com
Subject: Re: Bad free() error
In-reply-to: Your message of "Mon, 21 Oct 1996 14:06:57 +0300." <326B5951.23D4@datani.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 Oct 1996 13:07:27 EDT
From: John D Groenveld <groenvel@cse.psu.edu>

To the list:
Has anyone duplicated the problem with Pro*C? Do we have a bugid? I'm not 
quite ready to move to 7.3 (7.2.3 Solaris 2.5 doesnt exhibit the problem) 
anytime soon, but my managememnt has been asking. I'll submit the TAR via 
supreq if I can have a Pro*C code snippet.

To Lars:
From the README (RTFR):
-------------------------------------------------------------------------------
Bad free() warnings:
 
These are generally caused by problems in Oracle's own library code.
You can use this code to hide them:
 
    $SIG{__WARN__} = sub { warn $_[0] unless $_[0] =~ /^Bad free/ }
 
But please let me know if you have this problem (include full version info).
Rather than simply hiding it it would be much better to help me fix it!
Follow the instructions in step 5 above (for generating a version of
DBD::Oracle with debugging enabled) and then use the following code
to generate a core dump at the point the bad free happens.
 
    $SIG{__WARN__} = sub { $_[0] =~ /^Bad free/ ? dump : warn $_[0] }
 
Follow the instructions in step 5 above for getting a stack trace from
the core file and then send it to me along with the other information
requested in the 'If you have problems' section.
-------------------------------------------------------------------------------

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11237-36@oink>;
          Tue, 22 Oct 1996 00:30:26 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845938796:19125:13; Mon, 21 Oct 96 23:59:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa18858; 21 Oct 96 23:58 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA02473 for dbi-users-real; Mon, 21 Oct 1996 11:32:08 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from caustik.organic.com (h24.n145.organic.com [204.152.145.24]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA02469 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 11:32:06 -0700 (PDT)
Received: from localhost (pixel@localhost) 
          by caustik.organic.com (8.7.5/8.6.12) with SMTP id LAA23805;
          Mon, 21 Oct 1996 11:31:55 -0700 (PDT)
Date: Mon, 21 Oct 1996 11:31:55 -0700 (PDT)
From: James Cooper <pixel@organic.com>
To: Tim Bunce <Tim.Bunce@ig.co.uk>
cc: dbi-users@fugue.com
Subject: Re: Module to help build SQL statements?
In-Reply-To: <9610210954.AA07547@toad.ig.co.uk>
Message-ID: <Pine.SOL.3.93.961021111304.23580D-100000@caustik.organic.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

> 
> 	$quoted_string = $dbh->quote($string);

Excellent. Have all drivers implemented that method (quote), or is it only
available with DBD::Oracle?  Or do all the supported databases use the
double apostrophe to escape? (Postgres95 doesn't, but there's no DBD
driver for it..)

> Possibly. Write up an outline spec and post it here for feedback.

OK, here's the goal:  DBI allows a perl script to pass arbitrary SQL
commands to a database, but it doesn't help the developer formulate those
commands.  It would be ideal to have another module that allowed the
programmer to build SQL statements quickly, while performing common
validity checking for the programmer (quote escaping, varchar length
truncation, number validity checking, etc).

The delimma is how to write such a module without further complicating the
issue.  From first glance it seems that the four basic commands (SELECT,
UPDATE, INSERT, DELETE) have some common components:

1) Command itself (eg. SELECT, INSERT)
2) Table
3) Fields w/Data (or just fields in the case of SELECT)
4) Where clause
5) Order by clause (SELECT only)

The module would allow the programmer to set these components using method
calls.  When the programmer wishes to get the final SQL statement, they
call a final method like:

my $sql_statement = $sql_object->combine;

and out comes the statement.  That "combine" method could also, ideally,
do some validity checking to make sure there is a table, and that the
fields have been formatted properly.

...

This is basic, and there are already a few things I have a problem with:

1) the where clause is very complex -- probably the most complicated part
of a SELECT query.  The structure above doesn't help much with that
regard.  How could we abstract that clause without making an interface
that is completely overkill

2) it doesn't solve a major problem -- that your perl scripts don't know
anything about the underlying database structure that they're talking to.
One problem we've all had to deal with is VARCHAR length truncation.
Let's say I have a field:

FIRST_NAME VARCHAR(50)

and I have a web-based form that takes in a person's name.  I must check
to make sure that the length of the string the person types does not
exceed 50 characters.  Now of course I could hardwire the length into my
script and use a loop to chop the string until it's below the acceptable
length.  But this is not ideal.

I realize we could query the database's system catalogs to get this
information, but 1) this is costly for a CGI (would be a good solution for
a long-running program and 2) that would require implementation ideally at
the driver level since the catalogs are different from database to
database.

...

Sorry about the ramblings..but these data validation problems don't seem
*that* complicated, yet at the same time I'm longing for a more elegant
way to validate user input.  The way I do it now (small subroutines that
escape the input) seems kludgy..

Any ideas?

-- James


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11237-39@oink>;
          Tue, 22 Oct 1996 00:30:39 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845939104:20788:16; Tue, 22 Oct 96 00:05:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa20718; 22 Oct 96 0:04 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA02722 for dbi-users-real; Mon, 21 Oct 1996 12:56:11 -0700 (PDT)
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.8.0/8.6.11) with SMTP id MAA02717 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 12:56:08 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ak29611;
          21 Oct 96 18:57 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa17046; 21 Oct 96 18:56 BST
Received: from toad by oink with SMTP (PP) id <09258-0@oink>;
          Mon, 21 Oct 1996 18:56:23 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA13379;
          Mon, 21 Oct 1996 18:56:16 +0000
Date: Mon, 21 Oct 1996 18:56:16 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610211756.AA13379@toad.ig.co.uk>
To: dbi-users@fugue.com, ln@datani.dk
Subject: Re: Bad free() error
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Lars Nygaard <ln@datani.dk>
> 
> After installing DBI-0.73 and DBD-Oracle-0.40 on a SCO OpenServer 5 we 
> get this message while executing a Perl script :
> Bad free() ignored during global destruction.
> 
> Dose anybody have an idea ??

An idea?

How about reading the README where you'll find some details.

You probably blinked when the 'make test' output said:

	Read the README about Bad free() warnings.

Sigh.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11237-43@oink>;
          Tue, 22 Oct 1996 00:30:52 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845939204:21318:27; Tue, 22 Oct 96 00:06:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21181; 22 Oct 96 0:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id MAA02590 for dbi-users-real; Mon, 21 Oct 1996 12:22:17 -0700 (PDT)
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.8.0/8.6.11) with SMTP id MAA02586 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 12:21:52 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id aa29176;
          21 Oct 96 18:54 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ac14390; 21 Oct 96 18:51 BST
Received: from toad by oink with SMTP (PP) id <09207-0@oink>;
          Mon, 21 Oct 1996 18:49:28 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA13321;
          Mon, 21 Oct 1996 18:49:15 +0000
Date: Mon, 21 Oct 1996 18:49:15 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610211749.AA13321@toad.ig.co.uk>
To: dbi-users@fugue.com, berli@switch.ch
Subject: Re:
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Martin Berli <berli@switch.ch>
> 
> Hello Tim,
> 
> I tried to install DBD-Oracle-0.40 and got problems with "Bad free() warnings"
> (according to the 'make test' output). I have no problem to connect
> interactively as scott/tiger with sqlplus. But the test with the Oraperl
> Emulation failed, as you can see below.
> 
> I hope I included all essential information within this mail:
> 
> 1.) 'make test' output  (previous steps seemed to be ok)
> 2.) Oracle Version 7.3.2.1.0
> 3.) perl -V
> 
> I'm using the latest versions: DBI-0.73, DBD-Oracle-0.40, perl 5.003
> 
> Thanks for any help.

> Connecting
>  to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
>  as 'scott/tiger' (via ORACLE_USERID env var or default - recommend 
> name/passwd@
> dbname)
> (ORACLE_SID='lim1', TWO_TASK='')
> ora_login: 1019: ORA-01019: unable to allocate memory in the user side
> 
> Try to connect to the database using an oracle tool like sqlplus
> only if that works should you suspect problems with DBD::Oracle.
> Try leaving dbname value empty and set dbuser to name/passwd@dbname.
> 
> Test aborted.
> See README about Bad free() warnings!
> *** Error code 2
> make: Fatal error: Command failed for target `test_dynamic'

Have you read README.login (as README suggests)?

Have you tried the suggestion given in the error message above?

Tim.
---+++---
Received: from 158.152.1.73 by oink with SMTP (PP) id <12549-17@oink>;
          Tue, 22 Oct 1996 03:26:32 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845950432:01807:14; Tue, 22 Oct 96 03:13:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01705; 22 Oct 96 3:13 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id RAA03408 for dbi-users-real; Mon, 21 Oct 1996 17:01:47 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from caustik.organic.com (h24.n145.organic.com [204.152.145.24]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id RAA03404 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 17:01:46 -0700 (PDT)
Received: from localhost (pixel@localhost) 
          by caustik.organic.com (8.7.5/8.6.12) with SMTP id RAA24531 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 17:01:46 -0700 (PDT)
Date: Mon, 21 Oct 1996 17:01:46 -0700 (PDT)
From: James Cooper <pixel@organic.com>
To: dbi-users@fugue.com
Subject: SQL module mail
Message-ID: <Pine.SOL.3.93.961021165952.23580I-100000@caustik.organic.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hello,

If anyone has been responding to the thread about the SQL module
specification I posted earlier today, please cc them to me directly
(pixel@organic.com).  I am subscribed to the list, but I'm not receiving
messages (the list owner has been notified..)

My apologies.  I thought this problem had been fixed because I got Tim's
reponse.  But that message was cc'd directly to me as well as to the list
itself.

Thanks

-- James


---+++---
Received: from 158.152.1.73 by oink with SMTP (PP) id <12549-19@oink>;
          Tue, 22 Oct 1996 03:26:42 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845950433:01806:17; Tue, 22 Oct 96 03:13:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01703; 22 Oct 96 3:13 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id RAA03414 for dbi-users-real; Mon, 21 Oct 1996 17:02:13 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cis.famu.edu ([168.223.20.130]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id RAA03410 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 17:02:12 -0700 (PDT)
Received: from serel ([168.223.20.130]) by cis.famu.edu (8.7.6/8.7.3) with SMTP 
          id UAA01763 for <dbi-users@fugue.com>;
          Mon, 21 Oct 1996 20:02:10 -0400 (EDT)
Date: Mon, 21 Oct 1996 20:02:09 -0400 (EDT)
From: Robert Palmer <rpalmer@cis.famu.edu>
X-Sender: rpalmer@serel
To: dbi-users@fugue.com
Subject: Problem compiling DBD-Oracle 0.40 on SunOS 4.1.4
Message-ID: <Pine.SUN.3.91.961021195919.1734A-100000@serel>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello all,

As the subject says, I am having trouble compiling DBD-Oracle 0.40 on 
SunOS.  I had no problems compiling/installing on Solaris.  Here is what 
I get:

serel:[/cis1/src/DBD-Oracle-0.40] make
LD_RUN_PATH="/cis6/oracle/lib:/lib" ld -o 
blib/arch/auto/DBD/Oracle/Oracle.so -assert nodefinitions 
-L/usr/local/lib Oracle.o dbdimp.o /cis6/oracle/lib/osntab.o    
-L/cis6/oracle/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 
-lcore -lnlsrtl -lcv6 -lcore -lm 
ld: /cis6/oracle/lib/libsqlnet.a(osnptt.o): can't mix pic and PIC .o
make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 4

Any help would be appreciated.  Thank you.

Robert Palmer, FAMU CIS Unix Network and Systems Administrator
E-Mail: rpalmer@cis.famu.edu
Pager:	(904) 422-7169

---+++---
Received: from 158.152.1.73 by oink with SMTP (PP) id <12549-21@oink>;
          Tue, 22 Oct 1996 03:26:54 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845950506:02009:20; Tue, 22 Oct 96 03:15:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01976; 22 Oct 96 3:14 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id QAA03358 for dbi-users-real; Mon, 21 Oct 1996 16:46:14 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from carver.pinc.com (carver.pinc.com [199.60.118.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id QAA03354 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 16:46:11 -0700 (PDT)
Received: from twcelusz.hlth.gov.bc.ca (twcelusz.hlth.gov.bc.ca [142.36.196.26]) 
          by carver.pinc.com (8.8.0/8.8.0) with SMTP id QAA26678 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 16:45:50 -0700 (PDT)
Message-ID: <326C1945.2088@pinc.com>
Date: Mon, 21 Oct 1996 16:45:57 -0800
From: Tom Celuszak <celuszak@pinc.com>
Reply-To: celuszak@pinc.com
Organization: IS Consutling Corp.
X-Mailer: Mozilla 3.0Gold (Win16; I)
MIME-Version: 1.0
To: dbi-users@fugue.com
Subject: DBD::Oracle 0.38 and Oracle 7.3.2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Platform is Alpha with DEC OSF/1 (Unix) and Perl 5.003.

Just installed Oracle 7.3.2 and had to remake DBD::Oracle 0.38. Had
troubles with "perl Makefile.PL" command. Parsing problem. Trouble lay
in the ":=" signs shown in this bit of text found in the env_precomp.mk
file:

LOCALLIBS=

# Exiting /share/schroeder/ora/732/srchome/buildtools/defs.mk
# Entering /share/schroeder/ora/732/srchome/buildtools/platform.mk

_platform_ :=y
empty:=

PLATFORM = a_osf

The fix I applied was to change a line in Makefile.PL that read

last if m/^\w+\s*:/;        # gone too far, reached actual targets

to read

last if m/^\w+\s*:[^=]/;        # gone too far, reached actual targets

After this, make succeeeded.

Still testing as my DBA pal hasn't got the listener running with
TWO_TASK set... or that's my guess right now. 
-- 
Regards,                      Tel: 604 598-7456 home
Tom Celuszak                       604 952-2394 work site
Victoria, B.C.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13865-1@oink>;
          Tue, 22 Oct 1996 07:36:04 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845954692:13831:8; Tue, 22 Oct 96 04:24:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa13770; 22 Oct 96 4:24 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id SAA03638 for dbi-dev-real; Mon, 21 Oct 1996 18:29:09 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from emout01.mail.aol.com (emout01.mx.aol.com [198.81.11.92]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id SAA03634 
          for <dbi-dev@fugue.com>; Mon, 21 Oct 1996 18:29:03 -0700 (PDT)
From: Reetnem@aol.com
Received: by emout01.mail.aol.com (8.6.12/8.6.12) id VAA03598;
          Mon, 21 Oct 1996 21:28:29 -0400
Date: Mon, 21 Oct 1996 21:28:29 -0400
Message-ID: <961021212657_1179883433@emout01.mail.aol.com>
To: Tim.Bunce@ig.co.uk, dbi-dev@fugue.com
Subject: Array fetch

Here are some changes to add array fetching to DBD:oraperl 0.39.


*** dbdimp.h.old        Mon Mar  4 21:27:31 1996
--- dbdimp.h    Tue Oct 15 10:49:05 1996
***************
*** 31,47 ****
  };
  
  
  /* Define sth implementor data structure */
  struct imp_sth_st {
      dbih_stc_t com;           /* MUST be first element in structure   */
  
!     Cda_Def *cda;     /* currently just points to cdabuf below */
!     Cda_Def cdabuf;
  
      /* Input Details  */
      char      *statement;   /* sql (see sth_scan)             */
      HV        *bind_names;
  
      /* Output Details */
      int        done_desc;   /* have we described this sth yet ?       */
      imp_fbh_t *fbh;       /* array of imp_fbh_t structs       */
--- 31,53 ----
  };
  
  
  /* Define sth implementor data structure */
  struct imp_sth_st {
      dbih_stc_t com;           /* MUST be first element in structure   */
  
!   Cda_Def     *cda;          /* currently just points to cdabuf below */
!     Cda_Def    cdabuf;
  
+   /* Cache Details */
+     int        cache_size;
+     int        in_cache;
+     int        next_entry;
+     int        end_of_data;
+ 
      /* Input Details  */
      char      *statement;   /* sql (see sth_scan)             */
      HV        *bind_names;
  
      /* Output Details */
      int        done_desc;   /* have we described this sth yet ?       */
      imp_fbh_t *fbh;       /* array of imp_fbh_t structs       */
***************
*** 62,83 ****
      sb4  cbufl;               /* length of select-list item name */
      sb4  dsize;               /* max display size if field is a char */
      sb2  prec;
      sb2  scale;
      sb2  nullok;
  
      /* Our storage space for the field data as it's fetched   */
!     sb2  indp;                /* null/trunc indicator variable        */
      sword ftype;      /* external datatype we wish to get     */
!     ub1  *buf;                /* data buffer (points to sv data)      */
!     ub2  bufl;                /* length of data buffer                */
!     ub2  rlen;                /* length of returned data              */
!     ub2  rcode;               /* field level error status             */
! 
!     SV        *sv;
  };
  
  
  typedef struct phs_st phs_t;    /* scalar placeholder   */
  
  struct phs_st {       /* scalar placeholder EXPERIMENTAL      */
      SV        *sv;            /* the scalar holding the value         */
--- 68,87 ----
      sb4  cbufl;               /* length of select-list item name */
      sb4  dsize;               /* max display size if field is a char */
      sb2  prec;
      sb2  scale;
      sb2  nullok;
  
      /* Our storage space for the field data as it's fetched   */
!     sb2  *aindp;      /* null/trunc indicator variable        */
      sword ftype;      /* external datatype we wish to get     */
!     char *abuf;               /* data buffer (points to sv data)      */
!     ub2   bufl;               /* length of data buffer                */
!     ub2  *arlen;      /* length of returned data              */
!     ub2  *arcode;     /* field level error status             */
  };
  
  
  typedef struct phs_st phs_t;    /* scalar placeholder   */
  
  struct phs_st {       /* scalar placeholder EXPERIMENTAL      */
      SV        *sv;            /* the scalar holding the value         */
*** dbdimp.c.old        Thu Aug 22 19:21:57 1996
--- dbdimp.c    Tue Oct 15 11:05:18 1996
***************
*** 75,90 ****
  {
      FILE *fp = DBILOGFP;
      fprintf(fp, "fbh %d: '%s' %s, ",
                i, fbh->cbuf, (fbh->nullok) ? "NULLable" : "");
      fprintf(fp, "type %d,  dbsize %ld, dsize %ld, p%d s%d\n",
            fbh->dbtype, (long)fbh->dbsize, (long)fbh->dsize,
            fbh->prec, fbh->scale);
!     fprintf(fp, "   out: ftype %d, indp %d, bufl %d, rlen %d, rcode %d\n",
!           fbh->ftype, fbh->indp, fbh->bufl, fbh->rlen, fbh->rcode);
  }
  
  
  static int
  dbtype_is_long(dbtype)
      int dbtype;
  {
--- 75,90 ----
  {
      FILE *fp = DBILOGFP;
      fprintf(fp, "fbh %d: '%s' %s, ",
                i, fbh->cbuf, (fbh->nullok) ? "NULLable" : "");
      fprintf(fp, "type %d,  dbsize %ld, dsize %ld, p%d s%d\n",
            fbh->dbtype, (long)fbh->dbsize, (long)fbh->dsize,
            fbh->prec, fbh->scale);
!     fprintf(fp, "   out: ftype %d, indp %p, bufl %d, rlen %p, rcode %p\n",
!             fbh->ftype, fbh->aindp, fbh->bufl, fbh->arlen, fbh->arcode);
  }
  
  
  static int
  dbtype_is_long(dbtype)
      int dbtype;
  {
***************
*** 511,524 ****
--- 511,528 ----
  dbd_describe(h, imp_sth)
      SV *h;
      imp_sth_t *imp_sth;
  {
      static sb4 *f_cbufl;              /* XXX not thread safe  */
      static U32  f_cbufl_max;
  
+     /* Declare local copies of two globals. */
+     SV  *ora_cache = perl_get_sv("ora_cache", FALSE);
+     SV  *cache     = perl_get_sv("cache",     FALSE);
+     
      sb1 *cbuf_ptr;
      int t_cbufl=0;
      I32 num_fields;
      int i = 0;
  
      if (imp_sth->done_desc)
        return 1;       /* success, already done it */
***************
*** 525,538 ****
--- 529,558 ----
      imp_sth->done_desc = 1;
  
      if (!f_cbufl) {
        f_cbufl_max = 120;
        New(1, f_cbufl, f_cbufl_max, sb4);
      }
  
+     /* Get the cache size for this query. */
+     imp_sth->cache_size  = 5;
+     imp_sth->in_cache    = 0;
+     imp_sth->end_of_data = 0;
+  
+     if( cache         &&
+         SvOK( cache )   )
+       imp_sth->cache_size  = SvIV( cache );
+     else
+       if( ora_cache         &&
+           SvOK( ora_cache )   )
+         imp_sth->cache_size  = SvIV( ora_cache );
+  
+     if( imp_sth->cache_size < 1 )
+       imp_sth->cache_size  = 5;
+     
      /* Get number of fields and space needed for field names  */
      while(++i) {      /* break out within loop                */
        sb1 cbuf[256];  /* generous max column name length      */
        sb2 dbtype = 0; /* workaround for problem log #405032   */
        if (i >= f_cbufl_max) {
            f_cbufl_max *= 2;
            Renew(f_cbufl, f_cbufl_max, sb4);
***************
*** 590,614 ****
            /* as strings, that'll change (IV, NV and binary data etc)  */
            fbh->ftype = 5;             /* oraperl used 5 'STRING'      */
            /* dbsize can be zero for 'select NULL ...'                 */
        }
  
        fbh->bufl  = fbh->dsize+1;      /* +1: STRING null terminator   */
  
!       /* currently we use an sv, later we'll use an array     */
!       fbh->sv = newSV((STRLEN)fbh->bufl);
!       (void)SvUPGRADE(fbh->sv, SVt_PV);
!       SvREADONLY_on(fbh->sv);
!       (void)SvPOK_only(fbh->sv);
!       fbh->buf = (ub1*)SvPVX(fbh->sv);
  
        /* BIND */
!       if (odefin(imp_sth->cda, i, fbh->buf, fbh->bufl,
!               fbh->ftype, -1, &fbh->indp,
!               (text*)0, -1, -1, &fbh->rlen, &fbh->rcode)) {
            warn("odefin error on %s: %d", fbh->cbuf, imp_sth->cda->rc);
        }
  
        if (dbis->debug >= 2)
            fbh_dump(fbh, i);
      }
  
--- 610,633 ----
            /* as strings, that'll change (IV, NV and binary data etc)  */
            fbh->ftype = 5;             /* oraperl used 5 'STRING'      */
            /* dbsize can be zero for 'select NULL ...'                 */
        }
  
        fbh->bufl  = fbh->dsize+1;      /* +1: STRING null terminator   */
  
!       /* Allocate arrays to hold index/data/length/result. */
!         Newz( 43, fbh->aindp,  imp_sth->cache_size,             sb2  );
!         Newz( 43, fbh->abuf,   imp_sth->cache_size * fbh->bufl, char );
!         Newz( 43, fbh->arlen,  imp_sth->cache_size,             ub2  );
!         Newz( 43, fbh->arcode, imp_sth->cache_size,             ub2  );
  
        /* BIND */
!         if (odefin(imp_sth->cda, i, fbh->abuf, fbh->bufl,
!                 fbh->ftype, -1, fbh->aindp,
!                 (text*)0, -1, -1, fbh->arlen, fbh->arcode)) {
            warn("odefin error on %s: %d", fbh->cbuf, imp_sth->cda->rc);
        }
  
        if (dbis->debug >= 2)
            fbh_dump(fbh, i);
      }
  
***************
*** 656,692 ****
      /* Check that execute() was executed sucessfuly. This also implies
       */
      /* that dbd_describe() executed sucessfuly so the memory buffers  */
      /* are allocated and bound.
                                              */
      if ( !DBIc_ACTIVE(imp_sth) ) {
        ora_error(sth, NULL, 1, "no statement executing");
        return Nullav;
      }
!     /* This will become ofen() once the buffer management is reworked.
       */
!     if (ofetch(imp_sth->cda)) {
        if (imp_sth->cda->rc != 1403) { /* was not just end-of-fetch    */
            ora_error(sth, imp_sth->cda, imp_sth->cda->rc, "ofetch error");
            /* should we ocan() here? */
        } else {
!           sv_setiv(DBIc_ERR(imp_sth), 0);     /* just end-of-fetch    */
        }
!       if (debug >= 3)
!           fprintf(DBILOGFP, "    dbd_st_fetch failed, rc=%d",
!               imp_sth->cda->rc);
!       return Nullav;
      }
  
      av = DBIS->get_fbav(imp_sth);
      num_fields = AvFILL(av)+1;
  
      if (debug >= 3)
        fprintf(DBILOGFP, "    dbd_st_fetch %d fields\n", num_fields);
  
      for(i=0; i < num_fields; ++i) {
        imp_fbh_t *fbh = &imp_sth->fbh[i];
!       int rc = fbh->rcode;
        SV *sv = AvARRAY(av)[i]; /* Note: we (re)use the SV in the AV   */
  
        if (rc == 1406 && dbtype_is_long(fbh->dbtype)) {
            /* We have a LONG field which has been truncated.           */
            int oraperl = DBIc_COMPAT(imp_sth);
            if ((oraperl) ? SvIV(ora_trunc) : imp_sth->long_trunc_ok) {
                /* Oraperl recorded the truncation in ora_errno.        */
--- 675,724 ----
      /* Check that execute() was executed sucessfuly. This also implies
       */
      /* that dbd_describe() executed sucessfuly so the memory buffers  */
      /* are allocated and bound.
                                              */
      if ( !DBIc_ACTIVE(imp_sth) ) {
        ora_error(sth, NULL, 1, "no statement executing");
        return Nullav;
      }
!     /* If the cache is empty fetch next X rows. */
!     if (!imp_sth->in_cache){
!       int rowcount = imp_sth->cda->rpc;
!       
!       if (imp_sth->end_of_data){
!       if (debug >= 1)
!               fprintf(DBILOGFP, "end of data" );
!       sv_setiv(DBIc_ERR(imp_sth), 0);     /* just end-of-fetch    */
!         return Nullav;
!       }
!       if (ofen(imp_sth->cda, imp_sth->cache_size)) {
        if (imp_sth->cda->rc != 1403) { /* was not just end-of-fetch    */
            ora_error(sth, imp_sth->cda, imp_sth->cda->rc, "ofetch error");
            /* should we ocan() here? */
+           if (debug >= 3)
+             fprintf(DBILOGFP, "    dbd_st_fetch failed, rc=%d",
+                     imp_sth->cda->rc);
+           return Nullav;
        } else {
!         imp_sth->end_of_data = 1;
!         sv_setiv(DBIc_ERR(imp_sth), 0);     /* just end-of-fetch    */
        }
!       }
!       imp_sth->in_cache   = imp_sth->cda->rpc - rowcount;
!       imp_sth->next_entry = 0;
      }
  
      av = DBIS->get_fbav(imp_sth);
      num_fields = AvFILL(av)+1;
  
      if (debug >= 3)
        fprintf(DBILOGFP, "    dbd_st_fetch %d fields\n", num_fields);
  
      for(i=0; i < num_fields; ++i) {
        imp_fbh_t *fbh = &imp_sth->fbh[i];
!         int rc = fbh->arcode[imp_sth->next_entry];
        SV *sv = AvARRAY(av)[i]; /* Note: we (re)use the SV in the AV   */
  
        if (rc == 1406 && dbtype_is_long(fbh->dbtype)) {
            /* We have a LONG field which has been truncated.           */
            int oraperl = DBIc_COMPAT(imp_sth);
            if ((oraperl) ? SvIV(ora_trunc) : imp_sth->long_trunc_ok) {
                /* Oraperl recorded the truncation in ora_errno.        */
***************
*** 693,708 ****
                /* We do so but it's not part of the DBI spec.          */
                sv_setiv(DBIc_ERR(imp_sth), (IV)rc); /* record it       */
                rc = 0;                 /* but don't provoke an error   */
            }
        }
  
        if (rc == 0) {                  /* the normal case              */
!           SvCUR(fbh->sv) = fbh->rlen;
!           sv_setsv(sv, fbh->sv);      /* XXX can be optimised later   */
  
        } else if (rc == 1405) {        /* field is null - return undef */
            (void)SvOK_off(sv);
  
        } else {  /* See odefin rcode arg description in OCI docs       */
            /* These may get case-by-case treatment eventually. */
            /* Some should probably be treated as warnings but  */
--- 725,743 ----
                /* We do so but it's not part of the DBI spec.          */
                sv_setiv(DBIc_ERR(imp_sth), (IV)rc); /* record it       */
                rc = 0;                 /* but don't provoke an error   */
            }
        }
  
        if (rc == 0) {                  /* the normal case              */
!           /* Move data to output variable. */
!           /* XXX can be optimised later   */
!              sv_setpvn(sv,
!                     &fbh->abuf[imp_sth->next_entry * fbh->bufl],
!                     fbh->arlen[imp_sth->next_entry]              );
  
        } else if (rc == 1405) {        /* field is null - return undef */
            (void)SvOK_off(sv);
  
        } else {  /* See odefin rcode arg description in OCI docs       */
            /* These may get case-by-case treatment eventually. */
            /* Some should probably be treated as warnings but  */
***************
*** 712,725 ****
--- 747,764 ----
        }
  
        if (debug >= 3)
            fprintf(DBILOGFP, "        %d: rc=%d '%s'\n",
                i, rc, SvPV(sv,na));
  
      }
+ 
+     /* Perform maintaince on cache variables. */
+     ++imp_sth->next_entry;
+     --imp_sth->in_cache;
      return av;
  }
  
  
  
  
  int
***************
*** 811,825 ****
        /* fall through */
      } 
  
      /* Free off contents of imp_sth   */
  
      for(i=0; i < DBIc_NUM_FIELDS(imp_sth); ++i) {
        imp_fbh_t *fbh = &imp_sth->fbh[i];
!       sv_free(fbh->sv);
      }
      Safefree(imp_sth->fbh);
      Safefree(imp_sth->fbh_cbuf);
      Safefree(imp_sth->statement);
  
      if (imp_sth->bind_names) {
        HV *hv = imp_sth->bind_names;
--- 850,867 ----
        /* fall through */
      } 
  
      /* Free off contents of imp_sth   */
  
      for(i=0; i < DBIc_NUM_FIELDS(imp_sth); ++i) {
        imp_fbh_t *fbh = &imp_sth->fbh[i];
!       Safefree(fbh->aindp );
!       Safefree(fbh->abuf  );
!       Safefree(fbh->arlen );
!       Safefree(fbh->arcode);
      }
      Safefree(imp_sth->fbh);
      Safefree(imp_sth->fbh_cbuf);
      Safefree(imp_sth->statement);
  
      if (imp_sth->bind_names) {
        HV *hv = imp_sth->bind_names;

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13865-6@oink>;
          Tue, 22 Oct 1996 07:36:30 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845957904:23162:7; Tue, 22 Oct 96 05:18:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23075; 22 Oct 96 5:17 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA03914 for dbi-dev-real; Mon, 21 Oct 1996 19:43:01 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id TAA03910 
          for <dbi-dev@fugue.com>; Mon, 21 Oct 1996 19:42:59 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id aa18181;
          22 Oct 96 3:40 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa04467; 22 Oct 96 3:40 BST
Received: from toad by oink with SMTP (PP) id <13211-0@oink>;
          Tue, 22 Oct 1996 03:39:11 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14876;
          Tue, 22 Oct 1996 03:38:50 +0000
Date: Tue, 22 Oct 1996 03:38:50 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610220238.AA14876@toad.ig.co.uk>
To: dbi-dev@fugue.com, Reetnem@aol.com
Subject: Re: Array fetch
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Reetnem@aol.com
> 
> Here are some changes to add array fetching to DBD:oraperl 0.39.

Thanks. That's more useful to me.

You're going to hate me for this, but is there any chance you could
send (just) me a diff using diff -c2 (assuming your diff supports
giving a number after the -c). The dif you've sent seems to have eight
lines of context rather than the default of three. That makes it more
difficult for me to apply where I've made my own changes nearby.

Sorry to be diff-icult!

Thanks. I hope to roll your work into mine within a week or so.
(Sooner with a tighter context diff. Hint :-)

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13865-8@oink>;
          Tue, 22 Oct 1996 07:36:41 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845958493:24458:0; Tue, 22 Oct 96 05:28:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24361; 22 Oct 96 5:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA03852 for dbi-users-real; Mon, 21 Oct 1996 19:32:17 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id TAA03848 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 19:32:13 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id af16046;
          22 Oct 96 3:31 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa04078; 22 Oct 96 3:31 BST
Received: from toad by oink with SMTP (PP) id <12624-0@oink>;
          Tue, 22 Oct 1996 03:30:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14863;
          Tue, 22 Oct 1996 03:30:43 +0000
Date: Tue, 22 Oct 1996 03:30:43 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610220230.AA14863@toad.ig.co.uk>
To: dbi-users@fugue.com, celuszak@pinc.com
Subject: Re: DBD::Oracle 0.38 and Oracle 7.3.2
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Tom Celuszak <celuszak@pinc.com>
> 
> Platform is Alpha with DEC OSF/1 (Unix) and Perl 5.003.
> 
> Just installed Oracle 7.3.2 and had to remake DBD::Oracle 0.38. Had
> troubles with "perl Makefile.PL" command. Parsing problem. Trouble lay
> in the ":=" signs shown in this bit of text found in the env_precomp.mk
> file:

> The fix I applied was to change a line in Makefile.PL ...

The best fix is always to upgrade first to the latest version.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13865-10@oink>;
          Tue, 22 Oct 1996 07:36:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845958495:24459:9; Tue, 22 Oct 96 05:28:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24414; 22 Oct 96 5:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA03807 for dbi-users-real; Mon, 21 Oct 1996 19:23:35 -0700 (PDT)
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.8.0/8.6.11) with SMTP id TAA03803 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 19:23:32 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ab13534;
          22 Oct 96 2:23 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa03546; 22 Oct 96 3:21 BST
Received: from toad by oink with SMTP (PP) id <10870-0@oink>;
          Mon, 21 Oct 1996 22:04:49 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14063;
          Mon, 21 Oct 1996 22:04:41 +0000
Date: Mon, 21 Oct 1996 22:04:41 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610212104.AA14063@toad.ig.co.uk>
To: pixel@organic.com
Subject: Re: Module to help build SQL statements?
Cc: dbi-users@fugue.com, Jacqui.Caren@ig.co.uk
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: James Cooper <pixel@organic.com>
> 
> > 	$quoted_string = $dbh->quote($string);
> 
> Excellent. Have all drivers implemented that method (quote), or is it only
> available with DBD::Oracle?  Or do all the supported databases use the
> double apostrophe to escape? (Postgres95 doesn't, but there's no DBD
> driver for it..)

The DBI provides a default based on SQL92.

> > Possibly. Write up an outline spec and post it here for feedback.
> 
> OK, here's the goal:  DBI allows a perl script to pass arbitrary SQL
> commands to a database, but it doesn't help the developer formulate those
> commands.  It would be ideal to have another module that allowed the
> programmer to build SQL statements quickly, while performing common
> validity checking for the programmer (quote escaping, varchar length
> truncation, number validity checking, etc).
> 
> The delimma is how to write such a module without further complicating the
> issue.  From first glance it seems that the four basic commands (SELECT,
> UPDATE, INSERT, DELETE) have some common components:
> 
> 1) Command itself (eg. SELECT, INSERT)
> 2) Table
> 3) Fields w/Data (or just fields in the case of SELECT)
> 4) Where clause
> 5) Order by clause (SELECT only)
> 
> The module would allow the programmer to set these components using method
> calls.  When the programmer wishes to get the final SQL statement, they
> call a final method like:
> 
> my $sql_statement = $sql_object->combine;
> 
> and out comes the statement.  That "combine" method could also, ideally,
> do some validity checking to make sure there is a table, and that the
> fields have been formatted properly.
> ...
> 
> This is basic, and there are already a few things I have a problem with:

You're trying to bite off more than can be easily chewed.

> 1) the where clause is very complex -- probably the most complicated part
> of a SELECT query.  The structure above doesn't help much with that
> regard.  How could we abstract that clause without making an interface
> that is completely overkill

Better yet... ignore it (at least for now).

> 2) it doesn't solve a major problem -- that your perl scripts don't know
> anything about the underlying database structure that they're talking to.
> One problem we've all had to deal with is VARCHAR length truncation.
> Let's say I have a field:
> 
> FIRST_NAME VARCHAR(50)
> 
> and I have a web-based form that takes in a person's name.  I must check
> to make sure that the length of the string the person types does not
> exceed 50 characters.  Now of course I could hardwire the length into my
> script and use a loop to chop the string until it's below the acceptable
> length.  But this is not ideal.
> 
> I realize we could query the database's system catalogs to get this
> information, but 1) this is costly for a CGI (would be a good solution for
> a long-running program and 2) that would require implementation ideally at
> the driver level since the catalogs are different from database to
> database.

So... design a value attributes class that has the functionality you want.
Then provide interfaces to setup the attributes from either program code
or databases (that bit can wait till later).

	my $field_attrib = new ...
	$field_attrib->... # call methods to set up attributes
	$value = $field_attrib->pre_process($value);
	die "...$err..." if $err = $field_attrib->check($value);

A related class could deal with lists of field attributes and apply
functions to a 'row' of data in a single step.

Ignore select vs insert vs delete. Just focus of field attributes.

> Sorry about the ramblings..but these data validation problems don't seem
> *that* complicated, yet at the same time I'm longing for a more elegant
> way to validate user input.  The way I do it now (small subroutines that
> escape the input) seems kludgy..
> 
> Any ideas?

I'll CC this to a collegue, Jacqui, and she'll probably start waxing lyrical
about some classes she's been working on (we do a lot of data-driven coding
around here and Jacqui applies that approach to her html work).

If I/we/she had the time I'd ask her to package up some of the base classes
but I doubt that we do right now. Sorry.

I certainly plan to add something to the DBI once the ODBC stuff is in and we
(therefore) have a consistent set of basic attributes and value definitions.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13865-12@oink>;
          Tue, 22 Oct 1996 07:37:02 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845958496:24460:6; Tue, 22 Oct 96 05:28:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa24418; 22 Oct 96 5:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA03822 for dbi-users-real; Mon, 21 Oct 1996 19:25:41 -0700 (PDT)
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.8.0/8.6.11) with SMTP id TAA03818 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 19:25:38 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa13746;
          22 Oct 96 2:24 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id ab03693; 22 Oct 96 3:24 BST
Received: from toad by oink with SMTP (PP) id <12104-0@oink>;
          Tue, 22 Oct 1996 00:46:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14433;
          Tue, 22 Oct 1996 00:46:31 +0000
Date: Tue, 22 Oct 1996 00:46:31 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610212346.AA14433@toad.ig.co.uk>
To: ln@datani.dk, groenvel@cse.psu.edu
Subject: Re: Bad free() error
Cc: dbi-users@fugue.com
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: John D Groenveld <groenvel@cse.psu.edu>
> 
> To the list:
> Has anyone duplicated the problem with Pro*C?

Yes. I forget who. It's in the archives.

> Do we have a bugid?

I don't recall it being mentioned (although that was the intention)

> I'm not 
> quite ready to move to 7.3 (7.2.3 Solaris 2.5 doesnt exhibit the problem) 
> anytime soon, but my managememnt has been asking. I'll submit the TAR via 
> supreq if I can have a Pro*C code snippet.

Search the archives for some typical Pro*C keywords. It should appear.

I posted a purify log for the bug. It probably had the same subject line.

Sorry I can't be more precise. Others here probably can.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13865-14@oink>;
          Tue, 22 Oct 1996 07:37:12 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845959270:26129:4; Tue, 22 Oct 96 05:41:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa26079; 22 Oct 96 5:40 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id TAA03952 for dbi-users-real; Mon, 21 Oct 1996 19:50:14 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cloud9.net (x+2kP40JVTxw+lE/GhMCcR5DDjjyrORT@cloud9.net [168.100.1.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id TAA03948 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 19:50:13 -0700 (PDT)
Received: from catech.cloud9.net (catech.dialup.cloud9.net [168.100.200.71]) 
          by cloud9.net (8.7.6/cloud9-1.0) with SMTP id WAA05371;
          Mon, 21 Oct 1996 22:50:07 -0400 (EDT)
Message-ID: <326C3600.7ECA@cloud9.net>
Date: Mon, 21 Oct 1996 22:48:32 -0400
From: Carl Tichler <catech@cloud9.net>
Reply-To: catech@cloud9.net
Organization: CAT Technology, Inc.
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Robert Palmer <rpalmer@cis.famu.edu>
CC: dbi-users@fugue.com
Subject: Re: Problem compiling DBD-Oracle 0.40 on SunOS 4.1.4
References: <Pine.SUN.3.91.961021195919.1734A-100000@serel>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello Robert,

I remember this from my SunOS days.  All of the object files in a shared
library have to be consistent --- either all -pic or all -PIC.  When in
doubt,
use -PIC, since this is supposed to be more general purpose.
You may have to modify the Makefile produced for DBD-Oracle to
do this.  Unfortunately, I don't have a SunOS machine to test
this out.

Carl Tichler
catech@cloud9.net 
ctichler@lehman.com

Robert Palmer wrote:
> 
> Hello all,
> 
> As the subject says, I am having trouble compiling DBD-Oracle 0.40 on
> SunOS.  I had no problems compiling/installing on Solaris.  Here is what
> I get:
> 
> serel:[/cis1/src/DBD-Oracle-0.40] make
> LD_RUN_PATH="/cis6/oracle/lib:/lib" ld -o
> blib/arch/auto/DBD/Oracle/Oracle.so -assert nodefinitions
> -L/usr/local/lib Oracle.o dbdimp.o /cis6/oracle/lib/osntab.o
> -L/cis6/oracle/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6
> -lcore -lnlsrtl -lcv6 -lcore -lm
> ld: /cis6/oracle/lib/libsqlnet.a(osnptt.o): can't mix pic and PIC .o
> make: *** [blib/arch/auto/DBD/Oracle/Oracle.so] Error 4
> 
> Any help would be appreciated.  Thank you.
> 
> Robert Palmer, FAMU CIS Unix Network and Systems Administrator
> E-Mail: rpalmer@cis.famu.edu
> Pager:  (904) 422-7169
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14969-23@oink>;
          Tue, 22 Oct 1996 10:39:48 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 845976509:01272:10; Tue, 22 Oct 96 10:28:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa01117; 22 Oct 96 10:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id XAA04798 for dbi-users-real; Mon, 21 Oct 1996 23:29:27 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from lbl.gov (lbl.gov [128.3.254.23]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id XAA04794 
          for <dbi-users@fugue.com>; Mon, 21 Oct 1996 23:29:25 -0700 (PDT)
Received: from voro.lbl.gov by lbl.gov (SMI-8.6/SMI-SVR4) id XAA00546;
          Mon, 21 Oct 1996 23:29:03 -0700
Received: from voro by voro.lbl.gov (SMI-8.6/SMI-SVR4) id XAA06654;
          Mon, 21 Oct 1996 23:29:16 -0700
Message-Id: <199610220629.XAA06654@voro.lbl.gov>
To: pixel@organic.com
cc: dbi-users@fugue.com, Jacqui.Caren@ig.co.uk
Subject: Re: Module to help build SQL statements?
In-reply-to: Your message of "Mon, 21 Oct 1996 22:04:41 -0000." <9610212104.AA14063@toad.ig.co.uk>
Date: Mon, 21 Oct 1996 23:29:16 -0700
From: Mark Dedlow <>

> From: Tim Bunce <Tim.Bunce@ig.co.uk>
> 
> > From: James Cooper <pixel@organic.com>
> > 
> > > 	$quoted_string = $dbh->quote($string);
> > 
> > Excellent. Have all drivers implemented that method (quote), or is it only
> > available with DBD::Oracle?  Or do all the supported databases use the
> > double apostrophe to escape? (Postgres95 doesn't, but there's no DBD
> > driver for it..)
> 
> The DBI provides a default based on SQL92.
> 
> > > Possibly. Write up an outline spec and post it here for feedback.
> > 
> > OK, here's the goal:  DBI allows a perl script to pass arbitrary SQL
> > commands to a database, but it doesn't help the developer formulate those
> > commands.  It would be ideal to have another module that allowed the
> > programmer to build SQL statements quickly, while performing common
> > validity checking for the programmer (quote escaping, varchar length
> > truncation, number validity checking, etc).
> > 
> > The delimma is how to write such a module without further complicating the
> > issue.  From first glance it seems that the four basic commands (SELECT,
> > UPDATE, INSERT, DELETE) have some common components:
> > 
> > 1) Command itself (eg. SELECT, INSERT)
> > 2) Table
> > 3) Fields w/Data (or just fields in the case of SELECT)
> > 4) Where clause
> > 5) Order by clause (SELECT only)
> > 
> > The module would allow the programmer to set these components using method
> > calls.  When the programmer wishes to get the final SQL statement, they
> > call a final method like:
> > 
> > my $sql_statement = $sql_object->combine;
> > 
> > and out comes the statement.  That "combine" method could also, ideally,
> > do some validity checking to make sure there is a table, and that the
> > fields have been formatted properly.
> > ...
> > 
> > This is basic, and there are already a few things I have a problem with:
> 
> You're trying to bite off more than can be easily chewed.

That is my experience.  I once tried to do something vaguely like this,
thinking a SQL statement (and the things that use it) could be more 
re-usable if abstracted into parts like listed above.

At first I thought the Where Clause was complex; what with it
doing logically disparate things like joins (expressing relational 
structure) and domain restrictions (where COL = 'x'), and then
when you add table aliases, recursion (subqueries), etc. and 
very quickly I realized it was even hard to separate the Where
Clause from the statement as a whole...and I realized I'd really
started writing a general SQL parser.  

And if you add vendor SQL flavors, you've really bitten off
a mouthful :-).

Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19360-18@oink>;
          Wed, 23 Oct 1996 00:29:46 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 846014411:22677:2565; Tue, 22 Oct 96 21:00:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21480; 22 Oct 96 20:59 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA05897 for dbi-users-real; Tue, 22 Oct 1996 09:50:59 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from caustik.organic.com (h24.n145.organic.com [204.152.145.24]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id JAA05893 
          for <dbi-users@fugue.com>; Tue, 22 Oct 1996 09:50:57 -0700 (PDT)
Received: from localhost (pixel@localhost) 
          by caustik.organic.com (8.7.5/8.6.12) with SMTP id JAA03887;
          Tue, 22 Oct 1996 09:50:35 -0700 (PDT)
Date: Tue, 22 Oct 1996 09:50:34 -0700 (PDT)
From: James Cooper <pixel@organic.com>
To: Tim Bunce <Tim.Bunce@ig.co.uk>
cc: dbi-users@fugue.com, Jacqui.Caren@ig.co.uk
Subject: Re: Module to help build SQL statements?
In-Reply-To: <9610212104.AA14063@toad.ig.co.uk>
Message-ID: <Pine.SOL.3.93.961022094450.3836D-100000@caustik.organic.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

> So... design a value attributes class that has the functionality you want.
> Then provide interfaces to setup the attributes from either program code
> or databases (that bit can wait till later).
> 
> 	my $field_attrib = new ...
> 	$field_attrib->... # call methods to set up attributes
> 	$value = $field_attrib->pre_process($value);
> 	die "...$err..." if $err = $field_attrib->check($value);
> 
> A related class could deal with lists of field attributes and apply
> functions to a 'row' of data in a single step.

Ok.  I'll see if I can come up with something there.  What attributes do
you think should be in there?  Here's a quick list off the top of my head:

1) Field data type
2) Field length
3) Whether field can be NULL

> Ignore select vs insert vs delete. Just focus of field attributes.

OK, but I guess at some point there should be a method that combines the
component SQL parts into a query (the "combine" method I spoke of before).
A co-worker of mine suggested creating a base class that contained
components common to all the 4 queries, and then creating a sub-class for
each Query (eg. SQL::Query::Insert, SQL::Query::Select, etc.) that
implemented the "combine" method and added whetever components might be
specific to that type of query.

What do you all think of that approach?

Thanks

-- James


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19360-27@oink>;
          Wed, 23 Oct 1996 00:30:22 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 846018043:22515:4154; Tue, 22 Oct 96 22:00:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa21227; 22 Oct 96 20:58 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id JAA05801 for dbi-users-real; Tue, 22 Oct 1996 09:43:56 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from caustik.organic.com (h24.n145.organic.com [204.152.145.24]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id JAA05797 
          for <dbi-users@fugue.com>; Tue, 22 Oct 1996 09:43:54 -0700 (PDT)
Received: from localhost (pixel@localhost) 
          by caustik.organic.com (8.7.5/8.6.12) with SMTP id JAA03881;
          Tue, 22 Oct 1996 09:43:50 -0700 (PDT)
Date: Tue, 22 Oct 1996 09:43:50 -0700 (PDT)
From: James Cooper <pixel@organic.com>
To: "Kathleen F. Duncan" <duncan@wsunix.wsu.edu>
cc: "dbi-users@fugue.com" <dbi-users@fugue.com>, Jacqui.Caren@ig.co.uk
Subject: Re: Module to help build SQL statements?
In-Reply-To: <Pine.OSF.3.95.961022075859.2956C-100000@unicorn.it.wsu.edu>
Message-ID: <Pine.SOL.3.93.961022094154.3836A-100000@caustik.organic.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

> If there is interest in this, I can make my work available.

Yes, I'd like to see what you've done.  Have you developed some modules
that abstract the parsing of this text file?

Thanks,

-- James

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19360-29@oink>;
          Wed, 23 Oct 1996 00:30:29 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 846018502:22520:4378; Tue, 22 Oct 96 22:08:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12166; 22 Oct 96 21:46 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA06125 for dbi-users-real; Tue, 22 Oct 1996 10:25:27 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from limmat (limmat.switch.ch [130.59.4.30]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id KAA06121 
          for <dbi-users@fugue.com>; Tue, 22 Oct 1996 10:25:24 -0700 (PDT)
Message-Id: <199610221725.KAA06121@toccata.fugue.com>
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
          Tue, 22 Oct 1996 19:24:33 +0200
To: dbi-users@fugue.com
cc: Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Re: Have you read README.login
In-reply-to: Message from Tim Bunce <Tim.Bunce@ig.co.uk> of "Tue, 22 Oct 1996 16:20:29 -0000." <9610221520.AA20505@toad.ig.co.uk>
Date: Tue, 22 Oct 1996 19:24:30 +0200
From: Martin Berli <berli@switch.ch>


> > > Try leaving dbname value empty and set dbuser to name/passwd@dbname.
> >
> > This is not clear: Does this mean I have to modify test.pl?
> 
> Either that or set ORACLE_USERID env var.

OK, it set it like this:

 $dbname = '';
 $dbuser = 'scott/tiger@lim1';

But it still gives the same error:

 ora_login: 1019: ORA-01019: unable to allocate memory in the user side

No problem with this:

> [~/DBD-Oracle-0.40] sqlplus scott/tiger@lim1
> 
> SQL*Plus: Release 3.3.2.0.0 - Production on Tue Oct 22 19:16:00 1996
> 
> Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
> 
> 
> Connected to:
> Oracle7 Server Release 7.3.2.1.0 - Production Release
> PL/SQL Release 2.3.2.0.0 - Production
> 
> SQL>

Hmmm...just a thought: in the README.clients it says:

> With recent versions of Oracle (specifically around 7.3) you may be
> able to build DBD::Oracle without Pro*C installed by using the Oracle
> supplied oracle.mk file:
> 
>         perl Makefile.PL -m $ORACLE_HOME/rdbms/demo/oracle.mk
> 
> (The oracle.mk file might also be found in $ORACLE_HOME/rdbms/public/)

I used the oracle.mk file instead of the one from Pro*C (Pro*C is not
installed at our site). Could it be that the trouble comes from there?

Martin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19360-43@oink>;
          Wed, 23 Oct 1996 00:31:20 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 846021486:09683:178; Tue, 22 Oct 96 22:58:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa23266; 22 Oct 96 21:03 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id IAA05619 for dbi-users-real; Tue, 22 Oct 1996 08:36:49 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from unicorn.it.wsu.edu (unicorn.it.wsu.edu [134.121.1.1]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA05614 
          for <dbi-users@fugue.com>; Tue, 22 Oct 1996 08:36:43 -0700 (PDT)
Received: from localhost (duncan@localhost) by unicorn.it.wsu.edu (8.8.0/8.8.0) 
          with SMTP id IAA14148; Tue, 22 Oct 1996 08:36:36 -0700 (PDT)
Date: Tue, 22 Oct 1996 08:36:36 -0700 (PDT)
From: "Kathleen F. Duncan" <duncan@wsunix.wsu.edu>
X-Sender: duncan@unicorn.it.wsu.edu
Reply-To: "Kathleen F. Duncan" <duncan@wsunix.wsu.edu>
To: "dbi-users@fugue.com" <dbi-users@fugue.com>
cc: pixel@organic.com, Jacqui.Caren@ig.co.uk
Subject: Re: Module to help build SQL statements?
In-Reply-To: <199610220629.XAA06654@voro.lbl.gov>
Message-ID: <Pine.OSF.3.95.961022075859.2956C-100000@unicorn.it.wsu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Mon, 21 Oct 1996 Mark@wsunix.wsu.edu wrote:

> > From: Tim Bunce <Tim.Bunce@ig.co.uk>
> > 
> > > From: James Cooper <pixel@organic.com>
> > > 
> > > > 	$quoted_string = $dbh->quote($string);
> > > 
> > > Excellent. Have all drivers implemented that method (quote), or is it only
> > > available with DBD::Oracle?  Or do all the supported databases use the
> > > double apostrophe to escape? (Postgres95 doesn't, but there's no DBD
> > > driver for it..)
> > 
> > The DBI provides a default based on SQL92.
> > 
> > > > Possibly. Write up an outline spec and post it here for feedback.
> > > 
> > > OK, here's the goal:  DBI allows a perl script to pass arbitrary SQL
> > > commands to a database, but it doesn't help the developer formulate those
> > > commands.  It would be ideal to have another module that allowed the
> > > programmer to build SQL statements quickly, while performing common
> > > validity checking for the programmer (quote escaping, varchar length
> > > truncation, number validity checking, etc).
> > > 
> > > The delimma is how to write such a module without further complicating the
> > > issue.  From first glance it seems that the four basic commands (SELECT,
> > > UPDATE, INSERT, DELETE) have some common components:
> > > 
> > > 1) Command itself (eg. SELECT, INSERT)
> > > 2) Table
> > > 3) Fields w/Data (or just fields in the case of SELECT)
> > > 4) Where clause
> > > 5) Order by clause (SELECT only)
> > > 
> > > The module would allow the programmer to set these components using method
> > > calls.  When the programmer wishes to get the final SQL statement, they
> > > call a final method like:
> > > 
> > > my $sql_statement = $sql_object->combine;
> > > 
> > > and out comes the statement.  That "combine" method could also, ideally,
> > > do some validity checking to make sure there is a table, and that the
> > > fields have been formatted properly.
> > > ...
> > > 
> > > This is basic, and there are already a few things I have a problem with:
> > 
> > You're trying to bite off more than can be easily chewed.
> 
> That is my experience.  I once tried to do something vaguely like this,
> thinking a SQL statement (and the things that use it) could be more 
> re-usable if abstracted into parts like listed above.
> 
> At first I thought the Where Clause was complex; what with it
> doing logically disparate things like joins (expressing relational 
> structure) and domain restrictions (where COL = 'x'), and then
> when you add table aliases, recursion (subqueries), etc. and 
> very quickly I realized it was even hard to separate the Where
> Clause from the statement as a whole...and I realized I'd really
> started writing a general SQL parser.  
> 
> And if you add vendor SQL flavors, you've really bitten off
> a mouthful :-).
> 
> Mark
> 

I have been working on just such a program for my project requirement for
a graduate degree.  Basically what I have done is write a perl program
which is a parser as Mark described.  

My program generates a Web page on the fly, retrieves user-entered values,
builds the SQL query, submits it to the database and retrieves the
results.  The input to the program is a simple ASCII file which contains
the following:

1) description of the database i.e. table.field names, field type
2) database host
3) query type: select, insert, update, delete
4) Web page widgets -- list boxes, check boxes, text fields, etc.  These
   are made from database fields and non-database fields (DISTINCT, AND,
   OR,=, LIKE, etc)
5) SQL statement components -- the widgets and values that comprise the  
   SQL statement
6) Web page layout.


mSQL is the only platform under which I have tested this program.
Theoretically, it should work for any of the DBI-supported platforms.
Realistically, some modifications would most likely be required.

This program does not support subqueries, but it does support joins on
multiple tables.

To simplify writing the input file, I have also written a GUI program
which generates the input file for the developer.  I wrote this program
with Asymetrix Toolbook and it runs on PC's.

If there is interest in this, I can make my work available.

Kathleen Duncan
kduncan@wsu.edu


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19360-50@oink>;
          Wed, 23 Oct 1996 00:31:50 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 846022768:09683:983; Tue, 22 Oct 96 23:19:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa12607; 22 Oct 96 21:48 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id KAA06254 for dbi-users-real; Tue, 22 Oct 1996 10:56:57 -0700 (PDT)
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.8.0/8.6.11) with SMTP id KAA06250 
          for <dbi-users@fugue.com>; Tue, 22 Oct 1996 10:56:53 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa28610;
          22 Oct 96 17:18 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net 
          id aa14525; 22 Oct 96 18:15 BST
Received: from toad by oink with SMTP (PP) id <18098-0@oink>;
          Tue, 22 Oct 1996 18:14:49 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27051;
          Tue, 22 Oct 1996 18:14:30 +0000
Date: Tue, 22 Oct 1996 18:14:30 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Message-Id: <9610221714.AA27051@toad.ig.co.uk>
To: pixel@organic.com
Subject: Re: Module to help build SQL statements?
Cc: dbi-users@fugue.com, Jacqui.Caren@ig.co.uk
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: James Cooper <pixel@organic.com>
> 
> > Ignore select vs insert vs delete. Just focus of field attributes.
> 
> OK, but I guess at some point there should be a method that combines the
> component SQL parts into a query (the "combine" method I spoke of before).
> A co-worker of mine suggested creating a base class that contained
> components common to all the 4 queries, and then creating a sub-class for
> each Query (eg. SQL::Query::Insert, SQL::Query::Select, etc.) that
> implemented the "combine" method and added whetever components might be
> specific to that type of query.
> 
> What do you all think of that approach?

Over engineering. Wait and see how the value attribute classes work out.

Tim.

p.s. Note that a well designed value attribute class probably won't
mention SQL anywhere. Think in terms of formatting and validation of
a given domain of values (integers, phone numbers, coordinates etc).
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19360-65@oink>;
          Wed, 23 Oct 1996 00:32:45 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 846025491:16721:7955; Wed, 23 Oct 96 00:04:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14045; 22 Oct 96 21:51 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id LAA06363 for dbi-users-real; Tue, 22 Oct 1996 11:19:30 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from cpmx.mail.saic.com (cpmx.mail.saic.com [139.121.95.10]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA06359 
          for <dbi-users@fugue.com>; Tue, 22 Oct 1996 11:19:28 -0700 (PDT)
Received: from cpqm02.mail.saic.com by cpmx.mail.saic.com;
          Tue, 22 Oct 96 11:17:17 -0700
Message-ID: <n1366139509.7490@cpqm.saic.com>
Date: 22 Oct 1996 11:16:14 -0800
From: Donita Hawkins <Donita_Hawkins@cpqm.mail.saic.com>
Subject: Hardware/Software Advise ne
To: dbi-users@fugue.com
X-Mailer: Mail*Link SMTP-QM 3.0.2

                      Hardware/Software Advise needed              10/22/96


My Pentium running Linux and the Apache web server has died. I had our FoxPro
database on the web via exported flat files.  Now management has decided the
data is worth a new machine and Oracle/SyBase.  If you could choose a
machine/operating system etc what would you choose ?   I've been offered a
spare Silicon Graphics running ESIX (sp). (a $20,000 machine currently not in
use. )  But I've never heard of ESIX or IRIX it's other OS.  Since I'll need
to put the next database on the web, I am hoping someone could take the time
to advise me.   Thank you  ALOT.

Donita
Donita.K.Hawkins@cpmx.saic.com



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20938-6@oink>;
          Wed, 23 Oct 1996 00:56:18 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 846027363:16590:41; Wed, 23 Oct 96 00:36:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa15486; 23 Oct 96 0:31 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA06899 for dbi-users-real; Tue, 22 Oct 1996 13:26:01 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from gate.moeninc.com (gate.moen.com [158.62.197.2]) 
          by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA06895 
          for <dbi-users@fugue.com>; Tue, 22 Oct 1996 13:25:59 -0700 (PDT)
Received: by gate.moeninc.com; id QAA10304; Tue, 22 Oct 1996 16:15:06 -0400
Received: from legend.hq_rde.moen.com(158.62.4.10) by gate.moeninc.com 
          via smap (V3.1) id xma010289; Tue, 22 Oct 96 16:14:49 -0400
Received: from i2xz17 by legend.hq_rde.moen.com 
          via ESMTP (950215.SGI.8.6.10/940406.SGI) 
          for <@legend.hq_rde.moen.com:dbi-users@fugue.com> id QAA29545;
          Tue, 22 Oct 1996 16:20:40 -0400
Received: by i2xz17 (940816.SGI.8.6.9/940406.SGI) for dbi-users@fugue.com 
          id QAA29163; Tue, 22 Oct 1996 16:20:39 -0400
From: jamon@moeninc.com (Jennifer R. Amon)
Message-Id: <9610221620.ZM29161@i2xz17>
Date: Tue, 22 Oct 1996 16:20:39 -0400
X-Mailer: Z-Mail (3.2.2 10apr95 MediaMail)
To: dbi-users@fugue.com
Subject: test
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

http://www.fugue.com/dbi thinks I am subscribed, but I have
not gotten anything at all from the dbi-users list.

Please forgive this test.


-- 
_______________________________________________________________________
Jennifer R. Amon                Phone: 216-962-2000 ext. 2471
Sr. Programmer/Analyst            FAX: 216-962-2739
Moen Incorporated            Personal: jamon@apk.net           
25300 Al Moen Drive          Business: jamon@moen.com
North Olmsted, OH  44070          Web: http://junior.apk.net/~jamon/
_______________________________________________________________________
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20938-8@oink>;
          Wed, 23 Oct 1996 00:56:25 +0100
Received: from punt-1.mail.demon.net by mailstore for dbperl@ig.co.uk 
          id 846027395:16593:92; Wed, 23 Oct 96 00:36:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net 
          id aa14537; 23 Oct 96 0:28 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11) 
          id NAA06815 for dbi-users-real; Tue, 22 Oct 1996 13:09:58 -0700 (PDT)
Precedence: junk
Sender: owner-perldb-interest@fugue.com
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247]) 
          by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id NAA06811 
          for <dbi-users@fugue.com>; Tue, 22 Oct 1996 13:09:53 -0700 (PDT)
From: descarte@hermetica.com
Received: from chewbacca.hermetica.com (descarte@chewbacca.hermetica.com [192.192.192.246]) 
          by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id UAA01247;
          Tue, 22 Oct 1996 20:56:18 +0100 (BST)
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12) 
          id VAA15246; Tue, 22 Oct 1996 21:07:53 +0100
Message-Id: <199610222007.VAA15246@chewbacca.hermetica.com>
Subject: Re: DBD Informix install problem... Help!
To: del@infoman.com (Del Simmons)
Date: Tue, 22 Oct 1996 21:07:45 +0100 (BST)
Cc: dbi-users@fugue.com
In-Reply-To: <326D28B0.4E90@infoman.com> from "Del Simmons" at Oct 22, 96 04:04:00 pm
X-Pants: ** The return address of this email should be: descarte@hermetica.com
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


> # make test
> 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 test.pl
> install_driver(Informix) failed: Can't load
> './blib/arch/auto/DBD/Informix/Informix.so' for module DBD::Informix:
> ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found:
> gl_full_mbscat: referenced in ./blib/arch/auto/DBD/Informix/Informix.so
> 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' ): make: *** [test_dynamic]
> Error 2
> 
> Any ideas you guys have would be greatly appreciated! I think I am
> subscribed to the
> list now so I should get your replies

Bugger. I fixed this last week for someone and I can't remember how it was
done! Hopefully, they'll read this and let you know. Basically, there's a
bunch of libraries in the ESQL/C library directory that needs adding to
the $sysliblist variable in Makefile.PL. Just run nm on some of those libraries
and add them in and see what happens!

> Del Simmons

-- 
Alligator Descartes                                             Anathematician
descarte@hermetica.com					   Circuit VI Engineer
http://www.hermetica.com					     KEPhALH F
---+++---
