On Thu, Dec 22, 2016 at 11:14 AM, Hazel Russman <[email protected]>
wrote:

> The build instructions for poppler name little CMS2 as an optional
> dependency. However I have found that you cannot build cups-filters
> correctly if poppler is *not* built against LCMS2. The build fails with the
> message:
>
> pdftoraster-pdftoraster.o: In function `setPopplerColorProfile':
> /sources/cups-filters-1.11.1/filter/pdftoraster.cxx:1930: undefined
> reference to `GfxColorSpace::setDisplayProfile(void*)'
> collect2: error: ld returned 1 exit status
>
> The struct referred to here is defined in poppler, but only if a USE_CMS
> flag is set. Relevant code is in a source file called poppler-document.cc.
> I rebuilt poppler and was then able to build cups-filters successfully.
>
> I suggest that a note is added to poppler that lcms2 is necessary for
> poppler if there is to be a subsequent build of cups-filters.
> --
>
> H Russman


We could also bump LCMS2 to recommended, and remove the dependency on lcms1
- I see that upstream documentation doesn't recommend using lcms1 anyway.
:-)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to