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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
Cc: Alligator Descartes <[email protected]>
Subject: Re: ANNOUNCE: DBD::Informix-0.23 released
References: <[email protected]>
From: Douglas McNaught <[email protected]>
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: <[email protected]>
Lines: 53
X-Mailer: Gnus v5.2.39/Emacs 19.30

Alligator Descartes <[email protected]> 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

               -----           [email protected]           -----
               -----      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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Mon, 23 Sep 1996 12:06:46 -0700
From: "Douglas A. Stanley" <[email protected]>
Organization: Intelligent Systems International
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/750)
Mime-Version: 1.0
To: [email protected]
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: [email protected]            |                          |
+-----------------------------------------+--------------------------+
---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
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: [email protected]
From: Christopher Ice <[email protected]>
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: [email protected] |   ( )  | 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>
Encoding: 170 Text
Message-Id: <[email protected]>
To: [email protected]
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:  [email protected] at Internet
Date:    9/20/96 7:09 PM

Your message has encountered delivery problems to the following recipients:
[email protected]

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 <[email protected]>;
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" <[email protected]>
Encoding: 69 Text
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Retreiving international characters using DBD::Oracle
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Robin Langdon <[email protected]>
>
> > 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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Announce DBI-0.72
Cc: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD::Oracle test.pl problem
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected] (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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Announce DBD-Oracle-0.39 / Oraperl 1.29
Cc: [email protected], [email protected]
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: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected] (Dave Rattanni)
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 [email protected] Mon Sep 23 15:54 EDT 1996
> Date: Mon, 23 Sep 1996 19:31:50 +0000
> From: Tim Bunce <[email protected]>
> To: [email protected], [email protected]
> Subject: Re: DBD::Oracle test.pl problem
>
>
> > From: [email protected] (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 [email protected]
         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: [email protected]
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 <[email protected]>; Mon, 23 Sep 1996 14:26:27 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Hermetica problems??
To: [email protected] (Christopher Ice)
Date: Mon, 23 Sep 1996 22:24:58 +0100 (BST)
Cc: [email protected]
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: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Announce DBD-Oracle-0.39 / Oraperl 1.29
Cc: [email protected], [email protected]
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: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Mon, 23 Sep 1996 22:41:39 +0100
Received: by msmailgate.datasci.co.uk with Microsoft Mail
         id <[email protected]>; Mon, 23 Sep 96 22:42:10 PDT
From: Fairey Simon <[email protected]>
To: 'Perl DB Users' <[email protected]>
Subject: Failed build of DBD::Informix v0.23 on RS6000 running AIX 325
Date: Mon, 23 Sep 96 22:39:00 PDT
Message-ID: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: DBD Informix-> I don't have ESQL, what now?
To: [email protected]
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
[email protected]                 (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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBI fetchrow question
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected] (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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: Announce DBI-0.72
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


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

From [email protected]  Tue Sep 24 00:31:21 1996
Date: Mon, 23 Sep 1996 17:40:29 -0400
From: [email protected]
To: [email protected]
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 [email protected] 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 [email protected]  Wed Apr 17 07:24:59 1996
Cc: [email protected]
Subject: HOW TO UNSUBSCRIBE
Date: Tue, 16 Apr 1996 11:20:57 -0700
From: Ted Lemon <[email protected]>


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 [email protected], the mailing list name is
dbi-users, the fully qualified domain name is fugue.com, and thus the
-request address is [email protected].   If you wanted to
unsubscribe to, e.g., [email protected], you would send mail to
[email protected].

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 [email protected]
         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: [email protected]
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 <[email protected]>; Mon, 23 Sep 1996 20:51:34 -0700 (PDT)
From: [email protected]
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: <[email protected]>
To: Fairey Simon <[email protected]>
cc: 'Perl DB Users' <[email protected]>
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. <[email protected]>
Date: Mon, 23 Sep 96 22:51:31 -0500


Fairey Simon <[email protected]>  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
[email protected]                | 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 [email protected]
         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: [email protected]
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 <[email protected]>; Mon, 23 Sep 1996 20:58:09 -0700 (PDT)
From: [email protected]
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: <[email protected]>
To: Fairey Simon <[email protected]>
cc: 'Perl DB Users' <[email protected]>
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. <[email protected]>
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
[email protected]                | 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> > 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD:Oracle on HPUX 9.04
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From [email protected]  Tue Sep 24 00:31:14 1996
> Sender: [email protected]
> Date: Mon, 23 Sep 1996 12:06:46 -0700
> From: "Douglas A. Stanley" <[email protected]>
> Organization: Intelligent Systems International
> Mime-Version: 1.0
> To: [email protected]
> 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: [email protected]            |                          |
> +-----------------------------------------+--------------------------+

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 [email protected],
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 [email protected]
         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: [email protected]
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 <[email protected]>; Tue, 24 Sep 1996 03:55:20 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [192.192.192.246])
         by fruitbat.mcqueen.com (8.7.6/8.6.12) with ESMTP id LAA11819
         for <[email protected]>; 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 [email protected]; 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 <[email protected]>;
         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 [email protected];
         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 <[email protected]>; 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: [email protected]
Cc: Alligator Descartes <[email protected]>
Subject: Re: ANNOUNCE: DBD::Informix-0.23 released
References: <[email protected]>
From: Douglas McNaught <[email protected]>
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: <[email protected]>
Lines: 53
X-Mailer: Gnus v5.2.39/Emacs 19.30

Alligator Descartes <[email protected]> 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

               -----           [email protected]           -----
               -----      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 [email protected]
         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: [email protected]
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 <[email protected]>; Tue, 24 Sep 1996 06:48:14 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Hermetica problems??
To: [email protected] (Tim Sailer)
Date: Tue, 24 Sep 1996 14:46:36 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Tim Sailer" at Sep 24, 96 08:58:53 am
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Tue, 24 Sep 1996 08:24:28 -0700 (PDT)
X-Sender: [email protected]
Message-Id: <v0300780dae6dbab0204b@[205.178.22.15]>
In-Reply-To: <[email protected]>
References: <[email protected]> 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: [email protected]
From: Chris Thorman <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Date: Tue, 24 Sep 96 16:05:19 BST
Message-Id: <[email protected]>
Received: from BTPON2.bt.co.uk by GFMS35.gfms.bt.co.uk;
         Tue, 24 Sep 96 16:05:19 BST
To: [email protected]
Subject: DBD-Oracle 0.38 on AIX 3.2.5
Cc: [email protected]


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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Tue, 24 Sep 1996 16:49:20 +0100
Received: by nfg013.i.netforce.net with Microsoft Mail
         id <[email protected]>;
         Tue, 24 Sep 1996 16:47:26 +0100
Message-ID: <[email protected]>
From: Mathew Booth <[email protected]>
To: "'[email protected]'" <[email protected]>
Subject: [email protected]
Date: Tue, 24 Sep 1996 16:47:24 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

[email protected]

---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Organization: Global Networking and Computing, Inc.
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
To: [email protected], Tim Bunce <[email protected]>
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: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: ODBC module?
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


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

From [email protected]  Tue Sep 24 18:15:42 1996
From: "Howroyd Mark (PC)" <[email protected]>
To: Tim Bunce <[email protected]>
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: [email protected]
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 [email protected]  Wed Sep 18 18:03:25 1996
From: "Howroyd Mark (PC)" <[email protected]>
To: 'Tim Bunce' <[email protected]>
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: [email protected]


----- 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Setting up DBD:Oracle
To: [email protected] (Chris Thorman)
Date: Tue, 24 Sep 1996 11:22:15 -0700 (PDT)
Cc: [email protected]
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
[email protected] 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
[email protected]

> 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 [email protected]
         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: [email protected]
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: [email protected] (Ignacio Trivio)
Message-Id: <199609242156.UAA17615@albaycin>
To: [email protected]
Subject: unsubscribe
Cc: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>; 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: <[email protected]>
Date: Tue, 24 Sep 1996 15:00:56 -0400
From: Bob Hackenberg <[email protected]>
Organization: Advanced Technology Laboratories
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: [email protected]
Subject: Re: Hermetica problems??
References: <[email protected]>
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            | [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Tue, 24 Sep 1996 16:00:32 -0400
From: Taranga Ghosh <[email protected]>
Organization: Children's Hospital Informatics Program
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: Emmett Hogan <[email protected]>
CC: [email protected], Tim Bunce <[email protected]>
Subject: Re: Still no luck in DBD:Oracle login delays....
References: <[email protected]>
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:[email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
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 <[email protected]>
cc: [email protected]
Subject: Re: Still no luck in DBD:Oracle login delays....
In-reply-to: Your message of "Tue, 24 Sep 1996 09:23:17 PDT." <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 24 Sep 1996 16:05:11 EDT
From: John D Groenveld <[email protected]>

> 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 [email protected]
         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: [email protected]
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 <[email protected]>; Tue, 24 Sep 1996 12:53:50 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Still no luck in DBD:Oracle login delays....
To: [email protected] (Emmett Hogan)
Date: Tue, 24 Sep 1996 20:50:59 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Emmett Hogan" at Sep 24, 96 09:23:17 am
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 [email protected];
         Tue, 24 Sep 1996 13:53:26 -0700 (PDT)
From: Michael Dahl <[email protected]>
Message-Id: <[email protected]>
Subject: Anyone know of a dbm interface to Oracle?
To: [email protected]
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
[email protected]
---+++---
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 [email protected]
         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: [email protected]
Received: from DGS.dgsys.com ([email protected] [204.97.64.1])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id NAA09554
         for <[email protected]>; 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 <[email protected]>
X-Sender: steffi@DGS
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Tue, 24 Sep 1996 14:44:54 -0700
From: Shelley Powers <[email protected]>
Reply-To: [email protected]
Organization: YASD Web Development
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Bob Hackenberg <[email protected]>
CC: [email protected]
Subject: Re: Hermetica problems??
References: <[email protected]> <[email protected]>
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            | [email protected]
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Cc: [email protected]
Subject: Re: Hermetica problems??
References: <[email protected]> <[email protected]>
From: Randal Schwartz <[email protected]>
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: <[email protected]>
Lines: 72
X-Mailer: Gnus v5.2.40/Emacs 19.34

>>>>> "Bob" == Bob Hackenberg <[email protected]> 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/[email protected]
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: <[email protected]> Snail: (Call) PGP-Key: (finger [email protected])
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>
X-Sender: harle@arctic
To: [email protected]
Subject: Re: Hermetica problems??
In-Reply-To: <[email protected]>
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            | [email protected]
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 [email protected]; Tue, 24 Sep 1996 23:25:23 +0100
Date: Tue, 24 Sep 96 23:24 BST-1
From: [email protected] (Alan Burlison)
Subject: Re: Still no luck in DBD:Oracle login delays....
To: [email protected]
Cc: [email protected]
Reply-To: [email protected]
Message-Id: <[email protected]>

In-Reply-To: <[email protected]>
> 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   [email protected]

---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 [email protected]; Tue, 24 Sep 1996 16:07:03 -0700 (PDT)
Date: Tue, 24 Sep 1996 16:07:03 -0700 (PDT)
From: Emmett Hogan <[email protected]>
Message-Id: <[email protected]>
Organization: Global Networking and Computing, Inc.
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
To: [email protected]
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: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Tue, 24 Sep 1996 21:30:33 -0400
From: Taranga Ghosh <[email protected]>
Organization: Children's Hospital Informatics Program
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: Emmett Hogan <[email protected]>
CC: [email protected]
Subject: Re: DBI:ORACLE login delays, more strangeness
References: <[email protected]>
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: [email protected]
> ICBM: 37d 33' 47" N, 122d 19' 28" W

--
regards,
Taranga Ghosh

Tel: 617 355 8544                       Fax: 617 355 8405
E-mail:[email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Hermetica problems??
Cc: [email protected]


>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; Wed, 25 Sep 1996 01:59:29 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Hermetica problems??
To: [email protected] (Randal Schwartz)
Date: Wed, 25 Sep 1996 09:56:00 +0100 (BST)
Cc: [email protected], [email protected]
In-Reply-To: <[email protected]> from "Randal Schwartz" at Sep 24, 96 02:41:36 pm
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: Hermetica problems??
References: <[email protected]>
From: Randal Schwartz <[email protected]>
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: <[email protected]>
Lines: 15
X-Mailer: Gnus v5.2.40/Emacs 19.34

>>>>> "Alligator" == Alligator Descartes <[email protected]> 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: <[email protected]> Snail: (Call) PGP-Key: (finger [email protected])
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
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 <[email protected]>
From: [email protected] (Thomas Schreiber)
Subject: Re: Hermetica problems??
Cc: [email protected]

>> 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
>[email protected]                                     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: [email protected]
________________________ 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Still no luck in DBD:Oracle login delays....
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Taranga Ghosh <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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)" <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
In-reply-to: <[email protected]> ([email protected])
Subject: Re: oracle install as requirement for dbd::oracle
Reply-to: "B. K. Oxley (binkley)" <[email protected]>

>>>>> "BKO(" == B K Oxley (binkley) <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Wed, 25 Sep 1996 12:40:59 -0300 (ADT)
Message-Id: <[email protected]>
X-Sender: [email protected]
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: [email protected]
From: Danny Macdonald <[email protected]>
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               | [email protected] |
| 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Wed, 25 Sep 1996 12:31:53 -0300 (ADT)
Message-Id: <[email protected]>
X-Sender: [email protected]
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: [email protected]
From: Danny Macdonald <[email protected]>
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               | [email protected] |
| 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected] (Thomas Schreiber)
Cc: Alligator Descartes <[email protected]>, [email protected]
Subject: Re: Hermetica problems??
References: <v01510109ae6ed1690b5a@[194.97.120.28]>
From: Randal Schwartz <[email protected]>
Date: 25 Sep 1996 08:16:58 -0700
In-Reply-To: [email protected]'s message of Wed, 25 Sep 1996 14:10:24 +0200
Message-ID: <[email protected]>
Lines: 20
X-Mailer: Gnus v5.2.40/Emacs 19.34

>>>>> "Thomas" == Thomas Schreiber <[email protected]> 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: <[email protected]> Snail: (Call) PGP-Key: (finger [email protected])
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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)" <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
In-reply-to: <[email protected]> (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)" <[email protected]>

>>>>> "DM" == Danny Macdonald <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; Wed, 25 Sep 1996 10:08:33 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Still no luck in DBD:Oracle login delays....
To: [email protected] (Tim Bunce)
Date: Wed, 25 Sep 1996 18:06:50 +0100 (BST)
Cc: [email protected], [email protected], [email protected]
In-Reply-To: <[email protected]> from "Tim Bunce" at Sep 25, 96 01:07:12 pm
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
Received: from info.curtin.edu.au ([email protected] [134.7.70.222])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id KAA11772
         for <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Hermetica problems??
To: [email protected] (Randal Schwartz)
Date: Thu, 26 Sep 1996 00:59:19 +0800 (WST)
Cc: [email protected]
In-Reply-To: <[email protected]> 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 : [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: DBperl and Ingres
Cc: [email protected]
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 <[email protected]>

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 [email protected]
         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: [email protected]
Received: from noc.cerf.net ([email protected] [192.153.156.22])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id NAA12562
         for <[email protected]>; 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" <[email protected]>
Message-Id: <[email protected]>
Subject: DBI:Informix retrieve TEXT data type
To: [email protected], [email protected] (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 [email protected]
         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: [email protected]
Received: from hq.caci.com ([email protected] [204.177.212.111])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with ESMTP id MAA12458
         for <[email protected]>; 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" <[email protected]>
Encoding: 32 Text
Message-Id: <[email protected]>
To: dbi-users <[email protected]>
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               | [email protected] |
| 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Date: Wed, 25 Sep 1996 16:54:20 -0400
In-Reply-To: Taranga Ghosh <[email protected]> "Re: Still no luck in DBD:Oracle login delays...." (Sep 25, 10:03am)
References: <[email protected]> <[email protected]>
X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
To: Taranga Ghosh <[email protected]>
Subject: Re: Still no luck in DBD:Oracle login delays....
Cc: Tim Bunce <[email protected]>, [email protected], [email protected]
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 <[email protected]>
> > >
> > > 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 [email protected]
         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: [email protected]
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 <[email protected]>; Wed, 25 Sep 1996 14:16:00 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [192.192.192.246])
         by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id WAA22675
         for <[email protected]>; 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 [email protected]; Wed, 25 Sep 1996 22:14:19 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Hermetica
To: [email protected]
Date: Wed, 25 Sep 1996 22:14:18 +0100 (BST)
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Wed, 25 Sep 1996 10:03:39 -0400
From: Taranga Ghosh <[email protected]>
Organization: Children's Hospital Informatics Program
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To: Tim Bunce <[email protected]>
CC: [email protected], [email protected]
Subject: Re: Still no luck in DBD:Oracle login delays....
References: <[email protected]>
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 <[email protected]>
> >
> > 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:[email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: Still no luck in DBD:Oracle login delays....
Cc: [email protected], [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Taranga Ghosh <[email protected]>
>
> Tim Bunce wrote:
> >
> > > From: Taranga Ghosh <[email protected]>
> > >
> > > 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>);
         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: <[email protected]>
Date: Wed, 25 Sep 1996 18:37:11 -0600
From: Kelly Carney <[email protected]>
X-Mailer: Mozilla 3.0Gold (Win95; I)
Mime-Version: 1.0
To: "B. K. Oxley (binkley)" <[email protected]>
Cc: [email protected]
Subject: Re: oracle install as requirement for dbd::oracle
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

B. K. Oxley (binkley) wrote:
>
> >>>>> "BKO(" == B K Oxley (binkley) <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>;
         Wed, 25 Sep 1996 22:08:45 -0400
Message-Id: <[email protected]>
X-Sender: [email protected]
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: [email protected]
From: [email protected] (Rickert, Anne )
Subject: oracle.mk in place of proc.mk?

>On Tue, 19 Dec 95 17:02:29 --0100
>Massimo Balestra ([email protected]) 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             [email protected]

   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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
To: [email protected], [email protected], [email protected]
cc: Tim Bunce <[email protected]>
Subject: Re: Still no luck in DBD:Oracle login delays....
In-reply-to: Your message of "Wed, 25 Sep 1996 15:37:37 -0000." <[email protected]>
Date: Wed, 25 Sep 1996 21:11:56 -0700
From: Mark Dedlow <[email protected]>


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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
To: [email protected]
cc: [email protected], [email protected], [email protected]
Subject: Re: Still no luck in DBD:Oracle login delays....
In-reply-to: Your message of "Wed, 25 Sep 1996 15:37:37 -0000." <[email protected]>
Date: Wed, 25 Sep 1996 21:14:44 -0700
From: Mark Dedlow <[email protected]>

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>; Thu, 26 Sep 1996 11:12:01 +0200
Message-ID: <[email protected]>
Date: Thu, 26 Sep 1996 11:12:00 +0200
From: Robin Langdon <[email protected]>
Organization: Industrial Grade Information Systems AB
X-Mailer: Mozilla 3.0Gold (X11; I; IRIX 5.3 IP22)
MIME-Version: 1.0
To: [email protected]
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:[email protected]
---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: ODBC module?
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


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

From [email protected]  Wed Sep 25 07:54:03 1996
Date: Tue, 24 Sep 1996 16:34:32 -0400
From: [email protected]
To: [email protected]
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 [email protected]
         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: [email protected]
Received: from juliet.logica.com ([email protected] [193.133.30.5])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id CAA14834
         for <[email protected]>; 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 <[email protected]>; Thu, 26 Sep 1996 10:21:05 +0100 (BST)
Received: by smtpmail.logica.com with Microsoft Mail
         id <[email protected]>; Thu, 26 Sep 96 10:20:20 bst
From: "Howroyd Mark (PC)" <[email protected]>
To: 'fugueserver' <[email protected]>
Subject: unsubscribe
Date: Thu, 26 Sep 96 09:41:00 bst
Message-ID: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Retreiving international characters using DBD::Oracle
To: [email protected] (Robin Langdon)
Date: Thu, 26 Sep 1996 12:13:28 +0000 (GMT)
Cc: [email protected], [email protected]
In-Reply-To: <[email protected]> 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 [email protected]
         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: [email protected]
Received: from juliet.logica.com ([email protected] [193.133.30.5])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id EAA15000
         for <[email protected]>; 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 <[email protected]>; Thu, 26 Sep 1996 12:38:06 +0100 (BST)
Received: by smtpmail.logica.com with Microsoft Mail
         id <[email protected]>; Thu, 26 Sep 96 12:37:20 bst
From: "Howroyd Mark (PC)" <[email protected]>
To: 'fugueserver' <[email protected]>
Subject: unsubscribe
Date: Thu, 26 Sep 96 12:30:00 bst
Message-ID: <[email protected]>
Encoding: 2 TEXT
X-Mailer: Microsoft Mail V3.0


[email protected]
---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]> id NAA20793;
         Thu, 26 Sep 1996 13:14:41 +0100
Message-Id: <[email protected]>
X-Sender: [email protected]
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' <[email protected]>
From: Alexandre COSTE <[email protected]>
Subject: unsubscribe
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by toccata.fugue.com id
                     FAA15075


[email protected]

Alexandre COSTE - Ing=E9nieur Syst=E8mes - [email protected]
Ilink           - Fournisseur d'acc=E9s Internet - [email protected]
-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 [email protected]
         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: [email protected]
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 <[email protected]>; 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)" <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (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)" <[email protected]>

>>>>> "KC" == Kelly Carney <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected] (Philip Smith)
Message-Id: <[email protected]>
To: [email protected]
Subject: unsubscribe
Cc: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Oracle and Perl
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users

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

