meinproc/docbook can't handle paths with spaces ?

Andreas Pakulat apaku at
Mon Dec 17 20:19:48 GMT 2007

On 17.12.07 21:12:28, Alexander Neundorf wrote:
> currently kdelibs doesn't build if the source dir contains spaces:
> man-checkXML.1.docbook:4: warning: failed to load external 
> entity "dtd/kdex.dtd"
> strace says the following:
> stat64("/home/alex/src/kde4-svn/KDE", 0xbfcf68ec) = -1 ENOENT (No such file or 
> directory)
> stat64("dir/kdelibs/kdoctools/customization/catalog", 0xbfcf68ec) = -1 ENOENT 
> (No such file or directory)
> This is obviously wrong and should be:
> stat64("/home/alex/src/kde4-svn/KDE\  
> dir/kdelibs/kdoctools/customization/catalog", ... )
> So, is libxml actually able to deal with paths which contains spaces ?
> Or are we just forgetting somewhere to escape some paths ?
> (libxml docs seem to say that separators are the colon and spaces, which 
> doesn't sound good...)

That would be really bad, however calling xmllint with a file that lies
in a dir with spaces works fine. So hopefully its just some CMake-part
that doesn't quote properly.


The time is right to make new friends.

More information about the kde-core-devel mailing list