While emerging blender 2.40:
In file included from source/blender/imbuf/intern/dynlibtiff.c:46:
source/blender/imbuf/intern/dynlibtiff.h:47:20: tiffio.h: No such file or
directory
In file included from source/blender/imbuf/intern/dynlibtiff.c:46:
source/blender/imbuf/intern/dynlibtiff.h:48: error: parse error before '*'
token
source/blender/imbuf/intern/dynlibtiff.h:48: error: parse error before
"thandle_t"
source/blender/imbuf/intern/dynlibtiff.h:48: warning: type defaults to `int' in
declaration of `libtiff_TIFFClientOpen'
source/blender/imbuf/intern/dynlibtiff.h:48: warning: data definition has no
type or storage class
source/blender/imbuf/intern/dynlibtiff.h:49: error: parse error before '*'
token
[...]
scons: ***
[/var/tmp/portage/blender-2.40/work/build/linux2/source/blender/imbuf/intern/dynlibtiff.o]
Error 1
scons: building terminated because of errors.
emerge tiff solves the problem temporarly, on blender3d.org forums they said
that missing tiffio.h in blender sources is a bug, and is fixed in cvs