From [email protected]  Thu Sep 26 16:22:51 1996
Date: Thu, 26 Sep 1996 11:22:32 -0400
From: Peter Giza <[email protected]>
To: [email protected]
Subject: Oracle and Perl
Reply-To: [email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>);
         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 <[email protected]>);
         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 <[email protected]>
Message-Id: <9609261108.ZM7337@lovecraft>
Date: Thu, 26 Sep 1996 11:08:25 -0500
X-Mailer: Z-Mail (3.2.1 10oct95)
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; Thu, 26 Sep 1996 10:02:23 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [192.192.192.246])
         by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id RAA09331
         for <[email protected]>; 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 [email protected]; Thu, 26 Sep 1996 18:00:56 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: ANNOUNCE: DBD-Informix-0.24
To: [email protected]
Date: Thu, 26 Sep 1996 18:00:55 +0100 (BST)
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; Thu, 26 Sep 1996 10:40:52 -0700 (PDT)
Received: by gateway1.srs.gov id AA28634 (InterLock SMTP Gateway 3.0
         for [email protected]); Thu, 26 Sep 1996 13:38:39 -0400
Message-Id: <[email protected]>
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 <[email protected]>
Subject: [Fwd: Bad free() in GD.pm]
To: [email protected]
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 [email protected]

