configure complains about liblcms not being there

Paul Vriens paul.vriens.wine at gmail.com
Wed Jul 11 01:30:17 CDT 2007


Alexandre Julliard wrote:
> Paul Vriens <paul.vriens.wine at gmail.com> writes:
> 
>> It look like configure is checking for the availability of lcms.h:
>>
>> configure:6948: checking lcms.h usability
>> configure:6965: gcc -m32 -c -Wcast-qual  conftest.c >&5
>> configure:6971: $? = 0
>> configure:6985: result: yes
>> configure:6989: checking lcms.h presence
>> configure:7004: gcc -m32 -E  conftest.c
>> configure:7010: $? = 0
>> configure:7024: result: yes
>> configure:7057: checking for lcms.h
>> configure:7065: result: yes
>> configure:6948: checking lcms/lcms.h usability
>> configure:6965: gcc -m32 -c -Wcast-qual  conftest.c >&5
>> conftest.c:65:23: error: lcms/lcms.h: No such file or directory
>>
>> Mine is at /usr/include/lcms.h (and it's found). Shouldn't that be
>> enough to satisfy configure? I doubt anyone will have both.
> 
> Yes it's enough, only one of them needs to be found. What you are
> probably lacking is the .so symlink, the new code is more strict about
> this to make sure we always find the correct library soname.
> 
This is a dir listing:

[root at penguin usr]# ll lib*/*lcms*
lrwxrwxrwx 1 root root     17 2007-06-19 16:51 lib64/liblcms.so -> liblcms.so.1.0.16
lrwxrwxrwx 1 root root     17 2007-06-18 17:35 lib64/liblcms.so.1 ->
liblcms.so.1.0.16
-rwxr-xr-x 1 root root 206032 2007-02-08 12:21 lib64/liblcms.so.1.0.16
lrwxrwxrwx 1 root root     17 2007-06-19 16:51 lib/liblcms.so -> liblcms.so.1.0.16
lrwxrwxrwx 1 root root     17 2007-06-18 17:35 lib/liblcms.so.1 -> liblcms.so.1.0.16
-rwxr-xr-x 1 root root 206720 2007-02-08 12:20 lib/liblcms.so.1.0.16

It's the first time I actually looked deeper into configure.ac/configure so bear
with me. This part look suspicious in configure.ac:

  832 WINE_NOTICE_IF([test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" =
"yes"],[liblcms development files not found.
  833 Wine will be built without Color Management support. (mscms.dll)])

Shouldn't that be != "yes"  ?

Cheers,

Paul.





More information about the wine-devel mailing list