Re: can't find libtiff on ./configure



Hi,

Rodrigo Gruppelli <grupis doctornet com br> writes:

> On 19 Feb 2003, Sven Neumann wrote:
> 
> > you didn't tell the compiler to look for include files in
> > ~/include. Passing --includedir to configure only tells it to install
> > into that directory, not to use it as include path. Try to set
> > CPPFLAGS=~/include instead.
> 
> I tried the follow cmdline:
> ./configure --prefix=$HOME CPPFLAGS=$HOME/include

ugh, no, that is wrong. Try this instead:

  export CPPFLAGS=-I$HOME/include
  export LDFLAGS=-L$HOME/lib

  ./configure --prefix=$HOME

BTW, this is explained in the output of 'configure --help'.


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]