Skip to Content.
Sympa Menu

freetds - RE: [freetds] freetds-dev on Solaris

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <bill_d_thompson AT ml.com>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] freetds-dev on Solaris
  • Date: Thu, 4 Dec 2003 08:40:25 -0000

Hi Jeremy, James,

First the good news. I'm working fine on Solaris (2.6 though).
The --disable-libiconv flag was coded for me (thanks James) because my
install of Solaris comes with an iconv implementation that is inadequate to
the task.
I got to the root of the problem by putting my own debug code into the iconv
bits & pieces in the tds code.

I'd start with src/tds/iconv.c , putting some debug printf's into
tds_iconv_init() to find out what's happening.

We need to find out the paths through this function that are being executed
and the values of various parameters being passed to iconv_open() therein.

I'd also put basic debug into the functions in src/replacements/iconv.c , so
that we can be reassured that it is our "replacement" code for iconv_open()
and iconv() that's being called.

HTH,

Bill


> -----Original Message-----
> From: James K. Lowden [SMTP:jklowden AT schemamania.org]
> Sent: 04 December 2003 06:08
> To: FreeTDS Development Group
> Subject: Re: [freetds] freetds-dev on Solaris
>
> On Wed, 3 Dec 2003 22:48:34 -0500, "Jeremy Kister"
> <freetds-01 AT jeremykister.com> wrote:
> > On Wednesday, December 03, 2003 3:47 AM, James K. Lowden wrote:
> > > Tell me if it works with 7.0. If so, we've definitely
> > > isolated it, and it
> > > won't be hard to fix (he says, famous last words).
> >
> > nope :-/. Same error.
>
> Crumb. This is going to be a slog.
>
> Bill Thompson, do you have any suggestions?
>
> I'll send you a patch in the next day or so that adds a bunch of logging
> statements, so we can narrow down what's happening.
>
> > also, tsql still gives:
> > locale is "C"
> > locale charset is "646"
> >
> > even though I've set the client charset = ISO-8859-1 in the
> > /usr/local/etc/freetds.conf and compiled with --with-tdsver=7.0
>
> Oh, that's OK. tsql is reporting the environment, not the freetds.conf
> setting. You haven't set a LANG variable or anything, so reports the
> default "C" locale.
>
> Thanks for sticking with us, Jeremy. Whatever it is, it's worth fixing,
> and it can't be fixed without a willing guinea pig.
>
> --jkl
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds





Archive powered by MHonArc 2.6.24.

Top of Page