Re: KDELibs4Support fails to install on Windows if DocBookXML4 absent
On Wednesday 23 of July 2014 00:27:18 Nicolás Alvarez wrote: Hello, Currently KDELibs4Support fails to install on Windows. It gives the following error: CMake Error at src/cmake_install.cmake:264 (file): file RELATIVE_PATH must be passed a full path to the file: searched_dir-NOTFOUND Call Stack (most recent call first): cmake_install.cmake:115 (include) The problem is in src/CMakeLists.txt:653. It tries to use DocBookXML4_DTD_DIR unconditionally, even though DocBookXML4 is an optional package so it may not be found (and it is in fact not present in the current Windows setup). DocBook support is not optional; in fact you already have DocBook 4.5, otherwise KDocTools is not going to work. kdelibs4support requires the older DocBook 4.2 stuff. Just fui, there is another potential problem (only for the DTD from kdelibs4support): the full path to docbook stuff is injected in kdex.dtd, which leads to problem if the path contains a space (reported during testing on MacOSX). See: http://lists.kde.org/?l=kde-frameworks-develm=140498199122919w=2 http://lists.kde.org/?l=kde-frameworks-develm=140580707819842w=2 As this is handled by cmake, I wonder if there is a better way for encoding characters which are not valid for URIs using it, apart from specifying a list of characters that needs to be replaced (space - %20 etc). Ciao -- Luigi ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: KDELibs4Support fails to install on Windows if DocBookXML4 absent
El miércoles, 23 de julio de 2014, Luigi Toscano luigi.tosc...@tiscali.it escribió: On Wednesday 23 of July 2014 00:27:18 Nicolás Alvarez wrote: Hello, Currently KDELibs4Support fails to install on Windows. It gives the following error: CMake Error at src/cmake_install.cmake:264 (file): file RELATIVE_PATH must be passed a full path to the file: searched_dir-NOTFOUND Call Stack (most recent call first): cmake_install.cmake:115 (include) The problem is in src/CMakeLists.txt:653. It tries to use DocBookXML4_DTD_DIR unconditionally, even though DocBookXML4 is an optional package so it may not be found (and it is in fact not present in the current Windows setup). DocBook support is not optional; in fact you already have DocBook 4.5, otherwise KDocTools is not going to work. kdelibs4support requires the older DocBook 4.2 stuff. I know docbook4.5 is required for kdoctools. I meant docbook4.2 seems to be optional for kdelibs4support. If it's not intended to be optional, it should be marked as REQUIRED in CMake. -- Nicolás ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
KDELibs4Support fails to install on Windows if DocBookXML4 absent
Hello, Currently KDELibs4Support fails to install on Windows. It gives the following error: CMake Error at src/cmake_install.cmake:264 (file): file RELATIVE_PATH must be passed a full path to the file: searched_dir-NOTFOUND Call Stack (most recent call first): cmake_install.cmake:115 (include) The problem is in src/CMakeLists.txt:653. It tries to use DocBookXML4_DTD_DIR unconditionally, even though DocBookXML4 is an optional package so it may not be found (and it is in fact not present in the current Windows setup). Could some CMake/docbook expert take care of it? This is only one of two problems preventing KDELibs4Support from working on Windows, and the other problem isn't really in KDELibs4Support :) -- Nicolás ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel