Re: freetds-0.82 for ARM linux

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Wed, 26 Jan 2011 17:14:26 +0530 (IST)
Gigin Jose <[email protected]> wrote:

> I am getting an  error in the configuration. This is the configure command I gave:
> ./configure --prefix=/home/suriya/tds/arm_tds_1/ --host=arm-linux  --with-odbc-nodm=/home/suriya/Desktop/bibhu_satya/odbc/arm_odbc_1/include
> The path "/home/suriya/Desktop/bibhu_satya/odbc/arm_odbc_1" is having the odbc libraries and header files for ARM. 
> The error message on configure is "configure: error: sql.h not found" . The file "sql.h" is present in the include path given in  "--with-odbc-nodm"  path. Why am I getting the error ? 

You'll be happy to know you're getting the error because your configure option isn't quite right:

$ ./configure --help | grep nodm
  --with-odbc-nodm=DIR    build odbc using headers in DIR/include

configure looks for DIR/include/sql.h.  You're pointing to the include directory, not its parent.  Try 

--with-odbc-nodm=/home/suriya/Desktop/bibhu_satya/odbc/arm_odbc_1

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.