Re: configure: error: sql.h not found

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Nicholas Parry wrote:
> 
> configure: error: sql.h not found
> 
> I've looked on a few forums, and I have unixodbc-devel and unixodbc
> installed, and the sql.h file is in my /usr/include dir.
> 
> This is my configure parameter:
> 
> ./configure --with-unixodbc=/usr/include

You want:

	./configure --with-unixodbc=/usr

You're telling configure that unixODBC is installed in /usr, with the
header files in /usr/include and the libraries in /usr/lib.  

You might not need the option at all.  I would hope configure would find
it automatically.  

HTH.  

--jkl
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.