--
---
James Taylor              | All opinions expressed here are my
Net: [email protected] | 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: <[email protected]>
From: Tom Malaher <[email protected]>
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: [email protected], [email protected]
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 [email protected]

--------------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 [email protected]
         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: [email protected]
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 <[email protected]>; Thu, 26 Sep 1996 11:55:49 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Remote server
To: [email protected] (Boris Yazlovitsky)
Date: Thu, 26 Sep 1996 19:52:51 +0100 (BST)
Cc: [email protected]
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: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; Thu, 26 Sep 1996 11:56:17 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: oracle install as requirement for dbd::oracle
To: [email protected]
Date: Thu, 26 Sep 1996 19:52:15 +0100 (BST)
Cc: [email protected], [email protected]
In-Reply-To: <[email protected]> from "B. K. Oxley" at Sep 26, 96 09:17:51 am
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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" <[email protected]>
Message-ID: <"17999 Thu Sep 26 14:11:27 1996"@bnr.ca>
To: [email protected]
Cc: [email protected]
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:[email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>);
         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: [email protected] (Kelly Carney)
Message-Id: <9609262039.AA10316@gomer>
To: [email protected], [email protected]
Subject: Re: oracle install as requirement for dbd::oracle
Cc: [email protected]
X-Sun-Charset: US-ASCII


