Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01658-0@oink>;
Sat, 30 Mar 1996 01:29:46 +0000
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828148585:24892:1; Sat, 30 Mar 96 01:16:25 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa23941; 30 Mar 96 1:15 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id RAA07113 for dbi-users-real; Fri, 29 Mar 1996 17:07:32 -0800
Precedence: junk
Sender:
[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 RAA07024
for <
[email protected]>; Fri, 29 Mar 1996 17:07:27 -0800
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ba25554; 30 Mar 96 1:10 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa13180; 30 Mar 96 1:03 GMT
Received: from toad by oink with SMTP (PP) id <01481-0@oink>;
Sat, 30 Mar 1996 00:52:49 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27143;
Sat, 30 Mar 1996 00:52:31 +0000
Date: Sat, 30 Mar 1996 00:52:31 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Installing DBD (fwd)
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1226
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Andre Doles <
[email protected]>
>
> Hi, I'm having a hard time compiling DBD on my system.
>
> Perl5.002 and DBI-0.68 tested and installed fine.
> I'm running on a Sun Sparc 20, 320M Ram, Solaris 2.4, Oracle 7.1.3.
> I've read the README file a zillion times [...]
Umm, sadly the section describing what information to include in a
problem report doesn't seem to have registered ;-)
Please send the requested information.
> When compiling the Makefile.PL, I use the -m flag to point to
> the above oracle.mk.
Why did you need to do that? Is Pro*C not installed? The Makefile.PL
is designed to use the proc.mk file. The oracle.mk usually works but
might not.
This is the magic in Makefile.PL that's supposed to do the right thing:
$edit{COMPOBJS} = q{
# Change the COMPOBJS line. (Some files use LIBHOME not COMPOBJ)
# old: $(COMPOBJ)/crti.o $(COMPOBJ)/crt1.o $(COMPOBJ)/__fstd.o
# new: $(COMPOBJ)/__fstd.o
s:\$\S+?/crt[1in]\.o\b::g;
} if $Config{osname} eq 'solaris'; # and $Config{gccversion};
Note that COMPOBJ is $ORACLE_HOME/lib (not $ORACLE_HOME/rdbms/lib).
Try playing with this (like commenting out the substitution).
Let me know how it goes.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02323-6@oink>;
Sat, 30 Mar 1996 04:29:10 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828155505:14715:2; Sat, 30 Mar 96 03:11:45 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa14647; 30 Mar 96 3:11 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id SAA27966 for dbi-users-real; Fri, 29 Mar 1996 18:48:42 -0800
Precedence: junk
Sender:
[email protected]
Received: from underground.net (dazed.boxtop.com [204.119.208.4])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id SAA27927
for <
[email protected]>; Fri, 29 Mar 1996 18:48:40 -0800
Received: from [204.119.208.44] by underground.net with smtp id m0u2pj2-001ee7C;
( Smail #1) for <
[email protected]>; Fri, 29 Mar 96 18:52 PST
Date: Fri, 29 Mar 96 17:45 PST
X-Sender:
[email protected] (Unverified)
Message-Id: <v01540b00ad81d20241a3@[204.119.208.44]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Tim Bunce <
[email protected]>
From:
[email protected] (Fred Kleindenst)
Subject: Re: Q: compiling DBD 0.27 on IRIX 5.3
Cc:
[email protected]
I am new to the list, thanks for reanswering this FAQ.
I am up and running now...
> From:
[email protected] (Fred Kleindenst)
>>
>> cfe: Error: dbdimp.c, line 811: Incompatible pointer type assignment
>>(3.3.16.1,
>> 3.5.4.1(21))
>> safefree(imp_sth->fbh);
>> --------------------^
>
>As mentioned only a few days ago: s/safefree/Safefree/gm.
>
>Tim.
-- Fred Kleindenst \
-- Systems Administrator \
[email protected]
-- Boxtop Interactive \
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07650-12@oink>;
Mon, 1 Apr 1996 07:09:45 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828186119:06014:2; Sat, 30 Mar 96 11:41:59 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa05927; 30 Mar 96 11:41 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA11058 for dbi-users-real; Sat, 30 Mar 1996 03:32:12 -0800
Precedence: junk
Sender:
[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 DAA10983
for <
[email protected]>; Sat, 30 Mar 1996 03:32:08 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id LAA09335; Sat, 30 Mar 1996 11:28:07 GMT
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: Installing DBD (fwd)
To:
[email protected] (Andre Doles)
Date: Sat, 30 Mar 1996 11:28:06 +0000 (GMT)
Cc:
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Andre Doles" at Mar 29, 96 05:23: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: 1174
> What does the below error message mean? How can I get DBD
> compiled? Help appreciated as I'm extrememly anxious to get this working!
>
> Thanks in advance.
>
> Andre'
> --
> /web/oracle/lib/libcore.a(ldtpme.o)
> lippnmr 0x1ec
> /web/oracle/lib/libnlsrtl.a(lipp.o)
> __cg92_used 0x0
> /web/oracle/lib/libcore.a(lstrrj.o)
> __cg92_used 0x0
> /web/oracle/lib/libcore.a(lmfb24.o)
> __cg92_used 0x0
> /web/oracle/lib/libcore.a(lmf42b.o)
> ld: fatal: relocations remain against allocatable but non-writable
> sections
> *** Error code 1
> make: Fatal error: Command failed for target
> `blib/arch/auto/DBD/Oracle/Oracle.so'
If you're compiling Oracle applications with gcc on Solaris you need to
link with a file called $ORACLE_HOME/lib/__fstd.o. If you compile with the
SparcWorks compiler you need to add the command line option on -xcg92
to resolve these symbol problems cleanly.
Regards.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07711-34@oink>;
Mon, 1 Apr 1996 07:18:32 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828329997:24366:2; Mon, 01 Apr 96 04:39:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24252; 1 Apr 96 4:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA23493 for dbi-users-real; Sun, 31 Mar 1996 19:19:09 -0800
Precedence: junk
Sender:
[email protected]
Received: from mimos.my (mimos.my [192.228.128.18])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA23248
for <
[email protected]>; Sun, 31 Mar 1996 19:18:56 -0800
Received: from ms.mimos.my (ms.mimos.my [192.228.129.33])
by mimos.my (8.7.1/8.7.1) with SMTP id LAA29810
for <
[email protected]>; Mon, 1 Apr 1996 11:23:10 +0800 (MYT)
Received: by ms.mimos.my (5.64/7.0) id AA08671; Mon, 1 Apr 96 11:23:08 +0800
Date: Mon, 1 Apr 1996 11:23:08 +0800
From: Zarina Musa <
[email protected]>
To:
[email protected]
Subject: Oraperl build problem on Sun
Message-Id: <
[email protected]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello...,
I'm trying to build Oraperl on SunOS 4.1.4 I keep having
this error when running make. I'm not sure which libraries it didn't
find...whether it's oraperl's, perl's, oracle's or SunOS's itself.
Can anybody look at the build message below and give suggestions? Any
pointers will be greatly appreciated.
Thanx in advance.
Below is the build message....
/usr/local/perl-4.036/usub/mus oracle.mus >oracle.c
cc -Idbug -I/usr/local/perl-4.036 -g -target sun4 -c oracle.c
cc -Idbug -I/usr/local/perl-4.036 -g -target sun4 -c orafns.c
"orafns.c", line 106: warning: illegal combination of pointer and
integer, op =
cc -Idbug -I/usr/local/perl-4.036 -g -target sun4 -c getcursor.c
"getcursor.c", line 166: warning: illegal combination of pointer and
integer, o=
cc -Idbug -I/usr/local/perl-4.036 -g -target sun4 -c colons.c
cc -Idbug -I/usr/local/perl-4.036 -g -target sun4 -c debug.c
cc -Idbug -I/usr/local/perl-4.036 -g -target sun4 -c strtoul.c
cc -Idbug -I/usr/local/perl-4.036 -g -target sun4 -c usersub.c
cc -Bdynamic -L/home/oracle/orahome/lib -o oraperl
/usr/local/perl-4.036/uperl.
-lm /home/oracle/orahome/lib/libocic.a
/home/oracle/orahome/lib/osntab.o x
ld: Undefined symbol
_lxclas
_lxhcrenv
_lxlsaved
_lmsagbf
_ldxsto
_lnxscn
_lmxehtl
_lnxren
_lxhcsn
_lxhcurrlangid
_lxiskip
_lxicms
_slctbev
_lxmdigx
_lxncml
_lxisch
_lmsacin
_ldxini
_lxwlowx
_lxmctex
_ldxdts
_lmxeecb
_orax_sprintf
_lxmfwdx
_lxwdigx
_lxgpth
_lxwc2mx
_lxwctex
_lxmalpx
_lxmcpen
_ss_mxmove
_lxhci2h
_lxmr2w
_lmsaip
_lxdobl
_lxgrls
_lxrcop
_lxmopen
_lcmup
_lxwalpx
_lxmspax
_lxmcpcx
_lcmlcomp
_sslcsig
_lmxegks
_lxlinit
_lxmnceq
_lxlterm
_lxgratio
_lxrcpu
_lxhlinfo
_sldxgd
_lxwspax
_lnxnur
_lmsacbn
_lxntrn
_lxgcnv
_lcslcomp
_lxmpuc
_lxmc2wx
_lxhmupr
_lxgncc
_lxinitc
_lxwc2ux
_lmxepw
_lxicml
_orax_vsprintf
_lxgstm
_lmsatrm
_lcmlo *** Error code 2 make: Fatal error: Command failed for target
`oraperl
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07650-53@oink>;
Mon, 1 Apr 1996 07:19:15 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828338337:21384:2; Mon, 01 Apr 96 06:58:57 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21242; 1 Apr 96 6:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id VAA17138 for dbi-users-real; Sun, 31 Mar 1996 21:51:35 -0800
Precedence: junk
Sender:
[email protected]
Received: from mailgw.claircom.com (mailgw.claircom.com [199.5.241.51])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id VAA17109
for <
[email protected]>; Sun, 31 Mar 1996 21:51:33 -0800
Received: from nimo.claircom.com by mailgw.claircom.com
with smtp (Smail3.1.26.7 #2) id m0u3car-0004weC;
Sun, 31 Mar 96 21:55 PST
Received: from airone.claircom.com by nimo.claircom.com
with smtp (Smail3.1.26.7 #2) id m0u3car-0005UDC;
Sun, 31 Mar 96 21:55 PST
Received: from soc4.airone.claircom.com by airone.claircom.com (5.x/SMI-SVR4)
id AA14223; Sun, 31 Mar 1996 21:55:56 -0800
Received: from soc4 (localhost) by soc4.airone.claircom.com (4.1/SMI-4.1)
id AA02819; Sun, 31 Mar 96 21:53:27 PST
Message-Id: <
[email protected]>
Date: Sun, 31 Mar 1996 21:53:26 -0800
From: William Warner <
[email protected]>
X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
Mime-Version: 1.0
To: Alligator Descartes <
[email protected]>,
[email protected]
Cc: Andre Doles <
[email protected]>,
[email protected],
[email protected]
Subject: Re: Installing DBD (fwd)
References: <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Are both the following correct?
>
[email protected] wrote
> > What does the below error message mean?
> > /web/oracle/lib/libnlsrtl.a(lipp.o)
> > __cg92_used 0x0
>
[email protected] wrote
> > /web/oracle/lib/libcore.a(lstrrj.o)
> > __cg92_used 0x0
> > /web/oracle/lib/libcore.a(lmfb24.o)
> > __cg92_used 0x0
> > /web/oracle/lib/libcore.a(lmf42b.o)
> > ld: fatal: relocations remain against allocatable but non-writable
> > sections
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `blib/arch/auto/DBD/Oracle/Oracle.so'
Alligator Descartes wrote:
>
> If you're compiling Oracle applications with gcc on Solaris you need to
> link with a file called $ORACLE_HOME/lib/__fstd.o. If you compile with the
> SparcWorks compiler you need to add the command line option on -xcg92
> to resolve these symbol problems cleanly.
>
but
[email protected] wrote:
>
> This is probably due to there being non-relocatable code in libcore.a.
> Two possible fixes
>
> 1. Build perl with DBD-Oracle statically linked in. That is
>
> make perl
>
> in the top level source directory for the DBD-Oracle code.
>
> 2. Upgrade Oracle. 7.1.4 should fix this for you, however I suggest you
> check with Oracle support.
--
William Warner
[email protected]
work: 206-389-8210 portable: 206-915-1157
page: 206-986-0399
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11634-19@oink>;
Mon, 1 Apr 1996 17:09:21 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828367964:27147:0; Mon, 01 Apr 96 15:12:44 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa26697; 1 Apr 96 15:11 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa14345; 1 Apr 96 15:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id GAA03442 for dbi-users-real; Mon, 1 Apr 1996 06:02:23 -0800
Precedence: junk
Sender:
[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 GAA03348
for <
[email protected]>; Mon, 1 Apr 1996 06:02:18 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id OAA22849; Mon, 1 Apr 1996 14:27:23 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: Installing DBD (fwd)
To: William Warner <
[email protected]>
Date: Mon, 1 Apr 1996 14:27:21 +0100 (BST)
Cc:
[email protected],
[email protected],
[email protected],
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "William Warner" at Mar 31, 96 09:53:26 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: 1365
> Are both the following correct?
>
> >
[email protected] wrote
> > > What does the below error message mean?
> > > /web/oracle/lib/libnlsrtl.a(lipp.o)
> > > __cg92_used 0x0
> >
[email protected] wrote
> > > /web/oracle/lib/libcore.a(lstrrj.o)
> > > __cg92_used 0x0
> > > /web/oracle/lib/libcore.a(lmfb24.o)
> > > __cg92_used 0x0
> > > /web/oracle/lib/libcore.a(lmf42b.o)
> > > ld: fatal: relocations remain against allocatable but non-writable
> > > sections
> > > *** Error code 1
> > > make: Fatal error: Command failed for target
> > > `blib/arch/auto/DBD/Oracle/Oracle.so'
>
> Alligator Descartes wrote:
> >
> > If you're compiling Oracle applications with gcc on Solaris you need to
> > link with a file called $ORACLE_HOME/lib/__fstd.o. If you compile with the
> > SparcWorks compiler you need to add the command line option on -xcg92
> > to resolve these symbol problems cleanly.
Put it this way, in xdba I had exactly these problems when compiling Oracle
applications with gcc. Doing the above fixed it.
But basically, suck it and see. If one works who cares which one was right.
Post your results.
Regards.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12992-0@oink>;
Mon, 1 Apr 1996 18:17:24 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828378793:25857:0; Mon, 01 Apr 96 18:13:13 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa25207; 1 Apr 96 18:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa16114; 1 Apr 96 18:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA18095 for dbi-users-real; Mon, 1 Apr 1996 08:54:26 -0800
Precedence: junk
Sender:
[email protected]
Received: from isurus.marinelab.sarasota.fl.us (
[email protected] [204.199.126.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA18038
for <
[email protected]>; Mon, 1 Apr 1996 08:54:23 -0800
Received: from mycteria.marinelab.sarasota.fl.us
by isurus.marinelab.sarasota.fl.us
with smtp (Linux Smail3.1.29.1 #3) id m0u3mw1-002NZKC;
Mon, 1 Apr 96 11:58 EST
Date: Mon, 1 Apr 1996 13:14:51 -0500 (EST)
From: Don Hayward <
[email protected]>
To:
[email protected]
Subject: mSQL problems
Message-ID: <Pine.LNX.3.92.960401124933.25221A-100000@mycteria.marinelab.sarasota.fl.us>
Read-Receipt-To:
[email protected]
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
This is a wierd situation and I regret imposing on your time, but I'm
currently clueless and would appreciate any help.
System:
Linux 1.3.60 ELF
gcc 2.7.2
libc 5.2.18
PERL 5.002
DBI 0.68
DBD-mSQL 0.60pl10
MiniSQL 1.0.9
MsqlPerl ??
I have several cgi scripts I've been using to query data from a msql
database using MsqlPerl. I'm trying to move to DBI/DBD. After
recompiling everything, all tests worked and I installed. Now,
when I try to run either the old Msql scripts or similar scripts
converted to DBI the msqld either runs away or dies. When it dies,
the DBI message is that the deamon went away, Msql provides no error
message at that point. By runs away I mean it starts soaking up all
available cpu and never responds -- I can't even reach it through
msqladmin. As I said, all tests work. Also, I can make queries using
the msql command interface. An old Msql script which does inserts also
seems to be working.
Thanks.
don
Don Hayward
Mote Marine Laboratory
[email protected]
1600 Ken Thompson Parkway Voice: 941.388.4441
Sarasota, FL 34236 Fax: 941.388.4312
We are an independent, non-profit, marine and estuarine
research and education facility.
require "disclaimer.pl"; # We run Linux
See:
http://www.marinelab.sarasota.fl.us/
http://www.marinelab.sarasota.fl.us/~don
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13160-2@oink>;
Mon, 1 Apr 1996 18:49:46 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828380681:14860:3; Mon, 01 Apr 96 18:44:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa14285; 1 Apr 96 18:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA06351 for dbi-users-real; Mon, 1 Apr 1996 09:37:32 -0800
Precedence: junk
Sender:
[email protected]
Received: from isurus.marinelab.sarasota.fl.us (
[email protected] [204.199.126.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA06313
for <
[email protected]>; Mon, 1 Apr 1996 09:37:30 -0800
Received: from mycteria.marinelab.sarasota.fl.us
by isurus.marinelab.sarasota.fl.us
with smtp (Linux Smail3.1.29.1 #3) id m0u3nc9-002NafC;
Mon, 1 Apr 96 12:42 EST
Date: Mon, 1 Apr 1996 13:58:24 -0500 (EST)
From: Don Hayward <
[email protected]>
To:
[email protected]
Subject: mSQL problems, II
Message-ID: <Pine.LNX.3.92.960401135233.25221B-100000@mycteria.marinelab.sarasota.fl.us>
Read-Receipt-To:
[email protected]
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
OK -- continuing the saga.
I just put the old, aout version of msqld back in place and everything
is working. I'm now looking for a newer version of msqld with elf
modifications or appropriate patches. Sorry to have troubled the list.
don
Don Hayward
Mote Marine Laboratory
[email protected]
1600 Ken Thompson Parkway Voice: 941.388.4441
Sarasota, FL 34236 Fax: 941.388.4312
We are an independent, non-profit, marine and estuarine
research and education facility.
require "disclaimer.pl"; # We run Linux
See:
http://www.marinelab.sarasota.fl.us/
http://www.marinelab.sarasota.fl.us/~don
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14925-2@oink>;
Tue, 2 Apr 1996 07:06:03 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828394441:09650:3; Mon, 01 Apr 96 22:34:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa09093; 1 Apr 96 22:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA16705 for dbi-users-real; Mon, 1 Apr 1996 13:26:44 -0800
Precedence: junk
Sender:
[email protected]
Received: from shellie.rmt.utk.edu (
[email protected] [128.169.24.29])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA16537
for <
[email protected]>; Mon, 1 Apr 1996 13:26:35 -0800
Received: by shellie.rmt.utk.edu
id <
[email protected]> (Debian /\oo/\ Smail3.1.29.1 #29.36);
Mon, 1 Apr 96 16:30 EST
Date: Mon, 1 Apr 1996 16:30:33 -0500 (EST)
From: Joe Kirby <
[email protected]>
To:
[email protected]
cc:
[email protected]
Subject: DBI-0.68 problems
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
I suspect the following is a faq, but I haven't been able to find one, so
here goes:
the test fail with complaints about "strict refs"
------ make realclean is run
------ output of "perl Makefile.PL"
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
WARNING! By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you MUST delete old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.
MakeMaker (v5.18)
Checking if your kit is complete...
Looks good
Blessing Object into class [PACK001]
NAME => 'DBI'
VERSION_FROM => 'DBI.pm'
clean => { FILES=>'$(DISTVNAME)/' }
dist => { DIST_DEFAULT=>'clean distcheck disttest ci tardist', PREOP=>'$(MAKE) -f Makefile.old distdir' }
Defaulting INSTALLARCHLIB to $(PREFIX)/lib/perl5/i486-linux/5.002
Setting VERSION to 0.68
Using PERL=/bin/perl
Running: /bin/perl /usr/lib/perl5/ExtUtils/xsubpp -v 2>&1
Writing Makefile for DBI
|
----- output of "make"
|
umask 0 && cp DBIXS.h /DBI/DBIXS.h
umask 0 && cp lib/DBD/ExampleP.pm blib/DBD/ExampleP.pm
umask 0 && cp lib/DBD/NullP.pm blib/DBD/NullP.pm
umask 0 && cp lib/DBD/Sponge.pm blib/DBD/Sponge.pm
umask 0 && cp DBI.pm blib/DBI.pm
/bin/perl -I/usr/lib/perl5/i486-linux/5.002 -I/usr/lib/perl5 /usr/lib/perl5/ExtUtils/xsubpp -typemap /usr/lib/perl5/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c -D__USE_BSD_SIGNAL -Dbool=char -DHAS_BOOL -I/usr/include/db -I/usr/local/include -O2 -fomit-frame-pointer -DVERSION=\"0.68\" -DXS_VERSION=\"0.68\" -fpic -I/usr/lib/perl5/i486-linux/5.002/CORE DBI.c
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" cc -o blib/i486-linux/auto/DBI/DBI.so -shared -L/usr/local/lib DBI.o
chmod 755 blib/i486-linux/auto/DBI/DBI.so
cp DBI.bs ./blib/i486-linux/auto/DBI/DBI.bs
chmod 644 blib/i486-linux/auto/DBI/DBI.bs
|
----- output of "make test"
|
PERL_DL_NONLAZY=1 /bin/perl -I./blib/i486-linux -I./blib -I/usr/lib/perl5/i486-linux/5.002 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/min...............Can't use string ("ENV") as a HASH ref while "strict refs" in use at blib/DBI.pm line 29.
Can't use string ("DBI::dbi_debug") as a SCALAR ref while "strict refs" in use at blib/DBI.pm line 124.
END failed--cleanup aborted.
FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 12/12 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 29
|
----- output of "make test TEST_VERBOSE=1"
|
PERL_DL_NONLAZY=1 /bin/perl -I./blib/i486-linux -I./blib -I/usr/lib/perl5/i486-linux/5.002 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/min...............1..12
Can't use string ("ENV") as a HASH ref while "strict refs" in use at blib/DBI.pm line 29.
Can't use string ("DBI::dbi_debug") as a SCALAR ref while "strict refs" in use at blib/DBI.pm line 124.
END failed--cleanup aborted.
FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 12/12 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 29
------------
Joe Kirby
[email protected] (423)974-6616
LAN Engineering, 2339 Dunford, Knoxville, TN 37996
Public key on servers (ID 4E52298D) or finger
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14924-3@oink>;
Tue, 2 Apr 1996 07:06:06 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828392991:13317:0; Mon, 01 Apr 96 22:09:51 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa12635; 1 Apr 96 22:08 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa00206; 1 Apr 96 22:08 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA13217 for dbi-users-real; Mon, 1 Apr 1996 12:56:37 -0800
Precedence: junk
Sender:
[email protected]
Received: from paloalto.access.hp.com (
[email protected] [15.254.56.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA11678
for <
[email protected]>; Mon, 1 Apr 1996 12:55:14 -0800
Received: from hpbs2245.boi.hp.com by paloalto.access.hp.com
with ESMTP (1.37.109.16/15.5+ECS 3.3) id AA243802367;
Mon, 1 Apr 1996 12:59:27 -0800
Received: from localhost by hpbs2245.boi.hp.com with SMTP (1.37.109.15/16.2)
id AA273022321; Mon, 1 Apr 1996 13:58:41 -0700
Message-Id: <
[email protected]>
To:
[email protected]
Cc:
[email protected]
Subject: DBD::Informix build on HP-UX
Date: Mon, 01 Apr 1996 13:58:41 -0700
From: Rodger Anderson <
[email protected]>
Folks;
[ I'm not sure whether this pertains more to MakeMaker or DBI/DBD, so
I've sent to both. ]
[ Using Perl 5.002, MakeMaker 5.25, DBI 0.68 and DBD::Informix 0.20pl0 ]
I'm attempting to build DBD/Informix-0.20pl0 on HP-UX (9.05, product
cc) and have a few comments. First about Makefile.PL:
After running "./build", "make" does this:
cc -c -I/usr/informix/include
-I/usr/local/lib/perl5/PA-RISC1.1/5.002/DBI -D_HPUX_SOURCE -Aa
-I/usr/local/include -O -DVERSION=\"0.20pl0\"
-DXS_VERSION=\"0.20pl0\" +z
-I/usr/local/lib/perl5/PA-RISC1.1/5.002/CORE Informix.c
cpp: "Informix.h", line 5: error 4036: Can't open include file
'DBIXS.h'.
*** Error code 1
Stop.
The DBI (0.68) "make install" didn't install DBIXS.h, so I manually
copied it to:
/usr/local/lib/perl5/site_perl/PA-RISC1.1/DBI/DBIXS.h
as this seemed to be correct location. So, I manually edited the
generated Makefile in several places to fix this (INC and the
command line for .ec.o).
Then I find that our Informix include directory doesn't match the
Makefile, so I change /usr/informix/include to /usr/informix/incl/esql
(in two places).
All these changes should probably have been done in Makefile.PL. I
suppose that with a little more effort on my part I could figure out
what I should have done. I'm using MakeMaker 5.25.
The next problem appeared to be a typo in dbdimp.pec; readblob should
have been dbd_st_readblob:
*** dbdimp.pec~ Tue Oct 17 08:22:58 1995
--- dbdimp.pec Mon Apr 1 12:48:03 1996
***************
*** 601,607 ****
}
SV *
! readblob(sth, field, offset, len, destsv)
SV *sth;
int field;
long offset;
--- 601,607 ----
}
SV *
! dbd_st_readblob(sth, field, offset, len, destsv)
SV *sth;
int field;
long offset;
OK, now I have a new perl binary with (static) DBD::Informix
compiled in; I run "make test":
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/usr/local/lib/perl5/PA-RISC1.1/5.002 -I/usr/local/lib/perl5 test.pl
install_driver(Informix) failed: DBD::Informix object version 0.20pl0
does not match DBD::Informix.pm $VERSION 1.18 at
blib/lib/DBD/Informix.pm line 18.
DBI::install_driver called at test.pl line 12
*** Error code 2
Stop.
Why don't the versions match? Which is the correct version?
OK, I tried changing the makefile to use 1.18. Still no-go:
make test
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/usr/local/lib/perl5/PA-RISC1.1/5.002 -I/usr/local/lib/perl5 test.pl
install_driver(Informix) failed: DBD::Informix object version 1.18
does not match DBD::Informix.pm $VERSION 1.18 at
blib/lib/DBD/Informix.pm line 18.
DBI::install_driver called at test.pl line 12
*** Error code 2
Stop.
zsh: exit 1 make test
Oh well. Overall, I think I'm making progress. I've been trying to
get Informix working with Perl for the last four months. I would
really rather have a dynamic version of DBD::Informix, but I suspect
the reason it it statically linked has to do with the Informix ESQL/C
libraries.
Comments anyone?
Rodger
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15008-1@oink>;
Tue, 2 Apr 1996 07:10:20 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828417530:16544:1; Tue, 02 Apr 96 04:58:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa16201; 2 Apr 96 4:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA03963 for dbi-users-real; Mon, 1 Apr 1996 19:41:21 -0800
Precedence: junk
Sender:
[email protected]
Received: from bloodstone.cary.mci.net (bloodstone.Cary.mci.net [204.70.140.22])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id TAA03938
for <
[email protected]>; Mon, 1 Apr 1996 19:41:19 -0800
Received: (from adoles@localhost) by bloodstone.cary.mci.net (8.6.12/8.6.9)
id WAA04109; Mon, 1 Apr 1996 22:43:33 -0500
Date: Mon, 1 Apr 1996 22:43:33 -0500 (EST)
From: Andre Doles <
[email protected]>
X-Sender:
[email protected]
To:
[email protected]
Subject: DBD Compilation Errors
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Thanks to those who have responded. Here is the latest greatest.
I feel, after 8 hrs of playing with it today, that I'm getting closer!
Again, I really appreciate everyone's contributions.
Andre'
(DB/DBD-Oracle-0.28) bloodstone.cary.mci.net# make LD_RUN_PATH="/lib" cc
-o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o
dbdimp.o -L/web/oracle/lib /web/oracle/lib/crti.o /web/oracle/lib/crt1.o
/web/oracle/lib/__fstd.o /web/oracle/lib/libocic.a
/web/oracle/lib/osntab.o -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6
-lcore -lnlsrtl -lcv6 -lcore `cat /web/oracle/rdbms/lib/sysliblist` -lcore
-lsocket -lnsl -lm -ldl -laio -lc -ldbm -lucb ld: fatal: symbol `_fini' is
multiply defined:
(file /usr/local/opt/SUNWspro/SC3.0.1/lib/crti.o and file
/web/oracle/lib/crti.o); ld: fatal: symbol `_init' is multiply defined:
(file /usr/local/opt/SUNWspro/SC3.0.1/lib/crti.o and file
/web/oracle/lib/crti.o); ld: fatal: File processing errors. No output
written to blib/arch/auto/DBD/Oracle/Oracle.so *** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/DBD/Oracle/Oracle.so
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15107-0@oink>;
Tue, 2 Apr 1996 07:15:06 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828425407:16265:2; Tue, 02 Apr 96 07:10:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa16107; 2 Apr 96 7:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id WAA09827 for dbi-users-real; Mon, 1 Apr 1996 22:02:22 -0800
Precedence: junk
Sender:
[email protected]
Received: from dfw.dfw.net (
[email protected] [198.175.15.10])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id WAA09762
for <
[email protected]>; Mon, 1 Apr 1996 22:02:19 -0800
Received: from mok.stuph.com by dfw.dfw.net (4.1/SMI-4.1) id AA01074;
Tue, 2 Apr 96 00:04:52 CST
Message-Id: <
[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, 01 Apr 1996 23:40:54 -0600
To:
[email protected]
From: T <
[email protected]>
Subject: disconnect(DBI::db=HASH(0x80e12c4)) invalidates 1 associated cursor(s)
i'll be the first to admit i'm new to not only DBI/DBD/mSQL,
but to all the new Perl5 features as well, so just bear with me.
(i'm probably only missing a single line someplace...)
(and hey, i DID read all the DBI FAQs i could dig up.)
WHERE is this error message coming from, and HOW do i stop it?
This error seems to eat up memory if i open/close connections
over and over again... which is of course... a bad thing.
How do i correctly "recycle" cursor(s) and not lose memory?
i'm using what i believe are the newest/current versions.
perl(5.0002) mSQL(1.0.12) DBI(0.68) DBD-mSQL(.60pl10) Linux(1.3.13)
$./z2.pl
row='TESTER1'
disconnect(DBI::db=HASH(0x80e12c4)) invalidates 1 associated cursor(s) at ./z2.p
l line 16.
Exited
$cat z2.pl
#!/usr/bin/perl -w
use DBI;
( $drh = DBI->install_driver( 'mSQL' ) ) or die;
( $dbh = $drh->connect( '', 'avs' ) ) or die;
( $cursor = $dbh->prepare( "SELECT name FROM main "
."WHERE nick='t2'" ) ) or die;
( $cursor->execute ) or die;
( $row = $cursor->fetchrow ) or die;
print"row='$row'\n";
( $cursor->finish ) or die;
( $dbh->disconnect ) or die; #line 16
print "Exited\n";exit;
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20646-0@oink>;
Wed, 3 Apr 1996 07:05:47 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828503324:29893:2; Wed, 03 Apr 96 04:48:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa29720; 3 Apr 96 4:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA00402 for dbi-users-real; Tue, 2 Apr 1996 19:26:51 -0800
Precedence: junk
Sender:
[email protected]
Received: from qmgate.fnal.gov (qmgate.fnal.gov [131.225.9.3])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA00397
for <
[email protected]>; Tue, 2 Apr 1996 19:26:45 -0800
Message-ID: <
[email protected]>
Date: 2 Apr 1996 08:40:41 -0600
From: Norman Ho <
[email protected]>
Subject: Subject-- Question abou
To: DBI Users <
[email protected]>
X-Mailer: Mail*Link SMTP-QM 3.0.2
Norman Ho, MS 120, FermiLab
708/840-2708 (o)
708/840-2783 (fax)
[email protected]
~{:NUqSn~}
04/02/1996 8:35
Subject:- Question about Oraperl...
Hi there,
Is it possible in using Oraperl that user could control SQL
transactions(like to be decided when to commit or rollback by user)? Any idea?
Thanks.
nho
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20646-31@oink>;
Wed, 3 Apr 1996 07:09:47 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828503323:29902:1; Wed, 03 Apr 96 04:48:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa29712; 3 Apr 96 4:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA00426 for dbi-users-real; Tue, 2 Apr 1996 19:35:11 -0800
Precedence: junk
Sender:
[email protected]
Received: from solair1.inter.NL.net (solair1.inter.NL.net [193.78.240.13])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA00422
for <
[email protected]>; Tue, 2 Apr 1996 19:35:09 -0800
Received: from utr97-18.Utrecht.NL.net
by solair1.inter.NL.net (5.65b/solair1.Inter.NL.net-1.31) id AA14709;
Tue, 2 Apr 1996 19:14:43 +0200
X-Sender:
[email protected]
Message-Id: <v01540b06ad8693f094d2@[193.79.253.48]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 2 Apr 1996 19:15:00 +0200
To: T <
[email protected]>,
[email protected]
From:
[email protected] (Peter Chen)
Subject: Re: disconnect(DBI::db=HASH(0x80e12c4)) invalidates 1 associated
cursor(s)
At 11:40 PM 4/1/96, T wrote:
>i'll be the first to admit i'm new to not only DBI/DBD/mSQL,
>but to all the new Perl5 features as well, so just bear with me.
> (i'm probably only missing a single line someplace...)
> (and hey, i DID read all the DBI FAQs i could dig up.)
..
>i'm using what i believe are the newest/current versions.
>perl(5.0002) mSQL(1.0.12) DBI(0.68) DBD-mSQL(.60pl10) Linux(1.3.13)
I'm in the process of selecting a PD SQL database to run on Linux with
Apache as the Web server and Perl5 as the CGI. I am hoping to find one
that's supported by DBI/DBD, or some kind of Perl wrapper, and perhaps ODBC
capable. Any suggestion? In particular, T, why did you choose mSQL at the
first place? How about Postgress?
Peter Chen
[email protected]
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20646-33@oink>;
Wed, 3 Apr 1996 07:10:08 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828503599:01111:1; Wed, 03 Apr 96 04:53:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa00808; 3 Apr 96 4:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA00765 for dbi-users-real; Tue, 2 Apr 1996 19:44:52 -0800
Precedence: junk
Sender:
[email protected]
Received: from vivid.com (vivid.vivid.com [205.163.51.81])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA00750
for <
[email protected]>; Tue, 2 Apr 1996 19:44:49 -0800
Received: from BAISGATE.BALINK.COM by vivid.com (NX5.67c/NeXT-2.0) id AA09805;
Tue, 2 Apr 96 10:52:49 -0800
Date: Tue, 2 Apr 96 10:52:49 -0800
Message-Id: <
[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"
To:
[email protected]
From: Jake Donham <
[email protected]>
Subject: Thanks.
My company has just finished installing a system for a big corporate client
(which unfortunately I can't name) that we developed using Perl 5 with
Oraperl. I wanted to thank everyone on this list who has given me advice
when I ran into snags, especially Tim Bunce.
The system is for organizing a catalog of URLs with lots of information
tacked onto them. It has a dynamic web interface for administrators to
manipulate the database, and generates a static web site from the database
for end users. Basically, it works like a champ, and it would have been
much, much more work without Oraperl.
Thanks again,
Jake
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20775-10@oink>;
Wed, 3 Apr 1996 07:12:59 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828503348:20314:1; Wed, 03 Apr 96 04:49:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa20130; 3 Apr 96 4:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA00439 for dbi-users-real; Tue, 2 Apr 1996 19:38:54 -0800
Precedence: junk
Sender:
[email protected]
Received: from roma.atc.olivetti.com (roma.atc.olivetti.com [129.189.134.10])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA00435
for <
[email protected]>; Tue, 2 Apr 1996 19:38:53 -0800
Received: from olivea.ATC.Olivetti.Com ([129.189.134.9])
by roma.atc.olivetti.com with SMTP id <81067>;
Tue, 2 Apr 1996 10:30:29 -0800
Received: from scanet.Ico.Olivetti.Com by olivea.ATC.Olivetti.Com (4.1/SMI-4.1)
id AA01277; Mon, 1 Apr 96 04:43:33 PST
Message-Id: <
[email protected]>
From:
[email protected]
Date: Mon, 1 Apr 1996 06:34:24 -0800
To:
[email protected]
Subject: help dbd
Received: from iconet.Ico.Olivetti.Com by scanet.Ico.Olivetti.Com;
Mon, 1 Apr 96 13:40:37 UTC
Received: from zappa.ICO.Olivetti.Com by iconet.Ico.Olivetti.Com;
Mon, 1 Apr 96 14:37:13 WET
Content-Type: text
Content-Length: 837
Hi,
we have tryed to compile the DBD Oracle driver ver 0.28 on a svr4 machine, but the make test fails, and the error message is below:
"...installation driver oracle test fails:
can't load ./blib/arch/auto/DBD/Oracle/Oracle.so for module DBD::Oracle:DynamicLinker:/usr/local/bin/perl:relocation error:symbol not found:setitimer at /usr/local/lib/perl5/DynaLoader.pm line 140 "
We have done the suggested changes in the Makefile.PL,
my %opt=(
NAME => 'DBD::Oracle',
VERSION_FROM => 'Oracle.pm',
LIBS => '-lc',
dist => { DIST_DEFAULT => 'clean distcheck disttest ci tardist',
PREOP => '$(MAKE) -f Makefile.old distdir' },
);
and added the path of Oracle.so in the LD_LIBRARY_PATH environment variable,
but the error message of the make test is the same.
Please, could you give us some help?
Thanks in advance
Anna
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20775-11@oink>;
Wed, 3 Apr 1996 07:13:10 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828503500:20919:1; Wed, 03 Apr 96 04:51:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa20750; 3 Apr 96 4:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA00658 for dbi-users-real; Tue, 2 Apr 1996 19:44:12 -0800
Precedence: junk
Sender:
[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 TAA00653
for <
[email protected]>; Tue, 2 Apr 1996 19:44:11 -0800
Received: by gw.home.vix.com id NAA25050; Tue, 2 Apr 1996 13:52:28 -0800 (PST)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id WAA10544 for
[email protected]; Tue, 2 Apr 1996 22:45:07 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Request for help (fwd)
To:
[email protected]
Date: Tue, 2 Apr 1996 22:45:06 +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
Forwarded to the list....
------------------------8<----------------------------8<------------------
Dear Sir/Madam,
I was trying to run the Makefile.PL for installing DBI driver.
I have downloaded and installed MakeMaker 5.16.
On running Makefile.PL I am getting errors on "qw(&WriteMakefile,&Verbose)
and also an error that "DBI.pm not found".
I could not find out the possible cause of these errors.
Please let me know how can I get rid of these errors or the
person whom I can contact for this.
I am using SunOS.
Thanks..
Awaiting your reply.
Sincerely,
Rajesh Patel
,--------ooo------ooo--------,,
| Rajesh Patel ||
| M.S. (Computer Engineerng) ||
| Florida Atlantic University ||
| Voice: (407)-338-5253 ||
\_____________________________//
||
" || ` `` ' ``
^ ~ || " " ^ ^ ,,
============================
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-3@oink>;
Thu, 4 Apr 1996 07:06:40 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828563871:21676:1; Wed, 03 Apr 96 21:37:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21182; 3 Apr 96 21:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA02563 for dbi-users-real; Wed, 3 Apr 1996 12:25:16 -0800
Precedence: junk
Sender:
[email protected]
Received: from gatekeeper.volpe.dot.gov (gatekeeper.volpe.dot.gov [204.166.190.3])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA02559
for <
[email protected]>; Wed, 3 Apr 1996 12:25:14 -0800
Received: from mailgate.volpe.dot.gov by gatekeeper.volpe.dot.gov;
(5.65/1.1.8.2/25May95-1202PM) id AA20739;
Wed, 3 Apr 1996 15:30:06 -0500
Received: from volpegate.volpe.dot.gov by mailgate.volpe.dot.gov;
(5.65/1.1.8.2/12Dec95-1149AM) id AA21661;
Wed, 3 Apr 1996 15:30:06 -0500
Received: by volpegate.dot.gov with Microsoft Mail
id <
[email protected]>; Wed, 03 Apr 96 15:33:34 EST
From: "Walzer, Jonathan (Unisys)" <
[email protected]>
To: 'DBI Mailing List' <
[email protected]>
Subject: DBI 0.28 Build Error (Solaris)
Date: Wed, 03 Apr 96 15:33:00 EST
Message-Id: <
[email protected]>
Encoding: 164 TEXT
X-Mailer: Microsoft Mail V3.0
Well,
As I real newbie, I was feeling pretty good about figuring out how to
track down
and build the latest versions of gcc (2.7.2) and DBI (0.28) on my Sun
Solaris
machine. My joy ended with DBD...I'm sure I screwed something up along
the line with
specifying include directories. The only place I canfind file DBIXS.h is
in
/usr/local/lib/perl5/site_perl/sun4_solaris/DBI/DBIXS.h (which is not
where make is
looking). Oracle Pro*C is installed. Oracle is version 7.2.3.0.0.
Can anyone bail me out (remember, I'm a true neophyte)?
--------------------------------------------------------------------------
----------
TVDBSRV# perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=solaris, osver=2.4, archname=sun4-solaris
uname='sunos itvdbsrv 5.4 generic_101945-36 sun4m sparc '
hint=recommended, useposix=true
Compiler:
cc='gcc', optimize='-O2', gccversion=2.7.2
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'
@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/sun4-solaris
/usr/local/lib/perl5/site_perl .
ITVDBSRV#
ITVDBSRV# make realclean
rm -rf Oracle.c ./blib Makefile.aperl
/blib/arch/auto/DBD/Oracle/extralibs.all perlmain.c mon.out core
so_locations *~ */*~ */*/*~ *.o *.a perl.exe Oracle.bs Oracle.bso
Oracle.def Oracle.exp
mv Makefile Makefile.old 2>/dev/null
rm -rf ./blib/lib/auto/DBD/Oracle ./blib/arch/auto/DBD/Oracle
rm -f ./blib/arch/auto/DBD/Oracle/Oracle.so
/blib/arch/auto/DBD/Oracle/Oracle.bs
rm -f ./blib/arch/auto/DBD/Oracle/Oracle.a ./blib/lib/Oraperl.pm
/blib/lib/oraperl.ph ./blib/lib/DBD/Oracle.pm
rm -rf Makefile Makefile.old
ITVDBSRV# perl Makefile.PL
Use of uninitialized value at Makefile.PL line 27.
Configuring DBD::Oracle version ...
Remember to actually read the README file!
Using Oracle in /u/oracle
Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
Using /u/oracle/proc/lib/proc.mk version 1.9
System: perl5.002 sunos itvdbsrv 5.4 generic_101945-36 sun4m sparc
sun4-solaris dl_dlopen.xs
Compiler: gcc -O2 -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
CC: ld -dy $(COMPOBJS) $(LDSTRING)
LDFLAGS: -L$(LIBHOME)
LDSTRING: -R /opt/SUNWcluster/lib -Y
P,$(LD_LIBRARY_PATH):/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib -Qy -lc
$(COMPOBJ)/crtn.o
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Oracle
ITVDBSRV#
ITVDBSRV# make
umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.002
-I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv
Oracle.tc Oracle.c
gcc -c -I/u/oracle/rdbms/demo
-I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -I/usr/local/include -O2
-DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fpic
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic
-Wno-comment -Wtraditional Oracle.c
In file included from Oracle.c:19:
Oracle.h:14: DBIXS.h: No such file or directory
make: *** [Oracle.o] Error 1
ITVDBSRV#
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-5@oink>;
Thu, 4 Apr 1996 07:07:03 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828564197:24653:1; Wed, 03 Apr 96 21:43:17 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa24158; 3 Apr 96 21:42 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa29053; 3 Apr 96 21:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA02614 for dbi-users-real; Wed, 3 Apr 1996 12:35:02 -0800
Precedence: junk
Sender:
[email protected]
Received: from gatekeeper.volpe.dot.gov (gatekeeper.volpe.dot.gov [204.166.190.3])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA02607
for <
[email protected]>; Wed, 3 Apr 1996 12:34:59 -0800
Received: from mailgate.volpe.dot.gov by gatekeeper.volpe.dot.gov;
(5.65/1.1.8.2/25May95-1202PM) id AA21118;
Wed, 3 Apr 1996 15:39:50 -0500
Received: from volpegate.volpe.dot.gov by mailgate.volpe.dot.gov;
(5.65/1.1.8.2/12Dec95-1149AM) id AA20865;
Wed, 3 Apr 1996 15:39:50 -0500
Received: by volpegate.dot.gov with Microsoft Mail
id <
[email protected]>; Wed, 03 Apr 96 15:43:18 EST
From: "Walzer, Jonathan (Unisys)" <
[email protected]>
To: 'DBI Mailing List' <
[email protected]>
Cc: "'
[email protected]'" <
[email protected]>
Subject: DBD 0.28 Build Problem (Solaris)
Date: Wed, 03 Apr 96 15:42:00 EST
Message-Id: <
[email protected]>
Encoding: 108 TEXT
X-Mailer: Microsoft Mail V3.0
Well,
As I real newbie, I was feeling pretty good about figuring out how to
track down
and build the latest versions of gcc (2.7.2) and DBI (0.28) on my Sun
Solaris
machine. My joy ended with DBD...I'm sure I screwed something up along
the line with
specifying include directories. The only place I canfind file DBIXS.h is
in
/usr/local/lib/perl5/site_perl/sun4_solaris/DBI/DBIXS.h (which is not
where make is
looking). Oracle is version 7.2.3.0.0, Pro*C is installed.
Could it have something to do with the following warning (which is
indecipherable to me)?
WARNING! By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you MUST delete old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.
Can anyone bail me out (remember, I'm a true neophyte)?
--------------------------------------------------------------------------
---------------
ITVDBSRV# perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=solaris, osver=2.4, archname=sun4-solaris
uname='sunos itvdbsrv 5.4 generic_101945-36 sun4m sparc '
hint=recommended, useposix=true
Compiler:
cc='gcc', optimize='-O2', gccversion=2.7.2
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'
@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/sun4-solaris
/usr/local/lib/perl5/site_perl .
ITVDBSRV#
ITVDBSRV# make realclean
rm -rf Oracle.c ./blib Makefile.aperl
/blib/arch/auto/DBD/Oracle/extralibs.all perlmain.c mon.out core
so_locations *~ */*~ */*/*~ *.o *.a perl.exe Oracle.bs Oracle.bso
Oracle.def Oracle.exp
mv Makefile Makefile.old 2>/dev/null
rm -rf ./blib/lib/auto/DBD/Oracle ./blib/arch/auto/DBD/Oracle
rm -f ./blib/arch/auto/DBD/Oracle/Oracle.so
/blib/arch/auto/DBD/Oracle/Oracle.bs
rm -f ./blib/arch/auto/DBD/Oracle/Oracle.a ./blib/lib/Oraperl.pm
/blib/lib/oraperl.ph ./blib/lib/DBD/Oracle.pm
rm -rf Makefile Makefile.old
ITVDBSRV# perl Makefile.PL
Use of uninitialized value at Makefile.PL line 27.
Configuring DBD::Oracle version ...
Remember to actually read the README file!
Using Oracle in /u/oracle
Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
Using /u/oracle/proc/lib/proc.mk version 1.9
System: perl5.002 sunos itvdbsrv 5.4 generic_101945-36 sun4m sparc
sun4-solaris dl_dlopen.xs
Compiler: gcc -O2 -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
CC: ld -dy $(COMPOBJS) $(LDSTRING)
LDFLAGS: -L$(LIBHOME)
LDSTRING: -R /opt/SUNWcluster/lib -Y
P,$(LD_LIBRARY_PATH):/opt/SUNWcluster/lib:/usr/ccs/lib:/usr/lib -Qy -lc
$(COMPOBJ)/crtn.o
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::Oracle
ITVDBSRV#
ITVDBSRV# make
umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.002
-I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv
Oracle.tc Oracle.c
gcc -c -I/u/oracle/rdbms/demo
-I/usr/local/lib/perl5/sun4-solaris/5.002/DBI -I/usr/local/include -O2
-DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -fpic
-I/usr/local/lib/perl5/sun4-solaris/5.002/CORE -Wall -pedantic
-Wno-comment -Wtraditional Oracle.c
In file included from Oracle.c:19:
Oracle.h:14: DBIXS.h: No such file or directory
make: *** [Oracle.o] Error 1
ITVDBSRV#
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-10@oink>;
Thu, 4 Apr 1996 07:08:34 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828568447:03278:0; Wed, 03 Apr 96 22:54:07 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa02938; 3 Apr 96 22:53 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa14528; 3 Apr 96 22:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA02780 for dbi-users-real; Wed, 3 Apr 1996 13:43:11 -0800
Precedence: junk
Sender:
[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 NAA02776
for <
[email protected]>; Wed, 3 Apr 1996 13:43:09 -0800
Received: (from lebel@localhost) by zeus.socom.com (8.7.3/8.7.3) id QAA28401;
Wed, 3 Apr 1996 16:37:09 -0500
Date: Wed, 3 Apr 1996 16:37:09 -0500
From: David Lebel <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Bus Error with DBD-Oracle 0.28
Mime-Version: 1.0 (generated by tm-edit 7.42)
Content-Type: text/plain; charset=US-ASCII
When I try to compile and test DBD-Oracle 0.28 (with DBI-0.67), I get
a bus error when my test application exit. I've used one of the
samples inside oraperl.ex and they all coredump (Bus Error) when they
terminate.
Also, the make test doesn't work:
---cut---
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5,002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
Test returned status 0 (wstat 138)
t/main..............ok
All tests successful.
Files=2, Tests=6, 5 secs ( 0.46 cusr 0.16 csys = 0.62 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5,002 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.19 $
Oraperl Emulation Interface version 1.23
Oracle Driver 0.28
DBI-0.67 Switch by Tim Bunce, version 0.67
Connecting
to '' (from command line, else uses ORACLE_SID/TWO_TASK)
as 'carrefour/XXXXXXX' (via ORACLE_USERID environment var or default)
Fields: 4
Names: 'NUM_T', 'DATE_T', 'CHAR_T', 'NULL_T'
Lengths: '40', '75', '30', '0'
Types: '2', '12', '1', '1'
Data rows:
fetch: 79.2 03-APR-96 CARREFOUR NULL
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
lda out of scope...
Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 2 3 4 5
Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
done.
Test complete (1 seconds).
*** Error code 138
make: Fatal error: Command failed for target `test_dynamic'
---cut---
This is with Oracle 7.1.6.2.0, gcc 2.7.2, perl 5.002,
DBD-Oracle 0.28, DBI-0.67, and Solaris 2.5.
Any hints?
...David
--
// David Lebel <
[email protected]> phone: (514) 939-0480
// Socom technologies, Inc fax: (514) 939-0834
//
http://www.socom.com/~lebel/ #include <std/disclaimers.h>
" There are lies, damned lies, and statistics. " -- Mark Twain
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <27572-18@oink>;
Thu, 4 Apr 1996 07:09:53 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828570293:25540:3; Wed, 03 Apr 96 23:24:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa24530; 3 Apr 96 23:24 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id OAA02865 for dbi-announce-real; Wed, 3 Apr 1996 14:07:41 -0800
Precedence: junk
Sender:
[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 OAA02861
for <
[email protected]>; Wed, 3 Apr 1996 14:07:38 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id XAA08296 for
[email protected];
Wed, 3 Apr 1996 23:05:51 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: ANNOUNCE: DBD::C-ISAM abandoned
To:
[email protected]
Date: Wed, 3 Apr 1996 23:05:50 +0100 (BST)
X-Pants: ** The return address of this email should be:
[email protected]
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 423
Work on DBD::C-ISAM has been abandoned by me due to work pressures, and a
shift in development platforms here which has deprived me of access to
C-ISAM instances.
Anyone wishing to run with this project, please email me and let me know.
Regards.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-18@oink>;
Thu, 4 Apr 1996 07:10:00 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828574345:23266:2; Thu, 04 Apr 96 00:32:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa22849; 4 Apr 96 0:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA03017 for dbi-users-real; Wed, 3 Apr 1996 15:22:06 -0800
Precedence: junk
Sender:
[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 PAA03013
for <
[email protected]>; Wed, 3 Apr 1996 15:22:04 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id AAA08758; Thu, 4 Apr 1996 00:19:58 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: DBD 0.28 Build Problem (Solaris)
To:
[email protected] (Walzer Jonathan)
Date: Thu, 4 Apr 1996 00:19:57 +0100 (BST)
Cc:
[email protected]
In-Reply-To: <
[email protected]> from "Walzer, Jonathan" at Apr 3, 96 03:42:00 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: 949
> As I real newbie, I was feeling pretty good about figuring out how to
> track down
> and build the latest versions of gcc (2.7.2) and DBI (0.28) on my Sun
> Solaris
> machine. My joy ended with DBD...I'm sure I screwed something up along
> the line with
> specifying include directories. The only place I canfind file DBIXS.h is
> in
> /usr/local/lib/perl5/site_perl/sun4_solaris/DBI/DBIXS.h (which is not
> where make is
> looking). Oracle is version 7.2.3.0.0, Pro*C is installed.
Alter the line saying:
$opts{INC} = "$OCIINCLUDE -I$OH/rdbms/demo -I$Config{archlibexp}/DBI";
to read:
$opts{INC} = "$OCIINCLUDE -I$OH/rdbms/demo -I$Config{sitearch}/DBI";
then rerun:
perl Makefile.PL
make
make test ; make install
And that should sort you out.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-22@oink>;
Thu, 4 Apr 1996 07:10:42 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828578743:23829:1; Thu, 04 Apr 96 01:45:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23332; 4 Apr 96 1:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id QAA03190 for dbi-users-real; Wed, 3 Apr 1996 16:34:51 -0800
Precedence: junk
Sender:
[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 QAA03186
for <
[email protected]>; Wed, 3 Apr 1996 16:34:50 -0800
Received: from voro.lbl.gov (localhost [127.0.0.1]) by voro.lbl.gov (8.6.12/G)
with ESMTP id QAA01225; Wed, 3 Apr 1996 16:37:42 -0800
Message-Id: <
[email protected]>
X-Mailer: exmh version 1.6.2 7/18/95
To: "Walzer, Jonathan (Unisys)" <
[email protected]>
cc: 'DBI Mailing List' <
[email protected]>
Subject: Re: DBD 0.28 Build Problem (Solaris)
In-reply-to: Your message of "Wed, 03 Apr 1996 15:42:00 EST." <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 03 Apr 1996 16:37:42 -0800
From: Mark Dedlow <
[email protected]>
> From: "Walzer, Jonathan (Unisys)" <
[email protected]>
>
[...]
> machine. My joy ended with DBD...I'm sure I screwed something up along
> the line with
> specifying include directories. The only place I canfind file DBIXS.h is
> in
> /usr/local/lib/perl5/site_perl/sun4_solaris/DBI/DBIXS.h (which is not
The current version, DBD-Oracle-0.29, solves your problem.
Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <27571-33@oink>;
Thu, 4 Apr 1996 07:12:50 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828589964:14943:1; Thu, 04 Apr 96 04:52:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa14685; 4 Apr 96 4:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA03454 for dbi-users-real; Wed, 3 Apr 1996 19:35:56 -0800
Precedence: junk
Sender:
[email protected]
Received: from interlock.mckesson.com (interlock.mckesson.com [199.221.43.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA03450
for <
[email protected]>; Wed, 3 Apr 1996 19:35:54 -0800
Received: from wsop2.mckesson.com by interlock.mckesson.com with SMTP
id AA08686 (InterLock SMTP Gateway 3.0 for <
[email protected]>);
Wed, 3 Apr 1996 19:40:46 -0800
Received: by wsop2.mckesson.com (SMI-8.6/SMI-SVR4) id TAA15346;
Wed, 3 Apr 1996 19:36:42 -0800
Date: Wed, 3 Apr 1996 19:36:42 -0800
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: help dbd
Cc:
[email protected]
From:
[email protected]
X-Sun-Charset: US-ASCII
petrucci wrote:
> Hi,
> we have tryed to compile the DBD Oracle driver ver 0.28 on a svr4 machine, but the make test fails, and the error message is below:
> "...installation driver oracle test fails:
> can't load ./blib/arch/auto/DBD/Oracle/Oracle.so for module DBD::Oracle:DynamicLinker:/usr/local/bin/perl:relocation error:symbol not found:setitimer at /usr/local/lib/perl5/DynaLoader.pm line 140 "
> We have done the suggested changes in the Makefile.PL,
> my %opt=(
> NAME => 'DBD::Oracle',
> VERSION_FROM => 'Oracle.pm',
> LIBS => '-lc',
> dist => { DIST_DEFAULT => 'clean distcheck disttest ci tardist',
> PREOP => '$(MAKE) -f Makefile.old distdir' },
> );
> and added the path of Oracle.so in the LD_LIBRARY_PATH environment variable,
> but the error message of the make test is the same.
> Please, could you give us some help?
> Thanks in advance
> Anna
Try adding the '-lc' to $ORACLE_HOME/rdbms/lib/sysliblist (just make sure it's
not on a new line).
BTW would you please mail me the output of the 'make' before you try this.
I'm writing an svr4 hints file to try and fix this permanently and I'd like
to know what the linker command line looks without this fix.
Stephen
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01890-13@oink>;
Thu, 4 Apr 1996 16:00:42 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828626514:02569:2; Thu, 04 Apr 96 15:01:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa01977; 4 Apr 96 15:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id FAA04065 for dbi-users-real; Thu, 4 Apr 1996 05:49:13 -0800
Precedence: junk
Sender:
[email protected]
Received: from jumbo.read.tasc.com (jumbo.read.tasc.com [147.81.244.117])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA04061
for <
[email protected]>; Thu, 4 Apr 1996 05:49:12 -0800
Received: from viper.is.rest.tasc.com
by jumbo.read.tasc.com (5.x/PRAT[SECURE-2.8]) id AA05848;
Thu, 4 Apr 1996 08:53:06 -0500
Received: from irnet.rest.tasc.com (stowe.irnet.rest.tasc.com)
by viper.is.rest.tasc.com (4.1/TASCnet-4.1R0.0) id AA17009;
Thu, 4 Apr 96 08:50:23 EST
Received: from vail.rest.tasc.com (vail.irnet.rest.tasc.com)
by irnet.rest.tasc.com (4.1/SMI-4.1) id AA00325;
Thu, 4 Apr 96 08:53:06 EST
From:
[email protected] (Martin Thurn)
Message-Id: <
[email protected]>
Subject: Re: DBD 0.28 Build Problem (Solaris)
To:
[email protected] (Mark Dedlow)
Date: Thu, 4 Apr 1996 08:53:06 -0500 (EST)
Cc:
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Mark Dedlow" at Apr 3, 96 04:37:42 pm
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
> The current version, DBD-Oracle-0.29, solves your problem.
On behalf of of me and all other newbies having the same trouble,
and to cut out 75% (?) of the traffic on the mailing list,
PLEASE PUT THE LATEST VERSION ON THE HERMETICA WEB SITE
Thank you.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02943-0@oink>;
Thu, 4 Apr 1996 17:40:10 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828635358:13636:1; Thu, 04 Apr 96 17:29:18 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa12624; 4 Apr 96 17:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA04249 for dbi-users-real; Thu, 4 Apr 1996 08:18:08 -0800
Precedence: junk
Sender:
[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 IAA04245
for <
[email protected]>; Thu, 4 Apr 1996 08:18:00 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id RAA18594; Thu, 4 Apr 1996 17:15:35 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: DBD 0.28 Build Problem (Solaris)
To:
[email protected] (Martin Thurn)
Date: Thu, 4 Apr 1996 17:15:34 +0100 (BST)
Cc:
[email protected],
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Martin Thurn" at Apr 4, 96 08:53: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: 660
> > The current version, DBD-Oracle-0.29, solves your problem.
>
> On behalf of of me and all other newbies having the same trouble,
> and to cut out 75% (?) of the traffic on the mailing list,
>
> PLEASE PUT THE LATEST VERSION ON THE HERMETICA WEB SITE
Wups! It's there now.
You should note that the WWW pages are merely a guide. You should be notified
of the release via the mailing list, or check CPAN when you're getting the
code........
At least, that's my excuse....
8-)
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03220-0@oink>;
Thu, 4 Apr 1996 19:07:10 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828641062:01995:0; Thu, 04 Apr 96 19:04:22 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa01392; 4 Apr 96 19:03 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa10443; 4 Apr 96 19:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA04466 for dbi-users-real; Thu, 4 Apr 1996 09:52:48 -0800
Precedence: junk
Sender:
[email protected]
Received: from portal.east.saic.com (PORTAL.EAST.SAIC.COM [198.151.13.15])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id JAA04462
for <
[email protected]>; Thu, 4 Apr 1996 09:52:47 -0800
Received: from hp3bscr.saic.com ([149.8.83.100]) by portal.east.saic.com
via smtpd (for toccata.fugue.com [204.254.239.2]) with SMTP;
4 Apr 1996 17:57:53 UT
Received: from fortress.saic.com by hp3bscr.saic.com
with SMTP (1.38.193.4/16.2) id AA05962;
Thu, 4 Apr 1996 13:15:12 -0500
Received: from orbiter.lab.saic.com by crenbat.lab.saic.com
with SMTP (1.38.193.4/16.3) id AA16979;
Thu, 4 Apr 1996 13:00:56 -0500
Received: from orbiter (localhost) by orbiter.gccs. (5.x/SMI-SVR4) id AA05590;
Thu, 4 Apr 1996 12:55:34 -0500
Message-Id: <
[email protected]>
Date: Thu, 04 Apr 1996 12:55:34 -0500
From: Michael Ellis <
[email protected]>
Organization: SAIC Asset C3I
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
Mime-Version: 1.0
To:
[email protected]
Subject: Doing a describe in Oracle
X-Url:
http://www.hermetica.com/technologia/DBI/DBD/index.html#Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am using DBD and DBI and have selects and inserts working, but I need
to be able to
do a describe on a table so I can get the structure or table layout. Do
you have any
thoughts on how to do this using DBD abd DBI?
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03321-0@oink>;
Thu, 4 Apr 1996 19:32:23 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828642581:16459:1; Thu, 04 Apr 96 19:29:41 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa16046; 4 Apr 96 19:29 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa15530; 4 Apr 96 19:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA04557 for dbi-users-real; Thu, 4 Apr 1996 10:18:43 -0800
Precedence: junk
Sender:
[email protected]
Received: from gw.lbcc.cc.or.us (gw.lbcc.cc.or.us [204.214.120.14])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA04553
for <
[email protected]>; Thu, 4 Apr 1996 10:18:41 -0800
Received: from LB1-Message_Server by gw.lbcc.cc.or.us with Novell_GroupWise;
Thu, 04 Apr 1996 10:24:14 -0800
Message-Id: <
[email protected]>
X-Mailer: Novell GroupWise 4.1
Date: Thu, 04 Apr 1996 10:23:55 -0800
From: Dan Sugalski <
[email protected]>
To:
[email protected],
[email protected]
Subject: Doing a describe in Oracle -Reply
DESCRIBE is an SQL*Plus feature. To do this with pure SQL, you'll need to
walk the system tables that describe the database layout. I use
DBA_TAB_COLUMNS, but there are some others that do the same thing. I think
these (amongst others) are in Oracle's DB Administrators guide.
Dan
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05118-8@oink>;
Fri, 5 Apr 1996 07:08:25 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828649348:03103:2; Thu, 04 Apr 96 21:22:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa03026; 4 Apr 96 21:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA04803 for dbi-users-real; Thu, 4 Apr 1996 12:05:58 -0800
Precedence: junk
Sender:
[email protected]
Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA04795
for <
[email protected]>; Thu, 4 Apr 1996 12:05:56 -0800
Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1)
from uriela.in-berlin.de (192.109.42.147) with smtp
id <m0u4vMj-0001SgC>; Thu, 4 Apr 96 22:10 MEST
Received: by uriela.in-berlin.de (/\oo/\ Smail3.1.29.1 #29.8)
id <
[email protected]>; Thu, 4 Apr 96 22:10 MET DST
Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1)
from anna.in-berlin.de (193.175.21.66) with smtp
id <m0u4vM8-0001ORC>; Thu, 4 Apr 96 22:10 MEST
Received: by anna.in-berlin.de (940816.SGI.8.6.9/940406.SGI) id WAA28777;
Thu, 4 Apr 1996 22:09:09 +0200
Date: Thu, 4 Apr 1996 22:09:09 +0200
Message-Id: <
[email protected]>
From: Andreas Koenig <
[email protected]>
To:
[email protected]
CC:
[email protected]
In-reply-to: <
[email protected]> (message from Alligator Descartes on Thu, 4 Apr 1996 17:15:34 +0100 (BST))
Subject: Re: DBD 0.28 Build Problem (Solaris)
Reply-to:
[email protected]
>>>>> "alligator" == Alligator Descartes <
[email protected]> writes:
alligator> You should note that the WWW pages are merely a guide. You should be notified
alligator> of the release via the mailing list, or check CPAN when you're getting the
alligator> code........
alligator> At least, that's my excuse....
alligator> 8-)
No excuse 88--))
Link to Tom's multiplexer!
<A HREF="
http://perl.com/cgi-bin/cpan_mod?module=DBI">source</A>
or
<A HREF="
http://perl.com/cgi-bin/cpan_mod?module=CGI&readme=1">readme</A>
Always guaranteed to be up to date + a redirect to the nearest CPAN
site.
andreas
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05118-21@oink>;
Fri, 5 Apr 1996 07:10:13 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828661333:04605:1; Fri, 05 Apr 96 00:42:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa03240; 5 Apr 96 0:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA05335 for dbi-users-real; Thu, 4 Apr 1996 15:36:08 -0800
Precedence: junk
Sender:
[email protected]
Received: from hope.trinet.com (hope.trinet.com [206.25.192.11])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA05331
for <
[email protected]>; Thu, 4 Apr 1996 15:36:06 -0800
Received: (from mlk@localhost) by hope.trinet.com (8.6.12/8.6.10) id SAA13095;
Thu, 4 Apr 1996 18:35:31 -0500
Date: Thu, 4 Apr 1996 18:35:31 -0500 (EST)
From: Mark Korey <
[email protected]>
To:
[email protected],
[email protected]
Subject: Help! Why won't this DBI UPDATE routine UPDATE?!?!
Message-ID: <Pine.BSD/
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
We've successfully been using DBI-0.68 & DBD-Oracle-0.28 on Solaris 2.4
to perform DB SELECT operations, but I can not for the life of me get
the do method to perform an UPDATE, nor have I had any luck getting
error msgs.
Hopefully you can help!
-------------------------------------------------------------------------
The code:
---------------------------------------------------------------
#!/usr/local/bin/perl
# Get Oracle environment settings
$ENV{'ORACLE_HOME'} = '/opt/oracle/orahome';
$ENV{'ORACLE_SID'} = 'msds';
$dbuser = 'test_id/test_pw@TNS:msds';
$dbname = '';
use DBI;
print "\nAvail Drivers: ", join(", ", DBI->available_drivers()), "\n\n";
############################################################################
$sql_cmd = "UPDATE dbi_test SET description='Test 3' where code='T3'";
print "$sql_cmd\n\n";
#DB FUNCTIONS
$drh = DBI->install_driver( 'Oracle' );
$dbh = $drh->connect( $dbname, $dbuser, '' );
$dbh->debug(0);
$rc = $dbh->do($dbh, $sql_cmd)
|| warn "UPDATE failed: $db_error:$db_errstr\n";
print "db_errno: '$db_errno': $db_errstr\n";
print "Return Code: '$rc'; Error Code: '$err' \n";
$dbh->commit;
print "DBI::err = '$DBI::err'\n\n";
$dbh->disconnect;
-------------------------------------------------------------------------
The output:
----------------------------------------------------------------
Avail Drivers: ExampleP, NullP, Oracle, Sponge
UPDATE dbi_test SET description='Test 3' where code='T3'
UPDATE failed: :
db_errno: '':
Return Code: '1'; Error Code: ''
DBI::err = ''
------------------------------------------------------------------------
What am I doing wrong??? The SQL cmd works from SQL*Plus.
Why can't I get any error codes or error msgs?
Thanks for the help & ideas!
| Mark L Korey TriNet Services, Inc. |
|
[email protected] 150 Fayetteville Street Mall |
| 919-833-2247 ext 230 Suite 1340 |
|
http://www.trinet.com Raleigh, NC 27601 |
+-----------------------------------------------------------------------+
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <05118-23@oink>;
Fri, 5 Apr 1996 07:10:48 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828665357:05937:2; Fri, 05 Apr 96 01:49:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa05477; 5 Apr 96 1:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA05082 for dbi-users-real; Thu, 4 Apr 1996 13:33:39 -0800
Precedence: junk
Sender:
[email protected]
Received: from hope.trinet.com (hope.trinet.com [206.25.192.11])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA05078
for <
[email protected]>; Thu, 4 Apr 1996 13:33:38 -0800
Received: (from mlk@localhost) by hope.trinet.com (8.6.12/8.6.10) id QAA12527;
Thu, 4 Apr 1996 16:38:33 -0500
Date: Thu, 4 Apr 1996 16:38:33 -0500 (EST)
From: Mark Korey <
[email protected]>
To: Michael Ellis <
[email protected]>
cc:
[email protected]
Subject: Re: Doing a describe in Oracle
In-Reply-To: <
[email protected]>
Message-ID: <Pine.BSD/
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 4 Apr 1996, Michael Ellis wrote:
> I am using DBD and DBI and have selects and inserts working, but I need
> to be able to
> do a describe on a table so I can get the structure or table layout. Do
> you have any
> thoughts on how to do this using DBD abd DBI?
The question is how do you do this w/ SQL cmds (not with the SQL*Plus
"desc table_name" cmd). Assuming you're using Oracle, you'll need to
find out which SYSTEM tables store the table layouts. You can start
with the "all_tables" table & try to take it from there.
| Mark L Korey TriNet Services, Inc. |
|
[email protected] 150 Fayetteville Street Mall |
| 919-833-2247 ext 230 Suite 1340 |
|
http://www.trinet.com Raleigh, NC 27601 |
+-----------------------------------------------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08063-1@oink>;
Fri, 5 Apr 1996 17:01:45 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828704724:03479:1; Fri, 05 Apr 96 12:45:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa03033; 5 Apr 96 12:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA06218 for dbi-users-real; Fri, 5 Apr 1996 03:32:10 -0800
Precedence: junk
Sender:
[email protected]
Received: from deimos (deimos.sovam.com [194.67.1.156])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA06214
for <
[email protected]>; Fri, 5 Apr 1996 03:31:59 -0800
Received: from nike.sovam.com ([194.67.3.241]) by deimos.sovam.com with SMTP
id <260570-6269>; Fri, 5 Apr 1996 15:31:41 +0400
Message-ID: <
[email protected]>
Date: Fri, 05 Apr 1996 15:31:41 +0300
From: "Roman L. Podshivalov" <
[email protected]>
Reply-To:
[email protected]
Organization: ROL
X-Mailer: Mozilla 3.0B2 (Win95; I)
MIME-Version: 1.0
To: Michael Ellis <
[email protected]>
CC:
[email protected]
Subject: Re: Doing a describe in Oracle
References: <
[email protected]>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Michael Ellis wrote:
>
> I am using DBD and DBI and have selects and inserts working, but I need
> to be able to
> do a describe on a table so I can get the structure or table layout. Do
> you have any
> thoughts on how to do this using DBD abd DBI?
if you're using Oraperl emulation for DBI::DBD you can ora_titles.
Else @your_title_array = @{$your_cursor->{'NAME'}};
Be happy
---
Roman L. Podshivalov Sovam Teleport
<mailto:
[email protected]> (+7-501) 258-4170
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08063-3@oink>;
Fri, 5 Apr 1996 17:01:51 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828704725:03475:1; Fri, 05 Apr 96 12:45:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa03037; 5 Apr 96 12:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA06224 for dbi-users-real; Fri, 5 Apr 1996 03:36:38 -0800
Precedence: junk
Sender:
[email protected]
Received: from deimos (deimos.sovam.com [194.67.1.156])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA06220
for <
[email protected]>; Fri, 5 Apr 1996 03:36:11 -0800
Received: from nike.sovam.com ([194.67.3.241]) by deimos.sovam.com with SMTP
id <260587-6268>; Fri, 5 Apr 1996 15:35:17 +0400
Message-ID: <
[email protected]>
Date: Fri, 05 Apr 1996 15:35:22 +0300
From: "Roman L. Podshivalov" <
[email protected]>
Reply-To:
[email protected]
Organization: ROL
X-Mailer: Mozilla 3.0B2 (Win95; I)
MIME-Version: 1.0
To: Mark Korey <
[email protected]>
CC:
[email protected],
[email protected]
Subject: Re: Help! Why won't this DBI UPDATE routine UPDATE?!?!
References: <Pine.BSD/
[email protected]>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Mark Korey wrote:
>
> We've successfully been using DBI-0.68 & DBD-Oracle-0.28 on Solaris 2.4
> to perform DB SELECT operations, but I can not for the life of me get
> the do method to perform an UPDATE, nor have I had any luck getting
> error msgs.
>
> Hopefully you can help!
>
> -------------------------------------------------------------------------
> The code:
> ---------------------------------------------------------------
> #!/usr/local/bin/perl
>
> # Get Oracle environment settings
> $ENV{'ORACLE_HOME'} = '/opt/oracle/orahome';
> $ENV{'ORACLE_SID'} = 'msds';
> $dbuser = 'test_id/test_pw@TNS:msds';
>
> $dbname = '';
>
> use DBI;
>
> print "\nAvail Drivers: ", join(", ", DBI->available_drivers()), "\n\n";
>
> ############################################################################
>
> $sql_cmd = "UPDATE dbi_test SET description='Test 3' where code='T3'";
>
> print "$sql_cmd\n\n";
>
> #DB FUNCTIONS
> $drh = DBI->install_driver( 'Oracle' );
> $dbh = $drh->connect( $dbname, $dbuser, '' );
>
> $dbh->debug(0);
>
> $rc = $dbh->do($dbh, $sql_cmd)
^^^^^^^^^^^^^^^^^^^^^^^^
$dbh->do($sql_cmd) - will be right ;-)
> || warn "UPDATE failed: $db_error:$db_errstr\n";
>
> print "db_errno: '$db_errno': $db_errstr\n";
> print "Return Code: '$rc'; Error Code: '$err' \n";
>
> $dbh->commit;
> print "DBI::err = '$DBI::err'\n\n";
>
> $dbh->disconnect;
>
> -------------------------------------------------------------------------
> The output:
> ----------------------------------------------------------------
> Avail Drivers: ExampleP, NullP, Oracle, Sponge
>
> UPDATE dbi_test SET description='Test 3' where code='T3'
>
> UPDATE failed: :
> db_errno: '':
> Return Code: '1'; Error Code: ''
> DBI::err = ''
>
> ------------------------------------------------------------------------
> What am I doing wrong??? The SQL cmd works from SQL*Plus.
> Why can't I get any error codes or error msgs?
>
> Thanks for the help & ideas!
>
> | Mark L Korey TriNet Services, Inc. |
> |
[email protected] 150 Fayetteville Street Mall |
> | 919-833-2247 ext 230 Suite 1340 |
> |
http://www.trinet.com Raleigh, NC 27601 |
> +-----------------------------------------------------------------------+
Be happy
---
Roman L. Podshivalov Sovam Teleport
<mailto:
[email protected]> (+7-501) 258-4170
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14672-3@oink>;
Mon, 8 Apr 1996 07:07:05 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828732552:19700:2; Fri, 05 Apr 96 20:29:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa19370; 5 Apr 96 20:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA06798 for dbi-users-real; Fri, 5 Apr 1996 11:23:08 -0800
Precedence: junk
Sender:
[email protected]
Received: from gatekeeper.volpe.dot.gov (gatekeeper.volpe.dot.gov [204.166.190.3])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA06794
for <
[email protected]>; Fri, 5 Apr 1996 11:23:06 -0800
Received: from mailgate.volpe.dot.gov by gatekeeper.volpe.dot.gov;
(5.65/1.1.8.2/25May95-1202PM) id AA14419;
Thu, 4 Apr 1996 14:01:36 -0500
Received: from volpegate.volpe.dot.gov by mailgate.volpe.dot.gov;
(5.65/1.1.8.2/12Dec95-1149AM) id AA19981;
Thu, 4 Apr 1996 14:00:24 -0500
Received: by volpegate.dot.gov with Microsoft Mail
id <
[email protected]>; Thu, 04 Apr 96 14:03:49 EST
From: "Walzer, Jonathan (Unisys)" <
[email protected]>
To: 'DBI Mailing List' <
[email protected]>
Subject: RE: DBD 0.28 Build Problem (Solaris)
Date: Thu, 04 Apr 96 14:03:00 EST
Message-Id: <
[email protected]>
Encoding: 31 TEXT
X-Mailer: Microsoft Mail V3.0
I can now confirm that using DBD-Oracle-0.29 DID in fact solve my
problem. Much thanks to all!
Just goes to show that rank amateurs like myself can get this to work.
Actually, I'm just amateur (rankness bothers my coworkers).
But seriously, this is a very useful tool, so thanks to all involved!
How far along is the ODBC version? Is it still in the formalizing
stage? Also, is there anything online describing what's planned or
being pondered (beyond the DBI readme) ?
----------
From: mthurn[SMTP:
[email protected]]
Sent: Thursday, April 04, 1996 8:53 AM
To: dedlow
Cc: Walzer; dbi-users
Subject: Re: DBD 0.28 Build Problem (Solaris)
> The current version, DBD-Oracle-0.29, solves your problem.
On behalf of of me and all other newbies having the same trouble,
and to cut out 75% (?) of the traffic on the mailing list,
PLEASE PUT THE LATEST VERSION ON THE HERMETICA WEB SITE
Thank you.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14671-25@oink>;
Mon, 8 Apr 1996 07:11:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828741700:10166:3; Fri, 05 Apr 96 23:01:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa09824; 5 Apr 96 23:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA07237 for dbi-users-real; Fri, 5 Apr 1996 13:57:46 -0800
Precedence: junk
Sender:
[email protected]
Received: from bloodstone.cary.mci.net (bloodstone.Cary.mci.net [204.70.140.22])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA07233
for <
[email protected]>; Fri, 5 Apr 1996 13:57:36 -0800
Received: (from adoles@localhost) by bloodstone.cary.mci.net (8.6.12/8.6.9)
id QAA15678; Fri, 5 Apr 1996 16:54:36 -0500
Date: Fri, 5 Apr 1996 16:54:35 -0500 (EST)
From: Andre Doles <
[email protected]>
X-Sender:
[email protected]
To: Alligator Descartes <
[email protected]>
cc:
[email protected]
Subject: Re: Installing DBD (fwd)
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To all who have responded, I think a combination of everyones suggestions
have enabled it to finally compile without error!
MANY, MANY, MANY THANKS!!!
I do still get an error message after each query
(Bad free() ignored at /app2 line 23.), but it doesn't
appear to be affecting the way it displays thru the Netscape
browser, so no biggie. It works! Thats all that matters!
I've been working towards this goal (Netscape/oracle front
end) for over a year now. In a mere couple of days, with
everyone's help, I have accomplished my goal! Again, thanks!
Fine job on the apps (DBI and DBD)! You guys are the best!
Andre'
On Sat, 30 Mar 1996, Alligator Descartes wrote:
> Date: Sat, 30 Mar 1996 11:28:06 +0000 (GMT)
> From: Alligator Descartes <
[email protected]>
> To: Andre Doles <
[email protected]>
> Cc:
[email protected],
[email protected]
> Subject: Re: Installing DBD (fwd)
>
>
> > What does the below error message mean? How can I get DBD
> > compiled? Help appreciated as I'm extrememly anxious to get this working!
> >
> > Thanks in advance.
> >
> > Andre'
> > --
> > /web/oracle/lib/libcore.a(ldtpme.o)
> > lippnmr 0x1ec
> > /web/oracle/lib/libnlsrtl.a(lipp.o)
> > __cg92_used 0x0
> > /web/oracle/lib/libcore.a(lstrrj.o)
> > __cg92_used 0x0
> > /web/oracle/lib/libcore.a(lmfb24.o)
> > __cg92_used 0x0
> > /web/oracle/lib/libcore.a(lmf42b.o)
> > ld: fatal: relocations remain against allocatable but non-writable
> > sections
> > *** Error code 1
> > make: Fatal error: Command failed for target
> > `blib/arch/auto/DBD/Oracle/Oracle.so'
>
> If you're compiling Oracle applications with gcc on Solaris you need to
> link with a file called $ORACLE_HOME/lib/__fstd.o. If you compile with the
> SparcWorks compiler you need to add the command line option on -xcg92
> to resolve these symbol problems cleanly.
>
> Regards.
>
> --
> Alligator Descartes \\ Nexus - Multi-User Virtual Reality
> Anathematician //
http://www.hermetica.com/nexus
>
[email protected] \\ ** Java(TM) Powered! **
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14782-4@oink>;
Mon, 8 Apr 1996 07:12:08 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828743188:21957:1; Fri, 05 Apr 96 23:26:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21866; 5 Apr 96 23:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id OAA07314 for dbi-users-real; Fri, 5 Apr 1996 14:24:47 -0800
Precedence: junk
Sender:
[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 OAA07310
for <
[email protected]>; Fri, 5 Apr 1996 14:24:45 -0800
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id XAA11539; Fri, 5 Apr 1996 23:18:10 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: DBD 0.28 Build Problem (Solaris)
To:
[email protected] (Walzer, Jonathan)
Date: Fri, 5 Apr 1996 23:18:09 +0100 (BST)
Cc:
[email protected]
In-Reply-To: <
[email protected]> from "Walzer, Jonathan" at Apr 4, 96 02:03:00 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: 647
> But seriously, this is a very useful tool, so thanks to all involved!
> How far along is the ODBC version? Is it still in the formalizing
> stage? Also, is there anything online describing what's planned or
> being pondered (beyond the DBI readme) ?
See:
http://www.hermetica.com/technologia/DBI
for general news and stuff. Stuff generally goes out on dbi-announce, then
I tend to wrap it into those WWW pages when I get the time to.
Hope that helps.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14782-17@oink>;
Mon, 8 Apr 1996 07:14:39 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828826725:21713:2; Sat, 06 Apr 96 22:38:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21333; 6 Apr 96 22:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA08762 for dbi-users-real; Sat, 6 Apr 1996 13:26:06 -0800
Precedence: junk
Sender:
[email protected]
Received: from tripod.tripod.com (
[email protected] [204.213.242.8])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA08758
for <
[email protected]>; Sat, 6 Apr 1996 13:26:04 -0800
Received: (from jeff@localhost) by tripod.tripod.com (8.6.12/8.6.9) id QAA06064;
Sat, 6 Apr 1996 16:29:28 -0500
Date: Sat, 6 Apr 1996 16:29:28 -0500 (EST)
From: Le roi du balai <
[email protected]>
To:
[email protected]
Subject: DBD::Informix build modification
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
The build script caused me some grief that could have been avoided if I
had been cleverer, or if the following modifications had been included:
$ diff build.orig build
0a1,2
> #!/bin/sh
>
7c9
< echo "" >> Makefile.
---
> echo "" >> Makefile
The #!/bin/sh makes it easier on idiots like myself since there's no
longer any need to type 'sh build' to interpolate the environment
variables. Also note that I removed the period at the end of line 7. There
didn't seem to be any need for an empty 'Makefile.', and if I'm not
mistaken, the intent was to echo a newline into Makefile to delimit the
SUFFIXES rule.
Cheers,
Jeff Vander Clute
Tripod Tech
http://www.tripod.com/
"I am not a UNIX kernel, nor have I ever tried to be."
--Scott Barney, Informix Guru
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14859-1@oink>;
Mon, 8 Apr 1996 07:16:47 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828861704:22315:1; Sun, 07 Apr 96 08:21:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa22114; 7 Apr 96 8:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id XAA09349 for dbi-users-real; Sat, 6 Apr 1996 23:14:49 -0800
Precedence: junk
Sender:
[email protected]
Received: from bunyip.cc.uq.oz.au (
[email protected] [130.102.2.1])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA09345
for <
[email protected]>; Sat, 6 Apr 1996 23:14:40 -0800
Received: from bunyip.cc.uq.oz.au by bunyip.cc.uq.oz.au
id <
[email protected]>; Sun, 7 Apr 1996 17:14:39 +1000
Received: from saturn.mincom.oz.au by minbne.mincom.oz.au with SMTP
id AA23873 (5.65c/IDA-1.4.4 for
[email protected]);
Sun, 7 Apr 1996 17:17:00 +1000
Received: by saturn.mincom.oz.au id AA18329 (5.65c/IDA-1.4.4
for
[email protected]); Sun, 7 Apr 1996 17:13:09 +1000
From: Peter Golledge <
[email protected]>
Message-Id: <
[email protected]>
Subject: Bad free() warning message
To:
[email protected]
Date: Sun, 7 Apr 1996 17:13:09 +1000 (EST)
Cc:
[email protected]
X-Mailer: ELM [version 2.4 PL21]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 11649
DBI people,
After building DBD::Oracle (version 0.28) under HP-UX 9.04 I receive
warnings of the form: Bad free() ignored at test.pl line XXX where
line XXX is where the ora_logoff function is called.
The build was reasonably clean, the only change made was to correct
an include path in Makefile.pl (diff at the end of this mail). I
have included the output from the build along with the Perl -V
output. Any ideas on what is wrong?
Output from perl -V:
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=hpux, osver=9, archname=PA-RISC1.1
uname='hp-ux enisux02 a.09.04 e 9000887 480396261 8-user license '
hint=recommended, useposix=true
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include'
ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib/pa1.1 /lib /usr/lib
libs=-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
libc=/lib/libc.sl, so=sl
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=, ccdlflags='-Wl,-E '
cccdlflags='+z', lddlflags='-b -L/usr/local/lib'
@INC: /home/testuser/lib/perl5/PA-RISC1.1/5.002 /home/testuser/lib/perl5 /home/testuser/lib/perl5/site_perl/PA-RISC1.1 /home/testuser/lib/perl5/site_perl .
testuser@testhost> perl Makefile.PL LINKTYPE=static
Use of uninitialized value at Makefile.PL line 27.
Configuring DBD::Oracle -
Remember to actually read the README file!
Using Oracle in /oracle/v7016
Oracle sysliblist: -lcl -lm
Using /oracle/v7016/proc/lib/proc.mk version 7.27
Warning: forced to build static not dynamic on hpux
See README file for more information.
System: perl5.002 hp-ux testhost a.09.04 e 9000887 480396261 8-user license PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
CC: cc
CFLAGS: -I. -O -Aa
LDFLAGS: -Wl,-aarchive -L$(LIBHOME)
Checking if your kit is complete...
Looks good
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile for DBD::Oracle
testuser@testhost>
testuser@testhost> make
umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
./perl -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 /home/testuser/lib/perl5/ExtUtils/xsubpp -typemap /home/testuser/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
cc -c -I/oracle/v7016/rdbms/demo -I/home/testuser/lib/perl5/site_perl/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" +z -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE Oracle.c
cc -c -I/oracle/v7016/rdbms/demo -I/home/testuser/lib/perl5/site_perl/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" +z -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE dbdimp.c
ar cr ./blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o dbdimp.o && : ./blib/arch/auto/DBD/Oracle/Oracle.a
chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.a
Manifying ./blib/man3/DBD::Oraperl.3
testuser@testhost> make test
ar cr ./blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o dbdimp.o && : ./blib/arch/auto/DBD/Oracle/Oracle.a
chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.a
Writing "Makefile.aperl" for this perl
Use of uninitialized value at Makefile.PL line 27.
Configuring DBD::Oracle version ...
Remember to actually read the README file!
Using Oracle in /oracle/v7016
Oracle sysliblist: -lcl -lm
Using /oracle/v7016/proc/lib/proc.mk version 7.27
Warning: forced to build static not dynamic on hpux
See README file for more information.
System: perl5.002 hp-ux testhost a.09.04 e 9000887 480396261 8-user license PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
CC: cc
CFLAGS: -I. -O -Aa
LDFLAGS: -Wl,-aarchive -L$(LIBHOME)
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile.aperl for DBD::Oracle
make -f Makefile.aperl static perl
umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
Writing ./perlmain.c
cd . && cc -c -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"0.28\" -DXS_VERSION=\"0.28\" -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE perlmain.c
cat ./blib/arch/auto/DBD/Oracle/extralibs.ld >> ./blib/arch/auto/DBD/Oracle/extralibs.all
cat /home/testuser/lib/perl5/PA-RISC1.1/5.002/auto/DynaLoader/extralibs.ld >> ./blib/arch/auto/DBD/Oracle/extralibs.all
cat /home/testuser/lib/perl5/site_perl/PA-RISC1.1/auto/DBI/extralibs.ld >> ./blib/arch/auto/DBD/Oracle/extralibs.all
cc -L/usr/local/lib -Wl,-E -o perl ./perlmain.o /home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE/libperl.a /home/testuser/lib/perl5/site_perl/PA-RISC1.1/auto/DBI/DBI.a /home/testuser/lib/perl5/PA-RISC1.1/5.002/auto/DynaLoader/DynaLoader.a ./blib/arch/auto/DBD/Oracle/Oracle.a `cat ./blib/arch/auto/DBD/Oracle/extralibs.all` -lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
To install the new "perl" binary, call
make -f Makefile.aperl inst_perl MAP_TARGET=perl
To remove the intermediate files say
make -f Makefile.aperl map_clean
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=2, Tests=6, 1 secs ( 0.43 cusr 0.32 csys = 0.75 cpu)
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 test.pl
Oraperl test application $Revision: 1.19 $
Oraperl Emulation Interface version 1.23
Oracle Driver 0.28
DBI-0.68 Switch by Tim Bunce, version 0.68
Connecting
to '' (from command line, else uses ORACLE_SID/TWO_TASK)
as 'foo/foo' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields: 4
Names: 'NUM_T', 'DATE_T', 'CHAR_T', 'NULL_T'
Lengths: '40', '75', '30', '0'
Types: '2', '12', '1', '1'
Data rows:
fetch: 79.2 06-APR-96 MIMSADM NULL
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...
Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.
Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.
Test complete (1 seconds).
Ouput from perl -V:
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=hpux, osver=9, archname=PA-RISC1.1
uname='hp-ux enisux02 a.09.04 e 9000887 480396261 8-user license '
hint=recommended, useposix=true
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-D_HPUX_SOURCE -Aa -I/usr/local/include'
ccflags ='-D_HPUX_SOURCE -Aa -I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib/pa1.1 /lib /usr/lib
libs=-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
libc=/lib/libc.sl, so=sl
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=, ccdlflags='-Wl,-E '
cccdlflags='+z', lddlflags='-b -L/usr/local/lib'
@INC: /home/testuser/lib/perl5/PA-RISC1.1/5.002 /home/testuser/lib/perl5 /home/testuser/lib/perl5/site_perl/PA-RISC1.1 /home/testuser/lib/perl5/site_perl .
make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
t/main..............t/main.t
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
All tests successful.
Files=2, Tests=6, 1 secs ( 0.42 cusr 0.31 csys = 0.73 cpu)
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 test.pl
Oraperl test application $Revision: 1.19 $
Oraperl Emulation Interface version 1.23
Oracle Driver 0.28
DBI-0.68 Switch by Tim Bunce, version 0.68
Connecting
to '' (from command line, else uses ORACLE_SID/TWO_TASK)
as 'foo/foo' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields: 4
Names: 'NUM_T', 'DATE_T', 'CHAR_T', 'NULL_T'
Lengths: '40', '75', '30', '0'
Types: '2', '12', '1', '1'
Data rows:
fetch: 79.2 06-APR-96 MIMSADM NULL
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...
Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.
Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.
Test complete (1 seconds).
Diff of changes made to Makefile.PL:
*** Makefile.PL- Sat Apr 6 22:56:37 1996
--- Makefile.PL Sat Apr 6 23:23:34 1996
***************
*** 66,76 ****
print "Using $oraclemk version $MK{mkver}\n";
-
my $OCIINCLUDE = $MK{INCLUDE} || '';
$opts{LIBS} = [ $sysliblist ];
! $opts{INC} = "$OCIINCLUDE -I$OH/rdbms/demo -I$Config{archlibexp}/DBI";
$opts{dynamic_lib} = { OTHERLDFLAGS => '-L$(LIBHOME) $(COMPOBJS) '.$linkwith };
$opts{OBJECT} = '$(O_FILES)';
--- 66,75 ----
print "Using $oraclemk version $MK{mkver}\n";
my $OCIINCLUDE = $MK{INCLUDE} || '';
$opts{LIBS} = [ $sysliblist ];
! $opts{INC} = "$OCIINCLUDE -I$OH/rdbms/demo -I$Config{sitearchexp}/DBI";
$opts{dynamic_lib} = { OTHERLDFLAGS => '-L$(LIBHOME) $(COMPOBJS) '.$linkwith };
$opts{OBJECT} = '$(O_FILES)';
--
Peter Golledge
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14782-30@oink>;
Mon, 8 Apr 1996 07:18:12 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828891743:27825:1; Sun, 07 Apr 96 16:42:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa27757; 7 Apr 96 16:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA09738 for dbi-users-real; Sun, 7 Apr 1996 08:39:20 -0700
Precedence: junk
Sender:
[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 IAA09734
for <
[email protected]>; Sun, 7 Apr 1996 08:39:19 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id QAA03365 for
[email protected]; Sun, 7 Apr 1996 16:33:09 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Searchable mailing lists archive
To:
[email protected]
Date: Sun, 7 Apr 1996 16:33:08 +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: 390
The DBI mailing lists archive held at Hermetica is now searchable.
See:
http://www.hermetica.com/search.html
for the interface doo-dad. You'll need a forms capable browser and all that
for it to work.
Regards.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14671-53@oink>;
Mon, 8 Apr 1996 07:17:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828887975:25364:1; Sun, 07 Apr 96 15:39:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24868; 7 Apr 96 15:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id HAA09673 for dbi-users-real; Sun, 7 Apr 1996 07:33:59 -0700
Precedence: junk
Sender:
[email protected]
Received: from amunro.demon.co.uk (amunro.demon.co.uk [158.152.56.140])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id HAA09669
for <
[email protected]>; Sun, 7 Apr 1996 07:33:54 -0700
Received: by localhost
from amunro.demon.co.uk (router,WinSmtp -Win32- V1.07beta1.3.s(unregistered));
Sun, 07 Apr 1996 15:35:08
Received: from amunro.demon.co.uk
by amunro.demon.co.uk (158.152.56.140::mail daemon,WinSmtp -Win32- V1.07beta1.3.s);
Sun, 07 Apr 1996 15:34:14
Received: by amunro.demon.co.uk with Microsoft Mail
id <
[email protected]>;
Sun, 7 Apr 1996 15:34:11 +-100
Message-ID: <
[email protected]>
From: Alastair Munro <
[email protected]>
To: "'
[email protected]'" <
[email protected]>
Subject: FW: Bad free() warning message
Date: Sun, 7 Apr 1996 15:34:07 +-100
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-MailDaemon: <WinSmtp -Win32- V1.07beta1.3.s(unregistered)>
Dear all,
We get exactly the same problem on Digital Unix V3.2c systems. The =
problem does not appear to affect functionality, its just an annoying =
message.=20
Other than that, we are extremely pleased with Oraperl/DBD/DBI, and we =
are beginning to use it extensivly. Thanks to those who have done all =
the good work.
Alastair Munro
Unix Administrator/Oracle DBA
Videotron Communications PLC
----------
From: Peter Golledge[SMTP:
[email protected]]
Sent: 07 April 1996 18:13 PM
To:
[email protected]
Cc:
[email protected]
Subject: Bad free() warning message
DBI people,
After building DBD::Oracle (version 0.28) under HP-UX 9.04 I receive
warnings of the form: Bad free() ignored at test.pl line XXX where
line XXX is where the ora_logoff function is called.
The build was reasonably clean, the only change made was to correct
an include path in Makefile.pl (diff at the end of this mail). I
have included the output from the build along with the Perl -V
output. Any ideas on what is wrong?
Output from perl -V:
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=3Dhpux, osver=3D9, archname=3DPA-RISC1.1
uname=3D'hp-ux enisux02 a.09.04 e 9000887 480396261 8-user license '
hint=3Drecommended, useposix=3Dtrue=20
Compiler:
cc=3D'cc', optimize=3D'-O', gccversion=3D
cppflags=3D'-D_HPUX_SOURCE -Aa -I/usr/local/include'
ccflags =3D'-D_HPUX_SOURCE -Aa -I/usr/local/include'
stdchar=3D'unsigned char', d_stdstdio=3Ddefine, usevfork=3Dfalse
voidflags=3D15, castflags=3D0, d_casti32=3D, d_castneg=3Ddefine
intsize=3D4, alignbytes=3D8, usemymalloc=3Dy, randbits=3D15
Linker and Libraries:
ld=3D'ld', ldflags =3D' -L/usr/local/lib'
libpth=3D/usr/local/lib /lib/pa1.1 /lib /usr/lib
libs=3D-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
libc=3D/lib/libc.sl, so=3Dsl
Dynamic Linking:
dlsrc=3Ddl_hpux.xs, dlext=3Dsl, d_dlsymun=3D, ccdlflags=3D'-Wl,-E '
cccdlflags=3D'+z', lddlflags=3D'-b -L/usr/local/lib'
@INC: /home/testuser/lib/perl5/PA-RISC1.1/5.002 /home/testuser/lib/perl5 =
/home/testuser/lib/perl5/site_perl/PA-RISC1.1 =
/home/testuser/lib/perl5/site_perl .
testuser@testhost> perl Makefile.PL LINKTYPE=3Dstatic
Use of uninitialized value at Makefile.PL line 27.
Configuring DBD::Oracle -
Remember to actually read the README file!
Using Oracle in /oracle/v7016
Oracle sysliblist: -lcl -lm
Using /oracle/v7016/proc/lib/proc.mk version 7.27
Warning: forced to build static not dynamic on hpux
See README file for more information.
System: perl5.002 hp-ux testhost a.09.04 e 9000887 480396261 8-user =
license PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
CC: cc
CFLAGS: -I. -O -Aa
LDFLAGS: -Wl,-aarchive -L$(LIBHOME)
Checking if your kit is complete...
Looks good
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile for DBD::Oracle
testuser@testhost>=20
testuser@testhost> make
umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
./perl -I/home/testuser/lib/perl5/PA-RISC1.1/5.002 =
-I/home/testuser/lib/perl5 /home/testuser/lib/perl5/ExtUtils/xsubpp =
-typemap /home/testuser/lib/perl5/ExtUtils/typemap Oracle.xs >Oracle.tc =
&& mv Oracle.tc Oracle.c
cc -c -I/oracle/v7016/rdbms/demo =
-I/home/testuser/lib/perl5/site_perl/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa =
-I/usr/local/include -O -DVERSION=3D\"0.28\" -DXS_VERSION=3D\"0.28\" +z =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE Oracle.c
cc -c -I/oracle/v7016/rdbms/demo =
-I/home/testuser/lib/perl5/site_perl/PA-RISC1.1/DBI -D_HPUX_SOURCE -Aa =
-I/usr/local/include -O -DVERSION=3D\"0.28\" -DXS_VERSION=3D\"0.28\" +z =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE dbdimp.c
ar cr ./blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o dbdimp.o && : =
/blib/arch/auto/DBD/Oracle/Oracle.a
chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.a
Manifying ./blib/man3/DBD::Oraperl.3
testuser@testhost> make test
ar cr ./blib/arch/auto/DBD/Oracle/Oracle.a Oracle.o dbdimp.o && : =
/blib/arch/auto/DBD/Oracle/Oracle.a
chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.a
Writing "Makefile.aperl" for this perl
Use of uninitialized value at Makefile.PL line 27.
Configuring DBD::Oracle version ...
Remember to actually read the README file!
Using Oracle in /oracle/v7016
Oracle sysliblist: -lcl -lm
Using /oracle/v7016/proc/lib/proc.mk version 7.27
Warning: forced to build static not dynamic on hpux
See README file for more information.
System: perl5.002 hp-ux testhost a.09.04 e 9000887 480396261 8-user =
license PA-RISC1.1 dl_hpux.xs
Compiler: cc -O -D_HPUX_SOURCE -Aa -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
CC: cc
CFLAGS: -I. -O -Aa
LDFLAGS: -Wl,-aarchive -L$(LIBHOME)
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile.aperl for DBD::Oracle
make -f Makefile.aperl static perl
umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
Writing ./perlmain.c
cd . && cc -c -I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE =
-D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=3D\"0.28\" =
-DXS_VERSION=3D\"0.28\" =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE perlmain.c
cat ./blib/arch/auto/DBD/Oracle/extralibs.ld >> =
/blib/arch/auto/DBD/Oracle/extralibs.all
cat =
/home/testuser/lib/perl5/PA-RISC1.1/5.002/auto/DynaLoader/extralibs.ld =
>> ./blib/arch/auto/DBD/Oracle/extralibs.all
cat /home/testuser/lib/perl5/site_perl/PA-RISC1.1/auto/DBI/extralibs.ld =
>> ./blib/arch/auto/DBD/Oracle/extralibs.all
cc -L/usr/local/lib -Wl,-E -o perl ./perlmain.o =
/home/testuser/lib/perl5/PA-RISC1.1/5.002/CORE/libperl.a =
/home/testuser/lib/perl5/site_perl/PA-RISC1.1/auto/DBI/DBI.a =
/home/testuser/lib/perl5/PA-RISC1.1/5.002/auto/DynaLoader/DynaLoader.a =
/blib/arch/auto/DBD/Oracle/Oracle.a `cat =
/blib/arch/auto/DBD/Oracle/extralibs.all` -lnet -lnsl_s -lndbm -ldld =
-lm -lc -lndir -lcrypt=20
To install the new "perl" binary, call
make -f Makefile.aperl inst_perl MAP_TARGET=3Dperl
To remove the intermediate files say
make -f Makefile.aperl map_clean
PERL_DL_NONLAZY=3D1 ./perl -I./blib/arch -I./blib/lib =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 =
-e 'use Test::Harness qw(&runtests $verbose); $verbose=3D0; runtests =
@ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=3D2, Tests=3D6, 1 secs ( 0.43 cusr 0.32 csys =3D 0.75 cpu)
PERL_DL_NONLAZY=3D1 ./perl -I./blib/arch -I./blib/lib =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 =
test.pl
Oraperl test application $Revision: 1.19 $
Oraperl Emulation Interface version 1.23=20
Oracle Driver 0.28
DBI-0.68 Switch by Tim Bunce, version 0.68
Connecting
to '' (from command line, else uses ORACLE_SID/TWO_TASK)
as 'foo/foo' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields: 4
Names: 'NUM_T', 'DATE_T', 'CHAR_T', 'NULL_T'
Lengths: '40', '75', '30', '0'
Types: '2', '12', '1', '1'
Data rows:
fetch: 79.2 06-APR-96 MIMSADM NULL
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read =
only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of =
transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...
Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.
Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.
Test complete (1 seconds).
Ouput from perl -V:
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=3Dhpux, osver=3D9, archname=3DPA-RISC1.1
uname=3D'hp-ux enisux02 a.09.04 e 9000887 480396261 8-user license '
hint=3Drecommended, useposix=3Dtrue=20
Compiler:
cc=3D'cc', optimize=3D'-O', gccversion=3D
cppflags=3D'-D_HPUX_SOURCE -Aa -I/usr/local/include'
ccflags =3D'-D_HPUX_SOURCE -Aa -I/usr/local/include'
stdchar=3D'unsigned char', d_stdstdio=3Ddefine, usevfork=3Dfalse
voidflags=3D15, castflags=3D0, d_casti32=3D, d_castneg=3Ddefine
intsize=3D4, alignbytes=3D8, usemymalloc=3Dy, randbits=3D15
Linker and Libraries:
ld=3D'ld', ldflags =3D' -L/usr/local/lib'
libpth=3D/usr/local/lib /lib/pa1.1 /lib /usr/lib
libs=3D-lnet -lnsl_s -lndbm -ldld -lm -lc -lndir -lcrypt
libc=3D/lib/libc.sl, so=3Dsl
Dynamic Linking:
dlsrc=3Ddl_hpux.xs, dlext=3Dsl, d_dlsymun=3D, ccdlflags=3D'-Wl,-E '
cccdlflags=3D'+z', lddlflags=3D'-b -L/usr/local/lib'
@INC: /home/testuser/lib/perl5/PA-RISC1.1/5.002 /home/testuser/lib/perl5 =
/home/testuser/lib/perl5/site_perl/PA-RISC1.1 =
/home/testuser/lib/perl5/site_perl .
make test TEST_VERBOSE=3D1
PERL_DL_NONLAZY=3D1 ./perl -I./blib/arch -I./blib/lib =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 =
-e 'use Test::Harness qw(&runtests $verbose); $verbose=3D1; runtests =
@ARGV;' t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
t/main..............t/main.t=20
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
All tests successful.
Files=3D2, Tests=3D6, 1 secs ( 0.42 cusr 0.31 csys =3D 0.73 cpu)
PERL_DL_NONLAZY=3D1 ./perl -I./blib/arch -I./blib/lib =
-I/home/testuser/lib/perl5/PA-RISC1.1/5.002 -I/home/testuser/lib/perl5 =
\n";
=20
my $OCIINCLUDE =3D $MK{INCLUDE} || '';
=20
$opts{LIBS} =3D [ $sysliblist ];
! $opts{INC} =3D "$OCIINCLUDE -I$OH/rdbms/demo =
-I$Config{sitearchexp}/DBI";
$opts{dynamic_lib} =3D { OTHERLDFLAGS =3D> '-L$(LIBHOME) $(COMPOBJS) =
'.$linkwith };
$opts{OBJECT} =3D '$(O_FILES)';
=20
--=20
Peter Golledge=20
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14782-31@oink>;
Mon, 8 Apr 1996 07:18:26 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828894024:17157:1; Sun, 07 Apr 96 17:20:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa16961; 7 Apr 96 17:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA09779 for dbi-users-real; Sun, 7 Apr 1996 09:17:28 -0700
Precedence: junk
Sender:
[email protected]
Received: from mail1.is.net (
[email protected] [198.69.24.4])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA09775
for <
[email protected]>; Sun, 7 Apr 1996 09:17:26 -0700
Received: from stimpy.encompass.is.net ([204.180.18.228])
by mail1.is.net (8.6.11/8.6.12) with SMTP id LAA09155
for <
[email protected]>; Sun, 7 Apr 1996 11:13:54 -0500
Message-Id: <1.5.4b12.32.19960407161543.00699c64@yakko>
X-Sender: terry@yakko
X-Mailer: Windows Eudora Light Version 1.5.4b12 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 07 Apr 1996 12:15:43 -0400
To:
[email protected]
From: Terry Greenlaw <
[email protected]>
Subject: Re: FW: Bad free() warning message
At 03:34 PM 4/7/96 +-100, you wrote:
>
>Dear all,
>
>We get exactly the same problem on Digital Unix V3.2c systems. The problem
does not appear to affect functionality, its just an annoying message.
>
>Other than that, we are extremely pleased with Oraperl/DBD/DBI, and we are
beginning to use it extensivly. Thanks to those who have done all the good work.
>
>Alastair Munro
>Unix Administrator/Oracle DBA
>Videotron Communications PLC
>
One solution is to add the line
close STDERR;
before logging off of Oracle.
It appears to be a memory leak in OCI routines that Oracle hasn't tracked
down yet.
tog
Terry Greenlaw
[email protected]
Encompass Technologies
http://www.encompass.is.net
(770) 591-8903
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14859-16@oink>;
Mon, 8 Apr 1996 07:21:05 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 828940477:12127:1; Mon, 08 Apr 96 06:14:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa11964; 8 Apr 96 6:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id WAA10453 for dbi-users-real; Sun, 7 Apr 1996 22:04:12 -0700
Precedence: junk
Sender:
[email protected]
Received: from tripod.tripod.com (
[email protected] [204.213.242.8])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA10449
for <
[email protected]>; Sun, 7 Apr 1996 22:04:10 -0700
Received: (from jeff@localhost) by tripod.tripod.com (8.6.12/8.6.9) id BAA12638;
Mon, 8 Apr 1996 01:07:41 -0400
Date: Mon, 8 Apr 1996 01:07:41 -0400 (EDT)
From: Le roi du balai <
[email protected]>
To:
[email protected]
Subject: How to make DBI Informix-0.20pl0 happy (fwd)
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Howdy all,
After much diligence, my pet gcc guru finally succeeded in compiling the
limited hacker release of the Informix driver. I've attached his comments
after the relevant version information.
INFORMIX-ESQL Version 7.12.UC1
INFORMIX-OnLine Version 7.12.UC1
perl version 5.002
SparcStation (20) running Solaris 2.5
DBI-0.68
Salut,
Jeff Vander Clute
Tripod Tech
http://www.tripod.com/
"I am not a UNIX kernel, nor have I ever tried to be."
--Scott Barney, Informix Guru
---------- Forwarded message ----------
Date: Mon, 8 Apr 1996 00:11:55 -0400 (EDT)
From: Nathan J Kurz <
[email protected]>
To: Le roi du balai <
[email protected]>
Cc:
[email protected]
Subject: How to make DBI Informix-0.20pl0 happy
Jeff --
(cc'd to
[email protected] --
I saw your plea for help with the module. Hope this helps you.)
Yikes! When he said 'Limited hacker release' he meant it!!!
Well, I think I finally have the Informix DBI just about
working -- at least well enough to pass it on to you.
Here's a (partial) list of what needed to be done to get it
up:
First problems were with the 'build' script. Two changes
were required:
1) Make the first line "#!/bin/sh" so bash doesn't try to
run it!
2) Change "Makefile." to read "Makefile" (typo)
Most of the changes happened with Makefile.PL:
1) Add '/usr/informix' (case) to the list of directories to
check for Informix.
2) There were references to $(INFORMIXDIR) and $(ID). The
references to $(INFORMIXDIR) should be changed to refer to
$(ID).
3) Include files for esql are kept in $ID/incl/esql --
change $opts{INC} to agree.
4) Have to add in '-lasf' to the libraries to be linked in.
Order is very important. I changed $sysliblist to be:
"-L$ID/lib -L$ID/lib/esql -lsql -lasf -lgen -los -lm"
If you are getting a symbol not found for 'ASF_Call'
libasf.a is not being found. If you start getting other
symbol not found errors (like _oschinternet) the libraries
are being loaded in the wrong order.
5) $opts{macro} needs to be changed. $ID should be in
double quotes, not single.
6) A number of other small rearrangments. I moved stuff
around so it made a little more sense. I can't remember all
of what I did, so here is what I ended up with for the guts
of Makefile.pl:
-------------------------------------------------------------
warn "Warning: Informix library does not appear to be installed.\n"
unless -f "$ID/lib/esql/libgen.a"
and -f "$ID/lib/esql/libos.a"
and -f "$ID/lib/esql/libsql.a";
if ( $Config{osname} eq 'solaris' ) {
$linkwith = "-R$ID/lib";
} else {
$linkwith = "";
}
$sysliblist = "-L$ID/lib -L$ID/lib/esql -lsql -lasf -lgen -los -lm";
# The order of these libraries is very important!!!!
print "Informix sysliblist: $sysliblist\n";
$opts{LIBS} = [ $sysliblist ];
$opts{INC} = "-I$ID/incl/esql -I$Config{archlib}/DBI";
$opts{dynamic_lib} = { OTHERLDFLAGS => $linkwith };
$opts{OBJECT} = '$(O_FILES) dbdimp.o';
$opts{macro} = { 'ESQL_LIB' => "$ID/incl/esql" };
----------------------------------------------------------------
Making these changes should get you far enough to get a new
error message, "Version mismatch" in module DBI. Edit
Informix.pm so that the line about the version reads:
$VERSION = substr(q$Revision: 0.20pl0$, 10);
After that, you should be almost ready to roll. Then just
change mSQLtest.pl to use Informix instead of mSQL:
my( $driver ) = 'Informix';
Run it, and with any luck you'll get an Informix error
message -- which is a lot farther than I was this morning.
At least I learned a lot about ld...
have fun!
--nate
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <21706-1@oink>;
Tue, 9 Apr 1996 07:06:13 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 828984399:16438:2; Mon, 08 Apr 96 18:26:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa16172; 8 Apr 96 18:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA11056 for dbi-users-real; Mon, 8 Apr 1996 10:13:08 -0700
Precedence: junk
Sender:
[email protected]
Received: from skorpio3.usask.ca (skorpio3.usask.ca [128.233.128.56])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA11052
for <
[email protected]>; Mon, 8 Apr 1996 10:12:27 -0700
Received: (from jrt128@localhost) by skorpio3.usask.ca (8.6.12/8.6.9)
id LAA12641 for
[email protected]; Mon, 8 Apr 1996 11:12:47 -0600
From: Judi Thomson <
[email protected]>
Message-Id: <
[email protected]>
Subject: DBI and NT
To:
[email protected]
Date: Mon, 8 Apr 1996 11:12:46 -0600 (CST)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 515
(newbie warning)...
I have looked through the mailing list archive and any FAQs I
could find but didn't find any answers.
I'd like to interface perl on my NT machine with the DBI. I don't
really care which database module at this point, I just want to get it
working.
Has anyone done this already? Are there changes I need to make to
the DBI or to the database module I choose? Are there interfaces to "PCish"
databases such as Foxpro, Access, Paradox...?
Thanks for any help you can give.
Judi Thomson
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24404-5@oink>;
Tue, 9 Apr 1996 12:21:46 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829047426:27039:1; Tue, 09 Apr 96 11:57:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa26587; 9 Apr 96 11:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA13198 for dbi-users-real; Tue, 9 Apr 1996 03:32:21 -0700
Precedence: junk
Sender:
[email protected]
Received: from bme.inje.ac.kr (bme.inje.ac.kr [203.241.225.11])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA13194
for <
[email protected]>; Tue, 9 Apr 1996 03:32:15 -0700
Received: from Genius.inje.ac.kr ([203.241.225.54])
by bme.inje.ac.kr (8.6.12h2/8.6.9) with SMTP id TAA18656
for <
[email protected]>; Tue, 9 Apr 1996 19:33:31 +0900
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, 10 Apr 1996 19:32:17 +0900
To:
[email protected]
From: Chang Hoon Ji <
[email protected]>
unsubscribe
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26162-0@oink>;
Tue, 9 Apr 1996 15:50:48 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829060543:29290:2; Tue, 09 Apr 96 15:35:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa28655; 9 Apr 96 15:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id HAA13411 for dbi-users-real; Tue, 9 Apr 1996 07:27:38 -0700
Precedence: junk
Sender:
[email protected]
Received: from mns.bt.co.uk (fringe.mns.bt.co.uk [194.72.129.162])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA13407
for <
[email protected]>; Tue, 9 Apr 1996 07:27:36 -0700
Received: by fringe.mns.bt.co.uk via suspension id <20737>;
Tue, 9 Apr 1996 15:20:54 +0100
Received: by fringe.mns.bt.co.uk id <20749>; Tue, 9 Apr 1996 12:47:57 +0100
X-Sender:
[email protected]
X-Mailer: Windows Eudora Light Version 1.5.4 (16)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 9 Apr 1996 12:54:47 +0100
To:
[email protected]
From: Bill Parker <
[email protected]>
Subject: unsuscribe
Message-Id: <
[email protected]>
unsuscribe
Boggies are an unattractive but annoying people whose numbers have
decreased rather precipitously since the bottom fell out of the
fairy-tale market. Slow and sullen, and yet dull, they prefer to
live simple lives of pastoral squalor. Bored of the Rings.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26795-3@oink>;
Tue, 9 Apr 1996 17:02:42 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829064710:29094:3; Tue, 09 Apr 96 16:45:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa28639; 9 Apr 96 16:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA13495 for dbi-users-real; Tue, 9 Apr 1996 08:39:28 -0700
Precedence: junk
Sender:
[email protected]
Received: from shark.amtrak.co.uk ([193.132.100.3])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA13491
for <
[email protected]>; Tue, 9 Apr 1996 08:39:08 -0700
Received: from lion.amtrak.co.uk (root@[192.9.201.1])
by shark.amtrak.co.uk (8.7.3/8.7.3) with SMTP id QAA04291
for <
[email protected]>; Tue, 9 Apr 1996 16:41:17 +0100 (BST)
Received: from redwood by lion.amtrak.co.uk (5.x/SMI-SVR4) id AA07318;
Tue, 9 Apr 1996 16:39:18 +0100
To: Dbi_Users:;
From: Simon Windsor <
[email protected]>
Cc:
[email protected]
Subject: Problems with lookup
X-Originating-Host: redwood
Message-Id: <1996Apr09.164513+0000@redwood>
Date: 09 Apr 1996 16:45:12 +0000
Mime-Version: 1.0
X-Mailer: Hummingbird EMail for Windows Version 5.0
Hi
I have been using perl5 with the DBI(0.68) and DBD-Oracle(0.28) for
several weeks now without any problems. However, today I have noticed
the following:-
#!/usr/local/bin/perl5 -w
use DBI;
$drh = DBI->install_driver( 'Oracle' );
$dbh = $drh->connect( '', '/', '' );
die unless $dbh;
# Get Max Id
#-------------A------------
$MaxID = $dbh->lookup( "select max(id) from fuel_works");
#--------------------------
#-------------B------------
$cursor = $dbh->prepare( "select max(id) from fuel_works");
$cursor->execute;
$MaxID = $cursor->fetchrow;
$cursor->finish;
#--------------------------
print STDOUT "Max ID is ".$MaxID."\n";
$dbh->disconnect;
exit;
According to the DBI documentation, the lookup function can be used
for single selects, but code option A gives me the following error
message
Can't locate object method "lookup" via package "DBI::db" at lookup
line 11.
Option B however works, giving me the correct answer.
Has the lookup function been implemented, or am I doing something
silly?
Simon Windsor
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00621-11@oink>;
Wed, 10 Apr 1996 03:16:25 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829098428:02229:0; Wed, 10 Apr 96 02:07:08 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa01782; 10 Apr 96 2:05 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa20328; 10 Apr 96 2:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA14108 for dbi-users-real; Tue, 9 Apr 1996 12:31:38 -0700
Precedence: junk
Sender:
[email protected]
Received: from uswgco2.uswc.uswest.com (uswgco2.uswest.com [206.196.133.74])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA14104
for <
[email protected]>; Tue, 9 Apr 1996 12:31:33 -0700
Received: (from smap@localhost) by uswgco2.uswc.uswest.com (8.7.1/8.7.1)
id NAA22690 for <
[email protected]>;
Tue, 9 Apr 1996 13:31:26 -0600 (MDT)
Received: from egate.mnet.uswest.com(151.116.23.138) by uswgco2.uswc.uswest.com
via smap (V1.3) id sma022683; Tue Apr 9 13:31:24 1996
Received: from smokey.ecte.uswc.uswest.com (smokey.ecte.uswc.uswest.com [151.116.109.68])
by egate.mnet.uswest.com (8.7.1/8.7.1) with ESMTP id NAA25489
for <
[email protected]>; Tue, 9 Apr 1996 13:31:20 -0600 (MDT)
Received: from jannu.ecte.uswc.uswest.com (jannu [151.116.138.124])
by smokey.ecte.uswc.uswest.com (8.6.11/uswc-hub.950320) with ESMTP
id NAA28353 for <
[email protected]>; Tue, 9 Apr 1996 13:31:19 -0600
Received: from jannu (localhost.ecte.uswc.uswest.com)
by jannu.ecte.uswc.uswest.com (1.39.111.2/uswc-hpux9.05-server.950106)
with SMTP id AA267278338; Tue, 9 Apr 1996 13:32:18 -0600
Message-Id: <
[email protected]>
Date: Tue, 09 Apr 96 13:32:18 -0600
From: Pat Hosokawa <
[email protected]>
X-Mailer: Mozilla 1.1N (X11; I; HP-UX B.10.01 9000/867)
Mime-Version: 1.0
To:
[email protected]
Subject: (no subject)
X-Url:
http://www.hermetica.com/technologia/DBI/doc/faq.html#q14
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
I'm getting the following error
Can't load module DBI, dynamic loading not available in this perl.
(You may need to build a new perl executable which either supports
dynamic loading or has the DBI module statically linked into it.)
at /opt/perl5/lib/site_perl/DBI.pm line 32
BEGIN failed--compilation aborted at DBI_Query.pl line 5.
I'm compiling on an HP platform, the script DBI_Query.pl is copied from the
sample query on Hermetica, line 5 reads simply
use DBI;
The message itself seems simple enough, but I'm not sure what to do to build
a perl executable which supports dynamic loading.
I remember seeing something about this on the mailing list, but I was a
bonehead
and didn't save it, if someone could help me with this off-line or point me
to an archive for the DBI-mailing list I would be eternally grateful.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01283-3@oink>;
Wed, 10 Apr 1996 04:34:17 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829103951:07129:1; Wed, 10 Apr 96 03:39:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa06859; 10 Apr 96 3:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA15129 for dbi-users-real; Tue, 9 Apr 1996 19:31:18 -0700
Precedence: junk
Sender:
[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 TAA15124
for <
[email protected]>; Tue, 9 Apr 1996 19:31:13 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id aa03097; 10 Apr 96 2:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aj03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27219-0@oink>;
Tue, 9 Apr 1996 18:33:56 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06779;
Tue, 9 Apr 1996 18:33:50 +0000
Date: Tue, 9 Apr 1996 18:33:50 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Q: Web & DBI Interface - connect/disconnect
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 834
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Alligator Descartes <
[email protected]>
>
> > We've successfully put together a web-based system that interfaces
> > with Oracle thanks to DBI!
> >
> > Now, I was wondering if a user clicks "STOP" on their web browser
> > while a DB process is underway will the DB connection close properly
> > or do we need to trap this condition and issue a disconnect???
> >
> > If the later needs to be done, how? Examples would be great.
> >
> > We're using perl 5.002 & Netsite.
>
> The httpd should issue a SIGKILL to an interrupted CGI process,
Are you sure? Sending KILL first seems _very_ antisocial.
A HUP first with a KILL later if not dead would be more normal.
> and,
> provided you haven't overriden the signal handler, it should terminate
> the process cleanly.
You can't catch SIGKILL. It's always fatal.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01283-5@oink>;
Wed, 10 Apr 1996 04:34:27 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829104023:07472:1; Wed, 10 Apr 96 03:40:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa07162; 10 Apr 96 3:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA15116 for dbi-users-real; Tue, 9 Apr 1996 19:31:04 -0700
Precedence: junk
Sender:
[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 TAA15112
for <
[email protected]>; Tue, 9 Apr 1996 19:31:01 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id aa02856; 10 Apr 96 2:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27088-0@oink>;
Tue, 9 Apr 1996 17:22:32 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06608;
Tue, 9 Apr 1996 17:22:12 +0000
Date: Tue, 9 Apr 1996 17:22:12 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBI-0.68 problems
X-Sun-Charset: US-ASCII
content-length: 1024
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Joe Kirby <
[email protected]>
>
> I suspect the following is a faq, but I haven't been able to find one, so
> here goes:
>
> the test fail with complaints about "strict refs"
>
> PERL_DL_NONLAZY=1 /bin/perl -I./blib/i486-linux -I./blib -I/usr/lib/perl5/i486-linux/5.002 -I/usr/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/min...............Can't use string ("ENV") as a HASH ref while "strict refs" in use at blib/DBI.pm line 29.
> Can't use string ("DBI::dbi_debug") as a SCALAR ref while "strict refs" in use at blib/DBI.pm line 124.
I've not seen this problem before. Because of that I can be pretty sure
that it's local to you and not a problem with the DBI module itself.
The lines in my DBI/pm file are:
27 use strict;
28
29 $DBI::dbi_debug = $ENV{PERL_DBI_DEBUG} || 0;
123 END {
124 warn "DBI::END\n" if $DBI::dbi_debug;
and they've work fine for many many other people.
I suspect your perl and/or perl library is unwell.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01282-7@oink>;
Wed, 10 Apr 1996 04:34:32 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829103883:26245:2; Wed, 10 Apr 96 03:38:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26077; 10 Apr 96 3:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA15141 for dbi-users-real; Tue, 9 Apr 1996 19:31:25 -0700
Precedence: junk
Sender:
[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 TAA15134
for <
[email protected]>; Tue, 9 Apr 1996 19:31:22 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ah02900; 10 Apr 96 2:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id am03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27267-0@oink>;
Tue, 9 Apr 1996 18:47:53 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06817;
Tue, 9 Apr 1996 18:47:47 +0000
Date: Tue, 9 Apr 1996 18:47:47 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Subject-- Question abou
X-Sun-Charset: US-ASCII
content-length: 260
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Norman Ho <
[email protected]>
>
> Hi there,
> Is it possible in using Oraperl that user could control SQL
> transactions(like to be decided when to commit or rollback by user)? Any idea?
Umm,
&ora_commit($dbh);
&ora_tollback($dbh);
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01282-9@oink>;
Wed, 10 Apr 1996 04:34:43 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829103956:26465:1; Wed, 10 Apr 96 03:39:16 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26296; 10 Apr 96 3:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA15137 for dbi-users-real; Tue, 9 Apr 1996 19:31:22 -0700
Precedence: junk
Sender:
[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 TAA15131
for <
[email protected]>; Tue, 9 Apr 1996 19:31:20 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ad02900; 10 Apr 96 2:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ak03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27231-0@oink>;
Tue, 9 Apr 1996 18:39:36 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06793;
Tue, 9 Apr 1996 18:39:29 +0000
Date: Tue, 9 Apr 1996 18:39:29 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Request for help (fwd)
X-Sun-Charset: US-ASCII
content-length: 541
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Alligator Descartes <
[email protected]>
>
> I was trying to run the Makefile.PL for installing DBI driver.
> I have downloaded and installed MakeMaker 5.16.
> On running Makefile.PL I am getting errors on "qw(&WriteMakefile,&Verbose)
> and also an error that "DBI.pm not found".
>
> I could not find out the possible cause of these errors.
>
> Please let me know how can I get rid of these errors or the
> person whom I can contact for this.
Get, build and install perl5.002 then fetch and build DBI version 0.68.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01282-11@oink>;
Wed, 10 Apr 1996 04:34:49 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829103961:26453:2; Wed, 10 Apr 96 03:39:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26310; 10 Apr 96 3:38 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA15123 for dbi-users-real; Tue, 9 Apr 1996 19:31:11 -0700
Precedence: junk
Sender:
[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 TAA15118
for <
[email protected]>; Tue, 9 Apr 1996 19:31:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ag02900; 10 Apr 96 2:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id af03275; 10 Apr 96 3:28 +0100
Received: from toad by oink with SMTP (PP) id <27187-0@oink>;
Tue, 9 Apr 1996 18:17:46 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA06735;
Tue, 9 Apr 1996 18:17:40 +0000
Date: Tue, 9 Apr 1996 18:17:40 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Oraperl build problem on Sun
X-Sun-Charset: US-ASCII
content-length: 723
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Zarina Musa <
[email protected]>
>
> Hello...,
> I'm trying to build Oraperl on SunOS 4.1.4 I keep having
> this error when running make. I'm not sure which libraries it didn't
> find...whether it's oraperl's, perl's, oracle's or SunOS's itself.
> Can anybody look at the build message below and give suggestions? Any
> pointers will be greatly appreciated.
>
> Thanx in advance.
> Below is the build message....
>
> cc -Bdynamic -L/home/oracle/orahome/lib -o oraperl
> /usr/local/perl-4.036/uperl.
> -lm /home/oracle/orahome/lib/libocic.a
> /home/oracle/orahome/lib/osntab.o x
> ld: Undefined symbol
> _lxclas
> _lxhcrenv
Take a look in
ftp://ftp.demon.co.uk/pub/perl/db/perl4/oraperl/
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01282-14@oink>;
Wed, 10 Apr 1996 04:35:00 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829104642:29157:2; Wed, 10 Apr 96 03:50:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa28864; 10 Apr 96 3:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA15147 for dbi-announce-real; Tue, 9 Apr 1996 19:31:41 -0700
Precedence: junk
Sender:
[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 TAA15143
for <
[email protected]>; Tue, 9 Apr 1996 19:31:38 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ad02856; 10 Apr 96 2:32 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id az03275; 10 Apr 96 3:29 +0100
Received: from toad by oink with SMTP (PP) id <29302-0@oink>;
Tue, 9 Apr 1996 21:56:04 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07344;
Tue, 9 Apr 1996 21:55:49 +0000
Date: Tue, 9 Apr 1996 21:55:49 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected],
[email protected]
Subject: Re: Problems with lookup
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1126
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Simon Windsor <
[email protected]>
>
> I have been using perl5 with the DBI(0.68) and DBD-Oracle(0.28) for
> several weeks now without any problems. However, today I have noticed
> the following:-
> According to the DBI documentation, the lookup function can be used
> for single selects, but code option A gives me the following error
> message
>
> Can't locate object method "lookup" via package "DBI::db" at lookup
> line 11.
>
> Has the lookup function been implemented, or am I doing something
> silly?
Well the problem is regarding the DBI spec as being a spec (but that's
hardly your fault). The lookup method has never been implemented.
I'll state this very clearly for everyone:
1. THE "DBperl SPECIFICATION" (0.6 etc) IS OF HISTORICAL INTEREST ONLY.
2. THE INTERFACE IT DEFINES DOES *NOT* REFLECT REALITY.
3. THE CURRENT INTERFACE IS SUMMARIZED AT THE END OF DBI.pm
4. THE CURRENT INTERFACE WILL CHANGE IN SOME (HOPEFULLY MINOR) DETAIL
WHEN THE DBI ADDS ODBC SUPPORT.
I would appreciate it if this message could be writ large near the
'DBperl Spec' on the DBI web pages.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02105-3@oink>;
Wed, 10 Apr 1996 05:41:53 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829110753:21192:3; Wed, 10 Apr 96 05:32:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21023; 10 Apr 96 5:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id VAA15303 for dbi-users-real; Tue, 9 Apr 1996 21:28:24 -0700
Precedence: junk
Sender:
[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 VAA15299
for <
[email protected]>; Tue, 9 Apr 1996 21:28:19 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa13568; 10 Apr 96 5:28 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae08775; 10 Apr 96 5:22 +0100
Received: from toad by oink with SMTP (PP) id <01186-0@oink>;
Wed, 10 Apr 1996 04:13:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16638;
Wed, 10 Apr 1996 04:13:34 +0000
Date: Wed, 10 Apr 1996 04:13:34 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBI and NT
X-Sun-Charset: US-ASCII
content-length: 721
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Judi Thomson <
[email protected]>
>
> (newbie warning)...
> I have looked through the mailing list archive and any FAQs I
> could find but didn't find any answers.
> I'd like to interface perl on my NT machine with the DBI. I don't
> really care which database module at this point, I just want to get it
> working.
> Has anyone done this already? Are there changes I need to make to
> the DBI or to the database module I choose? Are there interfaces to "PCish"
> databases such as Foxpro, Access, Paradox...?
>
> Thanks for any help you can give.
> Judi Thomson
To be honest, your best bet for NT is probably a direct ODBC interface
such as
ftp://ftp.infowire.com/pub/ntperl/NTodbc_v0.5.zip
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00991-0@oink>;
Wed, 10 Apr 1996 12:15:33 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829112028:25724:2; Wed, 10 Apr 96 05:53:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25638; 10 Apr 96 5:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id VAA15370 for dbi-users-real; Tue, 9 Apr 1996 21:51:18 -0700
Precedence: junk
Sender:
[email protected]
Received: from srvr7.engin.umich.edu (
[email protected] [141.212.2.69])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA15366
for <
[email protected]>; Tue, 9 Apr 1996 21:51:17 -0700
Received: from srvr5.engin.umich.edu (
[email protected] [141.212.2.89])
by srvr7.engin.umich.edu (8.7.5/8.7.3) with ESMTP id AAA01979;
Wed, 10 Apr 1996 00:51:59 -0400 (EDT)
Received: from zaphod (pm038-29.dialip.mich.net [141.211.7.133])
by srvr5.engin.umich.edu (8.7.5/8.7.3) with SMTP id AAA01060;
Wed, 10 Apr 1996 00:51:31 -0400 (EDT)
Message-ID: <
[email protected]>
Date: Wed, 10 Apr 1996 00:54:53 -0500
From: Dan DeMaggio <
[email protected]>
Organization: None
X-Mailer: Mozilla 2.0GoldB1 (WinNT; I)
MIME-Version: 1.0
To: Judi Thomson <
[email protected]>
CC:
[email protected]
Subject: Re: DBI and NT
References: <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Judi Thomson wrote:
> I'd like to interface perl on my NT machine with the DBI.
No you don't. ;) I don't think anyone's tried to compile DBI for NT, and I doubt any
of the DBI database drivers would port either. But there is a quick & dirty
solution. Check out Dave Roth's rewrite of my ODBC Perl:
ftp://ftp.infowire.com/pub/ntperl/NTodbc_v0.5.zip or CPAN.
> Are there interfaces to "PCish" databases such as Foxpro, Access, Paradox...?
Anything you have an ODBC driver for. Access/Office/VisualBasic all come with These
ODBC drivers. I use it for SQL Server myself.
--
Dan DeMaggio (
[email protected])
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01923-0@oink>;
Wed, 10 Apr 1996 14:05:05 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829141413:28641:3; Wed, 10 Apr 96 14:03:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa28144; 10 Apr 96 14:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id FAA15949 for dbi-users-real; Wed, 10 Apr 1996 05:49:31 -0700
Precedence: junk
Sender:
[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 FAA15945
for <
[email protected]>; Wed, 10 Apr 1996 05:49:29 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ak17165; 10 Apr 96 13:48 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae03012; 10 Apr 96 13:02 +0100
Received: from toad by oink with SMTP (PP) id <02362-0@oink>;
Wed, 10 Apr 1996 06:15:07 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20296;
Wed, 10 Apr 1996 06:14:56 +0000
Date: Wed, 10 Apr 1996 06:14:56 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Bus Error with DBD-Oracle 0.28
X-Sun-Charset: US-ASCII
content-length: 829
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: David Lebel <
[email protected]>
>
> When I try to compile and test DBD-Oracle 0.28 (with DBI-0.67), I get
> a bus error when my test application exit. I've used one of the
> samples inside oraperl.ex and they all coredump (Bus Error) when they
> terminate.
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/sun4-solaris/5,002
Strange comma in 5,002. Odd but not fatal.
> This is with Oracle 7.1.6.2.0, gcc 2.7.2, perl 5.002,
> DBD-Oracle 0.28, DBI-0.67, and Solaris 2.5.
>
> Any hints?
I need more hints first :-)
Try writing a _very_ small test case which still core dumps and then
run it after setting the PERL_DBI_DEBUG env var to 3 and send me the
output.
Also try to get a stack trace from the core file.
You could also try upgrading to the latest versions.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01941-0@oink>;
Wed, 10 Apr 1996 14:06:44 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829141385:05778:1; Wed, 10 Apr 96 14:03:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa05529; 10 Apr 96 14:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id FAA15958 for dbi-users-real; Wed, 10 Apr 1996 05:58:22 -0700
Precedence: junk
Sender:
[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 FAA15954
for <
[email protected]>; Wed, 10 Apr 1996 05:58:20 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ad17457; 10 Apr 96 13:55 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id af03012; 10 Apr 96 13:02 +0100
Received: from toad by oink with SMTP (PP) id <02381-0@oink>;
Wed, 10 Apr 1996 06:17:29 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20304;
Wed, 10 Apr 1996 06:17:21 +0000
Date: Wed, 10 Apr 1996 06:17:21 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Bad free() warning message
X-Sun-Charset: US-ASCII
content-length: 404
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Peter Golledge <
[email protected]>
>
> After building DBD::Oracle (version 0.28) under HP-UX 9.04 I receive
> warnings of the form: Bad free() ignored at test.pl line XXX where
> line XXX is where the ora_logoff function is called.
>
> Any ideas on what is wrong?
Yes, Oracle's QA department.
You try rebuilding perl with that warning disabled or with HIDEMYMALLOC
defined.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06204-17@oink>;
Thu, 11 Apr 1996 07:15:19 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829182031:17470:0; Thu, 11 Apr 96 01:20:31 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa16830; 11 Apr 96 1:19 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa05699; 11 Apr 96 1:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA16851 for dbi-users-real; Wed, 10 Apr 1996 13:43:02 -0700
Precedence: junk
Sender:
[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 NAA16847
for <
[email protected]>; Wed, 10 Apr 1996 13:43:00 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id VAA20373; Wed, 10 Apr 1996 21:30:26 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: Q: Web & DBI Interface - connect/disconnect
To: Tim Bunce <
[email protected]>
Date: Wed, 10 Apr 1996 21:30:26 +0100 (BST)
Cc:
[email protected],
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Tim Bunce" at Apr 9, 96 06:33:50 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: 976
> > > Now, I was wondering if a user clicks "STOP" on their web browser
> > > while a DB process is underway will the DB connection close properly
> > > or do we need to trap this condition and issue a disconnect???
> >
> > The httpd should issue a SIGKILL to an interrupted CGI process,
>
> Are you sure? Sending KILL first seems _very_ antisocial.
> A HUP first with a KILL later if not dead would be more normal.
Nope! Although, off the top of my head I do recall the CERN daemon exhibiting
this behaviour at one point....I'm not sure. Eitherway, it issues a SIG
something which should clear up any bizarrities..........
> > and,
> > provided you haven't overriden the signal handler, it should terminate
> > the process cleanly.
>
> You can't catch SIGKILL. It's always fatal.
Boo!
> Tim.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06204-18@oink>;
Thu, 11 Apr 1996 07:15:29 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829182641:21339:0; Thu, 11 Apr 96 01:30:41 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa20985; 11 Apr 96 1:30 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa08037; 11 Apr 96 1:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA16875 for dbi-users-real; Wed, 10 Apr 1996 13:55:54 -0700
Precedence: junk
Sender:
[email protected]
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA16871
for <
[email protected]>; Wed, 10 Apr 1996 13:55:51 -0700
Received: from localhost (pixel@localhost)
by rhino.coe.missouri.edu (8.7.3/8.7.1) with SMTP id PAA13335;
Wed, 10 Apr 1996 15:56:43 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Wed, 10 Apr 1996 15:56:42 -0500 (CDT)
From: James Cooper <
[email protected]>
To:
[email protected]
cc:
[email protected]
Subject: DBD-Oracle-0.29: install on IRIX 5.3
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello,
I just installed DBD-Oracle-0.29 on an SGI Indy running IRIX 5.3
I had to make the following change to the dbdimp.c file:
line 811: from: safefree(imp_sth->fbh);
to: safefree((char *)imp_sth->fbh);
the built in cc compiler was complaining about incompatable pointer
assignments. That change seems to have worked. The test claim to have
run properly.
Is this a result of using a finiky compiler?
Thanks
-- James
........................................................................
James Paul Cooper * Pixel
MU College of Education
[email protected] -
http://tiger.coe.missouri.edu/~pixel/
........................................................................
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <10322-0@oink>;
Thu, 11 Apr 1996 16:51:29 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829237715:03593:3; Thu, 11 Apr 96 16:48:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa03176; 11 Apr 96 16:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA18856 for dbi-users-real; Thu, 11 Apr 1996 08:31:08 -0700
Precedence: junk
Sender:
[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 IAA18852
for <
[email protected]>; Thu, 11 Apr 1996 08:31:06 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa02592; 11 Apr 96 16:26 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab22131; 11 Apr 96 16:26 +0100
Received: from toad by oink with SMTP (PP) id <09477-0@oink>;
Thu, 11 Apr 1996 11:37:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA26091;
Thu, 11 Apr 1996 11:37:36 +0000
Date: Thu, 11 Apr 1996 11:37:36 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBD-Oracle-0.29: install on IRIX 5.3
X-Sun-Charset: US-ASCII
content-length: 583
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: James Cooper <
[email protected]>
>
> Hello,
>
> I just installed DBD-Oracle-0.29 on an SGI Indy running IRIX 5.3
>
> I had to make the following change to the dbdimp.c file:
>
> line 811: from: safefree(imp_sth->fbh);
> to: safefree((char *)imp_sth->fbh);
>
> the built in cc compiler was complaining about incompatable pointer
> assignments. That change seems to have worked. The test claim to have
> run properly.
>
> Is this a result of using a finiky compiler?
Partly. My fix is to s/safefree/Safefree/ but it amounts to the same thing.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12769-2@oink>;
Thu, 11 Apr 1996 20:23:05 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829250026:15282:0; Thu, 11 Apr 96 20:13:46 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa14772; 11 Apr 96 20:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa20288; 11 Apr 96 20:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA18850 for dbi-users-real; Thu, 11 Apr 1996 08:30:56 -0700
Precedence: junk
Sender:
[email protected]
Received: from super.marketorder.com ([206.159.57.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA18846
for <
[email protected]>; Thu, 11 Apr 1996 08:30:54 -0700
Received: from LOCALHOST by super.marketorder.com (AIX 3.2/UCB 5.64/4.03)
id AA29918; Thu, 11 Apr 1996 08:31:24 -0700
Message-Id: <
[email protected]>
Date: Thu, 11 Apr 1996 08:31:23 -0700
From: Michael Moores <
[email protected]>
Organization: Market Ware Corp.
X-Mailer: Mozilla 2.01 (X11; I; AIX 2)
Mime-Version: 1.0
To:
[email protected]
Subject: DBI::DBD w/ ODBC (an ODBC DBD ?)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
SOme time ago I posted a question regarding a DBD for
Raima Velocis RDBMS. Apparently there were no others aquainted
with the product then (
http://www.raima.com).
I am migrating our product, with an embedded INformix V5 database,
to Velocis. Interestingly enough, Raima was involved in the original
round table discussions for ODBC and ended up using this API
as one of their native access APIs (their SQL API).
I have not kept up with the flurry of postings to this group, but
I faintly recall discussion of "free ODBC" in this group. Correct??
If so, what is the relationship to DBI, and where do I get
more info?
If I need to, I will write a DBD for Velocis, but this will most likely
be an ODBC driver. Is there anyone who has done this for a Unix
system? Our instances run mostly on AIX, and it would be very nice
to have a perl5 interface to them.
In the future there wil likely be more Unix ODBC drivers for more
SQL engines. Do you agree?
Best Regards,
--Michael Moores
MarketWare Corp.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13055-2@oink>;
Thu, 11 Apr 1996 21:15:59 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829253447:15213:3; Thu, 11 Apr 96 21:10:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa15056; 11 Apr 96 21:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA19402 for dbi-users-real; Thu, 11 Apr 1996 13:02:19 -0700
Precedence: junk
Sender:
[email protected]
Received: from mail.Clark.Net (mail.clark.net [168.143.0.10])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA19398
for <
[email protected]>; Thu, 11 Apr 1996 13:02:18 -0700
Received: from MCIWKS01 (mciwks01.pcy.mci.net [204.70.138.27])
by mail.Clark.Net (8.7.3/8.6.5) with SMTP id QAA01132
for <
[email protected]>; Thu, 11 Apr 1996 16:03:24 -0400 (EDT)
Message-ID: <
[email protected]>
Date: Thu, 11 Apr 1996 16:02:47 -0400
From: Jeff Posner <
[email protected]>
Organization: MCI
X-Mailer: Mozilla 2.01Gold (WinNT; I)
MIME-Version: 1.0
To:
[email protected]
Subject: Memory Leak
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Has anyone noticed a memory leak with
dbi/dbd::oracle. Here is a test case which leaks
after each open/close cycle:
#!/usr/local/bin/perl
use Oraperl;
$l = ora_login($sid, $user, $pw) || die "Can't connect";
while (1) {
ora_close(ora_open($l, 'select * from user_tables')) ;
printf "%d\n", $i++;
}
My system is Solaris 2.4, gcc 2.7.2, perl5.002, DBI-68,
DBD::Oracle-29, Oracle 7.2.2.
Thanks for any insight.
Jeff
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13559-7@oink>;
Thu, 11 Apr 1996 21:55:10 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829255248:01502:2; Thu, 11 Apr 96 21:40:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa01261; 11 Apr 96 21:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA19490 for dbi-users-real; Thu, 11 Apr 1996 13:36:42 -0700
Precedence: junk
Sender:
[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 NAA19486
for <
[email protected]>; Thu, 11 Apr 1996 13:36:31 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ac19704; 11 Apr 96 21:26 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa19710; 11 Apr 96 21:25 +0100
Received: from toad by oink with SMTP (PP) id <13335-0@oink>;
Thu, 11 Apr 1996 21:25:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00558;
Thu, 11 Apr 1996 21:25:02 +0000
Date: Thu, 11 Apr 1996 21:25:02 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Memory Leak
X-Sun-Charset: US-ASCII
content-length: 1108
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Jeff Posner <
[email protected]>
>
> Has anyone noticed a memory leak with
> dbi/dbd::oracle. Here is a test case which leaks
> after each open/close cycle:
>
> #!/usr/local/bin/perl
> use Oraperl;
> $l = ora_login($sid, $user, $pw) || die "Can't connect";
> while (1) {
> ora_close(ora_open($l, 'select * from user_tables')) ;
> printf "%d\n", $i++;
> }
>
> My system is Solaris 2.4, gcc 2.7.2, perl5.002, DBI-68,
> DBD::Oracle-29, Oracle 7.2.2.
>
> Thanks for any insight.
No insight, but a handy trick... put it in a tight loop then send
it a SIGQUIT once it's grown very large. Then view the core file
(od -c for example) and see if you can spot a very large chunk
consisting of a regularly repeating pattern - that'll be the leak.
If you're lucky the contents may give you a clue, if not then at
least the size of the repeating pattern may be a clue.
Certainly knowing the size of leak per loop may be helpful but
you'll need to let it run through _many_ loops to get an accurate
figure.
Whatever happens I'm off for most of next week. Sorry.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13559-9@oink>;
Thu, 11 Apr 1996 21:55:18 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829255318:02139:3; Thu, 11 Apr 96 21:41:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa29772; 11 Apr 96 21:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA19474 for dbi-users-real; Thu, 11 Apr 1996 13:33:41 -0700
Precedence: junk
Sender:
[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 NAA19470
for <
[email protected]>; Thu, 11 Apr 1996 13:33:37 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ab18272; 11 Apr 96 20:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa13856; 11 Apr 96 21:02 +0100
Received: from toad by oink with SMTP (PP) id <13015-0@oink>;
Thu, 11 Apr 1996 21:02:09 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00459;
Thu, 11 Apr 1996 21:02:01 +0000
Date: Thu, 11 Apr 1996 21:02:01 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBI::DBD w/ ODBC (an ODBC DBD ?)
X-Sun-Charset: US-ASCII
content-length: 343
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Michael Moores <
[email protected]>
>
> If I need to, I will write a DBD for Velocis, but this will most likely
> be an ODBC driver.
I don't understand that sentance. If it's an ODBC driver then it's
not a DBD.
> In the future there wil likely be more Unix ODBC drivers for more
> SQL engines. Do you agree?
Yes.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14103-0@oink>;
Thu, 11 Apr 1996 22:22:58 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829257663:16580:2; Thu, 11 Apr 96 22:21:03 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-2.mail.demon.net
id aa16429; 11 Apr 96 22:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id OAA19612 for dbi-users-real; Thu, 11 Apr 1996 14:10:44 -0700
Precedence: junk
Sender:
[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 OAA19608
for <
[email protected]>; Thu, 11 Apr 1996 14:10:40 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id WAA05739; Thu, 11 Apr 1996 22:04:59 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: Can't connect to MSQL server
To:
[email protected] (Alan Scheinine)
Date: Thu, 11 Apr 1996 22:04:58 +0100 (BST)
Cc:
[email protected],
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Alan Scheinine" at Apr 11, 96 10:46:23 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: 1170
> I am using a private database for testing with the following
> environmental variables.
> MSQL_UNIX_PORT=/u/scheinin/Minerva/msql.socket
> MSQL_TCP_PORT=1116
> MSQL_HOME=/u/scheinin/Minerva
> The database is there and the daemon is running, the
> command "relshow" finds it.
>
> There error message is:
> $ make test
> PERL_DL_NONLAZY=1 /u/perl/bin/r6k/perl5.002 -I./blib/arch -I./blib/lib -I/u/perl/lib/perl5002/aix/5.002 -I/u/perl/lib/perl5002 test.pl
> Testing: DBI->install_driver( 'mSQL' ): ok
> Testing: $drh->func( 'scallion', '_ListDBs' ): ok
> Connect: Connection refused
> not ok: Can't connect to MSQL server on scallion
If your machine is the same one as you're running perl on, change the hostname
to '' instead of whatever it is. If it's not and you need to use TCP/IP, there
is a patch for a 'ntohs' bug in mSQL that may fix it. I haven't had time to
apply and try yet, but that sounds exactly like the problem you're
experiencing.
> Alan Scheinine
[email protected]
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <14823-0@oink>;
Thu, 11 Apr 1996 23:52:23 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829262963:19341:1; Thu, 11 Apr 96 23:49:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa17432; 11 Apr 96 23:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA19901 for dbi-users-real; Thu, 11 Apr 1996 15:39:29 -0700
Precedence: junk
Sender:
[email protected]
Received: from ryan.hublink.com ([198.30.188.5])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA19897
for <
[email protected]>; Thu, 11 Apr 1996 15:39:13 -0700
Received: from grand.hublink.com by ryan.hublink.com (5.x/SMI-SVR4) id AA08494;
Thu, 11 Apr 1996 18:38:21 -0400
Received: from grand (localhost) by grand.hublink.com (5.x/SMI-SVR4) id AA02322;
Thu, 11 Apr 1996 18:38:22 -0400
Message-Id: <
[email protected]>
Date: Thu, 11 Apr 1996 18:38:21 -0400
From: Eric Lu <
[email protected]>
Organization: Hublink Inc.
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
Mime-Version: 1.0
To:
[email protected]
Cc:
[email protected]
Subject: DBD-Oracle-0.29: "make test" failed on HP-UX 9.x
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
I just installed DBI-0.68 and DBD-Oracle-0.29 on HP-UX 9.x. Everying went ok except
I can't pass "make test" in DBD-Oracle-0.29.
I changed the "test.pl" to fit into my local environment. Set up:
ORACLE_SID=hub
ORACLE_USERID=cpd
Modify "test.pl" from
$dbname = $ARGV[0] || '';
to
$dbname = $ENV{TWO_TASK} || $ENV{ORACLE_SID} || 'crgs';
and
local($l) = &ora_login($dbname, $dbuser, '');
to
local($l) = &ora_login($dbname, $dbuser, 'password');
Then I got this message after did a "make test":
"elu:hp ->make test
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.002 -I/opt/perl5/lib -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=2, Tests=6, 1 secs ( 1.00 cusr 0.17 csys = 1.17 cpu)
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.002 -I/opt/perl5/lib test.pl
Oraperl test application $Revision: 1.20 $
Oraperl Emulation Interface version 1.23
Oracle Driver 0.29
DBI-0.68 Switch by Tim Bunce, version 0.68
Connecting
to 'hub' (from command line, else uses ORACLE_SID/TWO_TASK)
as 'cpd' (via ORACLE_USERID environment var or default)
ora_login: 1017: ORA-01017: invalid username/password; logon denied (DBD: login
failed)
*** Error code 255
Stop."
If I set up TWO_TASK=t:hp:hub, I got:
"elu:hp ->make test
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.002 -I/opt/perl5/lib -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=2, Tests=6, 1 secs ( 0.99 cusr 0.19 csys = 1.18 cpu)
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.002 -I/opt/perl5/lib test.pl
Oraperl test application $Revision: 1.20 $
Oraperl Emulation Interface version 1.23
Oracle Driver 0.29
DBI-0.68 Switch by Tim Bunce, version 0.68
Connecting
to 't:hp:hub' (from command line, else uses ORACLE_SID/TWO_TASK)
as 'cpd' (via ORACLE_USERID environment var or default)
ora_login: 6401: ORA-06401: NETCMN: invalid driver designator (DBD: login failed)
Could not connect to database. Test aborted.
*** Error code 2
Stop.
elu:hp ->"
Thanks very much for help.
--Eric
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15234-1@oink>;
Fri, 12 Apr 1996 00:37:24 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829265797:07273:0; Fri, 12 Apr 96 00:36:37 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa06751; 12 Apr 96 0:35 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa09473; 12 Apr 96 0:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA19553 for dbi-users-real; Thu, 11 Apr 1996 13:56:47 -0700
Precedence: junk
Sender:
[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 NAA19549
for <
[email protected]>; Thu, 11 Apr 1996 13:56:45 -0700
Received: by gw.home.vix.com id NAA20970; Thu, 11 Apr 1996 13:52:49 -0700 (PDT)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: by scallion.crs4.it id AA26009 (5.67b/IDA-1.4.4
for
[email protected]); Thu, 11 Apr 1996 22:46:23 +0200
Date: Thu, 11 Apr 1996 22:46:23 +0200
From: Alan Scheinine <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected],
[email protected]
Subject: Can't connect to MSQL server
Tests fail for DBD-mSQL, using versions
DBD-mSQL-0.60pl10
DBI-0.68
I am using a private database for testing with the following
environmental variables.
MSQL_UNIX_PORT=/u/scheinin/Minerva/msql.socket
MSQL_TCP_PORT=1116
MSQL_HOME=/u/scheinin/Minerva
The database is there and the daemon is running, the
command "relshow" finds it.
There error message is:
$ make test
PERL_DL_NONLAZY=1 /u/perl/bin/r6k/perl5.002 -I./blib/arch -I./blib/lib -I/u/perl/lib/perl5002/aix/5.002 -I/u/perl/lib/perl5002 test.pl
Testing: DBI->install_driver( 'mSQL' ): ok
Testing: $drh->func( 'scallion', '_ListDBs' ): ok
Connect: Connection refused
not ok: Can't connect to MSQL server on scallion
Thanks in advance for your help,
Alan Scheinine
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15273-2@oink>;
Fri, 12 Apr 1996 00:47:48 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829266184:10190:2; Fri, 12 Apr 96 00:43:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa09902; 12 Apr 96 0:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id QAA20079 for dbi-users-real; Thu, 11 Apr 1996 16:38:08 -0700
Precedence: junk
Sender:
[email protected]
Received: from ids.net (ids.net [155.212.1.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA20075
for <
[email protected]>; Thu, 11 Apr 1996 16:38:06 -0700
Received: from conan.ids.net by ids.net with SMTP;
Thu, 11 Apr 1996 19:38:22 -0400 (EDT)
Date: Thu, 11 Apr 1996 19:38:16 -0400 (EDT)
From: Brian Jepson <
[email protected]>
To: Michael Moores <
[email protected]>
cc:
[email protected]
Subject: Re: DBI::DBD w/ ODBC (an ODBC DBD ?)
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 11 Apr 1996, Michael Moores wrote:
[...]
>
> I have not kept up with the flurry of postings to this group, but
> I faintly recall discussion of "free ODBC" in this group. Correct??
> If so, what is the relationship to DBI, and where do I get
> more info?
>
freeODBC is presently in the "requirements" stage. It will basically be a
free ODBC driver development kit, and will probably "ship" with drivers
for Postgres95, Sybase, and Oracle. The discussion about freeODBC started
taking place on the dbi-dev list, and that list is the official
discusrrion list for the project. You can find out more info on:
http://www.ids.net/~bjepson/freeODBC
Hope this helps,
Brian Jepson (
[email protected])
---===[[[@>>> Perl, FoxPro, SQL Server, HTML
http://www.ids.net/~bjepson/
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24060-0@oink>;
Fri, 12 Apr 1996 23:34:00 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829340930:04007:1; Fri, 12 Apr 96 21:28:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa02677; 12 Apr 96 21:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA21662 for dbi-users-real; Fri, 12 Apr 1996 13:05:12 -0700
Precedence: junk
Sender:
[email protected]
Received: from bnr.ca (x400gate.bnr.ca [192.58.194.73])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA21658
for <
[email protected]>; Fri, 12 Apr 1996 13:04:54 -0700
X400-Received: by mta bnr.ca in /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
Fri, 12 Apr 1996 15:52:52 -0400
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
Fri, 12 Apr 1996 15:51:36 -0400
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
Fri, 12 Apr 1996 15:51:00 -0400
Date: Fri, 12 Apr 1996 15:51:00 -0400
X400-Originator: /dd.id=0509367/g=ayad/i=a/s=sabbagh/@bnr.ca
X400-MTS-Identifier: [/PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/;bcars520.b.672:12.03.96.19.51.36]
X400-Content-Type: P2-1984 (2)
Content-Identifier: Help
From: "ayad (a.) sabbagh" <
[email protected]>
Message-ID: <"8629 Fri Apr 12 15:51:57 1996"@bnr.ca>
To:
[email protected]
Subject: Help
Hello
I'm installing DBD-mSQL-0.60pl9
Here is what I did:
edit the Makefile.PL
- put the correct path to perl on the first line
i.e. /usr/pde/perl/bin/hppa/perl
- before the first use, add the following
BEGIN {
push (@INC, "/bnr/projects/cus_proj_reg/software/DBI-0.65/dummy/lib");
}
(replace the path with my path to DBI lib)
- set the environment variable MSQL_HOME as
/bnr/projects/cus_proj_reg/software/minerva
- run '/usr/pde/perl/bin/hppa/perl Makefile.PL'
I GET THE FOLLOWING ERROR:
Can't find loadable object for module DBI in @INC at /bnr/projects/cus_proj_reg/software/DBI-0.65/dummy/lib/DBI.pm line 30
BEGIN failed--compilation aborted at Makefile.PL line 21.
WHY IS THIS HAPPENING AND HOW CAN I FIX IT???
Regards
Ayad
Nortel
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24868-5@oink>;
Sat, 13 Apr 1996 00:45:58 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829351454:04525:0; Sat, 13 Apr 96 00:24:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa03865; 13 Apr 96 0:23 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa14071; 13 Apr 96 0:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id QAA21936 for dbi-users-real; Fri, 12 Apr 1996 16:16:39 -0700
Precedence: junk
Sender:
[email protected]
Received: from sahp088 (sahp088.ttd.sandia.gov [132.175.125.22])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id QAA21932
for <
[email protected]>; Fri, 12 Apr 1996 16:16:33 -0700
Received: from saquad001 by sahp088 with SMTP (1.38.193.4/16.2) id AA13339;
Fri, 12 Apr 1996 17:17:52 -0600
Message-Id: <
[email protected]>
Date: Fri, 12 Apr 1996 17:17:53 -0600
From: "Steven D. Wix" <
[email protected]>
X-Mailer: Mozilla 2.0 (Macintosh; I; PPC)
Mime-Version: 1.0
To:
[email protected]
Subject: Remote ORACLE and ACCESS connections
X-Url:
http://www.hermetica.com/technologia/DBI/DBD/index.html#Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I'm interested in using DBI to contact remote Oracle and ACCESS
databases. Is it possible to connect to remote databases using DBI?
Thanks in advance
--
______________________________________________________________________
__
Steven D. Wix
_/_/_/ _/ _/ _/ SANDIA NATIONAL LABORATORIES
_/_/_/
_/ _/_/ _/ _/ P. O. Box 5800, MS 0717
_/_/
_/_/_/ _/ _/ _/ _/ Albuquerque, NM 87185-0717
_/_/_/_/_/_/
_/ _/ _/_/ _/ phone: (505) 844-0778
_/ _/_/ _/
_/_/_/ _/ _/ _/_/_/ fax: (505) 842-0244 _/
_/_/ _/
_/_/
Transportation Systems Thermal Analyst
Technology Department (6642) Acting LAN 25 System Administrator
e-mail:
[email protected]
"These are my opinions only"_
______________________________________________________________________
_
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00850-20@oink>;
Mon, 15 Apr 1996 07:11:24 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829541571:27688:1; Mon, 15 Apr 96 05:12:51 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa27438; 15 Apr 96 5:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id UAA24627 for dbi-users-real; Sun, 14 Apr 1996 20:47:10 -0700
Precedence: junk
Sender:
[email protected]
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id UAA24623
for <
[email protected]>; Sun, 14 Apr 1996 20:47:08 -0700
Received: from localhost (pixel@localhost)
by rhino.coe.missouri.edu (8.7.3/8.7.1) with SMTP id WAA14379
for <
[email protected]>; Sun, 14 Apr 1996 22:45:48 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Sun, 14 Apr 1996 22:45:48 -0500 (CDT)
From: James Cooper <
[email protected]>
To:
[email protected]
Subject: Getting DESCRIBE data from Oracle w/DBI
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello,
I'm trying to write a generic administration utility that will allow one
to add/edit/delete rows from an Oracle table via the web.
The basis of this script is a menu of all the tables owned by a particular
user. That information is easy enough to get:
select table_name from all_tables where owner = 'PIXEL';
But the next step is where I'm having trouble. I need to be able to ask
Oracle what columns are in a given table. Normally I would use the
DESCRIBE command to do this, but I can't seem to pass a DESCRIBE command
to DBI (I've tried using cursors, via $sth = $dbh->prepare($sql), and I've
tried using $sth = $dbh->do($sql)...)
Is there a way to either:
1) Get the results of a DESCRIBE back from Oracle using DBI
or
2) SELECT the row definitions for a given table (presumably from some
all_* table in Oracle).
Thanks
-- James
........................................................................
James Paul Cooper * Pixel
MU College of Education
[email protected] -
http://tiger.coe.missouri.edu/~pixel/
........................................................................
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00853-28@oink>;
Mon, 15 Apr 1996 07:13:41 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829394480:00364:2; Sat, 13 Apr 96 12:21:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00307; 13 Apr 96 12:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id EAA22677 for dbi-users-real; Sat, 13 Apr 1996 04:11:38 -0700
Precedence: junk
Sender:
[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 EAA22673
for <
[email protected]>; Sat, 13 Apr 1996 04:11:36 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id MAA10567; Sat, 13 Apr 1996 12:06:08 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: Remote ORACLE and ACCESS connections
To:
[email protected] (Steven D. Wix)
Date: Sat, 13 Apr 1996 12:06:07 +0100 (BST)
Cc:
[email protected]
In-Reply-To: <
[email protected]> from "Steven D. Wix" at Apr 12, 96 05:17:53 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: 427
> I'm interested in using DBI to contact remote Oracle and ACCESS
> databases. Is it possible to connect to remote databases using DBI?
> Thanks in advance
Access, no at the moment.
Remote ORACLE databases: Use SQL*Net as your underlying transport.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06285-0@oink>;
Mon, 15 Apr 1996 17:03:02 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829576192:29386:2; Mon, 15 Apr 96 14:49:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa29317; 15 Apr 96 14:49 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa16911; 15 Apr 96 14:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id GAA25071 for dbi-users-real; Mon, 15 Apr 1996 06:33:41 -0700
Precedence: junk
Sender:
[email protected]
Received: from aruba.lerc.nasa.gov (aruba.lerc.nasa.gov [139.88.35.16])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA25067
for <
[email protected]>; Mon, 15 Apr 1996 06:33:38 -0700
Received: from bytor.lerc.nasa.gov by aruba.lerc.nasa.gov
with ESMTP (NASA LeRC 8.7.4.1/2.01-main) id JAA12572;
Mon, 15 Apr 1996 09:35:17 -0400 (EDT)
Received: by bytor.lerc.nasa.gov (NASA LeRC 8.7.4.1/2.01-local) id JAA02968;
Mon, 15 Apr 1996 09:35:32 -0400 (EDT)
From: Gary Gapinski <
[email protected]>
Message-Id: <
[email protected]>
Date: Mon, 15 Apr 1996 09:35:32 -0400
In-Reply-To: James Cooper <
[email protected]> "Getting DESCRIBE data from Oracle w/DBI" (Apr 14, 10:45pm)
References: <
[email protected]>
X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
To: James Cooper <
[email protected]>,
[email protected]
Subject: Re: Getting DESCRIBE data from Oracle w/DBI
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Hello, James:
The USER_TAB_COLUMNS or ALL_TAB_COLUMNS joined with USER_TABLES or ALL_TABLES
should suffice.
Also, the column names are available from a cursor after its associated select
statement has been prepared.
Regards,
Gary
--
__________________________________________________________
Gary Gapinski email:
[email protected]
NASA Lewis Research Center voice: +1 216 433 5251
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08938-12@oink>;
Tue, 16 Apr 1996 07:08:16 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829607373:18391:0; Mon, 15 Apr 96 23:29:33 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa17984; 15 Apr 96 23:28 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa24719; 15 Apr 96 23:25 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA25418 for dbi-users-real; Mon, 15 Apr 1996 11:29:16 -0700
Precedence: junk
Sender:
[email protected]
Received: from mycogen.com (mycogen.com [199.183.103.1])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA25414
for <
[email protected]>; Mon, 15 Apr 1996 11:29:15 -0700
Received: from gouda ([192.9.200.53]) by mycogen.com (4.1/SMI-4.1) id AA02230;
Mon, 15 Apr 96 13:38:05 CDT
Message-Id: <
[email protected]>
Date: Mon, 15 Apr 1996 13:30:19 -0500
From: Jeffrey David Horn <
[email protected]>
Organization: Mycogen Corporation
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To:
[email protected]
Subject: DBD::Ingres Development Status
X-Url:
http://www.hermetica.com/technologia/DBI/DBD/index.html#Ingres
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Is DBI available for (commercial) Ingres? If so, where can I
get a copy? If not, I am interested in developing a driver, who
should I contact regarding making the driver available?
-- Jeff Horn
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <08937-20@oink>;
Tue, 16 Apr 1996 07:10:16 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829611911:20289:3; Tue, 16 Apr 96 00:45:11 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa19773; 16 Apr 96 0:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id QAA26192 for dbi-users-real; Mon, 15 Apr 1996 16:32:20 -0700
Precedence: junk
Sender:
[email protected]
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA26188
for <
[email protected]>; Mon, 15 Apr 1996 16:32:17 -0700
Received: from localhost (pixel@localhost)
by rhino.coe.missouri.edu (8.7.3/8.7.1) with SMTP id SAA19399
for <
[email protected]>; Mon, 15 Apr 1996 18:33:14 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Mon, 15 Apr 1996 18:33:14 -0500 (CDT)
From: James Cooper <
[email protected]>
To:
[email protected]
Subject: Oracle: getting primary key back from INSERT
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello again,
Is there a good way to get any data back from an INSERT using DBI?
I have a script that processes an uploaded file from Netscape, then makes
an INSERT into Oracle. I'd like to name the uploaded file with the
primary key from the INSERT.
In the past I've done that by getting data back from a stored function
using PRO*C. But that's pretty cumbersome, and this script won't be
executed too frequently.
The lame kludge that I'm currently using is to do a:
$sql = "select max(id) from imc_items";
after each INSERT, and using that. But that is obvious open to concurency
problems. Currently only one person would run this at a given time (it's
an internal-use only application), but that could definately change.
All thoughts appreciated.
-- James
........................................................................
James Paul Cooper * Pixel
MU College of Education
[email protected] -
http://tiger.coe.missouri.edu/~pixel/
........................................................................
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13149-0@oink>;
Tue, 16 Apr 1996 14:00:15 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829659519:16362:1; Tue, 16 Apr 96 13:58:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa16031; 16 Apr 96 13:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id FAA27003 for dbi-users-real; Tue, 16 Apr 1996 05:45:32 -0700
Precedence: junk
Sender:
[email protected]
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id FAA26999
for <
[email protected]>; Tue, 16 Apr 1996 05:45:27 -0700
Received: by egate.citicorp.com id AA27891 (InterLock SMTP Gateway 3.0
for
[email protected]); Tue, 16 Apr 1996 08:46:52 -0400
Message-Id: <
[email protected]>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
Tue, 16 Apr 1996 08:46:52 -0400
Date: Tue, 16 Apr 1996 08:51:31 -0100
From: Douglas Sur <
[email protected]>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To:
[email protected]
Subject: Mail List Question
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
What is the address and command to unscribe myself from this
list? I cannot seem to locate that email I was suppose to save.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
Douglas Y. Sur, OnLine Technologist
Citicorp Global Information Network VOICE: 703-708-1164
1900 Campus Commons Drive FAX: 703-708-1184
Floor 3, Zone 8
Reston, Va. 22091
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13654-0@oink>;
Tue, 16 Apr 1996 16:40:09 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829668963:28144:0; Tue, 16 Apr 96 16:36:03 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa27578; 16 Apr 96 16:34 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa23318; 16 Apr 96 16:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA27155 for dbi-users-real; Tue, 16 Apr 1996 08:21:30 -0700
Precedence: junk
Sender:
[email protected]
Received: from grctechs.va.grci.com (grctechs.va.grci.com [192.246.37.10])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA27151
for <
[email protected]>; Tue, 16 Apr 1996 08:21:27 -0700
Received: by grctechs.va.grci.com (5.65/25-eef) id AA10437;
Tue, 16 Apr 96 11:11:49 -0400
My-Date: Tue, 16 Apr 1996 11:11:48 -0400 (EDT)
My-From: Greg Gerber <
[email protected]>
X-Full-Name: Greg Gerber
Date: Tue, 16 Apr 1996 11:11:48 -0400 (EDT)
From: Greg Gerber <
[email protected]>
To: James Cooper <
[email protected]>
Cc:
[email protected]
Subject: Re: Oracle: getting primary key back from INSERT
In-Reply-To: <
[email protected]>
Message-Id: <
[email protected]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 15 Apr 1996, James Cooper wrote:
> Is there a good way to get any data back from an INSERT using DBI?
> I have a script that processes an uploaded file from Netscape, then makes
> an INSERT into Oracle. I'd like to name the uploaded file with the
> primary key from the INSERT.
> In the past I've done that by getting data back from a stored function
> using PRO*C. But that's pretty cumbersome, and this script won't be
> executed too frequently.
> The lame kludge that I'm currently using is to do a:
> $sql = "select max(id) from imc_items";
> after each INSERT, and using that. But that is obvious open to concurency
> problems. Currently only one person would run this at a given time (it's
> an internal-use only application), but that could definately change.
>
You can use sequences in Oracle to generate unique key values,
for example.
create sequence my_seq;
create table my_table ( id number, val varchar(10) );
insert into my_table ( id, val ) values ( my_seq.nextval, 'foo' );
select my_seq.currval from dual;
You could also handle the sequence number generation using triggers
but it is a bit more complicated.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <13847-0@oink>;
Tue, 16 Apr 1996 17:05:40 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829670640:20800:4; Tue, 16 Apr 96 17:04:00 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa20509; 16 Apr 96 17:03 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA27178 for dbi-users-real; Tue, 16 Apr 1996 08:50:08 -0700
Precedence: junk
Sender:
[email protected]
Received: from deimos (deimos.sovam.com [194.67.1.156])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA27171
for <
[email protected]>; Tue, 16 Apr 1996 08:49:57 -0700
Received: from nike.sovam.com ([194.67.3.241]) by deimos.sovam.com with SMTP
id <260562-229>; Tue, 16 Apr 1996 19:51:15 +0400
Message-ID: <
[email protected]>
Date: Tue, 16 Apr 1996 19:51:19 +0400
From: "Roman L. Podshivalov" <
[email protected]>
Reply-To:
[email protected]
Organization: ROL
X-Mailer: Mozilla 3.0B2 (Win95; I)
MIME-Version: 1.0
To: James Cooper <
[email protected]>
CC:
[email protected]
Subject: Re: Oracle: getting primary key back from INSERT
References: <
[email protected]>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
James Cooper wrote:
>
> Hello again,
>
> Is there a good way to get any data back from an INSERT using DBI?
>
> I have a script that processes an uploaded file from Netscape, then makes
> an INSERT into Oracle. I'd like to name the uploaded file with the
> primary key from the INSERT.
>
> In the past I've done that by getting data back from a stored function
> using PRO*C. But that's pretty cumbersome, and this script won't be
> executed too frequently.
>
> The lame kludge that I'm currently using is to do a:
>
> $sql = "select max(id) from imc_items";
>
> after each INSERT, and using that. But that is obvious open to concurency
> problems. Currently only one person would run this at a given time (it's
> an internal-use only application), but that could definately change.
If so you can setup a sequence and use .nextval, .currval for it.
>
> All thoughts appreciated.
>
> -- James
>
> .........................................................................
> James Paul Cooper * Pixel
> MU College of Education
>
[email protected] -
http://tiger.coe.missouri.edu/~pixel/
> .........................................................................
--
Roman L. Podshivalov Sovam Teleport
<mailto:
[email protected]> (+7-501) 258-4170
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <16306-9@oink>;
Wed, 17 Apr 1996 07:06:38 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829679846:27970:0; Tue, 16 Apr 96 19:37:26 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa27936; 16 Apr 96 19:37 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa06602; 16 Apr 96 19:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA27405 for dbi-users-real; Tue, 16 Apr 1996 11:20:58 -0700
Precedence: junk
Sender:
[email protected]
Received: from localhost (mellon@localhost)
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA27400;
Tue, 16 Apr 1996 11:20:57 -0700
Message-Id: <
[email protected]>
To: Douglas Sur <
[email protected]>
cc:
[email protected]
Subject: Re: Mail List Question
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_
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <20290-0@oink>;
Wed, 17 Apr 1996 11:47:37 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829731950:07625:1; Wed, 17 Apr 96 10:05:50 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa07377; 17 Apr 96 10:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id BAA28653 for dbi-announce-real; Wed, 17 Apr 1996 01:50:30 -0700
Precedence: junk
Sender:
[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 BAA28640;
Wed, 17 Apr 1996 01:45:59 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id JAA27027; Wed, 17 Apr 1996 09:41:19 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: ANNOUNCE: DBD-Informix-0.20pl1
To:
[email protected]
Date: Wed, 17 Apr 1996 09:41:18 +0100 (BST)
Cc:
[email protected]
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: 860
DBD::Informix-0.20pl1 has been released!
This patchlevel fixes the following problems, bugs and issues. Test cases
showing bugs are welcomed.
o CREATE, DROP, UPDATE, INSERT, DELETE now implemented
o Error code and message now populate $DBI::errnum and $DBI::errstr
correctly
o Make procedure changed to support a single Makefile.PL, which can
handle Informix 5, 6 & 7 installations
As of just now, stored procedures and BLOB support have not been added.
Those'll take another week or so.
Comments welcomed.
The module is available either off the DBI WWW pages or CPAN. If all else
fails:
ftp://ftp.mcqueen.com/pub/databases/DBI/DBD/Informix
should do the trick.
A.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20287-7@oink>;
Wed, 17 Apr 1996 11:48:06 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829731861:10579:1; Wed, 17 Apr 96 10:04:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa07913; 17 Apr 96 9:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id BAA28644 for dbi-users-real; Wed, 17 Apr 1996 01:46:02 -0700
Precedence: junk
Sender:
[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 BAA28640;
Wed, 17 Apr 1996 01:45:59 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id JAA27027; Wed, 17 Apr 1996 09:41:19 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: ANNOUNCE: DBD-Informix-0.20pl1
To:
[email protected]
Date: Wed, 17 Apr 1996 09:41:18 +0100 (BST)
Cc:
[email protected]
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: 860
DBD::Informix-0.20pl1 has been released!
This patchlevel fixes the following problems, bugs and issues. Test cases
showing bugs are welcomed.
o CREATE, DROP, UPDATE, INSERT, DELETE now implemented
o Error code and message now populate $DBI::errnum and $DBI::errstr
correctly
o Make procedure changed to support a single Makefile.PL, which can
handle Informix 5, 6 & 7 installations
As of just now, stored procedures and BLOB support have not been added.
Those'll take another week or so.
Comments welcomed.
The module is available either off the DBI WWW pages or CPAN. If all else
fails:
ftp://ftp.mcqueen.com/pub/databases/DBI/DBD/Informix
should do the trick.
A.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28703-1@oink>;
Thu, 18 Apr 1996 13:54:58 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829829063:04497:1; Thu, 18 Apr 96 13:04:23 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa04035; 18 Apr 96 13:03 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa00304; 18 Apr 96 13:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id EAA00913 for dbi-users-real; Thu, 18 Apr 1996 04:35:45 -0700
Precedence: junk
Sender:
[email protected]
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id EAA00909
for <
[email protected]>; Thu, 18 Apr 1996 04:35:28 -0700
Received: by mercury.Sun.COM (Sun.COM) id EAA10108;
Thu, 18 Apr 1996 04:37:14 -0700
Received: from cby-home (cby-home.UK.Sun.COM)
by UK.Sun.COM (5.x/SMI-SVR4-sd.fkk200) id AA10003;
Thu, 18 Apr 1996 12:37:56 +0100
Received: from cby-mail by cby-home (5.x/SMI-SVR4-se.fkk201) id AA11020;
Thu, 18 Apr 1996 12:37:53 +0100
Received: from mercedes.uk.sun.com by cby-mail (SMI-8.6/SMI-SVR4-su.fkk202)
id MAA17771; Thu, 18 Apr 1996 12:39:46 +0100
Received: by mercedes.uk.sun.com (SMI-8.6/SMI-SVR4) id MAA14087;
Thu, 18 Apr 1996 12:39:46 +0100
Date: Thu, 18 Apr 1996 12:39:46 +0100
From: Bob Franks - Sun UK - European Applications Support <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Sybase version
X-Sun-Charset: US-ASCII
Hi,
Could someone give me an update on the status of the DBI
sybase driver version?
is it available ?
the web page at
http://www.hermetica.com/technologia/DBI/DBD/index.html
says "under development"
Thanks
Bob
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00985-0@oink>;
Thu, 18 Apr 1996 18:12:40 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829846261:14010:2; Thu, 18 Apr 96 17:51:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa13384; 18 Apr 96 17:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA01365 for dbi-users-real; Thu, 18 Apr 1996 09:36:42 -0700
Precedence: junk
Sender:
[email protected]
Received: from voyager.whoi.edu (voyager.whoi.edu [128.128.16.77])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA01361
for <
[email protected]>; Thu, 18 Apr 1996 09:36:39 -0700
Received: from voyager (localhost [127.0.0.1])
by voyager.whoi.edu (8.7.4/8.7.4) with SMTP id MAA22144
for <
[email protected]>; Thu, 18 Apr 1996 12:39:03 -0400 (EDT)
Message-ID: <
[email protected]>
Date: Thu, 18 Apr 1996 12:39:02 -0400
From: Peter Schmitt <
[email protected]>
Organization: Woods Hole Oceanographic Institution
X-Mailer: Mozilla 2.01 (X11; I; HP-UX B.10.01 9000/715)
MIME-Version: 1.0
To:
[email protected]
Subject: DBD::Informix 'perl Makefile.PL'
X-URL:
http://www.hermetica.com/technologia/DBI/DBI/
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This the output: (what am I missing?)
$ perl5db Makefile.PL
Configuring DBD::Informix version 0.20pl1...
Remember to actually read the README file!
What version of Informix are you using? [5/6/7] 5
Using Informix version 5 in /usr/local/informix
Informix sysliblist: -L/usr/local/informix/lib/esql -lsql -lgen -los -lm
System: perl5.002 hp-ux vine b.10.01 u 9000829 127881311 unlimited-user
license PA-RISC1.1 dl_none.xs
Compiler: cc -D_HPUX_SOURCE -I/usr/local/include
Writing Makefile for DBD::Informix
sh: ESQL_LIB: not found.
sh: PERL_LIB: not found.
sh: PERL_ARCHLIB: not found.
sh: PERL_ARCHLIB: not found.
sh: PERL_ARCHLIB: not found.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~u~~~~~~~~~~~~
Peter Schmitt EMail:
[email protected]
Information Systems Associate II WWW:
http://voyager.whoi.edu/~pete/
Computer Information Services Phone: 508/289-2877
Woods Hole Oceanographic Institution Fax: 508/457-2174
Woods Hole, Mass. 02543 Origin:
[email protected]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <00985-4@oink>;
Thu, 18 Apr 1996 18:12:56 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 829847155:23282:2; Thu, 18 Apr 96 18:05:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa23022; 18 Apr 96 18:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id GAA01083 for dbi-users-real; Thu, 18 Apr 1996 06:27:16 -0700
Precedence: junk
Sender:
[email protected]
Received: from ug.cs.ust.hk (
[email protected] [143.89.41.155])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id GAA01079
for <
[email protected]>; Thu, 18 Apr 1996 06:27:11 -0700
Received: from csl3su21.cs.ust.hk (
[email protected] [143.89.42.21])
by ug.cs.ust.hk (8.7.4/8.6.9) with ESMTP id VAA27273
for <
[email protected]>; Thu, 18 Apr 1996 21:29:23 +0800 (HKT)
From: Ko Kim Ho <
[email protected]>
Received: (from cs_kokim@localhost) by csl3su21.cs.ust.hk (8.7.5/8.7.3)
id VAA28879 for
[email protected];
Thu, 18 Apr 1996 21:29:21 +0800 (HKT)
Message-Id: <
[email protected]>
Subject: Any guide for writing iODBC drivers?
To:
[email protected]
Date: Thu, 18 Apr 1996 21:29:20 +0800 (HKT)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi,
I'm going to add Data connectivity into my cross-platform GUI builder(It's
my final year project) and interested in using iODBC manager. In order to
demontrate this idea, I need a simple ODBC driver (maybe based on
Sybase or mSQL). I expect my simple ODBC driver can do some simple tasks
only like connecting database, simple queries, etc.
Are there any guide line for writing ODBC drivers for iODBC? Any help
will be appreciated.
--
-------------------------------------------------------------------------
Ko Kim Ho, Raymond | Email:
[email protected]
Computer Science Yr 3, HKUST | URL:
http://www.infolink.net/~sword
| PGP: finger
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07375-3@oink>;
Fri, 19 Apr 1996 16:31:41 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829902578:18982:2; Fri, 19 Apr 96 09:29:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa18573; 19 Apr 96 9:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id BAA03022 for dbi-users-real; Fri, 19 Apr 1996 01:18:56 -0700
Precedence: junk
Sender:
[email protected]
Received: from nic.transpac.net (nic.transpac.net [194.52.1.10])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA03018
for <
[email protected]>; Fri, 19 Apr 1996 01:18:54 -0700
Received: from www1 ([194.198.171.201]) by nic.transpac.net (8.6.9/8.6.9)
with SMTP id KAA28119 for <
[email protected]>;
Fri, 19 Apr 1996 10:20:17 +0200
Message-ID: <
[email protected]>
Date: Fri, 19 Apr 1996 10:19:31 +0200
From: Mikael Geijer <
[email protected]>
Organization: Guide Datakonsult
X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
MIME-Version: 1.0
To:
[email protected]
Subject: Oraperl transaction handling
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi!
Sorry if this is not the right fora, if not maybe someone can pinpoint
me somewhere else.
I have a question regarding the transaction handling in oraperl. I'm
running the per5.001 distribution.
The problem we're having is that a commit seems to be executed even if I
don't do an explicit rollback when exiting my program. If I turn
autocommit off and start a connection to the DB and do an insert and
then an exit, the transaction is commited. I wonder if an undef of the
connection forces a commit? If this is a correct behaviour maybe someone
could give an example on how you should handle an abend situatin in a
long transaction.
Any help i appreciated, I've tried to RTFM but haven't found anything so
far.
Regards
/Mikael
##########################################################################
#
# Who: Mikael Geijer, Guide Datakonsult AB
# What: PSAB, Svenska Torg
# Phone: +46 70 745 52 39, +46 8 750 47 75, +46 8 600 01 03
# Fax: +46 8 750 69 11
# Email:
[email protected]
# Snail: Kistag. 21 164 40 Kista Sweden
#
##########################################################################
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08231-8@oink>;
Fri, 19 Apr 1996 17:03:18 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829929487:21182:2; Fri, 19 Apr 96 16:58:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21028; 19 Apr 96 16:57 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA03505 for dbi-users-real; Fri, 19 Apr 1996 08:36:51 -0700
Precedence: junk
Sender:
[email protected]
Received: from eclipse.clarify.com (eclipse.clarify.com [204.7.240.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA03501
for <
[email protected]>; Fri, 19 Apr 1996 08:36:50 -0700
Received: (from smap@localhost) by eclipse.clarify.com (8.6.12/8.6.12)
id IAA03139 for <
[email protected]>;
Fri, 19 Apr 1996 08:52:19 -0700
Received: from clarify.clarify.com(130.130.84.1) by eclipse.clarify.com
via smap (V1.3) id sma003134; Fri Apr 19 08:52:15 1996
Received: from hqpo.clarify.com by clarify.com (4.1/SMI-4.1/jas9504290)
id AA25793; Fri, 19 Apr 96 08:44:54 PDT
Received: by hqpo.clarify.com with Microsoft Exchange (IMC 4.0.837.3)
id <
[email protected]>;
Fri, 19 Apr 1996 08:41:47 -0800
Message-Id: <c=US%a=_%p=Clarify%
[email protected]>
From: Dave Moellenhoff <
[email protected]>
To: 'dbi-users' <
[email protected]>,
'Mikael Geijer' <
[email protected]>
Subject: RE: Oraperl transaction handling
Date: Fri, 19 Apr 1996 08:38:21 -0800
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.837.3
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
p. 4-64 in the Programmer's Guide to ORACLE Call Interfaces, Version
7.0:
A COMMIT is automatically issued on a successful ologof (logoff) call;
all currently open cursors are closed. If a program logs off
unsuccessfully or terminates abnormally, all outstanding transactions
are rolled back.
This is the behavior of both OCI and Oracle applications like SQL*Plus.
If you are really worried, you can define your $lda from ora_login
globally and use an END { } block to do an ora_rollback(), although it
shouldn't be necessary.
-Dave
>----------
>From: Mikael Geijer[SMTP:
[email protected]]
>Sent: Friday, April 19, 1996 7:19 AM
>To: dbi-users
>Subject: Oraperl transaction handling
>
>Hi!
>Sorry if this is not the right fora, if not maybe someone can pinpoint
>me somewhere else.
>I have a question regarding the transaction handling in oraperl. I'm
>running the per5.001 distribution.
>The problem we're having is that a commit seems to be executed even if
>I
>don't do an explicit rollback when exiting my program. If I turn
>autocommit off and start a connection to the DB and do an insert and
>then an exit, the transaction is commited. I wonder if an undef of the
>connection forces a commit? If this is a correct behaviour maybe
>someone
>could give an example on how you should handle an abend situatin in a
>long transaction.
>
>Any help i appreciated, I've tried to RTFM but haven't found anything
>so
>far.
>
>Regards
>
>/Mikael
>
>########################################################################
>##
>#
># Who: Mikael Geijer, Guide Datakonsult AB
># What: PSAB, Svenska Torg
># Phone: +46 70 745 52 39, +46 8 750 47 75, +46 8 600 01 03
># Fax: +46 8 750 69 11
># Email:
[email protected]
># Snail: Kistag. 21 164 40 Kista Sweden
>#
>########################################################################
>##
>
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08764-0@oink>;
Fri, 19 Apr 1996 17:58:26 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 829932800:16661:0; Fri, 19 Apr 96 17:53:20 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa16165; 19 Apr 96 17:52 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa21284; 19 Apr 96 17:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA03679 for dbi-users-real; Fri, 19 Apr 1996 09:38:47 -0700
Precedence: junk
Sender:
[email protected]
Received: from flern.onramp.net (flern.onramp.net [199.1.138.40])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA03675
for <
[email protected]>; Fri, 19 Apr 1996 09:38:45 -0700
Received: (from turbo@localhost) by flern.onramp.net (8.7.4/8.7.4) id LAA17521;
Fri, 19 Apr 1996 11:34:04 -0500 (CDT)
From: Chris Turbeville <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: Static or dynamic Oraperl?
To: Tim Bunce <
[email protected]>
Date: Fri, 19 Apr 1996 11:34:04 -0500 (CDT)
Cc:
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Tim Bunce" at Mar 7, 96 12:27:52 pm
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
>
>
> > From:
[email protected] (Jake Donham)
> >
> > I've been using a statically linked Oraperl, on the theory that for CGI
> > scripts (where much of the execution time is in the interpreter startup) it
> > would be faster to avoid the dynamic link phase of the startup.
> >
> > Is this theory true or not? If not, why not?
>
> > From: Gary Evesson <
[email protected]>
> >
> > I tried both dynamically and statically linked versions and the dynamically
> > linked version is almost twice as slow to load as the statically linked version.
>
> Beware benchmarks but yes, dynamic linking is slightly slower in general.
>
> To cut a long story short I would recommend using static linking if
>
> startup time is critical
> or
> more than a couple of perl processes using DBD::Oracle are running
> and your dynamic DBD::Oracle extension was linked to static Oracle libs
> (7.2.? comes with a shared oracle library which fixes that problem)
>
> Otherwise I'd use dynamic.
>
> Tim.
I took this one step further and am undumping my static perl CGIs! I am
running into little errors here and there such as:
Can't locate DBI object method "DESTROY" via package "DBD::Oracle::dr"
during global destruction.
Callback called exit during global destruction.
I was wondering if there is anything I can do to help DBI and
DBD::Oracle know what is and isn't a static structure (ie don't destroy).
I get about another two times speed up. Also my main lag is in DBI and
DBD startup (not DB login or any queries) is there any work going on or
a place I should look at streamlining this overhead?
Thanks
-Chris
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15734-6@oink>;
Mon, 22 Apr 1996 07:17:45 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830069566:13168:1; Sun, 21 Apr 96 07:52:46 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa13083; 21 Apr 96 7:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id XAA08400 for dbi-users-real; Sat, 20 Apr 1996 23:36:05 -0700
Precedence: junk
Sender:
[email protected]
Received: from metronet.com (
[email protected] [192.245.137.1])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id XAA08396
for <
[email protected]>; Sat, 20 Apr 1996 23:36:02 -0700
Received: from metronet.com.hometown.com (hometown.com) by metronet.com
with SMTP id AA14211 (5.67a/IDA1.5hp for <
[email protected]>);
Sun, 21 Apr 1996 01:38:42 -0500
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: Sun, 21 Apr 1996 01:34:35 -0500
To:
[email protected]
From: Steve Livingston <
[email protected]>
Subject: DBD-0.29 "perl Makefile.PL" fails
DBI-0.68 installed OK.
DBD-0.29 "perl Makefile.PL" fails with:
------------------------------
% perl Makefile.PL
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or
later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
MakeMaker (v5.21)
Checking if your kit is complete...
Looks good
DEFINE => q[-Wall -pedantic -Wno-comment]
NAME => q[DBI]
VERSION_FROM => q[DBI.pm]
clean => { FILES=>q[$(DISTVNAME)/] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
PREOP=>q[$(MAKE) -f Makefile.old distdir] }
Could not open 'DBI.pm' (attribute VERSION_FROM): No such file or
directory at /private1/ctxweb/perl/lib/ExtUtils/MM_Unix.pm line 609.
------------------------------
It looks like the DBI installation files are in their proper places.
Installation: perl5.002 - installed with:
Configure -des -Dprefix=/private1/ctxweb/perl -Dcc=gcc
gcc-2.6.3
sparc/solaris 2.4
Oracle 7.3.1
Cheers,
Steve
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15734-15@oink>;
Mon, 22 Apr 1996 07:19:51 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830133385:19443:1; Mon, 22 Apr 96 01:36:25 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19161; 22 Apr 96 1:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id RAA09225 for dbi-users-real; Sun, 21 Apr 1996 17:25:35 -0700
Precedence: junk
Sender:
[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 RAA09221;
Sun, 21 Apr 1996 17:25:34 -0700
Received: from defiant.osf.org (defiant.osf.org [130.105.3.33])
by postman.osf.org (8.6.12/8.6.x) with SMTP id UAA22367;
Sun, 21 Apr 1996 20:27:52 -0400
Received: by defiant.osf.org (1.38.193.4/4.7) id AA24577;
Sun, 21 Apr 1996 20:27:50 -0400
Date: Sun, 21 Apr 1996 20:04:39 -0400 (EDT)
From: Doug MacEachern <
[email protected]>
Subject: Apache & DBI
To:
[email protected],
[email protected]
Message-Id: <
[email protected]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
I've put together an Apache authentication module that enables your Apache
server to authenticate against any database that has a DBI driver.
It embeds DBI and the driver of your choice, configured in .htaccess
files. I thought I'd run it by y'all, and let you test and comment before
I tell anyone else. Naturally, there are trade-offs and issues.
Performance is slower than text or DBM files, but, well, all those reasons
most commercial database engines cost $$$. Storing certain information in
htaccess may not safe, but this no different than any other DBI app. The
DBI and DBD::* modules may be in a place that the embedded interpreter
can't find on it's own, but you can add paths in .htaccess that get pushed
into @INC. Speaking of which, maybe Tim or someone else knows why
incpush() is not part of libperl.a? It's real handy for this type of
thing. You can grab what you need from:
http://www.osf.org/~dougm/perl/mod_auth_dbi.tar.gz
Let me know if you have any comments, problems, etc...
-Doug
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15546-63@oink>;
Mon, 22 Apr 1996 07:19:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830134481:25096:2; Mon, 22 Apr 96 01:54:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24822; 22 Apr 96 1:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id RAA09233 for dbi-dev-real; Sun, 21 Apr 1996 17:30:06 -0700
Precedence: junk
Sender:
[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 RAA09221;
Sun, 21 Apr 1996 17:25:34 -0700
Received: from defiant.osf.org (defiant.osf.org [130.105.3.33])
by postman.osf.org (8.6.12/8.6.x) with SMTP id UAA22367;
Sun, 21 Apr 1996 20:27:52 -0400
Received: by defiant.osf.org (1.38.193.4/4.7) id AA24577;
Sun, 21 Apr 1996 20:27:50 -0400
Date: Sun, 21 Apr 1996 20:04:39 -0400 (EDT)
From: Doug MacEachern <
[email protected]>
Subject: Apache & DBI
To:
[email protected],
[email protected]
Message-Id: <
[email protected]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
I've put together an Apache authentication module that enables your Apache
server to authenticate against any database that has a DBI driver.
It embeds DBI and the driver of your choice, configured in .htaccess
files. I thought I'd run it by y'all, and let you test and comment before
I tell anyone else. Naturally, there are trade-offs and issues.
Performance is slower than text or DBM files, but, well, all those reasons
most commercial database engines cost $$$. Storing certain information in
htaccess may not safe, but this no different than any other DBI app. The
DBI and DBD::* modules may be in a place that the embedded interpreter
can't find on it's own, but you can add paths in .htaccess that get pushed
into @INC. Speaking of which, maybe Tim or someone else knows why
incpush() is not part of libperl.a? It's real handy for this type of
thing. You can grab what you need from:
http://www.osf.org/~dougm/perl/mod_auth_dbi.tar.gz
Let me know if you have any comments, problems, etc...
-Doug
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23716-1@oink>;
Mon, 22 Apr 1996 20:05:55 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830190606:22416:3; Mon, 22 Apr 96 17:30:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa21978; 22 Apr 96 17:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA10129 for dbi-users-real; Mon, 22 Apr 1996 09:06:12 -0700
Precedence: junk
Sender:
[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 JAA10125
for <
[email protected]>; Mon, 22 Apr 1996 09:06:07 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id bd12461; 22 Apr 96 17:01 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aj10851; 22 Apr 96 16:35 +0100
Received: from toad by oink with SMTP (PP) id <22062-0@oink>;
Mon, 22 Apr 1996 15:28:35 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20911;
Mon, 22 Apr 1996 15:28:28 +0000
Date: Mon, 22 Apr 1996 15:28:28 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Apache & DBI
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1024
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Doug MacEachern <
[email protected]>
>
> I've put together an Apache authentication module that enables your Apache
> server to authenticate against any database that has a DBI driver.
Cute.
> It embeds DBI and the driver of your choice, configured in .htaccess
> files. I thought I'd run it by y'all, and let you test and comment before
> I tell anyone else. Naturally, there are trade-offs and issues.
> Performance is slower than text or DBM files, but, well, all those reasons
> most commercial database engines cost $$$.
Presumably you could cache the info in memory for a time.
> Storing certain information in
> .htaccess may not safe, but this no different than any other DBI app. The
> DBI and DBD::* modules may be in a place that the embedded interpreter
> can't find on it's own, but you can add paths in .htaccess that get pushed
> into @INC. Speaking of which, maybe Tim or someone else knows why
> incpush() is not part of libperl.a?
Umm. I'd recommend calling perl_eval("use lib ...").
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23716-10@oink>;
Mon, 22 Apr 1996 20:06:34 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830196212:26154:3; Mon, 22 Apr 96 19:03:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa25631; 22 Apr 96 19:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA10273 for dbi-users-real; Mon, 22 Apr 1996 10:53:23 -0700
Precedence: junk
Sender:
[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 KAA10269
for <
[email protected]>; Mon, 22 Apr 1996 10:53:18 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ai22782; 22 Apr 96 17:54 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ai10851; 22 Apr 96 16:35 +0100
Received: from toad by oink with SMTP (PP) id <22046-0@oink>;
Mon, 22 Apr 1996 15:21:00 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20889;
Mon, 22 Apr 1996 15:20:53 +0000
Date: Mon, 22 Apr 1996 15:20:53 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 744
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From:
[email protected] (Stephen Dahmen)
>
> Tim,
>
> I'm trying to use the DBI/DBD modules, and noticed that a lot of the features
> documented at the end don't seem to be in place. Is this true? I found it
> very confusing. Perhaps you could separate out what works and what is
> "hopeful" or in progress.
>
> Especially the error detection variables like $DBI::db_error and db_errstr.
Ooops, yes those were wrong in the docs. 'Fixed' in the next release.
> I eventually had to go to $DBD::Oracle::err. eeew. :)
$DBI::err etc should work. See the 'tie' statements at the top of DBI.pm.
> I've got v 1.48. Is there a newer one out?
Wow, that's clever. I've only got as far as 0.68! Perhaps you could
send me yours? :-)
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23718-2@oink>;
Mon, 22 Apr 1996 20:06:41 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830192837:00973:1; Mon, 22 Apr 96 18:07:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00309; 22 Apr 96 18:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA10197 for dbi-users-real; Mon, 22 Apr 1996 09:58:50 -0700
Precedence: junk
Sender:
[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 JAA10193
for <
[email protected]>; Mon, 22 Apr 1996 09:58:48 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa16174; 22 Apr 96 17:58 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ad10851; 22 Apr 96 16:34 +0100
Received: from toad by oink with SMTP (PP) id <21758-0@oink>;
Mon, 22 Apr 1996 14:29:26 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19125;
Mon, 22 Apr 1996 14:29:17 +0000
Date: Mon, 22 Apr 1996 14:29:17 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: DBD/DBI latest release (fwd)
X-Sun-Charset: US-ASCII
content-length: 650
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
----- Begin Included Message -----
From: Alligator Descartes <
[email protected]>
------------8<------------------8<--------------------
I know you may not be the right person to talk to, but I figure that you
know a whole heck of a lot more than me.
The ftp.demon.co.uk has the latest release of DBD/DBI, however, no one
can get them because only the root is allowed to read them. Could you
please direct this mail to whoever can help? A simple chmod +r * will
take care of the problem.
Thanks,
Jonathan
(
[email protected])
----- End Included Message -----
Now fixed (service provider problems). Sorry for the hassle.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <23718-9@oink>;
Mon, 22 Apr 1996 20:07:11 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830198432:22271:0; Mon, 22 Apr 96 19:40:32 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa21923; 22 Apr 96 19:39 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa09868; 22 Apr 96 19:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA10401 for dbi-users-real; Mon, 22 Apr 1996 11:31:27 -0700
Precedence: junk
Sender:
[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 LAA10397
for <
[email protected]>; Mon, 22 Apr 1996 11:31:21 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id cp22955; 22 Apr 96 18:21 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ah10851; 22 Apr 96 16:34 +0100
Received: from toad by oink with SMTP (PP) id <21968-0@oink>;
Mon, 22 Apr 1996 15:04:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA20319;
Mon, 22 Apr 1996 15:04:14 +0000
Date: Mon, 22 Apr 1996 15:04:14 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: Problem DBD on HP-UX 9.04 and Oracle 7.1.6
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1809
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Cyryl Balma <
[email protected]>
>
> HI Tim,
> My name is cyryl and I am trying to establish the communication between
> Perl5 (5.002b) and Oracle (7.1.6). I have downloaded the most recent
> versions of the DBI (0.68) and DBD (0.29) and have successfully
> installed and tested DBI.
> Nevertheless, I always the same problem during "make test" for DBD.
Please send messages to the dbi-users mailing list (see the README file).
> Command : perl Makefile.PL
>
> Configuring DBD::Oracle ...
>
> Using Oracle in /disc1/oracle/product/7.1.6
> Using /disc1/oracle/product/7.1.6/proc/lib/proc.mk version 1.17
> Warning: forced to build static not dynamic on hpux
> See README and Makefile.PL for more information.
Did you read this?
> System: perl5.002 hp-ux hera a.09.04 b 9000887 438396292 16-user license
> PA-RISC1.1 dl_hpux.xs
>
> Compiler: gcc -O -D_HPUX_SOURCE -I/usr/local/include
> Oracle proc.mk would have used these values but we override them:
> CC: gcc
> CFLAGS: -I. -O -Aa -D_HPUX_SOURCE +ESsfc +ESlit
> LDFLAGS: -Wl,-aarchive -L$(LIBHOME)
> gcc -L/usr/local/lib -Wl,-E -o perl ./perlmain.o
> /opt/perl5/lib/PA-RISC1.1/5.002/CORE/libperl
> .a /disc3/opt/perl5/lib/site_perl/PA-RISC1.1/auto/Tk/Tk.a
> /disc3/opt/perl5/lib/PA-RISC1.1/5.002/auto/
> DynaLoader/DynaLoader.a ./blib/arch/auto/DBD/Oracle/Oracle.a `cat
> ./blib/arch/auto/DBD/Oracle/extrali
> bs.all` -lnet -lndbm -lmalloc -ldld -lm -lc -lndir -lcrypt
> collect2: ld returned 1 exit status
> /bin/ld: Data Linkage Table (+z) overflow in file
> ./blib/arch/auto/DBD/Oracle/Oracle.a(Oracle.o) - use
> +Z option to recompile
> *** Error code 1
I don't know HPUX well, hopefully someone else on the list can help.
Meanwhile try building it using static linking (see the README).
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-11@oink>;
Mon, 22 Apr 1996 22:03:36 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830202603:11966:1; Mon, 22 Apr 96 20:50:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa11293; 22 Apr 96 20:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA10537 for dbi-users-real; Mon, 22 Apr 1996 12:42:23 -0700
Precedence: junk
Sender:
[email protected]
Received: from proxy.midamerican.com (
[email protected] [199.120.122.129])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA10533
for <
[email protected]>; Mon, 22 Apr 1996 12:42:17 -0700
Received: by proxy.midamerican.com; id OAA03355;
Mon, 22 Apr 1996 14:44:27 -0500 (CDT)
Received: from mailgate.midamerican.com(10.48.0.12) by proxy.midamerican.com
via smap (V3.1) id xma003352; Mon, 22 Apr 96 14:44:14 -0500
Received: by sic001.midamerican.com; Mon, 22 Apr 96 14:44:55 CDT
Date: Mon, 22 Apr 96 14:39:24 CDT
Message-ID: <vines.Pzb7+g,
[email protected]>
X-Priority: 3 (Normal)
To: dbi-users <
[email protected]>
From: kmacleod <
[email protected]> (Ken MacLeod)
Subject: Cancel INSTALLSITEARCH or INST_PM not defined correctly
X-Incognito-SN: 1127
X-Incognito-Format: VERSION=2.01a ENCRYPTED=NO
Definitely my misunderstanding of `MakeMaker'.
I found the answer reading the MakeMaker documentation, I must explicitly
set all of the `INSTALL*' variables on the `perl Makefile.PL' command line.
Apologies for not RTFMing the right docs :-). Of course, the answer would
pop out 10 minutes after hitting ``Send''.
-- Ken
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-13@oink>;
Mon, 22 Apr 1996 22:03:43 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830203108:17700:1; Mon, 22 Apr 96 20:58:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa16670; 22 Apr 96 20:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA10546 for dbi-users-real; Mon, 22 Apr 1996 12:48:56 -0700
Precedence: junk
Sender:
[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 MAA10542
for <
[email protected]>; Mon, 22 Apr 1996 12:48:51 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id bj25951; 22 Apr 96 20:33 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aj23605; 22 Apr 96 20:06 +0100
Received: from toad by oink with SMTP (PP) id <23431-0@oink>;
Mon, 22 Apr 1996 18:13:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA24998;
Mon, 22 Apr 1996 18:13:39 +0000
Date: Mon, 22 Apr 1996 18:13:39 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected],
[email protected]
Subject: RE: Oraperl transaction handling
X-Sun-Charset: US-ASCII
content-length: 697
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Dave Moellenhoff <
[email protected]>
>
> p. 4-64 in the Programmer's Guide to ORACLE Call Interfaces, Version
> 7.0:
> A COMMIT is automatically issued on a successful ologof (logoff) call;
> all currently open cursors are closed. If a program logs off
> unsuccessfully or terminates abnormally, all outstanding transactions
> are rolled back.
True, but the old "DBperl Spec" does state that DBperl would rollback any
uncommited transactions before disconnection.
I'm tempted to change DBD::Oracle but for the time being I'll just state
that the behaviour (from DBI's point of view) is undefined and if you're
concerned (which you should be) you should control it manually.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-1@oink>;
Mon, 22 Apr 1996 22:02:47 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830201094:24615:1; Mon, 22 Apr 96 20:24:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa23766; 22 Apr 96 20:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA10471 for dbi-users-real; Mon, 22 Apr 1996 12:15:20 -0700
Precedence: junk
Sender:
[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 MAA10467
for <
[email protected]>; Mon, 22 Apr 1996 12:15:17 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ae09673; 22 Apr 96 19:13 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ac23605; 22 Apr 96 20:06 +0100
Received: from toad by oink with SMTP (PP) id <22801-0@oink>;
Mon, 22 Apr 1996 17:12:27 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22745;
Mon, 22 Apr 1996 17:12:09 +0000
Date: Mon, 22 Apr 1996 17:12:09 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBD-0.29 "perl Makefile.PL" fails
X-Sun-Charset: US-ASCII
content-length: 1581
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Steve Livingston <
[email protected]>
> Subject: DBD-0.29 "perl Makefile.PL" fails
>
> DBI-0.68 installed OK.
>
> DBD-0.29 "perl Makefile.PL" fails with:
>
> ------------------------------
> % perl Makefile.PL
>
> Remember to actually *read* the README file!
>
> Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or
> later.
>
> DO NOT build the DBI under the Perl source tree.
>
> Use 'make test' to execute self tests.
>
> Install DBI (using 'make install' before building DBD::* drivers.
>
> MakeMaker (v5.21)
> Checking if your kit is complete...
> Looks good
> DEFINE => q[-Wall -pedantic -Wno-comment]
> NAME => q[DBI]
> VERSION_FROM => q[DBI.pm]
> clean => { FILES=>q[$(DISTVNAME)/] }
> dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
> PREOP=>q[$(MAKE) -f Makefile.old distdir] }
> Could not open 'DBI.pm' (attribute VERSION_FROM): No such file or
> directory at /private1/ctxweb/perl/lib/ExtUtils/MM_Unix.pm line 609.
> ------------------------------
>
> It looks like the DBI installation files are in their proper places.
>
> Installation: perl5.002 - installed with:
> Configure -des -Dprefix=/private1/ctxweb/perl -Dcc=gcc
> gcc-2.6.3
> sparc/solaris 2.4
> Oracle 7.3.1
That makes no sense. You say DBI installed OK and then you're trying to
build it again but saying that DBD-0.29 won't build. Check what you're
doing carefully. Use different directories for DBI and DBD-Oracle builds.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-4@oink>;
Mon, 22 Apr 1996 22:03:02 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830201681:01396:3; Mon, 22 Apr 96 20:34:41 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa01158; 22 Apr 96 20:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA10499 for dbi-users-real; Mon, 22 Apr 1996 12:28:12 -0700
Precedence: junk
Sender:
[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 MAA10495
for <
[email protected]>; Mon, 22 Apr 1996 12:28:05 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ad09999; 22 Apr 96 19:14 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aq23605; 22 Apr 96 20:07 +0100
Received: from toad by oink with SMTP (PP) id <23646-0@oink>;
Mon, 22 Apr 1996 19:49:13 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25212;
Mon, 22 Apr 1996 19:49:05 +0000
Date: Mon, 22 Apr 1996 19:49:05 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: UPDATEING Oracle Tables.
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1047
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
Forwarded to dbi-users.
----- Begin Included Message -----
From: avharbic <
[email protected]>
Sender:
[email protected]
Reply-To: avharbic <
[email protected]>
Subject: UPDATEING Oracle Tables.
To:
[email protected]
Hi Tim,
I have been using DBI/DBD:Oracle for a while now, and have run across a
problem. I am developing an interface with which users could update an Oracle
table. I tried two approaches (one as a result of the first failure).
First:
$cursor=$dbh->prepare("UPDATE TABLE SET FIELD='Value'");
$cursor->execute;
or
$value=$dbh->do("UPDATE TABLE SET FIELD='Value'");
Both of these hang when it tries to interact with the database i.e. when it
tries to do $cursor->execute.
Second:
I printed out an SQL statement to a file, and tried to execute that file as if
from the SQL> prompt using:
$value=$dbh->do("@/tmp/whatever/scriptname");
That successfully ran, but did nothing to change the table.
Am I in the ballpark? Should I do something else? Help me?
Andy
----- End Included Message -----
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-6@oink>;
Mon, 22 Apr 1996 22:03:10 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830201818:03206:2; Mon, 22 Apr 96 20:36:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa01866; 22 Apr 96 20:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA10490 for dbi-users-real; Mon, 22 Apr 1996 12:26:21 -0700
Precedence: junk
Sender:
[email protected]
Received: from proxy.midamerican.com (
[email protected] [199.120.122.129])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA10486
for <
[email protected]>; Mon, 22 Apr 1996 12:26:15 -0700
Received: by proxy.midamerican.com; id OAA03304;
Mon, 22 Apr 1996 14:26:57 -0500 (CDT)
Received: from mailgate.midamerican.com(10.48.0.12) by proxy.midamerican.com
via smap (V3.1) id xma003302; Mon, 22 Apr 96 14:26:46 -0500
Received: by sic001.midamerican.com; Mon, 22 Apr 96 14:27:27 CDT
Date: Mon, 22 Apr 96 12:56:20 CDT
Message-ID: <
[email protected]>
X-Priority: 3 (Normal)
To: dbi-users <
[email protected]>
From: kmacleod <
[email protected]> (Ken MacLeod)
Subject: INSTALLSITEARCH or INST_PM not defined correctly in Makefile
X-Incognito-SN: 1127
X-Incognito-Format: VERSION=2.01a ENCRYPTED=NO
This is my first Perl extension using `MakeMaker' so it's probably my
misunderstanding and not a problem with DBI.
DBI-0.68, Perl5.002 (installed in /usr/local), Solaris 2.4
A note on the Perl build, Perl was built according to the ``Changing the
installation directory'' section in Perl's `INSTALL' file (Perl was
``installed'' into a temporary directory, then tarred, then untarred in
it's final directory).
I'm building DBI under my home directory (~/isrc/DBI-0.68) as myself,
perl Makefile.PL
make
and get an error, apparently attempting to create/touch a file under `/usr'
(PREFIX) rather than locally (under `blib'?). The error is:
make: Fatal error: Command failed for target
`/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/.exists'
I ran a `make -d' to get the dependancy list and `/usr/...' is being built
because it is out of date relative to `DBIXS.h'. I tracked down the
dependancy in the `Makefile', and `all' depends on `$(INST_PM)', and
`$(INST_PM)' is defined:
INST_PM = $(INSTALLSITEARCH)/DBI/DBIXS.h \
$(INST_LIB)/DBD/ExampleP.pm \
$(INST_LIB)/DBD/NullP.pm \
$(INST_LIB)/DBD/Sponge.pm \
$(INST_LIBDIR)/DBI.pm
then `$(INSTALLSITEARCH)', unlike the rest of the `INSTALL*' variables is
defined:
INSTALLDIRS = site
INSTALLPRIVLIB = /home/ken/isrc/perl5.002/tmp/lib/perl5
INSTALLARCHLIB =
/home/ken/isrc/perl5.002/tmp/lib/perl5/sun4-solaris/5.002
INSTALLSITELIB = /home/ken/isrc/perl5.002/tmp/lib/perl5/site_perl
INSTALLSITEARCH = $(PREFIX)/lib/perl5/site_perl/sun4-solaris
I can change `INSTALLSITEARCH' to be like the others and it works, but I
can't track this back to `Makefile.PL' to figure out why either `INST_PM'
or `INSTALLSITEARCH' is wrong. It's very possible this is related to using
the ``temporary installation directory'' Perl-install method.
uh... help? :-)
-- Ken
------------------ log of build --------------------
+ perl Makefile.PL
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
WARNING! By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you MUST delete old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.
MakeMaker (v5.21)
Checking if your kit is complete...
Looks good
DEFINE => q[-Wall -pedantic -Wno-comment]
NAME => q[DBI]
VERSION_FROM => q[DBI.pm]
clean => { FILES=>q[$(DISTVNAME)/] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
PREOP=>q[$(MAKE) -f Makefile.old distdir] }
DBI VERSION is 0.68 (from DBI.pm)
Using PERL=/usr/bin/perl
Writing Makefile for DBI
+ make
Permission denied at -e line 4.
*** Error code 13
make: Fatal error: Command failed for target
`/usr/local/lib/perl5/site_perl/sun4-solaris/DBI/.exists'
------------------ perl -V --------------------
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=solaris, osver=2.4, archname=sun4-solaris
uname='sunos sic200 5.4 generic_101945-34 sun4m sparc '
hint=recommended, useposix=true
Compiler:
cc='gcc', optimize='-O', gccversion=2.7.2
cppflags=''
ccflags =''
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib'
libpth=/usr/local/lib /opt/gnu/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'
@INC: /usr/local/lib/perl5/sun4-solaris/5.002 /usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/sun4-solaris .
------------------ make -d --------------------
MAKEFLAGS value:
Building config because it is out of date relative to Makefile
Building blib/lib/.exists because it is out of date relative to
/usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h
Building config because it is out of date relative to
blib/lib/.exists
Target config rebuilt because dependency 0@config does not exist
Building blib/arch/auto/DBI/.exists because it is out of date
relative to /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h
Building config because it is out of date relative to
blib/arch/auto/DBI/.exists
Target config rebuilt because dependency 1@config does not exist
Building blib/lib/auto/DBI/.exists because it is out of date
relative to /usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h
Building config because it is out of date relative to
blib/lib/auto/DBI/.exists
Target config rebuilt because dependency 2@config does not exist
Building config because Version_check does not exist
Target config rebuilt because dependency 3@config does not exist
Building all because config does not exist
Building /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h
because it is out of date relative to DBIXS.h
Building /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/DBIXS.h
because it is out of date relative to Makefile
Building /usr/local/lib/perl5/site_perl/sun4-solaris/DBI/.exists
because it is out of date relative to
/usr/local/lib/perl5/sun4-solaris/5.002/CORE/perl.h
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-8@oink>;
Mon, 22 Apr 1996 22:03:24 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830201826:03218:3; Mon, 22 Apr 96 20:37:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa02686; 22 Apr 96 20:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA10510 for dbi-users-real; Mon, 22 Apr 1996 12:29:52 -0700
Precedence: junk
Sender:
[email protected]
Received: from mailbox.osf.org (mailbox.osf.org [130.105.1.8])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA10506
for <
[email protected]>; Mon, 22 Apr 1996 12:29:49 -0700
Received: from gandalf (gandalf [130.105.3.186])
by mailbox.osf.org (8.6.12/8.6.x) with SMTP id PAA00948;
Mon, 22 Apr 1996 15:31:48 -0400
Date: Mon, 22 Apr 1996 15:31:48 -0400
Message-Id: <
[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: Tim Bunce <
[email protected]>,
[email protected]
From:
[email protected] (Doug MacEachern)
Subject: Re: Apache & DBI
Cc:
[email protected]
At 03:28 PM 4/22/96 +0000, Tim Bunce wrote:
>
>> From: Doug MacEachern <
[email protected]>
>>
>> I've put together an Apache authentication module that enables your Apache
>> server to authenticate against any database that has a DBI driver.
>
>Cute.
>
>> It embeds DBI and the driver of your choice, configured in .htaccess
>> files. I thought I'd run it by y'all, and let you test and comment before
>> I tell anyone else. Naturally, there are trade-offs and issues.
>> Performance is slower than text or DBM files, but, well, all those reasons
>> most commercial database engines cost $$$.
>
>Presumably you could cache the info in memory for a time.
This is possible, I just need to find the right place to store it.
>
>> Storing certain information in
>> .htaccess may not safe, but this no different than any other DBI app. The
>> DBI and DBD::* modules may be in a place that the embedded interpreter
>> can't find on it's own, but you can add paths in .htaccess that get pushed
>> into @INC. Speaking of which, maybe Tim or someone else knows why
>> incpush() is not part of libperl.a?
>
>Umm. I'd recommend calling perl_eval("use lib ...").
Well, that's what I was trying to avoid. It's just a little cleaner in this
case to use incpush(). perl_require_pv() is there, who I think is lonely
without his friend incpush() to help him find his way around. No matter,
the outcome is the same in either case.
-Doug
>
>Tim.
>
>
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-16@oink>;
Mon, 22 Apr 1996 22:03:53 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830203859:26772:2; Mon, 22 Apr 96 21:10:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa25507; 22 Apr 96 21:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA10585 for dbi-users-real; Mon, 22 Apr 1996 13:02:31 -0700
Precedence: junk
Sender:
[email protected]
Received: from obscure.org (
[email protected] [204.192.122.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10571;
Mon, 22 Apr 1996 13:01:47 -0700
Received: (from rbulling@localhost) by obscure.org (8.6.12/8.6.9) id QAA07563;
Mon, 22 Apr 1996 16:04:25 -0400
Date: Mon, 22 Apr 1996 16:04:23 -0400 (EDT)
From: Richard Bullington <
[email protected]>
To: Doug MacEachern <
[email protected]>
cc:
[email protected],
[email protected]
Subject: Re: Apache & DBI
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sun, 21 Apr 1996, Doug MacEachern wrote:
> I've put together an Apache authentication module that enables your Apache
> server to authenticate against any database that has a DBI driver.
Wow. I read the code, and found it short and sweet. It gives me a much
better idea of how to integrate Perl and Apache (a general purpose Perl
interpreter embedded in Apache itself would be a Good Thing, IMHO.)
But, as you say...
> Naturally, there are trade-offs and issues.
> Performance is slower than text or DBM files, but, well, all those reasons
> most commercial database engines cost $$$.
I have found in my database->perl experiences (mostly Msqlperl) that the
connection to the database engine is the real time killer. Once the
connection is up, the queries fly.
What about the following situation:
Somehow, get the Perl program running at Web server process initialization
time, and do the DBI database connection there. That way, the preforked
server already is connected, and can issue queries quickly. When the
server receives a request for authentication, perform the query against
the already-connected database.
I don't know enough about embedding perl yet to know if this is practical
(call some functions in a perl program from C, have the perl functions
return, and then call other functions in the same running perl process
later on).
My holy grail right now is to get a general-purpose Perl integrated into
Apache with Perl opening a DBI database connection at server startup.
-Richard
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24608-10@oink>;
Mon, 22 Apr 1996 22:11:22 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830202218:26892:1; Mon, 22 Apr 96 20:43:38 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26385; 22 Apr 96 20:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA10522 for dbi-users-real; Mon, 22 Apr 1996 12:36:38 -0700
Precedence: junk
Sender:
[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 MAA10518
for <
[email protected]>; Mon, 22 Apr 1996 12:36:32 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ah10465; 22 Apr 96 19:18 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ap23605; 22 Apr 96 20:06 +0100
Received: from toad by oink with SMTP (PP) id <23630-0@oink>;
Mon, 22 Apr 1996 19:44:46 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25200;
Mon, 22 Apr 1996 19:44:38 +0000
Date: Mon, 22 Apr 1996 19:44:38 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: Static or dynamic Oraperl?
Cc:
[email protected],
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1310
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Chris Turbeville <
[email protected]>
>
> > To cut a long story short I would recommend using static linking if
> >
> > startup time is critical
> > or
> > more than a couple of perl processes using DBD::Oracle are running
> > and your dynamic DBD::Oracle extension was linked to static Oracle libs
> > (7.2.? comes with a shared oracle library which fixes that problem)
> >
> > Otherwise I'd use dynamic.
> I took this one step further and am undumping my static perl CGIs! I am
> running into little errors here and there such as:
> Can't locate DBI object method "DESTROY" via package "DBD::Oracle::dr"
> during global destruction.
> Callback called exit during global destruction.
>
> I was wondering if there is anything I can do to help DBI and
> DBD::Oracle know what is and isn't a static structure (ie don't destroy).
> I get about another two times speed up. Also my main lag is in DBI and
> DBD startup (not DB login or any queries) is there any work going on or
> a place I should look at streamlining this overhead?
Static vs Dynamic should make _no_ difference at all.
Try building perl with -DDEBUGGING and use perl -Do to trace object
method lookups to see when/why DESTROY is being called and how perl
is trying to find the method through the @ISA tree.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-18@oink>;
Mon, 22 Apr 1996 22:04:02 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830203865:26774:3; Mon, 22 Apr 96 21:11:05 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa25542; 22 Apr 96 21:09 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA10576 for dbi-users-real; Mon, 22 Apr 1996 13:01:51 -0700
Precedence: junk
Sender:
[email protected]
Received: from mail.ton.tut.fi (mylly.ton.tut.fi [193.166.80.16])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10572
for <
[email protected]>; Mon, 22 Apr 1996 13:01:48 -0700
Received: from mylly.ton.tut.fi (mylly.ton.tut.fi [193.166.80.16])
by mail.ton.tut.fi (8.7.3/8.7.3) with SMTP id XAA06644
for <
[email protected]>; Mon, 22 Apr 1996 23:04:40 +0300 (EET DST)
Date: Mon, 22 Apr 1996 23:04:39 +0300 (EET DST)
From: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <
[email protected]>
To:
[email protected]
Subject: udt2ndt & ndt2udt?
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello, I am using DBI-0.68 and DBD-Oracle-0.29 on a Sun SS20
with Solaris 2.5, perl 5.002 release, and Oracle 7.1.6.2.0 server.
Regarding the documentation I've found, I should be able to
write code like this:
require "timelocal.pl";
use DBI;
$drh = DBI->install_driver('Oracle');
$dbh = $drh->connect("orcl", "www_demo", "looser");
# I got these values from somewhere...
@timearr = ($sec, $min, $hour, $day, $monthnum{$month}, $year - 1900);
$mytime = &timelocal(@timearr);
$oratime = $dbh->udt2ndt($mytime);
I cannot find the date/time conversion function udt2ndt. I also
tried to use $drh-> as well as $dbh-> as the handle to find the
correct method with no success.
Do we have a function to convert native time_t into Oracle time?
I definitely need one second accuracy, date only is not sufficient.
// sjm
"Microsoft Responds to Netscape Misinformation
NETSCAPE'S WEB SERVER SOLUTIONS FALL SHORT
Netscape ships pieces of their product line across
a confusing array of operating system platforms."
-
http://www.microsoft.com/InfoServ/response.htm
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24487-23@oink>;
Mon, 22 Apr 1996 22:04:27 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830205567:17321:6; Mon, 22 Apr 96 21:39:27 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa17180; 22 Apr 96 21:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA10580 for dbi-dev-real; Mon, 22 Apr 1996 13:02:03 -0700
Precedence: junk
Sender:
[email protected]
Received: from obscure.org (
[email protected] [204.192.122.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10571;
Mon, 22 Apr 1996 13:01:47 -0700
Received: (from rbulling@localhost) by obscure.org (8.6.12/8.6.9) id QAA07563;
Mon, 22 Apr 1996 16:04:25 -0400
Date: Mon, 22 Apr 1996 16:04:23 -0400 (EDT)
From: Richard Bullington <
[email protected]>
To: Doug MacEachern <
[email protected]>
cc:
[email protected],
[email protected]
Subject: Re: Apache & DBI
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sun, 21 Apr 1996, Doug MacEachern wrote:
> I've put together an Apache authentication module that enables your Apache
> server to authenticate against any database that has a DBI driver.
Wow. I read the code, and found it short and sweet. It gives me a much
better idea of how to integrate Perl and Apache (a general purpose Perl
interpreter embedded in Apache itself would be a Good Thing, IMHO.)
But, as you say...
> Naturally, there are trade-offs and issues.
> Performance is slower than text or DBM files, but, well, all those reasons
> most commercial database engines cost $$$.
I have found in my database->perl experiences (mostly Msqlperl) that the
connection to the database engine is the real time killer. Once the
connection is up, the queries fly.
What about the following situation:
Somehow, get the Perl program running at Web server process initialization
time, and do the DBI database connection there. That way, the preforked
server already is connected, and can issue queries quickly. When the
server receives a request for authentication, perform the query against
the already-connected database.
I don't know enough about embedding perl yet to know if this is practical
(call some functions in a perl program from C, have the perl functions
return, and then call other functions in the same running perl process
later on).
My holy grail right now is to get a general-purpose Perl integrated into
Apache with Perl opening a DBI database connection at server startup.
-Richard
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24608-36@oink>;
Mon, 22 Apr 1996 22:13:35 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830206597:07293:0; Mon, 22 Apr 96 21:56:37 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa06849; 22 Apr 96 21:55 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa08523; 22 Apr 96 21:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA10712 for dbi-users-real; Mon, 22 Apr 1996 13:41:18 -0700
Precedence: junk
Sender:
[email protected]
Received: from mailbox.osf.org (mailbox.osf.org [130.105.1.8])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10708;
Mon, 22 Apr 1996 13:41:08 -0700
Received: from gandalf (gandalf [130.105.3.186])
by mailbox.osf.org (8.6.12/8.6.x) with SMTP id QAA01377;
Mon, 22 Apr 1996 16:43:21 -0400
Date: Mon, 22 Apr 1996 16:43:21 -0400
Message-Id: <
[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: Richard Bullington <
[email protected]>
From: Doug MacEachern <
[email protected]>
Subject: Re: Apache & DBI
Cc:
[email protected],
[email protected]
At 04:04 PM 4/22/96 -0400, Richard Bullington wrote:
>On Sun, 21 Apr 1996, Doug MacEachern wrote:
>
>> I've put together an Apache authentication module that enables your Apache
>> server to authenticate against any database that has a DBI driver.
>
>Wow. I read the code, and found it short and sweet. It gives me a much
>better idea of how to integrate Perl and Apache (a general purpose Perl
>interpreter embedded in Apache itself would be a Good Thing, IMHO.)
Yes, this in the works.
>
>But, as you say...
>
>> Naturally, there are trade-offs and issues.
>> Performance is slower than text or DBM files, but, well, all those reasons
>> most commercial database engines cost $$$.
>
>I have found in my database->perl experiences (mostly Msqlperl) that the
>connection to the database engine is the real time killer. Once the
>connection is up, the queries fly.
>
>What about the following situation:
>
>Somehow, get the Perl program running at Web server process initialization
>time, and do the DBI database connection there. That way, the preforked
>server already is connected, and can issue queries quickly. When the
>server receives a request for authentication, perform the query against
>the already-connected database.
I am thinking of ways to do this, but I still need to learn more about
Apache and it's API.
>
>I don't know enough about embedding perl yet to know if this is practical
>(call some functions in a perl program from C, have the perl functions
>return, and then call other functions in the same running perl process
>later on).
I have this working in a filtering proxy server written in C that parses and
runs all of your Perl code when it starts, at which time you can open a
persistent DBI connection. Then, a subroutine is perl_call_*'ed to handle
each request.
>
>My holy grail right now is to get a general-purpose Perl integrated into
>Apache with Perl opening a DBI database connection at server startup.
The module I mentioned that is in the works creates a new interpreter object
and parses your script for each request, in which case this would not work.
But, I'm not saying it can't be done.
-Doug
>
> -Richard
>
>
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <24765-0@oink>;
Mon, 22 Apr 1996 23:16:05 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830208162:18591:1; Mon, 22 Apr 96 22:22:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa17986; 22 Apr 96 22:21 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA10721 for dbi-dev-real; Mon, 22 Apr 1996 13:43:37 -0700
Precedence: junk
Sender:
[email protected]
Received: from mailbox.osf.org (mailbox.osf.org [130.105.1.8])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA10708;
Mon, 22 Apr 1996 13:41:08 -0700
Received: from gandalf (gandalf [130.105.3.186])
by mailbox.osf.org (8.6.12/8.6.x) with SMTP id QAA01377;
Mon, 22 Apr 1996 16:43:21 -0400
Date: Mon, 22 Apr 1996 16:43:21 -0400
Message-Id: <
[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: Richard Bullington <
[email protected]>
From:
[email protected] (Doug MacEachern)
Subject: Re: Apache & DBI
Cc:
[email protected],
[email protected]
At 04:04 PM 4/22/96 -0400, Richard Bullington wrote:
>On Sun, 21 Apr 1996, Doug MacEachern wrote:
>
>> I've put together an Apache authentication module that enables your Apache
>> server to authenticate against any database that has a DBI driver.
>
>Wow. I read the code, and found it short and sweet. It gives me a much
>better idea of how to integrate Perl and Apache (a general purpose Perl
>interpreter embedded in Apache itself would be a Good Thing, IMHO.)
Yes, this in the works.
>
>But, as you say...
>
>> Naturally, there are trade-offs and issues.
>> Performance is slower than text or DBM files, but, well, all those reasons
>> most commercial database engines cost $$$.
>
>I have found in my database->perl experiences (mostly Msqlperl) that the
>connection to the database engine is the real time killer. Once the
>connection is up, the queries fly.
>
>What about the following situation:
>
>Somehow, get the Perl program running at Web server process initialization
>time, and do the DBI database connection there. That way, the preforked
>server already is connected, and can issue queries quickly. When the
>server receives a request for authentication, perform the query against
>the already-connected database.
I am thinking of ways to do this, but I still need to learn more about
Apache and it's API.
>
>I don't know enough about embedding perl yet to know if this is practical
>(call some functions in a perl program from C, have the perl functions
>return, and then call other functions in the same running perl process
>later on).
I have this working in a filtering proxy server written in C that parses and
runs all of your Perl code when it starts, at which time you can open a
persistent DBI connection. Then, a subroutine is perl_call_*'ed to handle
each request.
>
>My holy grail right now is to get a general-purpose Perl integrated into
>Apache with Perl opening a DBI database connection at server startup.
The module I mentioned that is in the works creates a new interpreter object
and parses your script for each request, in which case this would not work.
But, I'm not saying it can't be done.
-Doug
>
> -Richard
>
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28620-2@oink>;
Tue, 23 Apr 1996 06:01:41 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830234036:00619:1; Tue, 23 Apr 96 05:33:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00404; 23 Apr 96 5:32 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id VAA11345 for dbi-users-real; Mon, 22 Apr 1996 21:24:46 -0700
Precedence: junk
Sender:
[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 VAA11341
for <
[email protected]>; Mon, 22 Apr 1996 21:24:44 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa05293; 23 Apr 96 5:27 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab27001; 23 Apr 96 5:13 +0100
Received: from toad by oink with SMTP (PP) id <24635-0@oink>;
Mon, 22 Apr 1996 22:15:31 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25723;
Mon, 22 Apr 1996 22:15:24 +0000
Date: Mon, 22 Apr 1996 22:15:24 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Apache & DBI
X-Sun-Charset: US-ASCII
content-length: 771
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From:
[email protected] (Doug MacEachern)
>
> >> Speaking of which, maybe Tim or someone else knows why
> >> incpush() is not part of libperl.a?
> >
> >Umm. I'd recommend calling perl_eval("use lib ...").
>
> Well, that's what I was trying to avoid. It's just a little cleaner in this
> case to use incpush(). perl_require_pv() is there, who I think is lonely
> without his friend incpush() to help him find his way around. No matter,
> the outcome is the same in either case.
Well 'use lib ...' is the 'right way' for perl scripts to do it and so
will always be a valid way for internals work. The 'use lib ...' approach
also automatically handles the architecture specific libraries.
It might not be the fastest way but I'm assuming you'll only do it once.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28620-5@oink>;
Tue, 23 Apr 1996 06:01:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830234046:00610:3; Tue, 23 Apr 96 05:34:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00415; 23 Apr 96 5:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id VAA11351 for dbi-users-real; Mon, 22 Apr 1996 21:25:40 -0700
Precedence: junk
Sender:
[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 VAA11347
for <
[email protected]>; Mon, 22 Apr 1996 21:25:38 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa05310; 23 Apr 96 5:28 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae27001; 23 Apr 96 5:13 +0100
Received: from toad by oink with SMTP (PP) id <24670-0@oink>;
Mon, 22 Apr 1996 22:30:18 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25762;
Mon, 22 Apr 1996 22:30:11 +0000
Date: Mon, 22 Apr 1996 22:30:11 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: INSTALLSITEARCH or INST_PM not defined correctly in Makefile
X-Sun-Charset: US-ASCII
content-length: 475
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: kmacleod <
[email protected]> (Ken MacLeod)
>
> A note on the Perl build, Perl was built according to the ``Changing the
> installation directory'' section in Perl's `INSTALL' file (Perl was
> ``installed'' into a temporary directory, then tarred, then untarred in
> it's final directory).
Don't do that! It's wrong and will cause you lots of grief.
Perl has those paths built in.
Rebuild and reinstall perl directly into it's final resting place.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29906-2@oink>;
Tue, 23 Apr 1996 07:57:17 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830242595:11419:2; Tue, 23 Apr 96 07:56:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa11104; 23 Apr 96 7:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id XAA11510 for dbi-users-real; Mon, 22 Apr 1996 23:49:42 -0700
Precedence: junk
Sender:
[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 XAA11497;
Mon, 22 Apr 1996 23:44:58 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ac07731; 23 Apr 96 6:47 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id af27001; 23 Apr 96 5:13 +0100
Received: from toad by oink with SMTP (PP) id <24680-0@oink>;
Mon, 22 Apr 1996 22:39:29 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25783;
Mon, 22 Apr 1996 22:39:22 +0000
Date: Mon, 22 Apr 1996 22:39:22 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: udt2ndt & ndt2udt?
Cc:
[email protected],
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1130
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <
[email protected]>
>
> $oratime = $dbh->udt2ndt($mytime);
>
> I cannot find the date/time conversion function udt2ndt. I also
> tried to use $drh-> as well as $dbh-> as the handle to find the
> correct method with no success.
You have the (sadly very common) idea that the "DBperl Spec" is
closely related to the DBI interface. That's not true.
The "DBperl Spec" is of historical interest only. It's at least
a couple of years old. The DBI WWW pages should make that clear
(I've not checked if they do yet, CC'd to Alligator).
The only "documentation" (if you want to call it that) is at the
end of the DBI.pm file, and even that's not always accurate.
Sorry.
This situation will continue till the ODBC support is added
(don't ask when).
The only fully documented and supported stable interface is the
Oraperl emulation supplied with DBD::Oracle. Use 'perldoc Oraperl'
to read it. All else is liable to change.
On the up side I'll be doing more work on DBD::Oracle in the next
month or so. A row cache will probably be added and Oraperl may
officially be 'released'.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29933-0@oink>;
Tue, 23 Apr 1996 08:03:18 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830242667:11894:1; Tue, 23 Apr 96 07:57:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa11514; 23 Apr 96 7:56 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id XAA11521 for dbi-users-real; Mon, 22 Apr 1996 23:51:52 -0700
Precedence: junk
Sender:
[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 XAA11517
for <
[email protected]>; Mon, 22 Apr 1996 23:51:50 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa15913; 23 Apr 96 7:54 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa13538; 23 Apr 96 7:54 +0100
Received: from toad by oink with SMTP (PP) id <29883-0@oink>;
Tue, 23 Apr 1996 07:53:53 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27735;
Tue, 23 Apr 1996 07:53:46 +0000
Date: Tue, 23 Apr 1996 07:53:46 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: Problem DBD on HP-UX 9.04 and Oracle 7.1.6
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 606
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Cyryl Balma <
[email protected]>
>
> Hi Tim,
>
> Yesterday, I solved my problem:
> After several unlucky tests on my system, (always the same error), I
> decided to desinstall on the perl package (perl, DBD/DBI) and to
> reinstalled the following package:
> - perl 5.002 (test and compilation ok with the dynamic librairies)
> - DBI 0.68 (test and installation ok)
> - DBD 0.29 Oracle (test and installation ok)
> - Configuraton of the variable TNS_ADMIN
> After many tests on my database, it's working fine and you know what : I
> am very happy!!!!
Great. Thanks for letting me know.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <29933-2@oink>;
Tue, 23 Apr 1996 08:03:28 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830242747:12268:4; Tue, 23 Apr 96 07:59:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa12221; 23 Apr 96 7:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id XAA11501 for dbi-announce-real; Mon, 22 Apr 1996 23:45:01 -0700
Precedence: junk
Sender:
[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 XAA11497;
Mon, 22 Apr 1996 23:44:58 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ac07731; 23 Apr 96 6:47 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id af27001; 23 Apr 96 5:13 +0100
Received: from toad by oink with SMTP (PP) id <24680-0@oink>;
Mon, 22 Apr 1996 22:39:29 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA25783;
Mon, 22 Apr 1996 22:39:22 +0000
Date: Mon, 22 Apr 1996 22:39:22 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: udt2ndt & ndt2udt?
Cc:
[email protected],
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1130
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: =?ISO-8859-1?Q?Sami_J=2E_M=E4kinen?= <
[email protected]>
>
> $oratime = $dbh->udt2ndt($mytime);
>
> I cannot find the date/time conversion function udt2ndt. I also
> tried to use $drh-> as well as $dbh-> as the handle to find the
> correct method with no success.
You have the (sadly very common) idea that the "DBperl Spec" is
closely related to the DBI interface. That's not true.
The "DBperl Spec" is of historical interest only. It's at least
a couple of years old. The DBI WWW pages should make that clear
(I've not checked if they do yet, CC'd to Alligator).
The only "documentation" (if you want to call it that) is at the
end of the DBI.pm file, and even that's not always accurate.
Sorry.
This situation will continue till the ODBC support is added
(don't ask when).
The only fully documented and supported stable interface is the
Oraperl emulation supplied with DBD::Oracle. Use 'perldoc Oraperl'
to read it. All else is liable to change.
On the up side I'll be doing more work on DBD::Oracle in the next
month or so. A row cache will probably be added and Oraperl may
officially be 'released'.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00664-4@oink>;
Tue, 23 Apr 1996 08:36:20 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830244179:21092:5; Tue, 23 Apr 96 08:22:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21035; 23 Apr 96 8:22 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id AAA11561 for dbi-users-real; Tue, 23 Apr 1996 00:17:45 -0700
Precedence: junk
Sender:
[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 AAA11557
for <
[email protected]>; Tue, 23 Apr 1996 00:17:43 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa18017; 23 Apr 96 8:20 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa11359; 23 Apr 96 7:42 +0100
Received: from toad by oink with SMTP (PP) id <29708-0@oink>;
Tue, 23 Apr 1996 07:41:37 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27665;
Tue, 23 Apr 1996 07:41:25 +0000
Date: Tue, 23 Apr 1996 07:41:25 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: $DBI::errstr
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1909
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Alligator Descartes <
[email protected]>
> Tim, has the functionality of this changed at all on DBI-0.68?
> Or is there a known problem with it under DBD::Oracle-0.29.
>
> I tried the following under perl5.002delta and the above combo.
>
> use DBI;
> $drh = DBI->install_driver( 'Oracle' ) || die "Cannot load driver: $!\n";
> $dbh = $drh->connect( 'DBASE', 'BLAH', 'BLAH' );
> if ( !defined $dbh ) {
> print "Error: $DBI::errstr\n";
> }
> $dbh->disconnect;
>
> Excuse the use of $drh->DBI......8-) The connect is set to fail.
>
> Reports:
>
> Can't read $DBI::errstr, lost last handle at test.pl line 4.
> Error:
Here's the fix. Apply to DBI.xs:
***************
*** 53,58 ****
--- 53,59 ----
#define IMA_KEEP_ERR 0x0004 /* don't reset err & errstr */
#define DBI_LAST_HANDLE dbi_last_h /* special fake inner handle */
+ #define DBI_LAST_HANDLE_PARENT (DBIc_PARENT_H(DBIh_COM(DBI_LAST_HANDLE)))
#define DBI_IS_LAST_HANDLE(h) (SvRVx(DBI_LAST_HANDLE) == SvRV(h))
#define DBI_SET_LAST_HANDLE(h) (SvRVx(DBI_LAST_HANDLE) = SvRV(h))
#define DBI_UNSET_LAST_HANDLE (SvRVx(DBI_LAST_HANDLE) = &sv_undef)
***************
*** 836,843 ****
/* record this inner handle for use by DBI::var::FETCH */
if (is_destroy) { /* we use devious means here... */
! if (DBI_IS_LAST_HANDLE(h))
! DBI_UNSET_LAST_HANDLE; /* if destroying _this_ handle */
/* otherwise don't alter it */
}
else DBI_SET_LAST_HANDLE(h);
--- 837,846 ----
/* record this inner handle for use by DBI::var::FETCH */
if (is_destroy) { /* we use devious means here... */
! if (DBI_IS_LAST_HANDLE(h)) { /* if destroying _this_ handle */
! SV *lhp = DBI_LAST_HANDLE_PARENT;
! (SvROK(lhp)) ? DBI_SET_LAST_HANDLE(lhp) : DBI_UNSET_LAST_HANDLE;
! }
/* otherwise don't alter it */
}
else DBI_SET_LAST_HANDLE(h);
It'll be in the next release.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <00839-4@oink>;
Tue, 23 Apr 1996 09:01:09 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830245684:01140:2; Tue, 23 Apr 96 08:48:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00967; 23 Apr 96 8:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id AAA11590 for dbi-users-real; Tue, 23 Apr 1996 00:41:31 -0700
Precedence: junk
Sender:
[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 AAA11586
for <
[email protected]>; Tue, 23 Apr 1996 00:41:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ac22377; 23 Apr 96 7:44 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa21628; 23 Apr 96 8:36 +0100
Received: from toad by oink with SMTP (PP) id <00628-0@oink>;
Tue, 23 Apr 1996 08:30:34 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA27867;
Tue, 23 Apr 1996 08:30:28 +0000
Date: Tue, 23 Apr 1996 08:30:28 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Memory Leak
X-Sun-Charset: US-ASCII
content-length: 1061
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> To:
[email protected]
>
> Has anyone noticed a memory leak with
> dbi/dbd::oracle. Here is a test case which leaks
> after each open/close cycle:
>
> #!/usr/local/bin/perl
> use Oraperl;
> $l = ora_login($sid, $user, $pw) || die "Can't connect";
> while (1) {
> ora_close(ora_open($l, 'select * from user_tables')) ;
> printf "%d\n", $i++;
> }
>
> My system is Solaris 2.4, gcc 2.7.2, perl5.002, DBI-68,
> DBD::Oracle-29, Oracle 7.2.2.
>
> Thanks for any insight.
Umm, after browsing through a swollen core dump with less (a remarkably
effective way to spot what's leaking) I've tracked it down to this code
in DBI.xs:
/* SV *sv = sv_newmortal(); XXX swap back to fix small leak */
SV *sv = newSV(0);
Well, what can I say! :-) I've no idea why I changed it. Changing it
back fixes the leak with no visible side effects (and none likely).
It'll be in the next release. Meanwhile patch it by hand if a 64 byte
leak per query (for all DBD's not just Oracle) worries you.
Thanks for spotting the leak.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02179-1@oink>;
Tue, 23 Apr 1996 12:56:07 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830256080:02923:1; Tue, 23 Apr 96 11:41:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa02432; 23 Apr 96 11:40 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA11842 for dbi-announce-real; Tue, 23 Apr 1996 03:27:18 -0700
Precedence: junk
Sender:
[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 DAA11838;
Tue, 23 Apr 1996 03:27:15 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id LAA08450; Tue, 23 Apr 1996 11:22:47 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: udt2ndt & ndt2udt?
To:
[email protected] (Tim Bunce)
Date: Tue, 23 Apr 1996 11:22:46 +0100 (BST)
Cc:
[email protected],
[email protected],
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Tim Bunce" at Apr 22, 96 10:39: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: 1091
> > $oratime = $dbh->udt2ndt($mytime);
> >
> > I cannot find the date/time conversion function udt2ndt. I also
> > tried to use $drh-> as well as $dbh-> as the handle to find the
> > correct method with no success.
>
> You have the (sadly very common) idea that the "DBperl Spec" is
> closely related to the DBI interface. That's not true.
>
> The "DBperl Spec" is of historical interest only. It's at least
> a couple of years old. The DBI WWW pages should make that clear
> (I've not checked if they do yet, CC'd to Alligator).
Not yet. Not yet! Later this week, hopefully.
> The only "documentation" (if you want to call it that) is at the
> end of the DBI.pm file, and even that's not always accurate.
It may be worthwhile building a spec from here, since one of the most common
questions I get pestered with is
What methods can I use?
I suppose I should get the finger out with the new FAQ
> Tim.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02183-12@oink>;
Tue, 23 Apr 1996 12:57:07 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830255753:16877:1; Tue, 23 Apr 96 11:35:53 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa16519; 23 Apr 96 11:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA11847 for dbi-users-real; Tue, 23 Apr 1996 03:29:16 -0700
Precedence: junk
Sender:
[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 DAA11838;
Tue, 23 Apr 1996 03:27:15 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id LAA08450; Tue, 23 Apr 1996 11:22:47 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: udt2ndt & ndt2udt?
To:
[email protected] (Tim Bunce)
Date: Tue, 23 Apr 1996 11:22:46 +0100 (BST)
Cc:
[email protected],
[email protected],
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Tim Bunce" at Apr 22, 96 10:39: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: 1091
> > $oratime = $dbh->udt2ndt($mytime);
> >
> > I cannot find the date/time conversion function udt2ndt. I also
> > tried to use $drh-> as well as $dbh-> as the handle to find the
> > correct method with no success.
>
> You have the (sadly very common) idea that the "DBperl Spec" is
> closely related to the DBI interface. That's not true.
>
> The "DBperl Spec" is of historical interest only. It's at least
> a couple of years old. The DBI WWW pages should make that clear
> (I've not checked if they do yet, CC'd to Alligator).
Not yet. Not yet! Later this week, hopefully.
> The only "documentation" (if you want to call it that) is at the
> end of the DBI.pm file, and even that's not always accurate.
It may be worthwhile building a spec from here, since one of the most common
questions I get pestered with is
What methods can I use?
I suppose I should get the finger out with the new FAQ
> Tim.
--
Alligator Descartes \\ Nexus - Multi-User Virtual Reality
Anathematician //
http://www.hermetica.com/nexus
[email protected] \\ ** Java(TM) Powered! **
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03683-9@oink>;
Tue, 23 Apr 1996 16:22:06 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830272358:24653:1; Tue, 23 Apr 96 16:12:38 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa24418; 23 Apr 96 16:11 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa14562; 23 Apr 96 16:11 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA12102 for dbi-users-real; Tue, 23 Apr 1996 08:02:02 -0700
Precedence: junk
Sender:
[email protected]
Received: from proxy.midamerican.com (
[email protected] [199.120.122.129])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA12098
for <
[email protected]>; Tue, 23 Apr 1996 08:01:57 -0700
Received: by proxy.midamerican.com; id KAA06281;
Tue, 23 Apr 1996 10:04:19 -0500 (CDT)
Received: from mailgate.midamerican.com(10.48.0.12) by proxy.midamerican.com
via smap (V3.1) id xma006279; Tue, 23 Apr 96 10:04:13 -0500
Received: by sic001.midamerican.com; Tue, 23 Apr 96 10:04:46 CDT
Date: Tue, 23 Apr 96 9:31:56 CDT
Message-ID: <
[email protected]>
X-Priority: 3 (Normal)
To:
[email protected]
MMDF-Warning: Parse error in original version of preceding line at
relay-1.mail.demon.net
From:
[email protected]
MMDF-Warning: Parse error in original version of preceding line at
relay-1.mail.demon.net
Subject: Re: INSTALLSITEARCH or INST_PM not defined correctly in Makefi
X-Incognito-SN: 1127
X-Incognito-Format: VERSION=2.01a ENCRYPTED=NO
Tim wrote:
>> From: kmacleod <
[email protected]> (Ken MacLeod)
>>
>> A note on the Perl build, Perl was built according to the ``Changing the
>> installation directory'' section in Perl's `INSTALL' file (Perl was
>> ``installed'' into a temporary directory, then tarred, then untarred in
>> it's final directory).
>
>Don't do that! It's wrong and will cause you lots of grief.
>Perl has those paths built in.
>
>Rebuild and reinstall perl directly into it's final resting place.
Perl's much better about that now. The only place the temporary directory
path appears in the installed Perl is where you'd expect: the `install*'
variables in the `Config.pm' file. For a long time now I've been using a
``packaging'' style method for installing software and you're right, some
packages are more conducive to packaging than others. I tested again using
`strings' on every file, just to make sure :-).
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <06505-6@oink>;
Tue, 23 Apr 1996 19:58:37 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830285780:00547:4; Tue, 23 Apr 96 19:56:20 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa00336; 23 Apr 96 19:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA12399 for dbi-users-real; Tue, 23 Apr 1996 11:34:15 -0700
Precedence: junk
Sender:
[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 LAA12395
for <
[email protected]>; Tue, 23 Apr 1996 11:34:09 -0700
Received: by proxy.netlabs.com (4.1/SMI-4.1) id AA02197;
Tue, 23 Apr 96 11:43:35 PDT
Received: from vaccine-bb.sems.com(192.190.199.1) by ns.sems.com
via smap (V1.3) id sma002194; Tue Apr 23 11:43:17 1996
Received: from base (base.netlabs.com) by vaccine-bb.netlabs.com (4.1/SMI-4.1)
id AA24148; Tue, 23 Apr 96 11:37:34 PDT
Message-Id: <
[email protected]>
Date: Tue, 23 Apr 1996 11:37:33 -0700
From: Chuck Kung <
[email protected]>
X-Mailer: Mozilla 2.0 (X11; U; SunOS 4.1.3_U1 sun4m)
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 <07567-9@oink>;
Tue, 23 Apr 1996 20:55:49 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830288481:13321:0; Tue, 23 Apr 96 20:41:21 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa12869; 23 Apr 96 20:40 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa08951; 23 Apr 96 20:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA12464 for dbi-users-real; Tue, 23 Apr 1996 12:25:30 -0700
Precedence: junk
Sender:
[email protected]
Received: from gatekeeper.resumix.com (
[email protected] [206.52.124.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA12460
for <
[email protected]>; Tue, 23 Apr 1996 12:25:21 -0700
Received: by gatekeeper.resumix.com; id AA12698; Tue, 23 Apr 96 12:31:00 PDT
Received: from vulcan.resumix.com(199.171.160.2) by gatekeeper.resumix.com
via smap (V3.1) id xma012686; Tue, 23 Apr 96 12:30:56 -0700
Received: from InfoSys-Temp.resumix.com (webdev-pc.resumix.com [199.171.160.167])
by vulcan.resumix.com (8.7.3/8.7.3) with SMTP id MAA28024;
Tue, 23 Apr 1996 12:24:57 -0700 (PDT)
Message-Id: <
[email protected]>
X-Wisecrack: Madness takes its toll. Please have exact change.
X-Sender:
[email protected]
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=====================_830312726==_"
Date: Tue, 23 Apr 1996 12:25:26 -0700
To:
[email protected]
From: Creed Erickson <
[email protected]>
Subject: Bad free() in DBD::Oracle
Cc:
[email protected], John Carlson <
[email protected]>
X-Attachments: C:\My Documents\Archives\DBDtest.txt;
--=====================_830312726==_
Content-Type: text/plain; charset="us-ascii"
I found the following reference in the DBD::Oracle perl module README file:
------
Environment: SunOS 4.1.3, Oracle 7.1.3 John Carlson <
[email protected]>
Problem: oraperl and DBD::Oracle fail to link. Some messing around with
the library order makes the link succeed. Now I get a "Bad free()" when
ora_logoff is called.
Solution:
In my case, this was caused by a faulty oracle install. The install grabbed
the wrong version of mergelib (The X11R6 one) instead of the one in
$ORACLE_HOME/bin. Try a more limited path and reinstall Oracle again.
-------
I am recving the same "bad free()" message when ora_logoff is called. In my
case I have no trouble linking. Solaris 2.5, Oracle 7.1.3, DBD::Oracle 0.29,
perl 5.002
I am not sure how to test for the faulty Oracle install. () However 'which
mergelib' yields $ORACLE_HOME/bin/mergelib.
Caveat: I'm NOT real saavy about Oracle but I'm smart enough to know that I
don't even know what I don't know.
All the data from the build/test run is attached for reference.
Any hints and/or direction would be appreciated.
--=====================_830312726==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="DBDtest.txt"
creed@argon(106): perl Makefile.PL
Configuring DBD::Oracle ...
Remember to actually read the README file!
Using Oracle in /local/oracle
Oracle sysliblist: -lsocket -lnsl -lm -ldl -laio
Using /local/oracle/proc/lib/proc.mk version 1.11
System: perl5.002 sunos argon 5.5 generic sun4m sparc sunw,sparcstation-20 sun4s dl_dlopen.xs
Compiler: gcc -O -I/usr/local/include
Oracle proc.mk would have used these values but we override them:
CC: ld -dy $(COMPOBJS) $(LDSTRING)
LDFLAGS: -L$(LIBHOME)
LDSTRING: -Y P,$(LD_LIBRARY_PATH):/usr/ccs/lib:/usr/lib -Qy -lc $(COMPOBJ)/crtn.o
Checking if your kit is complete...
Looks good
Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.
Writing Makefile for DBD::Oracle
creed@argon(107): make
umask 0 && cp Oraperl.pm blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph blib/lib/oraperl.ph
umask 0 && cp Oracle.pm blib/lib/DBD/Oracle.pm
/bin/perl -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib /local/perl/lib/ExtUtils/xsubpp -typemap /local/perl/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc Oracle.c
gcc -c -I/local/oracle/rdbms/demo -I/local/perl/lib/site_perl/sun4s/DBI -I/local/perl/lib/sun4s/5.002/DBI -I/usr/local/include -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/local/perl/lib/sun4s/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional Oracle.c
gcc -c -I/local/oracle/rdbms/demo -I/local/perl/lib/site_perl/sun4s/DBI -I/local/perl/lib/sun4s/5.002/DBI -I/usr/local/include -O -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\" -fpic -I/local/perl/lib/sun4s/5.002/CORE -Wall -pedantic -Wno-comment -Wtraditional dbdimp.c
dbdimp.c:126: warning: `dump_error_status' defined but not used
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/lib" gcc -o blib/arch/auto/DBD/Oracle/Oracle.so -G -L/usr/local/lib Oracle.o dbdimp.o -L/local/oracle/lib /local/oracle/lib/__fstd.o -locic /local/oracle/lib/osntab.o -lsqlnet -lora -lsqlnet -lora -lnlsrtl -lcv6 -lcore -lnlsrtl -lcv6 -lcore `cat /local/oracle/rdbms/lib/sysliblist` -lsocket -lnsl -lm -ldl -laio
chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so
cp Oracle.bs ./blib/arch/auto/DBD/Oracle/Oracle.bs
chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs
Manifying ./blib/man3/DBD::Oraperl.3
creed@argon(108): make test
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
t/main..............ok
All tests successful.
Files=2, Tests=6, 2 secs ( 1.02 cusr 0.38 csys = 1.40 cpu)
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib test.pl
Oraperl test application $Revision: 1.20 $
Oraperl Emulation Interface version 1.23
Oracle Driver 0.29
DBI-0.68 Switch by Tim Bunce, version 0.68
Connecting
to '' (from command line, else uses ORACLE_SID/TWO_TASK)
as 'itest/itest' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields: 4
Names: 'NUM_T', 'DATE_T', 'CHAR_T', 'NULL_T'
Lengths: '40', '75', '30', '0'
Types: '2', '12', '1', '1'
Data rows:
fetch: 79.2 23-APR-96 ITEST NULL
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...
Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.
Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.
Test complete (1 seconds).
creed@argon(109):
creed@argon(122): make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
t/base..............1..5
ok 1
ok 2
ok 3
ok 4
ok 5
ok
t/main..............t/main.t
DBI test application $Revision: 1.1 $
1..1
ok 1
ok
All tests successful.
Files=2, Tests=6, 2 secs ( 1.13 cusr 0.29 csys = 1.42 cpu)
PERL_DL_NONLAZY=1 /bin/perl -I./blib/arch -I./blib/lib -I/local/perl/lib/sun4s/5.002 -I/local/perl/lib test.pl
Oraperl test application $Revision: 1.20 $
Oraperl Emulation Interface version 1.23
Oracle Driver 0.29
DBI-0.68 Switch by Tim Bunce, version 0.68
Connecting
to '' (from command line, else uses ORACLE_SID/TWO_TASK)
as 'itest/itest' (via ORACLE_USERID environment var or default)
Bad free() ignored at test.pl line 48.
Fields: 4
Names: 'NUM_T', 'DATE_T', 'CHAR_T', 'NULL_T'
Lengths: '40', '75', '30', '0'
Types: '2', '12', '1', '1'
Data rows:
fetch: 79.2 23-APR-96 ITEST NULL
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
Test ora_do with harmless non-select statement (set transaction read only)
Expect error message:
ora_do: 1453: ORA-01453: SET TRANSACTION must be first statement of transaction (DBD: oexec error)
csr out of scope...
ora_logoff...
Bad free() ignored at test.pl line 155.
lda out of scope...
Testing repetitive connect/open/close/disconnect:
Expect sequence of digits, no other messages:
1 Bad free() ignored at test.pl line 169.
2 Bad free() ignored at test.pl line 169.
3 Bad free() ignored at test.pl line 169.
4 Bad free() ignored at test.pl line 169.
5 Bad free() ignored at test.pl line 169.
Test interaction of explicit close/logoff and implicit DESTROYs
Expect just 'done.', no other messages:
Bad free() ignored at test.pl line 69.
done.
Test complete (1 seconds).
creed@argon(123): perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=solaris, osver=2.5, archname=sun4s
uname='sunos argon 5.5 generic sun4m sparc sunw,sparcstation-20 '
hint=recommended, useposix=true
Compiler:
cc='gcc', optimize='-O', gccversion=2.6.3
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib'
@INC: /local/perl/lib/sun4s/5.002 /local/perl/lib /local/perl/lib/site_perl/sun4s /local/perl/lib/site_perl .
creed@argon(124):
--=====================_830312726==_
Content-Type: text/plain; charset="us-ascii"
--
Creed Erickson <
[email protected]>
Professional Nitpicker, Instigator, and Software Test Pilot.
Is the glass half empty, half full, or twice as large as it needs to be?
--=====================_830312726==_--
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08384-0@oink>;
Tue, 23 Apr 1996 21:51:42 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830291979:15253:1; Tue, 23 Apr 96 21:39:39 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa15199; 23 Apr 96 21:39 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa22807; 23 Apr 96 21:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA12603 for dbi-users-real; Tue, 23 Apr 1996 13:28:37 -0700
Precedence: junk
Sender:
[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 NAA12599
for <
[email protected]>; Tue, 23 Apr 1996 13:28:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ac10866; 23 Apr 96 20:31 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ad25592; 23 Apr 96 21:31 +0100
Received: from toad by oink with SMTP (PP) id <07612-0@oink>;
Tue, 23 Apr 1996 21:00:39 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00919;
Tue, 23 Apr 1996 21:00:21 +0000
Date: Tue, 23 Apr 1996 21:00:21 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected],
[email protected]
Subject: Re: Bad free() in DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 1228
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Creed Erickson <
[email protected]>
>
> I found the following reference in the DBD::Oracle perl module README file:
> ------
> Environment: SunOS 4.1.3, Oracle 7.1.3 John Carlson <
[email protected]>
>
> Problem: oraperl and DBD::Oracle fail to link. Some messing around with
> the library order makes the link succeed. Now I get a "Bad free()" when
> ora_logoff is called.
>
> Solution:
> In my case, this was caused by a faulty oracle install. The install grabbed
> the wrong version of mergelib (The X11R6 one) instead of the one in
> $ORACLE_HOME/bin. Try a more limited path and reinstall Oracle again.
> -------
>
> I am recving the same "bad free()" message when ora_logoff is called. In my
> case I have no trouble linking. Solaris 2.5, Oracle 7.1.3, DBD::Oracle 0.29,
> perl 5.002
I've seen the same problem with Oracle 7.1.3.
> I am not sure how to test for the faulty Oracle install. () However 'which
> mergelib' yields $ORACLE_HOME/bin/mergelib.
Umm. Neither do I. John, can you shed some more light on the exact
nature of the problem and how you fixed it?
> Any hints and/or direction would be appreciated.
Meanwhile you could rebuild perl with that warning (in perl.c) disabled.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09033-8@oink>;
Tue, 23 Apr 1996 22:36:39 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830295321:16332:0; Tue, 23 Apr 96 22:35:21 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa16243; 23 Apr 96 22:35 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa05330; 23 Apr 96 22:31 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id OAA12740 for dbi-users-real; Tue, 23 Apr 1996 14:24:20 -0700
Precedence: junk
Sender:
[email protected]
Received: from w3-design.softaware.com (w3-design.com [206.117.78.129])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA12736
for <
[email protected]>; Tue, 23 Apr 1996 14:24:19 -0700
Received: from [206.117.64.66] (highball.w3-design.com [206.117.64.66])
by w3-design.softaware.com (8.6.9/8.6.9) with SMTP id OAA05205;
Tue, 23 Apr 1996 14:25:34 -0700
Message-Id: <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Tue, 23 Apr 1996 14:22:50 -0700
To: Tim Bunce <
[email protected]>
From: Frank San Filippo <
[email protected]>
Subject: Re: Memory Leak
Cc:
[email protected]
Tim Bunce <
[email protected]> wrote, regarding a memory leak in DBI.pm:
>Umm, after browsing through a swollen core dump with less (a remarkably
>effective way to spot what's leaking) I've tracked it down to this code
>in DBI.xs:
>
>/* SV *sv = sv_newmortal(); XXX swap back to fix small leak */
> SV *sv = newSV(0);
>
>Well, what can I say! :-) I've no idea why I changed it. Changing it
>back fixes the leak with no visible side effects (and none likely).
>
>It'll be in the next release. Meanwhile patch it by hand if a 64 byte
>leak per query (for all DBD's not just Oracle) worries you.
>
Do you mean to just uncomment the top line and comment out the bottom? It's
not clear from what you wrote. You seem pretty nonchallant about a
(admittedly small) leak -- but this could seriously afect performance over
the course of a few days, couldn't it? Or is it not worth worrying about?
TIA,
F.
<html><head><title>
F r a n k S a n F i l i p p o
</title></head><body><a href="
http://www.w3-design.com/">
w 3 - d e s i g n
<p>(310) 815-1177 fax:(310) 815-1133</p>
</a></body></html>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09413-4@oink>;
Tue, 23 Apr 1996 23:21:23 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830295979:22471:0; Tue, 23 Apr 96 22:46:19 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa21947; 23 Apr 96 22:45 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa07907; 23 Apr 96 22:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id OAA12834 for dbi-users-real; Tue, 23 Apr 1996 14:35:02 -0700
Precedence: junk
Sender:
[email protected]
Received: from gatekeeper.resumix.com (
[email protected] [206.52.124.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id OAA12828
for <
[email protected]>; Tue, 23 Apr 1996 14:34:59 -0700
Received: by gatekeeper.resumix.com; id AA14729; Tue, 23 Apr 96 14:40:39 PDT
Received: from vulcan.resumix.com(199.171.160.2) by gatekeeper.resumix.com
via smap (V3.1) id xma014725; Tue, 23 Apr 96 14:40:24 -0700
Received: from InfoSys-Temp.resumix.com (webdev-pc.resumix.com [199.171.160.167])
by vulcan.resumix.com (8.7.3/8.7.3) with SMTP id OAA29114;
Tue, 23 Apr 1996 14:34:24 -0700 (PDT)
Message-Id: <
[email protected]>
X-Wisecrack: Madness takes its toll. Please have exact change.
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: Tue, 23 Apr 1996 14:34:53 -0700
To: Tim Bunce <
[email protected]>,
[email protected]
From: Creed Erickson <
[email protected]>
Subject: Re: Bad free() in DBD::Oracle
At 09:00 PM 4/23/96 +0000, Tim Bunce wrote:
>
>Meanwhile you could rebuild perl with that warning (in perl.c) disabled.
>
>Tim.
It appears the message comes from perl's malloc.c rather than perl.c
--
Creed Erickson <
[email protected]>
Professional Nitpicker, Instigator, and Software Test Pilot.
Is the glass half empty, half full, or twice as large as it needs to be?
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09634-0@oink>;
Tue, 23 Apr 1996 23:27:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830298352:14206:1; Tue, 23 Apr 96 23:25:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa13974; 23 Apr 96 23:25 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa16600; 23 Apr 96 23:23 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA12983 for dbi-users-real; Tue, 23 Apr 1996 15:13:33 -0700
Precedence: junk
Sender:
[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 PAA12979
for <
[email protected]>; Tue, 23 Apr 1996 15:13:30 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ae05266; 23 Apr 96 23:16 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa26788; 23 Apr 96 23:15 +0100
Received: from toad by oink with SMTP (PP) id <09354-0@oink>;
Tue, 23 Apr 1996 23:11:28 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01320;
Tue, 23 Apr 1996 23:11:21 +0000
Date: Tue, 23 Apr 1996 23:11:21 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: Memory Leak
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1654
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Frank San Filippo <
[email protected]>
>
> Tim Bunce <
[email protected]> wrote, regarding a memory leak in DBI.pm:
>
> >Umm, after browsing through a swollen core dump with less (a remarkably
> >effective way to spot what's leaking) I've tracked it down to this code
> >in DBI.xs:
> >
> >/* SV *sv = sv_newmortal(); XXX swap back to fix small leak */
> > SV *sv = newSV(0);
> >
> >Well, what can I say! :-) I've no idea why I changed it. Changing it
> >back fixes the leak with no visible side effects (and none likely).
> >
> >It'll be in the next release. Meanwhile patch it by hand if a 64 byte
> >leak per query (for all DBD's not just Oracle) worries you.
>
> Do you mean to just uncomment the top line and comment out the bottom? It's
> not clear from what you wrote.
Yes. Sorry it wasn't clear.
> You seem pretty nonchallant about a
> (admittedly small) leak -- but this could seriously afect performance over
> the course of a few days, couldn't it? Or is it not worth worrying about?
I'm not nonchallant about memory leaks in general.
Only a few users have very long running applications or applications
that make _thousands_ of calls. 64 bytes is a drop in the ocean of the
average perl database application (sadly).
You need to make over 1000 queries before you've lost 64Kb. Looking back
in my version history I can see that the leak has been there since 0.61,
released in August 95, yet this is the first report of it.
Those who _do_ have such applications will know who they are and will
make the change. The rest need not bother unless it does worry them.
Either way, I hope to make a new release this week.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <10781-7@oink>;
Wed, 24 Apr 1996 07:07:48 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830304942:06064:1; Wed, 24 Apr 96 01:15:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa05316; 24 Apr 96 1:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id RAA13169 for dbi-users-real; Tue, 23 Apr 1996 17:05:47 -0700
Precedence: junk
Sender:
[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 RAA13165
for <
[email protected]>; Tue, 23 Apr 1996 17:05:42 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ad25616; 24 Apr 96 0:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa02638; 23 Apr 96 23:36 +0100
Received: from toad by oink with SMTP (PP) id <09394-0@oink>;
Tue, 23 Apr 1996 23:18:43 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01363;
Tue, 23 Apr 1996 23:18:35 +0000
Date: Tue, 23 Apr 1996 23:18:35 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Bad free() in DBD::Oracle
X-Sun-Charset: US-ASCII
content-length: 350
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> To: Tim Bunce <
[email protected]>,
[email protected]
>
> At 09:00 PM 4/23/96 +0000, Tim Bunce wrote:
> >
> >Meanwhile you could rebuild perl with that warning (in perl.c) disabled.
>
> It appears the message comes from perl's malloc.c rather than perl.c
Quite right. Sorry. I'm practically brain dead at the moment.
Tim [off home, honest!]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15718-0@oink>;
Wed, 24 Apr 1996 18:41:34 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830367551:19706:0; Wed, 24 Apr 96 18:39:11 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa19235; 24 Apr 96 18:38 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa25125; 24 Apr 96 18:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA14131 for dbi-users-real; Wed, 24 Apr 1996 10:14:33 -0700
Precedence: junk
Sender:
[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 KAA14127
for <
[email protected]>; Wed, 24 Apr 1996 10:14:31 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id aa20608; 24 Apr 96 17:10 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae11219; 24 Apr 96 17:04 +0100
Received: from toad by oink with SMTP (PP) id <14736-0@oink>;
Wed, 24 Apr 1996 14:22:20 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA03895;
Wed, 24 Apr 1996 14:22:11 +0000
Date: Wed, 24 Apr 1996 14:22:11 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: OraPerl 2.4 & Perl 4.036 or DBI/DBD and Perl 4.002?
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 832
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Rich Holoch <
[email protected]>
>
> Seems like I am right on the fence. We will need to start developing fairly
> simple booking CGI forms that do DML with Oracle 7.2.2.3 on a DEC Alpha V3.2.
>
> What would you suggest? I have installed Perl 4.036, and am going through the
> undefined symbols to get OraPerl to make, but could easily can this effort
> if its a waste of time.
>
> I care more about stability and documentation availability than the latest
> and greatest - I won't have much time to hack my way around serious bugs.
Perl4 oraperl is _very_ stable simple because no one is working on it!
Bugs in DBI, DBD::Oracle and the Oraperl emulation seem to get fixed
pretty quickly.
Perl4 oraperl is currently slightly quicker but DBD::Oracle should
catch up before too long.
Suck'em both and see.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <16546-11@oink>;
Wed, 24 Apr 1996 23:20:47 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830380099:07278:1; Wed, 24 Apr 96 22:08:19 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa06600; 24 Apr 96 22:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA14553 for dbi-users-real; Wed, 24 Apr 1996 13:48:55 -0700
Precedence: junk
Sender:
[email protected]
Received: from igate1.hac.com (igate1.HAC.COM [192.48.33.10])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id NAA14549
for <
[email protected]>; Wed, 24 Apr 1996 13:48:53 -0700
Received: from msmail3.hac.com ([147.17.106.41])
by igate1.hac.com (4.1/SMI-4.1) id AA29201;
Wed, 24 Apr 96 13:49:07 PDT
Message-Id: <
[email protected]>
Date: 24 Apr 1996 15:55:59 -0800
From: "Bergquist, Denis J" <
[email protected]>
Subject: IRIX 5.3 SGI can't compile DBD::Oracle - Incompatible pointer type
assignment
To: "Bunce, Tim" <
[email protected]>, dbi-users <
[email protected]>
X-Mailer: Mail*Link SMTP-MS 3.0.2
I read the readme, I think I did everything correctly, and yet . . .
SGI Onyx running IRIX 5.3, tcsh
Oracle 7.1.4 (sort of)
perl 5.002 (what's later, 5.002 or 5.002beta2???)
DBI 0.68 tests OK
onyx1-dbergqui:/usr6/dbergqui/internet_bin/src/DBD/DBD-Oracle-0.29-533 > make
umask 0 && cp Oraperl.pm ./blib/lib/Oraperl.pm
umask 0 && cp oraperl.ph ./blib/lib/oraperl.ph
umask 0 && cp Oracle.pm ./blib/lib/DBD/Oracle.pm
/usr6/dbergqui/perl5/perl -I/usr6/dbergqui/perl5/lib/sgi-irix/5.002
-I/usr6/dbergqui/perl5/lib /usr6/dbergqui/perl5/lib/ExtUtils/xsubpp -typemap
/usr6/dbergqui/perl5/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc
Oracle.c
cc -c -I/usr/local/oracle/rdbms/demo
-I/usr6/dbergqui/perl5/lib/site_perl/sgi-irix/DBI
-I/usr6/dbergqui/perl5/lib/sgi-irix/5.002/DBI -D_POSIX_SOURCE -ansiposix
-D_BSD_TYPES -Olimit 3000 -I/usr/local/include -DLANGUAGE_C -O
-DVERSION=\"0.29\" -DXS_VERSION=\"0.29\"
-I/usr6/dbergqui/perl5/lib/sgi-irix/5.002/CORE Oracle.c
cc -c -I/usr/local/oracle/rdbms/demo
-I/usr6/dbergqui/perl5/lib/site_perl/sgi-irix/DBI
-I/usr6/dbergqui/perl5/lib/sgi-irix/5.002/DBI -D_POSIX_SOURCE -ansiposix
-D_BSD_TYPES -Olimit 3000 -I/usr/local/include -DLANGUAGE_C -O
-DVERSION=\"0.29\" -DXS_VERSION=\"0.29\"
-I/usr6/dbergqui/perl5/lib/sgi-irix/5.002/CORE dbdimp.c
cfe: Error: dbdimp.c, line 811: Incompatible pointer type assignment
(3.3.16.1, 3.5.4.1(21))
safefree(imp_sth->fbh);
--------------------^
cfe: Error: dbdimp.c, line 811: Type imp_fbh_t * of this argument is
incompatible with type unsigned char * of function prototype description
(3.3.16.1)
safefree(imp_sth->fbh);
--------------------^
*** Error code 1 (bu21)
Changing dbdimp.c lines 811-813 as so
< safefree((char *)(imp_sth->fbh));
< safefree((char *)(imp_sth->fbh_cbuf));
< safefree((char *)(imp_sth->statement));
---
> safefree(imp_sth->fbh);
> safefree(imp_sth->fbh_cbuf);
> safefree(imp_sth->statement);
seems to solve the problem (make, make test, and make install seem to go
well).
I don't speak 'c', but my c guru tells me that this is an OK thing to have
done. (First he looked for the prototype of safefree which seems to have come
from handy.h, perl.h, or proto.h in perl5/lib/sgi-irix/5.002/CORE.)
Any comment? Should this have worked or have I got an old version of
something?
Thanks for any feedback.
Denis Bergquist
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18873-0@oink>;
Wed, 24 Apr 1996 23:53:23 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830386374:09537:2; Wed, 24 Apr 96 23:52:54 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa08923; 24 Apr 96 23:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA14891 for dbi-users-real; Wed, 24 Apr 1996 15:46:26 -0700
Precedence: junk
Sender:
[email protected]
Received: from audumla.students.wisc.edu (students.wisc.edu [144.92.104.66])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id PAA14886
for <
[email protected]>; Wed, 24 Apr 1996 15:46:13 -0700
Received: from rain.wisc.edu by audumla.students.wisc.edu; id RAA78548;
8.6.9W/42; Wed, 24 Apr 1996 17:49:24 -0500
Message-Id: <
[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, 24 Apr 1996 17:50:01 -0500
To:
[email protected]
From: "Ken P. Nikolai" <
[email protected]>
Subject: Re: WinNt version
I run this on AIX 4.1.4 with much success.
Ken
<snip>
>
>=================================================
>
>Module Name: DBD::Oracle
>Author: Tim Bunce
>Current Version: 0.29
>Requirements:
>
> perl 5.001m
> DBI-0.68
> Oracle7 RDBMS
> Any C compiler
>
>Known Working Platforms:
>
> SunOS 4.1.3_U1
> Solaris 2.3
> Solaris 2.4
> DYNIX/ptx 2.1.0
> DYNIX/ptx 2.1.5
> HP-UX 10.01
>
(' ')
-------------------------------ooO-(_)-Ooo-------------------------------
Ken Nikolai: _
http://axle.doit.wisc.edu/~kpn/ _
_
[email protected] _
---------------------------------oO---Oo---------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18933-0@oink>;
Wed, 24 Apr 1996 23:59:07 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830386515:10871:0; Wed, 24 Apr 96 23:55:15 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa10249; 24 Apr 96 23:54 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa21855; 24 Apr 96 23:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA14189 for dbi-users-real; Wed, 24 Apr 1996 10:38:35 -0700
Precedence: junk
Sender:
[email protected]
Received: from ews3.iac.honeywell.com (ews3.iac.honeywell.com [160.221.3.194])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA14182
for <
[email protected]>; Wed, 24 Apr 1996 10:37:19 -0700
Received: from pace-pc90 (pcserge.iac.honeywell.com) by ews3.iac.honeywell.com
with SMTP (1.39.111.2/16.2) id AA059541144;
Tue, 23 Apr 1996 19:39:04 +0200
Message-Id: <
[email protected]>
Date: Wed, 24 Apr 1996 19:35:50 +0200
From: Serge Hoffmann <
[email protected]>
Organization: Honeywell PACE Europe
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To:
[email protected]
Subject: WinNt version
X-Url:
http://www.hermetica.com/technologia/DBI/DBD/index.html#mSQL
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
Do you if a version of your program runs on WinNt ?
Thanks
Serge Hoffmann
[email protected]
=================================================
Module Name: DBD::Oracle
Author: Tim Bunce
Current Version: 0.29
Requirements:
perl 5.001m
DBI-0.68
Oracle7 RDBMS
Any C compiler
Known Working Platforms:
SunOS 4.1.3_U1
Solaris 2.3
Solaris 2.4
DYNIX/ptx 2.1.0
DYNIX/ptx 2.1.5
HP-UX 10.01
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18933-1@oink>;
Wed, 24 Apr 1996 23:59:10 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830386516:10897:0; Wed, 24 Apr 96 23:55:16 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa10629; 24 Apr 96 23:54 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id ab22095; 24 Apr 96 23:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA14848 for dbi-users-real; Wed, 24 Apr 1996 15:41:30 -0700
Precedence: junk
Sender:
[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 PAA14844
for <
[email protected]>; Wed, 24 Apr 1996 15:41:10 -0700
From:
[email protected]
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com
with ESMTP (8.6.12/37.7) id GAA10991; Wed, 24 Apr 1996 06:40:23 -0700
Message-Id: <
[email protected]>
Received: from behux2.be.oracle.com by behux0.be.oracle.com
with SMTP (1.39.111.2/16.2) id AA205963193;
Wed, 24 Apr 1996 15:39:53 +0200
Subject: linking perl and DBD:Oracle shared.
To:
[email protected]
Date: Wed, 24 Apr 1996 15:40:20 CES
Cc:
[email protected]
X-Mailer: Elm [revision: 111.1]
Hi...
Just a sidenote, to link with shared libs on hp... or other systems that
normally say static linking ... Only with oracle 7.2+...
If you compile DBD (oracle) with a 7.2+ version of oracle
check in $ORACLE_HOME/rdbms/lib... there should be a file
called clntsh.mk, do a make -f clntsh.mk shlib
this generates libclntsh.sl in ORACLE_HOME/lib
generate your DBD things and go to
/blib/arch/auto/DBD/Oracle/
mv extralibs.all extralibs.all.old
do
cat $ORACLE_HOME/rdbms/lib/sysliblist > extralibs.all
and add :
-L/opt/oracle/product/7.2.3/lib -lclntsh
you should get something like
-lcl -lm -L/opt/oracle/product/7.2.3/lib -lclntsh
in your extralibs.all file...
do a make perl again in DBD/
if everything goes well you have a shared perl executable now, ie also with
oracle shared libs.
hope this helps.
cheers
Wim
================================================================
Wim Coekaerts Work Tel.:32-2-7195978
Work Fax.:32-2-7191314
Home Tel.:32-16-470641
Oracle Belgium
Ora*mail: wcoekaer.be Internet:
[email protected]
"The significant problems we face cannot be solved at the
same level of thinking we were at when we created them"
Albert Einstein
The statements and opinions expressed here are my own and
do not necessarily represent those of Oracle Corporation.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19600-0@oink>;
Thu, 25 Apr 1996 02:52:57 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830387166:26701:3; Thu, 25 Apr 96 00:06:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa26506; 25 Apr 96 0:05 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA14925 for dbi-users-real; Wed, 24 Apr 1996 15:58:30 -0700
Precedence: junk
Sender:
[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 PAA14921
for <
[email protected]>; Wed, 24 Apr 1996 15:58:28 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ah09331; 24 Apr 96 23:01 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa13764; 24 Apr 96 23:57 +0100
Received: from toad by oink with SMTP (PP) id <18913-0@oink>;
Wed, 24 Apr 1996 23:57:15 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07698;
Wed, 24 Apr 1996 23:57:08 +0000
Date: Wed, 24 Apr 1996 23:57:08 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: DBD-Oracle-0.29
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 223
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From:
[email protected] (Daniel R. Bidwell)
>
> I noticed that DBD-Oracle-0.29 was not readable by the anonymous ftp
> user this morning. Was this intentional?
No. Service provider problems. Sorry. Fixed now.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <19601-3@oink>;
Thu, 25 Apr 1996 02:53:12 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830387304:17409:0; Thu, 25 Apr 96 00:08:24 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa16887; 25 Apr 96 0:07 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa24158; 25 Apr 96 0:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA14917 for dbi-users-real; Wed, 24 Apr 1996 15:57:10 -0700
Precedence: junk
Sender:
[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 PAA14913
for <
[email protected]>; Wed, 24 Apr 1996 15:57:07 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa06951; 24 Apr 96 23:59 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa13846; 24 Apr 96 23:58 +0100
Received: from toad by oink with SMTP (PP) id <18923-0@oink>;
Wed, 24 Apr 1996 23:57:47 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07703;
Wed, 24 Apr 1996 23:57:39 +0000
Date: Wed, 24 Apr 1996 23:57:39 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: IRIX 5.3 SGI can't compile DBD::Oracle - Incompatible pointer type
assignment
X-Sun-Charset: US-ASCII
content-length: 413
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: "Bergquist, Denis J" <
[email protected]>
> safefree(imp_sth->fbh);
> --------------------^
> cfe: Error: dbdimp.c, line 811: Type imp_fbh_t * of this argument is
> incompatible with type unsigned char * of function prototype description
> Any comment? Should this have worked or have I got an old version of
> something?
It's okay. s/safefree/Safefree/mg is the official fix.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20835-1@oink>;
Thu, 25 Apr 1996 07:05:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830398079:23423:2; Thu, 25 Apr 96 03:07:59 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23123; 25 Apr 96 3:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id SAA15527 for dbi-users-real; Wed, 24 Apr 1996 18:57:49 -0700
Precedence: junk
Sender:
[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 SAA15523
for <
[email protected]>; Wed, 24 Apr 1996 18:57:46 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ab22483; 25 Apr 96 3:00 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab03186; 25 Apr 96 2:53 +0100
Received: from toad by oink with SMTP (PP) id <19200-0@oink>;
Thu, 25 Apr 1996 00:17:19 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07767;
Thu, 25 Apr 1996 00:17:12 +0000
Date: Thu, 25 Apr 1996 00:17:12 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: linking perl and DBD:Oracle shared.
X-Sun-Charset: US-ASCII
content-length: 1265
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From:
[email protected]
>
> Hi...
>
> Just a sidenote, to link with shared libs on hp... or other systems that
> normally say static linking ... Only with oracle 7.2+...
>
> If you compile DBD (oracle) with a 7.2+ version of oracle
> check in $ORACLE_HOME/rdbms/lib... there should be a file
> called clntsh.mk, do a make -f clntsh.mk shlib
>
> this generates libclntsh.sl in ORACLE_HOME/lib
>
> generate your DBD things and go to
> ./blib/arch/auto/DBD/Oracle/
>
> mv extralibs.all extralibs.all.old
>
> do
>
> cat $ORACLE_HOME/rdbms/lib/sysliblist > extralibs.all
>
> and add :
>
> -L/opt/oracle/product/7.2.3/lib -lclntsh
>
> you should get something like
>
> -lcl -lm -L/opt/oracle/product/7.2.3/lib -lclntsh
> in your extralibs.all file...
>
> do a make perl again in DBD/
> if everything goes well you have a shared perl executable now, ie also with
> oracle shared libs.
>
> hope this helps.
>
> cheers
> Wim
Thanks wim. I'll add that to the notes in the distribution.
Are the details the same for 7.2 and 7.3 on Suns as well as HP's etc?
Once I've upgraded our oracle here I'll automate it as far as possible.
I seem to recall mention of a liboracle.sl (or .so on Sun's) awhile ago.
Is that related? A name change perhaps?
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20835-3@oink>;
Thu, 25 Apr 1996 07:06:01 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830398570:25664:5; Thu, 25 Apr 96 03:16:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25502; 25 Apr 96 3:15 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA15562 for dbi-users-real; Wed, 24 Apr 1996 19:08:36 -0700
Precedence: junk
Sender:
[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 TAA15557
for <
[email protected]>; Wed, 24 Apr 1996 19:08:35 -0700
From:
[email protected]
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com
with ESMTP (8.6.12/37.7) id GAA20362; Wed, 24 Apr 1996 06:57:03 -0700
Message-Id: <
[email protected]>
Received: from behux2.be.oracle.com by behux0.be.oracle.com
with SMTP (1.39.111.2/16.2) id AA213854193;
Wed, 24 Apr 1996 15:56:33 +0200
Subject: Re: Problem DBD on HP-UX 9.04 and Oracle 7.1.6
To:
[email protected]
Date: Wed, 24 Apr 1996 15:57:00 CES
Cc:
[email protected]
X-Mailer: Elm [revision: 111.1]
> System: perl5.002 hp-ux hera a.09.04 b 9000887 438396292 16-user license
> PA-RISC1.1 dl_hpux.xs
>
> Compiler: gcc -O -D_HPUX_SOURCE -I/usr/local/include
> Oracle proc.mk would have used these values but we override them:
> CC: gcc
> CFLAGS: -I. -O -Aa -D_HPUX_SOURCE +ESsfc +ESlit
> LDFLAGS: -Wl,-aarchive -L$(LIBHOME)
CFLAGS are the flags for hp cc. not for gcc...
can you try with cc instead?
and actually use the +Z option, but this only works if you recompile
your main. so do it with cc and make sure perlmain.c is recompiled.
with +Z as compiler option
+z,+Z Both of these options cause the compiler to generate
position independent code (PIC) for use in building
shared libraries. The -G and -p options are ignored if
+z or +Z is used. Normally, +z should be used to
generate PIC; however, when certain limits are
exceeded, +Z is required to generate PIC. The ld
linker issues the error indicating when +Z is required.
If both +z and +Z are specified, only the last one
encountered applies. For a more complete discussion
regarding PIC and these options, see the manual
Programming on HP-UX.
cheers
Wim
================================================================
Wim Coekaerts Work Tel.:32-2-7195978
Work Fax.:32-2-7191314
Home Tel.:32-16-470641
Oracle Belgium
Ora*mail: wcoekaer.be Internet:
[email protected]
"The significant problems we face cannot be solved at the
same level of thinking we were at when we created them"
Albert Einstein
The statements and opinions expressed here are my own and
do not necessarily represent those of Oracle Corporation.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20835-9@oink>;
Thu, 25 Apr 1996 07:06:25 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830408542:05755:3; Thu, 25 Apr 96 06:02:22 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa05690; 25 Apr 96 6:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id VAA15920 for dbi-users-real; Wed, 24 Apr 1996 21:52:17 -0700
Precedence: junk
Sender:
[email protected]
Received: from blob.best.net (blob.best.net [204.156.128.88])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id VAA15916
for <
[email protected]>; Wed, 24 Apr 1996 21:52:16 -0700
Received: from au (au.com [204.156.142.70]) by blob.best.net (8.6.12/8.6.5)
with SMTP id VAA16831 for <
[email protected]>;
Wed, 24 Apr 1996 21:55:36 -0700
Message-ID: <
[email protected]>
Date: Wed, 24 Apr 1996 21:52:04 -0700
From: Mike Linksvayer <
[email protected]>
Organization: AU
X-Mailer: Mozilla 2.0 (Win95; I)
MIME-Version: 1.0
To:
[email protected]
Subject: Run (not compile) DBD without Oracle on client?
X-URL:
http://www.hyperion.com/~koreth/uncgi-changes.html
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I don't know much about Oracle, but I have managed to get DBD::Oracle
running on a machine (SPARC Solaris 2.4) running Oracle (7.2.3), not
talking through SQL*Net (I'm pretty sure).
I know it's not possible to compile DBD::Oracle on a machine that
isn't running Oracle, but I'm not sure whether it's possible to use
DBD::Oracle on a client machine that isn't running any Oracle software
to talk to an Oracle server (without a huge amount of extra work).
If it is possible, I'd appreciate any crumbs to set me on the right
path. If not, someone please let me know! Thanks.
Mike Linksvayer
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20835-15@oink>;
Thu, 25 Apr 1996 07:08:14 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830410060:12369:2; Thu, 25 Apr 96 06:27:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa12151; 25 Apr 96 6:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id WAA16020 for dbi-users-real; Wed, 24 Apr 1996 22:20:48 -0700
Precedence: junk
Sender:
[email protected]
Received: from tweety.bhp.com.au (tweety.bhp.com.au [192.83.224.130])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA16016
for <
[email protected]>; Wed, 24 Apr 1996 22:20:44 -0700
Received: from gossamer (gossamer.itmel.bhp.com.au [134.18.115.254])
by tweety.bhp.com.au (8.7.5/8.7.5) with ESMTP id QAA16538;
Thu, 25 Apr 1996 16:23:37 +1100 (EST)
Received: from merlin.resmel.bhp.com.au (merlin.resmel.bhp.com.au [134.18.1.6])
by gossamer (8.7.1/8.7.1) with ESMTP id PAA06386;
Thu, 25 Apr 1996 15:23:41 +1000 (EST)
Received: from sov (sov.resmel.bhp.com.au [134.18.1.18])
by merlin.resmel.bhp.com.au (8.7.1/8.7.1) with ESMTP id PAA10271;
Thu, 25 Apr 1996 15:23:29 +1000 (EST)
Received: from MIME-DAEMON by SOV.RESMEL.BHP.COM.AU (PMDF V4.3-13 #7229)
id <
[email protected]>;
Thu, 25 Apr 1996 15:21:45 +1000
X400-Received: by /PRMD=BHPMEL04/ADMD=TELEMEMO/C=AU/; Relayed;
Thu, 25 Apr 1996 15:17:38 +1100
Date: Thu, 25 Apr 1996 15:17:38 +1100
From: "See, Matthew ME" <
[email protected]>
Subject: Help compiling DBI
To: dbi-users <
[email protected]>
Cc: "Tim Bunce (DBI - Oracle Perl)" <
[email protected]>
Message-id: <003C23B9.MAI*/I=me/G=matthew/S=see/OU=msmail/O=bhp/PRMD=bhpmel04/ADMD=telememo/C=au/@MHS>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
UA-content-id: CSI NC V3.0
X400-Content-type: P2-1984 (2)
X400-MTS-identifier: [/PRMD=bhpmel04/ADMD=telememo/C=au/;960425041738]
Hi all,
I am trying to compile DBI-0.66 on a Solaris 2.4 system with perl 5.002 and
gcc (or a full SUN compiler).
The following is a trace of the session.
----
$ perl Makefile.PL
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
MakeMaker (v5.21)
Checking if your kit is complete...
Looks good
NAME => q[DBI]
VERSION_FROM => q[DBI.pm]
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist] }
DBI VERSION is 0.66 (from DBI.pm)
Using PERL=/usr/bin/perl
Writing Makefile for DBI
$
$ make
umask 0 && cp DBIXS.h blib/arch/DBI/DBIXS.h
umask 0 && cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
umask 0 && cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
umask 0 && cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
umask 0 && cp DBI.pm blib/lib/DBI.pm
/usr/bin/perl -I/usr/local/lib/perl5.002/sun4-solaris/5.002
-I/usr/local/lib/per
l5.002 /usr/local/lib/perl5.002/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5.0
02/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c -I/usr/local/include -O -DVERSION=\"0.66\" -DXS_VERSION=\"0.66\"
-I/usr/
local/lib/perl5.002/sun4-solaris/5.002/CORE DBI.c
"DBI.c", line 1269: warning: end-of-loop code not reached
"DBI.c", line 1283: warning: end-of-loop code not reached
"DBI.c", line 1327: warning: end-of-loop code not reached
ar cr blib/arch/auto/DBI/DBI.a DBI.o && : blib/arch/auto/DBI/DBI.a
chmod 755 blib/arch/auto/DBI/DBI.a
$
$ make test
Writing "Makefile.aperl" for this perl
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
MakeMaker (v5.21)
CCCDLFLAGS => q[]
DIR => []
LINKTYPE => q[static]
MAKEAPERL => q[1]
MAKEFILE => q[Makefile.aperl]
NAME => q[DBI]
NORECURS => q[1]
VERSION_FROM => q[DBI.pm]
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist] }
DBI VERSION is 0.66 (from DBI.pm)
Using PERL=/usr/bin/perl
Writing Makefile.aperl for DBI
make -f Makefile.aperl static perl
umask 0 && cp DBIXS.h blib/arch/DBI/DBIXS.h
umask 0 && cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
umask 0 && cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
umask 0 && cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
umask 0 && cp DBI.pm blib/lib/DBI.pm
Writing perlmain.c
cd . && cc -c -I/usr/local/lib/perl5.002/sun4-solaris/5.002/CORE
-I/usr/local/
include -O -DVERSION=\"0.66\" -DXS_VERSION=\"0.66\"
-I/usr/local/lib/perl5.002/
sun4-solaris/5.002/CORE perlmain.c
cat ./blib/arch/auto/DBI/extralibs.ld >> blib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/DB_File/extralibs.ld >>
bli
b/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/DynaLoader/extralibs.ld
>>
blib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Fcntl/extralibs.ld >>
blib/
arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/FileHandle/extralibs.ld
>>
blib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/NDBM_File/extralibs.ld
>> b
lib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/ODBM_File/extralibs.ld
>> b
lib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/POSIX/extralibs.ld >>
blib/
arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/SDBM_File/extralibs.ld
>> b
lib/arch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Safe/extralibs.ld >>
blib/a
rch/auto/DBI/extralibs.all
cat /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Socket/extralibs.ld >>
blib
/arch/auto/DBI/extralibs.all
cc -L/usr/local/lib -o perl ./perlmain.o
/usr/local/lib/perl5.002/sun4-solaris/5
002/CORE/libperl.a
/usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Socket/Sock
et.a /usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Safe/Safe.a
/usr/local/l
ib/perl5.002/sun4-solaris/5.002/auto/SDBM_File/SDBM_File.a
/usr/local/lib/perl5
002/sun4-solaris/5.002/auto/POSIX/POSIX.a
/usr/local/lib/perl5.002/sun4-solari
s/5.002/auto/ODBM_File/ODBM_File.a
/usr/local/lib/perl5.002/sun4-solaris/5.002/
auto/NDBM_File/NDBM_File.a
/usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Fil
eHandle/FileHandle.a
/usr/local/lib/perl5.002/sun4-solaris/5.002/auto/Fcntl/Fcn
tl.a
/usr/local/lib/perl5.002/sun4-solaris/5.002/auto/DynaLoader/DynaLoader.a
/usr/local/lib/perl5.002/sun4-solaris/5.002/auto/DB_File/DB_File.a
./blib/arch/
auto/DBI/DBI.a `cat ./blib/arch/auto/DBI/extralibs.all` -lsocket -lnsl -ldbm
-ld
b -ldl -lm -lc -lcrypt -lucb
ld: warning: symbol `dc' has differing sizes:
(file
/usr/local/lib/perl5.002/sun4-solaris/5.002/CORE/libperl.a(globals
o) value=0x4; file /usr/local/lib/libucb.so value=0x108);
/usr/local/lib/perl5.002/sun4-solaris/5.002/CORE/libperl.a(globals.o) de
finition taken and updated with larger size
To install the new "perl" binary, call
make -f Makefile.aperl inst_perl MAP_TARGET=perl
To remove the intermediate files say
make -f Makefile.aperl map_clean
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/usr/local/lib/perl5.002/s
un4-solaris/5.002 -I/usr/local/lib/perl5.002 -e 'use Test::Harness
qw(&runtests
$verbose); $verbose=0; runtests @ARGV;' t/*.t
t/min...............Aborting test: output counter mismatch [test 4 answered
when
test 5 expected]
FAILED tests 5-11
Failed 7/11 tests, 36.36% okay
Test returned status 0 (wstat 13)
Failed 1 test script, 0.00% okay. 6/11 subtests failed, 45.45% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_static'
$
$ make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib
-I/usr/local/lib/perl5.002/s
un4-solaris/5.002 -I/usr/local/lib/perl5.002 -e 'use Test::Harness
qw(&runtests
$verbose); $verbose=1; runtests @ARGV;' t/*.t
t/min...............1..11
ok 1
ok 2
ok 3
ok 4
ok 4
Aborting test: output counter mismatch [test 4 answered when test 5
expected]
FAILED tests 5-11
Failed 7/11 tests, 36.36% okay
Test returned status 0 (wstat 13)
Failed 1 test script, 0.00% okay. 6/11 subtests failed, 45.45% okay.
*** Error code 29
make: Fatal error: Command failed for target `test_static'
$
-----
$ perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=solaris, osver=2.4, archname=sun4-solaris
uname='sunos omux1 5.4 generic_101945-27 sun4m sparc '
hint=recommended, useposix=true
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/lib /usr/lib /usr/ccs/lib /usr/local/lib /etc/lib /usr/ucblib
libs=-lsocket -lnsl -ldbm -ldb -ldl -lm -lc -lcrypt -lucb
libc=, so=so
Dynamic Linking:
dlsrc=dl_none.xs, dlext=none, d_dlsymun=, ccdlflags=''
cccdlflags='', lddlflags=''
@INC: /usr/local/lib/perl5.002/sun4-solaris/5.002 /usr/local/lib/perl5.002
/usr/
local/lib/perl5.002/site_perl/sun4-solaris
/usr/local/lib/perl5.002/site_perl .
-----
Thanks in advance,
Matthew See.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20941-1@oink>;
Thu, 25 Apr 1996 07:10:38 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830412443:23387:2; Thu, 25 Apr 96 07:07:23 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23296; 25 Apr 96 7:07 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id XAA16143 for dbi-users-real; Wed, 24 Apr 1996 23:01:06 -0700
Precedence: junk
Sender:
[email protected]
Received: from tweety.bhp.com.au (tweety.bhp.com.au [192.83.224.130])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id XAA16139
for <
[email protected]>; Wed, 24 Apr 1996 23:00:43 -0700
Received: from gossamer (gossamer.itmel.bhp.com.au [134.18.115.254])
by tweety.bhp.com.au (8.7.5/8.7.5) with ESMTP id RAA17113;
Thu, 25 Apr 1996 17:03:35 +1100 (EST)
Received: from merlin.resmel.bhp.com.au (merlin.resmel.bhp.com.au [134.18.1.6])
by gossamer (8.7.1/8.7.1) with ESMTP id QAA08146;
Thu, 25 Apr 1996 16:03:40 +1000 (EST)
Received: from sov (sov.resmel.bhp.com.au [134.18.1.18])
by merlin.resmel.bhp.com.au (8.7.1/8.7.1) with ESMTP id QAA10830;
Thu, 25 Apr 1996 16:03:32 +1000 (EST)
Received: from MIME-DAEMON by SOV.RESMEL.BHP.COM.AU (PMDF V4.3-13 #7229)
id <
[email protected]>;
Thu, 25 Apr 1996 16:01:49 +1000
X400-Received: by /PRMD=BHPMEL04/ADMD=TELEMEMO/C=AU/; Relayed;
Thu, 25 Apr 1996 15:56:57 +1100
Date: Thu, 25 Apr 1996 15:56:57 +1100
From: "See, Matthew ME" <
[email protected]>
Subject: RE: Help compiling DBI - Please Ignore (Answer found)
To: dbi-users <
[email protected]>
Cc: "Tim Bunce (DBI - Oracle Perl)" <
[email protected]>
Message-id: <003C2551.MAI*/I=me/G=matthew/S=see/OU=msmail/O=bhp/PRMD=bhpmel04/ADMD=telememo/C=au/@MHS>
MIME-version: 1.0
Content-type: TEXT/PLAIN; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
UA-content-id: CSI NC V3.0
X400-Content-type: P2-1984 (2)
X400-MTS-identifier: [/PRMD=bhpmel04/ADMD=telememo/C=au/;960425045657]
Sorry all,
I found the problem in the archives ... Apologies for not being thorough
enough in the first place.
It was the old "output counter mismatch in the test suite" problem!
I suppose that's what you get if you're stupid enough to work on a public
holiday, whilst feeling sick, & doing work that you aren't being paid for!
:-(
Do I hear violins? Nah ...
Matthew.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21632-3@oink>;
Thu, 25 Apr 1996 08:06:33 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830415944:13804:2; Thu, 25 Apr 96 08:05:44 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa11655; 25 Apr 96 8:04 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id XAA16225 for dbi-users-real; Wed, 24 Apr 1996 23:54:49 -0700
Precedence: junk
Sender:
[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 XAA16221
for <
[email protected]>; Wed, 24 Apr 1996 23:54:48 -0700
From:
[email protected]
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com
with ESMTP (8.6.12/37.7) id XAA17708; Wed, 24 Apr 1996 23:58:13 -0700
Message-Id: <
[email protected]>
Received: from behux2.be.oracle.com by behux0.be.oracle.com
with SMTP (1.39.111.2/16.2) id AA032015463;
Thu, 25 Apr 1996 08:57:43 +0200
Subject: Re: Run (not compile) DBD without Oracle on client?
To:
[email protected]
Date: Thu, 25 Apr 1996 8:57:54 CES
X-Mailer: Elm [revision: 111.1]
Mike,
> I don't know much about Oracle, but I have managed to get DBD::Oracle
> running on a machine (SPARC Solaris 2.4) running Oracle (7.2.3), not
> talking through SQL*Net (I'm pretty sure).
Thats good !:)
> I know it's not possible to compile DBD::Oracle on a machine that
> isn't running Oracle, but I'm not sure whether it's possible to use
> DBD::Oracle on a client machine that isn't running any Oracle software
> to talk to an Oracle server (without a huge amount of extra work).
Ok, well, of course you need the oracle libraries to compile the perl
executable with all the necessary libs. So yes in the first case you
need oracle or at least all those libs installed.
Now, it should be possible to use dbd on a client machine thats not got
any oracle software installed, ie, you make sure you linked STATIC...
and depending on whether you linked with sqlnet v1 or sqlnet v2 or both
you need to set up your client system, set TWO_TASK=connectstring
and give as connectstring either the V1 or V2 connect string. in case of
v1 you dont need to have extra config files, in case of v2 you ll need
to create your tnsnames.ora and sqlnet.ora so that the libs can find
these files and use them...
Setting your ORACLE_HOME and ORACLE_SID is not necessary either. So
in case of V1 it should be Very easy. in case of V2 you need the
2 extra .ora files somewhere in /etc or in a directory you want and
point TNS_ADMIN to that directory.
lemme know if you have any trouble getting this to work.
cheers
Wim
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <23723-0@oink>;
Thu, 25 Apr 1996 17:01:22 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830427310:20908:2; Thu, 25 Apr 96 11:15:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa20802; 25 Apr 96 11:14 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA16498 for dbi-users-real; Thu, 25 Apr 1996 03:08:32 -0700
Precedence: junk
Sender:
[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 DAA16494
for <
[email protected]>; Thu, 25 Apr 1996 03:08:30 -0700
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com
with ESMTP (8.6.12/37.7) id DAA14722; Thu, 25 Apr 1996 03:11:56 -0700
Message-Id: <
[email protected]>
Received: from b-w001.be.oracle.com by behux0.be.oracle.com
with SMTP (1.39.111.2/16.2) id AA134727085;
Thu, 25 Apr 1996 12:11:25 +0200
From: Philippe Vanhaesendonck <
[email protected]>
Subject: Re: Run (not compile) DBD without Oracle on client?
To:
[email protected]
Date: Thu, 25 Apr 1996 12:11:53 CES
X-Mailer: Elm [revision: 110.32]
> <SNIP>
>
> > I know it's not possible to compile DBD::Oracle on a machine that
> > isn't running Oracle, but I'm not sure whether it's possible to use
> > DBD::Oracle on a client machine that isn't running any Oracle software
> > to talk to an Oracle server (without a huge amount of extra work).
>
> Ok, well, of course you need the oracle libraries to compile the perl
> executable with all the necessary libs. So yes in the first case you
> need oracle or at least all those libs installed.
>
> Now, it should be possible to use dbd on a client machine thats not got
> any oracle software installed, ie, you make sure you linked STATIC...
> and depending on whether you linked with sqlnet v1 or sqlnet v2 or both
> you need to set up your client system, set TWO_TASK=connectstring
> and give as connectstring either the V1 or V2 connect string. in case of
> v1 you dont need to have extra config files, in case of v2 you ll need
> to create your tnsnames.ora and sqlnet.ora so that the libs can find
> these files and use them...
Keep in mind that Oracle stores its messages in files, so if you want to
see the full text, you need the $OH/<prod>/mesg/<cat><lang>.msb files...
Also as from 7.2, NLSRTL loads the character sets at run time, so if you
want to use a non US7ASCII cset, ORA_NLS must point to where you have your
cset definitions(e.g.: ORA_NLS=$OH/ocommon/nls/admin/data)
--
Phil.
The statements and opinions expressed here are my own and do not necessarily
represent those of Oracle Corporation.
+--------------------------------------+
| Philippe Vanhaesendonck |
| Senior Technical Support Specialist+-------------------------------------+
| Oracle Belgium - Vuurberg 80 | Internet
[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 <23753-10@oink>;
Thu, 25 Apr 1996 17:04:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830443789:12325:0; Thu, 25 Apr 96 15:49:49 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa11811; 25 Apr 96 15:48 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa25274; 25 Apr 96 15:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id HAA16791 for dbi-users-real; Thu, 25 Apr 1996 07:33:54 -0700
Precedence: junk
Sender:
[email protected]
Received: from netra.merc.com (netra.merc.com [204.255.152.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id HAA16787
for <
[email protected]>; Thu, 25 Apr 1996 07:33:53 -0700
Received: (from dcasson@localhost) by netra.merc.com (8.7.5/960319.09ccg)
id IAA11275 for
[email protected];
Thu, 25 Apr 1996 08:35:25 -0600 (MDT)
From: Dan Casson <
[email protected]>
Message-Id: <
[email protected]>
Subject: Stored Procedures w/Oracle
To:
[email protected]
Date: Thu, 25 Apr 1996 08:35:24 -0600 (MDT)
X-Mailer: ELM [version 2.4 PL23]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi all,
Can Perl5/Oracle handle stored procedures? And if so how are
they implemented.
Thanks
-Dan
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26588-6@oink>;
Fri, 26 Apr 1996 07:09:27 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830455259:16020:0; Thu, 25 Apr 96 19:00:59 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa15692; 25 Apr 96 19:00 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa02898; 25 Apr 96 18:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA17150 for dbi-users-real; Thu, 25 Apr 1996 10:39:20 -0700
Precedence: junk
Sender:
[email protected]
Received: from gwdu42.gwdg.de (
[email protected] [134.76.10.26])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA17146
for <
[email protected]>; Thu, 25 Apr 1996 10:39:18 -0700
Received: from gwdu20.gwdg.de by gwdu42.gwdg.de with SMTP (PP);
Thu, 25 Apr 1996 19:39:44 +0200
Received: by gwdu20.gwdg.de; (5.65v3.2/1.1.8.2/15Jan96-0158PM) id AA00255;
Thu, 25 Apr 1996 19:39:39 +0200
From: bbeilke <
[email protected]>
Message-Id: <
[email protected]>
Subject: unsubscribe
To:
[email protected]
Date: Thu, 25 Apr 1996 19:39:39 +0200 (MET DST)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text
Content-Length: 33
Please unsubscribe Bernd Beilke!
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26588-8@oink>;
Fri, 26 Apr 1996 07:09:46 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830455394:17208:0; Thu, 25 Apr 96 19:03:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa16709; 25 Apr 96 19:02 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa03344; 25 Apr 96 19:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA17169 for dbi-users-real; Thu, 25 Apr 1996 10:50:32 -0700
Precedence: junk
Sender:
[email protected]
Received: from vivid.com (vivid.vivid.com [205.163.51.81])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id KAA17165
for <
[email protected]>; Thu, 25 Apr 1996 10:50:31 -0700
Received: from greedo.vivid.com by vivid.com (NX5.67c/NeXT-2.0) id AA23661;
Thu, 25 Apr 96 10:50:33 -0700
Date: Thu, 25 Apr 96 10:50:33 -0700
X-Sender:
[email protected]
Message-Id: <ada508d001021004a213@[205.163.51.232]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Dan Casson <
[email protected]>
From: Jake in Denial <
[email protected]>
Subject: Re: Stored Procedures w/Oracle
Cc:
[email protected]
At 2:35 PM 4/25/96, Dan Casson wrote:
>Hi all,
>
> Can Perl5/Oracle handle stored procedures? And if so how are
>they implemented.
You can call stored procedures but you can't get any return values back
(the bind variable stuff is not supported). Just put "begin sproc(args);
end;" in the SQL you pass to Oraperl.
One way to get a return value is to have the sproc store it in a global and
then do a separate select to retrieve it after calling the sproc.
Jake
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26588-16@oink>;
Fri, 26 Apr 1996 07:11:33 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830459054:19110:0; Thu, 25 Apr 96 20:04:14 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa18606; 25 Apr 96 20:03 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa15616; 25 Apr 96 20:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA17323 for dbi-users-real; Thu, 25 Apr 1996 11:50:42 -0700
Precedence: junk
Sender:
[email protected]
Received: from colossus.cse.psu.edu (
[email protected] [130.203.1.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA17319
for <
[email protected]>; Thu, 25 Apr 1996 11:50:39 -0700
Received: from localhost by colossus.cse.psu.edu with SMTP id <78694>;
Thu, 25 Apr 1996 14:53:45 -0400
X-Mailer: exmh version 1.6.5 12/11/95
X-uri: <URL:
http://www.cse.psu.edu/~groenvel/>
X-work-address: Manufacturing Technology - Systems Development Group PO Box 30
The Applied Research Lab State College, PA 16804
X-work-phone: +1 814 863 9896 (Voice) +1 814 863 1183 (Fax)
To: Tim Bunce <
[email protected]>
Cc:
[email protected]
Subject: Re: Undocumented MiniSvr Feature
In-reply-to: Your message of "Wed, 24 Apr 1996 19:46:25 EDT." <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 25 Apr 1996 14:53:26 -0400
From: John D Groenveld <
[email protected]>
Message-Id: <
[email protected]>
> p.s. I didn't know anyone was using CGI::MiniSvr!
> I'd be interested to hear some tales of it's use and abuse :-)
Well, I'm still trying to figure out how to use it and safely keep open the
Oracle connection. If I spawn and then dont do the &ora_logoff, I get stuck
with open connections to the database. I'd love some code examples.
On a related note, what kind of work is being done to emulate Oracle's Request
Broker. WRB is the daemon in Oracle WebServer 2.0 which waits for Web-PL/SQL
transactions and mitigates the DB connection overhead.
BTW, Doug MacEachern's Apache passwd module is a step above what Oracle can do
with their WebServer. Oracle WebServer still doesnt tie database
authentication to the httpd.
John "dbperl promoter" Groenveld
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <26586-24@oink>;
Fri, 26 Apr 1996 07:12:36 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830464688:11603:3; Thu, 25 Apr 96 21:38:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa11335; 25 Apr 96 21:37 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA16900 for dbi-users-real; Thu, 25 Apr 1996 08:20:09 -0700
Precedence: junk
Sender:
[email protected]
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA16896
for <
[email protected]>; Thu, 25 Apr 1996 08:20:01 -0700
Received: from localhost (pixel@localhost)
by rhino.coe.missouri.edu (8.7.3/8.7.1) with SMTP id KAA06330;
Thu, 25 Apr 1996 10:21:34 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Thu, 25 Apr 1996 10:21:33 -0500 (CDT)
From: James Cooper <
[email protected]>
To: "Bergquist, Denis J" <
[email protected]>
cc: dbi-users <
[email protected]>
Subject: Re: IRIX 5.3 SGI can't compile DBD::Oracle - Incompatible pointer type
assignment
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On 24 Apr 1996, Bergquist, Denis J wrote:
> cfe: Error: dbdimp.c, line 811: Type imp_fbh_t * of this argument is
> incompatible with type unsigned char * of function prototype description
> (3.3.16.1)
> safefree(imp_sth->fbh);
> --------------------^
> *** Error code 1 (bu21)
>
> Changing dbdimp.c lines 811-813 as so
>
> < safefree((char *)(imp_sth->fbh));
> < safefree((char *)(imp_sth->fbh_cbuf));
> < safefree((char *)(imp_sth->statement));
> ---
> > safefree(imp_sth->fbh);
> > safefree(imp_sth->fbh_cbuf);
> > safefree(imp_sth->statement);
>
>
> I don't speak 'c', but my c guru tells me that this is an OK thing to have
> done. (First he looked for the prototype of safefree which seems to have come
> from handy.h, perl.h, or proto.h in perl5/lib/sgi-irix/5.002/CORE.)
>
> Any comment? Should this have worked or have I got an old version of
> something?
I'm running DBB::Oracle on an Indy w/IRIX 5.3, and I had the *exact* same
problem. I did the same pointer typecast that you did, and have had no
problems, so I guess it's ok!
-- James
........................................................................
James Paul Cooper * Pixel
MU College of Education
[email protected] -
http://tiger.coe.missouri.edu/~pixel/
........................................................................
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26588-26@oink>;
Fri, 26 Apr 1996 07:13:20 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830462868:22032:2; Thu, 25 Apr 96 21:07:48 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa21974; 25 Apr 96 21:07 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa26968; 25 Apr 96 21:06 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA17472 for dbi-users-real; Thu, 25 Apr 1996 12:49:42 -0700
Precedence: junk
Sender:
[email protected]
Received: from fullfeed.msn.fullfeed.com (fullfeed.msn.fullfeed.com [199.184.182.42])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA17468
for <
[email protected]>; Thu, 25 Apr 1996 12:49:35 -0700
Received: from sumatra.americantv.com
by fullfeed.msn.fullfeed.com (8.6.9/FF-1.1) id OAA27014;
Thu, 25 Apr 1996 14:52:01 -0500
Received: (from uucp@localhost) by sumatra.americantv.com (8.6.12/8.6.12)
with UUCP id OAA05897; Thu, 25 Apr 1996 14:38:59 -0500
Received: (jlemon@localhost) by right.PCS (8.6.12/8.6.4) id OAA16312;
Thu, 25 Apr 1996 14:53:20 -0500
From: Jonathan Lemon <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: Stored Procedures w/Oracle
To: Jake in Denial <
[email protected]>, Dan Casson <
[email protected]>
Date: Thu, 25 Apr 1996 14:53:19 -0500 (CDT)
Cc:
[email protected]
In-Reply-To: <ada508d001021004a213@[205.163.51.232]> from "Jake in Denial" at Apr 25, 96 10:50:33 am
X-Mailer: ELM [version 2.4 PL21]
Content-Type: text
Content-Length: 768
> At 2:35 PM 4/25/96, Dan Casson wrote:
> >Hi all,
> >
> > Can Perl5/Oracle handle stored procedures? And if so how are
> >they implemented.
>
> You can call stored procedures but you can't get any return values back
> (the bind variable stuff is not supported). Just put "begin sproc(args);
> end;" in the SQL you pass to Oraperl.
>
> One way to get a return value is to have the sproc store it in a global and
> then do a separate select to retrieve it after calling the sproc.
Well, perl5/oracle can handle stored procedures _with_ return values (eg:
fully supported bind variables), with the patch that I submitted to Tim
last July. I haven't followed this mailing list for a looong time - did the
patch ever make it into the distribution?
--
Jonathan
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26695-15@oink>;
Fri, 26 Apr 1996 07:16:50 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830479594:10081:2; Fri, 26 Apr 96 01:46:34 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa09802; 26 Apr 96 1:45 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id RAA18426 for dbi-users-real; Thu, 25 Apr 1996 17:28:12 -0700
Precedence: junk
Sender:
[email protected]
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id RAA18422
for <
[email protected]>; Thu, 25 Apr 1996 17:28:11 -0700
Received: from windmill (dyn000147.belt.digex.net [206.181.16.147])
by svcs1.digex.net (8.6.12/8.6.12) with SMTP id UAA09461
for <
[email protected]>; Thu, 25 Apr 1996 20:31:37 -0400
Message-ID: <
[email protected]>
Date: Thu, 25 Apr 1996 20:32:03 +0100
From: "Wayne D. Elias" <
[email protected]>
Organization: RWD Technologies, Inc.
X-Mailer: Mozilla 2.01 (WinNT; I)
MIME-Version: 1.0
To:
[email protected]
Subject: unsubscribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Please unsubscribe Wayne D. Elias.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <01787-0@oink>;
Fri, 26 Apr 1996 15:25:13 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830515693:07229:1; Fri, 26 Apr 96 11:48:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa06756; 26 Apr 96 11:47 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA19436 for dbi-users-real; Fri, 26 Apr 1996 03:42:14 -0700
Precedence: junk
Sender:
[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 DAA19432
for <
[email protected]>; Fri, 26 Apr 1996 03:42:11 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ae08577; 26 Apr 96 11:45 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae00906; 26 Apr 96 11:36 +0100
Received: from toad by oink with SMTP (PP) id <00220-0@oink>;
Fri, 26 Apr 1996 11:33:49 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21725;
Fri, 26 Apr 1996 11:33:42 +0000
Date: Fri, 26 Apr 1996 11:33:42 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected],
[email protected]
Subject: Re: Stored Procedures w/Oracle
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 998
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Jonathan Lemon <
[email protected]>
>
> > At 2:35 PM 4/25/96, Dan Casson wrote:
> > >Hi all,
> > >
> > > Can Perl5/Oracle handle stored procedures? And if so how are
> > >they implemented.
> >
> > You can call stored procedures but you can't get any return values back
> > (the bind variable stuff is not supported). Just put "begin sproc(args);
> > end;" in the SQL you pass to Oraperl.
> >
> > One way to get a return value is to have the sproc store it in a global and
> > then do a separate select to retrieve it after calling the sproc.
>
> Well, perl5/oracle can handle stored procedures _with_ return values (eg:
> fully supported bind variables), with the patch that I submitted to Tim
> last July. I haven't followed this mailing list for a looong time - did the
> patch ever make it into the distribution?
Sadly not. Mainly because it didn't do things quite the way I wanted.
But I've still got it and may well use parts when I do implement this.
Thanks.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01791-0@oink>;
Fri, 26 Apr 1996 15:25:44 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830515455:00178:3; Fri, 26 Apr 96 11:44:15 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa29908; 26 Apr 96 11:43 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA19418 for dbi-users-real; Fri, 26 Apr 1996 03:33:31 -0700
Precedence: junk
Sender:
[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 DAA19414
for <
[email protected]>; Fri, 26 Apr 1996 03:33:29 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ac12574; 26 Apr 96 10:36 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab00906; 26 Apr 96 11:36 +0100
Received: from toad by oink with SMTP (PP) id <00167-0@oink>;
Fri, 26 Apr 1996 11:20:18 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21679;
Fri, 26 Apr 1996 11:20:10 +0000
Date: Fri, 26 Apr 1996 11:20:10 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Stored Procedures w/Oracle
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 761
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Jake in Denial <
[email protected]>
>
> At 2:35 PM 4/25/96, Dan Casson wrote:
> >Hi all,
> >
> > Can Perl5/Oracle handle stored procedures? And if so how are
> >they implemented.
>
> You can call stored procedures but you can't get any return values back
> (the bind variable stuff is not supported). Just put "begin sproc(args);
> end;" in the SQL you pass to Oraperl.
>
> One way to get a return value is to have the sproc store it in a global and
> then do a separate select to retrieve it after calling the sproc.
Maybe if you all cross your fingers and pray quietly I might just add
better support for stored procedures in DBD::Oracle.
It looks like I'll need it for some Real Work I'm doing.
No promises and no timescales. Sorry.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01791-2@oink>;
Fri, 26 Apr 1996 15:25:52 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830515749:02467:4; Fri, 26 Apr 96 11:49:09 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa02391; 26 Apr 96 11:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA19444 for dbi-users-real; Fri, 26 Apr 1996 03:43:11 -0700
Precedence: junk
Sender:
[email protected]
Received: from mail1.is.net (
[email protected] [198.69.24.4])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id DAA19440
for <
[email protected]>; Fri, 26 Apr 1996 03:43:10 -0700
Received: from terry.is.net (terry.is.net [204.180.29.139])
by mail1.is.net (8.6.11/8.6.12) with SMTP id HAA16874
for <
[email protected]>; Fri, 26 Apr 1996 07:42:45 -0400
Message-Id: <
[email protected]>
Comments: Authenticated sender is <
[email protected]>
From: Terry Ferentinos <
[email protected]>
To:
[email protected]
Date: Fri, 26 Apr 1996 06:47:29 -0500
Subject: unsubscribe
Reply-to:
[email protected]
Priority: normal
X-mailer: Pegasus Mail for Win32 (v2.30)
Please unsubscribe Terry Ferentinos
Thanks
Terry
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01791-4@oink>;
Fri, 26 Apr 1996 15:25:58 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830515963:04101:1; Fri, 26 Apr 96 11:52:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa03642; 26 Apr 96 11:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id DAA19453 for dbi-users-real; Fri, 26 Apr 1996 03:46:33 -0700
Precedence: junk
Sender:
[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 DAA19449
for <
[email protected]>; Fri, 26 Apr 1996 03:46:31 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id an08813; 26 Apr 96 11:47 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ac00906; 26 Apr 96 11:36 +0100
Received: from toad by oink with SMTP (PP) id <00177-0@oink>;
Fri, 26 Apr 1996 11:22:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA21691;
Fri, 26 Apr 1996 11:22:51 +0000
Date: Fri, 26 Apr 1996 11:22:51 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: Undocumented MiniSvr Feature
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 691
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: John D Groenveld <
[email protected]>
>
> > p.s. I didn't know anyone was using CGI::MiniSvr!
> > I'd be interested to hear some tales of it's use and abuse :-)
> Well, I'm still trying to figure out how to use it and safely keep open the
> Oracle connection. If I spawn and then dont do the &ora_logoff, I get stuck
> with open connections to the database. I'd love some code examples.
Don't login till after the spawn (fork).
> On a related note, what kind of work is being done to emulate Oracle's Request
> Broker. WRB is the daemon in Oracle WebServer 2.0 which waits for Web-PL/SQL
> transactions and mitigates the DB connection overhead.
I don't know of any.
Tim.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02049-0@oink>;
Fri, 26 Apr 1996 15:54:15 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830530148:17258:2; Fri, 26 Apr 96 15:49:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa17117; 26 Apr 96 15:48 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id HAA19782 for dbi-users-real; Fri, 26 Apr 1996 07:39:03 -0700
Precedence: junk
Sender:
[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 HAA19778
for <
[email protected]>; Fri, 26 Apr 1996 07:38:55 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ad26336; 26 Apr 96 14:39 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab01261; 26 Apr 96 15:35 +0100
Received: from toad by oink with SMTP (PP) id <01940-0@oink>;
Fri, 26 Apr 1996 15:35:29 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA22996;
Fri, 26 Apr 1996 15:35:13 +0000
Date: Fri, 26 Apr 1996 15:35:13 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: re: OraPerl extensions for Perl
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1090
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Leong Freda <
[email protected]>
>
> Tim,
>
> I am currently working on a Web-based project, that is considering of using
> OraPerl to get access into an Oracle 7 database. We are planning to use
> Perl 5
> for writing scripts. I wonder if you could help me on some of our queries:
>
> 1. Our development for the webs have to be finished around July 96. I am
> concerned that the current OraPerl extensions for Perl 5 is Alpha software.
> Therefore thinking of the possibility of using Perl 4 with the corresponding
> OraPerl extensions, yet sooner or later everything has to be upgraded...
> What will OraPerl have a definitive version for Perl5?
So long as you stick to the Oraperl emulation you can regard it as
release quality and stability now. I'll probably make that clear in
the next release.
> 2. Can we have use OraPerl scripts on one machine to access an Oracle
> database which sits on another machine?
Yes. Ask on the dbi-users mailing list if you have problems (in fact
always ask everything there since I may not have time to answer personally).
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02233-2@oink>;
Fri, 26 Apr 1996 16:42:38 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830533322:15948:0; Fri, 26 Apr 96 16:42:02 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa15403; 26 Apr 96 16:40 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa25771; 26 Apr 96 16:39 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA20610 for dbi-users-real; Fri, 26 Apr 1996 08:31:36 -0700
Precedence: junk
Sender:
[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 IAA20606
for <
[email protected]>; Fri, 26 Apr 1996 08:31:24 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa02208; 26 Apr 96 16:28 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab14583; 26 Apr 96 16:26 +0100
Received: from toad by oink with SMTP (PP) id <02024-0@oink>;
Fri, 26 Apr 1996 15:47:52 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA23041;
Fri, 26 Apr 1996 15:47:37 +0000
Date: Fri, 26 Apr 1996 15:47:37 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: unsubscribe
X-Sun-Charset: US-ASCII
content-length: 1762
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Terry Ferentinos <
[email protected]>
>
> Please unsubscribe Terry Ferentinos
>
> Thanks
>
> Terry
As recently posted:
----- Begin Included Message -----
Subject: HOW TO UNSUBSCRIBE
Date: Tue, 16 Apr 1996 11:20:57 -0700
From: Ted Lemon <
[email protected]>
Cc:
[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 <10671-3@oink>;
Mon, 29 Apr 1996 07:11:44 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830558735:08910:3; Fri, 26 Apr 96 23:45:35 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa08653; 26 Apr 96 23:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA22649 for dbi-users-real; Fri, 26 Apr 1996 15:36:54 -0700
Precedence: junk
Sender:
[email protected]
Received: from csiunx.it.csi.cuny.edu (csiunx.it.csi.cuny.edu [163.238.1.20])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id PAA22645
for <
[email protected]>; Fri, 26 Apr 1996 15:36:52 -0700
Received: by csiunx.it.csi.cuny.edu (5.57/Ultrix3.0-C) id AA04518;
Fri, 26 Apr 96 18:43:50 -0400
Date: Fri, 26 Apr 96 18:43:50 -0400
From:
[email protected] (Dr. Divyendu Sinha)
Message-Id: <
[email protected]>
To:
[email protected]
Subject: unsubscribe
Please unsubscribe Div Sinha
thanks
div sinha
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10587-29@oink>;
Mon, 29 Apr 1996 07:13:06 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830558810:19946:0; Fri, 26 Apr 96 23:46:50 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa19492; 26 Apr 96 23:45 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa09623; 26 Apr 96 23:44 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id PAA22655 for dbi-users-real; Fri, 26 Apr 1996 15:37:28 -0700
Precedence: junk
Sender:
[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 PAA22651
for <
[email protected]>; Fri, 26 Apr 1996 15:37:28 -0700
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com
with ESMTP (8.6.12/37.7) id FAA27985; Fri, 26 Apr 1996 05:12:53 -0700
Message-Id: <
[email protected]>
Received: from b-w001.be.oracle.com by behux0.be.oracle.com
with SMTP (1.39.111.2/16.2) id AA161150742;
Fri, 26 Apr 1996 14:12:22 +0200
From: Philippe Vanhaesendonck <
[email protected]>
Subject: Re: Undocumented MiniSvr Feature
To:
[email protected]
Date: Fri, 26 Apr 1996 14:12:50 CES
X-Mailer: Elm [revision: 110.32]
> From: John D Groenveld <
[email protected]>
>
> On a related note, what kind of work is being done to emulate Oracle's Request
> Broker. WRB is the daemon in Oracle WebServer 2.0 which waits for Web-PL/SQL
> transactions and mitigates the DB connection overhead.
Note that the WRB 2.0 does not maintain Oracle connection. The benefit is mainly
due to the fact that you have pre-spawned Web Agents...
Phil.
The statements and opinions expressed here are my own and do not necessarily
represent those of Oracle Corporation.
+--------------------------------------+
| Philippe Vanhaesendonck |
| Senior Technical Support Specialist+-------------------------------------+
| Oracle Belgium - Vuurberg 80 | Internet
[email protected] |
| B-1831 Diegem (Belgium) | Compuserve 75611,1504 |
+------------------------------------| Voice +32-2-719.59.59 |
| Fax +32-2-719.13.14 |
+-------------------------------------+
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <10586-20@oink>;
Mon, 29 Apr 1996 07:13:09 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830733043:25422:1; Mon, 29 Apr 96 00:10:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa25192; 29 Apr 96 0:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id QAA26996 for dbi-users-real; Sun, 28 Apr 1996 16:01:43 -0700
Precedence: junk
Sender:
[email protected]
Received: from ns1.inxpress.net (
[email protected] [204.120.4.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA26992
for <
[email protected]>; Sun, 28 Apr 1996 16:01:42 -0700
Received: from [204.120.4.137] (d9.inxpress.net [204.120.4.137])
by ns1.inxpress.net (8.7.4/8.7.3) with SMTP id RAA08290;
Sun, 28 Apr 1996 17:59:48 -0500 (CDT)
X-Sender:
[email protected]
Message-Id: <v02140b07ada9a91573ef@[204.120.4.137]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 28 Apr 1996 18:02:38 -0500
To:
[email protected]
From:
[email protected] (Stephen Dahmen)
Subject: Test can't find three symbols
Cc: Tim Bunce <
[email protected]>,
[email protected]
Hello again...
make test is having problems resolving a few symbols, and I do not understand
how Perl interacts with C enough to try and track them down.
Any clues?
/usr/local/src/DBI/DBI-0.68 % make test TEST_VERBOSE=1
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/li
b/perl5/NEXTSTEP/5.002 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests
$verbose); $verbose=1; runtests @ARGV;' t/*.t
t/min...............1..12
Can't load './blib/arch/auto/DBI/DBI.so' for module DBI: rld(): Undefined symbol
s:
_dirty
_perl_destruct_level
_runlevel
at blib/lib/DBI.pm line 32
FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
Test returned status 2 (wstat 512)
Failed 1 test script, 0.00% okay. 12/12 subtests failed, 0.00% okay.
*** Exit 2
Stop.
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen **
[email protected]
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:
http://www.clotho.com/smd
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10587-38@oink>;
Mon, 29 Apr 1996 07:15:09 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830578267:22241:2; Sat, 27 Apr 96 05:11:07 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-1.mail.demon.net
id aa22122; 27 Apr 96 5:10 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id UAA23305 for dbi-users-real; Fri, 26 Apr 1996 20:57:18 -0700
Precedence: junk
Sender:
[email protected]
Received: from colossus.cse.psu.edu (
[email protected] [130.203.1.2])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA23301
for <
[email protected]>; Fri, 26 Apr 1996 20:57:17 -0700
Received: by colossus.cse.psu.edu id <79013>; Sat, 27 Apr 1996 00:00:19 -0400
From: John D Groenveld <
[email protected]>
To:
[email protected]
Subject: Re: Undocumented MiniSvr Feature
Cc:
[email protected]
Message-Id: <
[email protected]>
Date: Sat, 27 Apr 1996 00:00:08 -0400
>Note that the WRB 2.0 does not maintain Oracle connection. The benefit is mainly
>due to the fact that you have pre-spawned Web Agents...
Oops, Broker, as the name implies, handles and routes requests. Do I need to
configure seperate agents for each database user or can I have multiple users
connect thru the same Agent?
Maybe it doesnt make sense for us to try to emulate this Oracle feature.
John
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10587-56@oink>;
Mon, 29 Apr 1996 07:22:13 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830726913:04541:1; Sun, 28 Apr 96 22:28:33 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa03943; 28 Apr 96 22:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id OAA26821 for dbi-users-real; Sun, 28 Apr 1996 14:08:36 -0700
Precedence: junk
Sender:
[email protected]
Received: from ns1.inxpress.net (
[email protected] [204.120.4.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA26817
for <
[email protected]>; Sun, 28 Apr 1996 14:08:34 -0700
Received: from [204.120.4.137] (d9.inxpress.net [204.120.4.137])
by ns1.inxpress.net (8.7.4/8.7.3) with SMTP id QAA06954;
Sun, 28 Apr 1996 16:06:28 -0500 (CDT)
X-Sender:
[email protected]
Message-Id: <v02140b01ada980f80746@[204.120.4.147]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 28 Apr 1996 16:09:27 -0500
To:
[email protected]
From:
[email protected] (Stephen Dahmen)
Subject: HELP: Build of DBI failing on NeXT UNIX
Cc: Tim Bunce <
[email protected]>,
[email protected]
hi Tim, et. al.:
I'm way stumped as to why DBI will not compile on our NeXT workstation.
None of the cc errors make any sense, or line up with any lines in the
files. That is, all the line numbers state an error which is simply not ON
the line in the file. OFten the line numbers aren't even IN the source file
(too big).
Is this an objective C thing? I've never seen such scrappy errors.
From all the mail headers that had NeXT as their mailer, I imagine somebody
here has a fix.
I read through all the archives, and didn't see anything.
Any help would be much much appreciated.
Sincerely,
Stephen M. Dahmen.
Here's what was asked for in the README
bash# perl -V
Summary of my perl5 (5.0 patchlevel 2) configuration:
Platform:
osname=next, osver=3, archname=NEXTSTEP
uname=''
hint=previous, useposix=true
Compiler:
cc='cc', optimize='-O', gccversion=NeXT DevKit-based CPP 3.1
cppflags='-g -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY'
ccflags ='-g -ObjC -arch m68k -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY'
stdchar='char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=4, usemymalloc=n, randbits=31
Linker and Libraries:
ld='cc', ldflags =' -arch m68k -all_load -L/usr/local/lib'
libpth=/usr/local/lib /usr/shlib /lib /usr/lib
libs=-ldbm
libc=/lib/libsys_s.a, so=so
Dynamic Linking:
dlsrc=dl_next.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags=' ', lddlflags='-nostdlib -r -arch m68k -L/usr/local/lib'
@INC: /usr/local/lib/perl5/NEXTSTEP/5.002 /usr/local/lib/perl5 /usr/local/lib/pe
rl5/site_perl/NEXTSTEP /usr/local/lib/perl5/site_perl /usr/local/lib/site/perl5/
NEXTSTEP /usr/local/lib/site/perl5 .
bash# perl Makefile.PL
Use of uninitialized value at Makefile.PL line 21.
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
MakeMaker (v5.21)
Checking if your kit is complete...
Looks good
NAME => q[DBI]
VERSION_FROM => q[DBI.pm]
clean => { FILES=>q[$(DISTVNAME)/] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
PREOP=>q[$(MAKE) -f Makefile.old distdir] }
DBI VERSION is 0.68 (from DBI.pm)
Using PERL=/usr/local/bin/perl
WARNING! By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you MUST delete old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.
Writing Makefile for DBI
bash# make
umask 0 && cp DBIXS.h /tmp/perl5/lib/perl5/site_perl/NEXTSTEP/DBI/DBIXS.h
umask 0 && cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
umask 0 && cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
umask 0 && cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
umask 0 && cp DBI.pm blib/lib/DBI.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/NEXTSTEP/5.002
-I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c -g -ObjC -arch m68k -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY -O
-DVERSION=\"0.68\" -DXS_VERSION=\"0.68\"
-I/usr/local/lib/perl5/NEXTSTEP/5.002/CORE DBI.c
DBIXS.h:238: syntax error, found `->'
DBIXS.h:253: illegal external declaration, found `}'
DBIXS.h:23: syntax error, found `->'
DBIXS.h:23: illegal external declaration, missing `;' after
`Iperl_destruct_level'
DBIXS.h:43: undefined type, found `dbistate_t'
DBIXS.h:73: illegal expression, found `)'
DBIXS.h:81: illegal expression, found `)'
DBIXS.h:84: illegal member reference, found `('
DBIXS.h:219: illegal member reference, found `('
DBIXS.h:301: illegal member reference, found `('
DBIXS.h:419: illegal member reference, found `('
DBIXS.h:449: illegal member reference, found `('
DBIXS.h:476: illegal member reference, found `('
DBIXS.h:499: illegal member reference, found `('
DBIXS.h:549: illegal member reference, found `('
DBIXS.h:574: illegal member reference, found `('
DBIXS.h:620: illegal member reference, found `('
DBIXS.h:665: illegal member reference, found `('
DBIXS.h:692: illegal member reference, found `('
DBIXS.h:760: syntax error, found `->'
DBIXS.h:760: syntax error, missing `;' after `Idebug'
DBIXS.h:761: illegal expression, found `int'
DBIXS.h:762: illegal expression, found `int'
DBIXS.h:764: illegal expression, found `char'
DBIXS.h:1078: syntax error, found `->'
DBIXS.h:1078: syntax error, missing `;' after `Idebug'
DBIXS.h:1108: illegal member reference, found `('
DBIXS.h:1140: illegal member reference, found `('
DBIXS.h:1162: illegal member reference, found `('
DBIXS.h:1163: illegal member reference, found `('
DBIXS.h:1165: illegal member reference, found `('
DBIXS.h:1260: illegal member reference, found `('
DBIXS.h:1279: illegal member reference, found `('
DBIXS.h:1292: illegal member reference, found `('
DBIXS.h:1311: illegal member reference, found `('
DBIXS.h:1318: illegal member reference, found `('
DBIXS.h:1325: illegal member reference, found `('
*** Exit 1
Stop.
bash#
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen **
[email protected]
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:
http://www.clotho.com/smd
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10753-20@oink>;
Mon, 29 Apr 1996 07:23:37 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830727760:12815:1; Sun, 28 Apr 96 22:42:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa12563; 28 Apr 96 22:42 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id OAA26844 for dbi-users-real; Sun, 28 Apr 1996 14:35:52 -0700
Precedence: junk
Sender:
[email protected]
Received: from ns1.inxpress.net (
[email protected] [204.120.4.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id OAA26840
for <
[email protected]>; Sun, 28 Apr 1996 14:35:51 -0700
Received: from [204.120.4.137] (d9.inxpress.net [204.120.4.137])
by ns1.inxpress.net (8.7.4/8.7.3) with SMTP id QAA07278;
Sun, 28 Apr 1996 16:33:55 -0500 (CDT)
X-Sender:
[email protected]
Message-Id: <v02140b04ada994859efa@[204.120.4.137]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 28 Apr 1996 16:36:46 -0500
To:
[email protected]
From:
[email protected] (Stephen Dahmen)
Subject: Re: HELP: Build of DBI failing on NeXT UNIX
Cc: Tim Bunce <
[email protected]>,
[email protected]
Necessity is the mother of invention, for sure:
I wrote:
>I'm way stumped as to why DBI will not compile on our NeXT workstation.
>None of the cc errors make any sense, or line up with any lines in the files.
>...
>cc -c -g -ObjC -arch m68k -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY -O
-DVERSION=\"0.68\" -DXS_VERSION=\"0.68\"
-I/usr/local/lib/perl5/NEXTSTEP/5.002/CORE DBI.c
>
> [ many errors deleted ]
I found the problem. The default Perl5.002 configuration uses the flags:
-ObjC -DUSE_NEXT_CTYPE -DEMBED -DMULTIPLICITY which I am just guessing all
apply to Objective-C coding styles. I removed all these flags and the
compile went well.
Stephen
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen **
[email protected]
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:
http://www.clotho.com/smd
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14466-2@oink>;
Mon, 29 Apr 1996 10:00:26 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830765865:13857:2; Mon, 29 Apr 96 09:17:45 BST
Received: from [204.254.239.2] ([204.254.239.2]) by punt-1.mail.demon.net
id aa13553; 29 Apr 96 9:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id BAA27743 for dbi-users-real; Mon, 29 Apr 1996 01:04:15 -0700
Precedence: junk
Sender:
[email protected]
Received: from chambertin.inferentia.it (chambertin.inferentia.it [194.184.62.9])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id BAA27739
for <
[email protected]>; Mon, 29 Apr 1996 01:04:12 -0700
Received: from picolit.noc.inferentia.it (picolit.noc.inferentia.it [194.184.62.88])
by chambertin.inferentia.it (8.7.5/8.7.3) with SMTP id KAA06480;
Mon, 29 Apr 1996 10:08:25 +0200
Received: by picolit.noc.inferentia.it with Microsoft Mail
id <
[email protected]>;
Mon, 29 Apr 1996 10:08:38 +-200
Message-ID: <
[email protected]>
From: Davide Migliavacca <
[email protected]>
To: Dan Casson <
[email protected]>
Cc: "
[email protected]" <
[email protected]>
Subject: RE: Stored Procedures w/Oracle
Date: Mon, 29 Apr 1996 10:03:38 +-200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
On the line of Jake's suggestion, you can fetch =
ftp://ftp.inferentia.it/pub/perl/dbperl/wowperl.tar. This uses PL/SQL =
tables to store the results of a store procedure to be fetched later =
(after the call).
In the archive you'll find a canned PL/SQL package to handle that.
Best
Davide
On gioved=EC 25 aprile 1996 19.50, Jake in Denial[SMTP:
[email protected]] =
wrote:
>At 2:35 PM 4/25/96, Dan Casson wrote:
>>Hi all,
>>
>> Can Perl5/Oracle handle stored procedures? And if so how are
>>they implemented.
>
>You can call stored procedures but you can't get any return values back
>(the bind variable stuff is not supported). Just put "begin =
sproc(args);
>end;" in the SQL you pass to Oraperl.
>
>One way to get a return value is to have the sproc store it in a global =
and
>then do a separate select to retrieve it after calling the sproc.
>
>Jake
>
>
>
>
-----------------------------------------
Davide Migliavacca - Inferentia S.r.l., Milano IT
phone +39 2 59928-1 fax -221
Standard disclaimer applies
-----------------------------------------
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <15353-0@oink>;
Mon, 29 Apr 1996 13:21:25 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830780392:28229:3; Mon, 29 Apr 96 13:19:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa27727; 29 Apr 96 13:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id FAA28002 for dbi-users-real; Mon, 29 Apr 1996 05:10:12 -0700
Precedence: junk
Sender:
[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 FAA27998
for <
[email protected]>; Mon, 29 Apr 1996 05:10:06 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa17750; 29 Apr 96 13:12 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab08780; 29 Apr 96 13:06 +0100
Received: from toad by oink with SMTP (PP) id <14895-0@oink>;
Mon, 29 Apr 1996 11:59:25 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05486;
Mon, 29 Apr 1996 11:59:18 +0000
Date: Mon, 29 Apr 1996 11:59:18 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: RE: Getting Long vars outta oracle.
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 748
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
----- Begin Included Message -----
Date: Fri, 26 Apr 1996 15:11:37 -0500
To: Tim Bunce <
[email protected]>
From:
[email protected] (Stephen Dahmen)
Subject: RE: Getting Long vars outta oracle.
I figured out blob_read... nevermind.
It's not clear what the blocksize & buffer are about as far as optional params.
Will either of these speed up the retrieval? Seems sorta slow.
Thanks for DBI.
STephen
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen **
[email protected]
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:
http://www.clotho.com/smd
----- End Included Message -----
Read in the blob sequence and experiment with the buffer size.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15360-2@oink>;
Mon, 29 Apr 1996 13:22:07 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830780424:05517:0; Mon, 29 Apr 96 13:20:24 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa04928; 29 Apr 96 13:19 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa08303; 29 Apr 96 13:18 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id FAA27988 for dbi-users-real; Mon, 29 Apr 1996 05:05:59 -0700
Precedence: junk
Sender:
[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 FAA27984
for <
[email protected]>; Mon, 29 Apr 1996 05:05:57 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ab17372; 29 Apr 96 13:08 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa08780; 29 Apr 96 13:06 +0100
Received: from toad by oink with SMTP (PP) id <14879-0@oink>;
Mon, 29 Apr 1996 11:53:44 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA05466;
Mon, 29 Apr 1996 11:53:36 +0000
Date: Mon, 29 Apr 1996 11:53:36 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Getting Long vars outta oracle.
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 964
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
Forwarded to dbi-users because that's where it should have gone
and I've no time to think about it right now. Sorry.
----- Begin Included Message -----
Date: Fri, 26 Apr 1996 14:35:35 -0500
To: Tim Bunce <
[email protected]>
From:
[email protected] (Stephen Dahmen)
Subject: Getting Long vars outta oracle.
Tim,
DBI is truncating long oracle columns to 81 chars.
Is it possible to use DBI to get the full long column? Also, could you
explain how the blob_read is used... methinks it might be used to access
long fields, but it's not clear.
We have to stay with the Perl 5.001m version as 5.002 is causing problems
on our system.
Any light you could shed would be appreciated.
Stephen
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
Stephen Dahmen **
[email protected]
Independent Internet Technology Consultant
Charter Member, Internet Consulting Alliance:
http://www.clotho.com/smd
----- End Included Message -----
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17894-14@oink>;
Mon, 29 Apr 1996 20:56:44 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830801962:01811:0; Mon, 29 Apr 96 19:19:22 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa01489; 29 Apr 96 19:18 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa14256; 29 Apr 96 19:16 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA28883 for dbi-users-real; Mon, 29 Apr 1996 11:02:07 -0700
Precedence: junk
Sender:
[email protected]
Received: from csiunx.it.csi.cuny.edu (csiunx.it.csi.cuny.edu [163.238.1.20])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id LAA28878
for <
[email protected]>; Mon, 29 Apr 1996 11:01:10 -0700
Received: by csiunx.it.csi.cuny.edu (5.57/Ultrix3.0-C) id AA07675;
Mon, 29 Apr 96 14:08:37 -0400
Date: Mon, 29 Apr 96 14:08:37 -0400
From: "Dr. Divyendu Sinha" <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: unsubscribe
Please unsubscribe Divyendu Sinha
Thanks
Div Sinha
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <18823-0@oink>;
Mon, 29 Apr 1996 22:18:56 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830810096:17858:3; Mon, 29 Apr 96 21:34:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa16570; 29 Apr 96 21:34 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA29803 for dbi-users-real; Mon, 29 Apr 1996 13:24:45 -0700
Precedence: junk
Sender:
[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 NAA29799
for <
[email protected]>; Mon, 29 Apr 1996 13:24:41 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id ap17523; 29 Apr 96 20:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa02379; 29 Apr 96 21:01 +0100
Received: from toad by oink with SMTP (PP) id <18046-0@oink>;
Mon, 29 Apr 1996 21:00:49 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA09463;
Mon, 29 Apr 1996 21:00:42 +0000
Date: Mon, 29 Apr 1996 21:00:42 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: unsubscribe
X-Sun-Charset: US-ASCII
content-length: 2049
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: "Dr. Divyendu Sinha" <
[email protected]>
> To:
[email protected]
> Subject: unsubscribe
>
> Please unsubscribe Divyendu Sinha
Please follow the instructions.
Tim.
----- 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 punt.demon.co.uk by oink with SMTP (PP) id <22698-0@oink>;
Tue, 30 Apr 1996 07:29:18 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830845723:23731:1; Tue, 30 Apr 96 07:28:43 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23598; 30 Apr 96 7:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id XAA01563 for dbi-users-real; Mon, 29 Apr 1996 23:16:06 -0700
Precedence: junk
Sender:
[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 XAA01559
for <
[email protected]>; Mon, 29 Apr 1996 23:16:05 -0700
Received: from behux0.be.oracle.com by inet-smtp-gw-1.us.oracle.com
with ESMTP (8.6.12/37.7) id XAA30300; Mon, 29 Apr 1996 23:20:19 -0700
Message-Id: <
[email protected]>
Received: by behux0.be.oracle.com (1.39.111.2/16.2) id AA103255189;
Tue, 30 Apr 1996 08:19:49 +0200
Date: Tue, 30 Apr 1996 08:19:49 +0200
From: "WCOEKAER.BE.ORACLE.COM" <
[email protected]>
To:
[email protected]
Subject: Re: linking perl and DBD:Oracle shared.
X-Orcl-Application: In-Reply-To:BEUNIX.BE.ORACLE.COM:
[email protected]'s
message of 25-Apr-96 00:17
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary=Boundary-482898-0-0
--Boundary-482898-0-0
Hiya Tim,
late reply i was trying to find a 7.3 to see if it was the same
there with libclntsh.sl.
so..Yes. its the same. 7.2 and 7.3 sun ,hp or... its default naming.
liboracle.sl is what it was called in version 7.1. But there are
a few libs which are not shared inthere and they are in the libclntsh.sl
Wim
================================================================
Wim Coekaerts Work Tel.:32-2-7195978
Work Fax.:32-2-7191314
Home Tel.:32-16-470641
Oracle Belgium
Ora*mail: wcoekaer.be Internet:
[email protected]
"The significant problems we face cannot be solved at the
same level of thinking we were at when we created them"
Albert Einstein
The statements and opinions expressed here are my own and
do not necessarily represent those of Oracle Corporation.
--Boundary-482898-0-0
Content-Type: message/rfc822
Date: 25 Apr 96 00:17:12
From:"Tim Bunce " <
[email protected]>
To:
[email protected],wcoekaer
Subject: Re: linking perl and DBD:Oracle shared.
X-Sun-Charset: US-ASCII
X-Orcl-Application: Content-Length: 1265
X-Orcl-Application: Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From:
[email protected]
>
> Hi...
>
> Just a sidenote, to link with shared libs on hp... or other systems that
> normally say static linking ... Only with oracle 7.2+...
>
> If you compile DBD (oracle) with a 7.2+ version of oracle
> check in $ORACLE_HOME/rdbms/lib... there should be a file
> called clntsh.mk, do a make -f clntsh.mk shlib
>
> this generates libclntsh.sl in ORACLE_HOME/lib
>
> generate your DBD things and go to
> ./blib/arch/auto/DBD/Oracle/
>
> mv extralibs.all extralibs.all.old
>
> do
>
> cat $ORACLE_HOME/rdbms/lib/sysliblist > extralibs.all
>
> and add :
>
> -L/opt/oracle/product/7.2.3/lib -lclntsh
>
> you should get something like
>
> -lcl -lm -L/opt/oracle/product/7.2.3/lib -lclntsh
> in your extralibs.all file...
>
> do a make perl again in DBD/
> if everything goes well you have a shared perl executable now, ie also with
> oracle shared libs.
>
> hope this helps.
>
> cheers
> Wim
Thanks wim. I'll add that to the notes in the distribution.
Are the details the same for 7.2 and 7.3 on Suns as well as HP's etc?
Once I've upgraded our oracle here I'll automate it as far as possible.
I seem to recall mention of a liboracle.sl (or .so on Sun's) awhile ago.
Is that related? A name change perhaps?
Tim.
--Boundary-482898-0-0--
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <02764-0@oink>;
Tue, 30 Apr 1996 17:39:07 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 830882080:11237:1; Tue, 30 Apr 96 17:34:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa10570; 30 Apr 96 17:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA02721 for dbi-dev-real; Tue, 30 Apr 1996 08:41:39 -0700
Precedence: junk
Sender:
[email protected]
Received: from netmail.austin.ibm.com (netmail.austin.ibm.com [129.35.208.98])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA02717
for <
[email protected]>; Tue, 30 Apr 1996 08:41:37 -0700
From:
[email protected]
Received: from dax.austin.ibm.com (dax.austin.ibm.com [129.35.148.59])
by netmail.austin.ibm.com (8.6.12/8.6.11) with SMTP id KAA44704
for <
[email protected]>; Tue, 30 Apr 1996 10:45:47 -0500
Received: by dax.austin.ibm.com (AIX 4.1/UCB 5.64/4.03-client-2.6)
for
[email protected] at austin.ibm.com; id AA25362;
Tue, 30 Apr 1996 10:45:45 -0500
Message-Id: <
[email protected]>
To:
[email protected]
Subject: HP-UX 10, dynamic loading...HELP
Date: Tue, 30 Apr 96 10:45:45 -0500
Can someone explain what the following is attempting to tell me and how
to fix it.
Thanks.
Mike
PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -I./blib/arch -I./blib/lib
-I/opt/perl5/lib/PA-RISC1.1/5.00201 -I/opt/perl5/lib -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............install_driver(DB2) failed: Can't load
'./blib/arch/auto/DBD/DB2/DB2.sl' for module DBD::DB2: Not enough space
at /opt/perl5/lib/DynaLoader.pm line 140.
at blib/lib/DBD/DB2.pm line 23
DBI::install_driver called at t/base.t line 16
FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
Test returned status 12 (wstat 3072)
t/main..............ok
Failed 1 test script, 50.00% okay. 2/6 subtests failed, 66.67% okay.
*** Error exit code 255
Stop.
------------------------------------------------------------------------------
Michael H. Moran | Standard Disclaimer: The content of
[email protected] | this posting is independent of
Commercial Performance | official IBM position.
IBM Corporation, Austin, Texas |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04540-12@oink>;
Wed, 1 May 1996 07:09:00 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830900841:05390:1; Tue, 30 Apr 96 22:47:21 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa05262; 30 Apr 96 22:47 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa22538; 30 Apr 96 22:46 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id NAA06776 for dbi-dev-real; Tue, 30 Apr 1996 13:59:42 -0700
Precedence: junk
Sender:
[email protected]
Received: from paloalto.access.hp.com (
[email protected] [15.254.56.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id NAA06772
for <
[email protected]>; Tue, 30 Apr 1996 13:59:40 -0700
Received: from hpcc123.corp.hp.com (okamoto.corp.hp.com)
by paloalto.access.hp.com with ESMTP (1.37.109.16/15.5+ECS 3.3)
id AA156717995; Tue, 30 Apr 1996 13:59:56 -0700
Received: by hpcc123.corp.hp.com (1.37.109.16/15.5+ECS 3.3) id AA076997994;
Tue, 30 Apr 1996 13:59:55 -0700
From: Jeff Okamoto <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: HP-UX 10, dynamic loading...HELP
To:
[email protected]
Date: Tue, 30 Apr 96 13:59:52 PDT
Cc:
[email protected]
In-Reply-To: <
[email protected]>; from "
[email protected]" at Apr 30, 96 10:45 am
Mailer: Elm [revision: 70.85]
> Can someone explain what the following is attempting to tell me and how
> to fix it.
The error "Not enough space" means either you've exceeded one of maxtsiz,
maxdsiz, or maxssiz, or you've run out of swap space.
> PERL_DL_NONLAZY=1 /opt/perl5/bin/perl -I./blib/arch -I./blib/lib
> -I/opt/perl5/lib/PA-RISC1.1/5.00201 -I/opt/perl5/lib -e 'use
> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/base..............install_driver(DB2) failed: Can't load
> './blib/arch/auto/DBD/DB2/DB2.sl' for module DBD::DB2: Not enough space
> at /opt/perl5/lib/DynaLoader.pm line 140.
Jeff
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10672-34@oink>;
Thu, 2 May 1996 07:12:28 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 830994152:10432:1; Thu, 02 May 96 00:42:32 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa09568; 2 May 96 0:41 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id QAA11512 for dbi-users-real; Wed, 1 May 1996 16:24:12 -0700
Precedence: junk
Sender:
[email protected]
Received: from gateway.tcsi.com ([137.134.47.2])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id QAA11508
for <
[email protected]>; Wed, 1 May 1996 16:24:11 -0700
Received: from center.tcs.com (center.tcs.com [137.134.51.2])
by gateway.tcsi.com (8.7.4/8.6.10) with ESMTP id QAA16194
for <
[email protected]>; Wed, 1 May 1996 16:24:52 -0700 (PDT)
Received: from center (localhost [127.0.0.1]) by center.tcs.com (8.7.4/8.6.10)
with SMTP id QAA19377 for <
[email protected]>;
Wed, 1 May 1996 16:24:51 -0700 (PDT)
Message-ID: <
[email protected]>
Date: Wed, 01 May 1996 16:24:51 -0700
From: Murthy Jarugumilli <
[email protected]>
Organization: TCSI
X-Mailer: Mozilla 2.01 (X11; I; SunOS 4.1.4 sun4m)
MIME-Version: 1.0
To:
[email protected]
Subject: Oraperl: Output from stored procs/functions
X-URL:
http://www.hermetica.com/technologia/DBI/doc/faq.html
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi
I'm using DBI-0.68, DBD-Oracle-029 with per5.002 on an HP-UX system.
I had earlier successfully executed stored procedures from perl
scripts. But I couldnt figure how to specify Oracle stored procedure
in(put) and out(put) parameters. In OCI or Pro*C, I would bind
a host variable (by specifying the address) to a ':' variable
in the SQL statement. The oraperl doc says that I can only bind
a value (as opposed to the address of a variable) to the ':'
vars specified in the SQL statement.
I might have misinterpreted/misunderstood something. I would
appreciate any help.
Thanks in advance
Murthy Jarugumilli.
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17314-14@oink>;
Fri, 3 May 1996 07:07:33 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831059916:15917:4; Thu, 02 May 96 18:58:36 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa15709; 2 May 96 18:58 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa22048; 2 May 96 18:33 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA15168 for dbi-users-real; Thu, 2 May 1996 10:21:00 -0700
Precedence: junk
Sender:
[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 KAA15164
for <
[email protected]>; Thu, 2 May 1996 10:20:57 -0700
Received: from helios.mpn.com by nebula.mpn.com (5.x/SMI-SVR4) id AA12574;
Thu, 2 May 1996 18:18:26 +0100
From: Nikos Drakos <
[email protected]>
Received: by helios.mpn.com (5.x/Spike-2.0/sweh-1.0) id AA29091;
Thu, 2 May 1996 18:18:24 +0100
Date: Thu, 2 May 1996 18:18:24 +0100
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Oracle Stored procedures from DBPerl
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Has anyone extended the Oracle driver in DBD to handle calling
stored procedures? Everything else works like a charm. Thanks Tim!
We use Perl 5.002, DBI version 0.68, DBD version 0.29 on
Sun Solaris 2.4 Generic_101945-34.
Cheers,
Nikos.
--
Nikos Drakos
MatriX Publishing Network
[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 <29897-8@oink>;
Mon, 6 May 1996 07:06:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831321056:01851:4; Sun, 05 May 96 19:30:56 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa01806; 5 May 96 19:30 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA23088 for dbi-users-real; Sun, 5 May 1996 11:14:39 -0700
Precedence: junk
Sender:
[email protected]
Received: from fruitbat.mcqueen.com ([194.72.106.246])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id LAA23084
for <
[email protected]>; Sun, 5 May 1996 11:14:36 -0700
Received: (from descarte@localhost) by fruitbat.mcqueen.com (8.6.12/8.6.12)
id TAA28710; Sun, 5 May 1996 19:07:28 +0100
From: Alligator Descartes <
[email protected]>
Message-Id: <
[email protected]>
Subject: MsqlPerl emulation module
To:
[email protected]
Date: Sun, 5 May 1996 19:07:28 +0100 (BST)
Cc:
[email protected],
[email protected]
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: 428
Just a quick note to any users of MsqlPerl........
DBD::mSQL should be sporting an emulation layer for this module in the next
few days, time willing. I shall announce in the usual places once it's
passing MsqlPerl's tests completely.
Regards.
--
Alligator Descartes | Nexus - Multi-User Virtual Reality
Anathematician |
http://www.hermetica.com/nexus
[email protected] | Muse of the Day: A Lava Lamp!
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02327-0@oink>;
Mon, 6 May 1996 13:40:30 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831383729:28423:4; Mon, 06 May 96 12:55:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa28198; 6 May 96 12:55 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id EAA23925 for dbi-users-real; Mon, 6 May 1996 04:43:06 -0700
Precedence: junk
Sender:
[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 EAA23921
for <
[email protected]>; Mon, 6 May 1996 04:43:04 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id aa15825; 6 May 96 12:42 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa05073; 6 May 96 12:00 +0100
Received: from toad by oink with SMTP (PP) id <01947-0@oink>;
Mon, 6 May 1996 11:42:37 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14479;
Mon, 6 May 1996 11:42:30 +0000
Date: Mon, 6 May 1996 11:42:30 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: Request for Information on DBPerl
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 2168
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Charlie Haddad <
[email protected]>
>
> Tim,
>
> I am trying to develop a Web application that interfaces with an Oracle
> Database. I was successful in implementing a solution that was a Perl
> program that initiated a SQLPLUS session and executed SQL commands but ran
> into performance problems because I couldn't evaluate the results of a
> query in my program without closing my Oracle connection (basically I had
> to reopen an Oracle connection for each SQL statement in my program).
> This resulted in a 30 second delay in bringing up my page - completely
> unacceptable. To remedy the situation I looked into more reliable and
> direct ways to connect to Oracle through Perl (and other methods including
> Oracle Web Server and Bluestone Sapphire). I ran across Oraperl and have
> been trying to compile it unsuccessfully for a couple of days. I have
> noticed that you have posted numerous messages referencing your web page
> discussing DBPerl. I also looked at your sample code and it appears that
> it will allow me to accomplish my objectives. My questions/concerns are
> the following:
>
> 1. Is DBI a freeware product?
Totally. Same terms as Perl itself.
> 2. How difficult is the product to support?
Depends how long your piece of string is.
(E.g., ask a more quantifiable question :-)
> 3. Is there a technical support organization (or individual) available
> for questions? If not, is this planned any time in the future?
Well, there's me and there's several hundred people on the dbi-users
mailing list.
I'll let them comment on their perception of the ``technical support''
they have received.
> 4. Do you plan to support other platforms than those listed i.e. IRIX?
I don't formally ``support'' anything (unless you send me a cheque :-).
I have only _ever_ built the DBI and DBD::Oracle modules on Solaris 1
and Solaris 2. All the other platforms listed are listed simply because
people have told me that _they_ have built it on those platforms.
It is very portable code.
Seriously though. I, and my company, are happy to offer technical support
on normal commercial terms to anyone who wants it.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <02533-0@oink>;
Mon, 6 May 1996 14:00:30 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831387238:23483:1; Mon, 06 May 96 13:53:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23073; 6 May 96 13:52 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id FAA23978 for dbi-users-real; Mon, 6 May 1996 05:45:34 -0700
Precedence: junk
Sender:
[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 FAA23974
for <
[email protected]>; Mon, 6 May 1996 05:45:32 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ad23167; 6 May 96 13:45 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae23047; 6 May 96 13:40 +0100
Received: from toad by oink with SMTP (PP) id <02180-0@oink>;
Mon, 6 May 1996 12:58:39 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA14662;
Mon, 6 May 1996 12:58:33 +0000
Date: Mon, 6 May 1996 12:58:33 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: ingperl
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 478
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Michael Carcieri <
[email protected]>
>
> Hi, Tim. I have heard via the Perl FAQ that you are working on Ingperl.
> Can you give me some info on it? We have had Ingres for 10 yrs and
> are just getting into Perl. Thanks.
I'm not doing Ingperl now, someone else is. (I don't have the name to hand,
CC'd to the dbi-users mailing list incase someone else knows).
It may be some time before anything is working.
Tim.
p.s. See
http://www.hermetica.com/technologia/DBI
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03780-0@oink>;
Mon, 6 May 1996 16:19:00 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831391427:25279:0; Mon, 06 May 96 15:03:47 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa24827; 6 May 96 15:02 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa22240; 6 May 96 15:02 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id GAA24065 for dbi-users-real; Mon, 6 May 1996 06:53:01 -0700
Precedence: junk
Sender:
[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 GAA24061
for <
[email protected]>; Mon, 6 May 1996 06:52:56 -0700
Received: from dns2.industry.net (dns2.industry.net [206.150.196.30])
by mail.industry.net (8.6.9/8.6.8) with SMTP id JAA28939
for <
[email protected]>; Mon, 6 May 1996 09:58:29 -0400
Message-ID: <
[email protected]>
Date: Sun, 05 May 1996 03:21:46 -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:
[email protected]
Subject: Returning number of rows
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
In the Oraperl functions that return the number of rows processed, there
are occurrences of code like:
($rows == 0) ? "OK" : $rows;
so that a true value is returned when no error occurred, but no rows
were processed. The 'OK' generates some obnoxious warnings when it is
coerced into a number, so would it be possible to use the following
little Perl hack that has friendlier behaviour:
($rows == 0) ? '0E0' : $rows;
'0E0' is a string with a true value, but it converts cleanly to an
arithmetic value of 0.
This perl hack of appending 'E0' is utilized by Perl itself in another
context, viz., in the return value of the range operator `..' used in an
array context.
Later,
Rujith.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04261-0@oink>;
Mon, 6 May 1996 17:01:52 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831398344:20039:2; Mon, 06 May 96 16:59:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19931; 6 May 96 16:58 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA24275 for dbi-users-real; Mon, 6 May 1996 08:53:56 -0700
Precedence: junk
Sender:
[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 IAA24271
for <
[email protected]>; Mon, 6 May 1996 08:53:53 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id aa09508; 6 May 96 15:53 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab26904; 6 May 96 16:53 +0100
Received: from toad by oink with SMTP (PP) id <04106-0@oink>;
Mon, 6 May 1996 16:39:54 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15517;
Mon, 6 May 1996 16:39:48 +0000
Date: Mon, 6 May 1996 16:39:48 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected],
[email protected]
Subject: Re: Oraperl: Output from stored procs/functions
X-Sun-Charset: US-ASCII
content-length: 1095
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Murthy Jarugumilli <
[email protected]>
>
> Hi
>
> I'm using DBI-0.68, DBD-Oracle-029 with per5.002 on an HP-UX system.
> I had earlier successfully executed stored procedures from perl
> scripts. But I couldnt figure how to specify Oracle stored procedure
> in(put) and out(put) parameters. In OCI or Pro*C, I would bind
> a host variable (by specifying the address) to a ':' variable
> in the SQL statement. The oraperl doc says that I can only bind
> a value (as opposed to the address of a variable) to the ':'
> vars specified in the SQL statement.
> I might have misinterpreted/misunderstood something. I would
> appreciate any help.
> From: Nikos Drakos <
[email protected]>
>
> Has anyone extended the Oracle driver in DBD to handle calling
> stored procedures? Everything else works like a charm. Thanks Tim!
Right now you can only pass values _into_ PL/SQL code, e.g.,
"begin ... stored_proc_name(:foo, :bar) ... end"
You can't retreive modified values or get return values from
stored procedure calls.
I plan to work on these shortly (a relative term, no promises).
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04261-2@oink>;
Mon, 6 May 1996 17:02:12 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831398417:20573:3; Mon, 06 May 96 17:00:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19957; 6 May 96 16:59 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA24269 for dbi-users-real; Mon, 6 May 1996 08:53:22 -0700
Precedence: junk
Sender:
[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 IAA24265
for <
[email protected]>; Mon, 6 May 1996 08:53:18 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id aa09413; 6 May 96 15:53 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ac26904; 6 May 96 16:53 +0100
Received: from toad by oink with SMTP (PP) id <04090-0@oink>;
Mon, 6 May 1996 16:33:19 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15503;
Mon, 6 May 1996 16:33:12 +0000
Date: Mon, 6 May 1996 16:33:12 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Returning number of rows
X-Sun-Charset: US-ASCII
content-length: 1007
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: "Rujith S. de Silva" <
[email protected]>
>
> In the Oraperl functions that return the number of rows processed, there
> are occurrences of code like:
>
> ($rows == 0) ? "OK" : $rows;
>
> so that a true value is returned when no error occurred, but no rows
> were processed. The 'OK' generates some obnoxious warnings when it is
> coerced into a number, so would it be possible to use the following
> little Perl hack that has friendlier behaviour:
>
> ($rows == 0) ? '0E0' : $rows;
>
> '0E0' is a string with a true value, but it converts cleanly to an
> arithmetic value of 0.
>
> This perl hack of appending 'E0' is utilized by Perl itself in another
> context, viz., in the return value of the range operator `..' used in an
> array context.
>
> Later,
> Rujith.
Clever.
I've got no objection and if no one shouts within the next few days
I'll make the change.
People who explicitly check for 'OK' should shout now!
(But might get told to change their code :-)
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06060-10@oink>;
Tue, 7 May 1996 03:30:44 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831432412:22453:3; Tue, 07 May 96 02:26:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa22240; 7 May 96 2:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id SAA26967 for dbi-users-real; Mon, 6 May 1996 18:12:45 -0700
Precedence: junk
Sender:
[email protected]
Received: from mimos.my (mimos.my [192.228.128.18])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id SAA26963
for <
[email protected]>; Mon, 6 May 1996 18:12:41 -0700
Received: from ms.mimos.my (ms.mimos.my [192.228.129.33])
by mimos.my (8.7.5/8.7.1) with SMTP id JAA20193
for <
[email protected]>; Tue, 7 May 1996 09:12:07 +0800 (MYT)
Received: from servtest4.mimos.my by ms.mimos.my (5.64/7.0) id AA02284;
Tue, 7 May 96 09:12:04 +0800
Message-Id: <
[email protected]>
To: "
[email protected]" <
[email protected]>
Subject: web to oracle interface
Date: Tue, 07 May 96 10:13:58 -0500
From: Nina <
[email protected]>
X-Mailer: E-Mail Connection v2.5.03
-- [ From: Nina * EMC.Ver #2.5.02 ] --
Hello all...,
I am currently trying to develop a Web application that interfaces with an
Oracle database in a remote machine. What I have tried is using Oraperl..but
it took some time for the result to come back from the database and to be
displayed on the screen. Why is that so....did I miss something? So, I
switched to using Pro*C programs that have embedded SQL statements in them.
I am successful in doing simple querys but still facing some problems in
passing values when trying to integrate with the web. I have been going
through this mailing list and encountered DBI and DBD. Could someone please
explain
these terms to me ? What other ways that I can use to develop this Web
application other
than using Oraperl or Pro*C programs? Which is the best way..? Could someone
please
brief a liitle bit...?
Thanx in advance.
-Zarina
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07953-1@oink>;
Tue, 7 May 1996 04:14:05 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831437518:13288:1; Tue, 07 May 96 03:51:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa13113; 7 May 96 3:51 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id TAA27250 for dbi-users-real; Mon, 6 May 1996 19:48:06 -0700
Precedence: junk
Sender:
[email protected]
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id TAA27246
for <
[email protected]>; Mon, 6 May 1996 19:48:05 -0700
Received: by egate.citicorp.com id AA02249 (InterLock SMTP Gateway 3.0
for
[email protected]); Mon, 6 May 1996 22:47:36 -0400
Message-Id: <
[email protected]>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
Mon, 6 May 1996 22:47:36 -0400
Date: Mon, 06 May 1996 22:47:58 -0400
From: Douglas Sur <
[email protected]>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.01 (Win95; I)
Mime-Version: 1.0
To:
[email protected]
Subject: Where can I get ORAPERL support?
Content-Type: multipart/mixed; boundary="------------148DF21BD1"
This is a multi-part message in MIME format.
--------------148DF21BD1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am sorry to bother you with such a trivial question, but is
there a place where I can get oraperl programming support? A listserver,
WWW site, etc. Any information regarding this would be most
appreciated.
My problem is I keep getting the following error message from my
Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
cgi-parse-output reports: the CGI program
/apps/ns-home/docs/register/view.cgi did not produce a valid header (too
many headers from CGI script (max 200))
The program that produced this error is attached.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Douglas Y. Sur, Online Technologist
Citicorp Global Information Network VOICE:703-708-1164
1900 Campus Commons Drive FAX: 703-708-1184
Reston, Va. 22091 EMAIL:
[email protected]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
--------------148DF21BD1
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="view.cgi"
<BASE HREF="file:///D|/view.cgi">
#!/usr/local/bin/oraperl
#
#
# Setup environment
#
push(@INC,"/opt/perl5/lib");
require("cgi-lib.pl");
$ENV{'ORACLE_SID'} = "citiweb";
$ENV{'ORACLE_HOME'} = "/apps/oracle/product/7.2.3";
#
# Try to get data from database
#
$lda=&ora_login('citiweb', 'nobody2', 'nobody2') || &ErrorMsg($ora_errno,$ora_errstr,"ora_login");
$csr=&ora_open($lda,"select * from citiweb.vemp") || &ErrorMsg($ora_errno, $ora_errstr,"ora_open");
#
# Dump contents of table
#
print &PrintHeader;
print<<"print_tag";
<HTML><HEAD><TITLE>View Registration Table</TITLE></HEAD><BODY>
[ Go Back To <A HREF="register-admin.html">Registration Admin Menu</A> ]
<HR><PRE>
print_tag
while (($empid, $fname, $lname, $onum, $fnum, $email, $mail) = &ora_fetch($csr))
{
print $empid, $fname, $lname, $onum, $fnum, $email, $mail, "<BR>", "\n";
}
if ( $ora_errno )
{
print $ora_errstr;
}
print<<"print_tag";
<HR></PRE>
</BODY></HTML>
print_tag
#
# Cleanup
#
&ora_close($csr);
&ora_logoff($lda);
exit;
#
# Subroutines
#
sub ErrorMsg {
local($errno, $errstr, $routine) = @_;
print &PrintHeader;
print<<"print_tag";
<HTML><HEAD><TITLE>Error Message</TITLE></HEAD>
<BODY>
<HR>
<H1>Registration Error</H1>
$errno : $errstr <BR>
Called from $routine <BR>
<HR>
</BODY>
</HTML>
print_tag
}
--------------148DF21BD1--
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08224-0@oink>;
Tue, 7 May 1996 04:45:40 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831439266:19790:1; Tue, 07 May 96 04:21:06 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19699; 7 May 96 4:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id UAA27314 for dbi-users-real; Mon, 6 May 1996 20:18:38 -0700
Precedence: junk
Sender:
[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 UAA27310
for <
[email protected]>; Mon, 6 May 1996 20:18:34 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-4.mail.demon.net
id aa27622; 7 May 96 3:17 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa02660; 7 May 96 4:17 +0100
Received: from toad by oink with SMTP (PP) id <07986-0@oink>;
Tue, 7 May 1996 04:16:50 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA16720;
Tue, 7 May 1996 04:16:41 +0000
Date: Tue, 7 May 1996 04:16:41 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Where can I get ORAPERL support?
X-Sun-Charset: US-ASCII
content-length: 845
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Douglas Sur <
[email protected]>
>
> I am sorry to bother you with such a trivial question, but is
> there a place where I can get oraperl programming support? A listserver,
> WWW site, etc. Any information regarding this would be most
> appreciated.
This mailing list is it (short of a commercial support agreement).
> My problem is I keep getting the following error message from my
> Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
> nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
> cgi-parse-output reports: the CGI program
> /apps/ns-home/docs/register/view.cgi did not produce a valid header (too
> many headers from CGI script (max 200))
>
> The program that produced this error is attached.
Use the CGI::ErrorWrap module.
That'll be $0.02 please.
:-)
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <08508-1@oink>;
Tue, 7 May 1996 05:55:20 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831441261:26334:2; Tue, 07 May 96 04:54:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26149; 7 May 96 4:53 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id UAA27406 for dbi-users-real; Mon, 6 May 1996 20:48:42 -0700
Precedence: junk
Sender:
[email protected]
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id UAA27402
for <
[email protected]>; Mon, 6 May 1996 20:48:41 -0700
Received: by egate.citicorp.com id AA02806 (InterLock SMTP Gateway 3.0
for
[email protected]); Mon, 6 May 1996 23:48:18 -0400
Message-Id: <
[email protected]>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
Mon, 6 May 1996 23:48:18 -0400
Date: Mon, 06 May 1996 23:48:33 -0400
From: Douglas Sur <
[email protected]>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.01 (Win95; I)
Mime-Version: 1.0
To: Nina <
[email protected]>
Cc: "
[email protected]" <
[email protected]>
Subject: Re: web to oracle interface
References: <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Nina wrote:
>
> -- [ From: Nina * EMC.Ver #2.5.02 ] --
>
> Hello all...,
> I am currently trying to develop a Web application that interfaces with an
> Oracle database in a remote machine. What I have tried is using Oraperl..but
> it took some time for the result to come back from the database and to be
> displayed on the screen. Why is that so....did I miss something? So, I
> switched to using Pro*C programs that have embedded SQL statements in them.
> I am successful in doing simple querys but still facing some problems in
> passing values when trying to integrate with the web. I have been going
> through this mailing list and encountered DBI and DBD. Could someone please
> explain
> these terms to me ? What other ways that I can use to develop this Web
> application other
> than using Oraperl or Pro*C programs? Which is the best way..? Could someone
> please
> brief a liitle bit...?
>
> Thanx in advance.
>
> -Zarina
>
>
>
>
Zarina-
I am just a beginner but the first thing I noticed about writing
Perl scripts is it inherits some of the problems of writing large Unix
scripts. You don't know
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Douglas Y. Sur, Online Technologist
Citicorp Global Information Network VOICE:703-708-1164
1900 Campus Commons Drive FAX: 703-708-1184
Reston, Va. 22091 EMAIL:
[email protected]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09898-12@oink>;
Tue, 7 May 1996 10:37:32 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831461398:26077:1; Tue, 07 May 96 10:29:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25530; 7 May 96 10:28 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id CAA27877 for dbi-users-real; Tue, 7 May 1996 02:21:51 -0700
Precedence: junk
Sender:
[email protected]
Received: from tom.compulink.co.uk (tom.compulink.co.uk [194.153.0.51])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id CAA27873
for <
[email protected]>; Tue, 7 May 1996 02:21:49 -0700
Received: (from root@localhost) by tom.compulink.co.uk (8.6.9/8.6.9)
id KAA04854 for
[email protected]; Tue, 7 May 1996 10:20:30 +0100
Date: Tue, 7 May 96 10:20 BST-1
From:
[email protected] (Richard Donkin)
Subject: Perl, Windows NT and SQL Server
To:
[email protected]
Cc:
[email protected]
Reply-To:
[email protected]
Message-Id: <
[email protected]>
Hi
I am looking for a good way to access Microsoft SQL Server 6.x from Perl 5.001
on Windows NT. I know Unix would be nicer but the customer is always right :)
I understand from the web sites and CPAN that Sybperl and DBI/DBD for Sybase
are only tested on Sybase and Unix - has anyone built these for NT and tried
them on SQL Server?
I have also had a look at the NT ODBC.pm package by Dave Roth - is anyone else
using this at all, even if not on SQL Server?
Thanks
Richard
--
[email protected] | PGP key:
[email protected]
Inside Edge Consultancy Ltd | Web:
http://www.inside-edge.co.uk/
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11360-1@oink>;
Tue, 7 May 1996 13:32:21 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 831472075:27177:1; Tue, 07 May 96 13:27:55 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa25452; 7 May 96 13:26 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id FAA28070 for dbi-users-real; Tue, 7 May 1996 05:12:24 -0700
Precedence: junk
Sender:
[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 FAA28066
for <
[email protected]>; Tue, 7 May 1996 05:12:11 -0700
Received: by gateway1.srs.gov id AA14714 (InterLock SMTP Gateway 3.0
for
[email protected]); Tue, 7 May 1996 08:11:06 -0400
Message-Id: <
[email protected]>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
Tue, 7 May 1996 08:11:06 -0400
Date: Tue, 07 May 1996 08:09:04 -0400
From: James Taylor <
[email protected]>
Subject: Re: Where can I get ORAPERL support?
To: Douglas Sur <
[email protected]>
Cc:
[email protected]
Mime-Version: 1.0
X-Mailer: Mozilla 3.0b3 (X11; I; SunOS 5.4 sun4m)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <
[email protected]>
Douglas Sur wrote:
>
> I am sorry to bother you with such a trivial question, but is
> there a place where I can get oraperl programming support? A listserver,
> WWW site, etc. Any information regarding this would be most
> appreciated.
> My problem is I keep getting the following error message from my
> Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
> nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
> cgi-parse-output reports: the CGI program
> /apps/ns-home/docs/register/view.cgi did not produce a valid header (too
> many headers from CGI script (max 200))
>
> The program that produced this error is attached.
When I had the same problem with the Netscape server, I had to use a
begin statement...
BEGIN {
$ENV{'ORACLE_HOME'} = '/home/oracle/product/7.1.4';
}
use Oraperl;
This fixed the problem. The problem is that the Netscape server
combines STDERR and STDOUT and if the ORACLE_HOME environment is not set
before the "use Oraperl" statement then the path to ORACLE_HOME is
printed to STDERR (thus STDOUT) before your "&PrintHeader" is executed.
This generates the error messsage for a malformed header. (At least in
my case)
James
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Douglas Y. Sur, Online Technologist
>
> Citicorp Global Information Network VOICE:703-708-1164
> 1900 Campus Commons Drive FAX: 703-708-1184
> Reston, Va. 22091 EMAIL:
[email protected]
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
> ---------------------------------------------------------------
> #!/usr/local/bin/oraperl # # # Setup environment #
> push(@INC,"/opt/perl5/lib"); require("cgi-lib.pl"); $ENV{'ORACLE_SID'}
> = "citiweb"; $ENV{'ORACLE_HOME'} = "/apps/oracle/product/7.2.3"; # #
> Try to get data from database # $lda=&ora_login('citiweb', 'nobody2',
> 'nobody2') || &ErrorMsg($ora_errno,$ora_errstr,"ora_login");
> $csr=&ora_open($lda,"select * from citiweb.vemp") ||
> &ErrorMsg($ora_errno, $ora_errstr,"ora_open"); # # Dump contents of
> table # print &PrintHeader; print<<"print_tag"; [ Go Back To
> Registration Admin Menu ]
> ----------------------------------------------------------------------
>
> print_tag
>
> while (($empid, $fname, $lname, $onum, $fnum, $email, $mail) = &ora_fetch($csr))
> {
> print $empid, $fname, $lname, $onum, $fnum, $email, $mail, "
> ", "\n";
> }
> if ( $ora_errno )
> {
> print $ora_errstr;
> }
>
> print<<"print_tag";
> ----------------------------------------------------------------------
>
> print_tag # # Cleanup # &ora_close($csr); &ora_logoff($lda); exit; # #
> Subroutines # sub ErrorMsg { local($errno, $errstr, $routine) = @_;
> print &PrintHeader; print<<"print_tag";
> ----------------------------------------------------------------------
>
> Registration Error
>
> $errno : $errstr
> Called from $routine
> ----------------------------------------------------------------------
> print_tag }
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <11810-5@oink>;
Tue, 7 May 1996 16:13:30 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 831475667:00410:1; Tue, 07 May 96 14:27:47 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa29804; 7 May 96 14:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id GAA28145 for dbi-users-real; Tue, 7 May 1996 06:20:05 -0700
Precedence: junk
Sender:
[email protected]
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id GAA28141
for <
[email protected]>; Tue, 7 May 1996 06:20:04 -0700
Received: by egate.citicorp.com id AA07353 (InterLock SMTP Gateway 3.0
for
[email protected]); Tue, 7 May 1996 09:19:43 -0400
Message-Id: <
[email protected]>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
Tue, 7 May 1996 09:19:43 -0400
Date: Tue, 07 May 1996 09:24:11 -0100
From: Douglas Sur <
[email protected]>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To: James Taylor <
[email protected]>
Cc: Douglas Sur <
[email protected]>,
[email protected]
Subject: Re: Where can I get ORAPERL support?
References: <
[email protected]> <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
James Taylor wrote:
>
> Douglas Sur wrote:
> >
> > I am sorry to bother you with such a trivial question, but is
> > there a place where I can get oraperl programming support? A listserver,
> > WWW site, etc. Any information regarding this would be most
> > appreciated.
> > My problem is I keep getting the following error message from my
> > Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
> > nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
> > cgi-parse-output reports: the CGI program
> > /apps/ns-home/docs/register/view.cgi did not produce a valid header (too
> > many headers from CGI script (max 200))
> >
> > The program that produced this error is attached.
>
> When I had the same problem with the Netscape server, I had to use a
> begin statement...
>
> BEGIN {
> $ENV{'ORACLE_HOME'} = '/home/oracle/product/7.1.4';
> }
>
> use Oraperl;
>
> This fixed the problem. The problem is that the Netscape server
> combines STDERR and STDOUT and if the ORACLE_HOME environment is not set
> before the "use Oraperl" statement then the path to ORACLE_HOME is
> printed to STDERR (thus STDOUT) before your "&PrintHeader" is executed.
> This generates the error messsage for a malformed header. (At least in
> my case)
>
> James
>
> >
> > --
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=
> > Douglas Y. Sur, Online Technologist
> >
> > Citicorp Global Information Network VOICE:703-708-1164
> > 1900 Campus Commons Drive FAX: 703-708-1184
> > Reston, Va. 22091 EMAIL:
[email protected]
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=
> >
> > ---------------------------------------------------------------
> > #!/usr/local/bin/oraperl # # # Setup environment #
> > push(@INC,"/opt/perl5/lib"); require("cgi-lib.pl"); $ENV{'ORACLE_SID'}
> > = "citiweb"; $ENV{'ORACLE_HOME'} = "/apps/oracle/product/7.2.3"; # #
> > Try to get data from database # $lda=&ora_login('citiweb', 'nobody2',
> > 'nobody2') || &ErrorMsg($ora_errno,$ora_errstr,"ora_login");
> > $csr=&ora_open($lda,"select * from citiweb.vemp") ||
> > &ErrorMsg($ora_errno, $ora_errstr,"ora_open"); # # Dump contents of
> > table # print &PrintHeader; print<<"print_tag"; [ Go Back To
> > Registration Admin Menu ]
> > ----------------------------------------------------------------
------
> >
> > print_tag
> >
> > while (($empid, $fname, $lname, $onum, $fnum, $email, $mail) = &ora_fetch($csr))
> > {
> > print $empid, $fname, $lname, $onum, $fnum, $email, $mail, "
> > ", "\n";
> > }
> > if ( $ora_errno )
> > {
> > print $ora_errstr;
> > }
> >
> > print<<"print_tag";
> > ----------------------------------------------------------------
------
> >
> > print_tag # # Cleanup # &ora_close($csr); &ora_logoff($lda); exit; # #
> > Subroutines # sub ErrorMsg { local($errno, $errstr, $routine) = @_;
> > print &PrintHeader; print<<"print_tag";
> > ----------------------------------------------------------------
------
> >
> > Registration Error
> >
> > $errno : $errstr
> > Called from $routine
> > ----------------------------------------------------------------
------
> > print_tag }
James-
Excuse my ignorance but isn't the BEGIN and USE Perl5
statements? I am currently using Perl4 because I didn't think
OraPerl works with Perl5. If it does, what modifications did
you do to make it work?
I appreciate any information you can shed on this
subject.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
Douglas Y. Sur, OnLine Technologist
Citicorp Global Information Network VOICE: 703-708-1164
1900 Campus Commons Drive FAX: 703-708-1184
Floor 3, Zone 8
Reston, Va. 22091
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11812-11@oink>;
Tue, 7 May 1996 16:14:02 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831477088:14700:1; Tue, 07 May 96 14:51:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa13283; 7 May 96 14:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id GAA28216 for dbi-users-real; Tue, 7 May 1996 06:44:22 -0700
Precedence: junk
Sender:
[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 GAA28212
for <
[email protected]>; Tue, 7 May 1996 06:44:05 -0700
Received: by gateway1.srs.gov id AA27117 (InterLock SMTP Gateway 3.0
for
[email protected]); Tue, 7 May 1996 09:43:01 -0400
Message-Id: <
[email protected]>
Received: by gateway1.srs.gov (Internal Mail Agent-1);
Tue, 7 May 1996 09:43:01 -0400
Date: Tue, 07 May 1996 09:40:34 -0400
From: James Taylor <
[email protected]>
Subject: Re: Where can I get ORAPERL support?
To: Douglas Sur <
[email protected]>
Cc:
[email protected]
Mime-Version: 1.0
X-Mailer: Mozilla 3.0b3 (X11; I; SunOS 5.4 sun4m)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
References: <
[email protected]> <
[email protected]> <
[email protected]>
Douglas Sur wrote:
>
> James-
> Excuse my ignorance but isn't the BEGIN and USE Perl5
> statements? I am currently using Perl4 because I didn't think
> OraPerl works with Perl5. If it does, what modifications did
> you do to make it work?
> I appreciate any information you can shed on this
> subject.
>
Sorry, my mistake. Those were perl5 commands. I'm using the DBI/DBD
extensions to access Oracle with perl5.
You can pick up the sources at CPAN. Other than adding the "use
Oraperl" command, you should not have to modify your Oraperl scripts.
James
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <12856-0@oink>;
Tue, 7 May 1996 17:15:10 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831485641:04165:2; Tue, 07 May 96 17:14:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa03327; 7 May 96 17:13 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA28537 for dbi-users-real; Tue, 7 May 1996 09:03:54 -0700
Precedence: junk
Sender:
[email protected]
Received: from skorpio3.usask.ca (skorpio3.usask.ca [128.233.128.56])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id JAA28532
for <
[email protected]>; Tue, 7 May 1996 09:01:45 -0700
Received: (from jrt128@localhost) by skorpio3.usask.ca (8.6.12/8.6.9)
id JAA09577; Tue, 7 May 1996 09:59:44 -0600
From: Judi Thomson <
[email protected]>
Message-Id: <
[email protected]>
Subject: Re: Perl, Windows NT and SQL Server
To:
[email protected]
Date: Tue, 7 May 1996 09:59:44 -0600 (CST)
Cc:
[email protected]
In-Reply-To: <
[email protected]> from "Richard Donkin" at May 7, 96 10:20:00 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 544
>
> I have also had a look at the NT ODBC.pm package by Dave Roth - is anyone else
> using this at all, even if not on SQL Server?
>
I am using the NT ODBC.pm with borland's DBD. Right now I'm using the dbase
driver because it came installed and I didn't have to fiddle with it. I'm
eventually going to try to install the driver for interbase and play with it.
ODBC.pm installed easily and so far has worked well. I'm not doing anything
fancy with it, but I'd be happy to try to help answer questions you might have.
Judi Thomson
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13077-3@oink>;
Tue, 7 May 1996 17:54:37 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831487062:17527:2; Tue, 07 May 96 17:37:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa17103; 7 May 96 17:36 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id JAA28624 for dbi-users-real; Tue, 7 May 1996 09:34:11 -0700
Precedence: junk
Sender:
[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 JAA28620
for <
[email protected]>; Tue, 7 May 1996 09:34:10 -0700
Received: by paradigm.webvision.com (940816.SGI.8.6.9/940406.SGI) id JAA07422;
Tue, 7 May 1996 09:34:00 -0700
Date: Tue, 7 May 1996 09:34:00 -0700
Message-Id: <
[email protected]>
From: dave madden <
[email protected]>
To:
[email protected]
CC:
[email protected]
In-reply-to: <
[email protected]> (message from Nina on Tue, 07 May 96 10:13:58 -0500)
Subject: Re: web to oracle interface
=>From: Nina <
[email protected]>
=>...
=> I am currently trying to develop a Web application that interfaces with an
=>Oracle database in a remote machine. What I have tried is using Oraperl..but
=>it took some time for the result to come back from the database and to be
=>displayed on the screen. Why is that so....did I miss something?
We're doing the same kind of things, and have found the same problem.
I suspect the Oracle login procedure (we're using SQL*Net) is a real
dog. We've had some success by leaving an SQL query server connected
to the DB, and then connecting to *that* with plain TCP, but I think
the ultimate solution will be to allow the HTTP server to connect to
the database directly. (The queries will then be written into the
HTML documents; the whole thing will be processed by a
server-side-include extension that we've found to be tremendously
useful. This extension, btw, is available for free to anyone
interested. Check <
http://wheat.webvision.com/lab/> for more info,
including a white paper, FAQ, demos, and download links.)
d.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13540-6@oink>;
Tue, 7 May 1996 18:41:46 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831490209:19482:2; Tue, 07 May 96 18:30:09 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa19327; 7 May 96 18:29 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa00661; 7 May 96 18:29 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id KAA28777 for dbi-users-real; Tue, 7 May 1996 10:24:03 -0700
Precedence: junk
Sender:
[email protected]
Received: from vivid.vivid.com (vivid.vivid.com [205.163.51.81])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id KAA28773
for <
[email protected]>; Tue, 7 May 1996 10:24:02 -0700
Received: from [205.163.51.232] (greedo.vivid.com [205.163.51.232])
by vivid.vivid.com (8.7.5/8.7.3) with SMTP id KAA07574;
Tue, 7 May 1996 10:23:29 -0700 (PDT)
Date: Tue, 7 May 1996 10:23:29 -0700 (PDT)
X-Sender:
[email protected]
Message-Id: <adb4d3e1180210044d95@[205.163.51.232]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Douglas Sur <
[email protected]>
From: Jake in Denial <
[email protected]>
Subject: Re: Where can I get ORAPERL support?
Cc:
[email protected]
At 2:47 AM 5/7/96, Douglas Sur wrote:
> My problem is I keep getting the following error message from my
>Netscape Commerce server: [06/May/1996:22:18:40] failure: for host
>nj-x1-s5-po14.cgin.us-nj.citicorp.com trying to GET /register/view.cgi,
>cgi-parse-output reports: the CGI program
>/apps/ns-home/docs/register/view.cgi did not produce a valid header (too
>many headers from CGI script (max 200))
Does the script work if you call it from the command line? Does it print
out a valid-looking HTTP header? The Netscape server combines stdout and
stderr from the CGI script, so if you're getting Perl compilation errors or
database errors the server will think that the error text is an HTTP
header.
Jake
--
In twenty-seven years I drunk fifty thousand beers
and they just wash against me like the sea into a pier
Mm hmm hmm
--Silver Jews
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <14271-21@oink>;
Tue, 7 May 1996 22:34:17 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831496445:26150:0; Tue, 07 May 96 20:14:05 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa25392; 7 May 96 20:12 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa19643; 7 May 96 20:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA29060 for dbi-users-real; Tue, 7 May 1996 12:06:13 -0700
Precedence: junk
Sender:
[email protected]
Received: from egate.citicorp.com (egate.citicorp.com [192.193.195.194])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id MAA29056
for <
[email protected]>; Tue, 7 May 1996 12:06:08 -0700
Received: by egate.citicorp.com id AA14152 (InterLock SMTP Gateway 3.0
for
[email protected]); Tue, 7 May 1996 15:05:44 -0400
Message-Id: <
[email protected]>
Received: by egate.citicorp.com (Protected-side Proxy Mail Agent-1);
Tue, 7 May 1996 15:05:44 -0400
Date: Tue, 07 May 1996 15:10:11 -0100
From: Douglas Sur <
[email protected]>
Organization: Citicorp Global Information Network
X-Mailer: Mozilla 2.0 (WinNT; I)
Mime-Version: 1.0
To:
[email protected]
Subject: Re: Where can I get ORAPERL support?
References: <adb4d3e1180210044d95@[205.163.51.232]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I want to thank all of you for helping me through my
problem. The WAS because of the STDERR and STDOUT routing of
information.
For some reason, when I compiled the OraPerl module, it
put in full debugging information on. This information gets
routed to STDERR every time I run OraPerl. As a stop gap fix I
simply set the $ora_debug variable to 0. Until I can figure out
how to recompile to OraPerl software without the debugging
turned on.
Anyway, Thanks!
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
Douglas Y. Sur, OnLine Technologist
Citicorp Global Information Network VOICE: 703-708-1164
1900 Campus Commons Drive FAX: 703-708-1184
Floor 3, Zone 8
Reston, Va. 22091
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-==-=
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18396-0@oink>;
Wed, 8 May 1996 09:55:46 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831540010:26222:3; Wed, 08 May 96 08:20:10 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26163; 8 May 96 8:19 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id AAA01397 for dbi-users-real; Wed, 8 May 1996 00:14:35 -0700
Precedence: junk
Sender:
[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 AAA01342;
Wed, 8 May 1996 00:01:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id af08615; 8 May 96 8:01 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae29729; 8 May 96 7:06 +0100
Received: from toad by oink with SMTP (PP) id <14444-0@oink>;
Tue, 7 May 1996 22:48:00 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19854;
Tue, 7 May 1996 22:47:54 +0000
Date: Tue, 7 May 1996 22:47:54 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Announce: DBI-0.69 and DBD-Oracle-0.30 (minor releases)
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1101
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
Changes in DBI 0.69, 7th May 1996
Fixed small memory leak.
Clarified the behaviour of DBI->connect.
$dbh->do now returns '0E0' instead of 'OK'.
Fixed "Can't read $DBI::errstr, lost last handle" problem.
Changes in DBD::Oracle 0.30, 7th May 1996
THE ORAPERL EMULATION LAYER IS NOW FORMALLY RELEASED (NO LONGER ALPHA).
Note that the underlying DBI and DBD::Oracle interfaces remain alpha
because they are still subject to, possibly significant, change.
Oraperl v2 used to return the string 'OK' to indicate success
with a zero numeric value. The Oraperl emulation now uses the
string '0E0' to achieve the same effect since it does not cause
any -w warnings when used in a numeric context.
Fixed typecast warning (s/safefree/Safefree).
Automatically sets/resets ORACLE_HOME from oratab value for sid.
TO DO: Automatic configuration from Oracle 7.3 is not yet working
(Oracle have reorganised the makefiles yet again!).
Uploaded to
ftp://ftp.demon.co.uk/pub/perl/db/ DBI/ and DBD/Oracle/
Will be mirrored to CPAN in time.
Enjoy.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18396-2@oink>;
Wed, 8 May 1996 09:55:53 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831540074:26708:1; Wed, 08 May 96 08:21:14 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26541; 8 May 96 8:20 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id AAA01346 for dbi-announce-real; Wed, 8 May 1996 00:01:12 -0700
Precedence: junk
Sender:
[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 AAA01342;
Wed, 8 May 1996 00:01:09 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id af08615; 8 May 96 8:01 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae29729; 8 May 96 7:06 +0100
Received: from toad by oink with SMTP (PP) id <14444-0@oink>;
Tue, 7 May 1996 22:48:00 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA19854;
Tue, 7 May 1996 22:47:54 +0000
Date: Tue, 7 May 1996 22:47:54 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Announce: DBI-0.69 and DBD-Oracle-0.30 (minor releases)
Cc:
[email protected]
X-Sun-Charset: US-ASCII
content-length: 1101
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
Changes in DBI 0.69, 7th May 1996
Fixed small memory leak.
Clarified the behaviour of DBI->connect.
$dbh->do now returns '0E0' instead of 'OK'.
Fixed "Can't read $DBI::errstr, lost last handle" problem.
Changes in DBD::Oracle 0.30, 7th May 1996
THE ORAPERL EMULATION LAYER IS NOW FORMALLY RELEASED (NO LONGER ALPHA).
Note that the underlying DBI and DBD::Oracle interfaces remain alpha
because they are still subject to, possibly significant, change.
Oraperl v2 used to return the string 'OK' to indicate success
with a zero numeric value. The Oraperl emulation now uses the
string '0E0' to achieve the same effect since it does not cause
any -w warnings when used in a numeric context.
Fixed typecast warning (s/safefree/Safefree).
Automatically sets/resets ORACLE_HOME from oratab value for sid.
TO DO: Automatic configuration from Oracle 7.3 is not yet working
(Oracle have reorganised the makefiles yet again!).
Uploaded to
ftp://ftp.demon.co.uk/pub/perl/db/ DBI/ and DBD/Oracle/
Will be mirrored to CPAN in time.
Enjoy.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18396-7@oink>;
Wed, 8 May 1996 09:56:08 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831541858:10114:2; Wed, 08 May 96 08:50:58 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa09555; 8 May 96 8:50 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id AAA01470 for dbi-users-real; Wed, 8 May 1996 00:45:50 -0700
Precedence: junk
Sender:
[email protected]
Received: from auspex-gw.auspex.com (auspex-gw.auspex.com [144.48.1.1])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id AAA01466
for <
[email protected]>; Wed, 8 May 1996 00:45:49 -0700
Received: from nova.auspex.fr ([194.2.216.2])
by auspex-gw.auspex.com (8.6.12/8.6.12) with ESMTP id AAA02447;
Wed, 8 May 1996 00:45:27 -0700
Received: (from kstock@localhost) by nova.auspex.fr (8.6.9/8.6.9) id JAA00542;
Wed, 8 May 1996 09:44:22 +0200
Date: Wed, 8 May 1996 09:44:22 +0200
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Where can I get ORAPERL support?
From:
[email protected] (Kevin Stock)
Organisation: Auspex Systems European Technical Support Centre
Phone: +33 1 46 29 99 37
Reply-To:
[email protected]
> I want to thank all of you for helping me through my
> problem. The WAS because of the STDERR and STDOUT routing of
> information.
> For some reason, when I compiled the OraPerl module, it
> put in full debugging information on. This information gets
> routed to STDERR every time I run OraPerl. As a stop gap fix I
> simply set the $ora_debug variable to 0. Until I can figure out
> how to recompile to OraPerl software without the debugging
> turned on.
I'm sorry to say this, but: RTFM.
'Readme' states:
You may need to change the definitions below:
[...]
DEBUG -DDEBUGGING, -DPERL_DEBUGGING or leave blank;
see the file Debugging for an explanation
DBUG_O the debugging library, if debugging is required
'Debugging' states:
If your uperl.o was built with -DDEBUGGING, you can define PERL_DEBUGGING
at compilation and the oraperl debugging will be initialised from the -D
flag. If not, you can still define DEBUGGING, but you will have to set
ora_debug from within your program.
and finally, 'Makefile' states:
# Set DEBUG to -DDEBUGGING, -DPERL_DEBUGGING or leave blank (see orafns.h)
# If it is not blank, uncomment the definition of DBUG_O
#
DEBUG = -DPERL_DEBUGGING
DBUG_O = dbug/dbug.o
To summarise, you need to change the two Makfile lines to read:
DEBUG =
#DBUG_O = dbug/dbug.o
Then issue
make clean # to get rid of the old .o files
make
and a new, debug-less, Oraperl will be built.
Maybe someone could add this information to the FTP site and/or Web page?
Kevin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18396-13@oink>;
Wed, 8 May 1996 09:56:29 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831544119:00780:2; Wed, 08 May 96 09:28:39 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00100; 8 May 96 9:27 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id BAA01537 for dbi-users-real; Wed, 8 May 1996 01:22:50 -0700
Precedence: junk
Sender:
[email protected]
Received: from bbbsr1.bau.tu-dresden.de (bbbsr1.bau.tu-dresden.de [141.30.140.32])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id BAA01533
for <
[email protected]>; Wed, 8 May 1996 01:22:30 -0700
Received: from localhost by bbbsr1.bau.tu-dresden.de
with SMTP (1.38.193.4/16.2) id AA13125;
Wed, 8 May 1996 10:21:41 +0200
Message-Id: <
[email protected]>
Date: Wed, 08 May 1996 10:21:41 +0200
From: Markus Hauser <
[email protected]>
Organization: University of Technology Dresden
X-Mailer: Mozilla 2.01 (X11; I; HP-UX A.09.05 9000/735)
Mime-Version: 1.0
To:
[email protected]
Subject: dbd-oracle connect problem
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I did the following in our HP-UX 9.05 enviroment:
- installed perl 5.0 (patchlevel 2), all tests ok
- installed dbi-0.68 ,all tests ok
- installed dbd-oracle 0.29,
test base ok
test main ok
oraperl emulation interface
ORA 01034 ERROR (ORACLE NOT AVAILABLE)
I receive login failures also when using ora_login directly.
The server is definitely running and a connection with sqlplus
is possible.
I tried to establish a connection from the machine where the server is
running as well as from client machines.
For client machines the environent is:
Database Name: CIB.bau.tu-dreden.de
(defined in tnsnames.ora: host bbbsr1.bau.tu-dresden.de
protocol TCP, port 1526)
CIB instance is up on bbbsr1
User: scott
Passwd: tiger
Things like ora_login('CIB.bau.tu-dresden.de','scott','tiger') for
clients or ora_login('CIB','scott','tiger') or
ora_login('',scott,tiger) on the server wont work.
Any hints are very much appreciated. By the way is the some
documentation avialable for dbd-oracle and the oraperl emulation?
--
Dipl.-Inform. Markus Hauser Technische Universitaet Dresden
Lehrstuhl fuer Computeranwendung Mommsenstrasse 13
im Bauwesen D-01062 Dresden, Germany
Phone: +49-351-463-4615 Fax: +49-351-463-3975
http://bbbsr1.bau.tu-dresden.de/~markus/
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <19855-7@oink>;
Wed, 8 May 1996 15:25:49 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 831561501:16016:1; Wed, 08 May 96 14:18:21 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa15263; 8 May 96 14:17 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id GAA01869 for dbi-users-real; Wed, 8 May 1996 06:08:27 -0700
Precedence: junk
Sender:
[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 GAA01865
for <
[email protected]>; Wed, 8 May 1996 06:08:26 -0700
Received: from dns2.industry.net (dns2.industry.net [206.150.196.30])
by mail.industry.net (8.6.9/8.6.8) with SMTP id JAA02678;
Wed, 8 May 1996 09:11:12 -0400
Message-ID: <
[email protected]>
Date: Tue, 07 May 1996 02:33:59 -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: Markus Hauser <
[email protected]>
CC:
[email protected]
Subject: Re: dbd-oracle connect problem
References: <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Markus Hauser wrote:
> Things like ora_login('CIB.bau.tu-dresden.de','scott','tiger') for
> clients or ora_login('CIB','scott','tiger') or
> ora_login('',scott,tiger) on the server wont work.
Try using the exact same string as you'd give sqlplus, i.e., if you can
invoke sqlplus with:
sqlplus scott/tiger@CIB
try doing:
ora_login ('', 'scott/tiger@CIB', '')
Later,
Rujith.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20791-0@oink>;
Wed, 8 May 1996 16:17:20 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831568388:06349:3; Wed, 08 May 96 16:13:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa06138; 8 May 96 16:12 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA02099 for dbi-users-real; Wed, 8 May 1996 08:07:14 -0700
Precedence: junk
Sender:
[email protected]
Received: from unicorn.it.wsu.edu (unicorn.it.wsu.edu [134.121.1.1])
by toccata.fugue.com (8.6.12/8.6.11) with SMTP id IAA02095
for <
[email protected]>; Wed, 8 May 1996 08:07:13 -0700
Received: by unicorn.it.wsu.edu; (5.65v3.2/1.1.8.2/11Jan95-0459PM) id AA23688;
Wed, 8 May 1996 08:07:05 -0700
Date: Wed, 8 May 1996 08:07:05 -0700 (PDT)
From: kathleen duncan <
[email protected]>
X-Sender:
[email protected]
To: "
[email protected]" <
[email protected]>
Subject: Quoting an SQL string
Message-Id: <
[email protected]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
I have recently installed DBI 0.68, DBD-mSQL 0.60pl10, perl 5.002 and
mSQL-1.0.10 on a DEC Alpha. So far, everything seems to be working except
when I try to quote a string. Then the program just stops.
The line I am entering is : $tmp = $dbh->quote($db, $mystring);
Could someone tell me what I am doing wrong or if there is another
package that I need to install.
Thanks in advance.
Kathleen Duncan
Washington State University
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22011-0@oink>;
Wed, 8 May 1996 19:55:58 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831581452:18062:2; Wed, 08 May 96 19:50:52 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa17867; 8 May 96 19:50 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa15421; 8 May 96 19:49 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id LAA02905 for dbi-users-real; Wed, 8 May 1996 11:42:49 -0700
Precedence: junk
Sender:
[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 LAA02899
for <
[email protected]>; Wed, 8 May 1996 11:42:40 -0700
Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net
id ab21219; 8 May 96 19:36 +0100
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa08246; 8 May 96 19:36 +0100
Received: from toad by oink with SMTP (PP) id <20836-0@oink>;
Wed, 8 May 1996 16:34:58 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29957;
Wed, 8 May 1996 16:34:50 +0000
Date: Wed, 8 May 1996 16:34:50 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Quoting an SQL string
X-Sun-Charset: US-ASCII
content-length: 692
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: kathleen duncan <
[email protected]>
>
> I have recently installed DBI 0.68, DBD-mSQL 0.60pl10, perl 5.002 and
> mSQL-1.0.10 on a DEC Alpha. So far, everything seems to be working except
> when I try to quote a string. Then the program just stops.
>
> The line I am entering is : $tmp = $dbh->quote($db, $mystring);
The _default_ quote method is:
sub quote { my $str=shift; $str=~s/'/''/g; "'$str'"; } # ISO SQL2
(which, on inspection, is broken - but that's not the problem here)
DBD-mSQL may have overridden the default method with another.
Either way I'd suggest just writing your own quote function
based on the above (modified to suite mSQL if needed).
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26881-23@oink>;
Thu, 9 May 1996 07:10:14 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831621712:06180:1; Thu, 09 May 96 07:01:52 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa05913; 9 May 96 7:00 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id WAA05731 for dbi-users-real; Wed, 8 May 1996 22:48:30 -0700
Precedence: junk
Sender:
[email protected]
Received: from engr.orst.edu (ENGR.ORST.EDU [128.193.54.1])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id WAA05727
for <
[email protected]>; Wed, 8 May 1996 22:48:28 -0700
Received: from mi.ENGR.ORST.EDU (mi.ENGR.ORST.EDU [198.106.200.32])
by engr.orst.edu (8.6.10/8.6.10) with SMTP id WAA16521
for <
[email protected]>; Wed, 8 May 1996 22:48:27 -0700
Received: by mi.ENGR.ORST.EDU (1.38.193.4/ENGR-Client) id AA18552;
Wed, 8 May 1996 22:48:20 -0700
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Free DBperl engines/modules?
Date: Wed, 08 May 1996 22:48:19 -0700
From: Eric Altendorf <
[email protected]>
This is probably a stupid question asked many times before, but is
there a free database engine and module to sit under the DBperl
interface?
I'm involved in a small project and we need a fairly simple database
system to keep track of students and grades in an online class. We've
started writing our own ascii/flat-file type system, but I think it
would be much better if we could reuse code, especially if it would
allow us to easily upgrade to a commercial relational database engine
later.
Thanks in advance,
-eric altendorf
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <01385-6@oink>;
Thu, 9 May 1996 16:47:37 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 831656205:28338:0; Thu, 09 May 96 16:36:45 BST
Received: from relay-1.mail.demon.net ([158.152.1.140])
by punt-1.mail.demon.net id aa27857; 9 May 96 16:36 +0100
Received: from toccata.fugue.com ([204.254.239.2]) by relay-1.mail.demon.net
id aa01445; 9 May 96 16:35 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id IAA06522 for dbi-users-real; Thu, 9 May 1996 08:16:02 -0700
Precedence: junk
Sender:
[email protected]
Received: from rhino.coe.missouri.edu (rhino.coe.missouri.edu [128.206.59.236])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id IAA06518
for <
[email protected]>; Thu, 9 May 1996 08:16:01 -0700
Received: from localhost (pixel@localhost)
by rhino.coe.missouri.edu (8.7.3/8.7.3) with SMTP id KAA05228;
Thu, 9 May 1996 10:15:48 -0500 (CDT)
X-Authentication-Warning: rhino.coe.missouri.edu: pixel owned process doing -bs
Date: Thu, 9 May 1996 10:15:47 -0500 (CDT)
From: James Cooper <
[email protected]>
To: Eric Altendorf <
[email protected]>
cc:
[email protected]
Subject: Re: Free DBperl engines/modules?
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
> This is probably a stupid question asked many times before, but is
> there a free database engine and module to sit under the DBperl
> interface?
mSQL is shareware...I'm not sure what the registration fee is for
educational institutions (and if it's different from a commercial install)
Postgres95 is a free RDBMS, but unfortunately no one has written a DBI
driver for it. There is a free perl API for it called pg95perl.
Hopefully one day someone will try to bring Postgres into the DBI project.
The Postgres95 home page is at:
http://epoch.cs.berkeley.edu:8000/postgres95/
Hope that helps
-- James
........................................................................
James Paul Cooper * Pixel
MU College of Education
[email protected] -
http://tiger.coe.missouri.edu/~pixel/
........................................................................
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <04225-11@oink>;
Fri, 10 May 1996 07:09:34 +0100
Received: from punt-2.mail.demon.net by mailstore for
[email protected]
id 831672588:18005:3; Thu, 09 May 96 21:09:48 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-2.mail.demon.net
id aa12666; 9 May 96 21:01 +0100
Received: (from daemon@localhost) by toccata.fugue.com (8.6.12/8.6.11)
id MAA07613 for dbi-users-real; Thu, 9 May 1996 12:52:11 -0700
Precedence: junk
Sender:
[email protected]
Received: from vega.math.ualberta.ca (
[email protected] [129.128.88.12])
by toccata.fugue.com (8.6.12/8.6.11) with ESMTP id MAA07609
for <
[email protected]>; Thu, 9 May 1996 12:52:07 -0700
Received: from ellpspace.math.ualberta.ca by vega.math.ualberta.ca
with SMTP (1.37.109.16/16.2) id AA208981224;
Thu, 9 May 1996 13:47:04 -0600
Received: by ellpspace.math.ualberta.ca (Linux Smail3.1.29.1 #3)
id m0uHbl1-000MjeC; Thu, 9 May 96 13:52 MDT
Message-Id: <
[email protected]>
From:
[email protected] (Michal Jaegermann)
Subject: Some problems with DBD-Oracle-0.30
To:
[email protected]
Date: Thu, 9 May 1996 13:52:15 -0600 (MDT)
Cc:
[email protected]
X-Mailer: ELM [version 2.4 PL23]
Content-Type: text
Content-Length: 4259
So far I have to problems with just released DBD-Oracle-0.30.
First really a minor one. It seems to me that 'load_oratab' subroutine
is a bit overenthusiastic. It should skip not "turned-on" names, i.e.
these without trailing 'Y' in a record.
The other is that deleting records does not always work correctly with
Oracle 7 (I reported that with 0.29, but apparently this report was
lost). Below is attached slight modification of one original Kevin
Stock test programs - mkdb.pl. When used with '-v' option to make
record labels of 'varchar2', then results are as expected. Without
'-v', i.e. type 'char' for record labels, deletes "by name" do not work.
Results of both tests are correct and look the same, save a difference
in reported types, with oraperl 2.4 for Perl 4 on the same platform
(Digital Unix 3.2, Alpha). Am I the only one with this gotcha?
Michal
[email protected]
#!/usr/local/bin/perl
eval 'use Oraperl; 1' || die $@ if $] >= 5;
require 'getopts.pl';
# This test will create and drop a table 'tryit'!!
#
# this example modified to use fixed width strings
# type 'char' in Oracle 6 was variable; it is fixed in Oracle 7
# and if you want variable type use 'varchar2' instead
#
##$ora_debug = shift if $ARGV[0] =~ /-#/;
$opt_v = '';
&Getopts('v') || die "Usage: $0 [-v] base user pass\n";
$varchar = 'yes' if $opt_v;
$ora_errno = 0;
(($base = shift) &&
($user = shift) &&
($pass = shift)) || die "Usage: $0 [-v] base user pass\n";
push(@INC, '..');
require('oraperl.ph');
$fwidth = 10;
$lda = &ora_login($base, $user, $pass) || die "$ora_errstr\n";
format STDOUT_TOP =
Name Ext
==== ===