RE: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2
From: Andy Hassall (andy_at_andyh.co.uk)
Date: 03/18/04
- Previous message: Tim Bunce: "Re: DBD::Oracle won't build on DEC Alpha"
- In reply to: Dan Straw: "test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Next in thread: Tim Bunce: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Reply: Tim Bunce: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Reply: Dan Straw: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'Dan Straw'" <dans@sportingbet.com>, <dbi-users@perl.org> Date: Thu, 18 Mar 2004 00:36:35 -0000
> I'm having some trouble installing DBD-Oracle. I get the
> following error when running make test:
>
> [snip]
> # failed test 31 at line 95. Strings differ at position 1
> (\277 vs \23072), Len 5
That looks a lot like a UTF-8 issue. I've been able to reproduce this on my
setup; it happens when you have your NLS_LANG set to a UTF8 characterset,
but your database is an 8-bit character set such as WE8ISO8859P15.
Having UTF8 in your NLS_LANG triggers the tests to use Unicode characters,
specifically U+236A, which is \23072 in octal - matching part of your error.
This can't be stored in a WE8ISO8859P15 database, so the value that's
fetched back doesn't match, and so the tests fail.
The tests should only use UTF-8 characters if the client is using UTF-8 AND
the database character set is one of the Unicode character sets, so can
store the characters sent.
Could you confirm the value of your NLS_LANG, and try again with it set to
'.WE8ISO8859P15'?
I've written a patch for the tests to fix this but it needs more testing
before I post it.
-- Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>
- Previous message: Tim Bunce: "Re: DBD::Oracle won't build on DEC Alpha"
- In reply to: Dan Straw: "test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Next in thread: Tim Bunce: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Reply: Tim Bunce: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Reply: Dan Straw: "Re: test_dynamic Error 29 installing DBD-Oracle v 1.15 on red hat 9 Oracle 9.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|