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

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

Wrap the ENV in a BEGIN { } END block.

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

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

>
> TIA,
> Dave


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


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

Common mistakes:

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

:-)

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

Changes in DBI 0.71,    10 July 1996

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

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

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

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

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

Tim.

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


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

Make sure you are using the latest version.

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

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

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

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

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

at /usr/local/lib/perl5/DBI.pm line 32
BEGIN failed--compilation aborted at ./nph-msds_sql_access.pl line 5.

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

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

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

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


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

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

> Jonathan

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


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

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


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

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

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


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

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

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

Any help/flames appreciated.

Jonathan


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

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

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


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

During make, I see:

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

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

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

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

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

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


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

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

fox@jade 46 % perl Makefile.PL

Configuring DBD::Oracle ...

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

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

Checking if your kit is complete...
Looks good

Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories
from
your 'privlib' and 'archlib' directories and their auto subdirectories.

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

fox@jade 57 % perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
 Platform:
   osname=solaris, osver=2.5, archname=sun4-solaris
   uname='sunos jade 5.5 generic_103093-02 sun4m sparc
sunw,sparcstation-5 '
   hint=recommended, useposix=true, d_sigaction=define
 Compiler:
   cc='cc', optimize='-O', gccversion=
   cppflags='-I/scratch/local/include'
   ccflags ='-I/scratch/local/include'
   stdchar='unsigned char', d_stdstdio=define, usevfork=false
   voidflags=15, castflags=0, d_casti32=define, d_castneg=define
   intsize=4, alignbytes=8, usemymalloc=y, randbits=15
 Linker and Libraries:
   ld='cc', ldflags ='-L/scratch/local/lib -R /scratch/local/lib'
   libpth=/scratch/local/lib /lib /usr/lib /usr/ccs/lib
   libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
   libc=/lib/libc.so, so=so
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
   cccdlflags='-Kpic', lddlflags='-G -L/scratch/local/lib -R
/scratch/local/lib'

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

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

I can get everything to compile but during the tests, the dynamic loader
complains that it can't find the object "osnptt". It's called from
$ORACLE_HOME/lib/osntab.o but beyond that, I don't know what it does.

Platform:       Sun SparcCenter 1000
OS:             Solaris 2.4
Oracle Version: 7.3.2.1 (This is production as far as I know.)
Perl Version:   5.003
GCC Version:    2.5.8   (The DBI and DBD builds both complain that gcc is
really
                        old but I haven't been able to find a newer one.)
DBI Version:    0.71
DBD Version:    0.36

Typescript from the DBD build follows .sig.

Anyone have any ideas?


Thanx,

Calvin.

Disclaimer: My inability to figure out the Oracle code is in no way a
           reflection on Oracle as a whole. I'm just a sysadmin and barely
           know my way around "select * from ..." :]


___________________________________________________________________________

.  .               Calvin Goodrich       "Kill 'em all.
|\/|assively       Systems Manager, MPP   Let /etc/init sort 'em out."
| _|_              Oracle, Inc.            - Me
  |__)arallel      Phone: 415/506-9680
  | ___            Fax:   415/506-7409
    |__)roducts    Pager: 800/SKYPAGE PIN#4954355 or
    |                     [email protected] (<240 chars)
                   Email: [email protected]
___________________________________________________________________________
   For MPP Technical and Marketing questions email [email protected]


----%<---- DBD build output -----%<-----
Script started on Wed Jul 10 17:22:56 1996
mpserv1% ksh
cgoodric@mpserv1[936] perl Makefile.PL

Configuring DBD::Oracle ...

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

Using Oracle in /usr/oracle
Using /usr/oracle/proc/lib/proc.mk (version 1.17)
WARNING: Your GNU C compiler is very old. Please upgrade.
System: perl5.003 sunos mpserv1 5.4 generic_101945-27 sun4d sparc
Compiler: gcc -O
Linker:   /usr/ccs/bin/ld
Oracle proc.mk would have used these values but we override them:
 CC:       ld -dy $(COMPOBJS) $(LDSTRING)
 LDFLAGS:  -L$(LIBHOME)
 LDSTRING: -Y P,$(LD_LIBRARY_PATH):/usr/ccs/lib:/usr/lib -Qy -lc
$(COMPOBJ)/crtn.o
Linking with /usr/oracle/lib/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora
-lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl

Checking if your kit is complete...
Looks good

Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.

Writing Makefile for DBD::Oracle
cgoodric@mpserv1[937] make
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5
/usr/local/lib/perl5/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc
Oracle.c
gcc -c -I/usr/oracle/rdbms/demo
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI
-I/usr/local/lib/perl5/sun4-solaris/5.003/DBI  -O     -DVERSION=\"0.36\"
-DXS_VERSION=\"0.36\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE
-Wall -pedantic -Wno-comment -Wtraditional Oracle.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/param.h:37,
                from /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h:125,
                from
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                from Oracle.h:14,
                from Oracle.c:19:
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/types.h:47:
warning: ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/types.h:48:
warning: ANSI C does not support `long long'
In file included from /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h:131,
                from
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                from Oracle.h:14,
                from Oracle.c:19:
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:29: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:30: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:141: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:142: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:142: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:143: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:143: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:144: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:145: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:146: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:147: warning:
ANSI C does not support `long long'
Oracle.c: In function `XS_DBD__Oracle__db_disconnect':
Oracle.c:144: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_execute':
Oracle.c:256: warning: ANSI C forbids braced-groups within expressions
Oracle.c:265: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_fetchrow':
Oracle.c:305: warning: ANSI C forbids braced-groups within expressions
Oracle.c:311: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `XS_DBD__Oracle__st_finish':
Oracle.c:400: warning: ANSI C forbids braced-groups within expressions
Oracle.c:404: warning: ANSI C forbids braced-groups within expressions
Oracle.c: In function `boot_DBD__Oracle':
Oracle.c:444: warning: ANSI C forbids braced-groups within expressions
gcc -c -I/usr/oracle/rdbms/demo
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI
-I/usr/local/lib/perl5/sun4-solaris/5.003/DBI  -O     -DVERSION=\"0.36\"
-DXS_VERSION=\"0.36\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.003/CORE
-Wall -pedantic -Wno-comment -Wtraditional dbdimp.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/param.h:37,
                from /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h:125,
                from
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                from Oracle.h:14,
                from dbdimp.c:11:
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/types.h:47:
warning: ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/sys/types.h:48:
warning: ANSI C does not support `long long'
In file included from /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h:131,
                from
/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h:13,
                from Oracle.h:14,
                from dbdimp.c:11:
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:29: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:30: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:141: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:142: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:142: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:143: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:143: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:144: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:145: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:146: warning:
ANSI C does not support `long long'
/usr/local/lib/gcc-lib/sparc-sun-solaris/2.5.8/include/stdlib.h:147: warning:
ANSI C does not support `long long'
dbdimp.c: In function `dbd_st_blob_read':
dbdimp.c:756: warning: ANSI C forbids braced-groups within expressions
dbdimp.c: At top level:
dbdimp.c:126: warning: `dump_error_status' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/usr/oracle/lib:/lib" gcc -o blib/arch/auto/DBD/Oracle/Oracle.so
-G -L/usr/local/lib Oracle.o  dbdimp.o /usr/oracle/lib/osntab.o
/usr/oracle/lib/__fstd.o   -L/usr/oracle/lib -locic -lsqlnet -lora -lsqlnet
-lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lsocket -lnsl -lm -ldl
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs ./blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
Manifying ./blib/man3/DBD::Oraperl.3
cgoodric@mpserv1[938] make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib
-I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load
'./blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1:
/bin/perl: fatal: relocation error: symbol not found: osnptt: referenced in
/blib/arch/auto/DBD/Oracle/Oracle.so at /usr/local/lib/perl5/DynaLoader.pm
line 140.

at blib/lib/DBD/Oracle.pm line 24
       DBI::install_driver called at t/base.t line 16
1..5
ok 1
ok 2
ok 3
FAILED tests 4-5
       Failed 2/5 tests, 60.00% okay
       Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'
cgoodric@mpserv1[939] exit
mpserv1% exit
mpserv1%
script done on Wed Jul 10 17:24:08 1996

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


> From: [email protected] (Andrea Di Fabio)
>
> unsubscribe
>

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

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 <13521-6@oink>;
         Thu, 11 Jul 1996 03:28:02 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 837050606:08647:3; Thu, 11 Jul 96 03:03:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa08321; 11 Jul 96 3:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id SAA11520 for dbi-users-real; Wed, 10 Jul 1996 18:56:34 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA11516
         for <[email protected]>; Wed, 10 Jul 1996 18:56:32 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id CAA29448; Thu, 11 Jul 1996 02:47:13 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Having problems getting DBD to work
To: [email protected] (CGOODRIC)
Date: Thu, 11 Jul 1996 02:47:13 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "CGOODRIC" at Jul 10, 96 05:45:01 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
Content-Length: 1205


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

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

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

> Calvin.

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


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

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

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

It says it's a warning.

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

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

Is LD_RUN_PATH getting set correctly on the ld command line?

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


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

Sorry. Not my intention I can assure you.

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

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

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

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

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

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

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

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

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

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

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

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

From the Solaris 2.5 AnswerBook for C:

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

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

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

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

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

 OraFetch (...);

is a wrapper for:

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

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

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

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

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

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

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

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

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

Any suggestions?


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

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

Thank you!

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

>>>>> "BKO" == B K Oxley (binkley) <[email protected]> writes:

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

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

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

Not entirely clueful,
--binkley


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

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

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

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

> Environment:  SVR4, [email protected]
>
> Error: can't load ./blib/arch/auto/DBD/Oracle/Oracle.so for module DBD::Oracle:
> DynamicLinker:/usr/local/bin/perl:relocation error:symbol not found:setitimer
> Fix: Try adding the '-lc' to $ORACLE_HOME/rdbms/lib/sysliblist (just
> make sure it's not on a new line).

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

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

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

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

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

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

Configuring DBD::Oracle ...

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

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

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

Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.
UX:find: ERROR: /usr/local/lib/perl5/i386-svr4/5.003 No such file or directory

Writing Makefile for DBD::Oracle


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

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


[All the paths are correct.]

bash$ perl -v

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

Copyright 1987-1996, Larry Wall

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

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

te_perl .

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


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

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

> Thanks much,
> --binkley

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


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

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

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

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

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

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

( $saddr ) = $cursor1->fetchrow;

$cursor1->finish;
undef $cursor1;

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

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

   $cursor->execute;

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

   $cursor->finish;
   undef $cursor;
 }


$dbh->disconnect;

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

> --binkley
>


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


The rest of the information :

# perl Makefile.PL

Configuring DBD::Oracle ...

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

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


Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.

Writing Makefile for DBD::Oracle

# make

umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
cc -c -I/usr/oracle/rdbms/demo
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI
-I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -I/usr/local/include -O
-DVERSION=\"0.35\" -DXS_VERSION=\"0.35\" -Kpic
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE  Oracle.c
"Oracle.c", line 144: warning: end-of-loop code not reached
"Oracle.c", line 256: warning: end-of-loop code not reached
"Oracle.c", line 265: warning: end-of-loop code not reached
"Oracle.c", line 305: warning: end-of-loop code not reached
"Oracle.c", line 400: warning: end-of-loop code not reached
"Oracle.c", line 404: warning: end-of-loop code not reached
cc -c -I/usr/oracle/rdbms/demo
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI
-I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -I/usr/local/include -O
-DVERSION=\"0.35\" -DXS_VERSION=\"0.35\" -Kpic
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/usr/oracle/lib:/lib" cc -o
blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o
dbdimp.o /usr/oracle/lib/osntab.o   -L/usr/oracle/lib -locic -lsqlnet
-lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm
ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to
process using elf(3E) libraries
ld: fatal: file /usr/oracle/lib/libocic.a: unknown type, unable to
process using elf(3E) libraries
ld: fatal: library -locic: not found

# perl -V

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

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

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

Perl   : v5.002

On Wed, 10 Jul 1996, Tim Bunce wrote:

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


> From: Filipe Custodio <[email protected]>
>
> What's the relationship between iODBC and DBI?

Currently none (regretfully).

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

Currently not (regretfully).

There are plans. There is little time.

Sigh.

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

But don't hold your breath.

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

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

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

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

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

Thanks in advance for any help you might give

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

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

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


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

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

Hi folks,

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

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


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

>>>>> "TB" == Tim Bunce <[email protected]> writes:

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

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

TB> undef $server->PrivateOraCursor;

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

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

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


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


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

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

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

       undef $server->PrivateOraCursor;

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

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

>>>>> "AD" == Alligator Descartes <[email protected]> writes:

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

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

--binkley

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


> From: Jonathan Olson <[email protected]>
>
> Linker:   <ld not found>

Very suspicious.

Find out what linker cc is using!

If it's a GNU ld _delete it_!

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

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

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

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20635-8@oink>;
         Fri, 12 Jul 1996 07:36:38 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 837120877:26109:3; Thu, 11 Jul 96 22:34:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa25925; 11 Jul 96 22:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id OAA13302 for dbi-users-real; Thu, 11 Jul 1996 14:21:35 -0700
