From kde-core-devel Mon Dec 17 20:19:48 2007 From: Andreas Pakulat Date: Mon, 17 Dec 2007 20:19:48 +0000 To: kde-core-devel Subject: Re: meinproc/docbook can't handle paths with spaces ? Message-Id: <20071217201948.GA7638 () morpheus ! apaku ! dnsalias ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=119792301609721 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. Andreas -- The time is right to make new friends.