Skip to Content.
Sympa Menu

freetds - Re: [freetds] 0.91RC2: sql.h not found under cygwin

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Dave Dumaresq <ddumaresq AT bccampus.ca>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] 0.91RC2: sql.h not found under cygwin
  • Date: Wed, 8 Jun 2011 10:41:42 -0700

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, freetds-request AT lists.ibiblio.org 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









Archive powered by MHonArc 2.6.24.

Top of Page