> From [email protected] Thu Sep 26 14:13 MDT 1996
> From: Alligator Descartes <[email protected]>
> Subject: Re: oracle install as requirement for dbd::oracle
> To: [email protected]
> Date: Thu, 26 Sep 1996 19:52:15 +0100 (BST)
> Cc: [email protected], [email protected]
> X-Pants: ** The return address of this email should be: [email protected]
> 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
> [email protected]                                           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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Thu, 26 Sep 1996 17:42:30 -0400
From: Li Markakis <[email protected]>
X-Mailer: Mozilla 3.0b6 (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: [email protected]
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 [email protected]
         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: [email protected]
Received: from ns.cmgi.com ([email protected] [204.71.28.8])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id OAA17124
         for <[email protected]>; 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 <[email protected]>;
         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 <[email protected]>
To: [email protected]
Subject: Has anybody seen this error
Reply-To: [email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
From: Andreas Koenig <[email protected]>
To: The DBI Mailing Lists <[email protected]>
Subject: DBI-0.72 and irix
Reply-to: [email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
From: Andreas Koenig <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from James Taylor on Thu, 26 Sep 1996 13:36:27 -0400)
Subject: Re: [Fwd: Bad free() in GD.pm]
Reply-to: [email protected]

>>>>> James Taylor <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
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" <[email protected]>
Date: Fri, 27 Sep 96 14:13:34 -0600
To: [email protected]
Subject: DBI make install failed
Cc: [email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
To: [email protected]
Subject: oraperl for windows NT
Message-ID: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; Fri, 27 Sep 1996 17:39:02 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBI make install failed
To: [email protected] (James W. Meyer)
Date: Sat, 28 Sep 1996 01:30:01 +0100 (BST)
Cc: [email protected], [email protected]
In-Reply-To: <[email protected]> from "James W. Meyer" at Sep 27, 96 02:13:34 pm
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
To: [email protected]
cc: [email protected]
Subject: Bad free() in DBD::Oracle
Date: Fri, 27 Sep 1996 19:10:31 -0700
From: Ken Pizzini <[email protected]>
Message-Id: <[email protected]>

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>;
         Sat, 28 Sep 1996 11:35:35 -0400
Message-Id: <[email protected]>
X-Sender: [email protected]
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: [email protected]
From: [email protected] (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             [email protected]

   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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
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 <[email protected]>
Subject: Re: Bad free() in DBD::Oracle
To: [email protected]
Date: Sat, 28 Sep 1996 12:30:06 CDT
Cc: [email protected]
In-Reply-To: <[email protected]>; from "Ken Pizzini" at Sep 27, 96 7:10 pm
Organization: Motorola Inc.
Department: RNSG World Wide Manufacturing
Reply-To: [email protected]
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     [email protected]  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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
To: [email protected]
Subject: Re: Bad free() in DBD::Oracle
Date: Sat, 28 Sep 1996 11:15:48 -0700
From: Ken Pizzini <[email protected]>
Message-Id: <[email protected]>

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
From: Andrew Brown <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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" <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Mon, 30 Sep 1996 16:08:17 -0700
From: Anna Elbaum <[email protected]>
Organization: Hoechst Marion Roussel
X-Mailer: Mozilla 2.02 (Win16; I)
Mime-Version: 1.0
To: [email protected]
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 <[email protected]>
---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Fri, 27 Sep 1996 07:57:29 +0200
From: Kevin Stock <[email protected]>
Organization: Auspex Systems European Technical Support Centre
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.4 sun4m)
MIME-Version: 1.0
To: [email protected]
CC: [email protected]
Subject: Re: Oracle and Perl
References: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected] (Philip Kizer)
To: Randal Schwartz <[email protected]>
cc: Alligator Descartes <[email protected]>, [email protected]
Subject: Re: Hermetica problems??
Reply-To: [email protected]
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." <[email protected]>
Date: Mon, 30 Sep 1996 23:42:43 -0500
Message-ID: <[email protected]>


Randal Schwartz <[email protected]> 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 ) [email protected]
---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
To: [email protected]
Subject: DBD::Oracle
Message-ID: <[email protected]>
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
==============================================================================
|                          [email protected]                          |
|                            Pager: (701)237-1489                            |
|                            Phone: (701)232-7597                            |
Goals:========================================================================
Get married, get masters & doctorate degrees, get job, have kids, retire & die

'finger [email protected]' 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: Trouble installing DBI-Informix
To: [email protected]
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
[email protected]                 (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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>);
         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: <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: attrib option to bind_param method doesn't work (with patch)
Reply-To: [email protected]
Organisation: speaking through but not for McKesson Corp.
Date: Tue, 01 Oct 1996 11:11:57 -0700
From: Stephen Zander <[email protected]>


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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 [email protected]; Tue, 1 Oct 1996 11:50:09 -0700
From: Patrick McKeown <[email protected]>
Message-Id: <[email protected]>
Date: Tue, 1 Oct 1996 11:50:08 -0700
X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail)
To: [email protected]
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
[email protected]

---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Subject: Using DBD::Informix w/Informix 4.1
To: [email protected]
Date: Tue, 1 Oct 1996 21:03:31 -0400 (EDT)
From: Josh Purinton <[email protected]>
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 [email protected]
         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: [email protected]
Received: from bdm.com ([email protected] [208.200.186.10])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id LAA20369
         for <[email protected]>; 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: <[email protected]>
X-Mailer: Novell GroupWise 4.1
Date: Wed, 02 Oct 1996 14:28:13 -0500
From: Tom O'Rourke <[email protected]>
To: [email protected]
Cc: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
X-Sender: [email protected]
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected], [email protected], [email protected]
From: "J.A. Botia Blaya" <[email protected]>
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:[email protected]
telf:307100-x2035
Becario de Redes
Universidad de Murcia
-------------------------------------------------


------------------------------------------------
Juan Botia Blaya.
e-mail:[email protected]
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 [email protected]
         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: [email protected]
Received: from ns.cmgi.com ([email protected] [204.71.28.8])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id IAA23458
         for <[email protected]>; 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 <[email protected]>;
         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 <[email protected]>
To: [email protected]
Subject: AM I missing something?
Reply-To: [email protected]

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 [email protected]
         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: [email protected]
Received: from netcom9.netcom.com ([email protected] [192.100.81.119])
         by toccata.fugue.com (8.8.Beta.4/8.6.11) with SMTP id KAA24285
         for <[email protected]>; 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: [email protected] (Richard Puckett II)
