Re: DBD-Oracle 1.40

"H.Merijn Brand" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Mon, 12 Mar 2012 16:02:46 -0400, Yanick Champoux
<[email protected]> wrote:

> On 12-03-11 11:48 AM, H.Merijn Brand wrote:
> > On Sun, 11 Mar 2012 11:27:44 -0400, Yanick Champoux
> > <[email protected]>  wrote:
> >
> >> On 12-03-11 06:01 AM, H.Merijn Brand wrote:
> >>> t/rt74753-utf8-encoded.t (Wstat: 512 Tests: 3 Failed: 2)
> >>>     Failed tests:  2-3
> >>>     Non-zero exit status: 2
> >>> Files=1, Tests=3,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.05 cusr  0.01 csys =  0.08 CPU)
> >> 	
> >> 	That's not good. I'll issue a patch Monday, and try to narrow down on
> >> which versions of Oracle the fix for rt-74753 isn't working.
> >
> > Note these:
> >
> > t/23wide_db.t ............. skipped: Database character set is not Unicode
> > t/23wide_db_8bit.t ........ skipped: Database character set is not Unicode
> > t/23wide_db_al32utf8.t .... skipped: Database character set is not Unicode
> 
> 	I have a new trial version changing the test so that it doesn't run if 
> the db character set is not unicode. I'm at home today, so I can't run 
> my battery of tests before releasing, but if anyone feel like giving it 
> a whirl, the new version is at
> 
> 	svn repo: 
> http://svn.perl.org/modules/dbd-oracle/branches/DBD-Oracle-1.41_00
> 
> 	git repo: https://github.com/yanick/DBD-Oracle/tree/cand-v1.41

% git clone https://github.com/yanick/DBD-Oracle/tree/cand-v1.41
DBD-Oracle Cloning into 'DBD-Oracle'...
fatal: https://github.com/yanick/DBD-Oracle/tree/cand-v1.41/info/refs not found: did you run git update-server-info on the server?
% git clone https://github.com/yanick/DBD-Oracle DBD-Oracle
Cloning into 'DBD-Oracle'...
remote: Counting objects: 4891, done.
remote: Compressing objects: 100% (1461/1461), done.
remote: Total 4891 (delta 3470), reused 4763 (delta 3344)
Receiving objects: 100% (4891/4891), 18.37 MiB | 1.07 MiB/s, done.
Resolving deltas: 100% (3470/3470), done.
% cd DBD-Oracle
% git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/cand-v1.41
  remotes/origin/cand_1.32
  remotes/origin/candidate_1.31_00
  remotes/origin/clean-changelog
  remotes/origin/cpan-changes
  remotes/origin/dist-zilla
  remotes/origin/doc-grooming
  remotes/origin/documentation-rt72252
  remotes/origin/longdouble
  remotes/origin/master
  remotes/origin/oraperl-warning
  remotes/origin/pod-test
  remotes/origin/releases
  remotes/origin/rt-73206-ora_charset
  remotes/origin/rt13865
  remotes/origin/rt30133
  remotes/origin/rt71343-compile9i
  remotes/origin/rt74753
% git co remotes/origin/cand-v1.41 -b cand-v1.41
Branch cand-v1.41 set up to track remote branch cand-v1.41 from origin.
Switched to a new branch 'cand-v1.41'
% perl Makefile.PL
Using DBI 1.618 (for perl 5.014001 on x86_64-linux-ld) installed in /pro/lib/perl5/site_perl/5.14.1/x86_64-linux-ld/auto/DBI/

Configuring DBD::Oracle for perl 5.014001 on linux (x86_64-linux-ld)

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

Installing on a linux, Ver#2.6
Using Oracle in /usr/lib/oracle/11.2/client64
:
:
% make
:
ccache cc -c  -I/usr/include/oracle/11.2/client64  -I/pro/lib/perl5/site_perl/5.14.1/x86_64-linux-ld/auto/DBI -fPIC -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"undef\" -DXS_VERSION=\"undef\" -fPIC "-I/pro/lib/perl5/5.14.1/x86_64-linux-ld/CORE"  -Wall -Wno-comment -DUTF8_SUPPORT -DORA_OCI_VERSION=\"11.2.0.2\" -DORA_OCI_102 -DORA_OCI_112 dbdimp.c
dbdimp.c: In function ‘ora_db_login6’:
dbdimp.c:765:5: warning: format ‘%d’ expects type ‘int’, but argument 12 has type ‘size_t’
dbdimp.c:765:5: warning: format ‘%d’ expects type ‘int’, but argument 14 has type ‘size_t’
:
% make test
PERL_DL_NONLAZY=1 /pro/bin/perl5.14.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00versions.t ............ Use of uninitialized value in subroutine entry at /pro/lib/perl5/5.14.1/x86_64-linux-ld/DynaLoader.pm line 213.
Use of uninitialized value in subroutine entry at /pro/lib/perl5/5.14.1/x86_64-linux-ld/DynaLoader.pm line 213.
Use of uninitialized value in subroutine entry at /pro/lib/perl5/5.14.1/x86_64-linux-ld/DynaLoader.pm line 213.
Invalid version format (version required) at /pro/lib/perl5/5.14.1/x86_64-linux-ld/DynaLoader.pm line 213.
Compilation failed in require at t/00versions.t line 10.
BEGIN failed--compilation aborted at t/00versions.t line 10.
# Looks like your test exited with 2 before it could output anything.
t/00versions.t ............ Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests

> 
> > FWIW, DBD::Oracle-1.27 is the last to work on Oracle-9.2.0.8
> > All beyond 1.27 fail
> 
> 	:-(  I'll open a ticket on RT about that one.	
> 
> Joy,
> `/anick


-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.14   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.