Precedence: junk
Sender: [email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA13298
         for <[email protected]>; Thu, 11 Jul 1996 14:21:33 -0700
Received: from jovial.cse.psu.edu (jovial.cse.psu.edu [130.203.10.24])
         by cse.psu.edu (8.7.5/8.7.3) with ESMTP id RAA23885
         for <[email protected]>; Thu, 11 Jul 1996 17:22:17 -0400 (EDT)
Received: from localhost (groenvel@localhost)
         by jovial.cse.psu.edu (8.7.5/8.7.3) with SMTP id RAA19114
         for <[email protected]>; Thu, 11 Jul 1996 17:20:45 -0400 (EDT)
Message-Id: <[email protected]>
X-Authentication-Warning: jovial.cse.psu.edu: groenvel owned process doing -bs
X-Mailer: exmh version 1.6.5 12/11/95
X-uri: <URL:http://www.cse.psu.edu/~groenvel/>
X-work-address: Manufacturing Technology - Systems Development Group PO Box 30
               The Applied Research Lab State College, PA 16804
X-work-phone: +1 814 863 9896 (Voice) +1 814 863 1183 (Fax)
To: [email protected]
Subject: Oracle Workgroup Server for Solaris x86
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 11 Jul 1996 17:20:44 -0400
From: John D Groenveld <[email protected]>

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

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

unsubsribe

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


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

-R is Solaris specific. LD_RUN_PATH is SVR4 generic.

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

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

It's a MakeMaker bug. Try this patch:

*** Liblist.pm.prev     Thu Jul 11 15:42:43 1996
--- Liblist.pm  Thu Jul 11 15:48:14 1996
***************
*** 38,41 ****
--- 38,44 ----
     my($found) = 0;

+     # Must remove optional space after -L and -R linker options
+     $potential_libs =~ s/(-[LR])\s+/$1/g;
+
     foreach $thislib (split ' ', $potential_libs){

***************
*** 43,47 ****
       if ($thislib =~ s/^(-[LR])//){  # save path flag type
           my($ptype) = $1;
!           unless (-d $thislib){
               print STDOUT "$ptype$thislib ignored, directory does not exist\n"
                       if $Verbose;
--- 46,50 ----
       if ($thislib =~ s/^(-[LR])//){  # save path flag type
           my($ptype) = $1;
!           unless ($thislib && -d $thislib){
               print STDOUT "$ptype$thislib ignored, directory does not exist\n"
                       if $Verbose;

CC'd to the makemaker mailing list.


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


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

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

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

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

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

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

You could try

       perl Makefile.PL -s osnptt

and send me anything 'interesting' it says.

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

Tim.

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

>>>>> "BKO" == B K Oxley (binkley) <[email protected]> writes:

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

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

Thank you, Mr. Bunce!!!

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

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

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

On to my next challenge...

Gratefully yours,
--binkley

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

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

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


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

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

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

The README file says:

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

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

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


[snip]

> Thank you, Mr. Bunce!!!

[snip]

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

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

> --binkley

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


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

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

Sequence of commands:
make realclean
perl Makefile.PL
make

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

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


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

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

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



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

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

Has anyone found a solution to this?

Steve

---------- Forwarded message ----------
Date: Thu, 11 Jul 1996 16:43:27 -0700
From: Steve Abatangle <[email protected]>
To: [email protected]
Subject: output2


Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.


Configuring DBD::Oracle ...

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

Using Oracle in /oracle
Using /oracle/proc/lib/proc.mk (version 1.9)
System: perl5.003 sunos oeo 5.5.1 generic sun4m sparc sunw,sparcstation-20
Compiler: cc -O3 -I/opt/gnu/include
Linker:   /usr/ccs/bin/ld
Oracle proc.mk would have used these values but we override them:
 CC:       ld -dy $(COMPOBJS) $(LDSTRING)
 LDFLAGS:  -L$(LIBHOME)
 LDSTRING: -R /opt/SUNWcluster/lib -Y P,$(LD_LIBRARY_PATH):/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib -Qy -lc $(COMPOBJ)/crtn.o
Linking with $(LIBHOME)/osntab.o -locic  -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lm -ldl -laio

Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Oracle
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
/bin/perl -I/export/home/perl/lib/perl5/sun4-solaris/5.003 -I/export/home/perl/lib/perl5 /export/home/perl/lib/perl5/ExtUtils/xsubpp  -typemap /export/home/perl/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
cc -c -I/oracle/rdbms/demo -I/export/home/perl/lib/perl5/site_perl/sun4-solaris/DBI -I/export/home/perl/lib/perl5/sun4-solaris/5.003/DBI -I/opt/gnu/include -O3     -DVERSION=\"0.35\"  -DXS_VERSION=\"0.35\" -fpic -I/export/home/perl/lib/perl5/sun4-solaris/5.003/CORE  Oracle.c
cc -c -I/oracle/rdbms/demo -I/export/home/perl/lib/perl5/site_perl/sun4-solaris/DBI -I/export/home/perl/lib/perl5/sun4-solaris/5.003/DBI -I/opt/gnu/include -O3     -DVERSION=\"0.35\"  -DXS_VERSION=\"0.35\" -fpic -I/export/home/perl/lib/perl5/sun4-solaris/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/oracle/lib:/lib" cc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib -L/opt/gnu/lib Oracle.o  dbdimp.o /oracle/lib/osntab.o /oracle/lib/__fstd.o   -L/oracle/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lm -ldl -laio
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs ./blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
Manifying ./blib/man3/DBD::Oraperl.3


make test

PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/export/home/perl/lib/perl5/sun4-solaris/5.003 -I/export/home/perl/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /bin/perl: fatal: relocation error: symbol not found: osnptt: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /export/home/perl/lib/perl5/DynaLoader.pm line 140.

at blib/lib/DBD/Oracle.pm line 24
       DBI::install_driver called at t/base.t line 16
FAILED tests 4-5
       Failed 2/5 tests, 60.00% okay
       Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'


make test TEST_VERBOSE=1


PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/export/home/perl/lib/perl5/sun4-solaris/5.003 -I/export/home/perl/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /bin/perl: fatal: relocation error: symbol not found: osnptt: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /export/home/perl/lib/perl5/DynaLoader.pm line 140.

at blib/lib/DBD/Oracle.pm line 24
       DBI::install_driver called at t/base.t line 16
1..5
ok 1
ok 2
ok 3
FAILED tests 4-5
       Failed 2/5 tests, 60.00% okay
       Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_dynamic'



Perl 5.003
Oracle 7.3.2
Solaris 2.5.1


Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
 Platform:
   osname=solaris, osver=2.5, archname=sun4-solaris
   uname='sunos oeo 5.5.1 generic sun4m sparc sunw,sparcstation-20 '
   hint=previous, useposix=true, d_sigaction=define
 Compiler:
   cc='cc', optimize='-O3', gccversion=2.7.2
   cppflags='-I/opt/gnu/include'
   ccflags ='-I/opt/gnu/include'
   stdchar='unsigned char', d_stdstdio=define, usevfork=false
   voidflags=15, castflags=0, d_casti32=define, d_castneg=define
   intsize=4, alignbytes=8, usemymalloc=y, randbits=15
 Linker and Libraries:
   ld='cc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
   libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
   libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
   libc=/lib/libc.so, so=so
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
   cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

@INC: /export/home/perl/lib/perl5/sun4-solaris/5.003 /export/home/perl/lib/perl5 /export/home/perl/lib/perl5/site_perl/sun4-solaris /export/home/perl/lib/perl5/site_perl .

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

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

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

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


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

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

Long lines are a pain.

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

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

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

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

Tim.


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

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

That's great!

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

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

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

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


> From: Ashish Gupta <[email protected]>
>
> I have installed perl 5.003 using gcc 2.7.2 as the compiler.

I don't think so.

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

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

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

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

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


Greetings! folks.

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

 > perl Makefile.PL

 Configuring DBD::Oracle ...

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

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


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

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

And I reexecuted.

Configuring DBD::Oracle ...

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

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

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

Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.

Writing Makefile for DBD::Oracle

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

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

at blib/lib/DBD/Oracle.pm line 24
       DBI::install_driver called at t/base.t line 16
FAILED tests 4-5
       Failed 2/5 tests, 60.00% okay
       Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2 (bu21)
make: fatal error.


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

Thank you in advance.

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


Forwarded to dbi-users.

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

From [email protected]  Fri Jul 12 07:38:49 1996
Date: Thu, 11 Jul 1996 17:06:29 -0400
From: "Ephrayim J. Naiman" <[email protected]>
To: [email protected]
Subject: Re: oraperl information

Hi there (again),

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

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

Have you heard anything like this?

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


Ephrayim "EJ" Naiman

Compuware                               WORK  : 410-234-1334
300 East Lombard Street                 FAX   : 410-234-1337
Suite 1400                              HOME  : 410-358-0907
Baltimore, MD 21202                     EMAIL : [email protected]


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

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


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

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

Now, try this:

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

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

A.

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

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


On Sat, 13 Jul 1996, Alligator Descartes wrote:

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

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

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

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

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

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

Phil.

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

+--------------------------------------+
| Philippe Vanhaesendonck              |
| Senior Technical Support Specialist+-------------------------------------+
| Oracle Belgium - Vuurberg 80       | Internet     [email protected] |
| B-1831 Diegem   (Belgium)          | Compuserve   75611,1504             |
+------------------------------------| Voice        +32-2-719.59.59        |
                                    | Fax          +32-2-719.13.14        |
                                    +-------------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08620-1@oink>;
         Mon, 15 Jul 1996 11:43:41 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 837424987:00232:2; Mon, 15 Jul 96 11:03:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa29466; 15 Jul 96 11:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id CAA18328 for dbi-users-real; Mon, 15 Jul 1996 02:47:44 -0700
Precedence: junk
Sender: [email protected]
Received: from truffaut.webservices.net (truffaut.webservices.net [194.72.236.3])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id CAA18324
         for <[email protected]>; Mon, 15 Jul 1996 02:47:42 -0700
Received: from benm.webdev.co.uk (benm.webdev.co.uk [194.72.236.198])
         by truffaut.webservices.net (8.7.4/8.7.3) with SMTP id JAA15479
         for <[email protected]>; Mon, 15 Jul 1996 09:47:53 GMT
Message-ID: <[email protected]>
Date: Mon, 15 Jul 1996 10:49:47 +0100
From: Ben Middleton <[email protected]>
Organization: Webdevelopment Ltd.
X-Mailer: Mozilla 3.0b5aGold (X11; I; Linux 2.0.0 i586)
MIME-Version: 1.0
To: [email protected]
Subject: Oraperl LONG insert question...
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Just a quick and simple question...

What is wrong with the following:

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

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

Ben M

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

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

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

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

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

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

Ciao,

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

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

Bart Schuller wrote:

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

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

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

How about this... first a picture. I hope this formats properly.
--------------------------------------------

           .-------------------.
           | Perl script using |
           |     DBperl API    |
           `-------------------'
                     |
                     |
                    API
                     |
                     |
              .--------------.
              |    Switch    |
              `--------------'
               |            |
               |            |
         .----------.  .---------.
         | ODBC DBD |  | XYZ DBD |
         `----------'  `---------'
               |            |
               |            |
      .----------------. .----------.
      | ODBC Extension | | XYZ DATA |
      |   interface    | |  SOURCE  |
      `----------------' `----------'
               |
               |
   .---------------------.
   | ODBC Driver Manager |
   `---------------------'
   |         |          |
   |         |          |
--------. .--------. .--------.
| Driver | | Driver | | Driver |
`--------' `--------' `--------'
   |         |          |
   |         |          |
--------. .--------. .--------.
|  DATA  | |  DATA  | |  DATA  |
| SOURCE | | SOURCE | | SOURCE |
`--------' `--------' `--------'

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

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

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


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



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

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


> To: [email protected]

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

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

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

Call it a mis-feature!

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

Help!!!

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

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

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

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

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

Thanks in advance.

Josh Oh
[email protected]

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


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

You need DBD::Oracle.

> Pratik Ray

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


I am a new user of DBD::Oracle.

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

I get following error:

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

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

Thanks in advance.

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


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

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

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

> Josh Oh

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


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

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

Configuring DBD::Oracle ...

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

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

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

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

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

Make Quitting.
...

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

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


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04908-7@oink>;
         Thu, 18 Jul 1996 16:02:25 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 837700129:04704:1; Thu, 18 Jul 96 15:28:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa04037; 18 Jul 96 15:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id HAA26647 for dbi-users-real; Thu, 18 Jul 1996 07:20:24 -0700
Precedence: junk
Sender: [email protected]
Received: from lassie.eunet.fi (lassie.eunet.fi [192.26.119.7])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA26643
         for <[email protected]>; Thu, 18 Jul 1996 07:20:21 -0700
Received: from sysdeco.fi (sunsol.sysdeco.fi) by lassie.eunet.fi with SMTP
         id AA03300 (5.67a/IDA-1.5 for <[email protected]>);
         Thu, 18 Jul 1996 17:20:13 +0300
Received: from matti (matti.sysdeco.fi) by sysdeco.fi (5.0/SMI-SVR4) id AA00712;
         Thu, 18 Jul 1996 17:19:14 +0300
Message-Id: <[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: Thu, 18 Jul 1996 17:20:38 +0300
To: [email protected]
From: Matti Keravuo <[email protected]>
Subject: Problems with Oraperl on DBD-Oracle 0.36
Content-Length: 868

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

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

from which I get after a while

       Warning: ORA-03113: end-of-file on communication channel (DBD: oflng
error)

just before I get an

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

Any ideas why this might be happening?

The Oracle version is  7.1.6.2.0 on Solaris 2.4 with Perl 5.003

       Matti Keravuo


       * [email protected]      * Sysdeco Finland Oy    *
       * Ahjotie 1 E, 90150 Oulu       * tel.+358-81-5377654   *
       * FINLAND                       * fax.+358-81-5377650   *

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

> make test
>
> PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/export/home/perl/lib/perl5/sun4-solaris/5.003 -I/export/home/perl/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: ld.so.1: /bin/perl: fatal: relocation error: symbol not found: osnptt: referenced in ./blib/arch/auto/DBD/Oracle/Oracle.so at /export/home/perl/lib/perl5/DynaLoader.pm line 140.
>
>  at blib/lib/DBD/Oracle.pm line 24
>       DBI::install_driver called at t/base.t line 16
>
> Oracle 7.3.2
> Solaris 2.5.1

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

Is there anything else I can look at?

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

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

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

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

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

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

Ciao,

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


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

Thanks for any suggestions,
Mike Linksvayer [email protected]

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

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

redcomet:/export/home/oracle/DBD-Oracle-0.36# perl Makefile.PL

Configuring DBD::Oracle ...

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

Using Oracle in /export/home/oracle
Using /export/home/oracle/precomp/demo/proc/proc.mk /export/home/oracle/precomp/env_precomp.mk
System: perl5.003 sunos redcomet 5.4 generic_101945-39 sun4m sparc
Compiler: gcc -O -I/usr/local/include
Linker:   /usr/ccs/bin/ld
Oracle proc.mk would have used these values but we override them:
 CC:       cc
 CFLAGS:   $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)
 LDFLAGS:  -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib
Linking with  -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl -laio -lposix4 -lm -lthread

Checking if your kit is complete...
Looks good
Warning (will try anyway): No library found for -lncr
Warning (will try anyway): No library found for -lclient
Warning (will try anyway): No library found for -lcommon
Warning (will try anyway): No library found for -lgeneric
Warning (will try anyway): No library found for -lncr
Warning (will try anyway): No library found for -lclient
Warning (will try anyway): No library found for -lcommon
Warning (will try anyway): No library found for -lgeneric
Warning (will try anyway): No library found for -lepc

Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.

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

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

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

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

>Tim.

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


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

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

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

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

Processing hints file hints/svr4.pl

Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.

Writing Makefile for DBD::Oracle

 > make
 Oracle.c
 dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
       chmod 644 Oracle.bs
lcore3 -lnlsrtl3 -lcore3 -lsocket -lnsl -lelf -lm
       chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.so
       cp Oracle.bs ./blib/arch/auto/DBD/Oracle/Oracle.bs
       chmod 644 ./blib/arch/auto/DBD/Oracle/Oracle.bs
Manifying ./blib/man3/DBD::Oraperl.3


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

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

at blib/lib/DBD/Oracle.pm line 24
       DBI::install_driver called at t/base.t line 16
FAILED tests 4-5
       Failed 2/5 tests, 60.00% okay
       Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2 (bu21)
make: fatal error.



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

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

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

What should I do?

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

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


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

Copyright 1987-1996, Larry Wall

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


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

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


Where do I look to try to fix this?

Tim

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

>>>>> [email protected] (Tim 'The Unslept' Sailer) writes:

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

 > Where do I look to try to fix this?

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

andreas

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


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

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

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

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

Tim

--
                      [email protected]
         Nihil illegitemi carborvndvm.
 --anon
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25321-5@oink>;
         Mon, 22 Jul 1996 14:11:30 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838032195:01647:2; Mon, 22 Jul 96 11:43:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa01467; 22 Jul 96 11:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id DAA04006 for dbi-users-real; Mon, 22 Jul 1996 03:30:57 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA04002
         for <[email protected]>; Mon, 22 Jul 1996 03:30:55 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id LAA15688; Mon, 22 Jul 1996 11:22:40 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBD-mSQL0.60pl10
To: [email protected]
Date: Mon, 22 Jul 1996 11:22:39 +0100 (BST)
Cc: [email protected], [email protected]
In-Reply-To: <[email protected]> from "Andreas Koenig" at Jul 22, 96 07:43:06 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
Content-Length: 630


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

It's also in the FAQ! 8-)

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

> andreas

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26165-1@oink>;
         Mon, 22 Jul 1996 17:06:10 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838042668:14365:2; Mon, 22 Jul 96 14:37:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa13724; 22 Jul 96 14:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id GAA04252 for dbi-users-real; Mon, 22 Jul 1996 06:31:33 -0700
Precedence: junk
Sender: [email protected]
Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA04248
         for <[email protected]>; Mon, 22 Jul 1996 06:31:28 -0700
Received: from [152.62.242.119] by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02)
         id AA21831; Mon, 22 Jul 1996 09:30:51 -0400
Received: from chrysalis by fdce13.europe.dg.com (5.4R3.10/dg-gens08)
         id AA08468; Mon, 22 Jul 1996 14:30:49 +0100
Received: by chrysalis.europe.dg.com with Microsoft Exchange (IMC 4.0.837.3)
         id <[email protected]>;
         Mon, 22 Jul 1996 14:27:59 -0000
Message-Id: <c=GB%a=_%p=Data_General_UK_%[email protected]>
From: Stuart Harris <[email protected]>
To: 'DBI users' <[email protected]>
Cc: 'Tim Bunce' <[email protected]>
Subject: compiling oracle-DBD-0.36
Date: Mon, 22 Jul 1996 14:27:57 -0000
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

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

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

Stop.

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

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

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


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

So don't.

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

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

You have the choice.

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

Tim Bunce wrote:
> You have the choice.

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

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


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

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

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


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

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

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


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

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

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

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

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

Hi,

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

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

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

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

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

Any insight would be very much appreciated...

Josh Oh
[email protected]

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

Hi,

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



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28440-25@oink>;
         Tue, 23 Jul 1996 02:20:35 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838064506:05696:4; Mon, 22 Jul 96 20:41:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa05522; 22 Jul 96 20:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id MAA05426 for dbi-users-real; Mon, 22 Jul 1996 12:35:58 -0700
Precedence: junk
Sender: [email protected]
Received: from grumpy.nsg.nwu.edu (grumpy.nsg.nwu.edu [129.105.26.24])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA05422
         for <[email protected]>; Mon, 22 Jul 1996 12:35:56 -0700
Received: from aquarius (aquarius.acns.nwu.edu [129.105.110.169])
         by grumpy.nsg.nwu.edu (8.7.5/8.7.3/25.0) with SMTP id OAA02712
         for <[email protected]>; Mon, 22 Jul 1996 14:38:26 -0500 (CDT)
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: Mon, 22 Jul 1996 14:35:43 -0500
To: [email protected]
From: Phil Tracy <[email protected]>
Subject: building perl5.003...

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

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

       - Phil

--
Phillip Tracy  <[email protected]>
Northwestern University ACNS, Evanston, IL  USA
http://grumpy.nsg.nwu.edu/tracy/philtracy.html

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

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

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


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

No.

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


> From: [email protected]
>
> unsubscribe!!!!!!!!!!!!!!1

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


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

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

Hi,

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


#!/usr/bin/perl -wxs

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

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

$select->execute;

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

$db->disconnect;

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

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

Thanks in advance,

Chris.

--
Christian LEMER <[email protected]>     Tel        : +32 10 65.44.11
UsrConsult S.P.R.L                        Tel direct : +32 10 65.44.17
37, Rue Margot   B-1457 Nil St Vincent    Fax        : +32 10 65.44.10
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04651-1@oink>;
         Tue, 23 Jul 1996 17:08:34 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838128226:23713:4; Tue, 23 Jul 96 14:23:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa23460; 23 Jul 96 14:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id GAA07020 for dbi-users-real; Tue, 23 Jul 1996 06:16:47 -0700
Precedence: junk
Sender: [email protected]
Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA07016
         for <[email protected]>; Tue, 23 Jul 1996 06:16:45 -0700
Received: from [152.62.242.119] by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02)
         id AA03761; Tue, 23 Jul 1996 09:16:09 -0400
Received: from chrysalis by fdce13.europe.dg.com (5.4R3.10/dg-gens08)
         id AA02640; Tue, 23 Jul 1996 14:16:06 +0100
Received: by chrysalis.europe.dg.com with Microsoft Exchange (IMC 4.0.837.3)
         id <[email protected]>;
         Tue, 23 Jul 1996 14:13:16 -0000
Message-Id: <c=GB%a=_%p=Data_General_UK_%[email protected]>
From: Stuart Harris <[email protected]>
To: "'[email protected]'" <[email protected]>,
   'Tim Bunce' <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: RE: compiling oracle-DBD-0.36
Date: Tue, 23 Jul 1996 14:13:07 -0000
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

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

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

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

[sample code and comments deleted...]

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

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

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

Cheers,

Nikos.

--
Nikos Drakos
MatriX Publishing Network         [email protected]
32/34 Broadwick Street            Tel: +44-171 316 9291
London                            Fax: +44-171 437 9951
W1A 2HG                           http://www.mpn.net/

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


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

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

Include all the details the README asks for _without_ editing.

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


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

Thanks for the information.

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

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

 if ($::opt_s) {
       warn "Searching for symbol '$::opt_s' in $libhome ...\n";

Let me know if it works.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08061-31@oink>;
         Wed, 24 Jul 1996 07:40:37 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838158228:17106:0; Tue, 23 Jul 96 22:43:48 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa16700; 23 Jul 96 22:43 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa12618; 23 Jul 96 22:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id OAA08177 for dbi-users-real; Tue, 23 Jul 1996 14:35:56 -0700
Precedence: junk
Sender: [email protected]
Received: from king.silcom.com ([email protected] [207.71.206.17])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA08173
         for <[email protected]>; Tue, 23 Jul 1996 14:35:48 -0700
Received: (from clarence@localhost) by king.silcom.com (8.6.12/8.6.9)
         id OAA01116; Tue, 23 Jul 1996 14:27:19 -0700
From: Clarence Gardner <[email protected]>
Message-Id: <[email protected]>
Subject: Problem with Informix.so
To: [email protected]
Date: Tue, 23 Jul 1996 14:27:17 -0700 (PDT)
Cc: [email protected]
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 772


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

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

TIA for any assistance.

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

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

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

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

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

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

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


       ...David

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


On Tue, 23 Jul 1996, Tim Bunce wrote:

>
> > From: "Inconnu (Craig)" <[email protected]>

<snip about linking Oraperl on AIX>

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

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


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

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

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

Thanks in advance.

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

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


*** 1.46        1996/07/10 02:27:52
--- Makefile.PL 1996/07/24 11:30:15
***************
*** 233,239 ****

     # Don't include the following definitions in the generated
     # makefile (note that %MK stills gets these values).
!     my @edit = qw(SHELL CC CFLAGS ASFLAGS RCC LDFLAGS AR ECHO EXE OBJS);
     my %edit; @edit{@edit} = ('$_ = ""') x @edit;

     $edit{COMPOBJS} = q{
--- 235,241 ----

     # Don't include the following definitions in the generated
     # makefile (note that %MK stills gets these values).
!     my @edit = qw(SHELL CC CFLAGS CCFLAGS OPTIMIZE ASFLAGS RCC LD LDFLAGS AR ECHO EXE OBJS);
     my %edit; @edit{@edit} = ('$_ = ""') x @edit;

     $edit{COMPOBJS} = q{

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

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

Thanks.

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


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

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

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

Directions? Onwards and upwards :-)

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

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

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

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

#!/usr/bin/perl -w
test_value(-1.43);
test_value(-0.43);

sub test_value {
my($val) = shift;
$test1 = ($val < 0.0) ? 'GOOD' : 'EVIL';
$test2 = ($val < 0)   ? 'GOOD' : 'EVIL';
print "VAL=$val  TEST1=$test1  TEST2=$test2\n";
}

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

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

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

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

Hello...

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

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

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

What are all these dots?


Thank you...

Corinne Koder
[email protected]

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

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

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

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



--
Regards,

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



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

-----

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

-----

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

       where the table looks something like this:

       id        = number
       page_num  = integer
       free_text = long

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

       -mark

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


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

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

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

Mark,

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

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

Ciao,

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

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

try this !

..

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

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

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

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

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


Binh Thanh Nguyen
CERFnet Inc.,


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

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


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

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

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


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

--  p a t r i c k   h e n s l e y
--  a g e n t s , i n c             m s g   [email protected]
--  u r l   http://www.ffly.com     f o n   617.234.5451
--  u s r   astroman                f a x   617.234.5414


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

David,

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

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

Ciao,

AndyB


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

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

   $attrib{'ora_type'} = $longrawtype;

   ##-- bind the parameter for each of the columns
   for ($i = 0; $i < @types; $i++) {

       ##-- long raw values must have their type attribute explicitly specified
       if ($types[$i] == $longrawtype) {
           $ih->bind_param($i+1, $row[$i], \%attrib)
               || die "binding placeholder for LONG RAW " . $db->errstr;
       }

       ##-- other values work OK with the default attributes
       else {
           $ih->bind_param($i+1, $row[$i])
               || die "binding placeholder" . $db->errstr;
       }
   }

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

David,

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

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


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

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

Let us all know if you work it out.

Ciao,

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

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

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

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

David,

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

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

 ID, NAME, DATE

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

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

Ciao,

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

Hi,

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

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

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

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

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

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

We have Informix-4GL version 4.10.UD3.

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

Filip Bovyn ([email protected])

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


> From: FirstName LastName <[email protected]>
>
> unsubscribe

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

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

Howdy,

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

       Bill

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

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



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


Forwarded to dbi-users.

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

From [email protected]  Thu Jul 25 07:40:39 1996
From: Dr R Voglmaier <[email protected]>
Date: 25 Jul 96 07:29:00 BST
Subject: problems with install_driver()
To: [email protected]


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


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

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

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

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

regards,

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

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


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

TIA & TFSMB (Thanks For Saving My Butt!)  ;)
Andrew Boyle
[email protected]


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



--
Andrew Boyle
TIP#391
http://www.glue.umd.edu/~irishman
[email protected]
--


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


> From: [email protected] (Mike Onghai)
>
> unsubscribe

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

This is _not_ the way.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26673-21@oink>;
         Thu, 25 Jul 1996 19:17:21 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838317796:26428:2; Thu, 25 Jul 96 19:03:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa25428; 25 Jul 96 19:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA13305 for dbi-users-real; Thu, 25 Jul 1996 10:51:25 -0700
Precedence: junk
Sender: [email protected]
Received: from master.hway.net (master.hway.net [207.100.8.10])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA13301
         for <[email protected]>; Thu, 25 Jul 1996 10:51:23 -0700
Received: from ns.hway.net by master.hway.net
         via SMTP (951211.SGI.8.6.12.PATCH1042/951211.SGI)
         for <[email protected]> id NAA07213;
         Thu, 25 Jul 1996 13:51:16 -0400
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: Thu, 25 Jul 1996 12:50:45 -0700
To: [email protected]
From: Mike Lucente <[email protected]>
Subject: Connect to remote DB: Supported?

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

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

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

Please advise. Thanks.
=======================
Mike Lucente
[email protected]
Hiway Technologies, Inc.
http://www.hway.net

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

After hours - please reply to [email protected]
or [email protected]

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

Tim Bunce wrote:
>
>
> > From: [email protected] (Mike Onghai)
> >
> > unsubscribe
>
> Sigh. How many times must I post the message describing how to unsubscribe?
>
> This is _not_ the way.
>
> Tim.
>
>

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

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


On Wed, 24 Jul 1996, Tim Bunce wrote:

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

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

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27476-0@oink>;
         Thu, 25 Jul 1996 20:19:16 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838322169:23005:2; Thu, 25 Jul 96 20:16:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa21603; 25 Jul 96 20:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id MAA13521 for dbi-users-real; Thu, 25 Jul 1996 12:07:23 -0700
Precedence: junk
Sender: [email protected]
Received: from grumpy.nsg.nwu.edu (grumpy.nsg.nwu.edu [129.105.26.24])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA13517
         for <[email protected]>; Thu, 25 Jul 1996 12:07:22 -0700
Received: from aquarius (aquarius.acns.nwu.edu [129.105.110.169])
         by grumpy.nsg.nwu.edu (8.7.5/8.7.3/25.0) with SMTP id OAA05402;
         Thu, 25 Jul 1996 14:09:46 -0500 (CDT)
Message-Id: <[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: Thu, 25 Jul 1996 14:07:08 -0500
To: [email protected]
From: Phil Tracy <[email protected]>
Subject: Re: problems with install_driver()
Cc: [email protected]

Dr R Voglmaier <[email protected]> writes:

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

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

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

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

Then I found in the README file:

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

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

       - Phil

--
Phillip Tracy  <[email protected]>
Northwestern University ACNS, Evanston, IL  USA
http://grumpy.nsg.nwu.edu/tracy/philtracy.html

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


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

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

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


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

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

I'd certainly be grateful!

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

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

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

This is a multi-part message in MIME format.

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

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

Thanks.

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

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

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


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

Please email responses to [email protected]


          golf# perl Makefile.PL

Configuring DBD::Oracle ...

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

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

          Checking if your kit is complete...
          Looks good

          Warning: By default new modules are installed into your 'site_lib'
          directories. Since site_lib directories come after the normal library
          directories you must delete any old DBD::Oracle files and directories from
          your 'privlib' and 'archlib' directories and their auto subdirectories.

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

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

Copyright 1987-1996, Larry Wall

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

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

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


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

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

Stop
****** Error code 1


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


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

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

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

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

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

Tim

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


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

Usually caused by forgetting to make install.

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

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


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

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

Thanks in advance.  Murad



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

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

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

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


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

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

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

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

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

Thought I'd try again...

Again, any help would be greatly appreciated...

Josh Oh
[email protected]
----------------------------
Hi,

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

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

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

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

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

Any insight would be very much appreciated...

Josh Oh
[email protected]


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29684-2@oink>;
         Fri, 26 Jul 1996 01:55:29 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838334029:28583:4; Thu, 25 Jul 96 23:33:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa28388; 25 Jul 96 23:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA14376 for dbi-users-real; Thu, 25 Jul 1996 15:23:41 -0700
Precedence: junk
Sender: [email protected]
Received: from paradigm.webvision.com (paradigm.webvision.com [204.33.249.66])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA14372
         for <[email protected]>; Thu, 25 Jul 1996 15:23:38 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id PAA26130;
         Thu, 25 Jul 1996 15:23:25 -0700
Date: Thu, 25 Jul 1996 15:23:25 -0700
Message-Id: <[email protected]>
From: dave madden <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> ([email protected])
Subject: Clueless newbies [was: Re: building perl5.003...]

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

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

<grin>

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


> From: Joel Mcgahen <[email protected]>
>
> Attached is a description of our problem and a log of all make steps.
> Someone please help -- we need this to work very soon.

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

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

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

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

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

unsubscribe

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


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

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

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

>       Bill

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

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


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

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

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

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

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

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

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


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

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

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

Hello,

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

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

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

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

       ...David

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

Howdy,

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

       Bill

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

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



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


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

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

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

This is a multi-part message in MIME format.

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

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

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

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

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

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

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

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

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

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

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

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

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


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

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

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

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

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

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

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

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

PHONY: all config static dynamic test linkext manifest

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

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

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

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

EXPORT_LIST =

PERL_ARCHIVE =

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

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


# --- MakeMaker tool_autosplit section:

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


# --- MakeMaker tool_xsubpp section:

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


# --- MakeMaker tools_other section:

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

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

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

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

UNINST=0
VERBINST=1

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

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

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



# --- MakeMaker dist section:

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


# --- MakeMaker macro section:


# --- MakeMaker depend section:


# --- MakeMaker cflags section:

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


# --- MakeMaker const_loadlibs section:

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


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

# --- MakeMaker post_constants section:

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

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

# Entering loc_precomp.mk

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

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

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


ARCREATE=$(AR) cr$(ARLOCAL)

ARDELETE= $(AR) d$(ARLOCAL)

AREXTRACT = $(AR) x

ARREPLACE = $(AR) r

COPY=cp


LIBHOME=$(ORACLE_HOME)/lib

BINHOME=$(ORACLE_HOME)/bin

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

MOVE=mv

REMOVE=rm -f


TOUCH=touch

CD = cd

LN = ln

CAT = cat


CHMOD = chmod

RM = rm

CP = cp

MV = mv

I_SYM=-I

SILENT=@


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

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

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

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

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

SPLIBS=

MATHLIB=-lm

LOCALLIBS=

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

PLATFORM = solaris

LLTHREAD=-lthread

SMPWCF=smpwcf.s
OPENWINHOME=/usr/openwin

BUILD_VIEW=sdview
SDVIEW_SETUP=sdview_setup
VIEWDIR=view

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

PL_FLAGS =

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

ROFLAGS=-c -xMerge

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

CPP=/usr/ccs/lib/cpp

OPTIMIZE2=-xO2
OPTIMIZE4=-xO4

SPFLAGS=

ARLOCAL=


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

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

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

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

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

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

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

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

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

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

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

ASPFLAGS = -P $(PFLAGS)


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

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


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

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

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

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

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

SO=a

SPFLAGS=

EXOSLIBS=
LIBBSD=
SECLIBS=
M6LIBS=

PERL = perl

MKCUST_TARGET = mkcustinclude

USE_GENROFIX=yes

BUGDB_PORT=453

LINK=ld -dy $(COMPOBJS)

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

COREHOME= $(ORACLE_HOME)/oracore3

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

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

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

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

NLSRTLHOME= $(ORACLE_HOME)/nlsrtl3

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

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

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

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

SYSLIBLIST = $(RDBMS_ROOT)/lib/sysliblist

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

OSN_USE_FTT=-DOSN_USE_FTT

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

TRACEHOME= $(ORACLE_HOME)/otrace

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

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

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

LLIBSLAX=-lslax

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

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

LLIBSQL=-lsql

LIBSQLD=$(LIBHOME)/libsql.a

PROADA = proada
PROCOB = procob
PROC16 = proc16
PROFOR = profor
PROPAS = propas
PROPLI = propli
PROC = proc
MODC = modc
MODADA = modada
RTSORA = rtsora

# Exiting /local/SRCHOME/knl/precomp/precomp.mk

PRODUCT=precomp
TOP = $(ORACLE_HOME)/precomp
TOOLS = $(ORACLE_HOME)/buildtools

PHONY : archive restore compile library execs rmobjs rmlibs rmexecs

PRODHOME=$(ORACLE_HOME)/precomp
PRECOMPHOME=$(PRODHOME)
PRECOMPLIB=$(PRECOMPHOME)/lib
PRECOMPBIN=$(PRECOMPHOME)/bin
ADARTL=$(PRECOMPHOME)/pubsrc/adalib

PRODUCT_LIBHOME= -L$(PRECOMPLIB)

LIBPAD = $(TOP)/lib/libpad.a
LIBPC  = $(TOP)/lib/libpc.a
LIBPCC = $(TOP)/lib/libpcc.a
LIBPCO = $(TOP)/lib/libpco.a
LIBPFO = $(TOP)/lib/libpfo.a
LIBPGP = $(TOP)/lib/libpgp.a
LIBPPL = $(TOP)/lib/libppl.a
LIBPPA = $(TOP)/lib/libppa.a
LIBPCD = $(TOP)/lib/libpcd.a
LIBPROC2 = $(TOP)/lib/libproc2.a
LIBMOD = $(TOP)/lib/libmod.a
LIBSLAX= $(TOP)/lib/libslax.a
LIBSQL = $(TOP)/lib/libsql.a

LLIBPAD=-lpad
LLIBPC=-lpc
LLIBPCC=-lpcc
LLIBPCO=-lpco
LLIBPFO=-lpfo
LLIBPGP=-lpgp
LLIBPPL=-lppl
LLIBPPA=-lppa
LLIBPCD=-lpcd
LLIBPROC2=-lproc2
LLIBMOD=-lmod

PROLDLIBS=$(PROLLSsharedthread)
PROLLS=$(LLIBSQL) $(DEVTTLIBS)
PROLLSshared=$(LCLSH) $(PROLLS)
PROLLSthread=$(PROLLS) $(LLTHREAD)
PROLLSsharedthread=$(LCLSH) $(PROLLS) $(LLTHREAD)

ADAMAIN = $(TOP)/lib/pc5drv.o
COBMAIN = $(TOP)/lib/pc0drv.o
CMAIN = $(TOP)/lib/pc2drv.o
FORMAIN = $(TOP)/lib/pc1drv.o
PASMAIN = $(TOP)/lib/pc4drv.o
PLIMAIN = $(TOP)/lib/pc3drv.o
MAINOBJS = lib/main.o lib/pcdsfv.o lib/pcdlut.o
MODOBJS = lib/pmtsfv.o lib/pmtlut.o
MODCMAIN = $(TOP)/lib/pmscpr.o
MODADAMAIN = $(TOP)/lib/pmsapr.o

ADAPDC = lib/pda.o lib/pds.o
CPDC =   lib/pdc.o lib/pds.o
COBPDC = lib/pdb.o lib/pds.o
FORPDC = lib/pdf.o lib/pds.o
PASPDC = lib/pdp.o lib/pds.o
PLIPDC = lib/pd1.o lib/pds.o

COBSQLINTF = $(TOP)/lib/cobsqlintf.o

# Exiting loc_precomp.mk
# Entering osd_precomp.mk

LCLSH=-lclntsh

COB = cob
COBFLAGS=-C IBMCOMP -x
COBGNTFLAGS=-C IBMCOMP -u
GNT=.gnt
RTSPORTFLAGS=
FC=f77
FCFLAGS=
PC=pc
PCFLAGS= -Bstatic -g -L
ADAPORT=verdix
ADACC=ada -e
ADALD=a.ld
ADACLEAN= a.rmlib -f
PL1=lpipl1
PL1LD=ldpl1
PL1FLAGS= -lowercase
# Exiting osd_precomp.mk
# Entering /local/SRCHOME/knl/buildtools/cus_plfrm.mk

COMPOBJ=$(ORACLE_HOME)/lib
COMPOBJS=  $(COMPOBJ)/__fstd.o

LDSTRING= -R /opt/SUNWcluster/lib \
       -Y P,$(LD_LIBRARY_PATH):/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib \
       -Qy -lc $(COMPOBJ)/crtn.o
OTHERLIBS= `cat $(ORACLE_HOME)/rdbms/lib/sysliblist` $(LLAIO) $(LDSTRING)
DEVTTLIBS=$(NETLIBS) $(LLIBORA) $(NETLIBS) $(LLIBORA) $(LIBPLSHACK) \
       $(LLIBEPC) $(CORELIBS) $(SPLIBS) $(LOCALLIBS) $(EXOSLIBS) $(LIBBSD) `cat $(ORACLE_HOME)/rdbms/lib/sysliblist`  $(SECLIBS) $(M6LIBS) $(MATHLIB)
# Exiting /local/SRCHOME/knl/buildtools/cus_plfrm.mk


LDSTRING=
PRODUCT_LIBHOME=
MAKEFILE=proc.mk
PROCPLSFLAGS= sqlcheck=full userid=$(USERID) dbms=v6_char
PROCPPFLAGS= code=cpp include=/usr/include include=/opt/SUNWspro/SC3.0.1/include/CC
USERID=scott/tiger
INCLUDE=$(I_SYM). $(PRECOMPPUBLIC)

SAMPLES=sample1 sample2 sample3 sample4 sample6 sample7 sample8 \
       sample9 sample10 sample11 sample12 oraca sqlvcp cv_demo
CPPSAMPLES=cppdemo1 cppdemo2 cppdemo3

# Rule to compile any program (specify EXE= and OBJS= on command line)


# End of extract from /big/app/oracle/product/7.3.2/precomp/demo/proc/proc.mk /big/app/oracle/product/7.3.2/precomp/env_precomp.mk
#
###################################################################


# --- MakeMaker pasthru section:

PASTHRU = LIBPERL_A="$(LIBPERL_A)"\
       LINKTYPE="$(LINKTYPE)"\
       PREFIX="$(PREFIX)"\
       OPTIMIZE="$(OPTIMIZE)"


# --- MakeMaker c_o section:

c$(OBJ_EXT):
       $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c

C$(OBJ_EXT):
       $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.C

cpp$(OBJ_EXT):
       $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cpp

cxx$(OBJ_EXT):
       $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cxx

cc$(OBJ_EXT):
       $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cc


# --- MakeMaker xs_c section:

xs.c:
       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs >$*.tc && mv $*.tc $@


# --- MakeMaker xs_o section:

xs$(OBJ_EXT):
       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs >xstmp.c && mv xstmp.c $*.c
       $(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c


# --- MakeMaker top_targets section:

#all :: config $(INST_PM) subdirs linkext manifypods

all :: pure_all manifypods
       @$(NOOP)

pure_all :: config pm_to_blib subdirs linkext
       @$(NOOP)

subdirs :: $(MYEXTLIB)
       @$(NOOP)

config :: Makefile $(INST_LIBDIR)/.exists
       @$(NOOP)

config :: $(INST_ARCHAUTODIR)/.exists
       @$(NOOP)

config :: $(INST_AUTODIR)/.exists
       @$(NOOP)

config :: Version_check
       @$(NOOP)


$(INST_AUTODIR)/.exists :: /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h
       @$(MKPATH) $(INST_AUTODIR)
       @$(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h $(INST_AUTODIR)/.exists

       -@$(CHMOD) 755 $(INST_AUTODIR)

$(INST_LIBDIR)/.exists :: /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h
       @$(MKPATH) $(INST_LIBDIR)
       @$(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h $(INST_LIBDIR)/.exists

       -@$(CHMOD) 755 $(INST_LIBDIR)

$(INST_ARCHAUTODIR)/.exists :: /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h
       @$(MKPATH) $(INST_ARCHAUTODIR)
       @$(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h $(INST_ARCHAUTODIR)/.exists

       -@$(CHMOD) 755 $(INST_ARCHAUTODIR)

config :: $(INST_MAN3DIR)/.exists
       @$(NOOP)


$(INST_MAN3DIR)/.exists :: /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h
       @$(MKPATH) $(INST_MAN3DIR)
       @$(EQUALIZE_TIMESTAMP) /usr/local/lib/perl5/sun4-solaris/5.003/CORE/perl.h $(INST_MAN3DIR)/.exists

       -@$(CHMOD) 755 $(INST_MAN3DIR)

$(O_FILES): $(H_FILES)

help:
       perldoc ExtUtils::MakeMaker

Version_check:
       @$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
               -MExtUtils::MakeMaker=Version_check \
               -e 'Version_check("$(MM_VERSION)")'


# --- MakeMaker linkext section:

linkext :: $(LINKTYPE)
       @$(NOOP)


# --- MakeMaker dlsyms section:


# --- MakeMaker dynamic section:

## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make dynamic"
#dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT) $(INST_PM)
dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT)
       @$(NOOP)


# --- MakeMaker dynamic_bs section:

BOOTSTRAP = Oracle.bs

# As Mkbootstrap might not write a file (if none is required)
# we use touch to prevent make continually trying to remake it.
# The DynaLoader only reads a non-empty file.
$(BOOTSTRAP): Makefile  $(INST_ARCHAUTODIR)/.exists
       @echo "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
       @$(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" \
               -e 'use ExtUtils::Mkbootstrap;' \
               -e 'Mkbootstrap("$(BASEEXT)","$(BSLOADLIBS)");'
       @$(TOUCH) $(BOOTSTRAP)
       $(CHMOD) 644 $@

$(INST_BOOT): $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists
       @rm -rf $(INST_BOOT)
       -cp $(BOOTSTRAP) $(INST_BOOT)
       $(CHMOD) 644 $@


# --- MakeMaker dynamic_lib section:

# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).
ARMAYBE = :
OTHERLDFLAGS =   $(COMPOBJS)
INST_DYNAMIC_DEP =

$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP)
       LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) -o $@ $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(EXPORT_LIST)
       $(CHMOD) 755 $@


# --- MakeMaker static section:

## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make static"
#static :: Makefile $(INST_STATIC) $(INST_PM)
static :: Makefile $(INST_STATIC)
       @$(NOOP)


# --- MakeMaker static_lib section:

$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)/.exists
       $(RM_RF) $@
       $(AR) $(AR_STATIC_ARGS) $@ $(OBJECT) && $(RANLIB) $@
       @echo "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld
       $(CHMOD) 755 $@


# --- MakeMaker manifypods section:
POD2MAN_EXE = /usr/local/bin/pod2man
POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
-e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
-e 'print "Manifying $$m{$$_}\n";' \
-e 'system(qq[$$^X ].q["-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
-e 'chmod 0644, $$m{$$_} or warn "chmod 644 $$m{$$_}: $$!\n";}'

manifypods : Oraperl.pm
       @$(POD2MAN) \
       Oraperl.pm \
       $(INST_MAN3DIR)/DBD::Oraperl.$(MAN3EXT)

# --- MakeMaker processPL section:


# --- MakeMaker installbin section:


# --- MakeMaker subdirs section:

# none

# --- MakeMaker clean section:

# Delete temporary files but do not touch installed files. We don't delete
# the Makefile here so a later make realclean still has a makefile to use.

clean ::
       -rm -rf Oracle.c ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all perlmain.c mon.out core so_locations pm_to_blib *~ */*~ */*/*~ *$(OBJ_EXT) *$(LIB_EXT) perl.exe $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def $(BASEEXT).exp
       -mv Makefile Makefile.old 2>/dev/null


# --- MakeMaker realclean section:

# Delete temporary files (via clean) and also delete installed files
realclean purge ::  clean
       rm -rf $(INST_AUTODIR) $(INST_ARCHAUTODIR)
       rm -f $(INST_DYNAMIC) $(INST_BOOT)
       rm -f $(INST_STATIC)
       rm -f $(INST_LIB)/Oraperl.pm $(INST_LIBDIR)/Oracle.pm $(INST_LIB)/oraperl.ph
       rm -rf Makefile Makefile.old


# --- MakeMaker dist_basics section:

distclean :: realclean distcheck

distcheck :
       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use ExtUtils::Manifest "&fullcheck";' \
               -e 'fullcheck();'

skipcheck :
       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use ExtUtils::Manifest "&skipcheck";' \
               -e 'skipcheck();'

manifest :
       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use ExtUtils::Manifest "&mkmanifest";' \
               -e 'mkmanifest();'


# --- MakeMaker dist_core section:

dist : $(DIST_DEFAULT)
       @$(PERL) -le 'print "Warning: Makefile possibly out of date with $$vf" if ' \
           -e '-e ($$vf="$(VERSION_FROM)") and -M $$vf < -M "Makefile";'

tardist : $(DISTVNAME).tar$(SUFFIX)

zipdist : $(DISTVNAME).zip

$(DISTVNAME).tar$(SUFFIX) : distdir
       $(PREOP)
       $(TO_UNIX)
       $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
       $(RM_RF) $(DISTVNAME)
       $(COMPRESS) $(DISTVNAME).tar
       $(POSTOP)

$(DISTVNAME).zip : distdir
       $(PREOP)
       $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
       $(RM_RF) $(DISTVNAME)
       $(POSTOP)

uutardist : $(DISTVNAME).tar$(SUFFIX)
       uuencode $(DISTVNAME).tar$(SUFFIX) \
               $(DISTVNAME).tar$(SUFFIX) > \
               $(DISTVNAME).tar$(SUFFIX)_uu

shdist : distdir
       $(PREOP)
       $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
       $(RM_RF) $(DISTVNAME)
       $(POSTOP)


# --- MakeMaker dist_dir section:

distdir :
       $(RM_RF) $(DISTVNAME)
       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=manicopy,maniread \
               -e 'manicopy(maniread(),"$(DISTVNAME)", "$(DIST_CP)");'


# --- MakeMaker dist_test section:

disttest : distdir
       cd $(DISTVNAME) && $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) Makefile.PL
       cd $(DISTVNAME) && $(MAKE)
       cd $(DISTVNAME) && $(MAKE) test


# --- MakeMaker dist_ci section:

ci :
       $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use ExtUtils::Manifest "&maniread";' \
               -e '@all = keys %{ maniread() };' \
               -e 'print("Executing $(CI) @all\n"); system("$(CI) @all");' \
               -e 'print("Executing $(RCS_LABEL) ...\n"); system("$(RCS_LABEL) @all");'


# --- MakeMaker install section:

install :: all pure_install doc_install

install_perl :: all pure_perl_install doc_perl_install

install_site :: all pure_site_install doc_site_install

install_ :: install_site
       @echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

pure_install :: pure_$(INSTALLDIRS)_install

doc_install :: doc_$(INSTALLDIRS)_install
       @echo Appending installation info to $(INSTALLARCHLIB)/perllocal.pod

pure__install : pure_site_install
       @echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

doc__install : doc_site_install
       @echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site

pure_perl_install ::
       @$(MOD_INSTALL) \
               read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
               write $(INSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
               $(INST_LIB) $(INSTALLPRIVLIB) \
               $(INST_ARCHLIB) $(INSTALLARCHLIB) \
               $(INST_BIN) $(INSTALLBIN) \
               $(INST_SCRIPT) $(INSTALLSCRIPT) \
               $(INST_MAN1DIR) $(INSTALLMAN1DIR) \
               $(INST_MAN3DIR) $(INSTALLMAN3DIR)
       @$(WARN_IF_OLD_PACKLIST) \
               $(SITEARCHEXP)/auto/$(FULLEXT)


pure_site_install ::
       @$(MOD_INSTALL) \
               read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
               write $(INSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
               $(INST_LIB) $(INSTALLSITELIB) \
               $(INST_ARCHLIB) $(INSTALLSITEARCH) \
               $(INST_BIN) $(INSTALLBIN) \
               $(INST_SCRIPT) $(INSTALLSCRIPT) \
               $(INST_MAN1DIR) $(INSTALLMAN1DIR) \
               $(INST_MAN3DIR) $(INSTALLMAN3DIR)
       @$(WARN_IF_OLD_PACKLIST) \
               $(PERL_ARCHLIB)/auto/$(FULLEXT)

doc_perl_install ::
       @$(DOC_INSTALL) \
               "$(NAME)" \
               "installed into" "$(INSTALLPRIVLIB)" \
               LINKTYPE "$(LINKTYPE)" \
               VERSION "$(VERSION)" \
               EXE_FILES "$(EXE_FILES)" \
               >> $(INSTALLARCHLIB)/perllocal.pod

doc_site_install ::
       @$(DOC_INSTALL) \
               "Module $(NAME)" \
               "installed into" "$(INSTALLSITELIB)" \
               LINKTYPE "$(LINKTYPE)" \
               VERSION "$(VERSION)" \
               EXE_FILES "$(EXE_FILES)" \
               >> $(INSTALLARCHLIB)/perllocal.pod


uninstall :: uninstall_from_$(INSTALLDIRS)dirs

uninstall_from_perldirs ::
       @$(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist

uninstall_from_sitedirs ::
       @$(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist


# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE:


# --- MakeMaker perldepend section:

PERL_HDRS = \
$(PERL_INC)/EXTERN.h       $(PERL_INC)/gv.h           $(PERL_INC)/pp.h       \
$(PERL_INC)/INTERN.h       $(PERL_INC)/handy.h        $(PERL_INC)/proto.h    \
$(PERL_INC)/XSUB.h         $(PERL_INC)/hv.h           $(PERL_INC)/regcomp.h  \
$(PERL_INC)/av.h           $(PERL_INC)/keywords.h     $(PERL_INC)/regexp.h   \
$(PERL_INC)/config.h       $(PERL_INC)/mg.h           $(PERL_INC)/scope.h    \
$(PERL_INC)/cop.h          $(PERL_INC)/op.h           $(PERL_INC)/sv.h       \
$(PERL_INC)/cv.h           $(PERL_INC)/opcode.h       $(PERL_INC)/unixish.h  \
$(PERL_INC)/dosish.h       $(PERL_INC)/patchlevel.h   $(PERL_INC)/util.h     \
$(PERL_INC)/embed.h        $(PERL_INC)/perl.h                                \
$(PERL_INC)/form.h         $(PERL_INC)/perly.h

$(OBJECT) : $(PERL_HDRS)

Oracle.c : $(XSUBPPDEPS)


# --- MakeMaker makefile section:

$(OBJECT) : $(FIRST_MAKEFILE)

# We take a very conservative approach here, but it\'s worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
Makefile : Makefile.PL $(CONFIGDEP)
       @echo "Makefile out-of-date with respect to $?"
       @echo "Cleaning current config before rebuilding Makefile..."
       -@mv Makefile Makefile.old
       -$(MAKE) -f Makefile.old clean >/dev/null 2>&1 || true
       $(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" Makefile.PL
       @echo ">>> Your Makefile has been rebuilt. <<<"
       @echo ">>> Please rerun the make command.  <<<"; false

# To change behavior to :: would be nice, but would break Tk b9.02
# so you find such a warning below the dist target.
#Makefile :: $(VERSION_FROM)
#       @echo "Warning: Makefile possibly out of date with $(VERSION_FROM)"


# --- MakeMaker staticmake section:

# --- MakeMaker makeaperl section ---
MAP_TARGET    = perl
FULLPERL      = /usr/bin/perl

$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
       $(MAKE) -f $(MAKE_APERL_FILE) $@

$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
       @echo Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
       @$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
               Makefile.PL DIR= \
               MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
               MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=


# --- MakeMaker test section:

TEST_VERBOSE=0
TEST_TYPE=test_$(LINKTYPE)
TEST_FILE = test.pl
TESTDB_SW = -d

testdb :: testdb_$(LINKTYPE)

test :: $(TEST_TYPE)

test_dynamic :: pure_all
       PERL_DL_NONLAZY=1 $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use Test::Harness qw(&runtests $$verbose); $$verbose=$(TEST_VERBOSE); runtests @ARGV;' t/*.t
       PERL_DL_NONLAZY=1 $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) test.pl

testdb_dynamic :: pure_all
       PERL_DL_NONLAZY=1 $(FULLPERL) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)

test_ : test_dynamic

test_static :: pure_all $(MAP_TARGET)
       PERL_DL_NONLAZY=1 ./$(MAP_TARGET) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -e 'use Test::Harness qw(&runtests $$verbose); $$verbose=$(TEST_VERBOSE); runtests @ARGV;' t/*.t
       PERL_DL_NONLAZY=1 ./$(MAP_TARGET) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) test.pl

testdb_static :: pure_all $(MAP_TARGET)
       PERL_DL_NONLAZY=1 ./$(MAP_TARGET) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)



# --- MakeMaker pm_to_blib section:

pm_to_blib: $(TO_INST_PM)
       @$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \
       "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
       -e 'pm_to_blib({qw{$(PM_TO_BLIB)}},"$(INST_LIB)/auto")'
       @$(TOUCH) $@


# --- MakeMaker selfdocument section:


# --- MakeMaker postamble section:


# End.

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

=head3 Fri Jul 26 10:54:42 1996: C<Module DBD::Oracle>

=over 4

=item *

C<installed into: /usr/local/lib/perl5/site_perl>

=item *

C<LINKTYPE: dynamic>

=item *

C<VERSION: 0.36>

=item *

C<EXE_FILES: >

=back

=head3 Fri Jul 26 11:00:17 1996: C<Module DBD::Oracle>

=over 4

=item *

C<installed into: /usr/local/lib/perl5/site_perl>

=item *

C<LINKTYPE: dynamic>

=item *

C<VERSION: 0.36>

=item *

C<EXE_FILES: >

=back

=head3 Fri Jul 26 11:06:39 1996: C<Module DBD::Oracle>

=over 4

=item *

C<installed into: /usr/local/lib/perl5/site_perl>

=item *

C<LINKTYPE: dynamic>

=item *

C<VERSION: 0.36>

=item *

C<EXE_FILES: >

=back


--------------421B3F43370--

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05695-0@oink>;
         Fri, 26 Jul 1996 18:01:09 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838399417:28891:3; Fri, 26 Jul 96 17:43:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa28604; 26 Jul 96 17:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id JAA16334 for dbi-users-real; Fri, 26 Jul 1996 09:34:08 -0700
Precedence: junk
Sender: [email protected]
Received: from pinyon.enet.net (pinyon.enet.net [168.158.8.2])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA16330
         for <[email protected]>; Fri, 26 Jul 1996 09:34:06 -0700
Received: (from mueller@localhost) by pinyon.enet.net (8.6.9/8.6.9) id JAA01096;
         Fri, 26 Jul 1996 09:35:02 -0700
Date: Fri, 26 Jul 1996 09:35:01 -0700 (MST)
From: Steve Mueller <[email protected]>
Reply-To: Steve Mueller <[email protected]>
Subject: DBD 0.36 build errors under AIX4.1
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII


       I am currently running AIX4.1 on a Motorola 604 box and have
Oracle 7.3.2.1 on it, along with gcc2.7.2 and perl5.003.  I've got
SQL*Net V2 and the tcp/ip adapter protocol up and running fine on the
database and the listener is accepting remote connections from select
outside sites properly.  However, when I went to build DBI 0.71 and
DBD 0.36 (the only two versions that I know of which support Oracle 7.3.x
and its Pro*C libs), I was able to successfully build the DBI, but
received a fatal error during the 'make test' of the DBD 0.36 build and
the process does a core dump.  Everything appeared to be fine up to
this point (including the entire DBI build and the first two stages of
the DBD build).  Here's what it looks like:

# make test TEST_VERBOSE=1
       PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib
-I/usrt
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
All tests successful.
Files=1,  Tests=5,  0 secs ( 0.42 cusr  0.05 csys =  0.47 cpu)
       PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib
-I/usrl
Oraperl test application $Revision: 1.21 $

Oraperl Emulation Interface version 1.28
Oracle Driver 0.36
DBI-0.71 Switch by Tim Bunce, version 0.71


Connecting
to '<my_dbname>' (from command line, else uses ORACLE_SID/TWO_TASK)
as '<my_username>/<my_passwd>' (via ORACLE_USERID environment var or default)
Caught a SIGSEGV at blib/lib/DBD/Oracle.pm line 141
@ = DBD::Oracle::dr::connect('DBI::dr=HASH(0x200d0b7c)', '<my_dbname>',
'<my_username>/<my_passwd>'
@ = Oraperl::ora_login('<my_dbname>', '<my_username>/<my_passwd>', '')
called from file `test.pl' 7
make: 1254-059 The signal code from the last command is 6.


Stop.



       To me, the error looks like the result of the inability to connect to
the database properly, as I sorted through the lines of code from the
modules listed above.  My question is this -- has anyone else had similar
problems to the ones listed above or is anyone familiar with building
DBI/DBD under AIX4.x for Oracle7.3?  Any help will be greatly
appreciated.  Thanks in advance.



                                               Steve

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05691-8@oink>;
         Fri, 26 Jul 1996 18:01:15 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838399596:11312:0; Fri, 26 Jul 96 17:46:36 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa10720; 26 Jul 96 17:45 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa06531; 26 Jul 96 17:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id JAA16374 for dbi-users-real; Fri, 26 Jul 1996 09:42:12 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA16370
         for <[email protected]>; Fri, 26 Jul 1996 09:42:08 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
         id ab09246; 26 Jul 96 17:42 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa02282; 26 Jul 96 16:59 +0100
Received: from toad by oink with SMTP (PP) id <05294-0@oink>;
         Fri, 26 Jul 1996 16:54:55 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00920;
         Fri, 26 Jul 1996 16:54:48 +0000
Date: Fri, 26 Jul 1996 16:54:48 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Problems finding executable after Make
X-Sun-Charset: US-ASCII
content-length: 362
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Joel Mcgahen <[email protected]>
>
> 1) perl Makefile.PL
> 2) make
> 3) make test (Works fine!)
> 4) make install
>
> then we do a find / -name oraperl and come up with nothing.

Who ever said it would be called oraperl?

If you look at what the build is doing you'll see that it's
creating a binary called 'perl' in the current directory.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <05691-10@oink>;
         Fri, 26 Jul 1996 18:01:22 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838400142:16278:1; Fri, 26 Jul 96 17:55:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa15262; 26 Jul 96 17:54 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id JAA16415 for dbi-users-real; Fri, 26 Jul 1996 09:51:18 -0700
Precedence: junk
Sender: [email protected]
Received: from zeus.socom.com ([email protected] [206.108.56.4])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA16411
         for <[email protected]>; Fri, 26 Jul 1996 09:51:14 -0700
Received: (from lebel@localhost) by zeus.socom.com (8.7.3/8.7.3) id MAA11116;
         Fri, 26 Jul 1996 12:49:01 -0400
To: Tim Bunce <[email protected]>
Cc: [email protected]
Subject: Re: one connection, many "clients"
References: <[email protected]>
X-Face: #;FW:h$&D\OyS;d9lZ1+b"97JYWd;U#9Nz//7;m7g/^;ib<ciK$ai"RSjmT*!(_/:UoP0$'5Sgim6OTFAr1mP)LsqNW'jGs6V[GDjU;IXAnqeR[S--n&UJssL`5eO=Us[V_GO"prGqdUxIQe`\1cm~-1kwkF#9U$zoUTnSE[56[We'9~e*XH*^jnXQz15C^?BRw\$FF/],%f6p6l,,B$Md,d}&-ux|0Q!`:bQav#(IU5l(0C)#R)'x}HHiCF$\e7sFq
X-Home-Page: http://www.socom.com/~lebel/
Mime-Version: 1.0 (generated by tm-edit 7.70)
Content-Type: text/plain; charset=US-ASCII
From: David Lebel <[email protected]>
Date: 26 Jul 1996 12:49:01 -0400
In-Reply-To: Tim Bunce's message of Fri, 26 Jul 1996 15:39:48 +0000
Message-ID: <[email protected]>
Lines: 58
X-Mailer: Gnus v5.2.37/XEmacs 19.14

Tim Bunce <[email protected]> writes:

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

       Well, I have a problem with socket-based communications.  It's
not directly related to the socket themselves, but to the fact that to
be performant, you need to fork the server to process each client in a
timely and elegant manner.  Now, this is not really a problem by
itself, but when I connect to the DB at the start of my program, it
doesn't seems to me that Oracle likes to be called from the same
connection by multiple subprocesses.  E.g. (in perl-pseudo-code):

   my $drh = DBI->install_driver( 'Oracle' );
   my $dbh = $drh->connect( 'socom', 'xxx', 'yyy' );
   die unless $dbh;

   # ... create socket code ...

   while(!terminated) {
     while(accept()) {
         spawn session_handler;
     }
   }

   $dbh->disconnect;

   sub session_handler {
       # ... some session-related code ...

           my($sth) = $dbh->prepare($q);
           $sth->execute;
           my(@t) = @{$sth->{'NAME'}};

           while ( @row = $sth->fetchrow ) {
               # ... fetching ...
           }

           $sth->finish;

       # ... end of session-related code ...
   }

Now, this works the first time, however, the second time I get the
following error: "ORA-12571: TNS:packet writer failure (DBD: oopen
error)".  Is this because the $dbh handle can't be shared across the
childs?  I don't want to create a new connection for each childs,
since the whole point of doing this was to save connections and
Oracle-instances.

       What do I need to do?

       ...David

--
// d a v i d  l e b e l  <[email protected]>      http://www.socom.com/~lebel/
// analyst / system administrator / hacker          socom technologies, inc.
// " thoughts from above hit the people down below, people in this world, we
//   have no place to go. "                       -- new order, _temptation_
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06703-1@oink>;
         Fri, 26 Jul 1996 20:29:27 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838404181:00413:4; Fri, 26 Jul 96 19:03:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa26753; 26 Jul 96 18:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA16554 for dbi-users-real; Fri, 26 Jul 1996 10:50:47 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA16550
         for <[email protected]>; Fri, 26 Jul 1996 10:50:43 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa11252; 26 Jul 96 17:49 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa24877; 26 Jul 96 18:23 +0100
Received: from toad by oink with SMTP (PP) id <05939-0@oink>;
         Fri, 26 Jul 1996 18:23:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01451;
         Fri, 26 Jul 1996 18:22:52 +0000
Date: Fri, 26 Jul 1996 18:22:52 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD 0.36 build errors under AIX4.1
X-Sun-Charset: US-ASCII
content-length: 1471
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve Mueller <[email protected]>
>
>       I am currently running AIX4.1 on a Motorola 604 box and have
> Oracle 7.3.2.1 on it, along with gcc2.7.2 and perl5.003.  I've got
> SQL*Net V2 and the tcp/ip adapter protocol up and running fine on the
> database and the listener is accepting remote connections from select
> outside sites properly.  However, when I went to build DBI 0.71 and
> DBD 0.36 (the only two versions that I know of which support Oracle 7.3.x
> and its Pro*C libs), I was able to successfully build the DBI, but
> received a fatal error during the 'make test' of the DBD 0.36 build and
> the process does a core dump.  Everything appeared to be fine up to
> this point (including the entire DBI build and the first two stages of
> the DBD build).  Here's what it looks like:

>       To me, the error looks like the result of the inability to connect to
> the database properly, as I sorted through the lines of code from the
> modules listed above.  My question is this -- has anyone else had similar
> problems to the ones listed above or is anyone familiar with building
> DBI/DBD under AIX4.x for Oracle7.3?  Any help will be greatly
> appreciated.  Thanks in advance.

After doing a make clean edit your Makefile.PL so the @edit= line
looks like this:

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

and try again.

Please follow what the README says when reporting problems.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06703-5@oink>;
         Fri, 26 Jul 1996 20:29:54 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838406065:19291:0; Fri, 26 Jul 96 19:34:25 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa18550; 26 Jul 96 19:32 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa10541; 26 Jul 96 19:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id LAA16656 for dbi-users-real; Fri, 26 Jul 1996 11:28:21 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA16652
         for <[email protected]>; Fri, 26 Jul 1996 11:28:18 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id ae20268; 26 Jul 96 18:28 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa23731; 26 Jul 96 18:19 +0100
Received: from toad by oink with SMTP (PP) id <05876-0@oink>;
         Fri, 26 Jul 1996 18:18:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01429;
         Fri, 26 Jul 1996 18:18:06 +0000
Date: Fri, 26 Jul 1996 18:18:06 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: one connection, many "clients"
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 904
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: David Lebel <[email protected]>
>
> Tim Bunce <[email protected]> writes:
>
> : "socket-based communication is not very fast" only if done badly.
>
>       Well, I have a problem with socket-based communications.  It's
> not directly related to the socket themselves, but to the fact that to
> be performant, you need to fork the server to process each client in a
> timely and elegant manner.

So it's nothing to do with sockets. Anyway, don't fork, if the requests
are _really_ going to take so long to process that you can't serialise
them in one daemon then have a pool of daemons and forward the request to
the first available one. More complicated but much faster than forking...

> doesn't seem to me that Oracle likes to be called from the same
> connection by multiple subprocesses.

..which won't work anyway.

If you're worried about runaway queries you can always alarm() them.

Tim.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09249-0@oink>;
         Sat, 27 Jul 1996 06:01:56 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838416820:11482:3; Fri, 26 Jul 96 22:33:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa10672; 26 Jul 96 22:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id OAA17054 for dbi-users-real; Fri, 26 Jul 1996 14:23:45 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA17047;
         Fri, 26 Jul 1996 14:23:42 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id af19266; 26 Jul 96 21:22 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa14839; 26 Jul 96 22:20 +0100
Received: from toad by oink with SMTP (PP) id <07480-0@oink>;
         Fri, 26 Jul 1996 22:17:25 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02456;
         Fri, 26 Jul 1996 22:17:08 +0000
Date: Fri, 26 Jul 1996 22:17:08 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Announce: DBD-Oracle-0.37
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 385
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Changes in DBD::Oracle 0.37 (Oraperl 1.28), 25th July 1996

   Fixed Makefile.PL for Oracle 7.3.2.
   Fixed $num_fields = ora_fetch($csr) before first fetch for
       queries with bind vars.
   Fixed occasional core dump on global destruct.

It's probably not worth upgrading unless you have a problem.

Uploaded to ftp.demon.co.uk as usual. Will get to CPAN in due course.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09250-11@oink>;
         Sat, 27 Jul 1996 06:03:31 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838419012:04054:2; Fri, 26 Jul 96 23:10:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa03545; 26 Jul 96 23:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA17152 for dbi-users-real; Fri, 26 Jul 1996 15:05:57 -0700
Precedence: junk
Sender: [email protected]
Received: from icicle.winternet.com ([email protected] [198.174.169.5])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA17148
         for <[email protected]>; Fri, 26 Jul 1996 15:05:55 -0700
Received: from parka ([email protected] [198.174.169.9])
         by icicle.winternet.com (8.7.5/8.7.5) with ESMTP id RAA20098
         for <[email protected]>; Fri, 26 Jul 1996 17:05:49 -0500 (CDT)
Received: (from amit@localhost) by parka (8.7.4/8.6.12) id RAA03639
         for [email protected]; Fri, 26 Jul 1996 17:05:48 -0500 (CDT)
From: Amit Bhati <[email protected]>
Posted-Date: Fri, 26 Jul 1996 17:05:48 -0500 (CDT)
Message-Id: <199607262205.RAA03639@parka>
Subject: 'make' fails!! DBD-Oracle0.36/Perl5.003/AIX4.1.4/Oracle7.2.2
To: [email protected] (DBI:DBD Mailing List)
Date: Fri, 26 Jul 1996 17:05:48 -0500 (CDT)
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text

DBD-Oracle 0.36
Perl 5.003 (with DBI 0.71 installed just fine)
AIX 4.1.4 on RS/6000
IBM's XlC C Compiler
Oracle 7.2.2
I have SQLNET, Pro*C and TCP/IP Adapters installed. The actual Oracle
DB stuff is on a different machine.

I am having compilation problems during 'make'. Basically it fails
after encountering a lot of unresolved typedefs since the header files
it is looking for are not found.

After looking through Makefile.PL I have a few basic questions if
someone can answer them.

Why does Makefile.PL look for oratypes.h and other files? These files
are under the $ORACLE_HOME/rdbms directory subtree of Oracle
RDBMS. That means that the Oracle database stuff *must* also be
installed on the machine on which I am trying to build DBD-Oracle.

Why is that required? Afterall, if I have SQLNET etc., should'nt that
be sufficient? To me, requiring rdbms/ seems to mean that DBD-Oracle
can only be built on systems which have the RDBMS installed!

Am I missing something? I am new to Oracle, so pardon my ignorance
there. Some relevent lines from Makefile.PL...


Makefile.PL> # --- What Oracle is installed...
Makefile.PL> #
Makefile.PL> # Todo: validate we have the right stuff installed
Makefile.PL> #
Makefile.PL> warn "Warning: OCI (Pro*C) does not appear to be installed.\n"
Makefile.PL>   unless (-f "$OH/lib/libocic.a" and
Makefile.PL>           -f "$OH/rdbms/demo/oratypes.h")
Makefile.PL>       or (-f "$OH/precomp/demo/proc/proc.mk");
Makefile.PL>
Makefile.PL> my @mkfiles;
Makefile.PL> my $oraclemk = $::opt_m || "$OH/proc/lib/proc.mk";
Makefile.PL> $oraclemk = "$OH/precomp/demo/proc/proc.mk"
Makefile.PL>    unless -f $oraclemk; # 7.3.x
Makefile.PL> $oraclemk = "$OH/proc16/lib/proc16.mk"      unless -f $oraclemk;
Makefile.PL> die "Unable to locate proc.mk (use -m /path/to/proc.mk to specify)\n"
Makefile.PL>     unless -f $oraclemk;
Makefile.PL>


amit bhati
--
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10247-4@oink>;
         Sat, 27 Jul 1996 09:43:08 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838451305:02408:2; Sat, 27 Jul 96 08:08:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa01835; 27 Jul 96 8:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id AAA17996 for dbi-users-real; Sat, 27 Jul 1996 00:00:46 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id AAA17992
         for <[email protected]>; Sat, 27 Jul 1996 00:00:43 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id ad12549; 27 Jul 96 7:00 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id ab02174; 27 Jul 96 7:43 +0100
Received: from toad by oink with SMTP (PP) id <09764-0@oink>;
         Sat, 27 Jul 1996 06:26:10 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA03861;
         Sat, 27 Jul 1996 06:26:03 +0000
Date: Sat, 27 Jul 1996 06:26:03 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: 'make' fails!! DBD-Oracle0.36/Perl5.003/AIX4.1.4/Oracle7.2.2
X-Sun-Charset: US-ASCII
content-length: 1844
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Amit Bhati <[email protected]>
> Subject: 'make' fails!! DBD-Oracle0.36/Perl5.003/AIX4.1.4/Oracle7.2.2

As a general rule, including exclamations marks in subject lines is
a bad idea. It puts people (like me) off.

> I have SQLNET, Pro*C and TCP/IP Adapters installed. The actual Oracle
> DB stuff is on a different machine.
>
> I am having compilation problems during 'make'. Basically it fails
> after encountering a lot of unresolved typedefs since the header files
> it is looking for are not found.

> Why does Makefile.PL look for oratypes.h and other files?

Because it needs them.

> These files are under the $ORACLE_HOME/rdbms directory subtree of Oracle
> RDBMS. That means that the Oracle database stuff *must* also be
> installed on the machine on which I am trying to build DBD-Oracle.
>
> Why is that required? Afterall, if I have SQLNET etc., should'nt that
> be sufficient? To me, requiring rdbms/ seems to mean that DBD-Oracle
> can only be built on systems which have the RDBMS installed!

Blame Oracle. Note that the header files are in the 'demo' subdirectory
of rdbms. That says a great deal about Oracle's approach to interfaces.

I recently did the same thing (today, er, yesterday - it's been a very
long day...) and hit the same problem. I copied just the header files
over and DBD::Oracle built okay but would core dump looking up oracle
messages. Since I'm in a big rush I didn't have time to look into it
further so I just mounted the other system and built DBD::Oracle from that
In related work I did fix a core dump that might have been the one I saw
earlier...

So, grab the recently released DBD::Oracle 0.37, copy the header files
you need over from the rdbms/demo directory and give it a go.

If it works let me know. If it doesn't then you'll have to install
more of Oracle till it does.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10247-8@oink>;
         Sat, 27 Jul 1996 09:43:20 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838455284:02744:1; Sat, 27 Jul 96 09:14:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa02344; 27 Jul 96 9:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id BAA18079 for dbi-users-real; Sat, 27 Jul 1996 01:07:38 -0700
Precedence: junk
Sender: [email protected]
Received: from olympic.geocities.com (olympic.geocities.com [204.7.246.6])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA18075
         for <[email protected]>; Sat, 27 Jul 1996 01:07:37 -0700
Received: from 128.97.128.1.ucla.edu ([164.67.22.101])
         by olympic.geocities.com (post.office MTA v1.9.3 ID# 0-12587)
         with SMTP id AAA22986 for <[email protected]>;
         Sat, 27 Jul 1996 01:06:07 -0700
Message-ID: <[email protected]>
Date: Sat, 27 Jul 1996 01:10:35 -0700
From: [email protected] (Mike Onghai)
X-Mailer: Mozilla 3.0b5aGold (Win95; I)
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 <09250-21@oink>;
         Sat, 27 Jul 1996 06:04:00 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838423171:18148:2; Sat, 27 Jul 96 00:19:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa17891; 27 Jul 96 0:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id QAA17235 for dbi-users-real; Fri, 26 Jul 1996 16:13:44 -0700
Precedence: junk
Sender: [email protected]
Received: from pt.Cyanamid.COM (igate.cyanamid.com [141.173.63.2])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA17231
         for <[email protected]>; Fri, 26 Jul 1996 16:13:39 -0700
Received: from wilk by apbr1.pt.Cyanamid.COM (4.1/SMI-4.1) id AA29434;
         Fri, 26 Jul 96 19:12:55 EDT
Date: Fri, 26 Jul 1996 19:12:51 -0400 (EDT)
From: Jon Meek <[email protected]>
X-Sender: meekj@wilk
To: Amit Bhati <[email protected]>
Cc: "DBI:DBD Mailing List" <[email protected]>
Subject: Re: 'make' fails!! DBD-Oracle0.36/Perl5.003/AIX4.1.4/Oracle7.2.2
In-Reply-To: <199607262205.RAA03639@parka>
Message-Id: <Pine.SUN.3.93.960726190905.11527i-100000@wilk>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

For my compilation of DBD-Oracle/Solaris2.5/Oracle7.2.x(x=2, I think), I
just pulled the required files in the rdbms directory from the Oracle CD.

The files I needed were:

: www1 /<1>oracle/orahome/rdbms ; ls -lR
:
total 8
drwxr-xr-x   2 oracle   apbr         512 May 15 17:43 demo/
drwxr-xr-x   2 oracle   apbr         512 May 15 16:20 lib/
drwxr-xr-x   2 oracle   apbr         512 May 15 16:18 mesg/
drwxr-xr-x   2 oracle   apbr         512 May 15 17:38 public/

/demo:
total 36
-r--r--r--   1 oracle   apbr        4509 Jun 29  1995 ociapr.h
-r--r--r--   1 oracle   apbr        5187 Jun 29  1995 ocidfn.h
-rw-rw-r--   1 oracle   apbr        6659 Jun 29  1995 oratypes.h

/lib:
total 66
-rw-r--r--   1 oracle   apbr        1132 Jul  6  1995 clntsh.mk
-rwxr-xr-x   1 oracle   apbr        5623 Jul 17  1995 genclntsh.sh*
-rw-r--r--   1 oracle   apbr       15211 Jul  5  1995 oracle.mk
-rw-r--r--   2 oracle   apbr        3137 May 15 16:20 osntab.s
-rw-r--r--   2 oracle   apbr        3137 May 15 16:20 osntabst.s
-rw-r--r--   1 oracle   apbr           9 May 15 16:19 psoliblist
-rw-r--r--   1 oracle   apbr          39 May 15 16:21 sysliblist

/mesg:
total 2128
-r--r--r--   1 oracle   apbr      183296 Jul 11  1995 oraus.msb
-r--r--r--   1 oracle   apbr      878114 Jul 11  1995 oraus.msg

/public:
total 12
-r--r--r--   1 oracle   apbr        5187 Jun 29  1995 ocidfn.h

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

Jon


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16405-11@oink>;
         Mon, 29 Jul 1996 07:45:10 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838521408:15650:1; Sun, 28 Jul 96 03:36:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa15382; 28 Jul 96 3:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id TAA18918 for dbi-users-real; Sat, 27 Jul 1996 19:21:11 -0700
Precedence: junk
Sender: [email protected]
Received: from paradigm.webvision.com (paradigm.webvision.com [204.33.249.66])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA18914
         for <[email protected]>; Sat, 27 Jul 1996 19:21:09 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id TAA10420;
         Sat, 27 Jul 1996 19:20:51 -0700
Date: Sat, 27 Jul 1996 19:20:51 -0700
Message-Id: <[email protected]>
From: dave madden <[email protected]>
To: [email protected], [email protected]
In-reply-to: <[email protected]> (message from Tim Bunce on Fri, 26 Jul 1996 15:39:48 +0000)
Subject: Re: one connection, many "clients"

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

We're doing *exactly* what you describe, and Tim's right: it's only
slow if done badly.  I don't know what takes Oracle so long to
connect, but it happens even with raw OCI calls.

I have a server that operates like modern web servers: it manages a
pool of children which connect to a database, respond to a
configurable number of queries, and then exit.  The clients are almost
exclusively CGI scripts and direct-connects from the HTTP server, and
I find that response times are more than adequate.

d.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <18580-0@oink>;
         Mon, 29 Jul 1996 10:42:50 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838631245:14996:2; Mon, 29 Jul 96 10:07:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa14204; 29 Jul 96 10:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id CAA20524 for dbi-users-real; Mon, 29 Jul 1996 02:02:56 -0700
Precedence: junk
Sender: [email protected]
Received: from goggins.uio.no ([email protected] [129.240.201.2])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id CAA20520
         for <[email protected]>; Mon, 29 Jul 1996 02:02:54 -0700
From: [email protected]
Received: from ulrik.uio.no by goggins.uio.no with local-SMTP (PP)
         id <[email protected]>; Mon, 29 Jul 1996 11:02:15 +0200
Received: by agnar.uio.no ; Mon, 29 Jul 1996 11:02:14 +0200
Date: Mon, 29 Jul 1996 11:02:14 +0200
Message-Id: <[email protected]>
To: [email protected]
CC: [email protected]
In-reply-to: <[email protected]> (message from Tim Bunce on Fri, 26 Jul 1996 13:35:31 +0000)
Subject: Re: Running DBD-Oracle compiled under SunOS on Solaris

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

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

I've tried with 5.003 on both systems now. If ran with a SunOS perl, I get:

Oraperl test application $Revision: 1.21 $
Can't find 'boot_DBI' symbol in ../DBI-0.71/blib/arch/auto/DBI/DBI.so
at ../DBI-0.71/DBI.pm line 32
BEGIN failed--compilation aborted at Oraperl.pm line 23.
BEGIN failed--compilation aborted at (eval 2) line 1.

If I run with Solaris perl, I get:

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

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

Someone mentioned that the problem could be that perl uses
shared/dynamic objects. If this is the case, it should perhaps be
possible to link something staticaly?

The perl5 SunOS version was compiled on "SunOS 4.1.3_U1 1 sun4m",
DBI&DBD was compiled on "SunOS 4.1.4 2 sun4c", and the Solaris perl5
version was compiled on "SunOS 5.3 Generic_101318-59 sun4m sparc"

--
Rune Frxysa, IT-Seksjonen UB, UiO.   Primary e-mail: [email protected]
Phone (work): (+47) (22 8)5 28 59
WWW: http://www.ifi.uio.no/~runefr/
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18582-9@oink>;
         Mon, 29 Jul 1996 10:43:40 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838627434:13838:1; Mon, 29 Jul 96 09:03:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa13311; 29 Jul 96 9:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id AAA20461 for dbi-users-real; Mon, 29 Jul 1996 00:51:48 -0700
Precedence: junk
Sender: [email protected]
Received: from nfis0003.netforce.net (nfis0003.netforce.net [194.73.236.3])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA20457
         for <[email protected]>; Mon, 29 Jul 1996 00:51:45 -0700
Received: from nfg011.i.netforce.net (gateway-1-e0.route.netforce.net [194.73.236.7])
         by nfis0003.netforce.net (8.6.12/8.6.12) with SMTP id JAA27204
         for <[email protected]>; Mon, 29 Jul 1996 09:02:57 +0100
Received: by nfg011.i.netforce.net with Microsoft Mail
         id <[email protected]>;
         Mon, 29 Jul 1996 08:51:04 +-100
Message-ID: <[email protected]>
From: Mathew Booth <[email protected]>
To: "'[email protected]'" <[email protected]>
Subject: unsubscribe [email protected]
Date: Mon, 29 Jul 1996 08:51:03 +-100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubscribe [email protected]

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18582-13@oink>;
         Mon, 29 Jul 1996 10:43:52 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838628303:21887:3; Mon, 29 Jul 96 09:18:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa21660; 29 Jul 96 9:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id BAA20485 for dbi-users-real; Mon, 29 Jul 1996 01:13:26 -0700
Precedence: junk
Sender: [email protected]
Received: from dingo.theplanet.co.uk (dingo.theplanet.co.uk [194.152.64.136])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA20481
         for <[email protected]>; Mon, 29 Jul 1996 01:13:25 -0700
Received: from theplanet.net(really [127.0.0.1]) by dingo.theplanet.co.uk
         via sendmail with esmtp id <[email protected]>
         for <[email protected]>;
         Mon, 29 Jul 96 09:12:43 +0100 (BST) (/\##/\ Smail3.1.30.13 #30.1 built 18-sep-95)
Message-Id: <[email protected]>
X-Mailer: exmh version 1.6.7 5/3/96
To: [email protected]
From: Nigel Metheringham <[email protected]>
Subject: Accessing Informix DB from Linux
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 29 Jul 1996 09:12:43 +0100

[slightly off topic - I apologise in advance!]

We're building a DB and application suite based around Informix on
Solaris boxes (using DBI/DBD and Perl).

We'd also like to be able to put some of the peripheral applications
on Linux boxes, but Informix does not make the ESQL/C package
available for Linux, so we can't build a DBD module for perl on there.

Has anyone any solutions for this - or ways round the problem?

       Nigel.

--
[ [email protected]   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House          Tel : +44 113 251 6012 ]
[ Melbourne Street, Leeds LS2 7PS UK.      Fax : +44 113 2345656  ]


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19566-0@oink>;
         Mon, 29 Jul 1996 12:28:46 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838639559:09243:4; Mon, 29 Jul 96 12:25:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa08843; 29 Jul 96 12:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id EAA20675 for dbi-users-real; Mon, 29 Jul 1996 04:21:31 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id EAA20671
         for <[email protected]>; Mon, 29 Jul 1996 04:21:29 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa22357; 29 Jul 96 11:21 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id ae02022; 29 Jul 96 12:18 +0100
Received: from toad by oink with SMTP (PP) id <19413-0@oink>;
         Mon, 29 Jul 1996 11:47:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA12660;
         Mon, 29 Jul 1996 11:47:36 +0000
Date: Mon, 29 Jul 1996 11:47:36 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: Running DBD-Oracle compiled under SunOS on Solaris
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 1532
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected]
>
> [Tim Bunce:]
> >> Oraperl test application $Revision: 1.21 $
> >> Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: ld.so.1: ../perl/bin/perl: fatal: relocation error: symbol not found: _sv_undef: referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at /local/www/tools/ub/perl/lib/DynaLoader.pm line 140.
>
> >That looks like you've built it using Perl5.002 or earlier and you're
> >running it on Perl5.003. Use the same version of perl on both systems.
>
> I've tried with 5.003 on both systems now. If ran with a SunOS perl, I get:
>
> Can't find 'boot_DBI' symbol in ../DBI-0.71/blib/arch/auto/DBI/DBI.so
>  at ../DBI-0.71/DBI.pm line 32
>
> If I run with Solaris perl, I get:
>
> Can't load '../DBI-0.71/blib/arch/auto/DBI/DBI.so' for module DBI: ld.so.1: ../perl/bin/perl: fatal: relocation error: symbol not found: __ctype_: referenced in ../DBI-0.71/blib/arch/auto/DBI/DBI.so at /local/www/tools/ub/perl/lib/DynaLoader.pm line 140.
>
> Someone mentioned that the problem could be that perl uses
> shared/dynamic objects. If this is the case, it should perhaps be
> possible to link something staticaly?
>
> The perl5 SunOS version was compiled on "SunOS 4.1.3_U1 1 sun4m",
> DBI&DBD was compiled on "SunOS 4.1.4 2 sun4c", and the Solaris perl5
> version was compiled on "SunOS 5.3 Generic_101318-59 sun4m sparc"

You've probably done one or more things wrong along the way.

Having said that I don't think a DBD::Oracle built on SunOS4 will
work on SunOS5.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20612-9@oink>;
         Mon, 29 Jul 1996 15:47:19 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838646833:22942:7; Mon, 29 Jul 96 14:27:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa22867; 29 Jul 96 14:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id GAA20845 for dbi-users-real; Mon, 29 Jul 1996 06:22:44 -0700
Precedence: junk
Sender: [email protected]
Received: from gateway1.srs.gov (gateway1.srs.gov [192.33.240.10])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA20841
         for <[email protected]>; Mon, 29 Jul 1996 06:21:47 -0700
Received: by gateway1.srs.gov id AA15340 (InterLock SMTP Gateway 3.0
         for [email protected]); Mon, 29 Jul 1996 09:19:03 -0400
Message-Id: <[email protected]>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
         Mon, 29 Jul 1996 09:19:03 -0400
Date: Mon, 29 Jul 1996 09:18:25 -0400
From: James Taylor <[email protected]>
Subject: Re: one connection, many "clients"
To: Tim Bunce <[email protected]>
Cc: [email protected], [email protected]
Mime-Version: 1.0
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.4 sun4m)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <[email protected]>

Tim Bunce wrote:
>
> are _really_ going to take so long to process that you can't serialise
> them in one daemon then have a pool of daemons and forward the request to
> the first available one. More complicated but much faster than forking...
>

Does anyone have any sample code of "pool management" that they would be
willing to post?


Thanks,

--
---
James Taylor              | All opinions expressed here are my
Net: [email protected] | own and should not be interpreted as
Phone: (803) 725-5323     | representing the views of DOE or WSRC.
---
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23615-0@oink>;
         Tue, 30 Jul 1996 00:34:28 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838661167:05164:1; Mon, 29 Jul 96 18:26:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa04080; 29 Jul 96 18:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA21423 for dbi-users-real; Mon, 29 Jul 1996 10:20:17 -0700
Precedence: junk
Sender: [email protected]
Received: from thurgood.uscourts.gov ([email protected] [156.132.54.1])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA21419
         for <[email protected]>; Mon, 29 Jul 1996 10:20:09 -0700
Received: by thurgood.uscourts.gov; id NAA17252; Mon, 29 Jul 1996 13:20:04 -0400
Received: from unknown(156.132.13.2) by thurgood.uscourts.gov via smap (g3.0.3)
         id xma017232; Mon, 29 Jul 96 13:19:48 -0400
Received: from pc4cisb.ao.uscourts.gov by pc4std.ao.uscourts.gov
         with smtp (Smail3.1.28.1 #8) id m0ukvyZ-0000GqC;
         Mon, 29 Jul 96 13:19 EDT
Received: by pc4cisb.ao.uscourts.gov (Smail3.1.28.1 #9) id m0ukw2H-0001G2C;
         Mon, 29 Jul 96 13:23 EDT
Message-Id: <[email protected]>
From: [email protected] (Bill Fausser)
Subject: Help with Uniperl
To: [email protected]
Date: Mon, 29 Jul 1996 13:23:16 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL22]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 422

Hi,
   I supporting and old legacy Unify5.0 DBMS and I ran across UNIPERL
written by Rick Wargo.  Now I suppose that this is old and may not be
supported anymore.  My question  deals with missing files.  I ran the
makefile included in uniperl-1.0_tar.Z and found that I was missing
useruhli.c and uperl.c.  Do you know where I can get these files in
order to make the uniperl executable?
TIA
Bill
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23620-1@oink>;
         Tue, 30 Jul 1996 00:35:10 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838661179:21147:1; Mon, 29 Jul 96 18:26:19 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa20292; 29 Jul 96 18:25 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa05220; 29 Jul 96 18:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA21395 for dbi-users-real; Mon, 29 Jul 1996 10:16:08 -0700
Precedence: junk
Sender: [email protected]
Received: from paradigm.webvision.com (paradigm.webvision.com [204.33.249.66])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA21391
         for <[email protected]>; Mon, 29 Jul 1996 10:16:02 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id KAA21093;
         Mon, 29 Jul 1996 10:15:50 -0700
Date: Mon, 29 Jul 1996 10:15:50 -0700
Message-Id: <[email protected]>
From: dave madden <[email protected]>
To: [email protected]
In-reply-to: <[email protected]> (message from James Taylor on Mon, 29 Jul 1996 09:18:25 -0400)
Subject: Re: one connection, many "clients"

After re-reading the original message, I realized that my server-pool-
manager daemon was in C, not in Perl.  I only have the traditional
fork/serve/exit daemon in Perl.  (I'll have to do a version of the
server-pool daemon in Perl since many of my developers prefer Perl,
but I haven't gotten around to it yet.)  Be that as it may, I'll post
what I *do* have: C routines for both fork/serve/exit and server-pool
daemons, and a Perl library for fork/serve/exit-only.

I use these routines on Solaris-2.4 (x86 and Sparc) and on SGI
(irix-5.3).  The server pool daemon relies on semaphores to keep track
of the number of active servers, so the code won't be of much use on
machines without SYSV-IPC.  I got most of the ideas (and some of the
code) for the basic daemon from _Unix_Network_Programming_ (W. Richard
Stevens, ISBN 0-13-949876-1), but I did the server-pool-manager
myself, based on guesses about how httpd works (I was too lazy to
actually look at the Apache or NCSA code).

For those of you who'd rather do it yourselves, it's pretty easy.
There's only a few things you need to do to make a well-behaved
daemon; most of the complexity is a result of trying to do the Right
Thing on different systems.  Here's the main things to do:

* chdir( "/" ) -- you don't want to tie up any filesystems with your
                  cwd.
* ignore or catch signals
* CLEAN UP AFTER YOUR CHILDREN!

d.

begin 664 daemon.tar.gz
M'XL( -;M_#$  ^P]:W?;MI+]2OX*Q&D=R95DR<]MG.36L11'NXZ<(]EM>F][
M=2@2DKCF0^'#CK?-_O:=&0 42)'.._=N*YVFDH"9 3  YDVYM>U8W ^#[6^^
MW*O=WFL?'N[#>WNGLW.([^W.WAZ]R]<W[8/.X6'GX."PC7"=W=W]PV_VO^"<
MLE<:)U8$0SIS_TZX&SZY=F,W#"KZ<14[NVUZW]L]^/P3_3*OEMK_%]85G[H>
M_P)CM#OM]L'!7L7^[^SOM'>R_3_8Q?[./D!^T_X"<UEY_<7W_[YYGZFM9],P
M8@%/;L+HBHEC$9OWS9,3PS >&S/;AH_R\_??FR>O7F6?A\>#L_Y3_!99@>=.
M3+/;>]8?]$;8U.R.^J<7O[SL/;X.7<<\Z?:>7IX^.SL^'6'GS#1/Q!?X]FU-
MZZVS;VN23!U&?A^@5Z\4W6H@\ZQ;00JZSH^[L) >S<P+8H\UO3BTKWABFJ.A
M6'ML^0N/MVSS_.E_Z@VA^7)X?KIL &K]IX3TV!#,;-GL5Q-0##_U$K?0)KZF
MB>L5FOQX!H,!+1HOHQ66T I7:84KM$*3M@HHP49)1,LT+<]["/R /N06+@7X
M(3\\-* 'AL<>!#"1<2?TK2L9W S9MS^R'!2^*7X2+6R48R 84AF^T&D>#X&0
M_5K#5Y _<GL>L@TG#!XD#,YG=,O<*4OF',[KFX39H>];@<.FENO%K-EDOG4[
MX>PV3",6W\8)]YD3\AB1 \X=H"Q.;'W#-)K9%S43T_:X%3Q<SH^8 (-$G&VU
M)M85_#^$?Q;;^E_3=/B"!PY ^]?+FZ0^(+1IQ#!DD[,'V_^\S[KG;'!^P;J]
ML]Y%CUT\[X_8&1Q,,>DKS@0Y^1:S,&!NTMIN?/NM\X"V\E&.-GN2?34-XM&#
MCQQ"4'^BTQ.;W'P!'(!S+-E#GW0P\R,'--6]><C4E8(IL.TTCK:]T+:\;3B?
MVR!UFO@>+ZS(;L9IT(Q#SXK<>*>UM[W3.FSM;+N![:4.WXX3QPU;\XQ(UGX;
M;T^YE:01'R<\3F(-YJ,&2@,7QOI4*CBMY';!XXHI^Y8]+_9_]$!N;(T=/JT:
M*^8>MQ/H7.E)7)]_Z@0*-'(#NS,WF(9E(^/ZH;L",=L#*<$^ X_ $$@^!QV
MLORJ]9(R*5LNZ%T[#*:5"[ZQW%*\113:,4\JL-R%7884<[^DV0NK!E_I_-@+
M:D6?3.7::A+4I]+A4114B0O5E^N '7+A'WROXE(2<:N,L=O70>A478%D#-._
MJKH!LJ\,T;ERQ]Y5U?5QO*I9>IPO7I?>]30*X@0U2SGFPHUXZ7'RTX2_J4"*
M;JJ6!X?06LQ!J59@PG5PKJVH#-6.N%,E&-P5=ES[,-9LS(.TZEHN0L\KG6(2
M^:"U/H=4F-PF/(P<'JT0T\Z7,U&SR'<1 ;=<&^3X4I#Q'S=;=Q98WN=8LZ)D
M*OOT(=.LWJ^DZC^?@EAKZP_1UO_6>C@S'ZHU=!F:KJ2K-'2I?,F4=(6&+M_F
MM9)>*^FUDEXKZ:^CI'.1I(<L'Z3Z.EJTJ+O7:G:M9M=J=JUFUVIVK6;_+&I6
M3\XH?SA+^ZQ]XK6R7BOKM;)>*^NULEXKZW\794UE$TI74SW&VA]>J]BUBEVK
MV+6*7:O8M8K])!6[KO]9D?%EF%^H_B>K_U:1_B]08TSUWWM5]=_MG7VL^3_H
M''3VVKN[^SM8_[UWB/U?8"XKK[]X_??VELFVLJH,^(Q?)[?0<LV9;SD.#]@C
MX,V/V?I;=N@_02@[7-Q&[FR>L)I=9YT??C@H(F));H;'X "V&+,\CQ%6C#0B
M'O/H&@0V8VE@I0F(?/=_N,/2F#>8 U<\<B=I M@-%EL>M(41\T/'G;JVA<U(
M V[ W 4)"%3D_/M83NKS(*$*X22R'!>!+8]9MLT7R?8TC*ZV:>1M_L9-U/HE
M^@G,,2;4VA8!174V30,;:; ;-YE3G[C*[%F7EHDMMN?BF+!V6%:,U+;-^_+:
ML4<R/O=DV;2A9->&"5(PD<Y&#1B59 /7X NL/8E2.Z$AD3K;:B 0C>3QH,[J
MYN^F 2T&&[''<C7 QQJK'YFF<3/'DN3:O2ZUGWKAQ/+B5C<,>)T!'B'BB\5'
M\*TPUM@-#+FR(QT6FF!H)&^X4U;+TQYR(<L$?4.8B#5V=GXZ[@^>G3?81B0A
MP+O9P%D:QELD):C"&F*8?CBMB8'KV3"U&/K$)M;8J,%J*YRI;PJ<!MN4Q.IU
M]N0Q:\NY$)<6K@-T\!1(%@GJV/PH@\Q-NS<<PJQM"TO($>\A^\Z7$\=9AS$P
M.Y;?WS+NQ5PG^F1)M!0VWS=2=/-,/8%MQ&EW1"<>W-KRA +)N]FAN*$&-O.#
MPS3'@C-'BDUP($ EIG0J#+4<,G_9O<>LUQ]<#-D??S QRRZ?I+-Z!=_$CC'
M#2.-<P@M#V=-; EJ.?A4([:-DWJS _LH9M%@/P_.GQ\/3FE#@:$T%DY)]..<
MVJ7S*3M_-C'S.X<A&[G3D$ME[3??M??>;#0$HL$8<B3KE0<5_XLXFL2L?62^
M-?_50OP37D7]/_\"8[Q#_^]U.@>D_P_:!P!P(/3__EK_?XU73O_/_R3ZO\MM
ML,\)("YYJ(UAN@TL I[IZ&D SA$;CT7_>#X>F_>A!5QZ0V\T.F:FO8U'6O#N
M2:%9N!+%5ND8K !+GZ#8+BS^8BM9]"LD^"I="LKH;3)PD0.341>]30]E%-K1
M!<VA2Q_NB6DB(Y"'4@&!2MG>8DUX,7!.T#H"/9.$<&:") H],I?D9A 0[$*I
MX?'4#9QC^ )R-Q4*"MZ.#"0.=.$S$DWF;HSMS)HF/&+A@@=N,%,&&I*>"=R9
MACO3<&=WX0I-^,)ZTW<\?B2P,?P0LPF?XB-A0I6XT,LPB!FF!;PA?RW1X*0S
M4)X^8B5S*Q"C!ZD_P:&G<!M>IQCIU?'=X&48>D3 =P/73WT-P0*;%&@*$T!'
M&X%02S+$)8*"A)6CW"O,=#F2]>;=(ZD-%IMK17CM@13\@PL,'W@$A\.[76ZP
M& ?M3KD+[HP!%X!Q0%$<$U=.+5S@M9[!?=$PE55)4QSU3Y]?OE3XB!YG^+8%
M\H,I$U.C0":4&-R5X&X C AL6(#<2! 7>#KALH+9]#=$?BM-BA-Q>,$>,H78
M%,W9H5Y8 ?=:+2%4^!MD0 '38#F3+B,TTA;O!B3-&!J#=!31;R!1ZO#$@CD&
MLX9P.>#TH@DBI"!LRP2L1^:#ZV'-E&B3LY!6NVX:96,?1S,A)/'LH]!HM8(0
MGY.TD9)XT/(V3'$_KEU'/E09W@0,8&<P&:3A<QLVPHW]W*C EQC6,;<BP]@2
M0\-@UVW:/Q 65NHE#\$X%%T;E?,]"V?GBR2/A:;<R?E@5(GTS+)1R-\>%;&Z
MQ[T7YP/$,Z]#S\*8)L,'DPTVM1++JVG39EM^#,P&CI"7H ;(^6G"0UMUT*"5
M3&V%I)53YC#EOQQL?,4]GH#.L2-^4Z/983?-$KHG'/@^QJOHVGRUFP?.:J?<
M;'4ME?!5;FU,^Z;&USW(C,!]H M' =AY3ZA&IZ;KQCH2^%=;,^O7A[XR^S]7
M[OMYQ[C;_N_L'G8H_G>XM[MWV-ZEW_\XH/?/.XWRU]K^1_FM;_Z?Q D8D:G2
M7(!-TXR36X\7O  )]L(*0%V"]D= W42ZF;OV'&8?WX!Y8;%XP6T<L<1<0S(R
M!AA0/ $6<E$>/005O[!B_#T M#%\*T:C,XLD-HA2B?65&89H' G1+FP L"%S
MAJ>P8FGJ).Y!)<W#%*P:*[Z"9@ZC1LH.=X.44\ %K0PT -0HA<BE'J94KM+S
MWO'PXFGO^,*\;TA'*6LR.FVI+,K< A%GDH&FM\(BZ\8V6/@F>DW X*S)V!+V
MFNH0Z@DVUD?+23EH@Y/G_;/NL#<PV@99=L*,L\,T(.:J3"*M2>$\O1S]8A@=
M@3!)X]OWP>H/+GK#L_.3_S)V!")I4TQAYN'5?(55$?";L:;W63ZTJ]2_".A*
M*\,L&@L52%K<USVZ(P ,E]S &P$F6H(KY?85&FZ&L(Q7HK?2YZ!0J%F,0JK.
MQQCZ*D,6;@0@E^*5$)0(C\L12@?)W)OW'V:)4CV0"-O>-=R3(JZ8_ <-)_TL
M;5_@\J<+>0(=#B??720AB*#-Y;F*Y6ZI(' MNR5LJ^Z#/ WM6OE ;$L%TS,4
M$0/&=4IR%!Z7YN\&>JA !RQ_% HKLQ*Q6^RJN70*F+NZ"W*-S/W^>^0-#?,/
M][>6B/*V<?$4SL>[C-%^[L]X4F/]ER?CE\/^3\<7O0;;;;#1N#_\^=4E1GQA
MCLT.TE+3%+%X0%LR*0LM+UE+3B[XS8D+1F]!Q$N6WKV4I2>M%J-?:$&I(4+V
MV:@OP <&]RA</&0.N&YL@C*"?+G;V$;=5^,N26)0*U14A1H-/_OAHHZ1@83(
MW+BH)D6<^09URPT7/U^3>>\425 *"QU7#AAIC(!S4,%$A6!$$B 640?H!>9)
MUQETE3@$@@R0B'PWD+$SG $1(4D7I0N145/+B$-%BWXQ!P^Q4$  !*Z@8.][
M99_0!@"9A^'U?"*BF(<0WP,ZE9'(%''?3N! X%%JL$P;--AI[^*GXS.9[C -
MVAQB"/XD39P"5V[X [!39B$Z;KX,Y"#1* T"$I!B!714ET-6B1R97P+8>QGP
M:D+DY^/AH#\XQ:0(<E#NG<A"@*.YW-?6ADI-20Z^[PRJ#RAU?C#KWJKD7)X-
M3RH$FYS%%)U0TM<1MQQKXG&QF&?=\=][P_,:VU3M<ACH&/4N**M7[!*'@R:,
MMZ7&!.RH__>>!@PKN#P[T_\OT7'>BL1CUKEK3]0]D6;1$;N?;9&5*,-,Y?VH
M6JK&.FV9%]*R:2H>P/U).C7(POC'SF^" _2E_5L+.L=@XL&RR!PY*O:%"^AJ
M+CE>7X&8>C.IAV5[YPZJ'8TJ*Z7:6:5J>5;DUY;FWNJ&@,A2!PB)--B.A)&H
M[=)-P'0H6E!P![;Q'H!]ST B2&TC11'9970!2U-X^OTA4(S3B/MC!2'*5Y7&
M8ZQXU)$URV->";9Z([)K=,<=RR[,Q^<VY1WZ("5K+#5ZIFH?HQRMLPG<D:ML
M&]SJNUN1OTT##]PPT#S2&G"YHRZ!2G67Z/CW3,]^=':V,CEKEM$4R0H] OXZ
M=9./L696V'R/#O05*,L:TSL:*DI-4V-F/L&?/VOM!ED_PQ?]+O7J^649O#M!
MYX04L(S&9[(87<&EH4"F!>@VT'"6@)>9 R0BG$K0^L]@S1@F=X-\J4L-KI'N
ML8IN?HVE+9@(('<[<SHCV**%*W)MRO.6-Y]@8"D(#AQ351L4347?@FUNLGN%
M4"<<?U'7T!:8%),T2^.AF>OSOIJ,@">KP'E9 ( 9\VL!:[()3+;29<CVIA_
MW+*2(Z*YM$MI(?3CEZ6A6UQ)06&$"]05X:)$G,M&DN.=Y7<AM4>]%^/+0?<<
ML7.R>3-<-%A'6!3ZY:"?OX3;01-3L06Z%&]-,>62</+'3[CY^6:,ORA8F*_F
M=YL?XG:/EJ=)>-(Y&Y2^YLN%5%T/R-=,F N9?5?-$(8"E&[#LDT>QUHQC#AS
M1T)^J0'N985+*C:_-)0+.R 25F/B(1D:>H.V+5D4XZ@,9KE+JWV:82"O.)D^
M(A;RWVF,CA9X S$72KO<2-C4R<H-+AH+FJVP9$ ):U?Y2;\ JGE(&YG!(IE+
M"F)IJ&49CTJV"B$KIJM,.+TI;\@IP7-4#I5=VK+.PGT@\RA-0M^:P9EVN)(O
MH8@Q"A[K9'+&7VZ72Z#*9[)J 9("U_=/ R=;3]\ADK <4*G4X.B]-TU<$:F@
MQ?G0Z^N$1N E5O:JEB^A3@=A:;#<5517K*D#7V3%%!CRUR6M6!Q0SYD@'V!3
MB*-88KPIQA9L*U6DEYEU-.1'U:$5ZK_$@^B?.<?PCOQ/I[-#O_]]L+>[O[^W
M1_F?_8/]]>]_?XV77O\E-O]/DOZY5#5>I;]J+G,_84PV[;(:"09F49AB!13X
M:S'SW"FZ/=,H]-GX,G#?C >"TOBE*$\!RWHV1EJUGUMLZ&+5@,-&"9K+("S[
MHZ<#UFYV=IL_[/WP'X<'&,&4)>I88!#,@#:%GN(DG4[9A(O*%:P$\<&,#QV:
M'?<\#!X^'77%1$:_C'Y2OV>-M&+.?=1XM,(@O*$((GMY/NJ_8G-8Q"Q,$DYF
MO!NQ*9!"_P=D-54_!;/*2G5#:';D'S3][@8-X$P#9/O;1B[TAV4G&/&KS!JI
M(A>5(Q$^B*@Y6$WC&.UBGL;HE.1@C!W3O+.Z!@0E",_?Q2)4(9E0F\?/0%_T
M+AJR#"D83RW?]62PX0=X-8RL:Q'*,BF#1'%_<-SM#L?'@U\(8&QE1%$(@V?:
MW)'(6)&&'5G#3#;LM&6#U!NB<=D&&H::.JI)IEQTL&5^ 5OWE\BJS334*!AJ
M)2C5,-0+HV323.A!+';*"EUT3UV8 UI!CU[/ YU9$<]1'EF4[@! 5J_S!WU\
MV>\6(%6]CH0553K+2BM1P:-L!%4U1B=(6OWRCPP@Q7FZ&$L08?QCI5G]J 02
M.M\3$N/B[PDJ3*3W@[VQKGC%;.72+] 3I8HT61!'-]>"Z^=YS0G'.+^C"G@9
M[&VBX$5VF02$J##-_.F5\I[,^Z'\ZI'VQ=6_"+NCK$[3$C6:&62X2):0'HD<
M:/64[V3/'1<6N[&]L30@J;R+?M\?I#:E$H);AK\P'],/^,<R%+]B8B[HJ0),
M" FBOVYL_PIDI;DG;4=Z:*$NG:L4.',EG U#RCC*"=!@X@&?+?[&LA/O=DMP
M,@2!U@?M(R1$EN?I3U$(WG!,P@@C$[4?9IO >Y/69P<3.@#Q(,;23Y6^$:5\
M+2T%.^/)@J*#=1&D1JD=,A"X6, 6TU\\L":8XL<)89^LT_-A0(=;K D*6MQ[
M-;E9(.I,N<KI>#"U19IL Q5\HRI+<:%B?2;W] @=B-#[[A13^'AH+\XOT4-R
M9S%FZV0+1;G&_=,!,E@F_G6<_J"(TQ^\ V=T\;*  RUE.-)NKN4\]'?Y)+E'
M?;+C@\CE'H>I)8^>TT7-?(L9& L+MJE*0$E/7US\@D6@>O((EK&810NYN2*/
M64AD"G,@3WCI!)EY=CR_S'&#:A%\/P4Y3P8"CL4\;CG@!<'9P/-,Q_8N7LDG
M?-[!K9P[]Z(W/,T'.$1EM!" U1X<W4*&9_MA^8D#WJC'I, 4"02:UH37H-@&
M$Y9M!;]K</ZL?]:3CI:$=Z5P(+$@/-VWR"!9 JLRZ:3=&CE5UBBJJ_H1ED1*
M'EBNQVI_JTMV:QMV?#9\T2@(>Q$$+FSJO+H?3)^&KK"*_6 8P1BZGBI"G#P_
MZY;-0B7C,59#JJ+&E(7$1F!KC4<7P]XQ$&_C@9%E(?GCBYR3R%H6/B3=C[ZU
MU_+&81""D2O8C=^%7M J2;"(&T@ %GC>H_.S,0X.DQB=CX>]RU$/+:]&353F
MUC<!K"$K&^"C/,GLCS_PJE03.NL/3GL:%4_1\-1=6%D;EJ;+&BV@B(EQ;8D^
MJ"9DV":J0 KC2WKX740$\%-+LS(?LWD"1#(FYX'(WLQ \E$#9<4N 7.HXH,P
M204%[TX*.KRJ")D 0.6CE6*-^056, WIJ$=A-7;A$)1+"FB0JHJ5G4JZ EFC
M*&/U(ST"+ TLL]P0)&MGI<B'+.#5(*Z,*X'SX<9S$7 &&2]+Y1K+FC\IZK+Z
M,RK>*&#9:82QK26V.R4KA_3$:GV$O#I:Q*O\*5L%5\* <OLVSP!-[.:-7&F'
MZA,HSYH+X80/7'#WFLH8*$()*HD[K@7^ZVW.&FM+2VQUNA5&=OF&+4M(*NHK
M1!)8B<8/G5[YHN5Q**&9E<!LZN>A>E>7N:/C@ELC_'<*J$>\20^HX /I;A)S
M;PHV_F4LC$@!KDPXI+1$5(;FLG"GI P)35TR*57-#_0!RV1 Q<X>8B_L4J7/
M OOT__IAV+_@*XO_JK_!]07&>,?SO_N'!VT5_SWH=/;%\[^'A^OX[U=X"0F4
M_4W#/T?L]U@N:+7B_^X?Y'BD?E6H_$<ZEG#9L[#+E'/N2;(4'\'[O_:NMJ>-
M) E_MG]%QYXP8];&+T!RLB_9C;+1'E(.(F!/)P%"QAYBZXS-,C8)(NQOOWJJ
MJWIZQAY([KB<;H\1R'9W]7M7=7?5TS61W"'KLXZLEH.QEZR92J3G"A<?ZK<!
M\>J[82D/!HIG,\+'] I&*GS3BP$.6=X?BT&<JC6H2Q6YCNY'/+V^]"WB5IEC
MOW.!LF5WJH8/:L>SKV%L3* ^IRR3+ 0TLL>!C_$<&W.I@"VY,NQ> %G,NS[8
MTA-:FP8CPSM[+,+&&I;#8=AUJZIJ)OOSV3A"+2DON^JJ84Q377 JK7M[%4F2
M(6EE2?0"(07*T*+:1ZT3IU/*JD,EMJ?A.>7F^[VW;]XS"%H,CEQLS?R8O268
M#B[MAKONVJ&&U-(,6GD A#<;RZLF(P;W_/**QO1<3\^ >8&2MM:).9*#SLGQ
MM((#?$4//OK;F 90X30 C4E\'4\ Z]E@ !Z=DC@<=T,-QWEI+I3.?X"W!72
MVTMLVQ #+M1N7MKDOK1YCSZ2EI%BC@&EM]K26\WTGA"##V5;[J&I_-T/ Y&^
MG64]U2HK4R71:(9CS+RT/HJ7 \W9[.,B.>4H>WW6!4V/VG\Z895#Y>CSY\\;
MWO\)WZ!-$RS.CSK;+QBQ,(HMWZ& LQM4-C)Z H[6HOQ1[Y0Z=+TFOG<:K_6H
MZ.,D[1%0TKEX_T1KM^PHV2GC%E/L51E&B*+'EP A1%$N6)RVH)QOJ!OS/;=S
MS>N]DG[?&)U.^Q>(UHYDK(>R@ 82$QP]7VSHWTF%!O,2" W[V9;/CGQNI@*@
M",7859"2FUZLHGM.TJYN1G'CM53,XIQ<?1;GE,$HGDQF=:+=8*0C )&TO[=O
MM95,(SG^>G>Z:CKOT]SK&'S1+J/"GZYHN62/05P0=?$$!W+ZH0168@-:G9*U
M57T)Y)[HSL0/4,[email protected]$X?$TA(QKD2S;ZBQQ(-:L]*);,0_F
ME[R#PB4O8]7(&#*2 C.&\W/EN[D"6DE<72D2'U5]+0C&HD-IFG*%.RN'>/+6
M9YJ.W^;<2K,O0% EHFM.[R5DQVP%_K+F085]H$T.MBCP=SL&#[N=RM2SE,$3
MVJ!& SWJ86?XI@$Z^97H@(JYRZI82'@4WYJT1_&BRUT\8E]7Q'#!3DSL@3N?
MZS*4]9LRG<]FU(3IC87-"DK9+^-K\F)3/? $-(@)7"KX&K*5KJIR^!]V;OW8
M9XP'SG_MEN!_VIN;N/C-^)^MK<VG\]]W>'S\CWW3_!_C"*B @9SG)_&.DOJ]
MN.>NLRKG6/]L?=>9V6"PN&)U'Q4Y7+#;&,T3C#>:?>(F\RUP@7W[>_%[78RD
M)R[? G?=/X7.N\0'*K S!;"UF0\A)'TI Q83U[Z >//^W?XAQ_$1RZ[)E#*&
M=E\#RGGS.,G>)_W=_]63D__P+O:]Y7]KN[4E\K_SXL5+E?]/^K_O\?CRGP?_
M$>1_L;Q/A3U2_TOB?H6L%Q<>T#XMID(&[VSS3W$\]9QYZ2*@_GKE.C@W1&]2
MR74G3P_#^J%[EHG_;8F9X_\&,,#)(Y<!_G^YO5W$_R\[""/^W]YJ;78Z+8O_
M?MEZXO_O\%2?L7/XL_&T>1E?3<K5<M7X4X$#OD(85/\=65!]!%%0+0,Y?< P
MC9[]?I-TNP>\)X*[&"KE>>;D1T%!)N V5'1$> ?P,*"PP6TQS=UMV%?B%!;<
M>R@-<!N<!D#CWE(=%N,AQS8ZRW$?[XD3,#''=UHKX_?CWVST<JS#$Q<1" B9
MH]LK<W?1V]+=@ER%SR,Q$!1#5[L*@!OB12)SF@DQW]%MULM5UBDS:!,AK;H9
M6VACDT0SC 1B +<>D1B'UH<C'QB  )\?TP:=-N>4#YO'U5NC/14GU@DHKL%>
MS]@X+G6M T!W+19Q73G4,415UXFS_N [email protected][FW@)PL1A;ZOE9''FW3*X
MA::6 :MA,S0US.WA.$[1@!3%[3==$SRK]#*HU27$Z#-&C$)5$QSL_'(; I;)
M0Q'N_+*[M_\N['E1.[M%40>''W)1,(G<F&#97[I75^YQKB6Q\03#K/X!D<Z2
M.S.%DD2!N^+$! XAV:K;)KI:_>77%97Z3]>(M5!Z6_OPYQW&G'H!>[\>YD+>
M[>^+#E<0=$%0-Q]6HN@P<%>S^>SL!KI9F@#SP26FP)<OYH6!UB@[%SQH7<7>
MDG7@-B[$P[>9#%*.MCT#ZIYP$EK=;0T,DD7'K<I $'(N=2>LRZCP-(7"SJO=
M,CA.9VRY9+%D*,+3LE+ U\A':+ ?HA3IZ^KE5<N'GSD6HBHI]LRV^Z]O_OYV
M;W?7#IR=;L!(\GP[7LO@^'M* -R/$ !=Y4.6',W.[N%#)#JMC]<\D!I7(]=B
MZ">9LN7I\M:#P!K\2*9DJ@DA(!R;JO%E:K,'BLAS,5$ME=C@ (V!.EU@4NMV
M@;KMQV-<Z8!:]J'>D<KDVXOZ.*L;^P%8W3XP4V'+V]IKP>E1ZZ2@8TM5,YGU
MQ3W1W[0^/I[V=CD7O^]S&53]O@F"KO,GS%UR9Y<XL9BJ:?9X#8JER*R?#^LF
ML*IOBZXDO@:]>S-)\O"K2731B>RI TN1+A^\_:$<^54EZ2M)G-,&7NCZ@_F"
M'3#CJAC'0Q/6RU(R3/$LQOZ-:..AEQFF3NKW2^_)R4M.4L^"\_X$ZW)VA=-I
MB)!7ACN\9T.FZF(G.Z$;;97#5_%YA'0U$_]FPK=[/UN1C[3WO=RD8%KQHHBT
MWF"\,O$U=3A;-O@M3R;+M:CT+4M@#NJ9NUZ>5+G7(T70*E(G+SQ:#E-BM?BX
MKJFCI18J[UY\$OPD=IR(NY5!GPA[];M)FM'QIQ]J&^O-H-VTF/W!:'9QR63\
M<^W6SGOZ?7<7V>26&;FS71QW>05=7K&&F6G\>>ZN0#S*1H#;PCYIN#7V\J!K
M.1>:3I$?!*OAFZ(DQ8%WKX":1WU+#5OWNS#+?9YQ26:<5Z@P\R'[ T_@B6W,
M\"%!$5EC3!=SGK&5,74O_(-:6RQ%TU)#<8LI'9@HFVP$MIO]L>P*<:0A-@[A
M>294CN'L3X6O+-]$04Z T$";GTZ%A0"OL1L!]AU'M)"/7T106JE%@9!:>7NQ
M%>?",YP1I?HS$;^V Y(FEE)H+O?AV.'<"/7OYJ*)ZC?'L][2BU!L-\+(G9=N
E@L"JEE-1F6DW9H>'9?EO'XN?GJ?GZ7EZ_O#//P%9M5][ *(  %!L

end
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23620-20@oink>;
         Tue, 30 Jul 1996 00:36:31 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838665549:11043:1; Mon, 29 Jul 96 19:39:09 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa10616; 29 Jul 96 19:38 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa04589; 29 Jul 96 19:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id LAA21620 for dbi-users-real; Mon, 29 Jul 1996 11:31:34 -0700
Precedence: junk
Sender: [email protected]
Received: from philabs.research.philips.com (philabs.research.philips.com [192.207.123.2])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA21616
         for <[email protected]>; Mon, 29 Jul 1996 11:31:32 -0700
From: [email protected]
Received: from wizard.philabs.research.philips.com (wizard.philabs.research.philips.com [130.140.55.5])
         by philabs.research.philips.com (8.7.1/8.6.12) with SMTP id OAA01270
         for <[email protected]>; Mon, 29 Jul 1996 14:31:27 -0400 (EDT)
Received: from loopback by wizard.philabs.research.philips.com (4.1/SMI-4.1)
         id AA14371; Mon, 29 Jul 96 14:31:29 EDT
Message-Id: <[email protected]>
To: [email protected]
Subject: Beginer's Guide.
Date: Mon, 29 Jul 96 14:31:28 -0400


Is there any good on-line info on writing CGI scripts to access remote
Oracle Database servers??

Highly appreciate your responses.

Thanx,
Sudheer.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24879-0@oink>;
         Tue, 30 Jul 1996 02:48:03 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838686973:04392:3; Tue, 30 Jul 96 01:36:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa04137; 30 Jul 96 1:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id OAA22020 for dbi-users-real; Mon, 29 Jul 1996 14:26:58 -0700
Precedence: junk
Sender: [email protected]
Received: from bock.ucs.ualberta.ca (bock.ucs.ualberta.ca [129.128.5.214])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA22007
         for <[email protected]>; Mon, 29 Jul 1996 14:26:45 -0700
Received: from maildrop.srv.ualberta.ca by bock.ucs.ualberta.ca
         with ESMTP (8.6.5/UA3.0.0June95) id PAA16127 for ;
         Mon, 29 Jul 1996 15:12:53 -0600
Received: from gpu3.srv.ualberta.ca (gpu3.srv.ualberta.ca [129.128.98.13])
         by maildrop.srv.ualberta.ca (8.7.5/8.7.1) with SMTP id PAA83804;
         Mon, 29 Jul 1996 15:12:10 -0600
Date: Mon, 29 Jul 1996 15:12:03 -0600 (MDT)
From: Hayashi! <[email protected]>
X-Sender: [email protected]
To: [email protected]
cc: [email protected]
Subject: oraperl
In-Reply-To: <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi,

       I've currently installed DBI0.71 and DBD Oracle 0.36
       the installation went well but somehow I can't find an execution
       file name "oraperl" anywhere in the server.  can anyone tell me
       if I'm doing anything wrong? Thanks!



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26330-4@oink>;
         Tue, 30 Jul 1996 05:34:24 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838694559:20802:2; Tue, 30 Jul 96 03:42:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa20481; 30 Jul 96 3:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id RAA22661 for dbi-users-real; Mon, 29 Jul 1996 17:23:28 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id RAA22657
         for <[email protected]>; Mon, 29 Jul 1996 17:23:24 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
         id af17286; 30 Jul 96 1:12 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa10238; 30 Jul 96 1:09 +0100
Received: from toad by oink with SMTP (PP) id <24658-0@oink>;
         Tue, 30 Jul 1996 01:08:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15483;
         Tue, 30 Jul 1996 01:08:51 +0000
Date: Tue, 30 Jul 1996 01:08:51 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Help with Uniperl
X-Sun-Charset: US-ASCII
content-length: 579
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected] (Bill Fausser)
>
> Hi,
>     I supporting and old legacy Unify5.0 DBMS and I ran across UNIPERL
> written by Rick Wargo.  Now I suppose that this is old and may not be
> supported anymore.  My question  deals with missing files.  I ran the
> makefile included in uniperl-1.0_tar.Z and found that I was missing
> useruhli.c and uperl.c.  Do you know where I can get these files in
> order to make the uniperl executable?

useruhli.c sounds like a Unify file.

uperl.c sounds like you mean uperl.o which is produced when you
build perl _4_.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26330-12@oink>;
         Tue, 30 Jul 1996 05:34:48 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838698536:14036:5; Tue, 30 Jul 96 04:48:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa13749; 30 Jul 96 4:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id UAA23134 for dbi-users-real; Mon, 29 Jul 1996 20:43:42 -0700
Precedence: junk
Sender: [email protected]
Received: from Bagheera.junglee.com (Bagheera.Junglee.Com [207.104.26.43])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA23130
         for <[email protected]>; Mon, 29 Jul 1996 20:43:41 -0700
Received: from Bagheera.junglee.com ([127.0.0.1])
         by Bagheera.junglee.com (Netscape Mail Server v2.0) with SMTP
         id AAA14907 for <[email protected]>;
         Mon, 29 Jul 1996 20:41:59 -0700
To: [email protected]
Subject: getting the types of selected columns
From: Ashish Gupta <[email protected]>
X-Actually-From: "Ashish Gupta" <[email protected]>
Date: Mon, 29 Jul 1996 20:41:59 -0700
Message-ID: <[email protected]>


using:
 DBI  0.71
 DBD::Oracle  0.36
 on UNIX - Solaris 2.5.1

I have a select stmnt of the form:

  select * from foo

I need to determine the names and types of the returned columns
to enable appropriate handling. The names I am able to get by doing:

  $sh = $dbh->prepare{}

and then getting $sh->{NAME}.
Is there some  way of getting the corresponding types?

any help will be greatly appreciated. Thanks.

Ashish
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26386-2@oink>;
         Tue, 30 Jul 1996 05:43:39 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838701740:01866:2; Tue, 30 Jul 96 05:42:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa01607; 30 Jul 96 5:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id VAA23201 for dbi-users-real; Mon, 29 Jul 1996 21:34:54 -0700
Precedence: junk
Sender: [email protected]
Received: from online.tmx.com.au (online.tmx.com.au [192.150.129.1])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA23197
         for <[email protected]>; Mon, 29 Jul 1996 21:34:52 -0700
Received: from bha.oz.au (daemon@localhost) by online.tmx.com.au (8.6.5/8.6.5)
         with MHSnet id OAA09586 for [email protected];
         Tue, 30 Jul 1996 14:34:48 +1000
Received: from rabbit by wurrup (AIX 3.2/UCB 5.64/4.03) id AA34899;
         Tue, 30 Jul 1996 14:30:53 +1000
Received: from booey.bha.oz.au by rabbit.bha.oz.au (AIX 3.2/UCB 5.64/4.03)
         id AA16826; Tue, 30 Jul 1996 14:34:02 +1000
Message-Id: <[email protected]>
Date: Tue, 30 Jul 1996 14:34:03 +1000
From: Andrew Berry <[email protected]>
Organization: BHA Computer Pty Ltd
X-Mailer: Mozilla 3.0b4 (Win95; I)
Mime-Version: 1.0
To: Ashish Gupta <[email protected]>
Cc: [email protected]
Subject: Re: getting the types of selected columns
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Ashish Gupta wrote:
> I need to determine the names and types of the returned columns
> to enable appropriate handling. The names I am able to get by doing:
>
>    $sh = $dbh->prepare{}
>
> and then getting $sh->{NAME}.
> Is there some  way of getting the corresponding types?

Try $sh->{ora_types}.

This is part of the oraperl interface, so I assume won't work on other
databases.

AndyB
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26421-0@oink>;
         Tue, 30 Jul 1996 05:52:59 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838702262:06698:3; Tue, 30 Jul 96 05:51:02 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa06152; 30 Jul 96 5:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id VAA23246 for dbi-users-real; Mon, 29 Jul 1996 21:43:53 -0700
Precedence: junk
Sender: [email protected]
Received: from smtp2.interramp.com (smtp2.interramp.com [38.8.200.2])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA23242
         for <[email protected]>; Mon, 29 Jul 1996 21:43:52 -0700
Received: from thor by smtp2.interramp.com (8.6.12/SMI-4.1.3-PSI-irsmtp)
         id AAA22909; Tue, 30 Jul 1996 00:43:47 -0400
Message-ID: <[email protected]>
Date: Tue, 30 Jul 1996 00:34:19 -0400
From: David Silverstein <[email protected]>
Organization: Intelligent Software
X-Mailer: Mozilla 2.01 (X11; U; SunOS 5.5 sun4m)
MIME-Version: 1.0
To: [email protected]
Subject: Oracle DBD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

It seems I need Oracle's Pro*C to build DBD.pm for Oracle 7.2.
Is there anywhere I can download a binary of DBD.pm for Sun Sparc
Solaris 2.5?


David Silverstein
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26436-2@oink>;
         Tue, 30 Jul 1996 05:58:32 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838702663:06800:1; Tue, 30 Jul 96 05:57:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa06538; 30 Jul 96 5:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id VAA23269 for dbi-users-real; Mon, 29 Jul 1996 21:55:38 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id VAA23265
         for <[email protected]>; Mon, 29 Jul 1996 21:55:36 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa07718; 30 Jul 96 4:55 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa04051; 30 Jul 96 5:55 +0100
Received: from toad by oink with SMTP (PP) id <26366-0@oink>;
         Tue, 30 Jul 1996 05:38:31 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16380;
         Tue, 30 Jul 1996 05:38:17 +0000
Date: Tue, 30 Jul 1996 05:38:17 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: getting the types of selected columns
X-Sun-Charset: US-ASCII
content-length: 386
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Ashish Gupta <[email protected]>
>
> I need to determine the names and types of the returned columns
> to enable appropriate handling. The names I am able to get by doing:
>
>    $sh = $dbh->prepare{}
>
> and then getting $sh->{NAME}.
> Is there some  way of getting the corresponding types?
>
> any help will be greatly appreciated. Thanks.

Read
       perldoc Oraperl

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <28323-1@oink>;
         Tue, 30 Jul 1996 11:22:14 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838714852:08294:1; Tue, 30 Jul 96 09:20:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa07874; 30 Jul 96 9:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id BAA23553 for dbi-users-real; Tue, 30 Jul 1996 01:07:19 -0700
Precedence: junk
Sender: [email protected]
Received: from nordwest.pop.de (mail.NordWest.POP.DE [193.100.96.7])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id BAA23549
         for <[email protected]>; Tue, 30 Jul 1996 01:07:05 -0700
Received: by nordwest.pop.de (Smail3.1.28.1 #6) id m0ulAqO-0001K7C;
         Tue, 30 Jul 96 11:12 MES
Received: from hp01 (hp01 [194.15.215.78])
         by megatel.megatel.de (8.7.3/8.7.3/gfd951221) with SMTP id JAA17194;
         Tue, 30 Jul 1996 09:47:47 +0200 (MET DST)
Date: Tue, 30 Jul 1996 09:47:44 +0200 (METDST)
From: Sebastian Meyer <[email protected]>
X-Sender: meyer@hp01
To: Hayashi! <[email protected]>
cc: [email protected]
Subject: Re: oraperl
In-Reply-To: <[email protected]>
Message-ID: <Pine.HPP.3.91.960730094126.17757A-100000@hp01>
Organization: megatel Informations- und Kommunikationssysteme GmbH
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 29 Jul 1996, Hayashi! wrote:

>       I've currently installed DBI0.71 and DBD Oracle 0.36
>       the installation went well but somehow I can't find an execution
>       file name "oraperl" anywhere in the server.  can anyone tell me
>       if I'm doing anything wrong? Thanks!

Always the same mistake: You didn't read the README!  Why do you think
there should be anything like an oraperl executable?

Think/read about shared libraries and take a look on what happens
after typing `make test'.

sebastian
--
   __o     Sebastian Meyer  Tel: 0421/22095-32   | megatel GmbH
 _ \<,_    eMail: [email protected]               | Wienerstr. 3
(_)/ (_)   [http://muffin.physik.uni-bremen.de/] | D-28359 Bremen
~~~~~~~~~~ "To err is human, to really foul things up requires a computer"

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29407-2@oink>;
         Tue, 30 Jul 1996 13:37:41 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838729117:06098:4; Tue, 30 Jul 96 13:18:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa05971; 30 Jul 96 13:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id FAA23784 for dbi-users-real; Tue, 30 Jul 1996 05:14:42 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA23780
         for <[email protected]>; Tue, 30 Jul 1996 05:14:35 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id NAA04365; Tue, 30 Jul 1996 13:06:09 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBD-Informix: Getting column names from a cursor object
To: [email protected] (Josh Oh)
Date: Tue, 30 Jul 1996 13:06:09 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Josh Oh" at Jul 25, 96 05:51:44 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
Content-Length: 892


> Is it possible to obtain column names from a cursor object after having executed a
> select statement?
>
> Here's the snippet of code that works in Oracle but doesn't in Informix:

[snipped it]

> If I run it in Oracle, the @{$cursor->{'NAME'}} returns an array of
> string representing the column names.  If I run it in Informix and try
> to print the contents of the array, I get a segmentation fault core dump.
>
> Is the {'NAME'} attribute on the cursor specific to Oracle?  If it is, are there
> any plans to support it in Informix?

Probably, but not just now. Last I heard or read, there hadn't been a
coalesced spec on supporting accesses to metadata. And I don't have the time.

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <29407-4@oink>;
         Tue, 30 Jul 1996 13:37:48 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838729194:06830:4; Tue, 30 Jul 96 13:19:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa06635; 30 Jul 96 13:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id FAA23793 for dbi-users-real; Tue, 30 Jul 1996 05:15:30 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA23787
         for <[email protected]>; Tue, 30 Jul 1996 05:15:20 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id NAA04372; Tue, 30 Jul 1996 13:06:52 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBD::Informix w/out ESQL/C or 4GL Compiler
To: [email protected] (John Prideaux)
Date: Tue, 30 Jul 1996 13:06:51 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "John Prideaux" at Jul 25, 96 02:57: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
Content-Length: 875


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

Basically, get someone to precompile dbdimp.ec for you and mail you the
c code. You should probably be able to use that, but I'm not making any
guarantees.

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29404-14@oink>;
         Tue, 30 Jul 1996 13:38:25 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838729201:25326:0; Tue, 30 Jul 96 13:20:01 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa24502; 30 Jul 96 13:18 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa17715; 30 Jul 96 13:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id FAA23768 for dbi-users-real; Tue, 30 Jul 1996 05:11:09 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA23764
         for <[email protected]>; Tue, 30 Jul 1996 05:11:04 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id NAA04317; Tue, 30 Jul 1996 13:02:31 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Accessing Informix DB from Linux
To: Nigel Metheringham <[email protected]>
Date: Tue, 30 Jul 1996 13:02:31 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Nigel Metheringham" at Jul 29, 96 09:12:43 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
Content-Length: 826


> We're building a DB and application suite based around Informix on
> Solaris boxes (using DBI/DBD and Perl).
>
> We'd also like to be able to put some of the peripheral applications
> on Linux boxes, but Informix does not make the ESQL/C package
> available for Linux, so we can't build a DBD module for perl on there.
>
> Has anyone any solutions for this - or ways round the problem?

Precompile the dbdimp.ec file on Solaris with ESQL/C, copy the C code to
the Linux box, then compile as per usual. I'm assuming, since you didn't
mention otherwise, that you have the Informix libraries required on Linux.

>       Nigel.

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29404-16@oink>;
         Tue, 30 Jul 1996 13:38:33 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838729784:01135:1; Tue, 30 Jul 96 13:29:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa00933; 30 Jul 96 13:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id FAA23818 for dbi-users-real; Tue, 30 Jul 1996 05:25:10 -0700
Precedence: junk
Sender: [email protected]
Received: from dingo.theplanet.co.uk (dingo.theplanet.co.uk [194.152.64.136])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id FAA23814
         for <[email protected]>; Tue, 30 Jul 1996 05:25:08 -0700
Received: from theplanet.net(really [127.0.0.1]) by dingo.theplanet.co.uk
         via sendmail with esmtp id <[email protected]>
         for <[email protected]>;
         Tue, 30 Jul 96 13:24:23 +0100 (BST) (/\##/\ Smail3.1.30.13 #30.1 built 18-sep-95)
Message-Id: <[email protected]>
X-Mailer: exmh version 1.6.7 5/3/96
To: Alligator Descartes <[email protected]>
cc: [email protected]
From: Nigel Metheringham <[email protected]>
Subject: Re: Accessing Informix DB from Linux
In-reply-to: Your message of "Tue, 30 Jul 1996 13:02:31 BST." <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 30 Jul 1996 13:24:22 +0100


[email protected] said:
} Precompile the dbdimp.ec file on Solaris with ESQL/C, copy the C code
} to the Linux box, then compile as per usual. I'm assuming, since you
} didn't mention otherwise, that you have the Informix libraries
} required on Linux.

Thanks for the response, but the Informix view appears to be that
Linux doesn't exist - ie no libraries, nothing!  The SCO version
apparently runs on Linux (under IBCS emulation), but since the
libraries are incompatible with Linux ones I can't link to them, and
I don't think I would trust a SCO perl to do things right (even if I
did have a SCO to build on!).

Looks like this idea is sunk :-(

       Nigel.

--
[ [email protected]   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House          Tel : +44 113 251 6012 ]
[ Melbourne Street, Leeds LS2 7PS UK.      Fax : +44 113 2345656  ]


---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00765-2@oink>;
         Tue, 30 Jul 1996 18:01:06 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838740146:09219:3; Tue, 30 Jul 96 16:22:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa08630; 30 Jul 96 16:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id IAA24148 for dbi-users-real; Tue, 30 Jul 1996 08:12:36 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA24144
         for <[email protected]>; Tue, 30 Jul 1996 08:12:22 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id QAA06262; Tue, 30 Jul 1996 16:03:51 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Accessing Informix DB from Linux
To: [email protected] (Nigel Metheringham)
Date: Tue, 30 Jul 1996 16:03:50 +0100 (BST)
Cc: [email protected], [email protected]
In-Reply-To: <[email protected]> from "Nigel Metheringham" at Jul 30, 96 01:24:22 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
Content-Length: 1020


> } Precompile the dbdimp.ec file on Solaris with ESQL/C, copy the C code
> } to the Linux box, then compile as per usual. I'm assuming, since you
> } didn't mention otherwise, that you have the Informix libraries
> } required on Linux.
>
> Thanks for the response, but the Informix view appears to be that
> Linux doesn't exist - ie no libraries, nothing!  The SCO version
> apparently runs on Linux (under IBCS emulation), but since the
> libraries are incompatible with Linux ones I can't link to them, and
> I don't think I would trust a SCO perl to do things right (even if I
> did have a SCO to build on!).

You need to do the same as when munging Oracle stuff from SCO on Linux.
Get hold of idld from a SCO box, and you can link SCO libraries on Linux
in a.out format. That's easy with gcc.

>       Nigel.

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00765-7@oink>;
         Tue, 30 Jul 1996 18:01:22 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838745037:05734:4; Tue, 30 Jul 96 17:43:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa05375; 30 Jul 96 17:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id JAA24362 for dbi-users-real; Tue, 30 Jul 1996 09:33:30 -0700
Precedence: junk
Sender: [email protected]
Received: from Princeton.EDU ([email protected] [128.112.128.1])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA24358
         for <[email protected]>; Tue, 30 Jul 1996 09:33:28 -0700
Received: from ponyexpress.Princeton.EDU
         by Princeton.EDU (5.65b/2.125/princeton) id AA13538;
         Tue, 30 Jul 96 12:27:35 -0400
Received: from stevespc.princeton.edu (stevespc.Princeton.EDU [128.112.36.79])
         by ponyexpress.Princeton.EDU (8.6.12/8.6.12) with SMTP id MAA15851;
         Tue, 30 Jul 1996 12:27:30 -0400
Message-Id: <[email protected]>
Date: Tue, 30 Jul 1996 12:27:17 -0400
From: Steve Albin <[email protected]>
Reply-To: [email protected]
Organization: Princeton University
X-Mailer: Mozilla 3.0b3 (Win95; I)
Mime-Version: 1.0
To: [email protected]
Subject: Perl 5 and Sybase
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi.

I've been reading the mail here, and the archives, and checking many
cross-references and links and FAQs, but I haven't seen anything recent
about Sybase and/or sybperl and Perl 5.

Is there active work on the sybperl DBD?

It seemed to be version 0.01 from many months ago.

Is it realistic for me to try to use Perl 5 as a gateway to a
Sybase database for writing production scripts?

Any pointers on web access to Sybase would be appreciated.

Thanks.

Steve Albin        [email protected]
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04035-6@oink>;
         Wed, 31 Jul 1996 07:36:27 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838758903:19732:5; Tue, 30 Jul 96 21:35:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa19546; 30 Jul 96 21:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA24679 for dbi-users-real; Tue, 30 Jul 1996 10:41:24 -0700
Precedence: junk
Sender: [email protected]
Received: from proxy.netlabs.com (ns.sems.com [192.94.48.47])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA24675
         for <[email protected]>; Tue, 30 Jul 1996 10:41:21 -0700
Received: from vaccine-bb.netlabs.com (vaccine-bb.sems.com)
         by proxy.netlabs.com (4.1/SMI-4.1) id AA01395;
         Tue, 30 Jul 96 10:47:52 PDT
Received: from base.netlabs.com by vaccine-bb.netlabs.com (4.1/SMI-4.1)
         id AA07712; Tue, 30 Jul 96 10:42:35 PDT
Date: Tue, 30 Jul 96 10:42:35 PDT
From: [email protected] (Chuck Kung)
Message-Id: <[email protected]>
To: [email protected]
Subject: DBD:MSQL errors on BSD 2.0
Cc: [email protected]


Hello,

I'm getting the following errors when running make test on
DBD-mSQL-0.60pl10.

Testing: DBI->install_driver( 'mSQL' ): ok
Bad free() ignored at test.pl line 27.
Bad free() ignored at test.pl line 27.
Testing: $drh->func( 'localhost', '_ListDBs' ): ok
db: test
Connect: Connection refused
not ok: Can't connect to MSQL server on localhost
Database handle DBI::db=HASH(0x11ea5c) DESTROY ignored - never set up.
Testing: $drh->connect( 'localhost', 'test' )


The connection is refused but I can connect fine using msql from the command
line.  The msql.acl file allows read/write to * for database test.
Has anyone had similar problems?  Btw, I do not get this error on Linux 1.2.13.
Any help appreciated.  Thanks,

Chuck Kung
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04035-10@oink>;
         Wed, 31 Jul 1996 07:37:10 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838767877:09244:4; Wed, 31 Jul 96 00:04:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa08772; 31 Jul 96 0:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id NAA25207 for dbi-users-real; Tue, 30 Jul 1996 13:08:45 -0700
Precedence: junk
Sender: [email protected]
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA25203
         for <[email protected]>; Tue, 30 Jul 1996 13:08:41 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com)
         by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA07555;
         Tue, 30 Jul 96 15:08:13 CDT
X-Sender: [email protected]
Message-Id: <v0300780bae241a18ceaf@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 30 Jul 1996 15:08:18 -0500
To: [email protected]
From: Christopher Ice <[email protected]>
Subject: Help building DBD-Oracle for Sol2.5

Please let me know if this is the wrong place for this (politely, if
possible)...

I've already built and installed DBI-0.71, and am trying to build
DBD-Oracle-0.35 (I know there's a newer version).

Specifics for build:

Solaris 2.5
gcc 2.5.6 (old, I know)
sqlnet + ProC from 7.3.2 Oracle CD
perl 5.003

perl Makefile.PL builds the Makefile w/o errors...however, I'm unsure as to
what opts to include for compilation w/gcc.  I saw in the readme that
compiling w/gcc under Solaris recommends linking $ORACLE_HOME/lib/__fstd.o.
How do I say this to MakeMaker?

ie. perl Makefile.PL CC=gcc LINKOPTS=-L$ORACLE_HOME/lib/__fstd.o  ????

(I'm a relative newbie to some of the more advanced features of perl
makefiles,etc.)

That aside, gcc won't finish the build because I hit:

In file included from Oracle.c:19:
Oracle.h:30: oratypes.h: No such file or directory
Oracle.h:32: ocidfn.h: No such file or directory
Oracle.h:35: ociapr.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `Oracle.o'

Where do oratypes.h, ocidfn.h, and ociapr.h come from?  I can't find them
in the the ProC dist that my dba installed.

Anyone care to help?  Would be much appreciated.

Thanks!
Chris

--
                                  --------
  +------------------------------| _   /| |------------------------------+
  | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
  | E-mail: [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 punt2.demon.co.uk by oink with SMTP (PP) id <04035-16@oink>;
         Wed, 31 Jul 1996 07:37:48 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838772625:29061:2; Wed, 31 Jul 96 01:23:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa28526; 31 Jul 96 1:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA25620 for dbi-users-real; Tue, 30 Jul 1996 15:10:18 -0700
Precedence: junk
Sender: [email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA25616
         for <[email protected]>; Tue, 30 Jul 1996 15:10:16 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24])
         by cse.psu.edu (8.7.5/8.7.3) with ESMTP id SAA23813;
         Tue, 30 Jul 1996 18:11:04 -0400 (EDT)
Message-Id: <[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: Christopher Ice <[email protected]>
Cc: [email protected]
Subject: Re: Help building DBD-Oracle for Sol2.5
In-reply-to: Your message of "Tue, 30 Jul 1996 15:08:18 CDT." <v0300780bae241a18ceaf@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 30 Jul 1996 18:10:37 EDT
From: John D Groenveld <[email protected]>

> I've already built and installed DBI-0.71, and am trying to build
> DBD-Oracle-0.35 (I know there's a newer version).
Ok, I'll bite...why not download the newest?

> gcc 2.5.6 (old, I know)
I'll bite again...gcc2.7.2 will build for you out of the box, why not install
it?

This evening, Im going to build DBD-Oracle against my 7.3.2 instance, but I
wont be able to help you because I'll be at the latest releases of gcc and
DBD-Oracle.

Sorry,
John

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04036-37@oink>;
         Wed, 31 Jul 1996 07:40:36 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838766739:05266:0; Tue, 30 Jul 96 23:45:39 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa04339; 30 Jul 96 23:44 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id ab17331; 30 Jul 96 23:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA25713 for dbi-users-real; Tue, 30 Jul 1996 15:37:34 -0700
Precedence: junk
Sender: [email protected]
Received: from mail.industry.net (mail.industry.net [206.150.196.12])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA25709
         for <[email protected]>; Tue, 30 Jul 1996 15:37:32 -0700
Received: from dns2.industry.net (dns2.industry.net [206.150.196.30])
         by mail.industry.net (8.6.9/8.6.8) with SMTP id SAA01671;
         Tue, 30 Jul 1996 18:43:15 -0400
Message-ID: <[email protected]>
Date: Tue, 30 Jul 1996 18:37:27 -0400
From: "Rujith S. de Silva" <[email protected]>
Organization: Industry.Net
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
MIME-Version: 1.0
To: Christopher Ice <[email protected]>
CC: [email protected]
Subject: Re: Help building DBD-Oracle for Sol2.5
References: <v0300780bae241a18ceaf@[130.151.91.215]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Christopher Ice wrote:
> That aside, gcc won't finish the build because I hit:
>
> In file included from Oracle.c:19:
> Oracle.h:30: oratypes.h: No such file or directory
> Oracle.h:32: ocidfn.h: No such file or directory
> Oracle.h:35: ociapr.h: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `Oracle.o'
>
> Where do oratypes.h, ocidfn.h, and ociapr.h come from?  I can't find them
> in the the ProC dist that my dba installed.

dev ~> find $ORACLE_HOME/rdbms -name \*.h -print
/home/oracle/product/7.1.4/rdbms/demo/ocidfn.h
/home/oracle/product/7.1.4/rdbms/demo/ocidem.h
/home/oracle/product/7.1.4/rdbms/demo/ociapr.h
/home/oracle/product/7.1.4/rdbms/demo/ocikpr.h
/home/oracle/product/7.1.4/rdbms/demo/oratypes.h
dev ~>

My DBA also forgot to install the rdbms package completely (specifically,
the stuff under demo), and I had to prod him to do so.

A question of my own: is this the right place for these files?  How come
the OCI header files are installed in a `demo' directory?

Later,
Rujith.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04121-1@oink>;
         Wed, 31 Jul 1996 07:40:43 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838767434:12360:0; Tue, 30 Jul 96 23:57:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa11722; 30 Jul 96 23:56 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa23659; 30 Jul 96 23:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id MAA25128 for dbi-users-real; Tue, 30 Jul 1996 12:46:58 -0700
Precedence: junk
Sender: [email protected]
Received: from router.kreaktiv.com ([email protected] [194.233.255.62])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA25124
         for <[email protected]>; Tue, 30 Jul 1996 12:46:55 -0700
Received: from router.kreaktiv.com ([194.233.255.42])
         by router.kreaktiv.com (8.7.5/8.7.3) with SMTP id VAA15913
         for <[email protected]>; Tue, 30 Jul 1996 21:56:04 +0200
Message-ID: <[email protected]>
Date: Tue, 30 Jul 1996 21:57:49 +0200
From: Sven Sternberger <[email protected]>
Organization: kreAktiv
X-Mailer: Mozilla 2.01Gold (Win95; I)
MIME-Version: 1.0
To: [email protected]
Subject: report module for perl/dbi/dbd
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi friends of databases,

i just start programming perl5 seriously. My project is to
write a CGI-Script that can produce a html formatted report
of an sql view. My hope is that there are modules which support the
report generating this means stuff like before group starts do ...,
after report do (something like Informix-4GL functions, not CGI.pm)

Thanx for help.

---------------
Sven Sternberger ([email protected])

I go fuck!

       Helge Schneider
---------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04036-53@oink>;
         Wed, 31 Jul 1996 07:42:41 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838774273:17652:2; Wed, 31 Jul 96 01:51:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa17438; 31 Jul 96 1:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA25614 for dbi-users-real; Tue, 30 Jul 1996 15:10:13 -0700
Precedence: junk
Sender: [email protected]
Received: from ns1.eds.com (ns1.eds.com [192.85.154.78])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA25610
         for <[email protected]>; Tue, 30 Jul 1996 15:10:11 -0700
Received: by ns1.eds.com (hello) id SAA12470; Tue, 30 Jul 1996 18:09:59 -0400
Received: from geronimo.mmts.eds.com (geronimo.mmts.eds.com [148.94.38.71])
         by nnsa.eds.com (8.7.5/8.7.3) with ESMTP id SAA07622;
         Tue, 30 Jul 1996 18:09:26 -0400 (EDT)
Received: from quasi.mmts.eds.com (quasi [148.94.230.18])
         by geronimo.mmts.eds.com (8.7.5/8.7.3) with SMTP id RAA24353;
         Tue, 30 Jul 1996 17:08:38 -0500 (CDT)
Received: by quasi.mmts.eds.com with Microsoft Mail
         id <[email protected]>;
         Tue, 30 Jul 1996 17:07:19 -0500
Message-ID: <[email protected]>
From: Josh Oh <[email protected]>
To: "'[email protected]'" <[email protected]>
Cc: "'[email protected]'" <[email protected]>
Subject: DBD:Informix - Error In Compile
Date: Tue, 30 Jul 1996 17:07:17 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

I am attempting to run the Makefile for DBD-Informix-0.20pl1 and am getting
the errors on compilation of Informix.c.

I am attaching the output from for 'make realclean', 'perl Makefile.PL', and 'make'.
I am also attaching the output of " perl -e 'use Config; print Config::myconfig()' ".
I am using Informix version 7.1, ESQL version 7.20.UC2, and perl 5.02.01.

Thanks for any help you can provide.

Josh Oh
[email protected]

=================================================
Script started on Tue Jul 30 16:30:21 1996

widow{joh}: make realclean
rm -rf Informix.c ./blib Makefile.aperl ./blib/arch/auto/DBD/Informix/extralibs.all
      perlmain.c mon.out core so_locations pm_to_blib *~ */*~ */*/*~ *.o *.a
      perl.exe Informix.bs Informix.bso Informix.def Informix.exp
mv Makefile Makefile.old 2>/dev/null
rm -rf ./blib/lib/auto/DBD/Informix ./blib/arch/auto/DBD/Informix
rm -f ./blib/arch/auto/DBD/Informix/Informix.so
     ./blib/arch/auto/DBD/Informix/Informix.bs
rm -f ./blib/arch/auto/DBD/Informix/Informix.a
rm -rf Makefile Makefile.old

widow{joh}: perl Makefile.PL

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

What version of Informix are you using? [5/6/7] 7
Using Informix version 7 in /disk2/informix
Informix sysliblist: -L/disk2/informix/lib -L/disk2/informix/lib/esql
                    -lsql -lasf -lgen -los -lm
System: perl5.00201 irix falcon 5.3 11091812 ip22  IP22-irix dl_dlopen.xs
Compiler: cc -O -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000
            -I/usr/local/include -DLANGUAGE_C -DEMBED

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

widow{joh}: make
cp Informix.pm ./blib/lib/DBD/Informix.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/IP22-irix/5.00201 -I/usr/local/lib/perl5
                     /usr/local/lib/perl5/ExtUtils/xsubpp -typemap
                     /usr/local/lib/perl5/ExtUtils/typemap Informix.xs >Informix.tc
                     && mv Informix.tc Informix.c
Please specify prototyping behavior for Informix.xs (see perlxs manual)
cc -c -I/disk2/informix/incl/esql -I/usr/local/lib/perl5/IP22-irix/5.00201/DBI
  -I/usr/local/lib/perl5/site_perl/IP22-irix/DBI
  -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 -I/usr/local/include
  -DLANGUAGE_C -DEMBED -O    -DVERSION=\"0.20pl1\" -DXS_VERSION=\"0.20pl1\"
  -I/usr/local/lib/perl5/IP22-irix/5.00201/CORE  Informix.c
cfe: Error: /usr/local/lib/perl5/IP22-irix/5.00201/CORE/perl.h, line 1367: Syntax Error
extern   sigjmp_buf    top_env ;
--------------------   ^
cfe: Error: /usr/local/lib/perl5/IP22-irix/5.00201/CORE/perl.h, line 1367: Empty declaration specifiers (3.5)
extern   sigjmp_buf    top_env ;
--------------------   ^
make: *** [Informix.o] Error 1

widow{joh}: exit

script done on Tue Jul 30 16:31:13 1996
=================================================
perl -e 'use Config; print Config::myconfig()

Summary of my perl5 (5.0 patchlevel 2 subversion 1) configuration:
 Platform:
   osname=irix, osver=5, archname=IP22-irix
   uname='irix falcon 5.3 11091812 ip22 '
   hint=recommended, useposix=true, d_sigaction=define
 Compiler:
   cc='cc', optimize='-O', gccversion=
   cppflags='-D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -I/usr/local/include -DLANGUAGE_C -DEMBED'
   ccflags ='-D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000 -I/usr/local/include -DLANGUAGE_C -DEMBED'
   stdchar='unsigned char', d_stdstdio=define, usevfork=false
   voidflags=15, castflags=1, d_casti32=define, d_castneg=
   intsize=4, alignbytes=8, usemymalloc=n, randbits=15
 Linker and Libraries:
   ld='ld', ldflags =' -L/usr/local/lib'
   libpth=/usr/local/lib /usr/lib /lib
   libs=-lmalloc -lsun -lm -lc -lcrypt -lbsd -lPW
   libc=/usr/lib/libc.so, so=so
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
   cccdlflags=' ', lddlflags='-shared -L/usr/local/lib'

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04036-61@oink>;
         Wed, 31 Jul 1996 07:43:35 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838777165:09546:1; Wed, 31 Jul 96 02:39:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa08980; 31 Jul 96 2:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id SAA26064 for dbi-users-real; Tue, 30 Jul 1996 18:32:15 -0700
Precedence: junk
Sender: [email protected]
Received: from unixg.ubc.ca (mail.unixg.ubc.ca [137.82.27.14])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA26060
         for <[email protected]>; Tue, 30 Jul 1996 18:32:14 -0700
Received: from curio.resnet.ubc.ca (srtb0211a14.resnet.ubc.ca [142.103.36.14])
         by unixg.ubc.ca (8.7.5/8.7.3) with SMTP id SAA15053
         for <[email protected]>; Tue, 30 Jul 1996 18:32:04 -0700 (PDT)
Message-ID: <[email protected]>
Date: Tue, 30 Jul 1996 18:31:18 -0700
From: Chris Conover <[email protected]>
Reply-To: [email protected]
Organization: Univeristy of British Columbia
X-Mailer: Mozilla 3.0b5aGold (Win95; I)
MIME-Version: 1.0
To: [email protected]
Subject: finding information on DBD-Oracle interface and function calls
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Everyone,

I about to embark on my first perl/cgi/oracle project and am trying to
get some info on the DBD-Oracle and/or DBI-0.071 libraries etc..
Specifically, I have found and downloaded the libraries themselves, but
do not see documentation on the function calls and interface etc.
Should I assume that I just use standard calls used in Oracle itself?
This is also my first exposure to Oracle.  I suppose what I was hoping
for is a document describing how to go about accessing a database etc.
The actual database that I am dealing with is quite simple so it
shouldn't be too bad.

So to some up everything: where is a good place to start?

I do have "Programming Perl" and "CGI Programming" by O'Riley and have
just recently picked up a book on Oracle but so far haven't seen much on
what I am doing.

thanks,

Chris Conover
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <07892-5@oink>;
         Wed, 31 Jul 1996 15:05:15 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838820637:15406:3; Wed, 31 Jul 96 14:43:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa14235; 31 Jul 96 14:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id GAA26753 for dbi-users-real; Wed, 31 Jul 1996 06:13:30 -0700
Precedence: junk
Sender: [email protected]
Received: from proxy.midamerican.com (firewall-user@[208.128.122.130])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA26749
         for <[email protected]>; Wed, 31 Jul 1996 06:13:29 -0700
From: [email protected]
Received: by proxy.midamerican.com; id IAA22354;
         Wed, 31 Jul 1996 08:11:18 -0500 (CDT)
Received: from mailgate.midamerican.com(10.48.0.12) by proxy.midamerican.com
         via smap (V3.1) id xma022349; Wed, 31 Jul 96 08:11:02 -0500
Received: by sic001.midamerican.com; Wed, 31 Jul 96 8:13:05 CDT
Date: Wed, 31 Jul 96 8:11:41 CDT
Message-ID: <[email protected]>
X-Priority: 3 (Normal)
To: dbi-users <[email protected]>
Subject: unsubscribe [email protected]
X-Incognito-SN: 1127
X-Incognito-Format: VERSION=2.01a ENCRYPTED=NO

unsubscribe [email protected]

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
  Steve Houtkooper                     \ \ | | | / /
[email protected]            |           |
  [email protected]                     (.)       (.)
                               ====oOO======(_)======OOo====
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <08682-0@oink>;
         Wed, 31 Jul 1996 15:30:53 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838822489:05835:5; Wed, 31 Jul 96 15:14:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa05703; 31 Jul 96 15:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id HAA26805 for dbi-users-real; Wed, 31 Jul 1996 07:08:27 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA26797
         for <[email protected]>; Wed, 31 Jul 1996 07:08:24 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id ae10635; 31 Jul 96 14:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id ac00941; 31 Jul 96 15:05 +0100
Received: from toad by oink with SMTP (PP) id <07732-0@oink>;
         Wed, 31 Jul 1996 14:19:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21508;
         Wed, 31 Jul 1996 14:19:36 +0000
Date: Wed, 31 Jul 1996 14:19:36 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: one more Q
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 3949
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From [email protected]  Wed Jul 31 07:52:14 1996
From: [email protected]
X400-Originator: [email protected]
X400-Recipients: [email protected]
To: "timbo(a)ig.co.uk" <[email protected]>
Subject: DBperl Q's
Date: Tue, 30 Jul 1996 16:23:14 -0400

--- Received from RFSIS.DPRICE  (203) 357-6506      07/30/96 15.58
 -> CENTRAL.OAS           OPEN ADDRESSING


Tim -
  Let me start by saying that I'm excited about using DBperl to access
our Oracle databases.  It is a straight forward, easy to understand
toolkit.  I have a couple of questions that I hope you can help me with.
  1 - I've successfully downloaded DBI v0.71 and DBD v0.36 and
installed them.  I also downloaded the API Specification for DBI.  It
seems as though the description of the DBI functions don't match what I
see in examples I've found (e.g. the spec mentions db_connect() whereas
in code I've seen and used object notation $drh->connect().  Is there an
up-to-date specification?
  2 - I've successfully loaded the Oracle driver, connected to the
database, and issued a query.  But, when perl hits the $dbh-disconnect
statement it complains.  The message I get is: Bad free() ignored at
test.pl line 39. test.pl is my perl script.
  This script is to pull data from a simple database and display the
results in an html page.  I get the above message if I run the script
from the command line.  If I try and load the CGI script into my browser
(Netscape Gold 3.0beta), I get a Server Error telling me to look at the
error log.  The log says:
  failure: for host my.ip.address trying to GET
/cgi-bin/dprice/test.pl, cgi-parse-output reports: the CGI program
/tssg/ns-http/cgi-bin/dprice/test.pl did not produce a valid header name
without value: got line "bad free() ignored at
/tssg/ns-http/cgi-bin/dprice/test.pl line 39.")
  The generated HTML looks fine, so I assume that when I get rid of
this error all should work fine.  Thanks in advance for any help you can
give me.  Below is a copy of my script.
- Dave Price ([email protected])

#!/usr/bin/perl -w

use DBI;

MAIN:
{
  $ENV{'ORACLE_HOME'} = '/data2/oracle/7.2';
  $ENV{'ORACLE_SID'} = 'dev03';
  $drh = DBI->install_driver('Oracle');
  print "ERROR : install driver failed\n" unless $drh;

  $dbh = $drh->connect('dev03', 'dprice', 'meghan');
  print "ERROR : Unable to connect to database.\n" unless $dbh;

  $cursor = $dbh->prepare("SELECT table_name FROM user_tables");

  if (!defined($cursor))
  {
     print "ERROR : Unable to prepare SQL statement.\n";
     die;
  }

  $cursor->execute;

  print "Content-type: text/html\n\n";
  print "<html>\n";
  print "<title>Some title</title>\n";
  print "<body bgcolor=\"#ffffff\">\n";

  while ($field = $cursor->fetchrow)
  {
     print "Field: $field\n";
  }
  print "No more found.\n";
  print "</body></html>\n";

  $cursor->finish;

  $dbh->disconnect;
}
exit;

OUTPUT....
Content-type: text/html

<html>
<title>Some title</title>
<body bgcolor="#ffffff">
Field: CATEGORIES
Field: CATEGORY_ITEMS
Field: CLASSES
No more found.
</body></html>
Bad free() ignored at test.pl line 39.




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


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

From [email protected]  Wed Jul 31 07:52:10 1996
From: [email protected]
X400-Originator: [email protected]
X400-Recipients: [email protected]
To: "timbo(a)ig.co.uk" <[email protected]>
Subject: one more Q
Date: Tue, 30 Jul 1996 16:53:36 -0400

--- Received from RFSIS.DPRICE  (203) 357-6506      07/30/96 16.30
--- Received from RFSIS.DPRICE  (203) 357-6506      07/30/96 15.58
 -> CENTRAL.OAS           OPEN ADDRESSING


Tim -
  There is one other question I meant to ask you in my previous message.
Is there a way to execute PL/SQL procedures using DBperl?
- Dave Price ([email protected])




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

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <08682-2@oink>;
         Wed, 31 Jul 1996 15:31:03 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838822572:07100:1; Wed, 31 Jul 96 15:16:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa06006; 31 Jul 96 15:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id HAA26795 for dbi-users-real; Wed, 31 Jul 1996 07:08:22 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA26789
         for <[email protected]>; Wed, 31 Jul 1996 07:08:20 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa10718; 31 Jul 96 14:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id ad00941; 31 Jul 96 15:05 +0100
Received: from toad by oink with SMTP (PP) id <07771-0@oink>;
         Wed, 31 Jul 1996 14:30:33 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21539;
         Wed, 31 Jul 1996 14:30:27 +0000
Date: Wed, 31 Jul 1996 14:30:27 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Help building DBD-Oracle for Sol2.5
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 709
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: "Rujith S. de Silva" <[email protected]>
>
> dev ~> find $ORACLE_HOME/rdbms -name \*.h -print
> /home/oracle/product/7.1.4/rdbms/demo/ocidfn.h
> /home/oracle/product/7.1.4/rdbms/demo/ocidem.h
> /home/oracle/product/7.1.4/rdbms/demo/ociapr.h
> /home/oracle/product/7.1.4/rdbms/demo/ocikpr.h
> /home/oracle/product/7.1.4/rdbms/demo/oratypes.h
> dev ~>
>
> My DBA also forgot to install the rdbms package completely (specifically,
> the stuff under demo), and I had to prod him to do so.
>
> A question of my own: is this the right place for these files?  How come
> the OCI header files are installed in a `demo' directory?

Oracle have a rather sad approach to interface stability.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09598-0@oink>;
         Wed, 31 Jul 1996 18:20:27 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838833232:16084:0; Wed, 31 Jul 96 18:13:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa15169; 31 Jul 96 18:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa06696; 31 Jul 96 18:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA27373 for dbi-users-real; Wed, 31 Jul 1996 10:00:02 -0700
Precedence: junk
Sender: [email protected]
Received: from mixer.visi.com ([email protected] [204.73.178.1])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA27363
         for <[email protected]>; Wed, 31 Jul 1996 09:59:56 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.4/8.7.5) id LAA11995
         for [email protected]; Wed, 31 Jul 1996 11:59:54 -0500 (CDT)
From: Amit Bhati <[email protected]>
Posted-Date: Wed, 31 Jul 1996 11:59:54 -0500 (CDT)
Message-Id: <[email protected]>
Subject: DBD-Oracle0.36/Perl5.003/AIX4.1.4 make fails.
To: [email protected]
Date: Wed, 31 Jul 1996 11:59:53 -0500 (CDT)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

I am using DBD-Oracle-0.36 with DBI-0.71 on Perl5.003 installed. 'perl
Makefile.PL' executes without errors. After that make fails. Here is a
script of running 'make'. Anybody have a clue why this is happening?

amit
--

maui:root>make
        LD_RUN_PATH="/opt/oracle/7.2.2/lib:/lib" ld -H512 -T512 -bhalt:4 -o
./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE
-bI:/perl/lib/rs6000/5.003/CORE/perl.exp -bE:Oracle.exp -e _nostart -lc
-L/usr/local/lib Oracle.o  dbdimp.o /opt/oracle/7.2.2/lib/osntab.o
/lib/crt0.o -L/opt/oracle/7.2.2/lib -locic -lsqlnet -lora -lsqlnet
-lora -lnlsrtl3 -lc3v6
-lcore3 -lnlsrtl3 -lcore3 -lm -lld -lm -lc
0706-317 ERROR: Unresolved or undefined symbols detected:
                 Symbols in error (followed by references) are
                 dumped to the load map.
                 The -bloadmap:<filename> option will create a load map.
.__mulh
.__divss
.__divus
.__quous
.__quoss
The error code from the last failed command is 8.

Make Quitting.
maui:root>
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09298-6@oink>;
         Wed, 31 Jul 1996 18:01:13 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838826698:24155:3; Wed, 31 Jul 96 16:24:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa23929; 31 Jul 96 16:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id IAA26913 for dbi-users-real; Wed, 31 Jul 1996 08:09:59 -0700
Precedence: junk
Sender: [email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA26909
         for <[email protected]>; Wed, 31 Jul 1996 08:09:58 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24])
         by cse.psu.edu (8.7.5/8.7.3) with ESMTP id LAA01004;
         Wed, 31 Jul 1996 11:10:46 -0400 (EDT)
Message-Id: <[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: [email protected]
cc: Christopher Ice <[email protected]>, Tim Bunce <[email protected]>
Subject: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 31 Jul 1996 11:10:21 EDT
From: John D Groenveld <[email protected]>

Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2,
perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global
destruction." warning. The README shows how to surpress it, but Tim are you
still looking for stack traces? Can someone explain what these Bad Free's
really mean? Has Oracle introduced a memory leak into 7.3.2?
Thanks,
John

------- Forwarded Message


Date: Wed, 31 Jul 1996 08:03:40 -0500
To: John D Groenveld <[email protected]>
From: Christopher Ice <[email protected]>
Subject: Re: Help building DBD-Oracle for Sol2.5

>> I've already built and installed DBI-0.71, and am trying to build
>> DBD-Oracle-0.35 (I know there's a newer version).
>Ok, I'll bite...why not download the newest?
>
>> gcc 2.5.6 (old, I know)
>I'll bite again...gcc2.7.2 will build for you out of the box, why not install
>it?
>
>This evening, Im going to build DBD-Oracle against my 7.3.2 instance, but I
>wont be able to help you because I'll be at the latest releases of gcc and
>DBD-Oracle.

Ok...you badgered me enough!  ;-)  I got the pre-built gcc2.7.2 from
sunsite.unc.edu.  That's now installed.

So, you have any recommend make config for DBD-Oracle-0.37 and gcc under
solaris?

I'm not a build expert, so I think I'm missing a lot of the switches for
the compiler, plus I think the stock Makefile is looking for cc as the
linker.  Also, I'm unsure where to put in $ORACLE_HOME/lib/__fstd.o per the
readme.

Chris



------- End of Forwarded Message



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09302-7@oink>;
         Wed, 31 Jul 1996 18:02:52 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838830527:16932:3; Wed, 31 Jul 96 17:28:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa16705; 31 Jul 96 17:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id JAA27138 for dbi-users-real; Wed, 31 Jul 1996 09:19:30 -0700
Precedence: junk
Sender: [email protected]
Received: from franklin.cris.com (franklin.cris.com [199.3.12.31])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA27134
         for <[email protected]>; Wed, 31 Jul 1996 09:19:28 -0700
Received: from darius.cris.com (darius [199.3.12.32])
         by franklin.cris.com (8.7.5/(96/06/11 2.45)) id MAA20552;
         Wed, 31 Jul 1996 12:19:21 -0400 (EDT) [1-800-745-2747 The Concentric Network]
Errors-To: [email protected]
Received: from Frenchroast ([198.95.194.144]) by darius.cris.com (8.7.5)
         id MAA03632; Wed, 31 Jul 1996 12:19:08 -0400 (EDT)
Message-ID: <[email protected]>
Date: Wed, 31 Jul 1996 09:18:27 -0700
From: Dao-liang Chou <[email protected]>
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: Christopher Ice <[email protected]>
CC: John D Groenveld <[email protected]>, [email protected],
   Tim Bunce <[email protected]>
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
References: <v03007806ae252daf8e3b@[130.151.91.215]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I just went through the process of using gcc to install Perl 5.003 and
DBI 0.71, and I ran into the same problem with the "optional language
package not installed" error.  I finally stumbled my way through it.
What exactly are you trying to install, gcc, Perl, or DBI, when you're
using the "perl Makefile.PL" command?

Christopher Ice wrote:
>
> At 11:10 AM -0400 7/31/96, John D Groenveld wrote:
> >Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2,
> >perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global
> >destruction." warning. The README shows how to surpress it, but Tim are you
> >still looking for stack traces? Can someone explain what these Bad Free's
> >really mean? Has Oracle introduced a memory leak into 7.3.2?
>
> I'm still working on the install...the stock Makefile (ie. generated from
> 'perl Makefile.PL') wants to use cc instead of gcc.  The brain-dead cc is
> installed, but "optional language package not installed" so that doesn't
> work.
>
> I want to run the make w/gcc, so I'm looking for how to generate the
> makefile so it's happy w/gcc instead of cc.  Just saying:
>
> perl Makefile.PL CC=gcc
>
> is not enough to generate a good Makefile to make a successful build w/gcc.
> What did I just say...??  ;-)
>
> Chris
>
> --
>                                    --------
>    +------------------------------| _   /| |------------------------------+
>    | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
>    | E-mail: [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.

--
Dao-liang Chou
[email protected]
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09886-1@oink>;
         Wed, 31 Jul 1996 18:33:58 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838834161:19771:2; Wed, 31 Jul 96 18:29:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa18928; 31 Jul 96 18:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA27501 for dbi-users-real; Wed, 31 Jul 1996 10:22:18 -0700
Precedence: junk
Sender: [email protected]
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA27497
         for <[email protected]>; Wed, 31 Jul 1996 10:22:12 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com)
         by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA14776;
         Wed, 31 Jul 96 11:24:36 CDT
X-Sender: [email protected]
Message-Id: <v03007809ae25394947f5@[130.151.91.215]>
In-Reply-To: <[email protected]>
References: <v03007806ae252daf8e3b@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 31 Jul 1996 11:24:50 -0500
To: Dao-liang Chou <[email protected]>
From: Christopher Ice <[email protected]>
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: John D Groenveld <[email protected]>, [email protected],
   Tim Bunce <[email protected]>

>I just went through the process of using gcc to install Perl 5.003 and
>DBI 0.71, and I ran into the same problem with the "optional language
>package not installed" error.  I finally stumbled my way through it.
>What exactly are you trying to install, gcc, Perl, or DBI, when you're
>using the "perl Makefile.PL" command?

Just the DBD-Oracle-0.37 module.  gcc, Perl, and DBI are installed already.

Chris

--
                                  --------
  +------------------------------| _   /| |------------------------------+
  | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
  | E-mail: [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 punt2.demon.co.uk by oink with SMTP (PP) id <09886-3@oink>;
         Wed, 31 Jul 1996 18:34:06 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838834321:21796:1; Wed, 31 Jul 96 18:32:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa21010; 31 Jul 96 18:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA27512 for dbi-users-real; Wed, 31 Jul 1996 10:24:37 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA27508
         for <[email protected]>; Wed, 31 Jul 1996 10:24:35 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
         id ab08133; 31 Jul 96 18:23 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa13694; 31 Jul 96 18:16 +0100
Received: from toad by oink with SMTP (PP) id <09508-0@oink>;
         Wed, 31 Jul 1996 18:16:01 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22309;
         Wed, 31 Jul 1996 18:15:51 +0000
Date: Wed, 31 Jul 1996 18:15:51 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 1459
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: John D Groenveld <[email protected]>
>
> Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2,
> perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global
> destruction." warning. The README shows how to surpress it, but Tim are you
> still looking for stack traces? Can someone explain what these Bad Free's
> really mean? Has Oracle introduced a memory leak into 7.3.2?

Not a leak. They (I think) are calling free with a bad value (probably a null).

I've got purify installed now... but no time to use it. One day soon (ish).
Since I'm using 7.3.2 now the Bad free's are starting to bug me so I'm
more likely to try to do something about it. But it's quite possible, even
probable, that it's an Oracle problem I can't do anything about.

Note that Perl5.003_01 will include a patch of mine which will allow you
to silence perl's malloc via an environment variable. If you want to
you could apply the patch now:

diff -c2 ./malloc.c.2 ./malloc.c
*** ./malloc.c.2    Thu Mar 28 10:17:44 1996
--- ./malloc.c  Thu Mar 28 10:29:39 1996
***************
*** 273,276 ****
--- 273,283 ----
 #else
   if (op->ov_magic != MAGIC) {
+       static bad_free_warn = -1;
+       if (bad_free_warn == -1) {
+           char *pbf = getenv("PERL_BADFREE");
+           bad_free_warn = (pbf) ? atoi(pbf) : 1;
+       }
+       if (!bad_free_warn)
+           return;
 #ifdef RCHECK
       warn("%s free() ignored",


Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-6@oink>;
         Wed, 31 Jul 1996 22:45:38 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838843720:16070:1; Wed, 31 Jul 96 21:08:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa15256; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA27479 for dbi-users-real; Wed, 31 Jul 1996 10:16:14 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA27475
         for <[email protected]>; Wed, 31 Jul 1996 10:16:12 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa26276; 31 Jul 96 17:16 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa11236; 31 Jul 96 18:11 +0100
Received: from toad by oink with SMTP (PP) id <09466-0@oink>;
         Wed, 31 Jul 1996 18:10:38 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22288;
         Wed, 31 Jul 1996 18:10:24 +0000
Date: Wed, 31 Jul 1996 18:10:24 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 1197
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Christopher Ice <[email protected]>
>
> At 11:10 AM -0400 7/31/96, John D Groenveld wrote:
> >Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2,
> >perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global
> >destruction." warning. The README shows how to surpress it, but Tim are you
> >still looking for stack traces? Can someone explain what these Bad Free's
> >really mean? Has Oracle introduced a memory leak into 7.3.2?
>
> I'm still working on the install...the stock Makefile (ie. generated from
> 'perl Makefile.PL') wants to use cc instead of gcc.  The brain-dead cc is
> installed, but "optional language package not installed" so that doesn't
> work.
>
> I want to run the make w/gcc, so I'm looking for how to generate the
> makefile so it's happy w/gcc instead of cc.  Just saying:
>
> perl Makefile.PL CC=gcc
>
> is not enough to generate a good Makefile to make a successful build w/gcc.
> What did I just say...??  ;-)
>
> Chris

MakeMaker will use whatever compiler and related settings were used to
build perl. You must use the same compiler for perl and any extensions.
For you this may mean rebuilding perl with gcc.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-8@oink>;
         Wed, 31 Jul 1996 22:45:47 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838843722:16032:3; Wed, 31 Jul 96 21:08:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa15352; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id IAA26960 for dbi-users-real; Wed, 31 Jul 1996 08:38:37 -0700
Precedence: junk
Sender: [email protected]
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA26955
         for <[email protected]>; Wed, 31 Jul 1996 08:38:30 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com)
         by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA14397;
         Wed, 31 Jul 96 10:38:14 CDT
X-Sender: [email protected]
Message-Id: <v03007806ae252daf8e3b@[130.151.91.215]>
In-Reply-To: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 31 Jul 1996 10:38:29 -0500
To: John D Groenveld <[email protected]>
From: Christopher Ice <[email protected]>
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: [email protected], Tim Bunce <[email protected]>

At 11:10 AM -0400 7/31/96, John D Groenveld wrote:
>Umm, ok DBI-0.71/DBD-Oracle-0.37 builds out of the box with gcc2.7.2,
>perl5.003, Oracle 7.3.2.2. I do get the "Bad free() ignored during global
>destruction." warning. The README shows how to surpress it, but Tim are you
>still looking for stack traces? Can someone explain what these Bad Free's
>really mean? Has Oracle introduced a memory leak into 7.3.2?

I'm still working on the install...the stock Makefile (ie. generated from
'perl Makefile.PL') wants to use cc instead of gcc.  The brain-dead cc is
installed, but "optional language package not installed" so that doesn't
work.

I want to run the make w/gcc, so I'm looking for how to generate the
makefile so it's happy w/gcc instead of cc.  Just saying:

perl Makefile.PL CC=gcc

is not enough to generate a good Makefile to make a successful build w/gcc.
What did I just say...??  ;-)

Chris

--
                                  --------
  +------------------------------| _   /| |------------------------------+
  | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
  | E-mail: [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 punt2.demon.co.uk by oink with SMTP (PP) id <11042-10@oink>;
         Wed, 31 Jul 1996 22:45:57 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838843723:16041:2; Wed, 31 Jul 96 21:08:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa15421; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id IAA27037 for dbi-users-real; Wed, 31 Jul 1996 08:57:56 -0700
Precedence: junk
Sender: [email protected]
Received: from ns.newbridge.com (ns.newbridge.com [192.75.23.67])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA27033
         for <[email protected]>; Wed, 31 Jul 1996 08:57:55 -0700
Received: (from adm@localhost) by ns.newbridge.com (8.6.12/8.6.12) id LAA16910
         for <[email protected]>; Wed, 31 Jul 1996 11:57:47 -0400
Received: from portero(192.75.23.66) by ns via smap (V1.3) id sma016816;
         Wed Jul 31 11:57:26 1996
Received: from ckserver.crosskeys.com ([192.168.215.48])
         by kanmaster.ca.newbridge.com (8.6.12/8.6.12) with ESMTP id LAA24239
         for <[email protected]>; Wed, 31 Jul 1996 11:57:22 -0400
Received: from ck41.crosskeys (ck41 [192.168.214.85])
         by ckserver.crosskeys.com (8.6.12/8.6.12) with ESMTP id LAA11808
         for <[email protected]>; Wed, 31 Jul 1996 11:57:21 -0400
Received: by ck41.crosskeys (SMI-8.6/SMI-SVR4) id LAA00592;
         Wed, 31 Jul 1996 11:56:41 -0400
Date: Wed, 31 Jul 1996 11:56:41 -0400
Message-Id: <[email protected]>
From: Ken Workun <[email protected]>
To: [email protected]
Subject: Informix Module needed


Hello all.  I appologize if this question has been answered before but
I am new to the group and could not find the information at the CPAN
sites I visited.

I am looking for the module to interface with Informix
databases. According to the documentation, such a beast exists, but I
cannot seem to locate it anywhere on the ftp sites....

Can someone point me to a specific site which contains the Informix
module or am I hunting for a phantom.

Cheers,

Ken

--
"The fact that a believer is happier than a skeptic is no more to the point
than the fact that a drunken man is happier than a sober one.  The happiness
of credulity is a cheap and dangerous quality."  George Bernard Shaw
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-11@oink>;
         Wed, 31 Jul 1996 22:46:01 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838843724:16139:1; Wed, 31 Jul 96 21:08:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa15575; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id HAA26801 for dbi-users-real; Wed, 31 Jul 1996 07:08:26 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA26796
         for <[email protected]>; Wed, 31 Jul 1996 07:08:23 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa10457; 31 Jul 96 14:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id af00941; 31 Jul 96 15:05 +0100
Received: from toad by oink with SMTP (PP) id <07853-0@oink>;
         Wed, 31 Jul 1996 14:55:26 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21603;
         Wed, 31 Jul 1996 14:55:18 +0000
Date: Wed, 31 Jul 1996 14:55:18 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Perl 5 and Sybase
X-Sun-Charset: US-ASCII
content-length: 570
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve Albin <[email protected]>
>
> Hi.
>
> I've been reading the mail here, and the archives, and checking many
> cross-references and links and FAQs, but I haven't seen anything recent
> about Sybase and/or sybperl and Perl 5.
>
> Is there active work on the sybperl DBD?
>
> It seemed to be version 0.01 from many months ago.
>
> Is it realistic for me to try to use Perl 5 as a gateway to a
> Sybase database for writing production scripts?
>
> Any pointers on web access to Sybase would be appreciated.

Use the Sybperl module(s) from CPAN.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11042-12@oink>;
         Wed, 31 Jul 1996 22:46:05 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838843725:16111:1; Wed, 31 Jul 96 21:08:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa15483; 31 Jul 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id HAA26849 for dbi-users-real; Wed, 31 Jul 1996 07:33:37 -0700
Precedence: junk
Sender: [email protected]
Received: from dns.easynet.it ([email protected] [151.99.189.2])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA26845
         for <[email protected]>; Wed, 31 Jul 1996 07:33:33 -0700
Received: from intel90 (ppp32.easynet.it [151.99.189.32])
         by dns.easynet.it (8.6.12/8.6.9) with SMTP id QAA07581
         for <[email protected]>; Wed, 31 Jul 1996 16:32:16 +0100
Message-ID: <[email protected]>
Date: Wed, 31 Jul 1996 16:31:51 +0200
From: Vito Franzoni <[email protected]>
Organization: Synergon s.r.l.
X-Mailer: Mozilla 2.0 (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 <11458-1@oink>;
         Wed, 31 Jul 1996 23:26:16 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838835124:07175:0; Wed, 31 Jul 96 18:45:24 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa06479; 31 Jul 96 18:44 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa14970; 31 Jul 96 18:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA27588 for dbi-users-real; Wed, 31 Jul 1996 10:36:07 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA27584
         for <[email protected]>; Wed, 31 Jul 1996 10:36:02 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id ad00502; 31 Jul 96 17:35 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa19365; 31 Jul 96 18:28 +0100
Received: from toad by oink with SMTP (PP) id <09760-0@oink>;
         Wed, 31 Jul 1996 18:27:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22364;
         Wed, 31 Jul 1996 18:27:28 +0000
Date: Wed, 31 Jul 1996 18:27:28 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD-Oracle0.36/Perl5.003/AIX4.1.4 make fails.
X-Sun-Charset: US-ASCII
content-length: 979
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Amit Bhati <[email protected]>
>
> I am using DBD-Oracle-0.36 with DBI-0.71 on Perl5.003 installed. 'perl
> Makefile.PL' executes without errors. After that make fails. Here is a
> script of running 'make'. Anybody have a clue why this is happening?

>          LD_RUN_PATH="/opt/oracle/7.2.2/lib:/lib" ld -H512 -T512 -bhalt:4 -o
>  ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE
>  -bI:/perl/lib/rs6000/5.003/CORE/perl.exp -bE:Oracle.exp -e _nostart -lc
>  -L/usr/local/lib Oracle.o  dbdimp.o /opt/oracle/7.2.2/lib/osntab.o
>  /lib/crt0.o -L/opt/oracle/7.2.2/lib -locic -lsqlnet -lora -lsqlnet
>  -lora -lnlsrtl3 -lc3v6
>  -lcore3 -lnlsrtl3 -lcore3 -lm -lld -lm -lc
>  0706-317 ERROR: Unresolved or undefined symbols detected:
>                   Symbols in error (followed by references) are
>                   dumped to the load map.
>                   The -bloadmap:<filename> option will create a load map.

Fixed in DBD-Oracle-0.37.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11458-6@oink>;
         Wed, 31 Jul 1996 23:26:34 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838839952:29165:1; Wed, 31 Jul 96 20:05:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa29077; 31 Jul 96 20:05 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa08687; 31 Jul 96 20:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id LAA28068 for dbi-users-real; Wed, 31 Jul 1996 11:58:32 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA28064
         for <[email protected]>; Wed, 31 Jul 1996 11:58:30 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id TAA03705; Wed, 31 Jul 1996 19:50:04 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: Informix Module needed
To: Ken Workun <[email protected]>
Date: Wed, 31 Jul 1996 19:50:04 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Ken Workun" at Jul 31, 96 11:56:41 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
Content-Length: 721


> Hello all.  I appologize if this question has been answered before but
> I am new to the group and could not find the information at the CPAN
> sites I visited.
>
> I am looking for the module to interface with Informix
> databases. According to the documentation, such a beast exists, but I
> cannot seem to locate it anywhere on the ftp sites....
>
> Can someone point me to a specific site which contains the Informix
> module or am I hunting for a phantom.

See:

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

> Ken

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11458-8@oink>;
         Wed, 31 Jul 1996 23:26:39 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838841184:12913:2; Wed, 31 Jul 96 20:26:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa12677; 31 Jul 96 20:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id JAA27166 for dbi-users-real; Wed, 31 Jul 1996 09:23:47 -0700
Precedence: junk
Sender: [email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA27159
         for <[email protected]>; Wed, 31 Jul 1996 09:23:45 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24])
         by cse.psu.edu (8.7.5/8.7.3) with ESMTP id MAA01911
         for <[email protected]>; Wed, 31 Jul 1996 12:24:41 -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: [email protected]
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
In-reply-to: Your message of "Wed, 31 Jul 1996 09:18:27 PDT." <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 31 Jul 1996 12:24:22 EDT
From: John D Groenveld <[email protected]>

I suspect that his perl was built with SunC. I guess he'll have to build his
DBD-Oracle with SunC as well?
John

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11458-22@oink>;
         Wed, 31 Jul 1996 23:30:32 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838848463:06280:0; Wed, 31 Jul 96 22:27:43 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa05946; 31 Jul 96 22:27 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa24008; 31 Jul 96 22:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id LAA27902 for dbi-users-real; Wed, 31 Jul 1996 11:30:31 -0700
Precedence: junk
Sender: [email protected]
Received: from mailhub.stratus.com (mailhub.stratus.com [134.111.1.14])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA27898
         for <[email protected]>; Wed, 31 Jul 1996 11:30:29 -0700
Received: from zen (zen.cac.stratus.com [134.111.40.11])
         by mailhub.stratus.com (8.7.5/8.7.3) with SMTP id OAA04301
         for <[email protected]>; Wed, 31 Jul 1996 14:30:09 -0400 (EDT)
Received: from silvector.cac.stratus.com by zen (SMI-8.6/SMI-SVR4) id OAA09505;
         Wed, 31 Jul 1996 14:29:08 -0400
Received: by silvector.cac.stratus.com (NX5.67f2/NX3.0S) id AA16359;
         Wed, 31 Jul 96 14:29:09 -0400
Message-Id: <[email protected]>
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
X-Face: *W=O,$&$JNuSNudEF3_{XX{2L$~~.bw4]{GJ[vB7A.@(-e4&:kjc\(.=R.tWP8/@Afw5.bGi
       j+Q&;}iIcjcc/]p-6xd^+0kG?|.['Y*5!/SZjSARk<.7fG:<&~c40~%"e9w%0m~8:;{D6<+N
       ^2_`?kBFY1tZ;~v3:JJDf`+(NC[;@tq1.9OFDOt_yq:pv6,l=EE!P8HUn[]/RBOV_"=_3JS8
       y
X-Nextstep-Mailer: Mail 3.3 (Enhance 1.0)
Original-Received: by NeXT.Mailer (1.118.2)
PP-warning: Illegal Received field on preceding line
From: Jon Day <[email protected]>
Date: Wed, 31 Jul 96 14:29:05 -0400
To: [email protected]


unsubscribe
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12087-0@oink>;
         Wed, 31 Jul 1996 23:44:14 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838852593:04676:2; Wed, 31 Jul 96 23:36:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa04095; 31 Jul 96 23:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA28982 for dbi-users-real; Wed, 31 Jul 1996 15:31:17 -0700
Precedence: junk
Sender: [email protected]
Received: from lns62.lns.cornell.edu (LNS62.LNS.CORNELL.EDU [128.84.219.62])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA28978
         for <[email protected]>; Wed, 31 Jul 1996 15:31:11 -0700
From: [email protected]
Received: from LNS62.LNS.CORNELL.EDU
         by LNS62.LNS.CORNELL.EDU (PMDF V4.3-13 #13710)
         id <[email protected]>;
         Wed, 31 Jul 1996 18:30:45 -0400 (EDT)
Date: Wed, 31 Jul 1996 18:30:45 -0400 (EDT)
Subject: Re: DBperl Q's
To: [email protected]
Cc: [email protected]
Message-id: <[email protected]>
X-VMS-To: IN%"[email protected]"
X-VMS-Cc: IN%"[email protected]"
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

Dave Price <[email protected]> writes recently (31-JUL-1996):

>Peter -
>   Thanks for responding to my message.  I think I am already doing as you
>suggest.  Below is the script that I have written and the output that I
>get when I submit it from the command line.
>   It successfully loads the Oracle driver, connects to the database and
>issues a query. But, when perl hits the $dbh->disconnect statement it
>complains. The message I get is: Bad free() ignored at test.pl line 39.
>    test.pl is my script which is to pull data from a simple database and
>display the results in an html page. I get the above message if I run the
>script from the command line. If I try and load the CGI script into my
>browser (Netscape Gold 3.0beta), I get a Server Error telling me to look
>at the error log.  The log says:
>   failure: for host my.ip.address trying to GET
>/cgi-bin/dprice/test.pl, cgi-parse-output reports: the CGI program
>/tssg/ns-http/cgi-bin/dprice/test.pl did not produce a valid header name
>without value: got line "bad free() ignored at
>/tssg/ns-http/cgi-bin/dprice/test.pl line 39.")
>   The generated HTML looks fine, so I assume that when I get rid of
>this error all should work fine.  Thanks in advance for any help you can
>give me.
>- Dave Price ([email protected])

That sounds right to me. I'll bet that the message you see:

  Bad free() ignored at test.pl line 39.

is actually going to STDERR (rather than STDOUT) since these two filestreams
are not necessarily in synch with each other (or because your http server is
set up to sniff out anything on STDERR) it is generating the result you see via
the browser.

Depending on what interactive shell you use you could redirect these output
streams and verify my speculation. However, that is no reason that the call to
the $dbh->disconnect; method should cause this trouble. I would look into that
module to see what might be wrong (perhaps add some diagnostic print;
statements). Also, I note that on CPAN the most recent version of DBI is
DBI-0.71.tar.gz and you might want to upgrade to that if you have not already
done so. I have CCed my response to you to the [email protected] list
in the hope that anyone there might be able to assist you further with this
problem.

Peter Prymmer
[email protected]


>#!/usr/bin/perl -w
>
>use DBI;
>
>MAIN:
>{
>   $ENV{'ORACLE_HOME'} = '/data2/oracle/7.2';
>   $ENV{'ORACLE_SID'} = 'dev03';
>   $drh = DBI->install_driver('Oracle');
>   print "ERROR : install driver failed\n" unless $drh;
>
>   $dbh = $drh->connect('dev03', 'dprice', 'meghan');
>   print "ERROR : Unable to connect to database.\n" unless $dbh;
>
>   $cursor = $dbh->prepare("SELECT table_name FROM user_tables");
>
>   if (!defined($cursor))
>   {
>      print "ERROR : Unable to prepare SQL statement.\n";
>      die;
>   }
>
>   $cursor->execute;
>
>   print "Content-type: text/html\n\n";
>   print "<html>\n";
>   print "<title>Some title</title>\n";
>   print "<body bgcolor=\"#ffffff\">\n";
>
>   while ($field = $cursor->fetchrow)
>   {
>      print "Field: $field\n";
>   }
>   print "No more found.\n";
>   print "</body></html>\n";
>
>   $cursor->finish;
>
>   $dbh->disconnect;
>}
>exit;
>
>OUTPUT....
>Content-type: text/html
>
><html>
><title>Some title</title>
><body bgcolor="#ffffff">
>Field: CATEGORIES
>Field: CATEGORY_ITEMS
>Field: CLASSES
>No more found.
></body></html>
>Bad free() ignored at test.pl line 39.



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12165-0@oink>;
         Wed, 31 Jul 1996 23:56:41 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838853469:00963:4; Wed, 31 Jul 96 23:51:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa00856; 31 Jul 96 23:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA29061 for dbi-users-real; Wed, 31 Jul 1996 15:47:01 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA29057
         for <[email protected]>; Wed, 31 Jul 1996 15:46:56 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
         id ad16367; 31 Jul 96 23:46 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id ab16342; 31 Jul 96 23:44 +0100
Received: from toad by oink with SMTP (PP) id <12031-0@oink>;
         Wed, 31 Jul 1996 23:40:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23304;
         Wed, 31 Jul 1996 23:39:54 +0000
Date: Wed, 31 Jul 1996 23:39:54 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 681
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: John D Groenveld <[email protected]>
>
> > Note that Perl5.003_01 will include a patch of mine which will allow you
> > to silence perl's malloc via an environment variable. If you want to
> > you could apply the patch now:
>
> I think I'll stick with my 7.2.3 instance which is nice and stable. I get very nervous about auch work-arounds. Has anyone submitted this bug as a TAR?

I don't think the Bad free is anything to fear. I'm happily building a
mission critical system on 7.3.2 (and DBD::Oracle/Oraperl.pm :-) right now.

Tim.

p.s. The biggest pain was the withdrawl of Sql*Net V1 (yes we had notice
ages ago, but we were to lazy to change to V2 earlier :-).
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12859-3@oink>;
         Thu, 1 Aug 1996 03:28:20 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838856238:17843:2; Thu, 01 Aug 96 00:37:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa17450; 1 Aug 96 0:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id LAA27736 for dbi-users-real; Wed, 31 Jul 1996 11:02:33 -0700
Precedence: junk
Sender: [email protected]
Received: from master.hway.net (master.hway.net [207.100.8.10])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA27732
         for <[email protected]>; Wed, 31 Jul 1996 11:02:31 -0700
Received: from ns.hway.net by master.hway.net
         via SMTP (951211.SGI.8.6.12.PATCH1042/951211.SGI) id OAA22812;
         Wed, 31 Jul 1996 14:01:48 -0400
Message-Id: <[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, 31 Jul 1996 13:01:23 -0700
To: Tim Bunce <[email protected]>
From: Mike Lucente <[email protected]>
Subject: Re: Perl 5 and Sybase
Cc: [email protected]

I just checked CPAN and ran across the following ...

Requirements: Perl ver 3.0.27 or higher (4.036 strongly suggested!).
                Sybase DB-Library (aka Open Client), 4.0 or higher

.. my question: will Sybperl work with Perl 5 or greater?

At 02:55 PM 7/31/96 +0000, you wrote:
>
>> From: Steve Albin <[email protected]>
>>
>> Hi.
>>
>> I've been reading the mail here, and the archives, and checking many
>> cross-references and links and FAQs, but I haven't seen anything recent
>> about Sybase and/or sybperl and Perl 5.
>>
>> Is there active work on the sybperl DBD?
>>
>> It seemed to be version 0.01 from many months ago.
>>
>> Is it realistic for me to try to use Perl 5 as a gateway to a
>> Sybase database for writing production scripts?
>>
>> Any pointers on web access to Sybase would be appreciated.
>
>Use the Sybperl module(s) from CPAN.
>
>Tim.
>
>
=======================
Mike Lucente
[email protected]
Hiway Technologies, Inc.
http://www.hway.net

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

After hours - please reply to [email protected]
or [email protected]

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12859-5@oink>;
         Thu, 1 Aug 1996 03:28:30 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838856244:17703:9; Thu, 01 Aug 96 00:37:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa17596; 1 Aug 96 0:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA27653 for dbi-users-real; Wed, 31 Jul 1996 10:43:14 -0700
Precedence: junk
Sender: [email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA27649
         for <[email protected]>; Wed, 31 Jul 1996 10:43:12 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24])
         by cse.psu.edu (8.7.5/8.7.3) with ESMTP id NAA02835;
         Wed, 31 Jul 1996 13:43:35 -0400 (EDT)
Message-Id: <[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: Tim Bunce <[email protected]>
Cc: [email protected]
Subject: Re: Bad free's w/ DBD-Oracle-0.37 with 7.3.2.2
In-reply-to: Your message of "Wed, 31 Jul 1996 18:15:51 -0000." <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 31 Jul 1996 13:43:07 EDT
From: John D Groenveld <[email protected]>

> Note that Perl5.003_01 will include a patch of mine which will allow you
> to silence perl's malloc via an environment variable. If you want to
> you could apply the patch now:

I think I'll stick with my 7.2.3 instance which is nice and stable. I get very nervous about auch work-arounds. Has anyone submitted this bug as a TAR?
John

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <12859-11@oink>;
         Thu, 1 Aug 1996 03:29:00 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838861667:07442:2; Thu, 01 Aug 96 02:07:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa06928; 1 Aug 96 2:06 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id QAA29153 for dbi-users-real; Wed, 31 Jul 1996 16:01:48 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA29149
         for <[email protected]>; Wed, 31 Jul 1996 16:01:45 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa10768; 31 Jul 96 23:01 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa19887; 31 Jul 96 23:59 +0100
Received: from toad by oink with SMTP (PP) id <12172-0@oink>;
         Wed, 31 Jul 1996 23:59:16 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23407;
         Wed, 31 Jul 1996 23:59:09 +0000
Date: Wed, 31 Jul 1996 23:59:09 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBperl Q's
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 652
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: [email protected]
>
> However, that is no reason that the call to
> the $dbh->disconnect; method should cause this trouble. I would look into that
> module to see what might be wrong (perhaps add some diagnostic print;
> statements).

It's not doing anything wrong. The problem is in Oracle's code (most
commonly seen in 7.3.2).

> Also, I note that on CPAN the most recent version of DBI is
> DBI-0.71.tar.gz and you might want to upgrade to that if you have not already
> done so.

It won't make any difference to this problem.

The DBD::Oracle README file (in recent vesrions) talks about how to
suppress the warnings.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12900-2@oink>;
         Thu, 1 Aug 1996 03:32:06 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838857731:14430:4; Thu, 01 Aug 96 01:02:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa14144; 1 Aug 96 1:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id OAA28668 for dbi-users-real; Wed, 31 Jul 1996 14:23:34 -0700
Precedence: junk
Sender: [email protected]
Received: from franklin.cris.com (franklin.cris.com [199.3.12.31])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA28664
         for <[email protected]>; Wed, 31 Jul 1996 14:23:32 -0700
Received: from darius.cris.com (darius [199.3.12.32])
         by franklin.cris.com (8.7.5/(96/06/11 2.45)) id RAA16119;
         Wed, 31 Jul 1996 17:23:24 -0400 (EDT) [1-800-745-2747 The Concentric Network]
Errors-To: [email protected]
Received: from Frenchroast ([198.95.194.144]) by darius.cris.com (8.7.5)
         id RAA29727; Wed, 31 Jul 1996 17:23:20 -0400 (EDT)
Message-ID: <[email protected]>
Date: Wed, 31 Jul 1996 14:22:40 -0700
From: Dao-liang Chou <[email protected]>
X-Mailer: Mozilla 3.0b5a (X11; I; SunOS 5.5 sun4u)
MIME-Version: 1.0
To: Tim Bunce <[email protected]>
CC: [email protected], [email protected]
Subject: Re: DBD-Oracle0.36/Perl5.003/AIX4.1.4 make fails.
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Tim Bunce wrote:
>
> > From: Amit Bhati <[email protected]>
> >
> > I am using DBD-Oracle-0.36 with DBI-0.71 on Perl5.003 installed. 'perl
> > Makefile.PL' executes without errors. After that make fails. Here is a
> > script of running 'make'. Anybody have a clue why this is happening?
>
> >          LD_RUN_PATH="/opt/oracle/7.2.2/lib:/lib" ld -H512 -T512 -bhalt:4 -o
> >  ./blib/arch/auto/DBD/Oracle/Oracle.so -H512 -T512 -bhalt:4 -bM:SRE
> >  -bI:/perl/lib/rs6000/5.003/CORE/perl.exp -bE:Oracle.exp -e _nostart -lc
> >  -L/usr/local/lib Oracle.o  dbdimp.o /opt/oracle/7.2.2/lib/osntab.o
> >  /lib/crt0.o -L/opt/oracle/7.2.2/lib -locic -lsqlnet -lora -lsqlnet
> >  -lora -lnlsrtl3 -lc3v6
> >  -lcore3 -lnlsrtl3 -lcore3 -lm -lld -lm -lc
> >  0706-317 ERROR: Unresolved or undefined symbols detected:
> >                   Symbols in error (followed by references) are
> >                   dumped to the load map.
> >                   The -bloadmap:<filename> option will create a load map.
>
> Fixed in DBD-Oracle-0.37.
>
> Tim.

When can we get this version?  Thanks.
--
Dao-liang Chou
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12900-8@oink>;
         Thu, 1 Aug 1996 03:32:44 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838859379:29400:2; Thu, 01 Aug 96 01:29:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa28543; 1 Aug 96 1:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA28919 for dbi-users-real; Wed, 31 Jul 1996 15:26:05 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA28915
         for <[email protected]>; Wed, 31 Jul 1996 15:26:02 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
         id ab14155; 31 Jul 96 23:25 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa10830; 31 Jul 96 23:23 +0100
Received: from toad by oink with SMTP (PP) id <11440-0@oink>;
         Wed, 31 Jul 1996 23:23:24 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23153;
         Wed, 31 Jul 1996 23:23:18 +0000
Date: Wed, 31 Jul 1996 23:23:18 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: Perl 5 and Sybase
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 718
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Mike Lucente <[email protected]>
>
> I just checked CPAN and ran across the following ...
>
> Requirements: Perl ver 3.0.27 or higher (4.036 strongly suggested!).
>                  Sybase DB-Library (aka Open Client), 4.0 or higher
>
> ... my question: will Sybperl work with Perl 5 or greater?

Sorry, it's called Sybase not Sybperl. Look in the module list (which
everyone should do before sending mail flying around the globe):

Sybase::
::DBlib        RdcO  Sybase DBlibrary interface                   MEWP
::Sybperl      Rdpf  sybperl 1.0xx compatibility module           MEWP
::CTlib        bdcO  Sybase CTlibrary interface                   MEWP

 MEWP   Michael Peppler <[email protected]>

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15488-0@oink>;
         Thu, 1 Aug 1996 04:29:02 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838867332:27894:4; Thu, 01 Aug 96 03:42:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa27497; 1 Aug 96 3:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id TAA29806 for dbi-users-real; Wed, 31 Jul 1996 19:33:49 -0700
Precedence: junk
Sender: [email protected]
Received: from sierra.zyzzyva.com (ppp0.zyzzyva.com [198.183.2.50])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA29802
         for <[email protected]>; Wed, 31 Jul 1996 19:33:46 -0700
Received: from sierra.zyzzyva.com (localhost [127.0.0.1])
         by sierra.zyzzyva.com (8.7.5/8.7.3) with ESMTP id VAA17042;
         Wed, 31 Jul 1996 21:33:42 -0500 (CDT)
Message-Id: <[email protected]>
To: [email protected], [email protected], [email protected]
Subject: Performance/Feature comparision of PHP vs. mod_perl
X-uri: http://www.zyzzyva.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 31 Jul 1996 21:33:42 -0500
From: Randy Terbush <[email protected]>


It seems these days that there is more and more overlap between
the mod_php and mod_perl projects.

Has there been any hard data gathered regarding performance of
one solution vs. the other? (Speaking in terms of Apache module version)

Are there clear advantages of one over another?

No language religion wars please....just the facts sir/maam

Hopefully ya'll have your duplicate mail shields up. I know
many of you are on all three lists....



---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16187-0@oink>;
         Thu, 1 Aug 1996 07:35:55 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838870522:17962:2; Thu, 01 Aug 96 04:35:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa17544; 1 Aug 96 4:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id UAA29975 for dbi-users-real; Wed, 31 Jul 1996 20:31:11 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA29971
         for <[email protected]>; Wed, 31 Jul 1996 20:31:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa13855; 1 Aug 96 3:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa22370; 1 Aug 96 4:29 +0100
Received: from toad by oink with SMTP (PP) id <15342-0@oink>;
         Thu, 1 Aug 1996 04:03:33 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24358;
         Thu, 1 Aug 1996 04:03:21 +0000
Date: Thu, 1 Aug 1996 04:03:21 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Re: DBD-Oracle0.36/Perl5.003/AIX4.1.4 make fails.
Cc: [email protected], [email protected]
X-Sun-Charset: US-ASCII
content-length: 242
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Dao-liang Chou <[email protected]>
>
> > Fixed in DBD-Oracle-0.37.
>
> When can we get this version?  Thanks.

Same place as all the others. Any CPAN site (if it's got there yet)
else ftp.demon.co.uk in /pub/perl/db/DBD/Oracle.

Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16186-2@oink>;
         Thu, 1 Aug 1996 07:36:01 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838874929:07865:1; Thu, 01 Aug 96 05:48:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa07606; 1 Aug 96 5:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id TAA29825 for dbi-users-real; Wed, 31 Jul 1996 19:43:51 -0700
Precedence: junk
Sender: [email protected]
Received: from mixer.visi.com ([email protected] [204.73.178.1])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA29821
         for <[email protected]>; Wed, 31 Jul 1996 19:43:48 -0700
Received: (from amit@localhost) by mixer.visi.com (8.7.4/8.7.5) id VAA09901
         for [email protected]; Wed, 31 Jul 1996 21:43:41 -0500 (CDT)
From: Amit Bhati <[email protected]>
Posted-Date: Wed, 31 Jul 1996 21:43:41 -0500 (CDT)
Message-Id: <[email protected]>
Subject: 'make test' fail on DBD-Oracle-0.37.
To: [email protected] (DBI:DBD Mailing List)
Date: Wed, 31 Jul 1996 21:43:41 +1900 (CDT)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text

I have successfully compiled DBD-Oracle-0.37, with DBI-0.71 and Perl
5.003 on AIX 4.1.4. Now when I run 'make test' it fails. I am rather
novice at Oracle, and my gut feeling is that this has something to do
with setting-up environment variables... etc.

But ORACLE_HOME and ORACLE_SID are set. I have SQLNET and Pro*C on the
system. The db sits on another machine on the network.

What adiitional settings have to be done for 'make test' to succeed?

amit
--

; maui[root]>make test
;
;         PERL_DL_NONLAZY=1 /perl/bin/perl -I./blib/arch -I./blib/lib
; -I/perl/lib/rs6000/5.003 -I/perl/lib -e 'use Test::Harness qw(&runtests
; $verbose); $verbose=0; runtests @ARGV;' t/*.t
; t/base..............ok
; All tests successful.
; Files=1,  Tests=5,  1 secs ( 0.47 cusr     0.07 csys =  0.54 cpu)
;         PERL_DL_NONLAZY=1 /perl/bin/perl -I./blib/arch -I./blib/lib
;      -I/perl/lib/rs6000/5.003 -I/perl/lib test.pl
;      Oraperl    test application $Revision: 1.21 $
;
;      Oraperl    Emulation Interface version 1.28
;      Oracle Driver 0.37
;      DBI-0.71 Switch    by Tim Bunce, version 0.71
;
;
;      Connecting
;       to '' (from command line, else    uses ORACLE_SID/TWO_TASK)
;       as 'crgs/crgs'    (via ORACLE_USERID environment var or default)
;      ora_login: 1034: ORA-01034: ORACLE not available (DBD: login failed)
;
;      ORACLE_SID or TWO_TASK possibly    not right, or server not running.
;
;      Could not connect to database. Test aborted.
;      The error code from the    last failed command is -1.
;
;      Make Quitting.
;      maui[root]>
;
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20904-3@oink>;
         Thu, 1 Aug 1996 22:56:42 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838923115:23538:3; Thu, 01 Aug 96 19:11:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa22850; 1 Aug 96 19:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id LAA01720 for dbi-users-real; Thu, 1 Aug 1996 11:05:11 -0700
Precedence: junk
Sender: [email protected]
Received: from camg2.mfg.mke.ab.com (camg2.mfg.mke.ab.com [130.151.82.104])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA01709
         for <[email protected]>; Thu, 1 Aug 1996 11:04:54 -0700
Received: from [130.151.91.215] (ice1.mfg.mke.ab.com)
         by camg2.mfg.mke.ab.com (4.1/SMI-4.1) id AA24711;
         Thu, 1 Aug 96 13:02:01 CDT
X-Sender: [email protected]
Message-Id: <v03007801ae269bcde1ab@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 1 Aug 1996 13:02:18 -0500
To: [email protected]
From: Christopher Ice <[email protected]>
Subject: DBD-Oracle0.37 build question...

Well finally installed SparcWorks (same compiler that perl was built with),
and ran a build.  The build happened successfully, but not without a ream
or two of warns.  Does this guy build clean if done right?  If so, anyone
care to see the warns I got?

Unable to get make test to finish ok:

>Oraperl Emulation Interface version 1.28
>Oracle Driver 0.37
>DBI-0.71 Switch by Tim Bunce, version 0.71
>
>
>Connecting
> to '' (from command line, else uses ORACLE_SID/TWO_TASK)
> as 'crgs/crgs' (via ORACLE_USERID environment var or default)
>ora_login: 12545: ORA-12545: TNS:name lookup failure (DBD: login failed)
>
>Could not connect to database. Test aborted.
>*** Error code 2
>make: Fatal error: Command failed for target `test_dynamic'

However, a nervous make install and test code works OK.  Sooo...any words
of wisdom?

Chris

--
                                  --------
  +------------------------------| _   /| |------------------------------+
  | Chris Ice, Software Engineer | \`o_O' | Rockwell Automation          |
  | E-mail: [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 <20904-11@oink>;
         Thu, 1 Aug 1996 22:57:08 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838932806:10875:1; Thu, 01 Aug 96 21:53:26 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa10574; 1 Aug 96 21:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id NAA04245 for dbi-users-real; Thu, 1 Aug 1996 13:45:14 -0700
Precedence: junk
Sender: [email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA04241
         for <[email protected]>; Thu, 1 Aug 1996 13:45:12 -0700
Received: from delphi.cse.psu.edu (delphi.cse.psu.edu [130.203.18.24])
         by cse.psu.edu (8.7.5/8.7.3) with ESMTP id QAA03654;
         Thu, 1 Aug 1996 16:45:51 -0400 (EDT)
Message-Id: <[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: Christopher Ice <[email protected]>
cc: [email protected]
Subject: Re: DBD-Oracle0.37 build question...
In-reply-to: Your message of "Thu, 01 Aug 1996 13:02:18 CDT." <v03007801ae269bcde1ab@[130.151.91.215]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 01 Aug 1996 16:45:28 EDT
From: John D Groenveld <[email protected]>

> Connecting
> to '' (from command line, else uses ORACLE_SID/TWO_TASK)
> as 'crgs/crgs' (via ORACLE_USERID environment var or default)

RTFO! Did you set these?
John

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20919-9@oink>;
         Thu, 1 Aug 1996 22:57:59 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838931714:19751:2; Thu, 01 Aug 96 21:35:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa19305; 1 Aug 96 21:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA01537 for dbi-users-real; Thu, 1 Aug 1996 10:05:04 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA01533
         for <[email protected]>; Thu, 1 Aug 1996 10:05:00 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id ae23230; 1 Aug 96 17:04 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id ab15327; 1 Aug 96 18:00 +0100
Received: from toad by oink with SMTP (PP) id <18815-0@oink>;
         Thu, 1 Aug 1996 15:40:19 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA26432;
         Thu, 1 Aug 1996 15:40:12 +0000
Date: Thu, 1 Aug 1996 15:40:12 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: Perl DBI for Microsoft SQL
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 384
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424

Forwarded to dbi-users.

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

From [email protected]  Thu Aug  1 15:03:49 1996
Date: Thu, 1 Aug 1996 03:30:33 -0400
From: Vikas Aggarwal <[email protected]>
To: [email protected]
Subject: Perl DBI for Microsoft SQL

Tim,

Is there a Perl interface/extension for accessing Microsoft's SQL server ?

Thanks,

       -viaks

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

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <21521-1@oink>;
         Thu, 1 Aug 1996 23:28:10 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838937931:06241:1; Thu, 01 Aug 96 23:18:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa05986; 1 Aug 96 23:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id LAA01946 for dbi-users-real; Thu, 1 Aug 1996 11:18:04 -0700
Precedence: junk
Sender: [email protected]
Received: from tesi.tesi.com (tesi.com [199.26.183.18])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA01942
         for <[email protected]>; Thu, 1 Aug 1996 11:18:02 -0700
Date: Thu, 1 Aug 1996 11:18:02 -0700
Received: from kuekes.tesi.com by tesi.tesi.com id aa25010; 1 Aug 96 14:12 EDT
X-Sender: [email protected]
X-Mailer: Windows Eudora Pro Version 2.1.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected]
From: Steve Kuekes <[email protected]>
Subject: DBI on SCO 3 with Oracle 7
Message-ID: <[email protected]>

Hopefully someone can help me.  I am attempting to install the Oracle DBD (version 0.37) for Perl 5 on a SCO 3 machine.  I have successfully installed Perl 5 and the DBI interface.  I can successfully make the oracle DBD, but during the test I get a unresolved external reference to __fltused as below.

install_driver(Oracle) failed: Can't load './blib/arch/auto/
DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /work/skuekes/loca
l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
/lib/perl5/DynaLoader.pm line 140.

I'm so close to getting this to work.  I hope someone can shed some light on this.




Steve Kuekes
Vice President
Tangram Enterprise Solutions, Inc. (Nasdaq SmallCap:TESI)
Raleigh, North Carolina
(919)851-6000 ---- (919)851-6004 (fax)

===> Home of Asset Insight(tm) <===
Offering state of the art Enterprise Asset Management Systems

email: [email protected] ---  http://www.tesi.com/

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22217-9@oink>;
         Fri, 2 Aug 1996 04:04:14 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838943171:00933:7; Fri, 02 Aug 96 00:46:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa00578; 2 Aug 96 0:45 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id QAA06915 for dbi-users-real; Thu, 1 Aug 1996 16:37:20 -0700
Precedence: junk
Sender: [email protected]
Received: from labtam.labtam.OZ.AU (labtam.labtam.OZ.AU [137.109.1.16])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA06911
         for <[email protected]>; Thu, 1 Aug 1996 16:37:18 -0700
Received: from titanic.labtam.OZ.AU by labtam.labtam.OZ.AU (8.6.12/8.6.6+1.15)
         with SMTP id JAA19891 for <[email protected]>;
         Fri, 2 Aug 1996 09:37:14 +1000
Received: from titanic (localhost) by titanic.labtam.OZ.AU (5.0/SMI-SVR4)
         id AA03495; Fri, 2 Aug 1996 09:37:04 --1000
Message-Id: <[email protected]>
X-Mailer: exmh version 1.6.4 10/10/95
To: [email protected]
Subject: Oraperl or DBI/DBD::Oracle
From: Des Buckmaster <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 02 Aug 1996 09:37:02 +1000
content-length: 1039

Hi, I have just joined this group and we have just changed over from CA-Ingres
to Oracle. We have many Perl4 and Perl5 scripts and a few ingperl scripts.

We need to develop new systems in oracle. I had heard that DBI/DBD::Oracle was
the way to go but after reading some of the mail I thought I might start out
using oraperl and then convert to DBI/DBD::Oracle later.

What do people think - I want to get some production (prototype) systems up in
about 3 months.

Des Buckmaster

--
+----------------------------------------------------------+
|Des Buckmaster,               |    Tel: +61 3 9239 1444   |
|Information Systems Manager,  |    Fax: +61 3 9580 5581   |
|Access One,                   |  Email: [email protected]  |
|43 Malcolm Rd,                |---------------------------|
|Braeside                      | Rules were made for the   |
|Vic 3195                      | obedience of fools and    |
|Australia                     | guidance of wise people   |
+----------------------------------------------------------+

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <22218-12@oink>;
         Fri, 2 Aug 1996 04:04:16 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838946554:11911:1; Fri, 02 Aug 96 01:42:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa11350; 2 Aug 96 1:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA05811 for dbi-users-real; Thu, 1 Aug 1996 15:29:42 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA05807
         for <[email protected]>; Thu, 1 Aug 1996 15:29:36 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id ab22427; 1 Aug 96 22:29 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa29060; 1 Aug 96 23:27 +0100
Received: from toad by oink with SMTP (PP) id <21440-0@oink>;
         Thu, 1 Aug 1996 23:07:45 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27628;
         Thu, 1 Aug 1996 23:07:38 +0000
Date: Thu, 1 Aug 1996 23:07:38 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBD-Oracle0.37 build question...
X-Sun-Charset: US-ASCII
content-length: 1067
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Christopher Ice <[email protected]>
>
> Well finally installed SparcWorks (same compiler that perl was built with),
> and ran a build.  The build happened successfully, but not without a ream
> or two of warns.  Does this guy build clean if done right?

Depend on what warnings you have enabled.

> If so, anyone care to see the warns I got?

Send'em to me.

> Unable to get make test to finish ok:
>
> >Oraperl Emulation Interface version 1.28
> >Oracle Driver 0.37
> >DBI-0.71 Switch by Tim Bunce, version 0.71
> >
> >
> >Connecting
> > to '' (from command line, else uses ORACLE_SID/TWO_TASK)
> > as 'crgs/crgs' (via ORACLE_USERID environment var or default)
> >ora_login: 12545: ORA-12545: TNS:name lookup failure (DBD: login failed)
> >
> >Could not connect to database. Test aborted.
> >*** Error code 2
> >make: Fatal error: Command failed for target `test_dynamic'
>
> However, a nervous make install and test code works OK.  Sooo...any words
> of wisdom?

You have set TWO_TASK haven't you?
Try connecting to the database using sqlplus.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22217-29@oink>;
         Fri, 2 Aug 1996 04:05:33 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838946223:29876:6; Fri, 02 Aug 96 01:37:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa29756; 2 Aug 96 1:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id RAA07797 for dbi-users-real; Thu, 1 Aug 1996 17:31:58 -0700
Precedence: junk
Sender: [email protected]
Received: from carver.bitsource.com ([email protected] [38.248.243.2])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA07793
         for <[email protected]>; Thu, 1 Aug 1996 17:31:57 -0700
Received: from jasper (jasper.bitsource.com [192.168.1.10])
         by carver.bitsource.com (8.7.3/8.7.3) with SMTP id RAA02496
         for <[email protected]>; Thu, 1 Aug 1996 17:38:50 -0700 (PDT)
Message-Id: <2.2.32.19960802003340.0093e4b8@mail>
X-Sender: garry@mail
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Thu, 01 Aug 1996 17:33:40 -0700
To: [email protected]
From: Garry Saperstein <[email protected]>
Subject: isqlperl & PERL5

Hi,

Does anyone know if "isqlperl 1.2" for Informix can be built using perl5?
The docs say perl4 is required, but I don't really want to install perl4 if
perl5 can be made to work.

TIA,

-garry

----------------------------------------------------------------------
Garry Saperstein

Bitsource, Inc.                             voice: 415.919.0651
888 Villa Street                              fax: 415.919.0655
Suite 420                                   email: [email protected]
Mountain View, CA  94041                     http://www.bitsource.com
----------------------------------------------------------------------

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <22341-0@oink>;
         Fri, 2 Aug 1996 04:12:04 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 838955470:19921:2; Fri, 02 Aug 96 04:11:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa19587; 2 Aug 96 4:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id UAA10136 for dbi-users-real; Thu, 1 Aug 1996 20:05:04 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA10132
         for <[email protected]>; Thu, 1 Aug 1996 20:04:59 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id ac28151; 2 Aug 96 3:04 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa07259; 2 Aug 96 4:03 +0100
Received: from toad by oink with SMTP (PP) id <21694-0@oink>;
         Thu, 1 Aug 1996 23:36:20 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27720;
         Thu, 1 Aug 1996 23:36:14 +0000
Date: Thu, 1 Aug 1996 23:36:14 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: DBI on SCO 3 with Oracle 7
X-Sun-Charset: US-ASCII
content-length: 794
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Steve Kuekes <[email protected]>
>
> Hopefully someone can help me.  I am attempting to install the Oracle DBD (version 0.37) for Perl 5 on a SCO 3 machine.  I have successfully installed Perl 5 and the DBI interface.  I can successfully make the oracle DBD, but during the test I get a unresolved external reference to __fltused as below.
>
> install_driver(Oracle) failed: Can't load './blib/arch/auto/
> DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /work/skuekes/loca
> l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
> /lib/perl5/DynaLoader.pm line 140.

The README specifically says what info to include in a problem report.
Please send that info together with any 'interesting' output from

       perl Makefile.PL -s __fltused

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22387-1@oink>;
         Fri, 2 Aug 1996 04:17:40 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838955811:06887:2; Fri, 02 Aug 96 04:16:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa06638; 2 Aug 96 4:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id UAA10271 for dbi-users-real; Thu, 1 Aug 1996 20:13:50 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA10267
         for <[email protected]>; Thu, 1 Aug 1996 20:13:48 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa02127; 2 Aug 96 3:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa07983; 2 Aug 96 4:11 +0100
Received: from toad by oink with SMTP (PP) id <22328-0@oink>;
         Fri, 2 Aug 1996 04:10:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28499;
         Fri, 2 Aug 1996 04:10:39 +0000
Date: Fri, 2 Aug 1996 04:10:39 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Oraperl or DBI/DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 507
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Des Buckmaster <[email protected]>
>
> Hi, I have just joined this group and we have just changed over from CA-Ingres
> to Oracle. We have many Perl4 and Perl5 scripts and a few ingperl scripts.
>
> We need to develop new systems in oracle. I had heard that DBI/DBD::Oracle was
> the way to go but after reading some of the mail I thought I might start out
> using oraperl and then convert to DBI/DBD::Oracle later.

Stick to the Oraperl emulation that comes with the DBD::Oracle module.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22431-0@oink>;
         Fri, 2 Aug 1996 04:22:35 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838955898:07352:3; Fri, 02 Aug 96 04:18:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa07098; 2 Aug 96 4:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id UAA10300 for dbi-users-real; Thu, 1 Aug 1996 20:15:15 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA10296
         for <[email protected]>; Thu, 1 Aug 1996 20:15:13 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
         id ac22435; 2 Aug 96 4:15 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa08156; 2 Aug 96 4:13 +0100
Received: from toad by oink with SMTP (PP) id <22352-0@oink>;
         Fri, 2 Aug 1996 04:13:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28516;
         Fri, 2 Aug 1996 04:12:55 +0000
Date: Fri, 2 Aug 1996 04:12:55 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: isqlperl & PERL5
X-Sun-Charset: US-ASCII
content-length: 260
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Garry Saperstein <[email protected]>
>
> Hi,
>
> Does anyone know if "isqlperl 1.2" for Informix can be built using perl5?
> The docs say perl4 is required, but I don't really want to install perl4 if
> perl5 can be made to work.

It can't.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26760-17@oink>;
         Fri, 2 Aug 1996 14:04:26 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838984769:28282:1; Fri, 02 Aug 96 12:19:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa27989; 2 Aug 96 12:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id DAA13609 for dbi-users-real; Fri, 2 Aug 1996 03:26:16 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA13605
         for <[email protected]>; Fri, 2 Aug 1996 03:25:47 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id LAA15761; Fri, 2 Aug 1996 11:16:20 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: isqlperl & PERL5
To: [email protected] (Tim Bunce)
Date: Fri, 2 Aug 1996 11:16:18 +0100 (BST)
Cc: [email protected], [email protected]
In-Reply-To: <[email protected]> from "Tim Bunce" at Aug 2, 96 04:12:55 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
Content-Length: 518


> > Does anyone know if "isqlperl 1.2" for Informix can be built using perl5?
> > The docs say perl4 is required, but I don't really want to install perl4 if
> > perl5 can be made to work.
>
> It can't.

So, nah.

Anyway, use DBD::Informix. See:

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

for more details.

> Tim.

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27555-0@oink>;
         Fri, 2 Aug 1996 14:33:21 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 838992603:17617:2; Fri, 02 Aug 96 14:30:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa16743; 2 Aug 96 14:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id GAA15210 for dbi-users-real; Fri, 2 Aug 1996 06:19:36 -0700
Precedence: junk
Sender: [email protected]
Received: from tesi.tesi.com (tesi.com [199.26.183.18])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA15206
         for <[email protected]>; Fri, 2 Aug 1996 06:19:34 -0700
Date: Fri, 2 Aug 1996 06:19:34 -0700
Received: from kuekes.tesi.com by tesi.tesi.com id aa04395; 2 Aug 96 9:14 EDT
X-Sender: [email protected]
X-Mailer: Windows Eudora Pro Version 2.1.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected]
From: Steve Kuekes <[email protected]>
Subject: Help with Oracle DBD problem on SCO 3
Message-ID: <[email protected]>


Hopefully someone can help me.  I am attempting to install the Oracle DBD (version 0.37) for Perl 5.003 on a SCO 3 machine using the DBI 0.71.  I have successfully installed Perl 5 and the DBI interface.  I can successfully make the oracle DBD, but during the test I get a unresolved external reference to __fltused as below.

install_driver(Oracle) failed: Can't load './blib/arch/auto/
DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /work/skuekes/loca
l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
/lib/perl5/DynaLoader.pm line 140.

I'm so close to getting this to work.  I hope you can shed some light on
this.


Following is the debugging information that is requested in the README.


I am running Perl 5.003 and Oracle 7.1.6.

************************************
Output of perl Makefile.PL
************************************

Configuring DBD::Oracle ...

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

Using Oracle in /u/oracle
Using /u/oracle/rdbms/demo/oracle.mk (version 7.94)
System: perl5.003 sco_sv krolik 3.2 2 i386
Compiler: cc   -belf -KPIC
Linker:   /bin/ld
Oracle proc.mk would have used these values but we override them:
 CC:       /bin/idld $(ORACLE_HOME)/lib/ostart.o
 CFLAGS:   -I. -O
 LDFLAGS:  -L$(LIBHOME)
Linking with /u/oracle/lib/osntab.o /u/oracle/lib/olm.o /u/oracle/lib/old.o /u/o
racle/lib/oln.o /u/oracle/lib/ols.o /u/oracle/lib/olc.o -L/u/oracle/lib -locic
-lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore      -
lcore

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

***************************************
Output of make
***************************************
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
       /work/skuekes/local/bin/perl -I/work/skuekes/local/lib/perl5/i386-sco_sv
/5.003 -I/work/skuekes/local/lib/perl5 /work/skuekes/local/lib/perl5/ExtUtils/xs
ubpp  -typemap /work/skuekes/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.
tc && mv Oracle.tc Oracle.c
       cc -c -I/u/oracle/rdbms/demo -I/u/oracle/rdbms/demo -I/work/skuekes/loca
l/lib/perl5/site_perl/i386-sco_sv/DBI -I/work/skuekes/local/lib/perl5/i386-sco_s
v/5.003/DBI -belf -KPIC      -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\"  -I/work/
skuekes/local/lib/perl5/i386-sco_sv/5.003/CORE  Oracle.c
       cc -c -I/u/oracle/rdbms/demo -I/u/oracle/rdbms/demo -I/work/skuekes/loca
l/lib/perl5/site_perl/i386-sco_sv/DBI -I/work/skuekes/local/lib/perl5/i386-sco_s
v/5.003/DBI -belf -KPIC      -DVERSION=\"0.37\"  -DXS_VERSION=\"0.37\"  -I/work/
skuekes/local/lib/perl5/i386-sco_sv/5.003/CORE  dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
       chmod 644 Oracle.bs
       LD_RUN_PATH="/u/oracle/lib" ld -o ./blib/arch/auto/DBD/Oracle/Oracle.so
-L/usr/local/lib -G Oracle.o  dbdimp.o /u/oracle/lib/osntab.o /u/oracle/lib/olm.
o /u/oracle/lib/old.o /u/oracle/lib/oln.o /u/oracle/lib/ols.o /u/oracle/lib/olc.
o    -L/u/oracle/lib -L/u/oracle/lib -locic -lsqlnet -lora -lsqlnet -lora -lnlsr
tl -lcv6 -lcore -lnlsrtl -lcv6 -lcore -lcore
       chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.so
       cp Oracle.bs ./blib/arch/auto/DBD/Oracle/Oracle.bs
       chmod 644 ./blib/arch/auto/DBD/Oracle/Oracle.bs

***************************************
Output of make test TEST_VERBOSE=1
***************************************
$ make test TEST_VERBOSE=1
       PERL_DL_NONLAZY=1 /work/skuekes/local/bin/perl -I./blib/arch -I./blib/li
b -I/work/skuekes/local/lib/perl5/i386-sco_sv/5.003 -I/work/skuekes/local/lib/pe
rl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t
/*.t
t/base..............install_driver(Oracle) failed: Can't load './blib/arch/auto/
DBD/Oracle/Oracle.so' for module DBD::Oracle: dynamic linker: /work/skuekes/loca
l/bin/perl: relocation error: symbol not found: __fltused at /work/skuekes/local
/lib/perl5/DynaLoader.pm line 140.

at blib/lib/DBD/Oracle.pm line 24
       DBI::install_driver called at t/base.t line 16
1..5
ok 1
ok 2
ok 3
FAILED tests 4-5
       Failed 2/5 tests, 60.00% okay
       Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 2/5 subtests failed, 60.00% okay.
*** Error code 2

*************************************
Output of perl -v
*************************************

Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
 Platform:
   osname=sco_sv, osver=3.2, archname=i386-sco_sv
   uname='sco_sv krolik 3.2 2 i386 '
   hint=previous, useposix=true, d_sigaction=define
 Compiler:
   cc='cc', optimize=' ', gccversion=
   cppflags='-belf -KPIC'
   ccflags ='-belf -KPIC'
   stdchar='unsigned char', d_stdstdio=, usevfork=false
   voidflags=15, castflags=0, d_casti32=, d_castneg=define
   intsize=4, alignbytes=4, usemymalloc=n, randbits=15
 Linker and Libraries:
   ld='ld', ldflags =' -belf -L/usr/local/lib'
   libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
   libs=-lintl -lsocket -lnsl -lndbm -ldbm -lld -lm -lc -lcrypt -lPW -lx
   libc=, so=so
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' -Wl,-Bexport'
   cccdlflags=' ', lddlflags='-L/usr/local/lib -G'

@INC: /work/skuekes/local/lib/perl5/i386-sco_sv/5.003 /work/skuekes/local/lib/pe
rl5 /work/skuekes/local/lib/perl5/site_perl/i386-sco_sv /work/skuekes/local/lib/
perl5/site_perl .
Steve Kuekes
Vice President
Tangram Enterprise Solutions, Inc. (Nasdaq SmallCap:TESI)
Raleigh, North Carolina
(919)851-6000 ---- (919)851-6004 (fax)

===> Home of Asset Insight(tm) <===
Offering state of the art Enterprise Asset Management Systems

email: [email protected] ---  http://www.tesi.com/

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01813-2@oink>;
         Fri, 2 Aug 1996 21:35:45 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 839009646:18459:2; Fri, 02 Aug 96 19:14:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa18166; 2 Aug 96 19:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id LAA19575 for dbi-users-real; Fri, 2 Aug 1996 11:09:30 -0700
Precedence: junk
Sender: [email protected]
Received: from noc.cerf.net ([email protected] [192.153.156.22])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA19570
         for <[email protected]>; Fri, 2 Aug 1996 11:09:29 -0700
Received: (from nbt@localhost) by noc.cerf.net (8.6.10/8.6.9) id LAA03697;
         Fri, 2 Aug 1996 11:06:28 -0700
From: Binh Thanh Nguyen <[email protected]>
Message-Id: <[email protected]>
Subject: Re: isqlperl & PERL5
To: [email protected] (Alligator Descartes)
Date: Fri, 2 Aug 1996 11:06:27 -0700 (PDT)
Cc: [email protected], [email protected], [email protected]
In-Reply-To: <[email protected]> from "Alligator Descartes" at Aug 2, 96 11:16:18 am
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 797

>
>
> > > Does anyone know if "isqlperl 1.2" for Informix can be built using perl5?
> > > The docs say perl4 is required, but I don't really want to install perl4 if
> > > perl5 can be made to work.
> >
> > It can't.
>
> So, nah.
>
> Anyway, use DBD::Informix. See:
>
>       http://www.hermetica.com/technologia/DBI
>
> for more details.
>
> > Tim.
>


Yes, but limited.

Get the softwares (http://www.hermetica.com/technologia/DBI)

PERL5.0003.tar
DBI-0.71.tar
DBD-Informix-0.20pl1.tar

I have these packages installed and worked on Sun Solaris 2.5, Informix 7.x,
ESQL.7x. I haven't use isqlperl so I can't tell what isqlperl
support.  One thing I know, Perl5:Informix interface doesn't support BLOB and
has some bugs in installation scripts.

good luck,

Binh Thanh Nguyen
CERFnet Inc.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01813-4@oink>;
         Fri, 2 Aug 1996 21:35:54 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 839011319:06056:2; Fri, 02 Aug 96 19:41:59 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa05366; 2 Aug 96 19:40 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa15902; 2 Aug 96 19:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id IAA17546 for dbi-users-real; Fri, 2 Aug 1996 08:56:58 -0700
Precedence: junk
Sender: [email protected]
Received: from sand.hynet.it (sea.hynet.it [194.20.222.3])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA17542
         for <[email protected]>; Fri, 2 Aug 1996 08:56:56 -0700
Received: from giove.hynet.it (giove.hynet.it [194.20.222.108])
         by sand.hynet.it (8.7.5/8.7.3) with SMTP id RAA24050
         for <[email protected]>; Fri, 2 Aug 1996 17:59:17 +0200 (MET DST)
Date: Fri, 2 Aug 1996 17:59:17 +0200 (MET DST)
Message-Id: <[email protected]>
X-Sender: [email protected]
X-Mailer: Windows Eudora Version 2.0.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: [email protected]
From: Vecchia Emanuele <[email protected]>
Subject: problem with Shared Library must be Position-Independent

hi all i have an HP-UX 10.01 , perl 5.003 , DBI-0.71 , msql 1.0.16 and i had
problem
width DBD:mSQL-0.60pl9 this is the resul at the end of my make

Running Mkbootstrap for DBD::mSQL ()
       chmod 644 mSQL.bs
LD_RUN_PATH="/usr/local/lib/perl5:/lib/pa1.1" ld -o
/blib/arch/auto/DBD/mSQL/mSQL.sl -b -L/usr/local/lib dbdimp.o  mSQL.o
-L/lib -L/usr/local/msql/lib ld: DP-Rel
ld: DP-Relative Code in file /lib/libmsql.a(libmsql.o) - Shared Library must
be Position-Independent
*** Error exit code 1

Stop.

do you know what is the proble of libmsql.a ??
       thx all
       emanuele
| Emanuele Vecchia     | [email protected] [email protected]    |
| ARS Informatica MMA  | http://www.ars.net - http://www.undo.net |
| via Lomellina 31     | http://www.columbusnet.it                |
| 20133 Milano - Italy | Tel. Fax. +39-2-7380901                  |

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01813-9@oink>;
         Fri, 2 Aug 1996 21:36:07 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 839012020:13207:3; Fri, 02 Aug 96 19:53:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa12994; 2 Aug 96 19:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id IAA17277 for dbi-users-real; Fri, 2 Aug 1996 08:40:14 -0700
Precedence: junk
Sender: [email protected]
Received: from postman.osf.org (postman.osf.org [130.105.1.152])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA17273
         for <[email protected]>; Fri, 2 Aug 1996 08:40:11 -0700
Received: from app3.osf.org (app3.osf.org [130.105.2.93])
         by postman.osf.org (8.7.5/8.7.3) with SMTP id LAA32664;
         Fri, 2 Aug 1996 11:39:37 -0400 (EDT)
Received: by app3.osf.org (1.38.193.4/4.7) id AA22920;
         Fri, 2 Aug 1996 11:39:37 -0400
Date: Fri, 2 Aug 1996 10:04:59 -0400 (EDT)
From: Doug MacEachern <[email protected]>
Subject: Re: Performance/Feature comparision of PHP vs. mod_perl
To: [email protected]
Cc: [email protected], [email protected], [email protected],
   [email protected]
In-Reply-To: <[email protected]>
Message-Id: <[email protected]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Wed, 31 Jul 1996, Randy Terbush wrote:

>
> It seems these days that there is more and more overlap between
> the mod_php and mod_perl projects.

Could you summarize the overlap?  I'm still not very familar with mod_php.

>
> Has there been any hard data gathered regarding performance of
> one solution vs. the other? (Speaking in terms of Apache module version)

Not that I know of.

>
> Are there clear advantages of one over another?
>
> No language religion wars please....just the facts sir/maam

Well, quoting the php documentation "it is a simple programming language
embedded inside HTML files", "it eliminates the need for numerous small
Perl cgi programs", "This speeds up the overall performance of your web
pages since the overhead of forking Perl several times has been
eliminated".
So, both modules improve performance of dynamic/interactive web documents
by taking advantage of the Apache API and provide an alternative to coding
in C.
Not to start a language war, but one advantage of mod_perl to me is simply
being able to use the Perl scripting language.
To someone else, one advantage of mod_php might be it's scripting language.

It looks like php/fi does lots of great stuff, but as the name
(personal homepage/form interpreter) implies, it provides a solution to a
specific arena.
The perl C modules simply provide a general framework for embedding the
interpreter and providing a Perl interface to the Apache API.  Perl modules
and scripts using this interface can then provide more specific
functionality.  For example, you could write an Apache module in Perl that
provides functionality similar to php/fi.

I see you've cc'd the dbi list, how do I use dbi from php?  Or any perl
module for that matter?  How do I write a module in the php scripting
language?  I think the answer to these questions is "you can't".  This is
fine, just pointing out some differences.

So, unless there is a major difference performance wise, it's hard to say what
the advantages are of one over the other (without starting a language war),
it really depends on what you are trying to accomplish.

Regards,
-Doug

>
> Hopefully ya'll have your duplicate mail shields up. I know
> many of you are on all three lists....
>
>



---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01825-0@oink>;
         Fri, 2 Aug 1996 21:36:27 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 839006617:23965:1; Fri, 02 Aug 96 18:23:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa23620; 2 Aug 96 18:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA18772 for dbi-users-real; Fri, 2 Aug 1996 10:14:53 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA18768
         for <[email protected]>; Fri, 2 Aug 1996 10:14:51 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id SAA19485 for [email protected]; Fri, 2 Aug 1996 18:06:45 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: DBI and DBD::Oracle - not including passwords in Perl script ??? (fwd)
To: [email protected]
Date: Fri, 2 Aug 1996 18:06:44 +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
Content-Length: 666


--- Forwarded to dbi-users ---

Hi,

DBI and DBD::Oracle and Perl is an attractive solution
to me. The two examples in
http://www.hermetica.com/technologia/DBI/examples/index.html
work as well. I also set up Oracle accounts identified
externally and would like to use DBI DBD::Oracle to
connect to these accounts. Can the latest DBI and DBD::Oracle
connect to these accounts so that I don't have to including
password in my Perl script?

Many thanks!

Mingzuo Shen


--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01813-19@oink>;
         Fri, 2 Aug 1996 21:36:41 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 839016565:00230:0; Fri, 02 Aug 96 21:09:25 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa29222; 2 Aug 96 21:08 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa16976; 2 Aug 96 21:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id MAA21229 for dbi-users-real; Fri, 2 Aug 1996 12:52:45 -0700
Precedence: junk
Sender: [email protected]
Received: from Bagheera.junglee.com (Bagheera.Junglee.Com [207.104.26.43])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA21220
         for <[email protected]>; Fri, 2 Aug 1996 12:52:43 -0700
Received: from Bagheera.junglee.com ([127.0.0.1])
         by Bagheera.junglee.com (Netscape Mail Server v2.0) with SMTP
         id AAA2340 for <[email protected]>; Fri, 2 Aug 1996 12:50:57 -0700
To: [email protected]
Subject: using forks and DBI-DBD
From: Ashish Gupta <[email protected]>
X-Actually-From: "Ashish Gupta" <[email protected]>
Date: Fri, 2 Aug 1996 12:50:57 -0700
Message-ID: <[email protected]>


We are doing the following:

 parent P opens a database connection ($dbh)
 P forks off child C  and waits on C (C inherits $dbh automatically)
 child C does its stuff and exits
 P tries to use $dbh and finds closed the connection associated with $dbh

When C exits, it destroys $dbh as a side effect.  Please suggest how
we can avoid having a child destroy its parents database connection
handle.

Using:
 DBI - V0.71
 DBD:Oracle - 0.36
 UNIX SOlaris 2.51

Thanks much.

Ashish
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <03279-3@oink>;
         Fri, 2 Aug 1996 23:06:21 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 839021230:20894:6; Fri, 02 Aug 96 22:27:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa20533; 2 Aug 96 22:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA19265 for dbi-users-real; Fri, 2 Aug 1996 10:49:54 -0700
Precedence: junk
Sender: [email protected]
Received: from sand.hynet.it (sea.hynet.it [194.20.222.3])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA19261
         for <[email protected]>; Fri, 2 Aug 1996 10:49:52 -0700
Received: from Enterprise.hynet.it (enterprise.hynet.it [194.20.222.110])
         by sand.hynet.it (8.7.5/8.7.3) with SMTP id TAA24708
         for <[email protected]>; Fri, 2 Aug 1996 19:52:13 +0200 (MET DST)
Date: Fri, 2 Aug 1996 19:52:13 +0200 (MET DST)
Message-Id: <[email protected]>
X-Sender: [email protected]
X-Mailer: Windows Eudora Light Version 1.5.2
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Priority: 1 (Highest)
To: [email protected]
From: Francesco Pasqualini <[email protected]>
Subject: DBI/msql: list of available databases

How can i get a list of available databases (Msql server) using DBI ?

@databases= ... ?

Is there any func or proc ?

Is there any examples ?

I'm also looking for a complete DBI documentation

Thank to everyone
Francesco


---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03298-0@oink>;
         Fri, 2 Aug 1996 23:08:28 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 839018535:20781:0; Fri, 02 Aug 96 21:42:15 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa20063; 2 Aug 96 21:41 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa27670; 2 Aug 96 21:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id KAA18621 for dbi-users-real; Fri, 2 Aug 1996 10:05:19 -0700
Precedence: junk
Sender: [email protected]
Received: from mail-e2b-service.gnn.com (mail-e2b-service.gnn.com [204.148.102.170])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA18617
         for <[email protected]>; Fri, 2 Aug 1996 10:05:17 -0700
Received: from 39-94.client.gnn.com. (39-94.client.gnn.com [205.188.39.94])
         by mail-e2b-service.gnn.com (8.7.1/8.6.9) with SMTP id NAA05740;
         Fri, 2 Aug 1996 13:04:07 -0400 (EDT)
Message-Id: <[email protected]>
X-Mailer: GNNmessenger 1.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 02 Aug 1996 11:02:29
From: Lou Henefeld <[email protected]>
To: [email protected]
Subject: Oraperl on Perl 5?
Cc: [email protected]

Dear Mr. Descartes,

I am building an application based on the Web and on Oracle.  I'd like to use
Oraperl and Perl 5.  I've been looking for a version of Oraperl which I can
build and run with Perl 5.  I suspect that there is no such version of
Oraperl, that it's buildable only with Perl 4.  However, I can't seem to find
anything yet which specifically says that.  The closest I've come to this
information is with the Oraperl emulation through DBD::Oracle.  Please let me
know if this is the only option available.

I am also sending this request to [email protected] in case the developers
there also may know the answers and may respond sooner than you are able.

I appreciate any response.  I have yet to inspect the recent CPAN and other
sources.

Thank you very much,

Sincerely,

Lou Henefeld ([email protected])
Lou Henefeld

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <03912-4@oink>;
         Fri, 2 Aug 1996 23:57:49 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 839024742:04980:4; Fri, 02 Aug 96 23:25:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa04642; 2 Aug 96 23:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id PAA22480 for dbi-users-real; Fri, 2 Aug 1996 15:13:34 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA22476
         for <[email protected]>; Fri, 2 Aug 1996 15:13:27 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id ae19273; 2 Aug 96 22:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id ab27013; 2 Aug 96 23:05 +0100
Received: from toad by oink with SMTP (PP) id <02707-0@oink>;
         Fri, 2 Aug 1996 21:54:21 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02133;
         Fri, 2 Aug 1996 21:54:15 +0000
Date: Fri, 2 Aug 1996 21:54:15 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: using forks and DBI-DBD
X-Sun-Charset: US-ASCII
content-length: 621
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Ashish Gupta <[email protected]>
>
> We are doing the following:
>
>   parent P opens a database connection ($dbh)
>   P forks off child C  and waits on C (C inherits $dbh automatically)
>   child C does its stuff and exits
>   P tries to use $dbh and finds closed the connection associated with $dbh
>
> When C exits, it destroys $dbh as a side effect.  Please suggest how
> we can avoid having a child destroy its parents database connection
> handle.

Disable the destruction... in the child process do:

       *DBI::db::disconnect = sub { };
       *DBI::db::DESTROY    = sub { };

Untested but should work.

Tim.

---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06083-3@oink>;
         Sat, 3 Aug 1996 03:51:11 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 839031111:23733:3; Sat, 03 Aug 96 01:11:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa22361; 3 Aug 96 1:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id QAA23998 for dbi-users-real; Fri, 2 Aug 1996 16:49:29 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA23994
         for <[email protected]>; Fri, 2 Aug 1996 16:49:27 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id AAA21573; Sat, 3 Aug 1996 00:41:14 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBD-Informix: Selecting TODAY or SMALLINT type
To: [email protected] (Josh Oh)
Date: Sat, 3 Aug 1996 00:41:13 +0100 (BST)
Cc: [email protected], [email protected]
In-Reply-To: <[email protected]> from "Josh Oh" at Aug 2, 96 05:54:19 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
Content-Length: 843


> Has anyone else run into the same problems?  If yes, is there a fix for it?
> If not, is it some sort of configuration that I am missing or doing wrong?
>
> Any help in resolving this problem will be greatly appreciated.

It's a known bug. Listed in the DBD page at Hermetica.

Which leads me nicely onto another topic. Does anyone actually *read* any
of this stuff?

Apologies in advance for sounding ratty, but I've had around 20 queries in
the last 2 days all either in the driver page, or the FAQ!

Can we do something anti-social about new members to the list of giving them
excerpts from the FAQ, or something?

*grumble*

> Josh Oh

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06083-11@oink>;
         Sat, 3 Aug 1996 03:51:40 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 839037498:26614:2; Sat, 03 Aug 96 02:58:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa26216; 3 Aug 96 2:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id QAA23364 for dbi-users-real; Fri, 2 Aug 1996 16:10:23 -0700
Precedence: junk
Sender: [email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA23360
         for <[email protected]>; Fri, 2 Aug 1996 16:10:21 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
         id aa01048; 2 Aug 96 23:10 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
         id aa09625; 3 Aug 96 0:05 +0100
Received: from toad by oink with SMTP (PP) id <04017-0@oink>;
         Sat, 3 Aug 1996 00:05:08 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA02529;
         Sat, 3 Aug 1996 00:04:58 +0000
Date: Sat, 3 Aug 1996 00:04:58 +0000
From: Tim Bunce <[email protected]>
Message-Id: <[email protected]>
To: [email protected], [email protected]
Subject: Re: Oraperl on Perl 5?
Cc: [email protected]
X-Sun-Charset: US-ASCII
content-length: 233
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424


> From: Lou Henefeld <[email protected]>
>
> The closest I've come to this
> information is with the Oraperl emulation through DBD::Oracle.  Please let me
> know if this is the only option available.

It is. It works fine.

Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06084-14@oink>;
         Sat, 3 Aug 1996 03:51:49 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 839031645:09440:0; Sat, 03 Aug 96 01:20:45 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
         by punt-1.mail.demon.net id aa08683; 3 Aug 96 1:19 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
         id aa24831; 3 Aug 96 1:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id QAA24144 for dbi-users-real; Fri, 2 Aug 1996 16:57:03 -0700
Precedence: junk
Sender: [email protected]
Received: from fruitbat.mcqueen.com (pillshovel.mcqueen.com [194.72.106.246])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA24140
         for <[email protected]>; Fri, 2 Aug 1996 16:57:01 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
         id AAA21613; Sat, 3 Aug 1996 00:48:48 +0100
From: Alligator Descartes <[email protected]>
Message-Id: <[email protected]>
Subject: Re: DBI/msql: list of available databases
To: Francesco Pasqualini <[email protected]>
Date: Sat, 3 Aug 1996 00:48:48 +0100 (BST)
Cc: [email protected]
In-Reply-To: <[email protected]> from "Francesco Pasqualini" at Aug 2, 96 07:52:13 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
Content-Length: 664


> How can i get a list of available databases (Msql server) using DBI ?
>
> @databases= ... ?
>
> Is there any func or proc ?
>
> Is there any examples ?

Look at the file called 'test.pl' that comes with the DBD::mSQL module.
There are some commented lines in there that show you how to list databases,
tables and fields.

> I'm also looking for a complete DBI documentation

Look at the FAQ for sources. http://www.hermetica.com/technologia/DBI

> Francesco

--
Alligator Descartes      | "You fuckoffeh?" "Eh?" "Coffee? You for coffee?"
Anathematician           |     "Ohhh! Dearie me!"
[email protected]   |         -- The High Life
http://www.hermetica.com |
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06083-15@oink>;
         Sat, 3 Aug 1996 03:51:54 +0100
Received: from punt-2.mail.demon.net by mailstore for [email protected]
         id 839038141:01878:2; Sat, 03 Aug 96 03:09:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
         id aa01528; 3 Aug 96 3:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id SAA25430 for dbi-users-real; Fri, 2 Aug 1996 18:58:29 -0700
Precedence: junk
Sender: [email protected]
Received: from mailhub.moe.edu.sg (mailhub.moe.edu.sg [166.121.9.130])
         by toccata.fugue.com (8.6.12/8.6.11) with SMTP id SAA25426
         for <[email protected]>; Fri, 2 Aug 1996 18:58:21 -0700
Received: from piaget.moe.edu.sg by mailhub.moe.edu.sg;
         Sat, 3 Aug 96 09:56:27 +0800
Received: from w347.moe.ac.sg by piaget.moe.edu.sg (5.x/SMI-SVR4) id AA13106;
         Sat, 3 Aug 1996 09:53:22 +0800
Received: by w347.moe.ac.sg with Microsoft Mail
         id <[email protected]>; Sat, 3 Aug 1996 10:01:12 +-800
Message-Id: <[email protected]>
From: Ten Chern Chiang <[email protected]>
To: "[email protected]" <[email protected]>,
   "[email protected]" <[email protected]>
Subject: unsubscribe
Date: Sat, 3 Aug 1996 10:01:11 +-800
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

unsubscribe

---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06084-22@oink>;
         Sat, 3 Aug 1996 03:52:12 +0100
Received: from punt-1.mail.demon.net by mailstore for [email protected]
         id 839033477:27255:6; Sat, 03 Aug 96 01:51:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
         id aa27110; 3 Aug 96 1:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
         id RAA24390 for dbi-users-real; Fri, 2 Aug 1996 17:28:31 -0700
Precedence: junk
Sender: [email protected]
Received: from mas.atext.com (mas.atext.com [204.62.245.24])
         by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA24386
         for <[email protected]>; Fri, 2 Aug 1996 17:28:30 -0700
Received: (from parva@localhost) by mas.atext.com (8.6.9/8.6.9) id RAA28006;
         Fri, 2 Aug 1996 17:27:59 -0700
Date: Fri, 2 Aug 1996 17:27:59 -0700
From: Parva Oskoui <[email protected]>
Message-Id: <[email protected]>
To: [email protected]
Subject: problems with build on Solaris2.5


I can't wait to start using Oraperl again! But first
I have to get the build going.
Here's what's happening...the full output from the build steps are
appended later below.

I am on oracle 7.3.2.1.0, using Perl version 5.002, DBI-0.70, and
DBD-Oracle-0.35, on Solaris 2.5
The DBI installation went without a hitch.
In the DBD install, I am at the step where I do:  make test
and it core dumps at &ora_login with
>>
libc internal error: _rmutex_unlock: rmutex not held.
Abort - core dumped
make: *** [test_dynamic] Error 134
<<

I saw the note in README about this core dump and the three proposed steps.
I tried #1 and #2 (and #3 seems to have been implemented already; i.e.
no clntsh in the Makefile). Nothing helped.

So, am I hosed? Any help/hint/suggestion will be greatly appreciated.

Thanks
Parva
============================================================================

following are my logs from build steps: