X-Spam-Check-By: sourceware.org
Message-ID: <46A4E32D.4010100@x-ray.at>
Date: Mon, 23 Jul 2007 19:19:41 +0200
From: Reini Urban <rurban@x-ray.at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Updated: perl-libwin32-0.27-1
References: <46A44B24.80102@x-ray.at> <1ff86f510707230616s5436cd15ia104ed5f5f7acf63@mail.gmail.com>
In-Reply-To: <1ff86f510707230616s5436cd15ia104ed5f5f7acf63@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Jerry D. Hedden schrieb:
> Reini Urban wrote:
>> This email is to inform you about the release of the updated
>> perl-libwin32 package, matching the current perl-5.8.8, through
>> http://cygwin.com/setup.exe.
> 
> I obtained the source for this module, and tried to build it.
> I produced the following error:
> 
> ODBC.xs:34:23: iodbcinst.h: No such file or directory
> 
> What package am I missing that contains this?

Uh, we forgot to add that to the cygwin README.
unixodbc is no official cygwin package yet, though it builds out
of the box. iODBC would be another option.
http://sf.net/projects/iodbc/

wget 
http://switch.dl.sourceforge.net/sourceforge/iodbc/libiodbc-3.52.5.tar.gz
tar xfz libiodbc-3.52.5.tar.gz
cd libiodbc-3.52.5
  ./configure --disable-gui --prefix=/usr --sysconfdir=/etc
make
make check
make install

libwin32 builds with the MSVC6 odbc headers also, but we (Gerrit and me) 
wanted to link against an open and POSIX compliant lib.
Note: DBD::ODBC has some detection code to which odbc lib to link 
against. Microsoft ODBC, iodbc, unixodbc or any other.
-- 
Reini Urban

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

