Re: 0.91RC2: sql.h not found under cygwin

Dave Dumaresq <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Solved: My mistake was in ./configure, I specified the wrong path to -- 
with-unixodbc. unixODBC is under /usr/local, not /usr/local/lib.

This worked:
$ ./configure --with-unixodbc=/usr/local --with-tdsver=8.0


Dave

On 8-Jun-11, at 9:00 AM, [email protected] wrote:

> Hello,
>
> I'm building 0.91RC2 under cygwin with the following configuration:
>
> $ ./configure --with-unixodbc=/usr/local/lib --with-tdsver=8.0
>
> Unfortunately, configure fails with
>
> $ checking compile-time options
> $ configure: error: sql.h not found
>
> Do I need to set any flags (e.g. CPPFLAGS) for configure to find
> sql.h, since it's in a standard file location? If so, are there any
> configuration files I should remove before running again?
>
> Thanks,
> Dave
> --
> Dave Dumaresq
> Technical Analyst - BCcampus
> 200 - 555 Seymour St, Vancouver BC
> Phone: 604-412-7738

--
Dave Dumaresq
Technical Analyst - BCcampus
200 - 555 Seymour St, Vancouver BC
Phone: 604-412-7738
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.