Skip to Content.
Sympa Menu

freetds - Re: [freetds] Problem building FreeTDS on Solaris 9

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Problem building FreeTDS on Solaris 9
  • Date: Tue, 22 Jun 2004 19:57:36 -0400

On Tue, 22 Jun 2004, Daniel Berger <djberge AT qwest.com> wrote:
> Hi,

Hi Daniel,

> if gcc -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -I. -I.
> -I../../include -I../../include -D_FREETDS_LIBRARY_SOURCE -D_REENTRANT
> -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wno-long-long -g -O2 -MT tsql.o -MD -MP -MF ".deps/tsql.Tpo" \
> -c -o tsql.o `test -f 'tsql.c' || echo './'`tsql.c; \
> then mv ".deps/tsql.Tpo" ".deps/tsql.Po"; \
> else rm -f ".deps/tsql.Tpo"; exit 1; \
> fi
> tsql.c:38:31: readline/readline.h: No such file or directory
...
> make: Fatal error: Command failed for target `tsql.o'

"Command failed for target `tsql.o'" is a compiler error. Your gcc isn't
finding readline.h; I guess it's not in "../../include", or on the
default paths.

As you're fooling with CPPFLAGS, find readline.h and set accordingly. On
my box, it's in

/usr/pkg/include/readline/readline.h

so I would

$ export CPPFLAGS="/usr/pkg/include".
$ ./configure && make install

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page