Re: [gtk-list] problems during configuring before making gtk+ 2.10.14



On Wed, Sep 19, 2007 at 03:44:16PM +0800, tkdchen wrote:
> Following is a piece of config.log related to tiff error:
> 
> configure:27935: result: no
> configure:28101: checking for TIFFWriteScanline in -ltiff
> configure:28136: gcc -o conftest -DG_DISABLE_DEPRECATED -g -O2 -Wall
> conftest.c -ltiff -ljpeg -lz -lm   >&5
> /usr/bin/ld: cannot find -ltiff
> 
> What does the -ltiff mean? Sorry, I am a new guy to FreeBSD. Thanks!

-ltiff means find libtiff (.a or .so) and link with it.

If you say you have libtiff, it might be BSD search paths...
Try

  export LDFLAGS=-L/usr/local/lib
  export CFLAGS=-I/usr/local/include

(or the equivalent in your shell) and re-run configure.
I suppose you have libtiff installed from ports.  However,
it the Gtk+ 2.10.14 you are trying to install is also the
port, it should Just Work.  So where is your libtiff and
what exactly you are doing?

Yeti

--
http://gwyddion.net/



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