Message-Id: <[email protected]>
To: [email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 [email protected];
         Fri, 4 Oct 1996 13:52:11 -0700 (PDT)
Date: Fri, 4 Oct 1996 13:52:11 -0700 (PDT)
From: Emmett Hogan <[email protected]>
Message-Id: <[email protected]>
Organization: Global Networking and Computing, Inc.
X-Mailer: Mail User's Shell (7.2.6 beta(2) 2/29/96)
To: [email protected]
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: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected] (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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: AM I missing something?
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Peter Giza <[email protected]>
>
>   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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: oraperl question
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From [email protected]  Thu Oct  3 07:39:35 1996
Date: Wed, 02 Oct 1996 13:41:48 -0500
From: jeffrey seul <[email protected]>
Organization: hnv.com
Mime-Version: 1.0
To: [email protected]
Cc: [email protected]
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
[email protected]

----- 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Oraperl question
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Tom O'Rourke <[email protected]>
> Cc: [email protected]
         ^^^^^
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 [email protected]
         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: [email protected]
Received: from bdm.com ([email protected] [208.200.186.10])
         by toccata.fugue.com (8.8.0/8.6.11) with SMTP id TAA29576
         for <[email protected]>; 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: <[email protected]>
X-Mailer: Novell GroupWise 4.1
Date: Fri, 04 Oct 1996 22:14:30 -0500
From: Tom O'Rourke <[email protected]>
To: [email protected], [email protected]
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 <[email protected]> 10/04/96 05:45am >>>

> From: Tom O'Rourke <[email protected]>
> Cc: [email protected]
         ^^^^^
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 [email protected]
         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: [email protected]
Received: from cloud9.net (z18P/[email protected] [168.100.1.2])
         by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id VAA29852
         for <[email protected]>; 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: <[email protected]>
Date: Sat, 05 Oct 1996 00:01:05 -0400
From: Carl Tichler <[email protected]>
Reply-To: [email protected]
Organization: CAT Technology, Inc.
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Tom O'Rourke <[email protected]>
CC: [email protected]
Subject: Re: Oraperl question -Reply
References: <[email protected]>
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 [email protected]
         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: [email protected]
Received: from merc.iternet.it ([email protected] [194.184.44.46])
         by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA14848
         for <[email protected]>; 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 <[email protected]>
To: [email protected]
cc: [email protected]
Subject: Problem with DBD (msql)
Message-ID: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Problem with DBD (msql)
To: [email protected] (Tony Merc Mobily)
Date: Sun, 6 Oct 1996 09:40:55 -0500 (CDT)
Cc: [email protected]
In-Reply-To: <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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: <[email protected]>
Date: Mon, 07 Oct 1996 09:09:13 +0100
From: Simon Windsor <[email protected]>
Organization: Amtrak Express Parcels
X-Mailer: Mozilla 3.0 (WinNT; I)
Mime-Version: 1.0
To: [email protected]
Subject: Re: Oraperl question -Reply
References: <[email protected]> <[email protected]>
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: [email protected] !
!                  ! 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 [email protected]
         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: [email protected]
Received: from bman.uucom.com ([email protected] [198.202.217.19])
         by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA01052
         for <[email protected]>; 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: <[email protected]>
Date: Mon, 07 Oct 1996 10:54:18 -0400
From: "Greg A. Lato" <[email protected]>
Organization: UUcom, Inc.
X-Mailer: Mozilla 3.0Gold (X11; I; Linux 2.0.11 i586)
MIME-Version: 1.0
To: [email protected]
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                                      [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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: [email protected] (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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: oraperl interface - fetchall
Cc: [email protected]
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: [email protected]

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
[email protected]
(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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD-Oracle 0.38 on AIX 3.2.5
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Rob Willett <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: oraperl interface - fetchall
Cc: [email protected]
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: [email protected]

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
[email protected]
(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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Supporting multiple DB versions
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Andrew Brown <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD-Oracle 0.38 on AIX 3.2.5
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Rob Willett <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Tue, 08 Oct 1996 11:31:12 +0100
From: Antonio Martmn <[email protected]>
Reply-To: [email protected]
Organization: retesa.es
X-Mailer: Mozilla 3.0 (Win95; I)
Mime-Version: 1.0
To: [email protected]
Subject: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Antonio Martmn <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
Received: from psci.sas.upenn.edu ([email protected] [130.91.92.84])
         by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA05160
         for <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: can't login DBD-Oracle-0.39 under AIX 4.1.4
To: [email protected]
Date: Tue, 8 Oct 1996 11:53:57 -0400 (EDT)
Cc: [email protected]
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
                [email protected]


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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
X-Sender: [email protected]
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected]
From: "J.A. Botia Blaya" <[email protected]>
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:[email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; Wed, 9 Oct 1996 05:37:44 -0700 (PDT)
From: [email protected]
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: <[email protected]>
X-Mailer: exmh version 1.6.7 5/3/96
To: [email protected]
cc: [email protected]
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
[email protected]                | 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
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: [email protected]
From: Christopher Ice <[email protected]>
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: [email protected] |   ( )  | 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>;
         Wed, 9 Oct 1996 10:10:32 -0400 (EDT)
Message-ID: <[email protected]>
Date: Wed, 09 Oct 1996 10:12:27 -0400
From: "Charles P. Hall" <[email protected]>
Organization: Koz Inc.
X-Mailer: Mozilla 3.0Gold (WinNT; I)
MIME-Version: 1.0
To: [email protected]
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
[email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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:[email protected]>; 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: <[email protected]>
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 <[email protected]>
Cc: "Tim.Bunce" <[email protected]>
From: Sunny Balijepalli/Infonautics Corporation <[email protected]>
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: [email protected]
---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; Wed, 9 Oct 1996 11:49:41 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DNS lookups via DBI...
To: [email protected] (Christopher Ice)
Date: Wed, 9 Oct 1996 19:47:50 +0100 (BST)
Cc: [email protected]
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: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Comments: Authenticated sender is <[email protected]>
From: David McCabe <[email protected]>
To: "J.A. Botia Blaya" <[email protected]>, [email protected]
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: [email protected]
X-Confirm-Reading-To: [email protected]
X-pmrqc: 1
Priority: normal
X-mailer: Pegasus Mail for Windows (v2.32)

> Date:          Wed, 9 Oct 1996 10:36:31 +0100
> To:            [email protected]
> From:          "J.A. Botia Blaya" <[email protected]>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>;
         Wed, 9 Oct 1996 15:23:38 -0400 (EDT)
Message-ID: <[email protected]>
Date: Wed, 09 Oct 1996 15:25:35 -0400
From: "Charles P. Hall" <[email protected]>
Organization: Koz Inc.
X-Mailer: Mozilla 3.0Gold (WinNT; I)
MIME-Version: 1.0
To: PerlDB Listserve <[email protected]>
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
[email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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:[email protected]>; 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: <[email protected]>
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 <[email protected]>
Cc: "Tim.Bunce" <[email protected]>
From: Sunny Balijepalli/Infonautics Corporation <[email protected]>
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:  [email protected]

============================================================
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Anyone seen problem with LONG names?
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected]
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Announce: DBI-0.73.tar.Z
Cc: [email protected]
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 [email protected]
         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: [email protected]
Received: from mail.kabel.de ([194.121.239.2])
         by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA12876
         for <[email protected]>; 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: [email protected]
Message-Id: <v01540b05ae830552df29@[194.121.239.125]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected]
From: [email protected] (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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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: <[email protected]>
From: Shawn M Ferris <[email protected]>
To: DBI Users <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Announce: DBI-0.73.tar.Z
Cc: [email protected]
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 [email protected]
         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: [email protected]
Received: from ns.koz.net ([199.72.127.50]) by toccata.fugue.com (8.8.0/8.6.11)
         with ESMTP id LAA13031 for <[email protected]>;
         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: <[email protected]>
Date: Thu, 10 Oct 1996 14:33:36 -0400
From: "Charles P. Hall" <[email protected]>
Organization: Koz Inc.
X-Mailer: Mozilla 3.0Gold (WinNT; I)
MIME-Version: 1.0
To: Hanno Mueller <[email protected]>
CC: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
         for [email protected]; Thu, 10 Oct 1996 11:28:58 -0500 (CDT)
Received: by msgw.hsii.ccare.com with Microsoft Mail
         id <[email protected]>;
         Thu, 10 Oct 1996 11:31:52 -0500 (CDT)
Date: Thu, 10 Oct 1996 11:17:00 -0500 (CDT)
From: "Willard, Keith" <[email protected]>
Subject: Re:can't login DBD-Oracle-0.39 under AIX 4.1.4
To: dbilist <[email protected]>
Message-id: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; Thu, 10 Oct 1996 12:34:13 -0700 (PDT)
Received: by gateway1.srs.gov id AA02030 (InterLock SMTP Gateway 3.0
         for [email protected]); Thu, 10 Oct 1996 15:31:36 -0400
Message-Id: <[email protected]>
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 <[email protected]>
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
To: "Willard, Keith" <[email protected]>
Cc: dbilist <[email protected]>
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: <[email protected]>

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: [email protected] | 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 [email protected]
         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: [email protected]
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 <[email protected]>; Thu, 10 Oct 1996 13:50:44 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBD Oracle on Linux.
To: [email protected] (Shawn M Ferris)
Date: Thu, 10 Oct 1996 21:49:04 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Shawn M Ferris" at Oct 10, 96 12:30:05 pm
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
X-Sender: sjm@flamenco
To: DBI Users List <[email protected]>
Subject: Re: DBD Oracle on Linux.
In-Reply-To: <[email protected]>
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
[email protected]                              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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Fri, 11 Oct 1996 14:01:40 +0900
Message-Id: <[email protected]>
X-Sender: [email protected]
X-Mailer: Windows Eudora Pro Version 3.0b33 (32)
Date: Fri, 11 Oct 1996 14:05:56 +0900
To: [email protected]
From: Chang-hoon Ji <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; Fri, 11 Oct 1996 00:13:46 -0700 (PDT)
From: [email protected]
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: <[email protected]>
To: [email protected]
Subject: Re: Problems building DBI-Informix 0.24
Cc: [email protected]
Reply-To: [email protected]
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                      [email protected]

---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Fri, 11 Oct 1996 21:32:27 +0900
Message-Id: <[email protected]>
X-Sender: [email protected]
X-Mailer: Windows Eudora Pro Version 3.0b33 (32)
Date: Fri, 11 Oct 1996 21:36:28 +0900
To: [email protected]
From: Chang-hoon Ji <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
Cc: [email protected]
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 [email protected]  Fri Oct 11 07:53:56 1996
Date: Thu, 10 Oct 1996 15:31:50 -0400
From: James Taylor <[email protected]>
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
To: "Willard, Keith" <[email protected]>
Cc: dbilist <[email protected]>
References: <[email protected]>

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: [email protected] | 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 [email protected]
         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: [email protected]
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 <[email protected]>; Fri, 11 Oct 1996 06:15:34 -0700 (PDT)
From: [email protected]
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: <[email protected]>
X-Mailer: exmh version 1.6.7 5/3/96
To: [email protected], [email protected]
Cc: [email protected], [email protected]
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. <[email protected]>
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 <[email protected]> wrote:
> Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
> To: "Willard, Keith" <[email protected]>
> Cc: dbilist <[email protected]>
> References: <[email protected]>
>
> 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
[email protected]                | 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 [email protected]
         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: [email protected]
Received: from mail.kabel.de ([194.121.239.2])
         by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA15604
         for <[email protected]>; 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: [email protected]
Message-Id: <v01540b05ae8407f7a11b@[194.121.239.125]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected]
From: [email protected] (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 <[email protected]>
>Subject: Re: Problems building DBI-Informix 0.24
>To: [email protected] (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
>[email protected]                 (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 [email protected]
         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: [email protected]
Received: from mail.kabel.de ([194.121.239.2])
         by toccata.fugue.com (8.8.0/8.6.11) with SMTP id FAA15603
         for <[email protected]>; 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: [email protected]
Message-Id: <v01540b06ae84097ffd4c@[194.121.239.125]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected]
From: [email protected] (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 [email protected]
         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: [email protected]
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 <[email protected]>; Fri, 11 Oct 1996 06:30:07 -0700 (PDT)
From: [email protected]
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: <[email protected]>
X-Mailer: exmh version 1.6.7 5/3/96
To: [email protected] (Hanno Mueller)
cc: [email protected]
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


[email protected] (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
[email protected]                | 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 [email protected]
         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: [email protected]
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 <[email protected]>; Fri, 11 Oct 1996 06:28:51 -0700 (PDT)
From: [email protected]
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: <[email protected]>
X-Mailer: exmh version 1.6.7 5/3/96
To: "Willard, Keith" <[email protected]>
cc: dbilist <[email protected]>
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. <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 11 Oct 96 08:28:49 -0500


"Willard, Keith" <[email protected]>  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
[email protected]                | 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Fri, 11 Oct 1996 09:50:14 -0700
From: Li Markakis <[email protected]>
X-Mailer: Mozilla 3.0 (X11; I; IRIX 6.2 IP22)
MIME-Version: 1.0
To: [email protected]
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 [email protected]
         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: [email protected]
Received: from gw1.fbc.com ([198.240.130.66])
         by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA15866
         for <[email protected]>; 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 <[email protected]>; 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: [email protected] (Bhupendra Kumar Patel)
Message-Id: <9610111627.ZM8856@dundee>
X-Mailer: Z-Mail (3.2.1 10apr95)
To: [email protected]
Subject: unsubscribe [email protected]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

unsubscribe [email protected]

--
-----------------------------------------------------------------------
Bhupendra K. Patel                         Email:    [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>;
         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 <[email protected]>; 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: [email protected]
From: Kurt Cearley <[email protected]>
Subject: unsubscribe
Date: Fri, 11 Oct 1996 11:36:33 -0700
X-BeyondMail-Priority: 1
Message-Id: <[email protected]>
Conversation-Id: <[email protected]>
Reply-To: Kurt Cearley <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Fri, 11 Oct 1996 14:59:13 -0500 (CDT)
Message-ID: <[email protected]>
Date: Fri, 11 Oct 1996 14:53:37 -0700
From: Richard Buentello <[email protected]>
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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: <[email protected]>
Date: Fri, 11 Oct 1996 16:17:32 -0400
From: Harvi Sachar <[email protected]>
Organization: JP Morgan
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 [email protected]; Fri, 11 Oct 1996 15:24:30 -0700 (PDT)
From: Simplicist <[email protected]>
Message-Id: <[email protected]>
Subject: DBD-Oracle-0.39 installation: what if Oracle is not local?
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
Message-Id: <v03010500ae8471c6721f@[131.151.253.91]>
In-Reply-To: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 11 Oct 1996 16:53:32 -0500
To: [email protected]
From: Nathan Neulinger <[email protected]>
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: [email protected]                  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 [email protected]
         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: [email protected]
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 <[email protected]>; Fri, 11 Oct 1996 14:52:33 -0700 (PDT)
From: [email protected]
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: <[email protected]>
To: [email protected]
Subject: trouble compiling DBI-0.72
Cc: [email protected]
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
[email protected]                  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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Fri, 11 Oct 1996 15:59:02 -0700
Message-Id: <[email protected]>
X-Sender: [email protected]
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: [email protected]
From: Steve Mueller <[email protected]>
Subject: unsubscribe

unsubscribe [email protected]

---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Fri, 11 Oct 1996 18:12:29 -0400 (EDT)
Message-ID: <[email protected]>
Date: Fri, 11 Oct 1996 18:13:21 -0400
From: "Wayne D. Elias" <[email protected]>
Organization: Windmill Software
X-Mailer: Mozilla 3.0Gold (Win95; I)
MIME-Version: 1.0
To: [email protected]
Subject: [email protected]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

unsubscribe [email protected]@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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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 [email protected] at austin.ibm.com; id AA28579;
         Fri, 11 Oct 1996 19:17:57 -0500
Message-Id: <[email protected]>
To: [email protected]
Subject: unsubscribe
Date: Fri, 11 Oct 1996 19:17:57 -0500
From: Ho <[email protected]>

unsubscribe [email protected]

---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; Fri, 11 Oct 1996 18:27:26 -0700 (PDT)
From: [email protected]
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: <[email protected]>
To: [email protected], [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Sat, 12 Oct 1996 14:11:21 +0900
Message-Id: <[email protected]>
X-Sender: [email protected]
X-Mailer: Windows Eudora Pro Version 3.0b33 (32)
Date: Sat, 12 Oct 1996 14:15:40 +0900
To: [email protected]
From: Chang-hoon Ji <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

unsubscribe [email protected]@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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Sat, 12 Oct 1996 03:33:12 -0400 (EDT)
Message-ID: <[email protected]>
Date: Sat, 12 Oct 1996 03:34:00 -0400
From: "Wayne D. Elias" <[email protected]>
Organization: Windmill Software
X-Mailer: Mozilla 3.0Gold (Win95; I)
MIME-Version: 1.0
To: [email protected]
Subject: Unsubscribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

unsubscribe [email protected]
---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; Sat, 12 Oct 1996 03:09:09 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBI/DBD Static Installation - how?
To: [email protected] (Nathan Neulinger)
Date: Sat, 12 Oct 1996 11:07:28 +0100 (BST)
Cc: [email protected]
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: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; Sat, 12 Oct 1996 06:41:38 -0700 (PDT)
Date: Sat, 12 Oct 1996 06:41:38 -0700 (PDT)
Message-Id: <[email protected]>
Received: from [194.21.100.24] by digibank.it id 7d320.wrk;
         Sat, 12 Oct 1996 15:41:38 GMT
X-Sender: [email protected]
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected]
From: Paolo Malacarne <[email protected]>

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Sat, 12 Oct 1996 10:02:51 -0700
Message-Id: <[email protected]>
X-Sender: [email protected]
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: [email protected]
From: Bowen Dwelle <[email protected]>
Subject: unsubscribe [email protected]

unsubscribe [email protected]
+------------------------------------------------------------------+
| Bowen Dwelle                               [email protected] |
| 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 [email protected]
         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: [email protected]
Received: from goodguy.goodnet.com ([email protected] [207.98.129.1])
         by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id OAA18393
         for <[email protected]>; 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 <[email protected]>; Sat, 12 Oct 1996 14:42:23 -0700 (MST)
Message-Id: <[email protected]>
X-Sender: [email protected]
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: [email protected]
From: jessica <[email protected]>

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 [email protected]
         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: [email protected]
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 <[email protected]>; Sun, 13 Oct 1996 05:53:03 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [192.192.192.246])
         by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id NAA01600
         for <[email protected]>; 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 [email protected]; Sun, 13 Oct 1996 13:50:58 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: To all the lemmings
To: [email protected]
Date: Sun, 13 Oct 1996 13:50:50 +0100 (BST)
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: HOW TO UNSUBSCRIBE
Cc: [email protected], [email protected]
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 [email protected]  Wed Apr 17 07:24:59 1996
Cc: [email protected]
Subject: HOW TO UNSUBSCRIBE
Date: Tue, 16 Apr 1996 11:20:57 -0700
From: Ted Lemon <[email protected]>


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 [email protected], the mailing list name is
dbi-users, the fully qualified domain name is fugue.com, and thus the
-request address is [email protected].   If you wanted to
unsubscribe to, e.g., [email protected], you would send mail to
[email protected].

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected], [email protected]
Subject: RE: Perl / OraPerl (plus some)
Cc: [email protected], [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Charles Bailey <[email protected]>
>
> Rob O'keeffe <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
X-Sender: sjm@flamenco
To: DBI Users List <[email protected]>
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
[email protected]                              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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Array fetch
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected]
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD for oracle
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Harvi Sachar <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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: <[email protected]>
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: [email protected], [email protected]
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 <[email protected]>

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 [email protected]
         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: [email protected]
Received: from idiom.com ([email protected] [140.174.82.4])
         by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id GAA21026
         for <[email protected]>; 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 <[email protected]>;
         Mon, 14 Oct 1996 06:52:42 -0700 (PDT)
Message-Id: <[email protected]>
X-Authentication-Warning: idiom.com: Host localhost [127.0.0.1] didn't use HELO
                         protocol
To: [email protected]
Subject: Anyone using dbi to access db's on IBM mainframes?
Date: Mon, 14 Oct 1996 06:52:42 -0700
From: Jason Venner <[email protected]>


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 [email protected]
         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: [email protected]
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 <[email protected]>; Mon, 14 Oct 1996 07:00:03 -0700 (PDT)
From: [email protected]
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: <[email protected]>
To: [email protected]
Subject: Sending the rest of what I should have
Cc: [email protected]
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
[email protected]                  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)|)' > [email protected] && mv [email protected] $@


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 [email protected]
         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: [email protected]
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 <[email protected]>; Mon, 14 Oct 1996 11:59:56 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: BLOB Support
To: [email protected] (Charles P. Hall)
Date: Mon, 14 Oct 1996 19:58:10 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Charles P. Hall" at Oct 14, 96 11:41:33 am
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
Date: Mon, 14 Oct 1996 11:22:25 -0400
From: "Duc H. Nguyen (AT&T-DBA)" <[email protected]>
Organization: AT&T
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/712)
Mime-Version: 1.0
To: [email protected]
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
[email protected]
---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; Mon, 14 Oct 1996 12:01:37 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Anyone using dbi to access db's on IBM mainframes?
To: [email protected] (Jason Venner)
Date: Mon, 14 Oct 1996 19:59:50 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Jason Venner" at Oct 14, 96 06:52:42 am
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; Mon, 14 Oct 1996 12:00:42 -0700 (PDT)
Received: from chewbacca.hermetica.com ([email protected] [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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBD for Microsoft SQL Server
To: [email protected] (Copp Nelson)
Date: Mon, 14 Oct 1996 19:59:00 +0100 (BST)
Cc: [email protected]
In-Reply-To: <c=US%a=_%p=HNC%[email protected]> from "Copp, Nelson" at Oct 14, 96 07:51:32 am
X-Pants: ** The return address of this email should be: [email protected]
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
[email protected]                                     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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Mon, 14 Oct 1996 11:39:33 -0400 (EDT)
Message-ID: <[email protected]>
Date: Mon, 14 Oct 1996 11:41:33 -0400
From: "Charles P. Hall" <[email protected]>
Organization: Koz Inc.
X-Mailer: Mozilla 3.0Gold (WinNT; I)
MIME-Version: 1.0
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>; Mon, 14 Oct 1996 07:49:44 -0700 (PDT)
Received: by pchnc.hnc.com with Microsoft Exchange (IMC 4.0.838.14)
         id <[email protected]>; Mon, 14 Oct 1996 07:51:35 -0700
Message-ID: <c=US%a=_%p=HNC%[email protected]>
From: "Copp, Nelson" <[email protected]>
To: "'[email protected]'" <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBI problems
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Richard Buentello <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>; 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: <[email protected]>
Date: Mon, 14 Oct 1996 13:07:28 -0400
From: Bob Hackenberg <[email protected]>
Organization: Advanced Technology Laboratories
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: "DBI mailing list." <[email protected]>
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            | [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: trouble compiling DBI-0.72
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected]
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 [email protected]; Mon, 14 Oct 1996 13:58:10 -0700 (PDT)
From: Simplicist <[email protected]>
Message-Id: <[email protected]>
Subject: Installing DBD-Oracle .39
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; 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 <[email protected]>; 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: <[email protected]>
Date: Mon, 14 Oct 1996 17:43:29 -0400
From: Bob Hackenberg <[email protected]>
Organization: Advanced Technology Laboratories
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: Bob Hackenberg <[email protected]>
CC: "DBI mailing list." <[email protected]>
Subject: Re: SQL QUESTION
References: <[email protected]>
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 [email protected]
         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: [email protected]
Received: from koi.synergyltd.com ([email protected] [198.59.115.247])
         by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id QAA23225
         for <[email protected]>; 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: <[email protected]>
Date: Mon, 14 Oct 1996 17:41:30 -0600
From: Drew Einhorn <[email protected]>
Organization: Technology and Training
X-Mailer: Mozilla 3.0b6Gold (X11; I; Linux 2.0.21 i586)
MIME-Version: 1.0
To: Bob Hackenberg <[email protected]>
CC: "DBI mailing list." <[email protected]>
Subject: Re: SQL QUESTION
References: <[email protected]> <[email protected]>
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                 [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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: [email protected]
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD for Microsoft SQL Server
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Alligator Descartes <[email protected]>
>
> > 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
To: Bob Hackenberg <[email protected]>
Cc: "DBI mailing list." <[email protected]>
Subject: Re: SQL QUESTION
In-Reply-To: <[email protected]>
Message-Id: <[email protected]>
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          [email protected]

   ------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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: SQL QUESTION
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Bob Hackenberg <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]>
To: Bob Hackenberg <[email protected]>
cc: "DBI mailing list." <[email protected]>
Subject: Re: SQL QUESTION
In-reply-to: Your message of "Mon, 14 Oct 1996 17:43:29 EDT." <[email protected]>
Date: Mon, 14 Oct 1996 17:58:00 -0700
From: Mark Dedlow <[email protected]>

> From: Bob Hackenberg <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected], [email protected]
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 <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: setbuf
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Tim Bunce <[email protected]>
>
> > From: Sven Verdoolaege <[email protected]>
> >
> > 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: SQL QUESTION
Cc: [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Mark Dedlow <[email protected]>
>
> > From: Bob Hackenberg <[email protected]>
> >
> > 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 [email protected]
         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: [email protected]
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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Announce: DBD-Oracle-0.40 with PL/SQL support
Cc: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
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)" <[email protected]>
>
> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
To: Harvi Sachar <[email protected]>
cc: [email protected]
Subject: Re: DBD for oracle
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
Cc: [email protected], [email protected],
   [email protected]
From: Nick Ing-Simmons <[email protected]>
Organization: via, but not speaking for : Texas Instruments Ltd.
Subject: Re: setbuf
References: <[email protected]>
In-Reply-To: <[email protected]> from Tim Bunce on Tue, 15 Oct 1996 01:00:51 +0000

Tim Bunce <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: setbuf
Cc: [email protected], [email protected],
   [email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Nick Ing-Simmons <[email protected]>
>
> Tim Bunce <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: setbuf
To: [email protected] (Nick Ing-Simmons)
Date: Tue, 15 Oct 1996 14:36:49 -0400 (EDT)
Cc: [email protected], [email protected],
   [email protected], [email protected]
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 <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
Subject: Re: setbuf
To: [email protected]
CC: [email protected], [email protected],
   [email protected], [email protected],
   Nick Ing-Simmons <[email protected]>
References: <[email protected]>
In-Reply-To: <[email protected]> from Ilya Zakharevich on Tue, 15 Oct 1996 19:36:49 +0100

Ilya Zakharevich <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; Tue, 15 Oct 1996 12:22:59 -0700 (PDT)
Received: by gateway1.srs.gov id AA02259 (InterLock SMTP Gateway 3.0
         for [email protected]); Tue, 15 Oct 1996 15:19:22 -0400
Message-Id: <[email protected]>
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 <[email protected]>
Subject: Re: can't login DBD-Oracle-0.39 under AIX 4.1.4
To: Tim Bunce <[email protected]>
Cc: [email protected], [email protected]
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: <[email protected]>

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: <[email protected]> from Tim Bunce on Tue,
           15 Oct 1996 01:00:51 +0000 <[email protected]>
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 <[email protected]>
From: Dominic Dunlop <[email protected]>
Subject: Re: setbuf
Cc: [email protected], [email protected],
   [email protected], [email protected]

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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
Cc: [email protected], [email protected],
   [email protected], [email protected],
   Nick Ing-Simmons <[email protected]>
From: Nick Ing-Simmons <[email protected]>
Organization: via, but not speaking for : Texas Instruments Ltd.
Subject: Re: setbuf
References: <[email protected]> from Tim Bunce on Tue,
           15 Oct 1996 01:00:51 +0000 <[email protected]> <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 <[email protected]> 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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>; Wed, 16 Oct 1996 09:45:36 -0400 (EDT)
Received: by hedgehog.bts.gov with Microsoft Mail
         id <[email protected]>;
         Wed, 16 Oct 1996 10:29:48 -0400
Message-ID: <[email protected]>
From: Matt Neuendorf <[email protected]>
To: "'[email protected]'" <[email protected]>
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
[email protected]

---+++---
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
Received: from farbin.rgbsn.com ([email protected] [192.203.148.10])
         by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA29049
         for <[email protected]>; 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: <[email protected]>
Date: Wed, 16 Oct 1996 09:20:53 -0600
From: Steve Gwynn <[email protected]>
Reply-To: [email protected]
Organization: CSRI
X-Mailer: Mozilla 3.0b6Gold (Win95; I)
MIME-Version: 1.0
To: Bob Hackenberg <[email protected]>
CC: "DBI mailing list." <[email protected]>
Subject: Re: SQL QUESTION
References: <[email protected]> <[email protected]>
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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 [email protected]; Wed, 16 Oct 1996 08:52:32 -0700 (PDT)
From: Simplicist <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Announce: DBD-Oracle-0.40 with PL/SQL support
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; 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: [email protected]
Message-Id: <[email protected]>
To: [email protected]
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 [email protected]
         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: [email protected]
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 <[email protected]>; Wed, 16 Oct 1996 11:30:23 -0700 (PDT)
Received: from jovial.cse.psu.edu ([email protected] [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: <[email protected]>
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 <[email protected]>
cc: [email protected]
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." <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 16 Oct 1996 14:29:28 EDT
From: John D Groenveld <[email protected]>

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 [email protected]
         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: [email protected]
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 <[email protected]>; Wed, 16 Oct 1996 09:45:52 -0700 (PDT)
From: [email protected]
Received: by dna307.dna.mci.com; id AA18774; Wed, 16 Oct 1996 10:45:15 -0600
Message-Id: <[email protected]>
X-Mailer: exmh version 1.6.7 5/3/96
To: [email protected]
Cc: [email protected]
Subject: Bind problem, version 0.39
In-Reply-To: Your message of "Mon, 07 Oct 96 19:57:38 -0000." <[email protected]>
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
[email protected]
---------------------------------------------------
#!/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 [email protected]
         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: [email protected]
Received: from kjahds.com ([email protected] [204.143.69.43])
         by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA29554
         for <[email protected]>; 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 <[email protected]>
To: Nick Ing-Simmons <[email protected]>
cc: [email protected], [email protected], [email protected],
   [email protected], [email protected]
Subject: Re: setbuf
In-Reply-To: <199610161022.LAA12729@pluto>
Message-ID: <[email protected]>
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 ([email protected], 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 [email protected]
         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: [email protected]
Received: from ns.cmgi.com ([email protected] [204.71.28.8])
         by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA29539
         for <[email protected]>; 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 <[email protected]>;
         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 <[email protected]>
To: [email protected]
Subject: OK What gives?!
Reply-To: [email protected]

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";
}