Received: from punt.demon.co.uk by oink with SMTP (PP) id <21811-5@oink>;
Wed, 23 Oct 1996 02:06:32 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846031624:04050:3; Wed, 23 Oct 96 01:47:04 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa03885; 23 Oct 96 1:46 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id NAA06780 for dbi-users-real; Tue, 22 Oct 1996 13:04:52 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from pentium90. (pentium90.mojoski.com [168.121.255.75])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA06776
for <
[email protected]>; Tue, 22 Oct 1996 13:04:36 -0700 (PDT)
Received: from pentium90 by pentium90. (SMI-8.6/SMI-SVR4) id QAA00384;
Tue, 22 Oct 1996 16:04:00 -0400
Message-ID: <
[email protected]>
Date: Tue, 22 Oct 1996 16:04:00 -0400
From: Del Simmons <
[email protected]>
Organization:
[email protected]
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 i86pc)
MIME-Version: 1.0
To:
[email protected]
CC:
[email protected]
Subject: DBD Informix install problem... Help!
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi all,
I'm new to DBI so this is probably something stupid I am doing.
Please forgive me if it is.
I have a UltraSparc running Sol 2.5.1 and Perl 5.003 and when I try to
install DBD Informix I am getting some strange errors.
The DBI install seemed to go well, only a few warnings.. test and
install completed with no errors..
I'm using gcc to compile it. I have Informix Online Dynamic Server
installed in /illustra/informix .. (long story.. :-)
"onstat" reports : INFORMIX-OnLine Version 7.20.UC2
ESQL/C appears to be version 7.2 also (that's what the manual says...)
Here is what happens:
----------------------------------------------------------
# make realclean
rm -rf Informix.c ./blib Makefile.aperl
/blib/arch/auto/DBD/Informix/extralibs.all perlmain.c mon.out core
so_locations pm_to_blib *~ */*~ */*/*~ *.o *.a perl.exe Informix.bs
Informix.bso Informix.def Informix.exp
mv Makefile Makefile.old 2>/dev/null
rm -rf ./blib/lib/auto/DBD/Informix ./blib/arch/auto/DBD/Informix
rm -f ./blib/arch/auto/DBD/Informix/Informix.so
/blib/arch/auto/DBD/Informix/Informix.bs
rm -f ./blib/arch/auto/DBD/Informix/Informix.a
rm -f ./blib/lib/DBD/Informix.pm
rm -rf Makefile Makefile.old
everything is fine here.. hehe
----------------------------------------------------------
# perl Makefile.PL
Configuring DBD::Informix version 0.23...
Remember to actually read the README file!
What version of Informix are you using? [5/6/7] 7
Using Informix version 7 in /illustra/informix
Informix sysliblist: -L/illustra/informix/lib
-L/illustra/informix/lib/esql -lsql -lasf -lgen -los -lm
System: perl5.003 sunos pez 5.5.1 generic sun4u sparc sunw,ultra-1
sun4-solaris dl_dlopen.xs
Compiler: gcc -O
Checking if your kit is complete...
Warning: the following files are missing in your kit:
Makefile
Makefile.old
Please inform the author.
Writing Makefile for DBD::Informix
----------------------------------------------------------
# make
cp Informix.pm ./blib/lib/DBD/Informix.pm
/usr/bin/perl -I/usr/local/lib/perl5/sun4-solaris/5.003
-I/usr/local/lib/perl5 /usr/local/lib/perl5/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/ExtUtils/typemap Informix.xs >Informix.tc && mv
Informix.tc Informix.c
Please specify prototyping behavior for Informix.xs (see perlxs manual)
gcc -c -I/illustra/informix/incl/esql
-I/usr/local/lib/perl5/sun4-solaris/5.003/DBI
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -O
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -fpic
-I/usr/local/lib/perl5/sun4-solaris/5.003/CORE -Wall -pedantic
-Wno-comment -Wpointer-arith -Wcast-align -Wconversion -Wtraditional
-Wpointer-arith -Wcast-qual Informix.c
Informix.c: In function `XS_DBD__Informix__dr__ListDBs':
Informix.c:86: warning: implicit declaration of function `sqgetdbs'
Informix.c:91: warning: ANSI C forbids braced-groups within expressions
Informix.c:78: warning: unused variable `drh'
Informix.c: In function `XS_DBD__Informix__db__login':
Informix.c:111: warning: implicit declaration of function `dbd_db_login'
Informix.c: In function `XS_DBD__Informix__db_commit':
Informix.c:123: warning: implicit declaration of function
`dbd_db_commit'
Informix.c: In function `XS_DBD__Informix__db_rollback':
Informix.c:135: warning: implicit declaration of function
`dbd_db_rollback'
Informix.c: In function `XS_DBD__Informix__db_STORE':
Informix.c:149: warning: implicit declaration of function `dbd_db_STORE'
Informix.c: In function `XS_DBD__Informix__db_FETCH':
Informix.c:167: warning: implicit declaration of function `dbd_db_FETCH'
Informix.c:167: warning: initialization makes pointer from integer
without a cast
Informix.c: In function `XS_DBD__Informix__db_disconnect':
Informix.c:189: warning: ANSI C forbids braced-groups within expressions
Informix.c:196: warning: int format, I32 arg (arg 3)
Informix.c:198: warning: implicit declaration of function
`dbd_db_disconnect'
Informix.c: In function `XS_DBD__Informix__db_DESTROY':
Informix.c:221: warning: function `dbd_db_disconnect' was previously
declared within a block
Informix.c:223: warning: implicit declaration of function
`dbd_db_destroy'
Informix.c: In function `XS_DBD__Informix__st__prepare':
Informix.c:236: warning: implicit declaration of function
`dbd_st_prepare'
Informix.c: In function `XS_DBD__Informix__st_rows':
Informix.c:248: warning: unused variable `imp_sth'
Informix.c: In function `XS_DBD__Informix__st_execute':
Informix.c:267: warning: ANSI C forbids braced-groups within expressions
Informix.c:275: warning: ANSI C forbids braced-groups within expressions
Informix.c: In function `XS_DBD__Informix__st_fetchrow':
Informix.c:321: warning: ANSI C forbids braced-groups within expressions
Informix.c: In function `XS_DBD__Informix__st_readblob':
Informix.c:358: warning: implicit declaration of function
`dbd_st_readblob'
Informix.c:358: warning: assignment makes pointer from integer without a
cast
Informix.c: In function `XS_DBD__Informix__st_STORE':
Informix.c:372: warning: implicit declaration of function `dbd_st_STORE'
Informix.c: In function `XS_DBD__Informix__st_FETCH':
Informix.c:390: warning: implicit declaration of function `dbd_st_FETCH'
Informix.c:390: warning: initialization makes pointer from integer
without a cast
Informix.c: In function `XS_DBD__Informix__st_finish':
Informix.c:414: warning: ANSI C forbids braced-groups within expressions
Informix.c:419: warning: ANSI C forbids braced-groups within expressions
Informix.c:421: warning: implicit declaration of function
`dbd_st_finish'
Informix.c: In function `XS_DBD__Informix__st_DESTROY':
Informix.c:445: warning: function `dbd_st_finish' was previously
declared within a block
Informix.c:447: warning: implicit declaration of function
`dbd_st_destroy'
Informix.c: In function `boot_DBD__Informix':
Informix.c:460: warning: ANSI C forbids braced-groups within expressions
gcc -c -I/illustra/informix/incl/esql
-I/usr/local/lib/perl5/sun4-solaris/5.003/DBI
-I/usr/local/lib/perl5/site_perl/sun4-solaris/DBI -O
-DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -fpic
-I/usr/local/lib/perl5/sun4-solaris/5.003/CORE -Wall -pedantic
-Wno-comment -Wpointer-arith -Wcast-align -Wconversion -Wtraditional
-Wpointer-arith -Wcast-qual dbdimp.c
dbdimp.ec: In function `dbd_db_login':
dbdimp.ec:113: warning: unused variable `ret'
dbdimp.ec: In function `dbd_db_commit':
dbdimp.ec:141: warning: unused variable `imp_dbh'
dbdimp.ec: In function `dbd_db_rollback':
dbdimp.ec:149: warning: unused variable `imp_dbh'
dbdimp.ec: In function `dbd_db_STORE':
dbdimp.ec:192: warning: unused variable `on'
dbdimp.ec:188: warning: unused variable `imp_dbh'
dbdimp.ec: In function `dbd_db_FETCH':
dbdimp.ec:226: warning: value computed is not used
dbdimp.ec:227: warning: value computed is not used
dbdimp.ec:217: warning: unused variable `i'
dbdimp.ec:214: warning: unused variable `imp_dbh'
dbdimp.ec: In function `dbd_st_prepare':
dbdimp.ec:322: warning: cast discards `const' from pointer target type
dbdimp.ec:327: warning: cast discards `const' from pointer target type
dbdimp.ec:338: warning: cast discards `const' from pointer target type
dbdimp.ec:339: warning: cast discards `const' from pointer target type
dbdimp.ec:339: warning: cast discards `const' from pointer target type
dbdimp.ec:339: warning: cast discards `const' from pointer target type
dbdimp.ec:341: warning: cast discards `const' from pointer target type
dbdimp.ec:342: warning: cast discards `const' from pointer target type
dbdimp.ec:262: warning: unused variable `inside_quote'
dbdimp.ec:260: warning: unused variable `imp_dbh'
dbdimp.ec: In function `dbd_describe':
dbdimp.ec:537: warning: int format, pointer arg (arg 3)
dbdimp.ec:564: warning: cast discards `const' from pointer target type
dbdimp.ec:591: warning: overflow in implicit constant conversion
dbdimp.ec:590: warning: pointer targets in passing arg 1 of `strcpy'
differ in signedness
dbdimp.ec:504: warning: unused variable `loop'
dbdimp.ec:502: warning: unused variable `desc_count'
dbdimp.ec:501: warning: unused variable `demodesc'
dbdimp.ec:500: warning: unused variable `fp'
dbdimp.ec:499: warning: unused variable `length'
dbdimp.ec: In function `dbd_st_readblob':
dbdimp.ec:685: warning: ANSI C forbids braced-groups within expressions
dbdimp.ec:667: warning: unused variable `imp_sth'
dbdimp.ec:668: warning: `retl' might be used uninitialized in this
function
dbdimp.ec: In function `dbd_st_FETCH':
dbdimp.ec:787: warning: pointer targets in passing arg 1 of
`Perl_newSVpv' differ in signedness
dbdimp.ec:793: warning: value computed is not used
Running Mkbootstrap for DBD::Informix ()
chmod 644 Informix.bs
LD_RUN_PATH="/illustra/informix/lib/esql:/illustra/informix/lib:/lib"
gcc -o blib/arch/auto/DBD/Informix/Informix.so -G -L/usr/lib Informix.o
dbdimp.o dbdimp.o -L/illustra/informix/lib -L/illustra/informix/lib
-R/illustra/informix/lib -L/illustra/informix/lib/esql
-R/illustra/informix/lib/esql -L/illustra/informix/lib
-L/illustra/informix/lib/esql -lsql -lasf -lgen -los -lm
ld: warning: file dbdimp.o: attempted multiple inclusion of file
chmod 755 blib/arch/auto/DBD/Informix/Informix.so
cp Informix.bs ./blib/arch/auto/DBD/Informix/Informix.bs
chmod 644 blib/arch/auto/DBD/Informix/Informix.bs
----------------------------------------------------------
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl -I./blib/arch -I./blib/lib
-I/usr/local/lib/perl5/sun4-solaris/5.003 -I/usr/local/lib/perl5 test.pl
install_driver(Informix) failed: Can't load
'./blib/arch/auto/DBD/Informix/Informix.so' for module DBD::Informix:
ld.so.1: /usr/bin/perl: fatal: relocation error: symbol not found:
gl_full_mbscat: referenced in ./blib/arch/auto/DBD/Informix/Informix.so
at /usr/local/lib/perl5/DynaLoader.pm line 140.
at blib/lib/DBD/Informix.pm line 18
DBI::install_driver called at test.pl line 10
Testing: DBI->install_driver( 'Informix' ): make: *** [test_dynamic]
Error 2
----------------------------------------------------------
Here is my perl info...
$ perl -e 'use Config; print Config::myconfig()'
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
Platform:
osname=solaris, osver=2.5.1, archname=sun4-solaris
uname='sunos pez 5.5.1 generic sun4u sparc sunw,ultra-1 '
hint=recommended, useposix=true, d_sigaction=define
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/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/lib'
----------------------------------------------------------
Any ideas you guys have would be greatly appreciated! I think I am
subscribed to the
list now so I should get your replies
Del Simmons
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22810-9@oink>;
Wed, 23 Oct 1996 07:36:15 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846037457:21804:0; Wed, 23 Oct 96 03:24:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21617; 23 Oct 96 3:23 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id QAA07591 for dbi-users-real; Tue, 22 Oct 1996 16:58:48 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id QAA07587
for <
[email protected]>; Tue, 22 Oct 1996 16:58:46 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id aa10138;
23 Oct 96 0:58 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa05860; 23 Oct 96 0:58 BST
Received: from toad by oink with SMTP (PP) id <20945-0@oink>;
Wed, 23 Oct 1996 00:56:54 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA04510;
Wed, 23 Oct 1996 00:56:28 +0000
Date: Wed, 23 Oct 1996 00:56:28 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Have you read README.login
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Martin Berli <
[email protected]>
>
> $dbuser = 'scott/tiger@lim1';
>
> But it still gives the same error:
>
> ora_login: 1019: ORA-01019: unable to allocate memory in the user side
>
> No problem with this:
>
> > sqlplus scott/tiger@lim1
>
> Hmmm...just a thought: in the README.clients it says:
>
> > With recent versions of Oracle (specifically around 7.3) you may be
> > able to build DBD::Oracle without Pro*C installed by using the Oracle
> > supplied oracle.mk file:
> >
> > perl Makefile.PL -m $ORACLE_HOME/rdbms/demo/oracle.mk
> >
> > (The oracle.mk file might also be found in $ORACLE_HOME/rdbms/public/)
>
> I used the oracle.mk file instead of the one from Pro*C (Pro*C is not
> installed at our site). Could it be that the trouble comes from there?
Possibly.
The ORA-01019 sounds like a configuration or build problem.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22810-11@oink>;
Wed, 23 Oct 1996 07:36:22 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846037457:21801:10; Wed, 23 Oct 96 03:24:17 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21632; 23 Oct 96 3:23 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id QAA07584 for dbi-users-real; Tue, 22 Oct 1996 16:56:43 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id QAA07580
for <
[email protected]>; Tue, 22 Oct 1996 16:56:39 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id aa09955;
23 Oct 96 0:56 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab05469; 23 Oct 96 0:55 BST
Received: from toad by oink with SMTP (PP) id <20892-0@oink>;
Wed, 23 Oct 1996 00:49:55 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA04495;
Wed, 23 Oct 1996 00:49:37 +0000
Date: Wed, 23 Oct 1996 00:49:37 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: OraPerl
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
----- Begin Included Message -----
From: Sam Hundal <
[email protected]>
Tim,
I am a windows programmer stuck on a UNIX project for two months.
We need to use OraPerl. I have looked around but couldn't find
a binary copy of OraPerl. Getting it compiled is a time consuming
job.
We are using Unix system V on SunOS 5.4. Do you know any place where
I can grab binary versions of OraPerl and Perl.
It will be a great help. I will be in your debt.
Thanks sooooooooooooooo much,
Sam Hundal
----- End Included Message -----
Getting it compiled and installed on Solaris typically takes less
than 5 minutes (once you've got a compiler installed :-).
I don't and won't ship binaries. Others in the dbi-users list might.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22810-22@oink>;
Wed, 23 Oct 1996 07:37:23 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846042913:07687:6; Wed, 23 Oct 96 04:55:13 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa07486; 23 Oct 96 4:54 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id SAA07819 for dbi-users-real; Tue, 22 Oct 1996 18:18:58 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id SAA07808;
Tue, 22 Oct 1996 18:18:54 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id aa15172;
23 Oct 96 2:18 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa14351; 23 Oct 96 2:17 BST
Received: from toad by oink with SMTP (PP) id <21889-0@oink>;
Wed, 23 Oct 1996 02:16:40 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA04726;
Wed, 23 Oct 1996 02:16:28 +0000
Date: Wed, 23 Oct 1996 02:16:28 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Announce: DBD-Oracle-0.41 *WITH ROW CACHE*
Cc:
[email protected],
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
Changes in DBD::Oracle 0.41 (Oraperl 1.30), 22nd Oct 1996
Added the long overdue row cache to DBD::Oracle.
(Thanks to
[email protected] for providing a patch that prompted
me to complete the work.)
Oraperl $ora_cache and cache parameter to ora_open now work.
Default cache size is adjusted automatically for row width.
Major reworking of field buffer memory management.
Added a more internal debugging.
Further updates to the README files.
As a little example of the effectiveness of the cache, a large
script of mine which does lots of large queries across a modem
link now runs 70% faster. (LAN based clients will see an
improvement but generally not _that_ much!)
Although I forgot to add it to the Changes file, I'd classify
this as a beta-level stability release. It should be fine (I've
done quite a lot of testing) but you should always test yourself.
Uploaded to ftp.demon.co.uk as usual. Should arrive on CPAN in
a day or three.
Tim.
p.s. Astute readers of the source might notice that it's taken
a tiny step towards supporting binding entire arrays. No promises.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <22810-24@oink>;
Wed, 23 Oct 1996 07:37:34 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846043044:07991:0; Wed, 23 Oct 96 04:57:24 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa07823; 23 Oct 96 4:56 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id SAA07853 for dbi-users-real; Tue, 22 Oct 1996 18:26:13 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from mail.mel.aone.net.au (mail.mel.aone.net.au [203.12.176.157])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id SAA07849
for <
[email protected]>; Tue, 22 Oct 1996 18:26:07 -0700 (PDT)
Received: from user3 (d79-1.cpe.Brisbane.aone.net.au [203.12.188.79])
by mail.mel.aone.net.au (8.6.13/8.6.11) with SMTP id LAA09072;
Wed, 23 Oct 1996 11:25:52 +1000
Message-Id: <
[email protected]>
X-Sender:
[email protected]
X-Mailer: Windows Eudora Light Version 1.5.4 (32)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 23 Oct 1996 11:23:30 +1000
To:
[email protected]
From: Darren Brechman-Toussaint <
[email protected]>
Subject: DBD-Oracle-0.35 Installation
Cc:
[email protected]
Hi all,
Could anyone help me with the install of DBD-Oracle-0.35.
I am getting errors during the "make" of the DBD-Oracle-0.35 after a "make
realclean"
The output received from "perl Makefile.PL" and "make" are at the end of
this message.
Please note that our oracle installation is in
"/u01/home/dba/oracle/product/7.0.16" but the version of oracle is 7.3.2.1.0
The install of perl 5.003 all went fine running all of "make", "make test"
and "make install"
also the install of DBI-0.73 went fine running all of "make", "make test"
and "make install"
Any help would be greatly appreciated
Thanks
Darren Brechman-Toussaint
Security Mailing Services
[email protected]
===== Output from "perl Makefile.PL" =====
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Using Oracle in /u01/home/dba/oracle/product/7.0.16
Using /u01/home/dba/oracle/product/7.0.16/precomp/demo/proc/proc.mk
/u01/home/dba/oracle/product/7.0.16/precomp/env_precomp.mk
Warning: Solaris 2.5 bug #1224467 may cause '_rmutex_unlock' error.
Deleting -lthread from link list as a possible workround.
System: perl5.003 sunos asterix 5.5 generic sun4d sparc sunw,sparccenter-2000
Compiler: cc -O -I/usr/local/include
Linker: /usr/ccs/bin/ld
Oracle proc.mk would have used these values but we override them:
CC: cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS)
$(SHARED_CFLAG) $(ENV_FLAGS)
LDFLAGS: -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME) -L/opt/SUNWcluster/lib
-R/opt/SUNWcluster/lib
Linking with -lclntsh -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc
-lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lsocket -lnsl -lm -ldl
-lm
Checking if your kit is complete...
Looks good
Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.
Writing Makefile for DBD::Oracle
=============================
==== Output from "make" =====
cp Oraperl.pm ./blib/lib/Oraperl.pm
cp Oracle.pm ./blib/lib/DBD/Oracle.pm
cp oraperl.ph ./blib/lib/oraperl.ph
perl -I/opt/perl5.003/lib/sun4-solaris/5.003 -I/opt/perl5.003/lib
/opt/perl5.003/lib/ExtUtils/xsubpp -typemap
/opt/perl5.003/lib/ExtUtils/typemap Oracle.xs >Oracle.tc && mv Oracle.tc
Oracle.c
cc -c -I. -I/u01/home/dba/oracle/product/7.0.16/precomp/public
-I/u01/home/dba/oracle/product/7.0.16/rdbms/demo
-I/opt/perl5.003/lib/site_perl/sun4-solaris/DBI
-I/opt/perl5.003/lib/sun4-solaris/5.003/DBI -Xc -xstrconst -xcg92 -xF -mr -K
PIC -DSLXMX_ENABLE -DSLTS_ENABLE -D_REENTRANT -xO4 -DVERSION=\"0.35\"
-DXS_VERSION=\"0.35\" -Kpic -I/opt/perl5.003/lib/sun4-solaris/5.003/CORE
Oracle.c
cc: multiple use of -K option, previous one discarded.
"/opt/perl5.003/lib/sun4-solaris/5.003/CORE/perl.h", line 1367: undefined or
not a type: sigjmp_buf
"/opt/perl5.003/lib/sun4-solaris/5.003/CORE/perl.h", line 1367: syntax error
before or at: top_env
"/opt/perl5.003/lib/sun4-solaris/5.003/CORE/perl.h", line 1367: warning:
old-style declaration or incorrect type for: top_env
"Oracle.c", line 144: warning: end-of-loop code not reached
"Oracle.c", line 256: warning: end-of-loop code not reached
"Oracle.c", line 265: warning: end-of-loop code not reached
"Oracle.c", line 305: warning: end-of-loop code not reached
"Oracle.c", line 400: warning: end-of-loop code not reached
"Oracle.c", line 404: warning: end-of-loop code not reached
cc: acomp failed for Oracle.c
*** Error code 2
make: Fatal error: Command failed for target `Oracle.o'
=============================
==== Output from "perl -V" ====
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
Platform:
osname=solaris, osver=2.5, archname=sun4-solaris
uname='sunos asterix 5.5 generic sun4d sparc sunw,sparccenter-2000 '
hint=recommended, useposix=true, d_sigaction=define
Compiler:
cc='cc', optimize='-O', gccversion=
cppflags='-I/usr/local/include'
ccflags ='-I/usr/local/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
libc=/lib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags='-Kpic', lddlflags='-G -L/usr/local/lib'
@INC: /opt/perl5.003/lib/sun4-solaris/5.003 /opt/perl5.003/lib
/opt/perl5.003/lib/site_perl/sun4-solaris /opt/perl5.003/lib/site_perl .
===============================
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24901-15@oink>;
Wed, 23 Oct 1996 12:14:11 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846066852:11935:21; Wed, 23 Oct 96 11:34:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa11715; 23 Oct 96 11:33 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id AAA08609 for dbi-users-real; Wed, 23 Oct 1996 00:18:10 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from deimos (deimos.sovam.com [194.67.1.156])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id AAA08605
for <
[email protected]>; Wed, 23 Oct 1996 00:17:48 -0700 (PDT)
Received: from nike.sovam.com ([194.67.3.241]) by deimos.sovam.com with SMTP
id <94416-13492>; Wed, 23 Oct 1996 11:17:10 +0400
Message-ID: <
[email protected]>
Date: Wed, 23 Oct 1996 11:17:39 +0400
From: "Roman L. Podshivalov" <
[email protected]>
Reply-To:
[email protected]
Organization: ROL
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Tim Bunce <
[email protected]>
CC:
[email protected],
[email protected]
Subject: Re: Have you read README.login
References: <
[email protected]>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Tim Bunce wrote:
>
> > From: Martin Berli <
[email protected]>
> >
> > $dbuser = 'scott/tiger@lim1';
> >
> > But it still gives the same error:
> >
> > ora_login: 1019: ORA-01019: unable to allocate memory in the user side
> >
> > No problem with this:
> >
> > > sqlplus scott/tiger@lim1
> >
> > Hmmm...just a thought: in the README.clients it says:
> >
> > > With recent versions of Oracle (specifically around 7.3) you may be
> > > able to build DBD::Oracle without Pro*C installed by using the Oracle
> > > supplied oracle.mk file:
> > >
> > > perl Makefile.PL -m $ORACLE_HOME/rdbms/demo/oracle.mk
> > >
> > > (The oracle.mk file might also be found in $ORACLE_HOME/rdbms/public/)
> >
> > I used the oracle.mk file instead of the one from Pro*C (Pro*C is not
> > installed at our site). Could it be that the trouble comes from there?
>
> Possibly.
>
> The ORA-01019 sounds like a configuration or build problem.
>
Just misconfiguration. You build DBI && DBD with other Oracle version
then you run with.
Probably build with 7.2.2.3 and run against 7.3.2.2.
Shared libraries changed.
--
Roman L. Podshivalov Sovam Teleport
<mailto:
[email protected]> phone: +7-501-258-4170
<
http://www.online.ru/~romas> fax: +7-501-258-4133
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <26240-0@oink>;
Wed, 23 Oct 1996 15:42:33 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846081672:09709:92; Wed, 23 Oct 96 15:41:12 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa10109; 23 Oct 96 15:39 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id DAA08797 for dbi-users-real; Wed, 23 Oct 1996 03:41:02 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id DAA08793
for <
[email protected]>; Wed, 23 Oct 1996 03:40:57 -0700 (PDT)
Received: by gw.home.vix.com id DAA04614; Wed, 23 Oct 1996 03:40:53 -0700 (PDT)
Message-Id: <
[email protected]>
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
Wed, 23 Oct 1996 12:37:42 +0200
X-Mailer: exmh version 1.6.9 8/22/96
To:
[email protected]
cc: Tim Bunce <
[email protected]>,
[email protected]
Subject: Re: ORA-01019: unable to allocate memory in the user side
In-reply-to: Message from "Roman L. Podshivalov" <
[email protected]> of "Wed, 23 Oct 1996 11:17:39 +0400." <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 23 Oct 1996 12:37:40 +0200
From: Martin Berli <
[email protected]>
> > > But it still gives the same error:
> > >
> > > ora_login: 1019: ORA-01019: unable to allocate memory in the user side
> > >
> > > No problem with this:
> > >
> > > > sqlplus scott/tiger@lim1
> > >
> > > Hmmm...just a thought: in the README.clients it says:
> > >
> > > > With recent versions of Oracle (specifically around 7.3) you may be
> > > > able to build DBD::Oracle without Pro*C installed by using the Oracle
> > > > supplied oracle.mk file:
> > > >
> > > > perl Makefile.PL -m $ORACLE_HOME/rdbms/demo/oracle.mk
> > > >
> > > > (The oracle.mk file might also be found in $ORACLE_HOME/rdbms/public/)
> > >
> > > I used the oracle.mk file instead of the one from Pro*C (Pro*C is not
> > > installed at our site). Could it be that the trouble comes from there?
> >
> > Possibly.
> >
> > The ORA-01019 sounds like a configuration or build problem.
> >
>
> Just misconfiguration. You build DBI && DBD with other Oracle version
> then you run with.
> Probably build with 7.2.2.3 and run against 7.3.2.2.
> Shared libraries changed.
We only have 7.3.2.1.0 on this machine. Never installed another version here.
No upgrades yet.
I now installed Pro*C, so DBD::Oracle was now built with 'proc.mk'. But still,
I get the same error. Hmmm... I really think that I have tried all hints from
those README* files now, but no luck yet.
Anything else I could try? How to narrow the 'bug search scope'?
Martin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28866-39@oink>;
Thu, 24 Oct 1996 07:53:13 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846120963:24483:1; Thu, 24 Oct 96 02:36:03 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24267; 24 Oct 96 2:35 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id OAA10425 for dbi-users-real; Wed, 23 Oct 1996 14:50:26 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from jafar.qualcomm.com (jafar.qualcomm.com [129.46.50.13])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id OAA10421
for <
[email protected]>; Wed, 23 Oct 1996 14:50:24 -0700 (PDT)
Received: (from ckoder@localhost) by jafar.qualcomm.com (8.7.5/1.0/8.7.2/1.9)
id OAA17834 for
[email protected];
Wed, 23 Oct 1996 14:49:53 -0700 (PDT)
From: Corinne Koder <
[email protected]>
Message-Id: <
[email protected]>
Subject: Statement handles destroyed w/out finish
To:
[email protected]
Date: Wed, 23 Oct 1996 14:49:52 -0700 (PDT)
X-Mailer: ELM [version 2.4 PL23]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Has anyone had this warning message pop up incessantly?
"Statement handle DBI::st=HASH(0x207f20) destroyed without finish()
at /iago/mnt2/web/httpd/cgi-bin/d3/add line 169."
I am not sure but I think it may be causing memory leaks, and I
cannot figure out how to "finish()" other than with the method I
am already using after an SQL call:
$sth->finish;
undef $sth;
I am using DBI::Informix and Informix v.7 on a Sun. Any advice
is appreciated!
Corinne
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-8@oink>;
Fri, 25 Oct 1996 07:36:17 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846182941:23904:1949; Thu, 24 Oct 96 19:49:01 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa10114; 24 Oct 96 19:21 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id JAA11960 for dbi-users-real; Thu, 24 Oct 1996 09:05:08 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from serac. (serac.mbt.washington.edu [128.95.231.215])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id JAA11956
for <
[email protected]>; Thu, 24 Oct 1996 09:05:07 -0700 (PDT)
Received: from localhost by serac. (SMI-8.6/SMI-SVR4) id JAA13353;
Thu, 24 Oct 1996 09:03:31 -0700
Date: Thu, 24 Oct 1996 09:03:31 -0700 (PDT)
From: Chris Abajian <
[email protected]>
X-Sender: chrisa@serac
To: Martin Berli <
[email protected]>
cc:
[email protected]
Subject: Re: DBD-Oracle: 'make test' still fails
In-Reply-To: <
[email protected]>
Message-ID: <Pine.SOL.3.95.961024090103.13336A-100000@serac>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Thu, 24 Oct 1996, Martin Berli wrote:
> Sorry to come back again with this problem. I have now tried all I found
> within the README* files, but 'make test' for DBD-Oracle-0.41 (and 0.40)
> still fails with
>
> ora_login: 1019: ORA-01019: unable to allocate memory in the user side
> (DBD:login failed)
Wild guess:
Did you make all the changes to the Solaris kernel specified in the
Oracle installation guide? If I recall you have to jack up the shared
memory pages, semaphore limits and other stuff. Also, can you run
SQL*PLUS and connect to the test database?
----------------------------------------------------------------------
Chris Abajian
[email protected]
Dept. of Molecular Biotechnology, K-326 work (206) 616-1020
University of Washington, Box 357730 fax (206) 685-7301
Seattle, WA 98195
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-13@oink>;
Fri, 25 Oct 1996 07:36:41 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846183342:23904:2279; Thu, 24 Oct 96 19:55:42 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa11862; 24 Oct 96 19:26 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id IAA11909 for dbi-users-real; Thu, 24 Oct 1996 08:21:44 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from bastix.tunix.kun.nl (bastix.tunix.kun.nl [131.174.20.39])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA11905
for <
[email protected]>; Thu, 24 Oct 1996 08:21:41 -0700 (PDT)
Received: (from root@localhost) by bastix.tunix.kun.nl (8.7.1/8.6.12)
id RAA08287 for <
[email protected]>;
Thu, 24 Oct 1996 17:21:37 +0200 (MET DST)
Received: from omegix.tunix.kun.nl(172.16.2.15) by bastix.tunix.kun.nl
via smap (V1.3) id sma007899; Thu Oct 24 17:21:36 1996
Received: from localhost by (4.1/SMI-4.1) id AA22145;
Thu, 24 Oct 96 17:21:07 +0200
Message-Id: <9610241521.AA22145@>
To:
[email protected]
Subject: fields in fetchrow with mSQL
Date: Thu, 24 Oct 1996 17:21:06 +0200
From: Leo Willems <
[email protected]>
Hello,
I have a problem with fetchrow (or fetch). The query I do seems to
be ok but when I fetch a row, I only get the last field.
I have been playing around with bind_col et al. but can't figure out
what to do.
If someone is having a simple example that (in pseudo code) does:
select * from table
while(row=fetchrow)
for (fields in row)
print field
(It should work with the mSQL package).
Regards,
Leo
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-16@oink>;
Fri, 25 Oct 1996 07:36:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846183469:23904:2429; Thu, 24 Oct 96 19:57:49 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa12263; 24 Oct 96 19:27 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id IAA11897 for dbi-users-real; Thu, 24 Oct 1996 08:11:14 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from limmat.switch.ch (limmat.switch.ch [130.59.4.30])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA11893
for <
[email protected]>; Thu, 24 Oct 1996 08:11:10 -0700 (PDT)
Message-Id: <
[email protected]>
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
Thu, 24 Oct 1996 17:10:57 +0200
X-Mailer: exmh version 1.6.9 8/22/96
To:
[email protected]
From: Martin Berli <
[email protected]>
Subject: DBD-Oracle: 'make test' still fails
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 24 Oct 1996 17:10:55 +0200
Hello,
Sorry to come back again with this problem. I have now tried all I found
within the README* files, but 'make test' for DBD-Oracle-0.41 (and 0.40)
still fails with
ora_login: 1019: ORA-01019: unable to allocate memory in the user side
(DBD:login failed)
I'm now looking for someone who has successfully installed and tested
DBD-Oracle with the following configuration:
Architecture: sun4-solaris
OS: solaris 2.5
Perl: 5.003
Oracle: 7.3.2.1.0
DBI: 0.73
DBD-Oracle: 0.40 (or 0.41)
Compiler: cc (not gcc)
Installation History:
1. Oracle RDBMS incl Pro*C
2. Perl 5.003
3. DBI-0.73 ('make' ok, 'make test' ok, 'make install' ok)
4. DBD-Oracle-0.40/41 ('make' ok, 'make test' fails when trying to login
to oracle)
I would be very thankful for any help: Also hints on what could be done to
try to narrow the search scope: Is it Oracle / Is it DBD-Oracle / ...
Remember, I think I'm really done with the READMEs.
Thanks again for every hint!
Martin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-18@oink>;
Fri, 25 Oct 1996 07:37:04 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846185491:23878:3564; Thu, 24 Oct 96 20:31:31 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa04164; 24 Oct 96 19:06 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id GAA11763 for dbi-users-real; Thu, 24 Oct 1996 06:45:33 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA11752;
Thu, 24 Oct 1996 06:45:29 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id af03370;
24 Oct 96 12:50 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa01088; 24 Oct 96 13:48 BST
Received: from toad by oink with SMTP (PP) id <02734-0@oink>;
Thu, 24 Oct 1996 13:47:56 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15609;
Thu, 24 Oct 1996 13:47:47 +0000
Date: Thu, 24 Oct 1996 13:47:47 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: URGENT - Possible problem with DBD-Oracle-0.40
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
I've no time to investigate but I suspect that DBD-Oracle-0.40 has
a cache related bug that manifests as alternate ora_binds/ora_fetch
pairs returning no data.
Sadly I've a plan to catch so I can't dig deeper right now.
If anyone else does, please try something like this:
open "select 100+:1 from dual"
bind 42
fetch -- returns 142
bind 43
fetch -- returns noting (end of data)
The fix is probably trivial.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-47@oink>;
Fri, 25 Oct 1996 07:40:23 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846190768:10979:178; Thu, 24 Oct 96 21:59:28 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa28634; 24 Oct 96 21:23 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id JAA12090 for dbi-users-real; Thu, 24 Oct 1996 09:55:20 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from limmat.switch.ch (limmat.switch.ch [130.59.4.30])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id JAA12086
for <
[email protected]>; Thu, 24 Oct 1996 09:55:18 -0700 (PDT)
Message-Id: <
[email protected]>
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
Thu, 24 Oct 1996 18:55:05 +0200
To: Chris Abajian <
[email protected]>
cc:
[email protected]
Subject: Re: DBD-Oracle: 'make test' still fails
In-reply-to: Message from Chris Abajian <
[email protected]> of "Thu, 24 Oct 1996 09:03:31 -0700." <Pine.SOL.3.95.961024090103.13336A-100000@serac>
Date: Thu, 24 Oct 1996 18:55:03 +0200
From: Martin Berli <
[email protected]>
> Did you make all the changes to the Solaris kernel specified in the
> Oracle installation guide? If I recall you have to jack up the shared
> memory pages, semaphore limits and other stuff.
Yes, we set that up.
> Also, can you run SQL*PLUS and connect to the test database?
Yes, this works. Both without TWO_TASK, or with TWO_TASK set to dbname
(sqlnet v2), and a listener running.
I also installed Oracle Webserver. This also works. The database seems to
run ok, I think.
Now, If all those clients accessing oracle (sqlplus, svrmgr, orawebserver)
on the local machine have no problems, what might be different when oracle
is accessed via DBD-Oracle/DBI? I also made a 'truss make test', but
interpreting that output is probably more suited for system gurus...
Still not happy...
Martin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-53@oink>;
Fri, 25 Oct 1996 07:40:59 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846192428:21699:6; Thu, 24 Oct 96 22:27:08 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa16254; 24 Oct 96 22:12 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA12552 for dbi-users-real; Thu, 24 Oct 1996 11:39:33 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from psi.com (psi.com [192.67.6.2])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA12548
for <
[email protected]>; Thu, 24 Oct 1996 11:39:31 -0700 (PDT)
Received: from mail.infoman.com by psi.com (8.6.12/SMI-4.1.3-PSI) id OAA20501;
Thu, 24 Oct 1996 14:38:45 -0400
Received: from pez (169.137.4.248) by mail.infoman.com
with SMTP (Apple Internet Mail Server 1.1.1);
Thu, 24 Oct 1996 14:38:43 -0400
Message-ID: <
[email protected]>
Date: Thu, 24 Oct 1996 14:37:56 -0400
From: Del Simmons from IMI <
[email protected]>
Organization: Information Management, Inc.
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5.1 sun4u)
MIME-Version: 1.0
To:
[email protected]
Subject: Help! Statement handle DBI::st=HASH(0x17ee90) DESTROY ignored - never
set up
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Do any of you see what I'm doing wrong here??
I keep getting the following error whenever I try to perform an SQL
statement:
Statement handle DBI::st=HASH(0x17ee90) DESTROY ignored - never set
up at ./movie_insert.pl line 30
Any ideas would be much appreciated.
I am using the latest DBI with Perl 5.003 on a Sparc running Solaris
2.5.1
I am using the DBD-Informix-0.24 pkg with Informix 7
HELP!
Here is my code...
-------------------------------------------------------
#!/usr/bin/perl
BEGIN{unshift @INC, "../../lib", "./lib";}
use DBI;
$table = "movies_tb";
$dbname = "movie_db";
@body=();
# read in the movie file into the array @body
open (INFILE,"<normal.txt");
while (<INFILE>){
push(@body,$_);
}
#close while loop
close (INFILE);
# connect to the database
$drh = DBI->install_driver( 'Informix' );
$dbh = $drh->connect( 'dbhost', $dbname, 'dbuser', 'dbpass' );
die unless $dbh;
# Drop the old table
print STDOUT ("Dropping Table\n");
$dbh->do( "DROP TABLE $table" );
# Rebuild an empty table
print STDOUT ("About to build table!\n");
$dbh->do( "CREATE TABLE $table ( area CHAR(20), m0 CHAR(30), chain
CHAR(30), chaininfo CHAR(30), theatre CHAR(30), theatreinfo(30),
screen(45), times (45))"$
print STDOUT ("about to disconnect\n");
$dbh->disconnect;
print STDOUT ("Made it past the disconnect, i'm exiting now!\n");
exit;
-----------------------------------------------------------------------------
I remmed out the for loop until I could figure out why the CREATE and
DROP are failing..
Here is the output
-----------------------------------------------------------------------------
# movie_insert.pl
Dropping Table
Statement handle DBI::st=HASH(0x17ee90) DESTROY ignored - never set up
at ./movie_insert.pl line 30.
About to build table!
Statement handle DBI::st=HASH(0x17efa4) DESTROY ignored - never set up
at ./movie_insert.pl line 49.
about to disconnect
Made it past the disconnect, i'm exiting now!
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-57@oink>;
Fri, 25 Oct 1996 07:41:24 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846192750:21700:325; Thu, 24 Oct 96 22:32:30 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa15097; 24 Oct 96 22:09 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA12285 for dbi-users-real; Thu, 24 Oct 1996 10:43:57 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA12281
for <
[email protected]>; Thu, 24 Oct 1996 10:43:51 -0700 (PDT)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ae24149;
24 Oct 96 18:03 BST
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa22132; 24 Oct 96 18:00 BST
Received: from toad by oink with SMTP (PP) id <03431-0@oink>;
Thu, 24 Oct 1996 17:12:20 +0100
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA15975;
Thu, 24 Oct 1996 17:12:13 +0000
Date: Thu, 24 Oct 1996 17:12:13 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: fix for DBD-Oracle-0.40
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
add these three lines above the oexec call in dbdimp.c
imp_sth->in_cache = 0;
imp_sth->next_entry = 0;
imp_sth->end_of_data = 0;
Jacqui Caren
dictated by tim bunce by phone from shannon airport!
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-59@oink>;
Fri, 25 Oct 1996 07:41:35 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846192929:21709:535; Thu, 24 Oct 96 22:35:29 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa18237; 24 Oct 96 22:17 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA12318 for dbi-users-real; Thu, 24 Oct 1996 10:52:29 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from fhg.de (mailgw1.fhg.de [153.96.1.2])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id KAA12314
for <
[email protected]>; Thu, 24 Oct 1996 10:52:23 -0700 (PDT)
Received: by mailgw1.fhg.de (fhg.de) with PRESMTP;
Thu, 24 Oct 1996 19:51:51 +0200 from FHG-GATEWAY
X-ENV: (fhg.de)
[email protected] ->
Received: by mailgw1.fhg.de (fhg.de) with SMTP; Thu, 24 Oct 1996 19:51:45 +0200
from zv.fhg.de
Received: by zv.fhg.de; Thu, 24 Oct 96 18:46:30 +0100; FhG-zv.zv.fhg.de-3.51
From: Peter Kuehn <
[email protected]>
Received: by sigma2.zv.fhg.de; Thu, 24 Oct 96 19:52:11 +0200; FhG-sigma2-3.10
Message-Id: <
[email protected]>
Subject: DBD-40 core dump
To:
[email protected]
Date: Thu, 24 Oct 96 19:52:11 MESZ
Cc:
[email protected]
Mailer: Elm [revision: 70.85]
Hi,
we have the following problem:
src/DBD-Oracle-0.40> uname -a
HP-UX sigma6 B.10.01 A 9000/821 2010306686 two-user license
src/DBD-Oracle-0.40> perl Makefile.PL
substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
Warning: By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you must delete any old DBD::Oracle files and directories from
your 'privlib' and 'archlib' directories and their auto subdirectories.
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /home1/oracle/product/7.3.2
Reading /home1/oracle/product/7.3.2/precomp/demo/proc/proc.mk.
Reading /home1/oracle/product/7.3.2/precomp/env_precomp.mk.
System: perl5.003 hp-ux sigma6 b.10.01 a 9000821 2010306686 lizenz fr zwei benutzer
Compiler: cc -O -D_HPUX_SOURCE -Aa
Linker: /usr/bin/ld
Oracle proc.mk would have used these values but we override them:
CC: cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS) $(SHARED_CFLAG) $(ENV_FLAGS)
LDFLAGS: -Wl,-aarchive -o $@ $(PRODUCT_LIBHOME) -L$(LIBHOME)
Linking with -lxa -lsql -lsqlnet -lncr -lsqlnet -L/home1/oracle/product/7.3.2/lib -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -L/home1/oracle/product/7.3.2/lib -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lcl -lm -lm
src/DBD-Oracle-0.40> make
cc -c -I. -I/home1/oracle/product/7.3.2/precomp/public -I/home1/oracle/product/7.3.2/rdbms/demo -I/usr/local/lib/perl5/site_perl/PA-RISC1.1/DBI -I/usr/local/lib/perl5/PA-RISC1.1/5,003/DBI -D_HPUX_SOURCE -Aa -O -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" +z -n -I/usr/local/lib/perl5/PA-RISC1.1/5,003/CORE Oracle.c
cc -c -I. -I/home1/oracle/product/7.3.2/precomp/public -I/home1/oracle/product/7.3.2/rdbms/demo -I/usr/local/lib/perl5/site_perl/PA-RISC1.1/DBI -I/usr/local/lib/perl5/PA-RISC1.1/5,003/DBI -D_HPUX_SOURCE -Aa -O -DVERSION=\"0.40\" -DXS_VERSION=\"0.40\" +z -n -I/usr/local/lib/perl5/PA-RISC1.1/5,003/CORE dbdimp.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
LD_RUN_PATH="/home1/oracle/product/7.3.2/lib:/lib/pa1.1" ld -o ./blib/arch/auto/DBD/Oracle/Oracle.sl -b -L/usr/local/lib Oracle.o dbdimp.o -L/home1/oracle/product/7.3.2/lib -lxa -lsql -lsqlnet -lncr -lsqlnet -L/home1/oracle/product/7.3.2/lib -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -L/home1/oracle/product/7.3.2/lib -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 -lcl -lm -lm
chmod 755 ./blib/arch/auto/DBD/Oracle/Oracle.sl
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
src/DBD-Oracle-0.40> make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/PA-RISC1.1/5,003 -I/usr/local/lib/perl5 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/base..............ok
All tests successful.
Files=1, Tests=5, 0 secs ( 0.34 cusr 0.07 csys = 0.41 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/PA-RISC1.1/5,003 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.25 $
Oraperl Emulation Interface version 1.29
Oracle Driver 0.40
DBI-0.73 Switch by Tim Bunce, version 0.73
Connecting
to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
as 'scott/tiger' (via ORACLE_USERID env var or default - recommend name/passwd@dbname)
(ORACLE_SID='entw', TWO_TASK='sigma6')
Caught a SIGBUS at blib/lib/DBD/Oracle.pm line 142
@ = DBD::Oracle::dr::connect('DBI::dr=HASH(0x40117260)', '', 'scott/tiger', '') called from file `blib/lib/Oraperl.pm' line 98
@ = Oraperl::ora_login('', 'scott/tiger', '') called from file `test.pl' line 43
sh: 27087 Abort(coredump)
*** Error exit code 134
Stop.
--
any clue??
Thank you in advance.
+-----------------------------------------------------------+
| Peter Kuehn * Fraunhofer Gesellschaft * <
[email protected]> |
| Tel. +49-89-1205-614 |
+-----------------------------------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <06418-69@oink>;
Fri, 25 Oct 1996 07:42:37 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846195067:06734:202; Thu, 24 Oct 96 23:11:07 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa05902; 24 Oct 96 23:05 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id MAA12631 for dbi-users-real; Thu, 24 Oct 1996 12:08:59 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from auspex-gw2.auspex.com (auspex-gw.auspex.com [144.48.1.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id MAA12623;
Thu, 24 Oct 1996 12:08:57 -0700 (PDT)
Received: from auspex.auspex.com ([144.48.8.10])
by auspex-gw2.auspex.com (8.6.12/8.6.12) with ESMTP id MAA13284;
Thu, 24 Oct 1996 12:08:39 -0700
Received: from dumas.auspex.fr by auspex.auspex.com (8.7.2/) id MAA21334;
Thu, 24 Oct 1996 12:08:30 -0700 (PDT)
Received: from balzac ([194.2.216.102]) by dumas.auspex.fr (8.6.9/8.6.9)
with SMTP id UAA29071; Thu, 24 Oct 1996 20:09:49 +0100
Message-ID: <
[email protected]>
Date: Thu, 24 Oct 1996 21:09:14 +0200
From: Kevin Stock <
[email protected]>
Organization: Auspex Systems European Technical Support Centre
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.4 aushp)
MIME-Version: 1.0
To: Tim Bunce <
[email protected]>
CC:
[email protected],
[email protected],
[email protected]
Subject: Re: URGENT - Possible problem with DBD-Oracle-0.40
References: <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
> I've no time to investigate but I suspect that DBD-Oracle-0.40 has
> a cache related bug that manifests as alternate ora_binds/ora_fetch
> pairs returning no data.
>
> Sadly I've a plan to catch so I can't dig deeper right now.
>
> If anyone else does, please try something like this:
>
> open "select 100+:1 from dual"
> bind 42
> fetch -- returns 142
> bind 43
> fetch -- returns noting (end of data)
>
> The fix is probably trivial.
Looks like the ora_bind() implementation isn't invalidating the
current cache as it should. Things should look the same following
ora_bind() as they do following ora_open().
Kevin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10415-22@oink>;
Fri, 25 Oct 1996 18:03:06 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846243037:17311:1; Fri, 25 Oct 96 12:30:37 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa17264; 25 Oct 96 12:30 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id BAA14653 for dbi-users-real; Fri, 25 Oct 1996 01:36:33 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from bsfiles.nerc-bas.ac.uk (bsfiles.nerc-bas.ac.uk [192.171.137.25])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id BAA14649
for <
[email protected]>; Fri, 25 Oct 1996 01:36:25 -0700 (PDT)
Received: from bssmlsa.nerc-bas.ac.uk
by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id JAA19669;
Fri, 25 Oct 1996 09:20:40 +0100
Date: Fri, 25 Oct 1996 08:20:39 +0000 (GMT)
From: Andy Wood <
[email protected]>
Reply-To: Andrew G Wood <
[email protected]>
To: Tim Bunce <
[email protected]>
cc:
[email protected]
Subject: Re: fix for DBD-Oracle-0.40
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
I presume this is actually a fix for a "feature" in DBD-Oracle-0.41
and not DBD-Oracle-0.40 ..... but then I am probably way off line?
On Thu, 24 Oct 1996, Tim Bunce wrote:
> From: Tim Bunce <
[email protected]>
> To:
[email protected]
> Subject: fix for DBD-Oracle-0.40
>
> add these three lines above the oexec call in dbdimp.c
>
> imp_sth->in_cache = 0;
> imp_sth->next_entry = 0;
> imp_sth->end_of_data = 0;
>
> Jacqui Caren
>
> dictated by tim bunce by phone from shannon airport!
>
... thanks Jacqui.
Andy.
+--------------------------------------------+
| Dr Andy Wood, Database Administrator |
| British Antarctic Survey |
| High Cross, Madingley Road +----------------------------------+
| Cambridge, CB3 0ET, UK |
[email protected] |
| +44 (0) 1223 361188 |
[email protected] |
+-----------------------------------------|
[email protected] |
+----------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <10415-42@oink>;
Fri, 25 Oct 1996 18:05:55 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846250240:25555:36; Fri, 25 Oct 96 14:30:40 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25302; 25 Oct 96 14:29 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id DAA14768 for dbi-users-real; Fri, 25 Oct 1996 03:22:48 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from fu-manchu.pindar.co.uk (
[email protected] [194.193.96.10])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id DAA14764
for <
[email protected]>; Fri, 25 Oct 1996 03:22:45 -0700 (PDT)
Received: from [193.123.165.57] (ip57.pindar.co.uk [193.123.165.57])
by fu-manchu.pindar.co.uk (8.6.11/8.6.9) with SMTP id LAA04538
for <
[email protected]>; Fri, 25 Oct 1996 11:20:44 GMT
Message-Id: <
[email protected]>
X-Sender:
[email protected]
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 25 Oct 1996 11:21:39 -0500
To:
[email protected]
From:
[email protected] (Bob Wilkinson)
Subject: Re: fields in fetchrow with mSQL
Leo Willems <
[email protected]> said
>Hello,
>
>I have a problem with fetchrow (or fetch). The query I do seems to
>be ok but when I fetch a row, I only get the last field.
>
>I have been playing around with bind_col et al. but can't figure out
>what to do.
>
>If someone is having a simple example that (in pseudo code) does:
>
> select * from table
> while(row=fetchrow)
> for (fields in row)
> print field
>
>(It should work with the mSQL package).
>
>
>Regards,
>
>Leo
Hello,
Here is an example from a program I wrote to use mSQL - it demonstrates
one use of fetchrow.
I hope that this helps.
Bob
---
sub access_DB {
=pod
=item access_DB
This subroutine returns the $select'ed fields from the named $DB given
the $where condition. A list of pointers to the rows returned from the
database query is returned to the caller.
=cut
my($DB,$select,$where) = @_;
my($dbh) = $drh->connect($DB_server,"webcat") and print STDERR
"Connected OK\n";
my($cursor) = $dbh->prepare( "SELECT $select FROM $DB $where")
and print STDERR "Cursor prepared\n";
$cursor->execute and print STDERR "Cursor executed OK\n";
my(@row,@data);
while (@row = $cursor->fetchrow) {
push(@data,[@row]);
}
$cursor->finish and print STDERR "Cursor finished OK\n";
undef $cursor;
$dbh->disconnect;
#
# @data now contains a list of pointers to the rows which have to be
# de-referenced
#
@data;
}
#
###############################################################################
#
EXAMPLES CALL TO sub access_DB
my(@classes) = &access_DB("Classification","O_ID, Name$language",
"WHERE M_ParentID = $level");
EXAMPLE HANDLING OF RETURNED ARRAY OF POINTERS FROM sub access_DB
if (@classes) {
$data = "<ul>";
foreach (@classes) {
my($id,$name) = @{$_};
$data .= "<li><a
href=$Main_Path/$id?magic_cookie=$magic_cookie&";
$data .= "option_browse.x=1>$name</a>\n";
}
________________________________________________________________
Bob Wilkinson, Perl Programmer, Pindar plc
Tel: +44 (0)1904 613040 Email:
[email protected]
Fax: +44 (0)1904 613110 URL:
http://www.connection.co.uk/bob
________________________________________________________________
I don't speak for my employer - er, they made me say that..
________________________________________________________________
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13147-4@oink>;
Fri, 25 Oct 1996 20:31:54 +0100
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846271785:21902:5243; Fri, 25 Oct 96 20:29:45 BST
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa08971; 25 Oct 96 19:46 BST
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id HAA15232 for dbi-users-real; Fri, 25 Oct 1996 07:51:01 -0700 (PDT)
Precedence: junk
Sender:
[email protected]
Received: from limmat (limmat.switch.ch [130.59.4.30])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA15227
for <
[email protected]>; Fri, 25 Oct 1996 07:50:45 -0700 (PDT)
Message-Id: <
[email protected]>
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
Fri, 25 Oct 1996 16:49:55 +0200
To:
[email protected]
From: Martin Berli <
[email protected]>
Subject: DBD-Oracle-0.41: 'make test' now successful!
Date: Fri, 25 Oct 1996 16:49:54 +0200
Remember these mails?
> Sorry to come back again with this problem. I have now tried all I found
> within the README* files, but 'make test' for DBD-Oracle-0.41 (and 0.40)
> still fails with
>
> ora_login: 1019: ORA-01019: unable to allocate memory in the user side
> (DBD:login failed)
The problem is now solved with a hint from Garth Kennedy <
[email protected]>.
As we are running 7.3.2 Oracle, Garth suggested to try to build a separate
$ORACLE_HOME with older oracle libraries. I found a 7.2.3 CD, installed
code-only, and remade DBD-Oracle with $ORACLE_HOME pointing to 7.2.3. After
that, 'make test' passed ok.
Thanks again to all that sent hints to me!
Martin Berli
------------------------------------------------------------------------
Internet:
[email protected] | SWITCH, Swiss Academic and Research Network
Phone : +41 1 268 1540 | Limmatquai 138
Fax : +41 1 268 1568 | CH-8001 Zurich
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20096-107@oink>;
Mon, 28 Oct 1996 08:02:22 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846425240:29802:7; Sun, 27 Oct 96 14:07:20 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa29769; 27 Oct 96 14:07 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id EAA18421 for dbi-users-real; Sun, 27 Oct 1996 04:02:24 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id EAA18417
for <
[email protected]>; Sun, 27 Oct 1996 04:02:16 -0800 (PST)
From:
[email protected]
Received: from chewbacca.hermetica.com (
[email protected] [192.192.192.246])
by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id LAA22563;
Sun, 27 Oct 1996 11:48:42 GMT
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12)
id MAA06774; Sun, 27 Oct 1996 12:00:20 GMT
Message-Id: <
[email protected]>
Subject: Re: fields in fetchrow with mSQL
To:
[email protected] (Leo Willems)
Date: Sun, 27 Oct 1996 12:00:13 +0000 (GMT)
Cc:
[email protected]
In-Reply-To: <9610241521.AA22145@> from "Leo Willems" at Oct 24, 96 05:21:06 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
> I have a problem with fetchrow (or fetch). The query I do seems to
> be ok but when I fetch a row, I only get the last field.
>
> If someone is having a simple example that (in pseudo code) does:
>
> select * from table
> while(row=fetchrow)
> for (fields in row)
> print field
>
> (It should work with the mSQL package).
Look at test.pl bundled with DBD::mSQL. Basically, from the psuedo-code, it
looks like you're doing something like:
while ( @row = $dth->fetchrow ) {
print "Row: @row\n";
}
print "Rows fetched: ...\n";
So, each iteration round the loop, your previous value of @row will get
overwritten. You need to store each row onto a stack, or something as you
iterate.
> Leo
A.
--
Alligator Descartes Anathematician
[email protected] Circuit VI Engineer
http://www.hermetica.com KEPhALH F
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <20096-109@oink>;
Mon, 28 Oct 1996 08:02:34 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846425305:29975:9; Sun, 27 Oct 96 14:08:25 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa29946; 27 Oct 96 14:08 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id EAA18427 for dbi-users-real; Sun, 27 Oct 1996 04:04:15 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from calanais.mcqueen.com (freakshop.mcqueen.com [194.72.106.247])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id EAA18423
for <
[email protected]>; Sun, 27 Oct 1996 04:04:08 -0800 (PST)
From:
[email protected]
Received: from chewbacca.hermetica.com (
[email protected] [192.192.192.246])
by calanais.mcqueen.com (8.7.6/8.6.12) with ESMTP id LAA22599;
Sun, 27 Oct 1996 11:50:21 GMT
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12)
id MAA06787; Sun, 27 Oct 1996 12:02:00 GMT
Message-Id: <
[email protected]>
Subject: Re: Help! Statement handle DBI::st=HASH(0x17ee90) DESTROY ignored -
never set up
To:
[email protected] (Del Simmons from IMI)
Date: Sun, 27 Oct 1996 12:01:59 +0000 (GMT)
Cc:
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Del Simmons from IMI" at Oct 24, 96 02:37:56 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
>
> Do any of you see what I'm doing wrong here??
>
> I keep getting the following error whenever I try to perform an SQL
> statement:
>
> Statement handle DBI::st=HASH(0x17ee90) DESTROY ignored - never set
> up at ./movie_insert.pl line 30
>
> Any ideas would be much appreciated.
It's a bug. It's on the To-Look-At list.
A.
--
Alligator Descartes Anathematician
[email protected] Circuit VI Engineer
http://www.hermetica.com KEPhALH F
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <24923-0@oink>;
Mon, 28 Oct 1996 15:07:01 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846511368:01656:41; Mon, 28 Oct 96 14:02:48 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa02049; 28 Oct 96 14:01 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id DAA01118 for dbi-dev-real; Mon, 28 Oct 1996 03:46:25 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from speedy.speakeasy.org (speedy.speakeasy.org [199.238.226.57])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id DAA01114
for <
[email protected]>; Mon, 28 Oct 1996 03:46:24 -0800 (PST)
Received: (from brett@localhost) by speedy.speakeasy.org (8.8.0/8.7.3)
id DAA31964 for
[email protected];
Mon, 28 Oct 1996 03:46:17 -0800 (PST)
Date: Mon, 28 Oct 1996 03:46:17 -0800 (PST)
From: Brett McCormick <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: DBD for Postgres in the works?
If there isn't already a DBD for postgres in the works, (which I don't
think there is) I would be interested in writing one.
--brett
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25794-1@oink>;
Mon, 28 Oct 1996 17:35:31 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846523918:26624:2; Mon, 28 Oct 96 17:31:58 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19617; 28 Oct 96 17:15 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id GAA01342 for dbi-users-real; Mon, 28 Oct 1996 06:12:28 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA01338
for <
[email protected]>; Mon, 28 Oct 1996 06:12:26 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa03996;
28 Oct 96 13:08 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa24513; 28 Oct 96 13:04 GMT
Received: from toad by oink with SMTP (PP) id <24103-0@oink>;
Mon, 28 Oct 1996 13:04:16 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28366;
Mon, 28 Oct 1996 13:04:08 +0000
Date: Mon, 28 Oct 1996 13:04:08 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: fix for DBD-Oracle-0.40
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Andy Wood <
[email protected]>
>
> I presume this is actually a fix for a "feature" in DBD-Oracle-0.41
> and not DBD-Oracle-0.40 ..... but then I am probably way off line?
DBD-Oracle-0.40 has a serious bug (announced recently).
*** It should not be used without applying this patch ***
I'll make a new release today.
> On Thu, 24 Oct 1996, Tim Bunce wrote:
>
> > From: Tim Bunce <
[email protected]>
> > To:
[email protected]
> > Subject: fix for DBD-Oracle-0.40
> >
> > add these three lines above the oexec call in dbdimp.c
> >
> > imp_sth->in_cache = 0;
> > imp_sth->next_entry = 0;
> > imp_sth->end_of_data = 0;
> >
> > Jacqui Caren
> >
> > dictated by tim bunce by phone from shannon airport!
>
> .... thanks Jacqui.
Thanks indeed. The fix came to me while flying over to Ireland (it was
trivial after all) so I called Jacqui and walked her though applying
and testing it before dictating the email message.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25794-3@oink>;
Mon, 28 Oct 1996 17:35:39 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846523927:26624:14; Mon, 28 Oct 96 17:32:07 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19820; 28 Oct 96 17:15 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id GAA01382 for dbi-users-real; Mon, 28 Oct 1996 06:22:47 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA01378
for <
[email protected]>; Mon, 28 Oct 1996 06:22:45 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ab08403;
28 Oct 96 13:50 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa05950; 28 Oct 96 13:41 GMT
Received: from toad by oink with SMTP (PP) id <24535-0@oink>;
Mon, 28 Oct 1996 13:40:47 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28409;
Mon, 28 Oct 1996 13:40:33 +0000
Date: Mon, 28 Oct 1996 13:40:33 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: DBI-0.73 + DBD-Oracle-0.41 blob read problem.
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Ben Middleton <
[email protected]>
> To:
[email protected]
Please don't mail me direct.
> Hello Tim, sorry to bother you with this, but I have installed the latest
> DBI/DBD-Oracle set, but have started getting problems using the:
>
> $blob = $lcsr->blob_read (0, $offset, $length);
> &HtmlDie ("Blob read error:",$ora_errstr) if $ora_errno;
>
> method...
>
> This used to read truncated records properly before (in
> DBI-0.71/DBD-Oracle-0.39), why do you think it no longer works?
DBD-Oracle-0.41 IS BROKEN - DO NOT USE IT (without applying the
fix posted recently).
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25794-5@oink>;
Mon, 28 Oct 1996 17:35:46 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846524012:26624:85; Mon, 28 Oct 96 17:33:32 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa20708; 28 Oct 96 17:17 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id GAA01332 for dbi-users-real; Mon, 28 Oct 1996 06:07:01 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA01328
for <
[email protected]>; Mon, 28 Oct 1996 06:06:59 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ab08278;
28 Oct 96 13:49 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa05860; 28 Oct 96 13:40 GMT
Received: from toad by oink with SMTP (PP) id <24519-0@oink>;
Mon, 28 Oct 1996 13:40:10 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28404;
Mon, 28 Oct 1996 13:39:57 +0000
Date: Mon, 28 Oct 1996 13:39:57 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: STATUS OF DBD::Oracle
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
My previous statements re DBD-Oracle-0.40 should have referred to
DBD-Oracle-0.41. Sorry for any confusion caused.
In summary:
DBD::Oracle version 0.41 is *BROKEN* (0.40 is not)
To fix it, add these three lines above the oexec() call in dbdimp.c:
imp_sth->in_cache = 0;
imp_sth->next_entry = 0;
imp_sth->end_of_data = 0;
I'll release a fixed 0.42 version sometime today.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-9@oink>;
Tue, 29 Oct 1996 07:37:36 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846532967:24018:715; Mon, 28 Oct 96 20:02:47 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa07454; 28 Oct 96 19:06 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id IAA01706 for dbi-dev-real; Mon, 28 Oct 1996 08:28:23 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA01702
for <
[email protected]>; Mon, 28 Oct 1996 08:28:21 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ae09951;
28 Oct 96 15:52 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa16878; 28 Oct 96 15:43 GMT
Received: from toad by oink with SMTP (PP) id <25242-0@oink>;
Mon, 28 Oct 1996 15:42:09 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28891;
Mon, 28 Oct 1996 15:41:56 +0000
Date: Mon, 28 Oct 1996 15:41:56 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBD for Postgres in the works?
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Brett McCormick <
[email protected]>
>
> If there isn't already a DBD for postgres in the works, (which I don't
> think there is) I would be interested in writing one.
Not that I'm aware of. There is at least one and possibly two postgres
extensions for perl (one was released recently). I'd recommend you
start by implementing a DBD::Postgres in perl as a layer over an
existing interface and migrate to C later.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-21@oink>;
Tue, 29 Oct 1996 07:38:58 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846534976:10045:545; Mon, 28 Oct 96 20:36:16 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa02716; 28 Oct 96 20:06 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id IAA01663 for dbi-users-real; Mon, 28 Oct 1996 08:09:37 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA01652;
Mon, 28 Oct 1996 08:09:33 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa21843;
28 Oct 96 15:59 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa21491; 28 Oct 96 15:55 GMT
Received: from toad by oink with SMTP (PP) id <25404-0@oink>;
Mon, 28 Oct 1996 15:55:04 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA28903;
Mon, 28 Oct 1996 15:54:56 +0000
Date: Mon, 28 Oct 1996 15:54:56 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: ANNOUNCE: DBD-Oracle-0.42 (bug fix and enhancement)
Cc:
[email protected],
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
Changes in DBD::Oracle 0.42 (Oraperl 1.30), 28nd Oct 1996
Fixed serious 'cache empty after re-bind' bug.
Do not use DBD::Oracle 0.41.
Implemented oexfet (combined execute and cache fetch) for
select operations. This is a further significant speed up.
Many selects now make only one trip to Oracle (after prepare)
which combines the execute and fetching multiple rows.
Uploaded to ftp.demon.co.uk as usual. Should reach CPAN in a day or so.
This release marks the end of the current phase of performance and
functionality enhancements. I have other fishes to fry for a while.
I will, of course, be as keen as ever to fix any bugs which may appear.
Please accept my apologies for the 'cache empty after re-bind' bug.
Please also delete any copies of DBD-Oracle-0.41 you may have.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-50@oink>;
Tue, 29 Oct 1996 07:43:23 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846540385:22711:78; Mon, 28 Oct 96 22:06:25 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa22217; 28 Oct 96 22:02 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id JAA01868 for dbi-users-real; Mon, 28 Oct 1996 09:31:34 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from bsfiles.nerc-bas.ac.uk (bsfiles.nerc-bas.ac.uk [192.171.137.25])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id JAA01864
for <
[email protected]>; Mon, 28 Oct 1996 09:31:23 -0800 (PST)
Received: from bssmlsa.nerc-bas.ac.uk
by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id RAA17721;
Mon, 28 Oct 1996 17:27:28 GMT
Date: Mon, 28 Oct 1996 17:27:28 +0000 (GMT)
From: Andy Wood <
[email protected]>
Reply-To: Andrew G Wood <
[email protected]>
To: DBI-users <
[email protected]>
cc: Tim Bunce <
[email protected]>
Subject: DBD-Oracle-0.42 .... error message in make test?
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Just downloaded DBD-Oracle-0.42 and run it through my perl
configuration:
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
Platform:
osname=dec_osf, osver=2.0, archname=alpha-dec_osf
uname='osf1 bscomp v2.0 240 alpha '
hint=previous, useposix=true, d_sigaction=define
Compiler:
cc='cc', optimize='-O2 -Olimit 2900', gccversion=
cppflags='-DSTANDARD_C -D__LANGUAGE_C__ -D_NO_PROTO'
ccflags ='-DSTANDARD_C -D__LANGUAGE_C__ -D_NO_PROTO'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/shlib /lib /usr/lib /usr/ccs/lib
libs=-ldbm -lm -lc -lbsd -lPW
libc=/usr/shlib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -s
-L/usr/local/lib'
... all was looking fine until I spotted the following in make test
[...]
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
... what is this error message ...
ora_fetch(DBI::st=HASH(0x140186ed8)): 1: ORA-00001: unique constraint
(.) violated (DBD: ofetch error)
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)
I am not certain that this is a problem at my end .... is it a feature
of test.pl around :
% diff -c test.pl.orig test.pl
*** test.pl.orig Mon Oct 28 17:10:41 1996
--- test.pl Mon Oct 28 17:12:41 1996
***************
*** 161,167 ****
while(@fields = &ora_fetch($csr)){
print "Fetched: "; print "@fields\n";
}
! warn "ora_fetch($csr): $ora_errno: $ora_errstr\n" if
$ora_errno;
print "Test ora_do with harmless non-select statement ",
"(set transaction read only)\n";
--- 161,169 ----
while(@fields = &ora_fetch($csr)){
print "Fetched: "; print "@fields\n";
}
! print ".... what is this error message ...\n";
! warn "ora_fetch($csr): $ora_errno: $ora_errstr\n" if
$ora_errno;
!
print "Test ora_do with harmless non-select statement ",
"(set transaction read only)\n";
Andy.
+--------------------------------------------+
| Dr Andy Wood, Database Administrator |
| British Antarctic Survey |
| High Cross, Madingley Road +----------------------------------+
| Cambridge, CB3 0ET, UK |
[email protected] |
| +44 (0) 1223 361188 |
[email protected] |
+-----------------------------------------|
[email protected] |
+----------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-54@oink>;
Tue, 29 Oct 1996 07:44:09 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846540670:26082:22; Mon, 28 Oct 96 22:11:10 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25063; 28 Oct 96 22:08 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA02086 for dbi-users-real; Mon, 28 Oct 1996 10:32:23 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA02082
for <
[email protected]>; Mon, 28 Oct 1996 10:32:21 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ah16711;
28 Oct 96 18:07 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab20318; 28 Oct 96 18:02 GMT
Received: from toad by oink with SMTP (PP) id <26349-0@oink>;
Mon, 28 Oct 1996 17:49:48 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29176;
Mon, 28 Oct 1996 17:49:42 +0000
Date: Mon, 28 Oct 1996 17:49:42 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBD-40 core dump
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Peter Kuehn <
[email protected]>
> Subject: DBD-40 core dump
Upgrade to 0.42.
> we have the following problem:
>
> src/DBD-Oracle-0.40> uname -a
> HP-UX sigma6 B.10.01 A 9000/821 2010306686 two-user license
>
> src/DBD-Oracle-0.40> perl Makefile.PL
> substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
> substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
> substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
> substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
> substr outside of string at /usr/local/lib/perl5/ExtUtils/MM_Unix.pm line 100.
Upgrade to Perl5.003_07 or remove empty entries in your PATH env var.
> >>> Remember to actually *READ* the README file!
> Especially if you have any problems.
Follow the above advise.
> Connecting
> to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
> as 'scott/tiger' (via ORACLE_USERID env var or default - recommend name/passwd@dbname)
> (ORACLE_SID='entw', TWO_TASK='sigma6')
Avoid having both TWO_TASK and ORACLE_SID set.
> Caught a SIGBUS at blib/lib/DBD/Oracle.pm line 142
See the README about core dumps.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-74@oink>;
Tue, 29 Oct 1996 07:47:05 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846544864:25277:33; Mon, 28 Oct 96 23:21:04 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25274; 28 Oct 96 23:20 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA02425 for dbi-users-real; Mon, 28 Oct 1996 11:41:49 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from info.bts.gov (info.bts.gov [152.120.123.156])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA02421
for <
[email protected]>; Mon, 28 Oct 1996 11:41:45 -0800 (PST)
Received: from hedgehog.bts.gov (hedgehog.bts.gov [152.120.123.236])
by info.bts.gov (8.7.6/8.7.3) with SMTP id OAA15320
for <
[email protected]>; Mon, 28 Oct 1996 14:42:22 -0500 (EST)
Received: by hedgehog.bts.gov with Microsoft Mail
id <
[email protected]>;
Mon, 28 Oct 1996 14:44:44 -0500
Message-ID: <
[email protected]>
From: Matt Neuendorf <
[email protected]>
To: "'
[email protected]'" <
[email protected]>
Subject: While loop problems....
Date: Mon, 28 Oct 1996 14:44:41 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
For some reason DB-perl refuses to return the first row gotten in the loop below.
The next values are retrieved and output correctly. What is the skipping a row about?
Here is a section of the perl code.
while (@columns) //When I use a foreach loop, the last sql statement isn't executed instead
{ // of the first statement.
@column_info = split(/::/,$column_table);
$sql = "select * from column_names where table_column=\'$column_info[1]\' AND table_name=\'$column_info[0]\'";
print "<BR>sql:$sql<BR>\n";
$cursor = $dbh->prepare("$sql");
$cursor->execute;
($temp1,$column_name,$temp2) = $cursor->fetchrow;
print "<TR><TD>\n";
print "<BR>$column_name\n";
print "</TD><TD>\n";
..
}
The $column_name dosen't print out on the first pass even though the sql statement prints out
and the syntax is correct.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-78@oink>;
Tue, 29 Oct 1996 07:47:34 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846546811:07763:19; Mon, 28 Oct 96 23:53:31 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa07479; 28 Oct 96 23:52 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA02387 for dbi-users-real; Mon, 28 Oct 1996 11:33:33 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA02381
for <
[email protected]>; Mon, 28 Oct 1996 11:33:29 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ai16711;
28 Oct 96 18:07 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ac20318; 28 Oct 96 18:02 GMT
Received: from toad by oink with SMTP (PP) id <26366-0@oink>;
Mon, 28 Oct 1996 17:54:09 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA29180;
Mon, 28 Oct 1996 17:54:02 +0000
Date: Mon, 28 Oct 1996 17:54:02 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: URGENT - Possible problem with DBD-Oracle-0.40
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Kevin Stock <
[email protected]>
>
> > I've no time to investigate but I suspect that DBD-Oracle-0.40 has
> > a cache related bug that manifests as alternate ora_binds/ora_fetch
> > pairs returning no data.
> >
> > Sadly I've a plan to catch so I can't dig deeper right now.
> >
> > If anyone else does, please try something like this:
> >
> > open "select 100+:1 from dual"
> > bind 42
> > fetch -- returns 142
> > bind 43
> > fetch -- returns noting (end of data)
> >
> > The fix is probably trivial.
>
> Looks like the ora_bind() implementation isn't invalidating the
> current cache as it should. Things should look the same following
> ora_bind() as they do following ora_open().
>
> Kevin
Thanks Kevin. I came to the same conclusion on the plane.
Now 0.42 uses oexfet() it's possible that Oraperl/DBD::Oracle is
finally faster (after startup) than oraperl 2.4. Especially on slow
networks. That's a testament to the good performance of oraperl 2.4.
[For those who don't recall, Kevin wrote the original oraperl]
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-90@oink>;
Tue, 29 Oct 1996 07:49:16 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846550296:25980:11; Tue, 29 Oct 96 00:51:36 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25824; 29 Oct 96 0:50 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id NAA02813 for dbi-users-real; Mon, 28 Oct 1996 13:19:00 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from gateway.fcmc.com (
[email protected] [207.17.186.2])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA02809
for <
[email protected]>; Mon, 28 Oct 1996 13:18:55 -0800 (PST)
Received: by gateway.fcmc.com; id QAA25251; Mon, 28 Oct 1996 16:12:42 -0500
Received: from unknown(192.129.90.50) by vone.fcmc.com via smap (g3.0.3)
id xma025243; Mon, 28 Oct 96 16:12:22 -0500
Received: from anderson.fcmc.com by moonraker.fcmc.COM (4.1/SMI-4.1) id AA09146;
Mon, 28 Oct 96 16:18:31 EST
Received: from ford.fcmc.com by anderson.fcmc.com (4.1/SMI-4.1) id AA03274;
Mon, 28 Oct 96 16:18:48 EST
Date: Mon, 28 Oct 96 16:18:48 EST
From:
[email protected] (Siva Pothireddy \(Technology\))
Message-Id: <
[email protected]>
To:
[email protected]
Subject: error handling using DBPerl
Greetings,
I have just started using DBPerl using informix drivers.
I am having hard time trapping the sql error codes returned
from the server. Could someone show me how to trap the errors.
Thanks.
Siva Pothireddy.
FCMC
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-106@oink>;
Tue, 29 Oct 1996 07:51:40 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846558331:24030:11; Tue, 29 Oct 96 03:05:31 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23802; 29 Oct 96 3:04 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id RAA03527 for dbi-users-real; Mon, 28 Oct 1996 17:02:47 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from abyss.ecst.csuchico.edu (
[email protected] [132.241.1.34])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id RAA03523
for <
[email protected]>; Mon, 28 Oct 1996 17:02:46 -0800 (PST)
Received: (from kal@localhost) by abyss.ecst.csuchico.edu (8.8.2/8.8.2)
id RAA25385 for
[email protected];
Mon, 28 Oct 1996 17:01:34 -0800 (PST)
From: Simplicist <
[email protected]>
Message-Id: <
[email protected]>
Subject: DBD, DBI::Oracle, and Oraperl
To:
[email protected]
Date: Mon, 28 Oct 1996 17:01:33 -0800 (PST)
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Greetings all,
I have some begginner's frustration and confusion.. Here is the story
I'm using an HP 9000/712 with HPUX 9.05. I've installed perl5.003
successfully. Installed DBI .73 w/o error messages. I don't have Oracle
or ProC locally on my machine. I've mounted both as a remote file system to get
DBI::Oracle to compile. remote Oracle is 7.2.3, don;t know which ProC version,
but DBI::Oracle .39 compiled, and test.pl ran with no errors, after pointing
to the correct oracle home, sid, user/password etc.
Now, do I need to install oraperl of anykind if I want to use oraperl emulation
in DBI?
I don;t know the answer to this question, so I've been fretting for a while
trying to install oraperl 2.4. I keep getting "don't know how to make
uperl.o" I (tried) to follow oraperl.hpux file for installing oraperl on
an hpux 9.x. Honestly I don't know enough to mess with *.h files and makefiles.
Although DBI, DBD are installed, I haven't written a singl script to test
their functionality, SO I do not know for sure if all I've installed so
far is configured correctly.
In short:
1- DO I need to install oraperl?
2- If yes, what's the way considering my equipment?
one last request: Could someone post (or email) a barebones sample script
using orapler emulation in DBI, and if possible, the equiv in pure DBI.
I'd like to see for myself which to learn.
Any help thankfully appreciated.
Regards,
Kal.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-108@oink>;
Tue, 29 Oct 1996 07:51:55 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846558333:24045:3; Tue, 29 Oct 96 03:05:33 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23795; 29 Oct 96 3:04 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id QAA03494 for dbi-users-real; Mon, 28 Oct 1996 16:42:31 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from raima.raima.com (
[email protected] [198.206.247.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id QAA03490
for <
[email protected]>; Mon, 28 Oct 1996 16:42:25 -0800 (PST)
Received: from dmorse.raima.com (dmorse.raima.com [198.206.247.35])
by raima.raima.com (8.6.11/8.6.11) with SMTP id OAA29840
for <
[email protected]>; Mon, 28 Oct 1996 14:49:20 -0800
Message-ID: <
[email protected]>
Date: Tue, 29 Oct 1996 04:44:53 -0800
From: Dave Morse <
[email protected]>
Reply-To:
[email protected]
Organization: Marketing
X-Mailer: Mozilla 3.0Gold (Win95; I)
MIME-Version: 1.0
To:
[email protected]
Subject: Raima databases
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Is there a Perl interface for Raima databases? Can you send me
information on it.
Thanks,
--
David C. Morse
Director of Marketing
[email protected]
206-557-5205
If it's fast - It's Raima
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <28545-110@oink>;
Tue, 29 Oct 1996 07:52:08 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846558664:25124:11; Tue, 29 Oct 96 03:11:04 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24957; 29 Oct 96 3:10 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id RAA03616 for dbi-users-real; Mon, 28 Oct 1996 17:42:47 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from mail.brainstorm.net (
[email protected] [205.164.112.2])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id RAA03612
for <
[email protected]>; Mon, 28 Oct 1996 17:42:46 -0800 (PST)
Received: from [205.178.22.15] (only.if.net [205.178.22.15])
by mail.brainstorm.net (8.7.4/8.6.9) with ESMTP id RAA13281;
Mon, 28 Oct 1996 17:42:30 -0800 (PST)
X-Sender:
[email protected]
Message-Id: <v03007838ae9b11fd930b@[205.178.22.15]>
In-Reply-To: <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 28 Oct 1996 17:45:34 -0800
To: Simplicist <
[email protected]>,
[email protected]
From: Chris Thorman <
[email protected]>
Subject: Re: DBD, DBI::Oracle, and Oraperl
Hi,
If anyone replies directly to you, would you remind forwarding their
responses to me,
[email protected]?
I expect to be in a situation similar to your shortly, and am also
wondering about the oraperl / ProC / DBI stuff.
Thanks,
-c
------------------------------------------------------------------------
Chris Thorman
[email protected]
If.Net, Inc. (415) 392-6244 voice
870 Market Street (415) 392-6245 fax
San Francisco, CA 94102
http://if.net
------------------------------------------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03063-6@oink>;
Tue, 29 Oct 1996 12:07:48 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846590037:05029:16; Tue, 29 Oct 96 11:53:57 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa04727; 29 Oct 96 11:52 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id AAA04413 for dbi-users-real; Tue, 29 Oct 1996 00:08:57 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from auspex-gw2.auspex.com (auspex-gw.auspex.com [144.48.1.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id AAA04409
for <
[email protected]>; Tue, 29 Oct 1996 00:08:56 -0800 (PST)
Received: from auspex.auspex.com ([144.48.8.10])
by auspex-gw2.auspex.com (8.6.12/8.6.12) with ESMTP id AAA15291;
Tue, 29 Oct 1996 00:08:52 -0800
Received: from dumas.auspex.fr by auspex.auspex.com (8.7.2/) id AAA04095;
Tue, 29 Oct 1996 00:08:50 -0800 (PST)
Received: from dickens ([194.2.216.6]) by dumas.auspex.fr (8.6.9/8.6.9)
with SMTP id JAA02064; Tue, 29 Oct 1996 09:10:25 +0100
Message-ID: <
[email protected]>
Date: Tue, 29 Oct 1996 09:09:51 +0100
From: Kevin Stock <
[email protected]>
Organization: Auspex Systems European Technical Support Centre
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.4 sun4m)
MIME-Version: 1.0
To: Tim Bunce <
[email protected]>
CC:
[email protected]
Subject: Re: URGENT - Possible problem with DBD-Oracle-0.40
References: <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Tim Bunce wrote:
>
> Now 0.42 uses oexfet() it's possible that Oraperl/DBD::Oracle is
> finally faster (after startup) than oraperl 2.4. Especially on slow
> networks. That's a testament to the good performance of oraperl 2.4.
>
> [For those who don't recall, Kevin wrote the original oraperl]
Back when I were a lad, we didn't even have oexfet(). We had to get
up at 3 in the morning, lick the database clean and then go and spend
27 hours a day down the data mines.
*Ahem*
Looks like Oraperl's tombstone can finally be carved, then. :-)
Congratulations.
Kevin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <03475-10@oink>;
Tue, 29 Oct 1996 13:28:23 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846594493:00977:21; Tue, 29 Oct 96 13:08:13 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00722; 29 Oct 96 13:07 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id BAA04547 for dbi-users-real; Tue, 29 Oct 1996 01:37:21 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from bsfiles.nerc-bas.ac.uk (bsfiles.nerc-bas.ac.uk [192.171.137.25])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id BAA04543
for <
[email protected]>; Tue, 29 Oct 1996 01:37:08 -0800 (PST)
Received: from bssmlsa.nerc-bas.ac.uk
by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id JAA26299;
Tue, 29 Oct 1996 09:30:05 GMT
Date: Tue, 29 Oct 1996 09:30:04 +0000 (GMT)
From: Andy Wood <
[email protected]>
Reply-To: Andrew G Wood <
[email protected]>
To: Kevin Stock <
[email protected]>
cc: DBI-users <
[email protected]>
Subject: Re: URGENT - Possible problem with DBD-Oracle-0.40
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Tue, 29 Oct 1996, Kevin Stock wrote:
> From: Kevin Stock <
[email protected]>
> To: Tim Bunce <
[email protected]>
> Cc:
[email protected]
> Subject: Re: URGENT - Possible problem with DBD-Oracle-0.40
>
> Tim Bunce wrote:
> >
> > Now 0.42 uses oexfet() it's possible that Oraperl/DBD::Oracle is
> > finally faster (after startup) than oraperl 2.4. Especially on slow
> > networks. That's a testament to the good performance of oraperl 2.4.
> >
> > [For those who don't recall, Kevin wrote the original oraperl]
>
> Back when I were a lad, we didn't even have oexfet(). We had to get
> up at 3 in the morning, lick the database clean and then go and spend
> 27 hours a day down the data mines.
>
27 hours a day .... you were lucky. We had to get up 4 hours before
going to bed, eat a handful of cold SQL .... work 30 hours a day, day
in, day out, for 3 pence every 4 years; come home and .... knock up
another version of DBD-Oracle.
.... but then you know the rest!
Andy.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04342-5@oink>;
Tue, 29 Oct 1996 16:01:40 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846599172:29632:88; Tue, 29 Oct 96 14:26:12 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00130; 29 Oct 96 14:25 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id CAA04621 for dbi-users-real; Tue, 29 Oct 1996 02:50:18 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id CAA04614;
Tue, 29 Oct 1996 02:50:16 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ae22763;
29 Oct 96 10:48 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa11594; 29 Oct 96 10:39 GMT
Received: from toad by oink with SMTP (PP) id <01964-0@oink>;
Tue, 29 Oct 1996 10:35:11 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA00590;
Tue, 29 Oct 1996 10:34:31 +0000
Date: Tue, 29 Oct 1996 10:34:31 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Darn! Bug in DBD-Oracle-0.42
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
Sigh.
I was too hasty with that last release.
When implementing the oexfet support I'd forgotten that the end_of_data
variable actually holds the error which caused the end of data rather
than a simple boolean.
The effect is that any select which returns fewer rows than the cache
size will appear to end with a ORA-00001: unique constraint violation
error.
Here's the fix:
diff -c -r1.26 dbdimp.c
*** 1.26 1996/10/28 15:34:28
--- dbdimp.c 1996/10/29 10:20:00
***************
*** 831,837 ****
}
imp_sth->in_cache = imp_sth->cda->rpc; /* cache loaded */
if (imp_sth->cda->rc == 1403)
! imp_sth->end_of_data = TRUE;
}
else { /* NOT a select */
if (oexec(imp_sth->cda)) {
--- 831,837 ----
}
imp_sth->in_cache = imp_sth->cda->rpc; /* cache loaded */
if (imp_sth->cda->rc == 1403)
! imp_sth->end_of_data = 1403;
}
else { /* NOT a select */
if (oexec(imp_sth->cda)) {
I new release will be out today (with a renamed variable and better tests).
Once again, please accept my apologies for any inconvenience caused.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07979-1@oink>;
Wed, 30 Oct 1996 10:06:34 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846621801:15667:162; Tue, 29 Oct 96 20:43:21 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab02974; 29 Oct 96 17:59 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id FAA04814 for dbi-users-real; Tue, 29 Oct 1996 05:31:57 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from goblin.rosprint.ru (
[email protected] [193.232.89.107])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id FAA04810
for <
[email protected]>; Tue, 29 Oct 1996 05:31:47 -0800 (PST)
Received: (from vic@localhost) by goblin.rosprint.ru (8.7.5/cvt) id RAA26250
for
[email protected]; Tue, 29 Oct 1996 17:37:50 -0300 (GMT)
From: Victor Teslikov <
[email protected]>
Message-Id: <
[email protected]>
Subject: child died? what with parent LDA?
To:
[email protected]
Date: Tue, 29 Oct 1996 17:37:50 -0300 (GMT)
X-Mailer: ELM [version 2.4 PL25]
Content-Type: text
Hello!
This is my first posting to this list, so sorry if any.
Please, help me find where (parent) connection gets lost.
Next is my problem.
------------------------
$ENV{ORACLE_HOME} = '/oracle';
$ENV{ORACLE_SID} = 'rs';
$dbname = '';
$dbuser = 'bill/billpasswd'; # probe 1
#$dbuser = 'bill/billpasswd@rs_tcp'; # probe 2
eval '$Oraperl::safe = 1' if $] >= 5;
eval 'use Oraperl; 1' || die $@ if $] >= 5;
$SIG{CHLD}='SigCHLD';
{
# Connect first
my ($l) = &ora_login($dbname, $dbuser, '');
print "Not conn\n" unless defined $l;
&ora_autocommit($l,1);
$l->debug(2);
my $pid = fork;
if ($pid) {
print "This is parent\n";
} else {
my $z = &ora_login($dbname,$dbuser,'');
$z->debug(2);
&ora_logoff($z) || die "z logoff: $ora_errstr\n";
exit(0);
}
wait;
&ora_logoff($l) || die "l logoff: $ora_errstr\n";
}
sub SigCHLD {
print "Child exited!\n";
}
--------------------------
connection through ora-pipes
DBI::db=HASH(0xeca48) debug level set to 2
This is parent
DBI::db=HASH(0xd0d78) debug level set to 2
-> disconnect for DBD::Oracle::db (DBI::db=HASH(0xeca9c)~0xd0d78)
<- disconnect= 1
-> DESTROY for DBD::Oracle::db (DBI::db=HASH(0xeca48))
<- DESTROY= undef
-> DESTROY for DBD::Oracle::db (DBI::db=HASH(0xd0d78))
<- DESTROY= undef
-> disconnect for DBD::Oracle::db (DBI::db=HASH(0x1232d0)~0xeca48)
Broken Pipe
--------------------------
connection through TCP (multithreaded server)
DBI::db=HASH(0xecaf0) debug level set to 2
This is parent
DBI::db=HASH(0xd0de0) debug level set to 2
-> disconnect for DBD::Oracle::db (DBI::db=HASH(0xecb44)~0xd0de0)
<- disconnect= 1
-> DESTROY for DBD::Oracle::db (DBI::db=HASH(0xecaf0))
<- DESTROY= undef
-> DESTROY for DBD::Oracle::db (DBI::db=HASH(0xd0de0))
<- DESTROY= undef
Child exited!
-> disconnect for DBD::Oracle::db (DBI::db=HASH(0x123428)~0xecaf0)
<- disconnect=
l logoff: ORA-03113: end-of-file on communication channel (DBD: disconnect error)
-> DESTROY for DBD::Oracle::db (DBI::db=HASH(0xecaf0))
<- DESTROY= undef
------------------------------
Thanks.
Victor
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07979-11@oink>;
Wed, 30 Oct 1996 10:07:30 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846635316:27313:1759; Wed, 30 Oct 96 00:28:36 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa16740; 29 Oct 96 19:40 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id GAA04936 for dbi-users-real; Tue, 29 Oct 1996 06:49:13 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from gatekeeper.newmetrics.com (gatekeeper.newmetrics.com [199.217.207.226])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA04932
for <
[email protected]>; Tue, 29 Oct 1996 06:49:11 -0800 (PST)
Received: (from daemon@localhost) by gatekeeper.newmetrics.com (8.6.12/8.6.12)
id IAA15089; Tue, 29 Oct 1996 08:49:06 -0600
Message-Id: <
[email protected]>
Received: from unknown(199.217.246.204) by gatekeeper.newmetrics.com
via smap (V1.3) id sma015087; Tue Oct 29 08:48:56 1996
Received: by yang.newmetrics.com (1.38.193.5/16.2) id AA05776;
Tue, 29 Oct 1996 08:55:29 -0600
From: Dean Burdick <
[email protected]>
Subject: Help...
To:
[email protected]
Date: Tue, 29 Oct 96 8:55:29 CST
Cc:
[email protected]
Mailer: Elm [revision: 70.85.2.1]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07979-21@oink>;
Wed, 30 Oct 1996 10:08:22 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846642974:04059:1883; Wed, 30 Oct 96 02:36:14 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab19352; 29 Oct 96 23:08 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id JAA05329 for dbi-users-real; Tue, 29 Oct 1996 09:58:08 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from mail.Space.NET (
[email protected] [194.59.182.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id JAA05323
for <
[email protected]>; Tue, 29 Oct 1996 09:57:40 -0800 (PST)
Received: from moebius.space.net ([194.59.182.25]) by newton.Space.NET
with SMTP id <82681-1>; Tue, 29 Oct 1996 18:56:32 +0100
Date: Tue, 29 Oct 1996 18:51:47 +0100
From: Thomas Eisenbock <
[email protected]>
To:
[email protected]
Subject: Q: ODBC access ?
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hola,
I'm sorry, if this goes to a list or if it's a FAQ.
I am looking for a way to access an ODBC Database from my Unix machine.
As I love Perl, I found the DBI (at
http://www.hermetica.com/technologia/DBI/)
and saw the announcement, so I thought you may be able to help me.
I'd even spend money, if I could only get hold of some routines to access
Windows Databases via ODBC from a perl program.
Please help me ! If you know, where to get information or find anything
about an existing interface, then tell me about it...and if this a mailing list,
please subscribe me :)
Best regards,
Thomas Eisenbock
--
SpaceNet - Gesellschaft f.
http://www.space.net/
innovative Netzwerktechnik mbH
[email protected]
Muenchner Technologie Zentrum
Frankfurter Ring 193a Telefon: +49 89 3246830
D-80807 Muenchen Fax: +49 89 32468351
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <07979-24@oink>;
Wed, 30 Oct 1996 10:08:36 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846643058:04059:2208; Wed, 30 Oct 96 02:37:38 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa20028; 29 Oct 96 23:09 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA05568 for dbi-users-real; Tue, 29 Oct 1996 11:00:11 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA05557;
Tue, 29 Oct 1996 11:00:07 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id ac27980;
29 Oct 96 18:42 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa25650; 29 Oct 96 18:41 GMT
Received: from toad by oink with SMTP (PP) id <05584-0@oink>;
Tue, 29 Oct 1996 18:41:18 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA01866;
Tue, 29 Oct 1996 18:41:10 +0000
Date: Tue, 29 Oct 1996 18:41:10 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Announce: DBD-Oracle-0.43 (bug fix release)
Cc:
[email protected],
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
Changes in DBD::Oracle 0.43 (Oraperl 1.30), 29nd Oct 1996
Fixed serious 'false ora_errno 1 after short select' bug.
Worked around oracle bug that makes cda->ft unreliable.
Do not use DBD::Oracle 0.41 or 0.42.
Cursors are now 'describe'd at prepare time thus making
NUM_OF_FIELDS etc always available. Describe does nothing
for non-select operations. NUM_OF_FIELDS > 0 is now used to
select between oexec() and oexfet() in execute().
Added more internal debugging. Improved test.pl.
In the immortal words of a collegue of mine "I've fixed the last bug"!
:-)
This version is happily crunching millions of call records using
a wide assortment of cursor types as I write. All seems well but,
as always, your milage may vary.
Apologies once again.
Uploaded to ftp.demon.co.uk as usual. Should reach CPAN in a day or so.
(Please check that the file you get is 80119 bytes long.)
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09312-0@oink>;
Wed, 30 Oct 1996 12:26:17 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846678117:04408:3133; Wed, 30 Oct 96 12:21:57 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ac23644; 29 Oct 96 23:17 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA05628 for dbi-users-real; Tue, 29 Oct 1996 11:27:22 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from limmat (limmat.switch.ch [130.59.4.30])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA05624
for <
[email protected]>; Tue, 29 Oct 1996 11:27:19 -0800 (PST)
Message-Id: <
[email protected]>
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
Tue, 29 Oct 1996 20:26:45 +0100
To:
[email protected]
From: Martin Berli <
[email protected]>
Subject: Oracle WebServer 3.0: Perl Cartridge
Date: Tue, 29 Oct 1996 20:26:43 +0100
Just read this in a "White Paper" from Oracle:
> Perl Cartridge
>
> Perl is an extremely popular development language for deploying complex,
> robust applications that require different types of information from
> different sources. In Oracle WebServer 3.0, the Perl cartridge allows
> developers to use their existing Perl code through the Web Request Broker
> Architecture.
Does anyone know more about that? Could this be in concurrence with Oraperl?
Martin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09785-5@oink>;
Wed, 30 Oct 1996 14:59:06 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846681404:04213:5009; Wed, 30 Oct 96 13:16:44 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ac25837; 30 Oct 96 6:09 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id UAA07070 for dbi-dev-real; Tue, 29 Oct 1996 20:54:43 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from speedy.speakeasy.org (speedy.speakeasy.org [199.238.226.57])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id UAA07066
for <
[email protected]>; Tue, 29 Oct 1996 20:54:38 -0800 (PST)
Received: (from brett@localhost) by speedy.speakeasy.org (8.8.0/8.7.3)
id UAA19748 for
[email protected];
Tue, 29 Oct 1996 20:54:19 -0800 (PST)
Date: Tue, 29 Oct 1996 20:54:19 -0800 (PST)
From: Brett McCormick <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: DBI->connect
Why does DBI->connect try to enforce the arguments when many of the
drivers deviate? I'm writing DBD::Postgres and there are 5 parameters
(host, port, options, tty, dbname) but DBI->connect won't let me do
this! What is the work-around?
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09785-16@oink>;
Wed, 30 Oct 1996 15:00:12 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846684851:04213:7578; Wed, 30 Oct 96 14:14:11 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab12561; 30 Oct 96 6:42 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id UAA07015 for dbi-users-real; Tue, 29 Oct 1996 20:30:22 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from anna.in-berlin.de (anna.in-berlin.de [193.175.21.66])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id UAA07007;
Tue, 29 Oct 1996 20:30:16 -0800 (PST)
Received: by anna.in-berlin.de (940816.SGI.8.6.9/940406.SGI) id FAA25751;
Wed, 30 Oct 1996 05:29:33 +0100
Date: Wed, 30 Oct 1996 05:29:33 +0100
Message-Id: <
[email protected]>
From: Andreas Koenig <
[email protected]>
To:
[email protected]
CC:
[email protected],
[email protected],
[email protected]
In-reply-to: <
[email protected]> (message from Tim Bunce on Tue, 29 Oct 1996 18:41:10 +0000)
Subject: Re: Announce: DBD-Oracle-0.43 (bug fix release)
>>>>> Tim Bunce <
[email protected]> writes:
tim> Uploaded to ftp.demon.co.uk as usual. Should reach CPAN in a day or so.
tim> (Please check that the file you get is 80119 bytes long.)
tim> Tim.
Uh, no, that's not a good checksum. PAUSE has already shaved off
27%. The only reliable checksum that is easily available would be the
MD5 cecksum on the uncompressed tarfile, i.e. the 'md5-ungz' value in
the CHECKSUMS file in your DBD/Oracle directory on CPAN.
'DBD-Oracle-0.43.tar.gz' => {
size => 58523,
'md5' => 'f300231a7ea13a1a68e7d65b236ce8f5',
'md5-ungz' => '139da8570787750d4eea7d74db889bd9'
},
So to check if the files you supplied and the files that arrived here
are the same, you should run this and compare the output:
# zcat DBD-Oracle-0.43.tar.gz | md5sum -
139da8570787750d4eea7d74db889bd9 -
andreas
---+++---
Received: from 158.152.1.73 by oink with SMTP (PP) id <10869-6@oink>;
Wed, 30 Oct 1996 18:02:53 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846689184:04408:9413; Wed, 30 Oct 96 15:26:24 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa18620; 29 Oct 96 22:10 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id GAA04926 for dbi-users-real; Tue, 29 Oct 1996 06:41:47 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from gatekeeper.newmetrics.com (gatekeeper.newmetrics.com [199.217.207.226])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id GAA04922
for <
[email protected]>; Tue, 29 Oct 1996 06:41:41 -0800 (PST)
Received: (from daemon@localhost) by gatekeeper.newmetrics.com (8.6.12/8.6.12)
id IAA15075 for <
[email protected]>;
Tue, 29 Oct 1996 08:41:33 -0600
Message-Id: <
[email protected]>
Received: from unknown(199.217.246.204) by gatekeeper.newmetrics.com
via smap (V1.3) id sma015073; Tue Oct 29 08:41:27 1996
Received: by yang.newmetrics.com (1.38.193.5/16.2) id AA26479;
Tue, 29 Oct 1996 08:47:59 -0600
Date: Tue, 29 Oct 1996 08:47:59 -0600
From: Dean Burdick <
[email protected]>
Apparently-To:
[email protected]
Hi,
I am trying to build DBI-0.72 on HP-UX 9.04. It seems
to compile OK but doesn't pass all tests and I can't get it
statically linked with perl. I get "directory not found"
for the DBI directory when I try to rebuild Perl(5.003). What am I doing wrong?
Any help is appreciated.
Dean Burdick.
[email protected]
Here is my scenario:
# perl Makefiel.PL
Can't open perl script "Makefiel.PL": No such file or directory
# perl Makefile.PL
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
MakeMaker (v5.34)
Checking if your kit is complete...
Looks good
NAME => q[DBI]
PREREQ_PM => { }
VERSION_FROM => q[DBI.pm]
clean => { FILES=>q[$(DISTVNAME)/] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], PREOP=>q[$(MAKE) -f Makefile.old distdir] }
Using PERL=/usr/bin/perl
WARNING! By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you MUST delete old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.
Writing Makefile for DBI
# make
cp DBIXS.h ./blib/arch/DBI/DBIXS.h
cp DBI.pm ./blib/lib/DBI.pm
cp lib/DBD/NullP.pm ./blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm ./blib/lib/DBD/Sponge.pm
cp lib/DBD/ExampleP.pm ./blib/lib/DBD/ExampleP.pm
/usr/bin/perl -I/opt/perl5/lib/PA-RISC1.1/5.003 -I/opt/perl5/lib /opt/perl5/lib/ExtUtils/xsubpp -typemap /opt/perl5/lib/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" -I/opt/perl5/lib/PA-RISC1.1/5.003/CORE DBI.c
rm -rf ./blib/arch/auto/DBI/DBI.a
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 TEST_VERBOSE = 1
Memory fault(coredump)
# make test TET ST+ _VERBOSE=1
rm -rf ./blib/arch/auto/DBI/DBI.a
ar cr ./blib/arch/auto/DBI/DBI.a DBI.o && : ./blib/arch/auto/DBI/DBI.a
chmod 755 ./blib/arch/auto/DBI/DBI.a
Writing "Makefile.aperl" for this perl
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
MakeMaker (v5.34)
CCCDLFLAGS => q[]
DIR => []
LINKTYPE => q[static]
MAKEAPERL => q[1]
MAKEFILE => q[Makefile.aperl]
NAME => q[DBI]
NORECURS => q[1]
PREREQ_PM => { }
VERSION_FROM => q[DBI.pm]
clean => { FILES=>q[$(DISTVNAME)/] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], PREOP=>q[$(MAKE) -f Makefile.old distdir] }
Using PERL=/usr/bin/perl
WARNING! By default new modules are installed into your 'site_lib'
directories. Since site_lib directories come after the normal library
directories you MUST delete old DBI files and directories from your
'privlib' and 'archlib' directories and their auto subdirectories.
Writing Makefile.aperl for DBI
make -f Makefile.aperl perl
Writing ./perlmain.c
cd . && cc -c -I/opt/perl5/lib/PA-RISC1.1/5.003/CORE -D_HPUX_SOURCE -Aa -I/usr/local/include \
-DVERSION=\"0.72\" \
-DXS_VERSION=\"0.72\" -I/opt/perl5/lib/PA-RISC1.1/5.003/CORE perlmain.c
cat ./blib/arch/auto/DBI/extralibs.ld >> ./blib/arch/auto/DBI/extralibs.all
cc -L/usr/local/lib -o perl ./perlmain.o /opt/perl5/lib/PA-RISC1.1/5.003/CORE/libperl.a ./blib/arch/auto/DBI/DBI.a `cat ./blib/arch/auto/DBI/extralibs.all` -ldld -lm -lc
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/opt/perl5/lib/PA-RISC1.1/5.003 -I/opt/perl5/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t
Can't locate auto/Fcntl/autosplit.ix in @INC at /opt/perl5/lib/AutoLoader.pm line 69.
at /opt/perl5/lib/Fcntl.pm line 29
t/min...............1..12
ok 1
ok 2
ok 3
DBD::ExampleP in /opt/perl5/lib/site_perl is hidden by DBD::ExampleP in ./blib/lib
at t/min.t line 16
DBD::NullP in /opt/perl5/lib/site_perl is hidden by DBD::NullP in ./blib/lib
at t/min.t line 16
DBD::Sponge in /opt/perl5/lib/site_perl is hidden by DBD::Sponge in ./blib/lib
at t/min.t line 16
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok
All tests successful.
Files=1, Tests=12, 0 secs ( 0.42 cusr 0.04 csys = 0.46 cpu)
PERL_DL_NONLAZY=1 ./perl -I./blib/arch -I./blib/lib -I/opt/perl5/lib/PA-RISC1.1/5.003 -I/opt/perl5/lib test.pl
test.pl
DBI test application $Revision: 1.16 $
Switch: DBI-0.72 Switch by Tim Bunce, 0.72
DebugDispatch: 0
DBD::ExampleP in /opt/perl5/lib/site_perl is hidden by DBD::ExampleP in ./blib/lib
at test.pl line 49
DBD::NullP in /opt/perl5/lib/site_perl is hidden by DBD::NullP in ./blib/lib
at test.pl line 49
DBD::Sponge in /opt/perl5/lib/site_perl is hidden by DBD::Sponge in ./blib/lib
at test.pl line 49
Available Drivers: ExampleP, NullP, Sponge
Read DBI special variables (expect: empty string, 99, 99):
err:
err: 99
errstr: 99
Attempt to modify DBI special variables.
Expect a 'Can't modify' error message:
Can't modify $DBI::&rows special variable at test.pl line 59
Connected as DBI::db=HASH(0x400a9cc4)
Test error handling: prepare()'ing an invalid query.
Expect prepare to return UNDEF and an error message:
prepare returned UNDEF. $DBI::err=Unknown field names: unknown_field_name
Cursor prepare'd as DBI::st=HASH(0x400ab290)
Prepared as DBI::st=HASH(0x400ab344)
Number of fields: 3
Data type of first field: 1
Driver name: ExampleP
Fetching data from both cursors.
Expect several rows of data:
16877 2 ., 1 1024 .
16877 2 .., 1 1024 ..
16877 3 lost+found, 1 1024 cron
16895 1600 tmp, 8 8192 mqueue
16749 3200 bin, 1 1024 lp
16749 6400 man, 1 24 uucppublic
16749 6401 netdemo, 1 1024 uucp
16749 19201 lib, 1 1024 ppl
16749 6563 include, 1 1024 fax
Automatic method parameter usage check.
Expect a 'DBI ... invalid' error and a 'Usage: ...' message:
DBI commit: invalid number of parameters: handle + 1
Usage: $h->commit() at test.pl line 124.
Preparing new $cursor_a to replace current $cursor_a.
We enable debugging on current to watch it's destruction.
Expect several lines of DBI trace information:
DBI::st=HASH(0x400ab368) debug level set to 2
-> DESTROY for DBD::ExampleP::st (DBI::st=HASH(0x400ab368))
<- DESTROY= undef
Executing via func redirect: $h->func(..., 'execute')
Binding columns of $cursor_a to variables.
Fetching one row from new $cursor_a with a bound column.
Expect a large number follwed by a dot:
846598719 .
bind_col worked
Cursor tests done (scoped objects will be destroyed now)
test.pl done (global destruction will follow)
# perl -V
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
Platform:
osname=hpux, osver=9, archname=PA-RISC1.1
uname='hp-ux yin a.09.04 e 9000856 103994331 8-user license '
hint=recommended, useposix=true, d_sigaction=define
Compiler:
cc='cc', optimize=' ', 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=n, randbits=15
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib/pa1.1 /lib /usr/lib
libs=-ldld -lm -lc
libc=/lib/libc.sl, so=sl
Dynamic Linking:
dlsrc=dl_none.xs, dlext=none, d_dlsymun=, ccdlflags=''
cccdlflags='', lddlflags=''
@INC: /opt/perl5/lib/PA-RISC1.1/5.003 /opt/perl5/lib /opt/perl5/lib/site_perl/PA-RISC1.1 /opt/perl5/lib/site_perl .
# exit
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <11721-0@oink>;
Wed, 30 Oct 1996 18:27:19 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846699643:22344:327; Wed, 30 Oct 96 18:20:43 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ac29417; 30 Oct 96 18:12 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id EAA07923 for dbi-users-real; Wed, 30 Oct 1996 04:28:48 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from omzrelay.mci.com (omzrelay.mci.com [199.249.19.40])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA07919
for <
[email protected]>; Wed, 30 Oct 1996 04:28:41 -0800 (PST)
Received: by omzrelay.mci.com; (8.6.12/1.1.8.2/07Nov95-0827AM) id GAA16311;
Wed, 30 Oct 1996 06:28:10 -0600
Received: from pop2b.mail.mci.com by omzrelay.mci.com;
(8.6.12/1.1.8.2/14Nov95-0411PM) id GAA02652;
Wed, 30 Oct 1996 06:28:09 -0600
Received: by pop2b.mail.mci.com; (8.6.12/1.1.8.2/07Nov95-0827AM) id GAA20673;
Wed, 30 Oct 1996 06:28:07 -0600
Received: from pipeline.cs.mci.com by pop2b.mail.mci.com;
(8.6.12/1.1.8.2/14Nov95-0411PM) id GAA18215;
Wed, 30 Oct 1996 06:28:07 -0600
Received: from localhost
by pipeline.cs.mci.com (5.65v3.2/1.1.10.5/02Jul96-0412PM) id AA31307;
Wed, 30 Oct 1996 05:28:06 -0700
Date: Wed, 30 Oct 1996 05:28:06 -0700 (MST)
From: Jeff Schenk <
[email protected]>
To:
[email protected]
Subject: Informix DBD Problem with Dec UNIX and Online Server 7.2 (fwd)
Message-Id: <
[email protected]>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
===========================================
==== Jeff Schenk InnerApps Development ====
==== Phone: 719-535-4372 Vnet: 622-4372====
==== Pager: 800-SKY-8888 PIN: 2120447 ====
===========================================
---------- Forwarded message ----------
Date: Tue, 29 Oct 1996 15:18:30 -0700
From: Jeff Schenk <
[email protected]>
To:
[email protected]
Cc:
[email protected],
[email protected]
Subject: Informix DBD Problem with Dec UNIX and Online Server 7.2
I have run into the following problem while running a make on for the Informix DBD at level
0.24. Using DBI 0.73. ESQL/C is 7.20.UC3 on Digital UNIX V4.0.
Output from make:
cp Informix.pm ./blib/lib/DBD/Informix.pm
/usr/local/bin/perl -I/usr/local/lib/perl5/alpha-dec_osf/5.003 -I/usr/local/lib/
perl5 /usr/local/lib/perl5/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/ExtUti
ls/typemap Informix.xs >Informix.tc && mv Informix.tc Informix.c
Please specify prototyping behavior for Informix.xs (see perlxs manual)
cc -c -I/usr/users/informix/incl/esql -I/usr/local/lib/perl5/alpha-dec_osf/5.003
/DBI -I/usr/local/lib/perl5/site_perl/alpha-dec_osf/DBI -DSTANDARD_C -I/usr/loca
l/include -D__LANGUAGE_C__ -D_NO_PROTO -O2 -Olimit 2900 -DVERSION=\"0.24\"
-DXS_VERSION=\"0.24\" -I/usr/local/lib/perl5/alpha-dec_osf/5.003/CORE Informix
c
cc: Warning: Informix.c, line 167: In the initializer for valuesv, "dbd_db_FETCH(...)" of type
"int", is being converted to "pointer to struct sv".
SV *valuesv = dbd_db_FETCH(dbh, keysv);
------------------^
cc: Warning: Informix.c, line 358: In this statement, "dbd_st_readblob(...)" of type "int", is
being converted to "pointer to struct sv".
ST(0) = dbd_st_readblob(sth, field, offset, len, destsv);
----^
cc: Warning: Informix.c, line 390: In the initializer for valuesv, "dbd_st_FETCH(...)" of type
"int", is being converted to "pointer to struct sv".
SV *valuesv = dbd_st_FETCH(sth, keysv);
------------------^
esql -e -I/usr/users/informix/include -I/usr/local/lib/perl5
-I/usr/local/lib/perl5/alpha-dec_osf/5.003 -I/usr/local/lib/perl5/site_perl/alpha-dec_osf/DBI
-I/usr/local/lib/perl5/alpha-dec_osf/5.003/CORE dbdimp.ec
cc -c -I/usr/users/informix/incl/esql -I/usr/local/lib/perl5/alpha-dec_osf/5.003/DBI
-I/usr/local/lib/perl5/site_perl/alpha-dec_osf/DBI -DSTANDARD_C -I/usr/local/include
-D__LANGUAGE_C__ -D_NO_PROTO -O2 -Olimit 2900 -DVERSION=\"0.24\" -DXS_VERSION=\"0.24\"
-I/usr/local/lib/perl5/alpha-dec_osf/5.003/CORE -I/usr/users/informix/include dbdimp.c
cc: Error: dbdimp.ec, line 1314: In this declaration, the type of "free_cursor" is not
compatible with the type of a previous declaration of "free_cursor" at line number 1216 in file
dbdimp.ec.
static void free_cursor(sqc)
------------^
*** Exit 1
Stop.
Contents of Makefile.PL:
#!/usr/local/bin/perl -sw
# $Id: Makefile.PL,v 1.1 1996/04/14 17:25:11 descarte Exp descarte $
#
# (c)1996 Hermetica. Written by Alligator Descartes <
[email protected]>
# From an original by Tim Bunce
#
# Covered by GPL - License to be added!
#
# $Log: Makefile.PL,v $
# Revision 1.1 1996/04/14 17:25:11 descarte
# Initial revision
#
use ExtUtils::MakeMaker qw(&WriteMakefile $Verbose);
use Getopt::Std;
use Config;
use DBI; # The DBI must be installed before we can build a DBD
%opts = (
'NAME' => 'DBD::Informix',
'VERSION' => '0.24',
);
print "\nConfiguring DBD::Informix version $opts{VERSION}...\n";
print "Remember to actually read the README file!\n\n";
# --- Where is Informix installed...
unless ($ENV{INFORMIXDIR}){
warn "\$INFORMIXDIR not defined. Searching for Informix...\n";
foreach(qw(/usr/informix /opt/informix /usr/soft/informix)){
$ENV{INFORMIXDIR}=$_,last if -d "$_";
}
die "Unable to determine \$INFORMIXDIR!\n" unless $ENV{INFORMIXDIR};
}
my $ID = $ENV{INFORMIXDIR};
print "What version of Informix are you using? [5/6/7] ";
open TTY, "/dev/tty";
$infversion = <TTY>;
chomp( $infversion );
close TTY;
print "Using Informix version $infversion in $ID\n";
# --- What Informix is installed...
# Validate we have the right stuff installed
if ( $infversion eq '5' ) {
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";
$sysliblist = "-L$ID/lib/esql -lsql -lgen -los -lm";
} else {
if ( $infversion eq '6' || $infversion eq '7' ) {
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"
and -f "$ID/lib/libasf.a";
$sysliblist = "-L$ID/lib -L$ID/lib/esql -lsql -lasf -lgen -los -lm";
}
}
# Display the list of libs that we reckon the stated version of Informix
# - requires to build
print "Informix sysliblist: $sysliblist\n";
$ccflags = ""; # Fudge to get round HP-UX brain-death
if ( $Config{osname} eq 'solaris' ) {
$linkwith = "-L$ID/lib -R$ID/lib -L$ID/lib/esql -R$ID/lib/esql";
} else {
if ( $Config{osname} eq 'aix' ) {
$linkwith = "-L$ID/lib -lbsd";
} else {
if ( $Config{osname} eq 'hpux' ) {
$ccflags = $Config{ccflags};
}
$linkwith = "-L$ID/lib";
}
}
$opts{LIBS} = [ $sysliblist ];
$opts{INC} = "-I$ID/incl/esql -I$Config{archlib}/DBI -I$Config{sitearch}/DBI";
$opts{dynamic_lib} = { OTHERLDFLAGS => '-L$(INFORMIXDIR)/lib ' .$linkwith };
$opts{OBJECT} = '$(O_FILES) dbdimp.o';
$opts{macro} = { 'ESQL_LIB' => '$(INFORMIXDIR)/include' };
$opts{DEFINE} = '-Wall -pedantic -Wno-comment -Wpointer-arith -Wcast-align'
. ' -Wconversion -Wtraditional -Wpointer-arith'
. ' -Wcast-qual'
if $Config{cc} eq 'gcc'; # Just me asking gcc to be paranoid.
$opts{DEFINE} .= ' -Xa' if $Config{cc} eq 'clcc'; # CenterLine CC
# log key platform information to help me help you quickly
print "System: perl$] @Config{qw(myuname archname dlsrc)}\n";
print "Compiler: @Config{qw(cc optimize ccflags)}\n";
# Assorted hints - these should be move to a hints subdirectory
print "See README notes about SPARCompiler on Solaris\n"
if -d "/opt/SUNWspro/bin" and $Config{osname} eq 'solaris';
print "\n";
WriteMakefile(%opts);
# Cleanly exit from the Makefile-build process
exit 0;
sub MY::postamble {
'
SUFFIXES: .ec
ec.o:
esql -e -I$(ESQL_LIB) -I$(PERL_LIB) -I$(PERL_ARCHLIB) -I$(SITEARCHEXP)/DBI
-I$(PERL_ARCHLIB)/CORE dbdimp.ec
$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) -I$(ESQL_LIB) $*.c
rm -f dbdimp.c
';
}
sub MY::clean {
'
clean::
rm -f dbdimp.c
rm -f *.o
rm -f *.so
rm -f Makefile.old
rm -f Informix.c
rm -f pm_to_blib
rm -rf blib
';
}
__END__
Output from perl -e 'use Config; print Config::myconfig()':
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
Platform:
osname=dec_osf, osver=4.0, archname=alpha-dec_osf
uname='osf1 pipeline.cs.mci.com v4.0 386 alpha '
hint=recommended, useposix=true, d_sigaction=define
Compiler:
cc='cc', optimize='-O2 -Olimit 2900', gccversion=
cppflags='-DSTANDARD_C -I/usr/local/include -D__LANGUAGE_C__ -D_NO_PROTO'
ccflags ='-DSTANDARD_C -I/usr/local/include -D__LANGUAGE_C__ -D_NO_PROTO'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/shlib /lib /usr/lib /usr/ccs/lib
libs=-ldbm -ldb -lm -lc -lbsd -lPW
libc=/usr/shlib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
cccdlflags=' ', lddlflags='-shared -expect_unresolved "*" -s -hidden -L/usr/local/lib'
Please let me know if anyone needs more info or has run across this.
Thanks,
Jeff Schenk
MCI
InnerApps Development Engineer IV
USA 719-535-4372
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-18@oink>;
Thu, 31 Oct 1996 07:37:19 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846720641:18542:3723; Thu, 31 Oct 96 00:10:41 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab14722; 30 Oct 96 9:39 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id XAA07542 for dbi-users-real; Tue, 29 Oct 1996 23:20:24 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from auspex-gw2.auspex.com (auspex-gw.auspex.com [144.48.1.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id XAA07538
for <
[email protected]>; Tue, 29 Oct 1996 23:20:23 -0800 (PST)
Received: from auspex.auspex.com ([144.48.8.10])
by auspex-gw2.auspex.com (8.6.12/8.6.12) with ESMTP id XAA16399;
Tue, 29 Oct 1996 23:14:06 -0800
Received: from dumas.auspex.fr by auspex.auspex.com (8.7.2/) id XAA02137;
Tue, 29 Oct 1996 23:14:03 -0800 (PST)
Received: from dickens ([194.2.216.6]) by dumas.auspex.fr (8.6.9/8.6.9)
with SMTP id IAA03215; Wed, 30 Oct 1996 08:15:41 +0100
Message-ID: <
[email protected]>
Date: Wed, 30 Oct 1996 08:15:09 +0100
From: Kevin Stock <
[email protected]>
Organization: Auspex Systems European Technical Support Centre
X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 4.1.4 sun4m)
MIME-Version: 1.0
To: Martin Berli <
[email protected]>
CC:
[email protected]
Subject: Re: Oracle WebServer 3.0: Perl Cartridge
References: <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Martin Berli wrote:
>
> Just read this in a "White Paper" from Oracle:
>
> > Perl Cartridge
> >
> > Perl is an extremely popular development language for deploying complex,
> > robust applications that require different types of information from
> > different sources. In Oracle WebServer 3.0, the Perl cartridge allows
> > developers to use their existing Perl code through the Web Request Broker
> > Architecture.
>
> Does anyone know more about that? Could this be in concurrence with Oraperl?
Some time ago, Oracle announced that they were making available a
package of unsupported tools for Oracle Web access. These included
Oraperl v2.4 (BTW, this was shortly after I described Oraperl during
a job interview at Oracle, and was informed "we use our own tools"!).
Perhaps they've added DBI/DBD to the current version.
Kevin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-40@oink>;
Thu, 31 Oct 1996 07:39:52 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846723154:16558:1762; Thu, 31 Oct 96 00:52:34 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab15457; 30 Oct 96 18:52 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id GAA08088 for dbi-users-real; Wed, 30 Oct 1996 06:44:48 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from lin01.global.co.za (lin01.global.co.za [196.3.164.2])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id GAA08084
for <
[email protected]>; Wed, 30 Oct 1996 06:44:17 -0800 (PST)
Received: from kite.global.co.za (kite.global.co.za [196.3.167.110])
by lin01.global.co.za (8.7.3/8.7.3) with ESMTP id QAA03386
for <
[email protected]>; Wed, 30 Oct 1996 16:39:58 -0200 (GMT)
Message-Id: <
[email protected]>
From: Herman Scheepers <
[email protected]>
To: oraperl mailing list <
[email protected]>
Subject: DBD::Oracle-0.38 on Solaris
Date: Wed, 30 Oct 1996 16:42:36 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi
I attempted to make DBD::Oracle-0.38 on Solaris 2.4. I installed Perl 5.003
and DBI. These seemed to be file and all the tests
checked out OK. As I did perl Makefile.PL I got the following:
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 /usr/local/lib/perl5/site_perl/DBI.pm line 32
BEGIN failed--compilation aborted at Makefile.PL line 18.
Any help would be appreciated.
Regards
Herman
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-44@oink>;
Thu, 31 Oct 1996 07:40:29 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846723687:16558:2706; Thu, 31 Oct 96 01:01:27 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa28760; 30 Oct 96 19:26 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id HAA08210 for dbi-users-real; Wed, 30 Oct 1996 07:49:28 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from bsfiles.nerc-bas.ac.uk (bsfiles.nerc-bas.ac.uk [192.171.137.25])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id HAA08206
for <
[email protected]>; Wed, 30 Oct 1996 07:49:20 -0800 (PST)
Received: from bssmlsa.nerc-bas.ac.uk
by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id PAA11726;
Wed, 30 Oct 1996 15:48:20 GMT
Date: Wed, 30 Oct 1996 15:48:20 +0000 (GMT)
From: Andy Wood <
[email protected]>
Reply-To: Andrew G Wood <
[email protected]>
To: Herman Scheepers <
[email protected]>
cc: oraperl mailing list <
[email protected]>
Subject: Re: DBD::Oracle-0.38 on Solaris
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Wed, 30 Oct 1996, Herman Scheepers wrote:
> From: Herman Scheepers <
[email protected]>
> To: oraperl mailing list <
[email protected]>
> Subject: DBD::Oracle-0.38 on Solaris
>
> Hi
>
> I attempted to make DBD::Oracle-0.38 on Solaris 2.4. I installed Perl 5.003
> and DBI. These seemed to be file and all the tests
> checked out OK. As I did perl Makefile.PL I got the following:
>
> 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 /usr/local/lib/perl5/site_perl/DBI.pm line 32
> BEGIN failed--compilation aborted at Makefile.PL line 18.
>
> Any help would be appreciated.
>
My suggestions would be do the following in this order ....
1. reinstall perl and test it .... you should be able to get dynamic
loading working.
2. get the latest version of DBI (DBI-0.73) built tested and
installed.
3. get the latest version of the Oracle DBD (DBD-Oracle-0.43) built
tested and installed.
.... then you won't have a problem :-)
Andy.
+--------------------------------------------+
| Dr Andy Wood, Database Administrator |
| British Antarctic Survey |
| High Cross, Madingley Road +----------------------------------+
| Cambridge, CB3 0ET, UK |
[email protected] |
| +44 (0) 1223 361188 |
[email protected] |
+-----------------------------------------|
[email protected] |
+----------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-48@oink>;
Thu, 31 Oct 1996 07:40:55 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846723813:15953:3151; Thu, 31 Oct 96 01:03:33 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab21748; 30 Oct 96 20:26 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA08699 for dbi-dev-real; Wed, 30 Oct 1996 10:20:38 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-1.mail.demon.net (relay-1.mail.demon.net [158.152.1.140])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA08695
for <
[email protected]>; Wed, 30 Oct 1996 10:20:36 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-1.mail.demon.net id bj06997;
30 Oct 96 18:04 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ac05537; 30 Oct 96 18:03 GMT
Received: from toad by oink with SMTP (PP) id <10800-0@oink>;
Wed, 30 Oct 1996 17:49:57 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA04925;
Wed, 30 Oct 1996 17:49:51 +0000
Date: Wed, 30 Oct 1996 17:49:51 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBI->connect
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Brett McCormick <
[email protected]>
>
> Why does DBI->connect try to enforce the arguments when many of the
> drivers deviate?
Because that's the only way that a script could be made portable.
It's a core feature of the DBI.
> I'm writing DBD::Postgres and there are 5 parameters
> (host, port, options, tty, dbname) but DBI->connect won't let me do
> this! What is the work-around?
The correct solution (rather than a workaround) is to define a syntax
which allows those five parameters to be expressed as three.
I'd suggest at least combining dbname, host and port as
dbname@host:port
and allow port and host to default is not specified, thus:
dbname@host -- using default port
dbname -- using default port on current host
since I don't know what 'options' and 'tty' are and I can't see a
username or password I won't make any other recommendations yet.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-58@oink>;
Thu, 31 Oct 1996 07:41:57 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846724487:16581:4040; Thu, 31 Oct 96 01:14:47 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ac14956; 30 Oct 96 20:08 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id IAA08376 for dbi-users-real; Wed, 30 Oct 1996 08:18:15 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id IAA08371
for <
[email protected]>; Wed, 30 Oct 1996 08:18:13 -0800 (PST)
Received: from jovial.cse.psu.edu (
[email protected] [130.203.10.24])
by cse.psu.edu (8.7.5/8.7.3) with ESMTP id LAA15152;
Wed, 30 Oct 1996 11:01:48 -0500 (EST)
Message-Id: <
[email protected]>
X-Mailer: exmh version 1.6.9 8/22/96
X-uri: <URL:
http://www.cse.psu.edu/~groenvel/>
X-work-address: Manufacturing Technology - Systems Development Group PO Box 30
The Applied Research Lab State College, PA 16804
X-work-phone: +1 814 863 9896 (Voice) +1 814 863 1183 (Fax)
To: Kevin Stock <
[email protected]>
cc: Martin Berli <
[email protected]>,
[email protected]
Subject: Re: Oracle WebServer 3.0: Perl Cartridge
In-reply-to: Your message of "Wed, 30 Oct 1996 08:15:09 +0100." <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Wed, 30 Oct 1996 10:58:36 EST
From: John D Groenveld <
[email protected]>
Well, its nice to see Oracle take the lead in promoting non-proprietary tools
like Perl. As good as Magnus Lonoroth's PL/SQL Webserver packages are, there
are always going to be areas where Perl, JAVA, etal may be better suited. I
didnt want my IOUW paper to be yet another "us versus them" diatribe. This
helps alot.
Where can I find this white paper, its not in the Oracle (US) search engine? I
have a couple customers who I need to forward a copy of this doc.
John
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-61@oink>;
Thu, 31 Oct 1996 07:42:16 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846724581:15171:4623; Thu, 31 Oct 96 01:16:21 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa20200; 30 Oct 96 21:42 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA08935 for dbi-users-real; Wed, 30 Oct 1996 11:15:36 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA08929
for <
[email protected]>; Wed, 30 Oct 1996 11:15:31 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id az11193;
30 Oct 96 18:09 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ad05537; 30 Oct 96 18:03 GMT
Received: from toad by oink with SMTP (PP) id <10816-0@oink>;
Wed, 30 Oct 1996 17:50:58 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA04929;
Wed, 30 Oct 1996 17:50:52 +0000
Date: Wed, 30 Oct 1996 17:50:52 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Oracle WebServer 3.0: Perl Cartridge
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Martin Berli <
[email protected]>
>
> Just read this in a "White Paper" from Oracle:
>
> > Perl Cartridge
> >
> > Perl is an extremely popular development language for deploying complex,
> > robust applications that require different types of information from
> > different sources. In Oracle WebServer 3.0, the Perl cartridge allows
> > developers to use their existing Perl code through the Web Request Broker
> > Architecture.
>
> Does anyone know more about that?
Not me. I'd be glad to know more.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-63@oink>;
Thu, 31 Oct 1996 07:42:26 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846724704:15171:4860; Thu, 31 Oct 96 01:18:24 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19873; 30 Oct 96 20:21 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA08823 for dbi-dev-real; Wed, 30 Oct 1996 10:50:08 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from speedy.speakeasy.org (speedy.speakeasy.org [199.238.226.57])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id KAA08819
for <
[email protected]>; Wed, 30 Oct 1996 10:50:06 -0800 (PST)
Received: (from brett@localhost) by speedy.speakeasy.org (8.8.0/8.7.3)
id KAA24629; Wed, 30 Oct 1996 10:48:36 -0800 (PST)
Date: Wed, 30 Oct 1996 10:48:36 -0800 (PST)
Message-Id: <
[email protected]>
From: Brett McCormick <
[email protected]>
To: Tim Bunce <
[email protected]>
Cc:
[email protected]
Subject: Re: DBI->connect
In-Reply-To: <
[email protected]>
References: <
[email protected]>
On Wed, 30 October 1996, at 17:49:51, Tim Bunce wrote:
> > From: Brett McCormick <
[email protected]>
> >
> > Why does DBI->connect try to enforce the arguments when many of the
> > drivers deviate?
>
> Because that's the only way that a script could be made portable.
> It's a core feature of the DBI.
How are the scripts portable in that way when the drivers use the
arguments differently?
> since I don't know what 'options' and 'tty' are and I can't see a
> username or password I won't make any other recommendations yet.
There is no username or password. Options and tty are *rarely* used
> (at least by me, anyway)
--brett
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-88@oink>;
Thu, 31 Oct 1996 07:45:07 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846726480:16558:7818; Thu, 31 Oct 96 01:48:00 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa20110; 30 Oct 96 21:42 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA08662 for dbi-users-real; Wed, 30 Oct 1996 10:14:04 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA08658
for <
[email protected]>; Wed, 30 Oct 1996 10:14:02 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id as10911;
30 Oct 96 18:05 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab05537; 30 Oct 96 18:00 GMT
Received: from toad by oink with SMTP (PP) id <10783-0@oink>;
Wed, 30 Oct 1996 17:44:10 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA04901;
Wed, 30 Oct 1996 17:44:03 +0000
Date: Wed, 30 Oct 1996 17:44:03 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: Announce: DBD-Oracle-0.43 (bug fix release)
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Andreas Koenig <
[email protected]>
>
> >>>>> Tim Bunce <
[email protected]> writes:
>
> tim> Uploaded to ftp.demon.co.uk as usual. Should reach CPAN in a day or so.
> tim> (Please check that the file you get is 80119 bytes long.)
>
> tim> Tim.
>
> Uh, no, that's not a good checksum.
Well, it wasn't really a checksum. It was just a hint in case anyone
might a grabbed a rogue 0.43.tar.Z which appeared on ftp.demon in error
for an hour or so. From what we've discussed elsewhere I know no one
has so there's no need for concern.
> PAUSE has already shaved off 27%.
I'd forgotten this useful feature of the very wonderful PAUSE server.
> The only reliable checksum that is easily available would be the
> MD5 cecksum on the uncompressed tarfile, i.e. the 'md5-ungz' value in
> the CHECKSUMS file in your DBD/Oracle directory on CPAN.
>
> 'DBD-Oracle-0.43.tar.gz' => {
> size => 58523,
> 'md5' => 'f300231a7ea13a1a68e7d65b236ce8f5',
> 'md5-ungz' => '139da8570787750d4eea7d74db889bd9'
> },
>
> So to check if the files you supplied and the files that arrived here
> are the same, you should run this and compare the output:
>
> # zcat DBD-Oracle-0.43.tar.gz | md5sum -
> 139da8570787750d4eea7d74db889bd9 -
>
> andreas
Thanks Andreas. For this, and the very wonderful PAUSE server as a whole.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-90@oink>;
Thu, 31 Oct 1996 07:45:20 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846726509:16581:8004; Thu, 31 Oct 96 01:48:29 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa20625; 30 Oct 96 21:44 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA08803 for dbi-users-real; Wed, 30 Oct 1996 10:45:23 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA08799
for <
[email protected]>; Wed, 30 Oct 1996 10:45:20 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ao11273;
30 Oct 96 18:10 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa11277; 30 Oct 96 18:08 GMT
Received: from toad by oink with SMTP (PP) id <10909-0@oink>;
Wed, 30 Oct 1996 18:03:39 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA04957;
Wed, 30 Oct 1996 18:03:20 +0000
Date: Wed, 30 Oct 1996 18:03:20 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Q: ODBC access ?
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Thomas Eisenbock <
[email protected]>
>
> Hola,
>
> I'm sorry, if this goes to a list or if it's a FAQ.
>
> I am looking for a way to access an ODBC Database from my Unix machine.
> As I love Perl, I found the DBI (at
http://www.hermetica.com/technologia/DBI/)
> and saw the announcement, so I thought you may be able to help me.
>
> I'd even spend money, if I could only get hold of some routines to access
> Windows Databases via ODBC from a perl program.
How much? :-)
ODBC support for the DBI is now top of my DBI related to-do list (as promised).
When that will translate into action I can't be sure. I would be surprised if
I can find any time before January. Sadly.
> Please help me ! If you know, where to get information or find anything
> about an existing interface, then tell me about it...and if this a mailing list,
> please subscribe me :)
Subscribe via
http://www.fugue.com/dbi.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <13425-111@oink>;
Thu, 31 Oct 1996 07:47:33 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846729396:11350:202; Thu, 31 Oct 96 02:36:36 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab16460; 31 Oct 96 0:35 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id NAA09349 for dbi-users-real; Wed, 30 Oct 1996 13:02:28 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from stortek.com (stortek.com [129.80.22.249])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA09342
for <
[email protected]>; Wed, 30 Oct 1996 13:02:16 -0800 (PST)
Received: from hp7013.ecae.stortek.com by stortek.com with SMTP
id AA28173 (5.65c/IDA-1.4.4 for <
[email protected]>);
Wed, 30 Oct 1996 14:01:41 -0700
Received: from hp7028 (hp7028.ecae.stortek.com) by hp7013.ecae.stortek.com
with SMTP (1.37.109.14/16.2) id AA136949302;
Wed, 30 Oct 1996 14:01:42 -0700
Message-Id: <
[email protected]>
Date: Wed, 30 Oct 1996 14:01:39 -0700
From: "Sarah Kennedy (skennedy)" <
[email protected]>
X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.01 9000/730)
Mime-Version: 1.0
To:
[email protected]
Subject: DBD Oracle
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I have just installed DBI ver. 73 and DBD Oracle ver. 43 on HP-UX 09.01.
The install looked OK and the tests looked OK. Now I am trying my first
attempt at using DBI/DBD by taking the bind.pl program and trying to
execute it. I get the following error:
install_driver(Oracle) failed: Can't find loadable object for module
DBD::Oracle in @INC
(/net/hp7061/xd2/perl5003_build/opt/perl/lib/PA-RISC1.1/5.003
/net/hp7061/xd2/perl5003_build/opt/perl/lib
/net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl/PA-RISC1.1
/net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl .) at
/net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl/DBD/Oracle.pm line
24
DBI::install_driver called at
/net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl/Oraperl.pm line 57
require Oraperl.pm called at (eval 2) line 1
main::BEGIN called at
/net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl/Oraperl.pm line 0
eval {...} called at
/net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl/Oraperl.pm line 0
eval 'use Oraperl; 1
;' called at bind.pl line 10
BEGIN failed--compilation aborted at (eval 2) line 1.
------------------------------------------------------------
My code is:
1 #!/project/perl5003_test/perl
2
3 $ENV{ORACLE_HOME} = '/net/hp7029/xd1/users/oratest' unless
$ENV{ORACLE_HOME};
4 $ENV{TWO_TASK} = 't:hp7029:ecaep' unless $ENV{TWO_TASK};
5
6 $dbname = $ARGV[0] || ''; # $ENV{TWO_TASK} ||
$ENV{ORACLE_SID} || 'crgs';
7 $dbuser = $ENV{ORACLE_USERID} || 'oracle_user/pumpkin';
8
9 eval '$Oraperl::safe = 1' if $] >= 5;
10 eval 'use Oraperl; 1' || die $@ if $] >= 5;
11
12 &ora_version;
13
14 print "\nConnecting\n",
15 " to '$dbname' (from command line, else uses ORACLE_SID
or TWO_TASK - recommended)\n";
16 print " as '$dbuser' (via ORACLE_USERID env var or default -
recommend name/passwd\@dbname)\n";
17
18 printf("(ORACLE_SID='%s', TWO_TASK='%s')\n",
$ENV{ORACLE_SID}||'', $ENV{TWO_TASK}||'');
19
20 $lda = &ora_login('1', 'oracle_user', 'pumpkin') || die
$ora_errstr;
21
22 $csr = &ora_open($lda, 'select * from dat3 where group_id = :1')
|| die $ora_errstr;
23
24 while (<STDIN>)
25 {
26 chop;
27 &ora_bind($csr, $_) || die $ora_errstr;
28 if (($phone) = &orafetch($csr))
29 {
30 print "$phone\n";
31 }
32 else
33 {
34 die $ora_errstr if $ora_errno;
35 print "unknown\n";
36 }
37 }
38 &ora_close($csr);
39 &ora_logoff($lda);
Anyone have any ideas? Thanks.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18127-0@oink>;
Thu, 31 Oct 1996 16:40:44 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846749446:06157:5; Thu, 31 Oct 96 08:10:46 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa06110; 31 Oct 96 8:10 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id VAA10823 for dbi-users-real; Wed, 30 Oct 1996 21:27:38 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from bfs2.ug.cs.sunysb.edu (bfs2.ug.cs.sunysb.edu [129.49.15.4])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id VAA10819
for <
[email protected]>; Wed, 30 Oct 1996 21:27:36 -0800 (PST)
Received: from ws29.ug.cs.sunysb.edu (ws29.ug.cs.sunysb.edu [129.49.15.49])
by bfs2.ug.cs.sunysb.edu (8.7.5/8.6.9) with ESMTP id AAA17579
for <
[email protected]>; Thu, 31 Oct 1996 00:27:34 -0500 (EST)
Received: from localhost (man-huik@localhost)
by ws29.ug.cs.sunysb.edu (8.7.5/8.6.9) with SMTP id AAA13344
for <
[email protected]>; Thu, 31 Oct 1996 00:27:33 -0500 (EST)
Date: Thu, 31 Oct 1996 00:27:33 -0500 (EST)
From: kong man-hui <
[email protected]>
To:
[email protected]
Subject: moer info about sqlperl
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi:
I am a student who is taking a course about Web application. I am
currently developing an application which Perl and Ingres are involved. I
would like to know more about the DBI between Perl and
Ingres(sqlperl/ingperl). Would you please send me the DBI
package(sqlperl/ingperl) or direct me how to get more information.
Thank you.
Man-Hui Kong
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18127-17@oink>;
Thu, 31 Oct 1996 16:42:09 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846758489:15614:22; Thu, 31 Oct 96 10:41:29 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa15429; 31 Oct 96 10:40 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id WAA11001 for dbi-users-real; Wed, 30 Oct 1996 22:50:24 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from vf.wpafb.af.mil (vf.wpafb.af.mil [129.48.97.237])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id WAA10997
for <
[email protected]>; Wed, 30 Oct 1996 22:50:20 -0800 (PST)
From:
[email protected]
X-Nvlenv-01Date-Posted: 30-Oct-1996 10:49:23 -0500; at vf.F15
Date: 30 Oct 96 10:48:00 CDT
To:
[email protected]
Subject: test.pl not working
Message-Id: <00BF2D3001C6360C@-SMF->
Reply-To:
[email protected]
References: <01BF2D3002C6360C@-SMF->
I've successfully installed DBI Version 0.73 and DBD 0.40 and all make's and
make test's worked fine. When I try to run the following test.pl program to
test connecting to an oracle database, I get the following error.
Script started on Wed Oct 30 10:11:36 1996
# test.pl
Oraperl test application $Revision: 1.25 $
Error after this line
install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC at (eval
3) line 2.
DBI::install_driver called at Oraperl.pm line 62
require Oraperl.pm called at (eval 2) line 1
main::BEGIN called at Oraperl.pm line 0
eval {...} called at Oraperl.pm line 0
eval 'use Oraperl; 1
;' called at test.pl line 38
BEGIN failed--compilation aborted at (eval 2) line 1.
#
script done on Wed Oct 30 10:11:39 1996
I'm running Oracle 7.1 on an HP running HP-UX 10.10. I've read all that
I've found, the README, the web pages, FAQ... Here's the test.pl source
code below. It's a database connect and disconnect test program. Any ideas
why I can't locate DBD/Oracle.pm as the error suggests? Any help or
suggestions would be greatly appreciated.
Dean Nielson, F-15 MIS,
[email protected]
#!/usr/local/bin/perl -w
# $Id: test.pl,v 1.25 1996/10/15 02:19:14 timbo Exp $
#
# Copyright (c) 1995, Tim Bunce
#
# You may distribute under the terms of either the GNU General Public
# License or the Artistic License, as specified in the Perl README file.
require 'getopts.pl';
$| = 1;
print q{Oraperl test application $Revision: 1.25 $}."\n";
$SIG{__WARN__} = sub {
($_[0] =~ /^Bad free/) ? warn "See README about Bad free()
warnings!\n": warn @_;
};
$opt_d = 0; # debug
$opt_l = 0; # log
$opt_c = 5; # count for loops
$opt_m = 0; # count for mem leek test
$opt_p = 1; # test pl/sql code
&Getopts('m:d:c:lp ') || die "Invalid options\n";
$ENV{PERL_DBI_DEBUG} = 2 if $opt_d;
$ENV{ORACLE_HOME} = '/jcals/dmp/oracle' unless $ENV{ORACLE_HOME};
$dbname = $ARGV[0] || 't:137.244.160.179:cmis50'; # $ENV{TWO_TASK} ||
$ENV{ORACLE_SID} || 'crgs';
#$dbuser = $ENV{ORACLE_USERID} || 'scott/tiger';
$dbuser = $ENV{ORACLE_USERID} || 'nielsodc/nielsodc';
eval '$Oraperl::safe = 1' if $] >= 5;
print q{Error after this line}."\n";
eval 'use Oraperl; 1' || die $@ if $] >= 5;
print q{Oraperl test application $Revision: 1.25 $}."\n";
&ora_version;
print "\nConnecting\n",
" to '$dbname' (from command line, else uses ORACLE_SID or TWO_TASK -
recommended)\n";
print " as '$dbuser' (via ORACLE_USERID env var or default - recommend
name/passwd\@dbname)\n";
printf("(ORACLE_SID='%s', TWO_TASK='%s')\n", $ENV{ORACLE_SID}||'',
$ENV{TWO_TASK}||'');
{ # test connect works first
local($l) = &ora_login($dbname, $dbuser, '');
unless($l) {
warn "ora_login: $ora_errno: $ora_errstr\n";
# Try to help dumb users who don't know how to connect to
oracle...
warn "\nHave you set the environment variable ORACLE_USERID ?\n"
if ($ora_errno == 1017); # ORA-01017: invalid
username/password
warn "\nHave you included your password in ORACLE_USERID ? (e.g.,
'user/passwd')\n"
if ($ora_errno == 1017 and $dbuser !~ m:/:);
warn "\nHave you set the environment variable ORACLE_SID or
TWO_TASK?\n"
if ($ora_errno == 2700); # error translating ORACLE_SID
warn "\nORACLE_SID or TWO_TASK possibly not right, or server not
running.\n"
if ($ora_errno == 1034); # ORA-01034: ORACLE not
available
warn "\nTWO_TASK possibly not set correctly right.\n"
if ($ora_errno == 12545);
warn "\n";
warn "Try to connect to the database using an oracle tool like
sqlplus\n";
warn "only if that works should you suspect problems with
DBD::Oracle.\n";
warn "Try leaving dbname value empty and set dbuser to
name/passwd\@dbname.\n";
die "\nTest aborted.\n";
}
&ora_logoff($l) || warn "ora_logoff($l): $ora_errno:
$ora_errstr\n";
}
$start = time;
rename("test.log","test.olog") if $opt_l;
eval 'DBI->internal->{DebugLog} = "test.log";' if $opt_l;
&test3($opt_m) if $opt_m;
&test1();
print "\nTesting repetitive connect/open/close/disconnect:\n";
print "Expect sequence of digits, no other messages:\n";
#DBI->internal->{DebugDispatch} = 2;
foreach(1..$opt_c) { print "$_ "; &test2(); }
print "\n";
print "\nTest interaction of explicit close/logoff and implicit DESTROYs\n";
print "Expect just 'done.', no other messages:\n";
$lda2 = &ora_login($dbname, $dbuser, '');
$csr2 = &ora_open($lda2, "select 42 from dual") || die "ora_open:
$ora_errno: $ora_errstr\n";
&ora_close($csr2) || warn "ora_close($csr2): $ora_errno: $ora_errstr\n";
&ora_logoff($lda2) || warn "ora_logoff($lda2): $ora_errno: $ora_errstr\n";
print "done.\n";
&test3($opt_m) if $opt_m;
&test_plsql() if $opt_p;
$dur = time - $start;
print "\nTest complete ($dur seconds).\n";
print "If the tests above have produced the 'expected' output then they have
passed.\n";
exit 0;
sub test1 {
local($lda) = &ora_login($dbname, $dbuser, '')
|| die "ora_login: $ora_errno: $ora_errstr\n";
&ora_commit($lda) || warn "ora_commit($lda): $ora_errno:
$ora_errstr\n";
&ora_rollback($lda) || warn "ora_rollback($lda): $ora_errno:
$ora_errstr\n";
&ora_autocommit($lda, 1);
&ora_autocommit($lda, 0);
# Test ora_do with harmless non-select statement
&ora_do($lda, "set transaction read only ")
|| warn "ora_do: $ora_errno: $ora_errstr\n";
# DBI::dump_results($lda->tables());
# $lda->debug(2);
{
local($csr) = &ora_open($lda,
"select 11*7.2 num_t,
SYSDATE date_t,
USER char_t,
NULL null_t
from dual") || die "ora_open: $ora_errno: $ora_errstr\n";
print "Fields: ",scalar(&ora_fetch($csr)),"\n";
die "ora_fetch in scalar context error\n" unless &ora_fetch($csr)==4;
print "Names: '",join("',\t'", &ora_titles($csr)),"'\n";
print "Lengths: '",join("',\t'", &ora_lengths($csr)),"'\n";
print "Types: '",join("',\t'", &ora_types($csr)),"'\n";
print "Data rows:\n";
#$csr->debug(2);
while(@fields = &ora_fetch($csr)) {
warn "ora_fetch returned .".@fields." fields instead of 4!"
if (@fields!=4);
die "Perl list/scalar context error" if @fields==1;
$fields[3] = "NULL" unless defined $fields[3];
print " fetch: "; print "@fields\n";
}
&ora_close($csr) || warn "ora_close($csr): $ora_errno: $ora_errstr\n";
print "\n";
print "csr reassigned (forces destruction)...\n";
#$lda->debug(2);
$csr = &ora_open($lda,<<"") || die "ora_open: $ora_errno:
$ora_errstr\n";
select TABLE_NAME from ALL_TABLES
where TABLE_NAME like :1 and ROWNUM < 5
#$lda->debug(0);
print "Fetch list of tables:\n";
# print "BindParams error $csr->{BindParams}\n" unless
$csr->{BindParams}==1;
&ora_bind($csr, '%');
#DBI::dump_handle($lda, "lda");
#DBI::dump_handle($csr, "csr");
while(@fields = &ora_fetch($csr)){
print "Fetched: "; print "@fields\n";
}
warn "ora_fetch($csr): $ora_errno: $ora_errstr\n" if $ora_errno;
print "Test ora_do with harmless non-select statement ",
"(set transaction read only)\n";
# example: push(@{$lda->{Handlers}}, sub { die "ora_errno=$ora_errno" }
);
print "Expect error message:\n";
&ora_do($lda, "set transaction read only ")
|| warn "ora_do: $ora_errno: $ora_errstr\n";
print "csr out of scope...\n";
}
print "ora_logoff...\n";
&ora_logoff($lda) || warn "ora_logoff($lda): $ora_errno:
$ora_errstr\n";
print "lda out of scope...\n";
}
sub test2 {
local($l) = &ora_login($dbname, $dbuser, '')
|| die "ora_login: $ora_errno: $ora_errstr\n";
local($c) = &ora_open($l, "select 42,42,42,42,42,42,42 from dual")
|| die "ora_open: $ora_errno: $ora_errstr\n";
local(@row);
@row = &ora_fetch($c);
&ora_close($c) || warn "ora_close($c): $ora_errno: $ora_errstr\n";
&ora_logoff($l) || warn "ora_logoff($l): $ora_errno: $ora_errstr\n";
}
sub test3 {
local($count) = @_;
local($ps) = (-d '/proc') ? "ps -p " : "ps -l";
local($i) = 0;
while(++$i <= $count) {
system("echo $i; $ps$$") if (($i % 10) == 0);
&test2();
}
system("echo $i; $ps$$") if (($i % 10) == 0);
}
sub test_plsql {
print "\nTesting PL/SQL interaction.\n";
local($l) = &ora_login($dbname, $dbuser, '')
|| die "ora_login: $ora_errno: $ora_errstr\n";
my $c;
$c = &ora_open($l, q{
begin RAISE invalid_number; end;
});
# Expect ORA-01722: invalid number
die "ora_open: $ora_errstr" unless $ora_errno == 1722;
$c = &ora_open($l, q{
DECLARE FOO EXCEPTION;
begin raise foo; end;
});
# Expect ORA-06510: PL/SQL: unhandled user-defined exception
die "ora_open: $ora_errstr" unless $ora_errno == 6510;
$c = &ora_open($l, q{
begin raise_application_error(-20101,'app error'); end;
});
# Expect our exception number and error text
die "ora_open: $ora_errno $ora_errstr"
unless $ora_errno == 20101; # our exception number
die "ora_open: $ora_errstr"
unless $ora_errstr =~ m/app error/; # our exception text
$c = &ora_open($l, q{
declare err_num number; err_msg char(510);
begin
err_num := :1;
err_msg := :2;
raise_application_error(-20000-err_num, 'plus '||err_msg);
end;
}) || die "ora_open: $ora_errstr";
$c->execute(42,"my msg");
# Expect our exception number and error text
die "ora_open: $ora_errno $ora_errstr"
unless $ora_errno == 20042; # our exception
number
die "ora_open: $ora_errstr"
unless $ora_errstr =~ m/plus my msg/; # our exception text
print "Testing bind_param_inout. Expect '200', '3800', '75800':\n";
#$l->debug(2);
#DBI->internal->{DebugDispatch} = 2;
$c = &ora_open($l, q{
declare bar number;
begin bar := :1; bar := bar * 20; :1 := bar; end;
}) || die "ora_open: $ora_errstr";
$param = 10;
$c->bind_param_inout(1, \$param, 100) || die "bind_param_inout
$ora_errstr";
do {
$c->execute || die "execute $ora_errstr";
print "param='$param'\n";
$param -= 10;
} while ($param < 70000);
# To do
# test NULLs at first bind
# NULLS later binds.
# returning NULLS
# multiple params, mixed types and in only vs inout
# automatic rebind if location changes
}
# end.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18210-0@oink>;
Thu, 31 Oct 1996 16:49:26 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846780359:19743:80; Thu, 31 Oct 96 16:45:59 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa15886; 31 Oct 96 16:32 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id DAA11532 for dbi-users-real; Thu, 31 Oct 1996 03:19:48 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from limmat (limmat.switch.ch [130.59.4.30])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id DAA11528
for <
[email protected]>; Thu, 31 Oct 1996 03:19:43 -0800 (PST)
Message-Id: <
[email protected]>
Received: from limmat.switch.ch (actually limmat) by limmat with SMTP (PP);
Thu, 31 Oct 1996 12:19:25 +0100
X-Mailer: exmh version 1.6.9 8/22/96
To: John D Groenveld <
[email protected]>
cc:
[email protected]
Subject: Re: Oracle WebServer 3.0: Perl Cartridge
In-reply-to: Message from John D Groenveld <
[email protected]> of "Wed, 30 Oct 1996 10:58:36 -0500." <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 31 Oct 1996 12:19:23 +0100
From: Martin Berli <
[email protected]>
> Where can I find this white paper, its not in the Oracle (US) search engine?
I had a look at
http://tiburon.us.oracle.com/odp/public/library/cr/html/cr_white.html
but I didn't find it there. Our local Oracle support sent it to us via fax.
They say they have it "downloaded from Oracle". So it must be around somewhere.
If you don't find it, ask Oracle for
Oracle WebServer 3.0
An Oracle White Paper
November 1996
Martin
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-24@oink>;
Fri, 1 Nov 1996 07:38:35 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846798247:23040:4331; Thu, 31 Oct 96 21:44:07 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa00816; 31 Oct 96 20:49 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id IAA11930 for dbi-users-real; Thu, 31 Oct 1996 08:37:49 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from bnr.ca (x400gate.nortel.ca [192.58.194.73])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id IAA11926
for <
[email protected]>; Thu, 31 Oct 1996 08:37:46 -0800 (PST)
X400-Received: by mta bnr.ca in /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
Thu, 31 Oct 1996 10:54:20 -0500
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
Thu, 31 Oct 1996 10:53:28 -0500
X400-Received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed;
Thu, 31 Oct 1996 10:53:00 -0500
Date: Thu, 31 Oct 1996 10:53:00 -0500
X400-Originator: /dd.id=0505099/g=iain/i=j/s=bennett/@bnr.ca
X400-MTS-Identifier: [/PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/;bcars520.b.943:31.09.96.15.53.28]
X400-Content-Type: P2-1984 (2)
Content-Identifier: DBD::Oracle a...
From: "iain (j.) bennett" <
[email protected]>
Message-ID: <"3964 Thu Oct 31 10:53:36 1996"@bnr.ca>
To:
[email protected]
Cc:
[email protected]
Subject: DBD::Oracle and procedures
Hi Tim,
Bob Altherr and I have a few questions regarding DBD::Oracle and running
stored procedures from Oracle.
How do you do it? We were trying the following code:
local($cursor) = $dbh->call_func('_proc',"mfsapp.esd_download_flagging"
, ($user_greeting, $product_code, $exec_status, $exec_message));
Now $exec_status and $exec_message are return values which of course are
not supported under the current driver we are using which is DBD-Oracle-0.37
with DBI-0.71.
We've just tried do download 0.38 of DBD:Oracle and there is a server error.
Please help!
-Iain Bennett
Global Support Processes Co-op
NORTEL - Northern Telecom
+1.613.723.4000 x 7078
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-27@oink>;
Fri, 1 Nov 1996 07:39:04 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846798416:07006:7574; Thu, 31 Oct 96 21:46:56 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa18747; 31 Oct 96 21:33 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA12356 for dbi-users-real; Thu, 31 Oct 1996 10:55:26 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from vortex.uplanet.com (host-165-3.uplanet.com [204.163.165.3])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA12352
for <
[email protected]>; Thu, 31 Oct 1996 10:55:24 -0800 (PST)
Received: from yoga.uplanet.com by vortex.uplanet.com (SMI-8.6/SMI-SVR4)
id KAA28600; Thu, 31 Oct 1996 10:55:20 -0800
Received: by yoga.uplanet.com (SMI-8.6/SMI-SVR4) id KAA27478;
Thu, 31 Oct 1996 10:55:17 -0800
Date: Thu, 31 Oct 1996 10:55:17 -0800
From:
[email protected] (Hamilton H.)
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Number of Rows selected
X-Sun-Charset: US-ASCII
I am using DBI/DBD::Oracle and trying to get the number of rows
selected in an execute statement. The documentation says that
$db_rows should contain this and it doesn't. Also, it says that
the return value from execute should contain the number of rows
but instead it contains 0E0. I'm sure a number of you have stumbled
across this. Can you tell me how to get the number of rows after
doing a select inside an execute? Thank you very much.
Hamilton Hitchings
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-32@oink>;
Fri, 1 Nov 1996 07:39:37 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846799709:26483:5228; Thu, 31 Oct 96 22:08:29 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23787; 31 Oct 96 21:46 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA12408 for dbi-users-real; Thu, 31 Oct 1996 11:19:20 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id LAA12404
for <
[email protected]>; Thu, 31 Oct 1996 11:19:16 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id at22817;
31 Oct 96 18:20 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab19164; 31 Oct 96 18:16 GMT
Received: from toad by oink with SMTP (PP) id <19414-0@oink>;
Thu, 31 Oct 1996 17:34:17 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA09202;
Thu, 31 Oct 1996 17:34:10 +0000
Date: Thu, 31 Oct 1996 17:34:10 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: DBD Oracle
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: "Sarah Kennedy (skennedy)" <
[email protected]>
>
> I have just installed DBI ver. 73 and DBD Oracle ver. 43 on HP-UX 09.01.
> The install looked OK and the tests looked OK. Now I am trying my first
> attempt at using DBI/DBD by taking the bind.pl program and trying to
> execute it. I get the following error:
>
> install_driver(Oracle) failed: Can't find loadable object for module
> DBD::Oracle in @INC
> (/net/hp7061/xd2/perl5003_build/opt/perl/lib/PA-RISC1.1/5.003
> /net/hp7061/xd2/perl5003_build/opt/perl/lib
> /net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl/PA-RISC1.1
> /net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl .) at
> /net/hp7061/xd2/perl5003_build/opt/perl/lib/site_perl/DBD/Oracle.pm line
> 24
Did you actually 'make install' it? If so where did it copy the files to?
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-34@oink>;
Fri, 1 Nov 1996 07:39:47 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846800459:07300:16; Thu, 31 Oct 96 22:20:59 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab17618; 31 Oct 96 21:30 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id JAA11997 for dbi-users-real; Thu, 31 Oct 1996 09:11:28 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from mailhost.deagostini.co.uk (mailhost.deagostini.co.uk [194.128.193.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id JAA11993
for <
[email protected]>; Thu, 31 Oct 1996 09:11:20 -0800 (PST)
Received: from smtp-gw.deagostini.co.uk
by mailhost.deagostini.co.uk (8.6.9/PIPEX simple 1.12) id RAA12605;
Thu, 31 Oct 1996 17:46:17 GMT
Received: from ccMail
by smtp-gw.deagostini.co.uk (IMA Internet Exchange 2.02 Enterprise)
id 278E5A10; Thu, 31 Oct 96 17:45:05 +0000
Mime-Version: 1.0
Date: Thu, 31 Oct 1996 16:46:13 +0000
Message-ID: <
[email protected]>
From:
[email protected] (Ultan O'Carroll)
Subject: Perl5.003 build on HP-UX 10.01
To:
[email protected],
[email protected]
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Description: cc:Mail note part
Hello Tim,
I hope you can help or give me some suggestions.
Im trying to compile 5.003 up on HP-UX 10.01 with standard cc compiler
so that I can use DBI/DBD with Oracle 7.2. I did have 5.002 but the
DBD make told me to get 5.003 or later.
I ran the Configure script and it seemed to recognise everything OK.
Told it to create dynamic loader but statically link extensions.
Compiled OK. tested OK. installed OK.
Now Im trying to compile and install the DBI. After succesfully
running 'perl Makefile.PL' 'make' drops out with the following error :
Remember to actually *read* the README file!
Build, TEST and INSTALL Perl 5 first. Use version 5.002beta2 or
later.
DO NOT build the DBI under the Perl source tree.
Use 'make test' to execute self tests.
Install DBI (using 'make install' before building DBD::* drivers.
MakeMaker (v5.34)
Checking if your kit is complete...
Looks good
NAME => q[DBI]
PREREQ_PM => { }
VERSION_FROM => q[DBI.pm]
clean => { FILES=>q[$(DISTVNAME)/] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist],
PREOP=>q[$(MAKE) -f Makefile.old distdir] }
Using PERL=/opt/perl5/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
cp DBIXS.h ./blib/arch/DBI/DBIXS.h
cp DBI.pm ./blib/lib/DBI.pm
cp lib/DBD/NullP.pm ./blib/lib/DBD/NullP.pm
cp lib/DBD/Sponge.pm ./blib/lib/DBD/Sponge.pm
cp lib/DBD/ExampleP.pm ./blib/lib/DBD/ExampleP.pm
/opt/perl5/bin/perl -I/opt/perl5/lib/PA-RISC1.1/5.003
-I/opt/perl5/lib /opt/perl5/lib/ExtUtils/xsubpp -typemap
/opt/perl5/lib/ExtUtils/typemap DBI.xs >DBI.tc && mv DBI.tc DBI.c
cc -c -DJMPCLOBBER -O -DVERSION=\"0.73\"
-DXS_VERSION=\"0.73\" +z -I/opt/perl5/lib/PA-RISC1.1/5.003/CORE DBI.c
(Bundled) cc: warning 480: The -O option is available only with the
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +z option is available only with the
C/ANSI C product; ignored.
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
LD_RUN_PATH="" ld -o ./blib/arch/auto/DBI/DBI.sl -dy
-L/usr/local/lib DBI.o
ld: Unsatisfied symbols:
Perl_markstack_max (data)
__iob (data)
$global$ (data)
Perl_sv_2pv (code)
memset (code)
Perl_Sv (data)
Perl_sv_setsv (code)
Perl_hv_fetch (code)
Perl_sv_magic (code)
Perl_sv_setiv (code)
Perl_sv_dump (code)
Perl_warn (code)
isprint (code)
Perl_markstack_ptr (data)
strcpy (code)
Perl_sv_no (data)
Perl_sv_catpvn (code)
Perl_newRV (code)
fclose (code)
strlen (code)
perl_call_method (code)
Perl_savepv (code)
Perl_newAV (code)
strncmp (code)
dirty (data)
Perl_sv_yes (data)
Perl_op (data)
strcmp (code)
fprintf (code)
perl_get_sv (code)
Perl_sv_backoff (code)
Perl_gv_stashpv (code)
Perl_sv_undef (data)
Perl_newSV (code)
Perl_sv_2iv (code)
strcat (code)
Perl_sv_bless (code)
Perl_stack_grow (code)
Perl_av_store (code)
Perl_newSVsv (code)
Perl_sv_newmortal (code)
Perl_sv_catpv (code)
strerror (code)
Perl_gv_fetchmethod (code)
Perl_sv_mortalcopy (code)
Perl_na (data)
malloc (code)
Perl_sv_setpv (code)
isspace (code)
fopen (code)
Perl_croak (code)
Perl_Xpv (data)
sprintf (code)
Perl_sv_2bool (code)
Perl_sv_2mortal (code)
Perl_newXS (code)
Perl_markstack_grow (code)
Perl_av_fetch (code)
setbuf (code)
Perl_stack_sp (data)
runlevel (data)
perl_destruct_level (data)
Perl_dowantarray (code)
perl_call_sv (code)
Perl_mg_find (code)
Perl_gv_fetchpv (code)
Perl_sv_free (code)
Perl_stack_base (data)
Perl_av_len (code)
Perl_stack_max (data)
Perl_newSVpv (code)
Perl_newSViv (code)
ld: No $UNWIND_END$ subspace has been defined (probably missing
/usr/ccs/lib/crt0.o)
*** Error exit code 1
Stop.
Iv also tried it with static loading and the DBI has compiled but the
DBD wont saying that I either recompile with dynamic loading. I cant
win :(.
Any hints please ? Thanks in advance
Ultan OCarroll
Systems Consultant
God Bless Perl.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-45@oink>;
Fri, 1 Nov 1996 07:42:22 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846805985:07300:4001; Thu, 31 Oct 96 23:53:05 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa18997; 31 Oct 96 21:34 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA12292 for dbi-users-real; Thu, 31 Oct 1996 10:41:35 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id KAA12286
for <
[email protected]>; Thu, 31 Oct 1996 10:41:30 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ab24667;
31 Oct 96 16:41 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa02997; 31 Oct 96 16:40 GMT
Received: from toad by oink with SMTP (PP) id <17417-0@oink>;
Thu, 31 Oct 1996 11:05:33 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA07165;
Thu, 31 Oct 1996 11:05:25 +0000
Date: Thu, 31 Oct 1996 11:05:25 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Oracle WebServer 3.0: Perl Cartridge
Cc:
[email protected]
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: Kevin Stock <
[email protected]>
>
> Martin Berli wrote:
> >
> > Just read this in a "White Paper" from Oracle:
> >
> > > Perl Cartridge
> > >
> > > Perl is an extremely popular development language for deploying complex,
> > > robust applications that require different types of information from
> > > different sources. In Oracle WebServer 3.0, the Perl cartridge allows
> > > developers to use their existing Perl code through the Web Request Broker
> > > Architecture.
> >
> > Does anyone know more about that? Could this be in concurrence with Oraperl?
>
> Some time ago, Oracle announced that they were making available a
> package of unsupported tools for Oracle Web access. These included
> Oraperl v2.4 (BTW, this was shortly after I described Oraperl during
> a job interview at Oracle, and was informed "we use our own tools"!).
> Perhaps they've added DBI/DBD to the current version.
I'd certainly be interested in finding out.
Can anyone check?
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-51@oink>;
Fri, 1 Nov 1996 07:42:59 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846806980:04558:5313; Fri, 01 Nov 96 00:09:40 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19573; 31 Oct 96 22:51 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA12491 for dbi-users-real; Thu, 31 Oct 1996 11:44:11 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from gw.home.vix.com (gw.home.vix.com [192.5.5.1])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA12487
for <
[email protected]>; Thu, 31 Oct 1996 11:44:09 -0800 (PST)
Received: by gw.home.vix.com id LAA11517; Thu, 31 Oct 1996 11:44:05 -0800 (PST)
X-btw: vix.com is also gw.home.vix.com and vixie.sf.ca.us
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id aa22931;
31 Oct 96 18:21 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ae19164; 31 Oct 96 18:17 GMT
Received: from toad by oink with SMTP (PP) id <19471-0@oink>;
Thu, 31 Oct 1996 17:39:27 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA09276;
Thu, 31 Oct 1996 17:39:20 +0000
Date: Thu, 31 Oct 1996 17:39:20 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: test.pl not working
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From:
[email protected]
>
> I've successfully installed DBI Version 0.73 and DBD 0.40 and all make's and
> make test's worked fine. When I try to run the following test.pl program to
> test connecting to an oracle database, I get the following error.
>
> Script started on Wed Oct 30 10:11:36 1996
> # test.pl
Don't run test.pl by hand. Always run 'make test' as directed in the README.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-53@oink>;
Fri, 1 Nov 1996 07:43:12 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846807272:20536:25; Fri, 01 Nov 96 00:14:32 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab20755; 31 Oct 96 22:54 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA12462 for dbi-users-real; Thu, 31 Oct 1996 11:36:27 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from huey.disney.com (
[email protected] [204.128.192.10])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA12458
for <
[email protected]>; Thu, 31 Oct 1996 11:36:24 -0800 (PST)
Received: from ford.wdi.disney.com. (ford.wdi.disney.com [139.104.100.2])
by huey.disney.com (8.7.5/8.7.3) with SMTP id LAA03091
for <
[email protected]>; Thu, 31 Oct 1996 11:36:21 -0800 (PST)
Received: from wdigl000.is.wdi.disney.com
by ford.wdi.disney.com.<
[email protected]> with SMTP
id AA13785 (5.65c/IDA-1.4.3 for
[email protected]);
Thu, 31 Oct 1996 12:30:50 -0700
Received: by wdigl000.is.wdi.disney.com with Microsoft Exchange (IMC 4.0.837.3)
id <
[email protected]>;
Thu, 31 Oct 1996 11:40:10 -0800
Message-Id: <c=US%a=_%p=Disney%
[email protected]>
From: "McAdams, Bill D." <
[email protected]>
To: "'
[email protected]'" <
[email protected]>,
"'
[email protected]'" <
[email protected]>, 'Tim Bunce' <
[email protected]>
Cc: "'
[email protected]'" <
[email protected]>
Subject: RE: Oracle WebServer 3.0: Perl Cartridge
Date: Thu, 31 Oct 1996 11:36:01 -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: quoted-printable
>
>>> Some time ago, Oracle announced that they were making available a
>>> package of unsupported tools for Oracle Web access. These included
>>> Oraperl v2.4 (BTW, this was shortly after I described Oraperl during
>>> a job interview at Oracle, and was informed "we use our own =
tools"!).
>>> Perhaps they've added DBI/DBD to the current version.
>>
>>I'd certainly be interested in finding out.
>>
>>Can anyone check?
>>
>>Tim.
From:
http://www.oracle.com/corporate/press/html/sdkrel.html
ORACLE UNVEILS WORLD WIDE WEB INTERFACE KIT
Kit Enables Developers to Bring the Power of Oracle7 to the World Wide
Web
SAN FRANCISCO, Feb. 7, 1995 Oracle Corp. today announced the immediate=20
availability of the Oracle World Wide Web Interface Kit which enables
developers=20
and World Wide Web server administrators to tightly integrate Oracle7
databases=20
with Web servers. The Kit, available free of charge on the Internet,
includes real-life=20
examples of linked Oracle7 databases with Web servers created by Web
developers=20
from around the world. Also included is a powerful Oracle gateway for
Web servers,=20
which translates Oracle standard database language (PL/SQL) to
Internet-standard=20
language (HTML).
"Handling large quantities of documents and meta-data in a flat file
system is just=20
not very attractive," said Bjorn Elliasson, Technical Manager for
Molnlycke Corp.=20
"By using Oracle7 as a standard repository, we know that our information
is safe=20
and accessible."
Using the Kit, developers can now create links between Web servers and
Oracle7=20
databases to bring to the Internet exciting new services and information
systems.=20
Potential uses for the Kit include the capability to make Oracle7
databases accessible=20
to users of Web servers, as well as enabling new applications that
integrate Web server
transactions into existing business processes using Oracle7 databases.
"Many of our customers have shown interest in interfacing Oracle7 with a
Web server,=20
so we're making this kit available to give them a helping hand," said
Mark Jarvis,=20
senior director of network products for Oracle Corp. "With minimal
effort, our customers=20
can now integrate Web servers into their existing Oracle7 database
applications
to bring a whole new way of displaying, browsing and manipulating data.
It brings about=20
a new way of doing business and nicely ties the corporate data
environment into the Internet."
"Our developers are fascinated. They know how to write PL/SQL, so
implementing=20
advanced World Wide Web gateways is no harder than writing a simple
procedure,"=20
said Peter Nystrom, Information Systems Analyst at Molnlycke.
The modules in the Oracle WWW Interface Kit include the following:
Oracle's Web-Oracle-Web (WOW) PL/SQL gateway to Web servers=20
Oracle's PL/SQL Editor and Development tool for the creation of
dynamic PL/SQL code=20
ORAYWWW, a PERL gateway contributed by Mr. Arthur Yasinski of the
Department of Natural Resources,
Canadian Forest Service=20
WORA, a user-friendly database browser written in Pro*C by
Constantine Ocarinets of JINR, Russia=20
DECOUX, a post-processing gateway that inserts query results from an
Oracle7 database into HTML
documents. DECOUX was contributed by Guy Decoux of France.=20
Navigator, a collection of PERL scripts and one Pro*C module that
allows administrators to quickly configure
HTML forms for end-user queries of Oracle7 databases. This gateway was
contributed by Rick Hudson of the
University of Massachusetts.=20
Text Search System (TSS), a full-scale indexing and free-text search
system contributed by Peter Larsson of
Astrakan, Sweden.=20
MORE, a collection of Pro*C gateways for maintaining an information
repository contributed
by David Eichmann of the University of Texas=20
HotMetal, an HTML editor from SoftQuad=20
PERL, a freeware interpreting programming language developed by Larry
Wall=20
ORAPERL, an extension to PERL for use with Oracle7 databases
including user exits developed by Kevin
Stock=20
For more information about Oracle, please contact Oracle's headquarters
in Redwood Shores, Calif. at (415)
506-7000. Oracle's World Wide Web server address is
http://WWW.oracle.com/=20
Copyright =A9 1996 Oracle Corporation. All Rights Reserved.=20
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-82@oink>;
Fri, 1 Nov 1996 07:46:50 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846815386:24039:12; Fri, 01 Nov 96 02:29:46 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa23970; 1 Nov 96 2:29 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id PAA13021 for dbi-users-real; Thu, 31 Oct 1996 15:55:09 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-4.mail.demon.net (relay-4.mail.demon.net [158.152.1.108])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id PAA13017
for <
[email protected]>; Thu, 31 Oct 1996 15:55:06 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-4.mail.demon.net id ak22863;
31 Oct 96 18:21 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ad19164; 31 Oct 96 18:17 GMT
Received: from toad by oink with SMTP (PP) id <19440-0@oink>;
Thu, 31 Oct 1996 17:37:30 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA09253;
Thu, 31 Oct 1996 17:37:24 +0000
Date: Thu, 31 Oct 1996 17:37:24 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: moer info about sqlperl
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: kong man-hui <
[email protected]>
>
> Hi:
> I am a student who is taking a course about Web application. I am
> currently developing an application which Perl and Ingres are involved. I
> would like to know more about the DBI between Perl and
> Ingres(sqlperl/ingperl). Would you please send me the DBI
> package(sqlperl/ingperl) or direct me how to get more information.
> Thank you.
> Man-Hui Kong
There is no Perl5 interface for Ingres.
The perl4 ingperl can be found on any CPAN site (use a web search).
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <21925-101@oink>;
Fri, 1 Nov 1996 07:49:44 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846822797:17514:8; Fri, 01 Nov 96 04:33:17 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa17433; 1 Nov 96 4:32 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id SAA13345 for dbi-users-real; Thu, 31 Oct 1996 18:07:43 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from cs.sunysb.edu (sbcs.sunysb.edu [130.245.1.15])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id SAA13341
for <
[email protected]>; Thu, 31 Oct 1996 18:07:40 -0800 (PST)
Received: from sbgrad10.csdept (sbgrad10.cs.sunysb.edu [130.245.2.19])
by cs.sunysb.edu (8.6.12/8.6.9) with SMTP id VAA17244
for <
[email protected]>; Thu, 31 Oct 1996 21:14:18 -0500
From: cse532 student <
[email protected]>
Message-Id: <
[email protected]>
Subject: Getting started : Running test.pl with the dbi...
To:
[email protected]
Date: Thu, 31 Oct 1996 21:05:24 +1900 (EST)
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hello Somebody,
I am trying to get the test.pl program running. I tons of error
messages, and cant find the documentation thats listed in the web page
(perldoc Oraperl) . I am probably doing something very stupid.
Can someone tell me where I can get some documentation to shuffle
through?
THanks,
Sincerely,
Mike Pukmel
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25798-10@oink>;
Fri, 1 Nov 1996 18:01:42 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846853123:11321:5114; Fri, 01 Nov 96 12:58:43 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa14571; 1 Nov 96 12:44 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id CAA13964 for dbi-users-real; Fri, 1 Nov 1996 02:00:18 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from mikigw2.paris-miki.co.jp (mikigw2.paris-miki.co.jp [160.233.40.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id BAA13953
for <
[email protected]>; Fri, 1 Nov 1996 01:59:48 -0800 (PST)
Received: (from takami@localhost)
by mikigw2.paris-miki.co.jp (8.6.12+2.4W/3.3W9-LOCAL_VERSION=NEC)
id SAA23929 for
[email protected]; Fri, 1 Nov 1996 18:56:49 +0900
Date: Fri, 1 Nov 1996 18:56:49 +0900
From: "K.Takami" <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: I can't pass 'make test' on DBD-Oracle-0.42
Hi Greetings!
I knew the DBD-Oracle-0.42 came into being.
I downloaded it and tried to make. I finished making, however,
I can't pass completely 'make test'.
My Environment:
Machine: NEC EWS4800/310PX (Mips chip R4400)
OS: SVR4.2
perl:
Summary of my perl5 (5.0 patchlevel 3 subversion 0) configuration:
Platform:
osname=svr4, osver=, archname=R4000-svr4
uname='unix_sv cgewsf 4.2mp 1.release.1025.08:24 r4000 r4000 '
hint=previous, useposix=true, d_sigaction=define
Compiler:
cc='/usr/abiccs/bin/cc', optimize='-O', gccversion=
cppflags='-I/usr/include'
ccflags ='-I/usr/include'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=1, d_casti32=define, d_castneg=
intsize=4, alignbytes=8, usemymalloc=y, randbits=15
Linker and Libraries:
ld='/usr/abiccs/bin/cc', ldflags ='-L/usr/abiccs/lib'
libpth=/usr/abiccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
libc=/usr/abiccs/lib/libc.so, so=so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags='-ZXNd=5000 -KOlimit=3000'
cccdlflags=' ', lddlflags='-G -L/usr/abiccs/lib'
INC: /usr/local/lib/perl5/R4000-svr4/5.003 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/R4000-svr4 /usr/local/lib/perl5/site_perl .
DBI-0.71(make ok, make test ok, make install ok)
DBD-Oracle-0.42(make ok)
the following is messages when making test:
ARGV;' t/*.t
t/base..............ok
All tests successful.
Files=1, Tests=5, 6 secs ( 0.83 cusr 0.61 csys = 1.44 cpu)
PERL_DL_NONLAZY=1 /usr/local/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/lib/perl5/R4000-svr4/5.003 -I/usr/local/lib/perl5 test.pl
Oraperl test application $Revision: 1.26 $
Oraperl Emulation Interface version 1.30
Oracle Driver 0.42
DBI-0.71 Switch by Tim Bunce, version 0.71
Connecting
to '' (from command line, else uses ORACLE_SID or TWO_TASK - recommended)
dbname)
(ORACLE_SID='ORASAMP', TWO_TASK='')
Testing row cache (5).
Test completed in 1 seconds.
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 01-NOV-96 SCOTT NULL
csr reassigned (forces destruction)...
Fetch list of tables:
Fetched: DUAL
Fetched: SYSTEM_PRIVILEGE_MAP
Fetched: TABLE_PRIVILEGE_MAP
Fetched: STMT_AUDIT_OPTION_MAP
ora_fetch(DBI::st=HASH(0x583f20)): 1: ORA-00001: unique constraint (.) violated (DBD: ofetch error)
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.
Testing PL/SQL interaction.
Testing bind_param_inout. Expect '200', '3800', '75800':
Can't locate object method "bind_param_inout" via package "DBI::st" at test.pl line 289.
*** Error code 2 (bu21)
make: fatal error.
Please give me some advices.
Thank you in advance.
-------------------
Takami Keiichi
(
[email protected])
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25798-43@oink>;
Fri, 1 Nov 1996 18:04:41 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846863516:13093:9591; Fri, 01 Nov 96 15:51:56 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab01500; 1 Nov 96 15:13 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id EAA14183 for dbi-users-real; Fri, 1 Nov 1996 04:41:34 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id EAA14179
for <
[email protected]>; Fri, 1 Nov 1996 04:41:32 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ad29436;
1 Nov 96 10:38 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ab01444; 1 Nov 96 10:37 GMT
Received: from toad by oink with SMTP (PP) id <24598-0@oink>;
Fri, 1 Nov 1996 10:37:22 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11515;
Fri, 1 Nov 1996 10:37:10 +0000
Date: Fri, 1 Nov 1996 10:37:10 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Getting started : Running test.pl with the dbi...
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: cse532 student <
[email protected]>
>
> Hello Somebody,
> I am trying to get the test.pl program running.
Don't try. Do 'make test' instead.
> I tons of error
> messages, and cant find the documentation thats listed in the web page
> (perldoc Oraperl) . I am probably doing something very stupid.
> Can someone tell me where I can get some documentation to shuffle
> through?
The README and pod text in Oraperl.pm.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25798-12@oink>;
Fri, 1 Nov 1996 18:01:55 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846853166:11320:4644; Fri, 01 Nov 96 12:59:26 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa14773; 1 Nov 96 12:45 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id CAA14018 for dbi-users-real; Fri, 1 Nov 1996 02:40:53 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from bsfiles.nerc-bas.ac.uk (bsfiles.nerc-bas.ac.uk [192.171.137.25])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id CAA14014
for <
[email protected]>; Fri, 1 Nov 1996 02:40:46 -0800 (PST)
Received: from bssmlsa.nerc-bas.ac.uk
by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id KAA04498;
Fri, 1 Nov 1996 10:39:33 GMT
Date: Fri, 1 Nov 1996 10:39:33 +0000 (GMT)
From: Andy Wood <
[email protected]>
Reply-To: Andrew G Wood <
[email protected]>
To: "K.Takami" <
[email protected]>
cc:
[email protected]
Subject: Re: I can't pass 'make test' on DBD-Oracle-0.42
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Fri, 1 Nov 1996, K.Takami wrote:
> From: "K.Takami" <
[email protected]>
> To:
[email protected]
> Subject: I can't pass 'make test' on DBD-Oracle-0.42
>
>
> Hi Greetings!
>
> I knew the DBD-Oracle-0.42 came into being.
> I downloaded it and tried to make. I finished making, however,
> I can't pass completely 'make test'.
>
There are known problems with DBD-Oracle-0.42 ..... upgrade to
DBD-Oracle-0.43 and all should work fine.
Andy.
+--------------------------------------------+
| Dr Andy Wood, Database Administrator |
| British Antarctic Survey |
| High Cross, Madingley Road +----------------------------------+
| Cambridge, CB3 0ET, UK |
[email protected] |
| +44 (0) 1223 361188 |
[email protected] |
+-----------------------------------------|
[email protected] |
+----------------------------------+
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <25798-21@oink>;
Fri, 1 Nov 1996 18:02:38 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846855466:11320:5998; Fri, 01 Nov 96 13:37:46 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab27991; 1 Nov 96 13:29 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id DAA14062 for dbi-users-real; Fri, 1 Nov 1996 03:07:20 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id DAA14058
for <
[email protected]>; Fri, 1 Nov 1996 03:07:17 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id ad29940;
1 Nov 96 10:43 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id ac00242; 1 Nov 96 10:34 GMT
Received: from toad by oink with SMTP (PP) id <24414-0@oink>;
Fri, 1 Nov 1996 10:16:07 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA11444;
Fri, 1 Nov 1996 10:15:59 +0000
Date: Fri, 1 Nov 1996 10:15:59 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Number of Rows selected
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From:
[email protected] (Hamilton H.)
>
> I am using DBI/DBD::Oracle and trying to get the number of rows
> selected in an execute statement. The documentation says that
> $db_rows should contain this and it doesn't. Also, it says that
> the return value from execute should contain the number of rows
> but instead it contains 0E0. I'm sure a number of you have stumbled
> across this. Can you tell me how to get the number of rows after
> doing a select inside an execute? Thank you very much.
>
> Hamilton Hitchings
>
[email protected]
>
"the documentation" isn't the documentation.
Use the 'perdoc Oraperl' command to read the documentation.
I'd be interested to know where your got your "documentation" and
how you interpreted the warning on the title page.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-2@oink>;
Mon, 4 Nov 1996 07:36:10 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846873275:11321:15926; Fri, 01 Nov 96 18:34:35 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ab28440; 1 Nov 96 16:30 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id FAA14278 for dbi-users-real; Fri, 1 Nov 1996 05:43:16 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from chewbacca.hermetica.com (
[email protected] [158.152.33.215])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id FAA14274
for <
[email protected]>; Fri, 1 Nov 1996 05:43:10 -0800 (PST)
From:
[email protected]
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12)
id NAA26053; Fri, 1 Nov 1996 13:40:21 GMT
Message-Id: <
[email protected]>
Subject: DBD::Informix future
To:
[email protected]
Date: Fri, 1 Nov 1996 13:40:17 +0000 (GMT)
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
Due to an impending job change, I shall not have access to Informix databases
for the foreseeable future, which means there will be *no* further updates on
the DBD::Informix driver.
If anyone wishes to take maintenance of this module on, please email me.
A.
--
Alligator Descartes |
[email protected] | "Lobey's the Wee Boy!" -- Bud Neill
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-87@oink>;
Mon, 4 Nov 1996 07:46:24 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846895030:11321:33661; Sat, 02 Nov 96 00:37:10 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ad16656; 1 Nov 96 23:28 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id MAA15132 for dbi-users-real; Fri, 1 Nov 1996 12:17:47 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id MAA15128
for <
[email protected]>; Fri, 1 Nov 1996 12:17:37 -0800 (PST)
Received: from jovial.cse.psu.edu (
[email protected] [130.203.10.24])
by cse.psu.edu (8.7.5/8.7.3) with ESMTP id PAA18543;
Fri, 1 Nov 1996 15:17:45 -0500 (EST)
Message-Id: <
[email protected]>
X-Mailer: exmh version 1.6.9 8/22/96
X-uri: <URL:
http://www.cse.psu.edu/~groenvel/>
X-work-address: Manufacturing Technology - Systems Development Group PO Box 30
The Applied Research Lab State College, PA 16804
X-work-phone: +1 814 863 9896 (Voice) +1 814 863 1183 (Fax)
To: Martin Berli <
[email protected]>
cc:
[email protected]
Subject: Re: Oracle WebServer 3.0: Perl Cartridge
In-reply-to: Your message of "Tue, 29 Oct 1996 20:26:43 +0100." <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 01 Nov 1996 15:16:23 EST
From: John D Groenveld <
[email protected]>
> Just read this in a "White Paper" from Oracle:
>
> > Perl Cartridge
> >
> > Perl is an extremely popular development language for deploying complex,
> > robust applications that require different types of information from
> > different sources. In Oracle WebServer 3.0, the Perl cartridge allows
> > developers to use their existing Perl code through the Web Request Broker
> > Architecture.
>
> Does anyone know more about that? Could this be in concurrence with Oraperl?
>
> Martin
Other favorite quotes from Oracle WebServer 3.0--An Oracle White Paper
(November 1996):
"It [Oracle WebServer 3.0] is a unifying architecture, bringing together the
Web with client/server, bridging distinct object architectures, and unifying
diverse Web server API's"
"Oracle WebServer works with the supplied Spyglass listener and also supports
Netscape, Microsoft, and Apache servers."
I love this stuff--its not your father's C/S anymore. Now lets make Oracle
stick to its word.
BTW: My SE also sent me WebServer 3.0 Transactions (Larry Jacobs September
1996) and a draft of Oracle WebServer 3.0-- Web Request Broker API (September
1996)
Have a great day!
John
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-99@oink>;
Mon, 4 Nov 1996 07:47:36 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846896664:13093:36121; Sat, 02 Nov 96 01:04:24 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id ae05804; 2 Nov 96 0:43 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id NAA15316 for dbi-users-real; Fri, 1 Nov 1996 13:55:27 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from medusa (medusa.ed.atl.sita.int [57.4.76.13])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA15312
for <
[email protected]>; Fri, 1 Nov 1996 13:55:23 -0800 (PST)
Received: from tayebd by medusa (8.6.10/SMI-SVR4) id QAA00940;
Fri, 1 Nov 1996 16:54:45 -0500
Date: Fri, 1 Nov 96 16:48:13 PST
From: Tayeb Damerji <
[email protected]>
Subject: Error in prepare using Informix DBD
To:
[email protected]
X-Mailer: Chameleon ARM_55, TCP/IP for Windows, NetManage Inc.
Message-ID: <Chameleon.961101165551.tayebd@tayebd>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
I am using the Informix DBD 0.24 with Informix 5. I am trying to use a
cursor to perform a query involving 4 tables and a number of columns. The
query is pretty large and it executes properly when run through the ACE
tool. The error message that I get after calling:
( $cursor = $dbh->prepare( "SELECT cs.customer_code,
cs.prod_id,
cs.prod_name,
cu.customer_name,
.
the error is:
Column (%s) not found in any table in the query.
I would appreciate if anyone can point out possible reasons for this error
and what can be done to debug it further.
I would also appreciate any pointers to example scripts that involve
complex SQL queries.
Thanks and Best Regards,
Tayeb
-------------------------------------
Name: Tayeb Damerji
E-mail: Tayeb Damerji <
[email protected]>
Date: 11/01/96
Time: 16:48:13
-------------------------------------
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-130@oink>;
Mon, 4 Nov 1996 07:51:11 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846969952:19093:9; Sat, 02 Nov 96 21:25:52 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa18771; 2 Nov 96 21:24 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA17122 for dbi-users-real; Sat, 2 Nov 1996 11:29:01 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from big.fishnet.net (
[email protected] [205.216.133.3])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA17118
for <
[email protected]>; Sat, 2 Nov 1996 11:29:00 -0800 (PST)
Received: from linux-markm.fishnet.net (linux-markm.fishnet.net [205.216.133.39])
by big.fishnet.net (8.7.5/8.6.9) with SMTP id LAA13715
for <
[email protected]>; Sat, 2 Nov 1996 11:38:03 -0800
Date: Sat, 2 Nov 1996 11:27:50 -0800 (PST)
From: Mark Molinari <
[email protected]>
To: DBI Users <
[email protected]>
Subject: DBD::Oracle on Linux.
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello,
I wish to install DBD::Oracle on my Linux box. However, I don't know which
version of Oracle for SCO I should purchase (i.e. UnixWare or
OpenServer). Will either version allow me to compile and use DBPerl? If
either version will work, what are the advantages and disadvantages of
using the different versions?
Your help is greatly appreciated :)
Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-132@oink>;
Mon, 4 Nov 1996 07:51:23 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846969959:19086:23; Sat, 02 Nov 96 21:25:59 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa18920; 2 Nov 96 21:25 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id LAA17170 for dbi-users-real; Sat, 2 Nov 1996 11:54:48 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from big.fishnet.net (
[email protected] [205.216.133.3])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id LAA17166
for <
[email protected]>; Sat, 2 Nov 1996 11:54:47 -0800 (PST)
Received: from linux-markm.fishnet.net (linux-markm.fishnet.net [205.216.133.39])
by big.fishnet.net (8.7.5/8.6.9) with SMTP id MAA14262
for <
[email protected]>; Sat, 2 Nov 1996 12:02:47 -0800
Date: Sat, 2 Nov 1996 11:52:13 -0800 (PST)
From: Mark Molinari <
[email protected]>
To:
[email protected]
Subject: RE: Oracle WebServer 3.0: Perl Cartridge
In-Reply-To: <c=US%a=_%p=Disney%
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: QUOTED-PRINTABLE
Dear Friends,
I searched Oracleland far and wide and could not find the site where the=20
WWW Interface Kit could be downloaded from. All I could find was press=20
releases. Does anyone know if and where Oracle has placee this thing?
:)
Mark
On Thu, 31 Oct 1996, McAdams, Bill D. wrote:
> >
> >>> Some time ago, Oracle announced that they were making available a
> >>> package of unsupported tools for Oracle Web access. These included
> >>> Oraperl v2.4 (BTW, this was shortly after I described Oraperl during
> >>> a job interview at Oracle, and was informed "we use our own tools"!).
> >>> Perhaps they've added DBI/DBD to the current version.
> >>
> >>I'd certainly be interested in finding out.
> >>
> >>Can anyone check?
> >>
> >>Tim.
>=20
> From:
>
http://www.oracle.com/corporate/press/html/sdkrel.html
>=20
>=20
>=20
> ORACLE UNVEILS WORLD WIDE WEB INTERFACE KIT
>=20
> Kit Enables Developers to Bring the Power of Oracle7 to the World Wide
> Web
>=20
>=20
>=20
> SAN FRANCISCO, Feb. 7, 1995 Oracle Corp. today announced the immediate=20
> availability of the Oracle World Wide Web Interface Kit which enables
> developers=20
> and World Wide Web server administrators to tightly integrate Oracle7
> databases=20
> with Web servers. The Kit, available free of charge on the Internet,
> includes real-life=20
> examples of linked Oracle7 databases with Web servers created by Web
> developers=20
> from around the world. Also included is a powerful Oracle gateway for
> Web servers,=20
> which translates Oracle standard database language (PL/SQL) to
> Internet-standard=20
> language (HTML).
>=20
> "Handling large quantities of documents and meta-data in a flat file
> system is just=20
> not very attractive," said Bjorn Elliasson, Technical Manager for
> Molnlycke Corp.=20
> "By using Oracle7 as a standard repository, we know that our information
> is safe=20
> and accessible."
>=20
> Using the Kit, developers can now create links between Web servers and
> Oracle7=20
> databases to bring to the Internet exciting new services and information
> systems.=20
> Potential uses for the Kit include the capability to make Oracle7
> databases accessible=20
> to users of Web servers, as well as enabling new applications that
> integrate Web server
> transactions into existing business processes using Oracle7 databases.
>=20
> "Many of our customers have shown interest in interfacing Oracle7 with a
> Web server,=20
> so we're making this kit available to give them a helping hand," said
> Mark Jarvis,=20
> senior director of network products for Oracle Corp. "With minimal
> effort, our customers=20
> can now integrate Web servers into their existing Oracle7 database
> applications
> to bring a whole new way of displaying, browsing and manipulating data.
> It brings about=20
> a new way of doing business and nicely ties the corporate data
> environment into the Internet."
>=20
> "Our developers are fascinated. They know how to write PL/SQL, so
> implementing=20
> advanced World Wide Web gateways is no harder than writing a simple
> procedure,"=20
> said Peter Nystrom, Information Systems Analyst at Molnlycke.
>=20
> The modules in the Oracle WWW Interface Kit include the following:
>=20
> Oracle's Web-Oracle-Web (WOW) PL/SQL gateway to Web servers=20
>=20
> Oracle's PL/SQL Editor and Development tool for the creation of
> dynamic PL/SQL code=20
>=20
> ORAYWWW, a PERL gateway contributed by Mr. Arthur Yasinski of the
> Department of Natural Resources,
> Canadian Forest Service=20
>=20
> WORA, a user-friendly database browser written in Pro*C by
> Constantine Ocarinets of JINR, Russia=20
>=20
> DECOUX, a post-processing gateway that inserts query results from an
> Oracle7 database into HTML
> documents. DECOUX was contributed by Guy Decoux of France.=20
>=20
> Navigator, a collection of PERL scripts and one Pro*C module that
> allows administrators to quickly configure
> HTML forms for end-user queries of Oracle7 databases. This gateway was
> contributed by Rick Hudson of the
> University of Massachusetts.=20
>=20
> Text Search System (TSS), a full-scale indexing and free-text search
> system contributed by Peter Larsson of
> Astrakan, Sweden.=20
>=20
> MORE, a collection of Pro*C gateways for maintaining an information
> repository contributed
> by David Eichmann of the University of Texas=20
>=20
> HotMetal, an HTML editor from SoftQuad=20
>=20
> PERL, a freeware interpreting programming language developed by Larry
> Wall=20
>=20
> ORAPERL, an extension to PERL for use with Oracle7 databases
> including user exits developed by Kevin
> Stock=20
>=20
> For more information about Oracle, please contact Oracle's headquarters
> in Redwood Shores, Calif. at (415)
> 506-7000. Oracle's World Wide Web server address is
>
http://WWW.oracle.com/=20
>=20
> Copyright =A9 1996 Oracle Corporation. All Rights Reserved.=20
> >
>=20
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-134@oink>;
Mon, 4 Nov 1996 07:51:37 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846971339:24519:34; Sat, 02 Nov 96 21:48:59 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24487; 2 Nov 96 21:48 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id MAA17212 for dbi-users-real; Sat, 2 Nov 1996 12:25:55 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from big.fishnet.net (
[email protected] [205.216.133.3])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id MAA17208
for <
[email protected]>; Sat, 2 Nov 1996 12:25:53 -0800 (PST)
Received: from linux-markm.fishnet.net (linux-markm.fishnet.net [205.216.133.39])
by big.fishnet.net (8.7.5/8.6.9) with SMTP id MAA15186
for <
[email protected]>; Sat, 2 Nov 1996 12:34:56 -0800
Date: Sat, 2 Nov 1996 12:24:45 -0800 (PST)
From: Mark Molinari <
[email protected]>
To:
[email protected]
Subject: DBD::Oracle on Linux.
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello,
Please ignore my previous message, below, if it doesn't make sense. The
Oracle store calls UnixWare "SCO UnixWare". Other Oracle pages call it
"Novell UnixWare".
Thanks %-)
Mark
> I wish to install DBD::Oracle on my Linux box. However, I don't know
> which version of Oracle for SCO I should purchase (i.e. UnixWare or
> OpenServer). Will either version allow me to compile and use DBPerl? If
> either version will work, what are the advantages and disadvantages of
> using the different versions?
>
> Your help is greatly appreciated :)
> Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-146@oink>;
Mon, 4 Nov 1996 07:52:42 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846980061:24677:14; Sun, 03 Nov 96 00:14:21 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24595; 3 Nov 96 0:13 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id OAA17376 for dbi-users-real; Sat, 2 Nov 1996 14:22:37 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from remus.chiba.com (
[email protected] [207.33.63.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id OAA17372
for <
[email protected]>; Sat, 2 Nov 1996 14:22:35 -0800 (PST)
Received: from remus.chiba.com (
[email protected] [207.33.63.1])
by remus.chiba.com (8.6.12/8.6.6) with SMTP id OAA06003;
Sat, 2 Nov 1996 14:10:46 -0800
Date: Sat, 2 Nov 1996 14:10:46 -0800 (PST)
From: brian <
[email protected]>
To: Mark Molinari <
[email protected]>
cc:
[email protected]
Subject: Re: DBD::Oracle on Linux.
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
> Please ignore my previous message, below, if it doesn't make sense. The
> Oracle store calls UnixWare "SCO UnixWare". Other Oracle pages call it
> "Novell UnixWare".
> > which version of Oracle for SCO I should purchase (i.e. UnixWare or
> > OpenServer). Will either version allow me to compile and use DBPerl? If
so what you are saying is that i can purchase the openserver version and
run it on my linux box? interesting. not that i would care much if i
couldnt use dbi.
sorry if this is a stupid question, but the sales rep ive been dealing
with over there told me that i could not find a workgroup server version
that would run on linux.
brian moseley
---* work *--- ---* not work *---
art & science w3 development
[email protected]
[email protected] http://www.whitetrashtheater.com/
415.974.1067 415.495.7156
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-150@oink>;
Mon, 4 Nov 1996 07:53:07 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846985540:19635:2; Sun, 03 Nov 96 01:45:40 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19608; 3 Nov 96 1:45 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id PAA17478 for dbi-users-real; Sat, 2 Nov 1996 15:55:12 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id PAA17474
for <
[email protected]>; Sat, 2 Nov 1996 15:55:10 -0800 (PST)
Received: from jovial.cse.psu.edu (
[email protected] [130.203.10.24])
by cse.psu.edu (8.7.5/8.7.3) with ESMTP id SAA28232;
Sat, 2 Nov 1996 18:52:57 -0500 (EST)
Message-Id: <
[email protected]>
X-Mailer: exmh version 1.6.9 8/22/96
X-uri: <URL:
http://www.cse.psu.edu/~groenvel/>
X-work-address: Manufacturing Technology - Systems Development Group PO Box 30
The Applied Research Lab State College, PA 16804
X-work-phone: +1 814 863 9896 (Voice) +1 814 863 1183 (Fax)
To: Mark Molinari <
[email protected]>
cc:
[email protected]
Subject: Re: Oracle WebServer 3.0: Perl Cartridge
In-reply-to: Your message of "Sat, 02 Nov 1996 11:52:13 PST." <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Date: Sat, 02 Nov 1996 18:51:31 EST
From: John D Groenveld <
[email protected]>
> I searched Oracleland far and wide and could not find the site where th=
e =
> WWW Interface Kit could be downloaded from. All I could find was press=
=
> releases. Does anyone know if and where Oracle has placee this thing?
As I remember it, this was temporary collection of free tools to connect =
Oracle to the Web. Now that Oracle has its own production toolset, Oracle=
WebSystem, the archive has been shutdown. Most of these tools are outdat=
ed, so its probably not worth your effort to track down the packages from=
the various archives.
I occasionally browse through the Oraywww and GSQL source trees and dream=
of generic HTML<->DB form languages, but its become much too easy to hac=
k PL/SQL or Perl scripts to make a generic form language very useful. Blu=
estone, Oracle, and others already have GUI code generators for Web devel=
opment--its really a by-gone age.
Thanks Kevin, Tim, and company...
John
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-156@oink>;
Mon, 4 Nov 1996 07:54:05 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846993727:26147:6; Sun, 03 Nov 96 04:02:07 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25627; 3 Nov 96 4:00 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id RAA17696 for dbi-users-real; Sat, 2 Nov 1996 17:58:07 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from bach.videotron.net (bach.videotron.net [205.151.222.10])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id RAA17692
for <
[email protected]>; Sat, 2 Nov 1996 17:58:05 -0800 (PST)
Received: from Cable.spc.videotron.ca (ppp084.135.mmtl.videotron.net [207.96.135.84])
by bach.videotron.net (8.7.5/8.6.12) with SMTP id UAA18134
for <
[email protected]>; Sat, 2 Nov 1996 20:58:19 -0500 (EST)
Message-Id: <
[email protected]>
Comments: Authenticated sender is <
[email protected]>
From: David McCabe <
[email protected]>
To:
[email protected]
Date: Sat, 2 Nov 1996 20:53:59 +0000
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: RE: Oracle WebServer 3.0: Perl Cartridge
Reply-to:
[email protected]
X-Confirm-Reading-To:
[email protected]
X-pmrqc: 1
Priority: normal
X-mailer: Pegasus Mail for Windows (v2.32)
> Date: Sat, 2 Nov 1996 11:52:13 -0800 (PST)
> From: Mark Molinari <
[email protected]>
> Subject: RE: Oracle WebServer 3.0: Perl Cartridge
> Dear Friends,
>
> I searched Oracleland far and wide and could not find the site where the
> WWW Interface Kit could be downloaded from. All I could find was press
> releases. Does anyone know if and where Oracle has placee this thing?
I too, was intrigued by all of this talk on web sites of the "WWW Interface
Kit", or whatever they called it, and called up Oracle Canada, and wrote to
Oracle USA (by email from the address on their website), and was told by
both that wile they had made a kit available at one time, (that was really
just oraperl with lots of web sample code), that it is now part of their
WebServer, and you only get it by buying that product. Then came the press
realese that was posted here too, about them unbundling the Web Request
Broker, (the current part of the Webserver software that interfaces to the
database) so it can work with other web servers, not just their own. Well,
that is partly true, according to Oracle Canada. It will work with other web
servers, but you still need to buy their webserver, at around 4000 Canadian.
And they know of no plans to make it available as a seperate product. Thankx
Oracle, but no thanks.
David McCabe Unix Admin for
http://www.infinit.net
Le Groupe Videotron Services PC (sent from home)
Montreal, Quebec 1 (514) 281 1232 ext 2511
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-158@oink>;
Mon, 4 Nov 1996 07:54:15 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846993729:26148:11; Sun, 03 Nov 96 04:02:09 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25876; 3 Nov 96 4:01 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id SAA17744 for dbi-users-real; Sat, 2 Nov 1996 18:25:23 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from big.fishnet.net (
[email protected] [205.216.133.3])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id SAA17740
for <
[email protected]>; Sat, 2 Nov 1996 18:25:21 -0800 (PST)
Received: from linux-markm.fishnet.net (linux-markm.fishnet.net [205.216.133.39])
by big.fishnet.net (8.7.5/8.6.9) with SMTP id SAA23866;
Sat, 2 Nov 1996 18:34:05 -0800
Date: Sat, 2 Nov 1996 18:23:53 -0800 (PST)
From: Mark Molinari <
[email protected]>
To: brian <
[email protected]>
cc:
[email protected]
Subject: Re: DBD::Oracle on Linux.
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello,
All I know is what I've learned from being on this mailing list and the
Linux Journal. Basically this is it. There is an SCO emulation package
called iBCS (I think), and an SCO cross compiler for Linux. Put these
two together with DBD::Oracle and SCO Oracle and I understand it works
just fine.
Mark
On Sat, 2 Nov 1996, brian wrote:
>
> > Please ignore my previous message, below, if it doesn't make sense. The
> > Oracle store calls UnixWare "SCO UnixWare". Other Oracle pages call it
> > "Novell UnixWare".
>
> > > which version of Oracle for SCO I should purchase (i.e. UnixWare or
> > > OpenServer). Will either version allow me to compile and use DBPerl? If
>
> so what you are saying is that i can purchase the openserver version and
> run it on my linux box? interesting. not that i would care much if i
> couldnt use dbi.
>
> sorry if this is a stupid question, but the sales rep ive been dealing
> with over there told me that i could not find a workgroup server version
> that would run on linux.
>
> brian moseley
>
>
> ---* work *--- ---* not work *---
> art & science w3 development
[email protected]
>
[email protected] http://www.whitetrashtheater.com/
> 415.974.1067 415.495.7156
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <04048-162@oink>;
Mon, 4 Nov 1996 07:54:40 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 846999176:19374:6; Sun, 03 Nov 96 05:32:56 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa19299; 3 Nov 96 5:32 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id TAA17903 for dbi-users-real; Sat, 2 Nov 1996 19:40:20 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from cse.psu.edu (claven.cse.psu.edu [130.203.3.50])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id TAA17899
for <
[email protected]>; Sat, 2 Nov 1996 19:40:17 -0800 (PST)
Received: from jovial.cse.psu.edu (
[email protected] [130.203.10.24])
by cse.psu.edu (8.7.5/8.7.3) with ESMTP id WAA29380;
Sat, 2 Nov 1996 22:41:43 -0500 (EST)
Message-Id: <
[email protected]>
X-Mailer: exmh version 1.6.9 8/22/96
X-uri: <URL:
http://www.cse.psu.edu/~groenvel/>
X-work-address: Manufacturing Technology - Systems Development Group PO Box 30
The Applied Research Lab State College, PA 16804
X-work-phone: +1 814 863 9896 (Voice) +1 814 863 1183 (Fax)
To: cse532 student <
[email protected]>
cc:
[email protected]
Subject: Re: Oraperl
In-reply-to: Your message of "Sat, 02 Nov 1996 20:02:18 EST." <
[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 02 Nov 1996 22:40:15 EST
From: John D Groenveld <
[email protected]>
> Hello Mr Groenvel,
>
> I read your paper on the web today. Can you suggest where I
> can find some example programs using DBIperl function calls?
>
> I am trying to learn to use the functions to connect to Oracle.
> I can get logged on and a simple sql search but I cant get an insert into
> the database. (I am doing something wrong with &ora_bind()).
>
>
> There isnt any documentation with examples in the package tar file.
> Any help would be greatly appreciated,
>
>
> Thanks
>
> Mike Pukmel
To really learn the Oracle Programmer's Interface, you have to read the manuals. I know Oracle isnt shipping them anymore so you'll have to run Oracle Book. I know its bitter medicine and Oracle hasnt quite figured out the Cherry taste, but if you're serious about learning it--swallow hard and fast. Assuming you know SQL, the Pro*C stuff isnt too bad and includes good demos.
Now assuming you are not going to follow my advice, run "perldoc Oraperl" and download OraperlV4 examples from Demon.
Now assuming I've read your whole query wrong and you really have just hit a brain lockup, remember to test for error conditions as Oracle error codes can be quite helpful:
#!/usr/bin/perl -Tw
use Oraperl;
use strict;
my($lda) = &ora_login('', 'scott/tiger','') || die "ora_login: $ora_errno: $
ora_errstr\n";
&ora_do($lda,'create table foo (bar number)') || die "ora_do: $o
ra_errno: $ora_errstr\n";
&ora_commit($lda) || die "ora_commit: $ora_errno: $ora_errstr\n";
my($csr) = &ora_open($lda,'insert into foo values (:1)') || die "ora_open: $ora_
errno: $ora_errstr\n";
&ora_bind($csr, 1) || die "ora_bind: $ora_errno: $ora_errstr\n";
&ora_close($csr) || die "ora_close: $ora_errno: $ora_errstr\n";
my($csr) = &ora_open($lda,'select bar from foo') || die "ora_open: $ora_errno: $
ora_errstr\n";
my($bar);
while (($bar) = &ora_fetch($csr)) {
die "ora_fetch: $ora_errno: $ora_errstr\n" if $ora_errno;
print $bar,"\n";
}
&ora_close($csr) ||die "ora_close: $ora_errno: $ora_errstr\n";
&ora_do($lda, 'drop table foo') || die "ora_do: $ora_errno: $ora_errstr\n";
&ora_logoff($lda) || die "ora_logoff: $ora_errno: $ora_errstr\n";
John
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09065-1@oink>;
Mon, 4 Nov 1996 11:54:50 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847107159:21884:7; Mon, 04 Nov 96 11:32:39 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21707; 4 Nov 96 11:31 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id BAA19480 for dbi-users-real; Mon, 4 Nov 1996 01:00:19 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from lin01.global.co.za (lin01.global.co.za [196.3.164.2])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id BAA19476
for <
[email protected]>; Mon, 4 Nov 1996 01:00:15 -0800 (PST)
Received: from kite.global.co.za (kite.global.co.za [196.3.167.110])
by lin01.global.co.za (8.7.3/8.7.3) with ESMTP id KAA17704
for <
[email protected]>; Mon, 4 Nov 1996 10:55:05 -0200 (GMT)
Message-Id: <
[email protected]>
From: Herman Scheepers <
[email protected]>
To: oraperl mailing list <
[email protected]>
Subject: Dates wirh Oraperl
Date: Mon, 4 Nov 1996 10:58:57 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi all
I am having trouble with the oracle date datatype in Oraperl. Can anyone
help?
Regards
Herman
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09065-3@oink>;
Mon, 4 Nov 1996 11:54:57 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847107170:21884:31; Mon, 04 Nov 96 11:32:50 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa21753; 4 Nov 96 11:32 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id BAA19516 for dbi-users-real; Mon, 4 Nov 1996 01:20:31 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id BAA19512
for <
[email protected]>; Mon, 4 Nov 1996 01:20:29 -0800 (PST)
Received: from post.demon.co.uk ([(null)]) by relay-2.mail.demon.net id aa05613;
4 Nov 96 9:05 GMT
Received: from ignite.demon.co.uk ([158.152.8.99]) by relay-3.mail.demon.net
id aa07922; 4 Nov 96 9:03 GMT
Received: from toad by oink with SMTP (PP) id <26006-0@oink>;
Fri, 1 Nov 1996 18:07:56 +0000
Received: by toad.ig.co.uk (5.0/SMI-SVR4) id AA18449;
Fri, 1 Nov 1996 18:07:41 +0000
Date: Fri, 1 Nov 1996 18:07:41 +0000
From: Tim Bunce <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: I can't pass 'make test' on DBD-Oracle-0.42
X-Sun-Charset: US-ASCII
Organization: Paul Ingram Group, Software Systems, +44 1 483 424424
> From: "K.Takami" <
[email protected]>
>
> Hi Greetings!
>
> I knew the DBD-Oracle-0.42 came into being.
> I downloaded it and tried to make. I finished making, however,
> I can't pass completely 'make test'.
You should also know that 0.42 was quickly replaced by 0.43.
Tim.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <09065-7@oink>;
Mon, 4 Nov 1996 11:55:10 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847108155:26446:19; Mon, 04 Nov 96 11:49:15 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26160; 4 Nov 96 11:48 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id BAA19538 for dbi-users-real; Mon, 4 Nov 1996 01:35:55 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from bsfiles.nerc-bas.ac.uk (bsfiles.nerc-bas.ac.uk [192.171.137.25])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id BAA19534
for <
[email protected]>; Mon, 4 Nov 1996 01:35:49 -0800 (PST)
Received: from bssmlsa.nerc-bas.ac.uk
by bsfiles.nerc-bas.ac.uk (8.6.10/NERC-1.2(Solaris 2.x) id JAA16839;
Mon, 4 Nov 1996 09:34:56 GMT
Date: Mon, 4 Nov 1996 09:35:22 +0000 (GMT)
From: Andy Wood <
[email protected]>
Reply-To: Andrew G Wood <
[email protected]>
To: Herman Scheepers <
[email protected]>
cc: oraperl mailing list <
[email protected]>
Subject: Re: Dates wirh Oraperl
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Mon, 4 Nov 1996, Herman Scheepers wrote:
> From: Herman Scheepers <
[email protected]>
> To: oraperl mailing list <
[email protected]>
> Subject: Dates wirh Oraperl
>
> Hi all
>
> I am having trouble with the oracle date datatype in Oraperl. Can anyone
> help?
>
Possibly .... but I suggest you be a little more explicit about your
problem and then you might get a solution :-)
Andy.
---+++---
Received: from punt2.demon.co.uk by oink with SMTP (PP) id <09318-27@oink>;
Mon, 4 Nov 1996 12:05:21 +0000
Received: from relay-5.mail.demon.net by mailstore for
[email protected]
id 846789342:5:17273:0; Thu, 31 Oct 96 19:15:42 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by relay-6.mail.demon.net
id aa611917; 31 Oct 96 19:15 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id HAA11838 for dbi-dev-real; Thu, 31 Oct 1996 07:44:54 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from chewbacca.hermetica.com (
[email protected] [158.152.33.215])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id HAA11834
for <
[email protected]>; Thu, 31 Oct 1996 07:44:51 -0800 (PST)
From:
[email protected]
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12)
id KAA23399; Thu, 31 Oct 1996 10:10:37 GMT
Message-Id: <
[email protected]>
Subject: Re: DBI->connect
To:
[email protected] (Brett McCormick)
Date: Thu, 31 Oct 1996 10:09:21 +0000 (GMT)
Cc:
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Brett McCormick" at Oct 30, 96 10:48:36 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
> > > Why does DBI->connect try to enforce the arguments when many of the
> > > drivers deviate?
> >
> > Because that's the only way that a script could be made portable.
> > It's a core feature of the DBI.
>
> How are the scripts portable in that way when the drivers use the
> arguments differently?
Because the drivers that are non compliant are about to be when I get a chance
to fix them.
> --brett
A.
--
Alligator Descartes |
[email protected] | "Lobey's the Wee Boy!" -- Bud Neill
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15176-64@oink>;
Tue, 5 Nov 1996 07:43:04 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847148927:10702:4397; Mon, 04 Nov 96 23:08:47 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa12777; 4 Nov 96 22:53 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id KAA20383 for dbi-users-real; Mon, 4 Nov 1996 10:12:01 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from informix.com (kingcrab.informix.com [158.58.16.26])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id KAA20379
for <
[email protected]>; Mon, 4 Nov 1996 10:11:59 -0800 (PST)
Received: from anubis.informix.com (anubis.informix.com [158.58.29.164])
by informix.com (8.7.4/8.7.3) with SMTP id KAA02901;
Mon, 4 Nov 1996 10:10:53 -0800 (PST)
Received: by anubis.informix.com (SMI-8.6/SMI-SVR4) id KAA01560;
Mon, 4 Nov 1996 10:11:54 -0800
Date: Mon, 4 Nov 1996 10:11:54 -0800
From:
[email protected] (Jonathan Leffler)
Message-Id: <
[email protected]>
To:
[email protected],
[email protected]
Subject: Re: Error in prepare using Informix DBD
I'm not sure what the problem is since you have not sent the complete statement.
However, your code references various cs.* elements and one cu.customer_name.
Could that be the problem -- the cu should be cs?
Yours,
Jonathan Leffler (
[email protected]) #include <disclaimer.h>
>From
[email protected] Fri Nov 1 15:34 PST 1996
>Date: Fri, 1 Nov 96 16:48:13 PST
>From: Tayeb Damerji <
[email protected]>
>Subject: Error in prepare using Informix DBD
>To:
[email protected]
>Mime-Version: 1.0
>
>
>I am using the Informix DBD 0.24 with Informix 5. I am trying to use a
>cursor to perform a query involving 4 tables and a number of columns. The
>query is pretty large and it executes properly when run through the ACE
>tool. The error message that I get after calling:
>
>( $cursor = $dbh->prepare( "SELECT cs.customer_code,
> cs.prod_id,
> cs.prod_name,
> cu.customer_name,
>..
>
>the error is:
>
> Column (%s) not found in any table in the query.
>
>I would appreciate if anyone can point out possible reasons for this error
>and what can be done to debug it further.
>
>I would also appreciate any pointers to example scripts that involve
>complex SQL queries.
>
>Thanks and Best Regards,
>
>Tayeb
>
>-------------------------------------
>Name: Tayeb Damerji
>E-mail: Tayeb Damerji <
[email protected]>
>Date: 11/01/96
>Time: 16:48:13
>-------------------------------------
>
>
>
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15176-82@oink>;
Tue, 5 Nov 1996 07:45:00 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847170569:06126:12; Tue, 05 Nov 96 05:09:29 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa05058; 5 Nov 96 5:09 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id NAA20760 for dbi-users-real; Mon, 4 Nov 1996 13:51:06 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from ams.sunysb.edu (amirani.ams.sunysb.edu [129.49.6.2])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA20756
for <
[email protected]>; Mon, 4 Nov 1996 13:51:04 -0800 (PST)
Received: from poincare (poincare.ams.sunysb.edu)
by amirani.ams.sunysb.edu (4.1/25-eef) id AA28069;
Mon, 4 Nov 96 16:33:38 EST
From:
[email protected] (Michael Pukmel)
Received: (mpukmel@localhost) by poincare (950413.SGI.8.6.12/8.6.9) id QAA23614
for
[email protected]; Mon, 4 Nov 1996 16:33:37 -0500
Message-Id: <199611042133.QAA23614@poincare>
Subject: simple dbi programs
To:
[email protected]
Date: Mon, 4 Nov 1996 16:33:36 -0500 (EST)
X-Mailer: ELM [version 2.4 PL24 ME5a]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <15176-84@oink>;
Tue, 5 Nov 1996 07:45:10 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847170731:06657:7; Tue, 05 Nov 96 05:12:11 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa06426; 5 Nov 96 5:10 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id NAA20745 for dbi-users-real; Mon, 4 Nov 1996 13:39:38 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from ams.sunysb.edu (amirani.ams.sunysb.edu [129.49.6.2])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id NAA20741
for <
[email protected]>; Mon, 4 Nov 1996 13:39:36 -0800 (PST)
Received: from cauchy.ams.sunysb.edu by amirani.ams.sunysb.edu (4.1/25-eef)
id AA28105; Mon, 4 Nov 96 16:39:33 EST
From:
[email protected] (Michael Pukmel)
Message-Id: <
[email protected]>
Subject: Simple DBI Programs
To:
[email protected]
Date: Mon, 4 Nov 1996 16:39:30 -0500 (EST)
X-Mailer: ELM [version 2.4 PL24]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi ,
I am new to DBI/Oraperl. Could someone spare a few short programs with
examples using the basic DBI functions? I DBD and DBI up and running but have
some trouble getting a table insert to work. ( but oracle is cranking!)
I have a copy of "perldoc oraperl" but its a bit confusing, and I
am currently wading through many pounds of the oracle pro*c stuff (its slow
going)
Thanks for the patience
Mike Pukmel
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17205-6@oink>;
Tue, 5 Nov 1996 10:32:33 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847185613:25168:0; Tue, 05 Nov 96 09:20:13 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24651; 5 Nov 96 9:18 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id PAA20913 for dbi-users-real; Mon, 4 Nov 1996 15:26:40 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from gateway.fcmc.com (
[email protected] [207.17.186.2])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id PAA20909
for <
[email protected]>; Mon, 4 Nov 1996 15:26:38 -0800 (PST)
Received: by gateway.fcmc.com; id SAA07050; Mon, 4 Nov 1996 18:25:17 -0500
Received: from unknown(192.129.90.50) by vone.fcmc.com via smap (g3.0.3)
id xma007044; Mon, 4 Nov 96 18:25:04 -0500
Received: from anderson.fcmc.com by moonraker.fcmc.COM (4.1/SMI-4.1) id AA13780;
Mon, 4 Nov 96 18:25:05 EST
Received: from ford.fcmc.com by anderson.fcmc.com (4.1/SMI-4.1) id AA02275;
Mon, 4 Nov 96 18:24:47 EST
Date: Mon, 4 Nov 96 18:24:47 EST
From:
[email protected] (Siva Pothireddy \(Technology\))
Message-Id: <
[email protected]>
To:
[email protected],
[email protected],
[email protected]
Subject: DBD::Informix
Hi,
We are using DBD-Informix-0.24 with online 7.20 on solaris 2.5
prepare statement is failing with 'Insufficient number of host variables'.
My statement is as follows.
dbh->prepare ("insert into aaa values (?,?)");
dbh->execute (1, "help");
Thanks in advance.
Siva
FUJI Cap.
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17205-8@oink>;
Tue, 5 Nov 1996 10:32:39 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847185619:25168:6; Tue, 05 Nov 96 09:20:19 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24734; 5 Nov 96 9:18 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id UAA21644 for dbi-users-real; Mon, 4 Nov 1996 20:46:21 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from vortex.uplanet.com (host-165-3.uplanet.com [204.163.165.3])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id UAA21640
for <
[email protected]>; Mon, 4 Nov 1996 20:46:19 -0800 (PST)
Received: from yoga.uplanet.com by vortex.uplanet.com (SMI-8.6/SMI-SVR4)
id UAA10678; Mon, 4 Nov 1996 20:46:17 -0800
Received: by yoga.uplanet.com (SMI-8.6/SMI-SVR4) id UAA00950;
Mon, 4 Nov 1996 20:46:16 -0800
Date: Mon, 4 Nov 1996 20:46:16 -0800
From:
[email protected] (Hamilton H.)
Message-Id: <
[email protected]>
To:
[email protected]
Subject: DBI/DBD::Oracle connection problems
X-Sun-Charset: US-ASCII
I have DBI, using the Oracle driver, working great on my machine.
I have a test script which establishes a connection to an Oracle
database. This script works fine on the machine which I installed
Perl/DBI/DBD on. However, when I trying running this perl script
on a different machine it doesn't work. The script points to the original
perl executable which is on the same network and uses the same
@INC paths. I have even tried setting ORACLE_HOME
to the same directory. Are there libraries that get installed
in /usr/local or special tweaks to Oracle files not under
ORACLE_HOME? What am I missing?
Hamilton Hitchings
[email protected]
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17205-10@oink>;
Tue, 5 Nov 1996 10:32:46 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847185637:25168:31; Tue, 05 Nov 96 09:20:37 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa24884; 5 Nov 96 9:19 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id VAA21678 for dbi-users-real; Mon, 4 Nov 1996 21:07:37 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from mikigw2.paris-miki.co.jp (mikigw2.paris-miki.co.jp [160.233.40.1])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id VAA21674
for <
[email protected]>; Mon, 4 Nov 1996 21:07:21 -0800 (PST)
Received: (from takami@localhost)
by mikigw2.paris-miki.co.jp (8.6.12+2.4W/3.3W9-LOCAL_VERSION=NEC)
id OAA20131 for
[email protected]; Tue, 5 Nov 1996 14:04:22 +0900
Date: Tue, 5 Nov 1996 14:04:22 +0900
From: "K.Takami" <
[email protected]>
Message-Id: <
[email protected]>
To:
[email protected]
Subject: Re: I can't pass 'make test' on DBD-Oracle-0.42
Hi Folks!
I had posted email like this
> I knew the DBD-Oracle-0.42 came into being.
> I downloaded it and tried to make. I finished making, however,
> I can't pass completely 'make test'.
I fetched DBD-Oracle-0.43, and finished making test successfully.
I'm glad to install it on my machine without any problems.
Thank you for advising me, Tim and Andy.
---------------------
Takami Keiichi
(
[email protected])
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17205-12@oink>;
Tue, 5 Nov 1996 10:32:53 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847185760:25791:43; Tue, 05 Nov 96 09:22:40 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25708; 5 Nov 96 9:22 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id UAA21619 for dbi-users-real; Mon, 4 Nov 1996 20:37:19 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from vortex.uplanet.com (host-165-3.uplanet.com [204.163.165.3])
by toccata.fugue.com (8.8.0/8.6.11) with SMTP id UAA21615
for <
[email protected]>; Mon, 4 Nov 1996 20:37:18 -0800 (PST)
Received: from yoga.uplanet.com by vortex.uplanet.com (SMI-8.6/SMI-SVR4)
id UAA10556; Mon, 4 Nov 1996 20:37:16 -0800
Received: by yoga.uplanet.com (SMI-8.6/SMI-SVR4) id UAA00944;
Mon, 4 Nov 1996 20:37:14 -0800
Date: Mon, 4 Nov 1996 20:37:14 -0800
From:
[email protected] (Hamilton H.)
Message-Id: <
[email protected]>
To:
[email protected]
Subject: perldoc for dbi and dbd
X-Sun-Charset: US-ASCII
Where is the most up-to-date documentation on DBI and DBD.
I would assume it is available through perldoc but when I
typed "perldoc dbi" I didn't get anything? Any suggestions.
Hamilton
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17205-14@oink>;
Tue, 5 Nov 1996 10:33:00 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847185764:25824:33; Tue, 05 Nov 96 09:22:44 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa25762; 5 Nov 96 9:22 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id UAA21628 for dbi-users-real; Mon, 4 Nov 1996 20:41:23 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from cloud9.net (0CTgS8ueCj/
[email protected] [168.100.1.2])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id UAA21624
for <
[email protected]>; Mon, 4 Nov 1996 20:41:21 -0800 (PST)
Received: from ctichler-dial-in.lehman.com (catech.dialup.cloud9.net [168.100.200.71])
by cloud9.net (8.8.2/cloud9-1.0) with SMTP id XAA06407;
Mon, 4 Nov 1996 23:41:12 -0500 (EST)
Message-ID: <
[email protected]>
Date: Mon, 04 Nov 1996 23:39:20 -0500
From: Carl Tichler <
[email protected]>
Reply-To:
[email protected]
Organization: CAT Technology, Inc.
X-Mailer: Mozilla 3.0 (Win95; I)
MIME-Version: 1.0
To: Herman Scheepers <
[email protected]>
CC:
[email protected]
Subject: Re: Dates wirh Oraperl
References: <
[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I prefer to convert the date to a string, and then use
Perl to parse the string. Use the "to_char()" function to
convert a string to a date, or the "to_date()" to convert
a date to a string. (Depending on whether you are sending
the date in or retrieving it). These functions each take
a date specification string, which you can formulate according
to your needs.
Carl Tichler
[email protected]
Herman Scheepers wrote:
>
> Hi all
>
> I am having trouble with the oracle date datatype in Oraperl. Can anyone
> help?
>
> Regards
> Herman
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17205-17@oink>;
Tue, 5 Nov 1996 10:33:09 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847187307:03092:3; Tue, 05 Nov 96 09:48:27 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa02518; 5 Nov 96 9:46 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id WAA21835 for dbi-users-real; Mon, 4 Nov 1996 22:27:36 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from big.fishnet.net (
[email protected] [205.216.133.3])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id WAA21831
for <
[email protected]>; Mon, 4 Nov 1996 22:27:35 -0800 (PST)
Received: from linux-markm.fishnet.net (linux-markm.fishnet.net [205.216.133.39])
by big.fishnet.net (8.7.5/8.6.9) with SMTP id XAA24388;
Mon, 4 Nov 1996 23:32:58 -0800
Date: Mon, 4 Nov 1996 22:26:22 -0800 (PST)
From: Mark Molinari <
[email protected]>
To:
[email protected]
cc:
[email protected]
Subject: Bad Free
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Dear Tim,
I could possibly help you with getting Oracle support for the bad free
problem. Recently you circulated mail with the subject: "Purify's view of
Oracle 7.3's Bad Free". I could forward the problem to Oracle. The only
catch is I'm new to Oracle and DBI. Perhaps you could give me some
direction and understanding of the problem so that I could communicate
with them semi-intelligently.
Mark
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <17205-19@oink>;
Tue, 5 Nov 1996 10:33:15 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847187315:03072:20; Tue, 05 Nov 96 09:48:35 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa02639; 5 Nov 96 9:47 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id PAA21017 for dbi-users-real; Mon, 4 Nov 1996 15:52:22 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from chewbacca.hermetica.com (
[email protected] [158.152.33.215])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id PAA21013
for <
[email protected]>; Mon, 4 Nov 1996 15:52:18 -0800 (PST)
From:
[email protected]
Received: (from descarte@localhost) by chewbacca.hermetica.com (8.7.5/8.6.12)
id AAA09129; Tue, 5 Nov 1996 00:50:09 GMT
Message-Id: <
[email protected]>
Subject: Re: DBD::Informix
To:
[email protected] (Siva Pothireddy \(Technology\))
Date: Tue, 5 Nov 1996 00:50:06 +0000 (GMT)
Cc:
[email protected],
[email protected]
In-Reply-To: <
[email protected]> from "Siva Pothireddy (Technology)" at Nov 4, 96 06:24:47 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
> We are using DBD-Informix-0.24 with online 7.20 on solaris 2.5
> prepare statement is failing with 'Insufficient number of host variables'.
>
> My statement is as follows.
>
> dbh->prepare ("insert into aaa values (?,?)");
> dbh->execute (1, "help");
>
> Thanks in advance.
Binding isn't supported yet.
> Siva
A.
--
Alligator Descartes |
[email protected] | "Lobey's the Wee Boy!" -- Bud Neill
http://www.hermetica.com |
---+++---
Received: from punt.demon.co.uk by oink with SMTP (PP) id <18028-1@oink>;
Tue, 5 Nov 1996 11:56:38 +0000
Received: from punt-1.mail.demon.net by mailstore for
[email protected]
id 847192362:27144:12; Tue, 05 Nov 96 11:12:42 GMT
Received: from toccata.fugue.com ([204.254.239.2]) by punt-1.mail.demon.net
id aa26910; 5 Nov 96 11:11 GMT
Received: (from daemon@localhost) by toccata.fugue.com (8.8.0/8.6.11)
id XAA22078 for dbi-users-real; Mon, 4 Nov 1996 23:58:18 -0800 (PST)
Precedence: junk
Sender:
[email protected]
Received: from lin01.global.co.za (lin01.global.co.za [196.3.164.2])
by toccata.fugue.com (8.8.0/8.6.11) with ESMTP id XAA22073
for <
[email protected]>; Mon, 4 Nov 1996 23:58:14 -0800 (PST)
Received: from kite.global.co.za (kite.global.co.za [196.3.167.110])
by lin01.global.co.za (8.7.3/8.7.3) with ESMTP id IAA15145;
Tue, 5 Nov 1996 08:15:53 -0200 (GMT)
Message-Id: <
[email protected]>
From: Herman Scheepers <
[email protected]>
To: Michael Pukmel <
[email protected]>, dbi-users <
[email protected]>
Subject: Re: Simple DBI Programs
Date: Tue, 5 Nov 1996 08:20:31 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi Mike
Here is a small test program which gets sysdate and a next sequence no, and
subsequently inserts it (with some other stuff) into an account table. The
way I did it was by building up the select statement through string
concatenation, and then executing it with
&ora_do($lda, $statement). This is as opposed to using bind variables. The
advantage of
this approach is that you can print out your SQL statement, cut and paste
it into SQL plus, and then execute it from there in order to debug it.
Regards
Herman
#!/usr/local/bin/perl
eval '$Oraperl::safe = 1' if $] >= 5;
eval 'use Oraperl; 1' || die $@ if $] >= 5;
$lda=&ora_login("isis", "isis/isis", '') || die "Logon failed";
$cs=&ora_open($lda, "select accountnoseq.nextval from dual") ||
die("Could not select next account no");
while(($VAL) = &ora_fetch($cs)){
$ACCOUNTNO=$VAL;
print "AccountNo= $ACCOUNTNO\n";
}
&ora_close($cs);
$dc=&ora_open($lda, "select to_char(sysdate,'DD-MON-YYYY') from dual")
|| die "Could not select sysdate from dual";
@sDate=&ora_fetch($dc);
printf("%s \n",@sDate);
&ora_close($dc);
$USERNAME = "Perl";
$PASSWD = "perl";
$OS = "unix";
$UPDATED_IN_UNIX = "Y";
$VERIFIED = "Y";
$SURNAME = "Perl";
$DATECREATED = @sDate[0];
printf "DATECREATED=$DATECREATED\n";
$ADDRESS = "a";
$CITY = "c";
$POSTALCODE = "2000";
$STATUS = "A";