Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308955 - media-libs/iulib-0.4 "SConstruct" doesn't find inflate() in tiff.h
Summary: media-libs/iulib-0.4 "SConstruct" doesn't find inflate() in tiff.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL: http://code.google.com/p/iulib/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-11 09:40 UTC by Samuli Suominen (RETIRED)
Modified: 2010-03-20 21:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Installed tiff.h (tiff.h,32.93 KB, text/plain)
2010-03-11 09:42 UTC, Samuli Suominen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2010-03-11 09:40:41 UTC
I was about to check iulib for libpng-1.4, but it failed on tiff instead. It looks to be checking zlib function from tiff's header (???)

Output:

scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/var/tmp/portage/media-libs/iulib-0.4/work/iulib-0.4/SConstruct", line 38, in <module>
compiling for development (slower but safer)
Checking for png_byte in C library png... yes
Checking for jpeg_std_error() in C library jpeg... yes
Checking for inflate() in C library tiff... no
Please install the following required libraries (or equivalent):
 libtiff4-dev

The part of SConstruct file it fails:

### check for required (dev-) libraries (automatically added to env LIBS)
missing = ""
if not conf.CheckLibWithHeader('png', 'png.h', 'C', 'png_byte;', 1):
    missing += " libpng12-dev"
if not conf.CheckLibWithHeader('jpeg', 'jconfig.h', 'C', 'jpeg_std_error();', 1):
    missing += " libjpeg62-dev"    
if not conf.CheckLibWithHeader('tiff', 'tiff.h', 'C', 'inflate();', 1):
   missing += " libtiff4-dev"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-11 09:42:15 UTC
Created attachment 223123 [details]
Installed tiff.h 

/usr/include/tiff.h from media-libs/tiff-3.9.2-r1