Bug 55326

Summary: Poppler fails to compile with lcms2 in nonstandard location
Product: poppler Reporter: markus.moll
Component: qt4 frontendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description markus.moll 2012-09-25 17:07:25 UTC
qt4/poppler-document.cc requires lcms2, but the compilation does not include $(LCMS_INCLUDE).
Comment 1 Albert Astals Cid 2012-09-25 20:47:41 UTC
LCMS_INCLUDE is not defined anywhere, have you checked that actually does anything? Do you mean $(LCMS_CFLAGS) ?
Comment 2 markus.moll 2012-09-25 20:56:45 UTC
Sorry, yes, LCMS_CFLAGS. Poppler wouldn't compile, complaining that it could not find lcms2.h when compiling poppler-document. Indeed the include path wasn't added, and simply adding $(LCMS_CFLAGS) made it compile. I guess usually lcms2.h is in some standard include path, so that the problem is hidden.
Comment 3 Albert Astals Cid 2012-09-25 21:13:04 UTC
Fixed, 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.