Solaris ships the headers for lcms in /usr/include/lcms instead of /usr/include which results in configure not finding them. lcms has shipped a pkg-config file since 2006 or earlier, so using this would fix the problem, as Solaris ships an accurate lcms.pc file.
Any chance you could contribute a patch?
Created attachment 25925 [details] [review] patch to use pkg-config for lcms I've tested this with both cms enabled and disabled and it seems to work OK.
I've commited a patch based on yours, please check it works for you
It doesn't work, lcms.h isn't found because your patch doesn't put LCMS_CFLAGS created by PKG_CHECK_MODULES(LCMS, lcms) into CFLAGS and CXXFLAGS.
Right, should be fixed now.
Now it dies in utils/: g++ -DHAVE_CONFIG_H -I. -I.. -I../poppler -I.. -I../utils -I../poppler -I/space/buildbot/prefix//include -I/space/buildbot/prefix/include/libxml2 -Wall -Wno-write-strings -g -O2 -MT pdfinfo.o -MD -MP -MF .deps/pdfinfo.Tpo -c -o pdfinfo.o pdfinfo.cc In file included from ImageOutputDev.cc:40: ../poppler/GfxState.h:37:18: lcms.h: No such file or directory
Third time is the good one?
Yes, it worked this time. Thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.