Skip to Content.
Sympa Menu

freetds - Re: [freetds] freetds-0.82 for ARM linux

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] freetds-0.82 for ARM linux
  • Date: Wed, 26 Jan 2011 23:23:17 -0500

On Wed, 26 Jan 2011 17:14:26 +0530 (IST)
Gigin Jose <gigin_jose AT yahoo.co.in> 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




Archive powered by MHonArc 2.6.24.

Top of Page