On 23.07.2015 17:31, Bruce Dubbs wrote:
> Armin K. wrote:
>> On 22.07.2015 23:55, Ken Moffat wrote:
>>> I'm making progress - have at last managed to build kde-baseapps,
>>> and got konqueror (it still crashes on slashdot, like it does with
>>> kde4 - ok on some other sites - but at least it doesn't have the
>>> DisasterArea themed input line (for me in kde4 that was black text
>>> on a black background).  But to get there I had to rebuild
>>> kdelibs4support with an extra define.
>>>
>>> Initially, my log showed
>>> -- Could NOT find DocBookXML4 (missing:  DocBookXML4_DTD_DIR) (Required is 
>>> at least version "4.2")
>>>
>>> For the packages in the books, that did not seem to cause any
>>> problems.  But trying to build kde-baseapps it fell flat on its
>>> face, starting with
>>>
>>> Scanning dependencies of target kdepasswd_automoc
>>> [  2%] Generating kbookmarkmerger.1
>>> file:/opt/kf5/share/kf5/kdoctools/customization/dtd/kdex.dtd:102:
>>> warning: failed to load external entity
>>> "file:/opt/kf5/share/kf5/kdoctools/customization/dtd/searched_dir-NOTFOUND/docbookx.dtd"
>>> %DocBookDTD;
>>>              ^
>>> Entity: line 1:
>>>   %DocBookDTD;
>>>               ^
>>> The message in kdelibs4support comes from
>>> cmake/FindDocBookXML4.cmake which seems to be looking for
>>> docbookx.dtd and by default is looking for a 4.2 version (in the
>>> directory name).  Fixed by adding
>>>
>>>   -DDocBookXML_FIND_VERSION=4.5
>>>
>>> when running cmake on kdelibs4support.
>>>
>>
>> I explicitly use a sed for that. Not sure if it was and if not, why not
>> it was merged to the main book when KF5 section was added.
>>
>> But, if that cmake option works, I'd be happy to use that instead of
>> a sed.
> 
> I didn't need either the sed or the -D option.  Perhaps the configuration in 
> docbook-xml-4.5 wasn't done.  See the part that starts as
> 
> for DTDVERSION in 4.1.2 4.2 4.3 4.4
> ...
> done
> 
>   -- Bruce

I know about that. It explicitly looks for a directory,
it won't work over a symlink from what I've seen.

On my system, docbook-xml setup is way off the book -
I use archlinux way of installing each version in
its own dir, that's why I never noticed it.

-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to