cmake error with LCMS_INCLUDE_DIR in 12.04

Previous topic - Next topic

Filter_Select

Heyas,

We've been using Scribus for a while now, and loving it. Tonight we had a problem with 1.4.0 constantly crashing and giving a signal 6 error, so after reading forums/bug reports I went ahead with 1.4.1 on 12.04 Precise.

As 1.4.1 isn't in software centre, and there's no ppa for Precise, i grabbed the tar.bz2 and went ahead with a cmake. After going through and installing a few packages I've hit a wall. I have the following error after doing $ cmake .


*Yuddah yaddah all good until*
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LCMS_INCLUDE_DIR
   used as include directory in directory /home/jophie/Downloads/Scribus
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc/en
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc/en/images
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc/en/tutorials
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc/en/tutorials/short-words
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc/de
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc/de/images
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc/it
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/doc/it/images
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/dtd
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/manpages
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/colormgmt
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/profiles
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/styles
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/text
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/fonts
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/desaxe
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/unicodemap
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/barcodegenerator
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/colorwheel
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/fileloader
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/fileloader/scribus134format
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/fileloader/scribus13format
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/fileloader/scribus12format
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/fontpreview
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext/csvim
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext/docim
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext/htmlim
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext/odtim
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext/pdbim
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext/sxwim
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext/textfilter
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/gettext/txtim
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import/ai
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import/cvg
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import/oodraw
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import/pct
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import/ps
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import/svg
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import/wmf
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/import/xfig
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/pixmapexport
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/saveastemplateplugin
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/scriptplugin
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/scriptplugin/samples
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/scriptplugin/scripts
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/short-words
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/svgexplugin
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/2geomtools
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/2geomtools/lib2geom
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/2geomtools/meshdistortion
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/2geomtools/pathalongpath
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/lenseffects
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/pathconnect
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/pathcut
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/pathfinder
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/pathstroker
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/subdivide
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/spellcheck
   used as include directory in directory /home/jophie/Downloads/Scribus/scribus/plugins/tools/transform
   used as include directory in directory /home/jophie/Downloads/Scribus/resources/dicts
   used as include directory in directory /home/jophie/Downloads/Scribus/resources/editorconfig
   used as include directory in directory /home/jophie/Downloads/Scribus/resources/icons
   used as include directory in directory /home/jophie/Downloads/Scribus/resources/keysets
   used as include directory in directory /home/jophie/Downloads/Scribus/resources/loremipsum
   used as include directory in directory /home/jophie/Downloads/Scribus/resources/swatches
   used as include directory in directory /home/jophie/Downloads/Scribus/resources/templates
   used as include directory in directory /home/jophie/Downloads/Scribus/resources/translations/po

-- Configuring incomplete, errors occurred!



I've exported LCMS_INCLUDE_DIR to /usr/include /usr/local/include /opt/include and /opt/local/include
I've installed liblcms2-dev

Anyone have any ideas?

Cheers very much, hopefully someone has an idea soon, we have a publication to put out on Monday night ;)

Filter

aburgett

I ran across the same problem compiling a Scribus14x checkout on Ubuntu 13.10 Desktop x86.  To resolve it, I had to uninstall the the liblcms1-dev package.  It appears that it and the liblcms2-dev conflict on the LCMS_INCLUDE_DIR variable.  The CMAKE step then work and it's building now.