Version: 2.2.0 (using KDE 4.7.1) OS: Linux when I do not have linuxdoc-tools installed there is no complain during cmake but there are errors during compilation Reproducible: Didn't try Steps to Reproduce: try to compile digiKam without linuxdoc-tools installed Actual Results: relevant part of make output: Linking CXX executable digikamdatabaseserver [ 58%] Built target digikamdatabaseserver [ 58%] Generating index.cache.bz2 file:///usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd:101: warning: failed to load external entity "file:///usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd" %DocBookDTD; ^ Entity: line 1: %DocBookDTD; ^ file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42: validity error : PEReference: %div.title.content; not found <!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, ^ file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42: parser error : ContentDecl : Name or '(' expected <!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, ^ file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42: parser error : expected '>' <!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, ^ file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42: parser error : Content error in the external subset <!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, ^ index.docbook:29: parser error : Entity 'language' not defined <book lang="&language;"> ^ index.docbook:81: parser error : Entity 'FDLNotice' not defined <legalnotice>&FDLNotice;</legalnotice> Expected Results: lack of linuxdoc-tools should not prevent compilation OS: Linux (i686) release 3.0.4 Compiler: gcc
Git commit b2832d201702251d400d3f2816eeab07a3235853 by Gilles Caulier. Committed on 17/10/2011 at 12:51. Pushed by cgilles into branch 'master'. set doc dir optional for compilation CCBUGS: 284126 M +4 -1 CMakeLists.txt http://commits.kde.org/scratch/mwiesweg/digikam-sc/b2832d201702251d400d3f2816eeab07a3235853
doc dir is now optional into git/master, but your compilation error is due to a missing DTD file from KDELibs. Check your system Gilles Caulier
Thank you. I would rather say that kdelibs depends on /usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd from linuxdoc-tools package.
With my commit, problem is fixed for you now ? Gilles Caulier
I'm not able to clone git repository: -> ./download-repos Cloning into core... error: RPC failed; result=7, HTTP code = 0 fatal: The remote end hung up unexpectedly Could not clone http://anongit.kde.org/digikam onto core - Failed to populate gits repositories, aborting.
It's a network problem with your computer... Try again Gilles Caulier
I changed: # git clone http://anongit.kde.org/digikam-software-compilation digikam-sc into # git clone git://anongit.kde.org/digikam-software-compilation digikam-sc and I manged to download repository. ;) (maybe a coincidence) and coming back to the bug it still persist: Linking CXX shared module ../../../lib/digikamimageplugin_transform.so [ 99%] Built target digikamimageplugin_transform [ 99%] Built target digikamdatabaseserver_automoc Linking CXX executable digikamdatabaseserver [100%] Built target digikamdatabaseserver [100%] Generating index.cache.bz2 file:///usr/share/apps/ksgmltools2/customization/dtd/kdex.dtd:101: warning: failed to load external entity "file:///usr/share/xml/docbook/xml-dtd-4.5/docbookx.dtd" %DocBookDTD; ^ Entity: line 1: %DocBookDTD; ^ file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42: validity error : PEReference: %div.title.content; not found <!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, ^ file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42: parser error : ContentDecl : Name or '(' expected <!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, ^ file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42: parser error : expected '>' <!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, ^ file:///usr/share/apps/ksgmltools2/customization/dtd/modifications.elements:42: parser error : Content error in the external subset <!ELEMENT book %ho; ((%div.title.content;)?, bookinfo, ^ index.docbook:29: parser error : Entity 'language' not defined <book lang="&language;"> ^
documentation can be disable with a cmake flags at compilation time : https://projects.kde.org/projects/extragear/graphics/digikam/digikam-software-compilation/repository/revisions/master/entry/CMakeLists.txt#L42 Gilles cAulier