I ran into two problems with polkit.   First, the default instructions 
failed to make the man pages because I had a problem with my xml 
configuration.

/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links 
/usr/share/gtk-doc/html/polkit-1/ --xinclude 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl 
polkit.xml

warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
cannot parse 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

I can bypass this with --disable-man-pages, and fixing the xml 
configuration also worked.  However we may want to add 
--disable-man-pages as a part of the default instructions.  On the other 
hand, we do say that docbook-xml and docbook-xsl are required if libsxlt 
is installed and that may be enough.  It *is* reasonable to assume that 
dependent packages are installed properly (which mine weren't).



Second, I get a test failure:

/PolkitBackendJsAuthority/get_admin_identities: Error getting system 
bus: Could not connect: No such file or directoryError loading 
/var/run/ConsoleKit/database: Error statting file 
/var/run/ConsoleKit/database: No such file or directory
** 
(/tmp/polkit/polkit-0.106/test/polkitbackend/.libs/lt-polkitbackendjsauthoritytest:98

I have not installed consolekit.  Is it a runtime dependency that needs 
to be mentioned?  Note that I am building KDE and consolekit is only 
mentioned in kde4workspace, but policykit is needed for polkit-qt.

KDE
   requires Polkit-Qt
     requires Polkit
   ...
   requires Kde-workspace
     recommended ConsoleKit

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

Reply via email to