[freetds] Compiling on FreeBSD without ICONV

Alan Pettigrew freetds at pettigrew.fsnet.co.uk
Mon Jun 9 11:51:34 EDT 2003

Thanks for that.  I had to add libraries libbind_r and libc_r before it
would build, but it is now there.


----- Original Message -----
From: "Lowden, James K" <LowdenJK at bernstein.com>
To: "'Alan Pettigrew'" <freetds at pettigrew.fsnet.co.uk>; "'FreeTDS
Development Group'" <freetds at lists.ibiblio.org>
Sent: Monday, June 09, 2003 3:58 PM
Subject: RE: [freetds] Compiling on FreeBSD without ICONV

> From: Alan Pettigrew [mailto:freetds at pettigrew.fsnet.co.uk]
> Sent: June 9, 2003 10:44 AM
> I have downloaded 2 recent snapshots, 1 last week, 1 today,
> and I cannot compile the system.
> The struct iconv_t is not defined, so tdsiconv.h and others fall over.
> HAVE_ICONV is NOT defined, though there is an iconv.h in the
> /usr/include/sys directory.

At the moment, FreeTDS cannot be compiled without setting configure's
--with-libiconv-prefix switch.  The charset work we've been doing lately led
us to rely much more heavily on iconv than we did before.  Between now and
the next release, we'll add a simple version of iconv (in src/replacements)
that does ASCII<->UCS-2, which is all anyone needs for English character
data on a Microsoft server.  We'll link that in if no libiconv is detected.

Sorry for the inconvenience.


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.

More information about the FreeTDS mailing list