tce-load -i compiletc js52-dev expat2-dev gobject-introspection-dev intltool Linux-PAM-dev http://www.freedesktop.org/software/polkit/releases/polkit-0.114.tar.gz cd polkit-0.114 sed -e '/JS_ReportWarningUTF8/s/,/, "%s",/' -i src/polkitbackend/polkitbackendjsauthority.cpp sudo mkdir /usr/local/include/security sudo ln -s /tmp/tcloop/linux-pam-dev/usr/local/include/* /usr/local/include/security CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --with-authfw=pam --disable-static --libexecdir=/usr/local/lib/polkit-1 --with-polkitd-user=tc --enable-libsystemd-login=no --with-systemdsystemunitdir=/usr/local/etc/dbus-1/system.d --disable-man-pages --enable-libelogind=no find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; correct location of perl in src/polkitbackend/toarray.pl make [0m 23.97s] sudo make install sudo chmod 4755 /usr/local/lib/polkit-1/polkit-agent-helper-1 sudo chmod 4755 /usr/local/bin/pkexec sudo chmod -R 700 /usr/local/etc/polkit-1/rules.d sudo chown -R tc:staff /usr/local/etc/polkit-1/rules.d sudo chmod -R 700 /usr/local/share/polkit-1/rules.d sudo chown -R tc:staff /usr/local/share/polkit-1/rules.d polkit 0.114 ================= prefix: /usr/local libdir: ${exec_prefix}/lib libexecdir: /usr/local/lib/polkit-1 bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/sbin datadir: ${datarootdir} sysconfdir: ${prefix}/etc localstatedir: /var docdir: ${datarootdir}/doc/${PACKAGE_TARNAME} compiler: gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe cflags: -g -O2 cppflags: xsltproc: /usr/local/bin/xsltproc introspection: yes Distribution/OS: unknown Authentication framework: pam Session tracking: ConsoleKit PAM support: yes systemdsystemunitdir: /usr/local/etc/dbus-1/system.d polkitd user: tc PAM file auth: system-auth PAM file account: system-auth PAM file password: system-auth PAM file session: system-auth Maintainer mode: no Building api docs: no Building man pages: no Building examples: yes NOTE: The file /usr/local/lib/polkit-1/polkit-agent-helper-1 must be owned by root and have mode 4755 (setuid root binary) NOTE: The file ${exec_prefix}/bin/pkexec must be owned by root and have mode 4755 (setuid root binary) NOTE: The directory ${prefix}/etc/polkit-1/rules.d must be owned by user 'tc' and have mode 700 NOTE: The directory ${datarootdir}/polkit-1/rules.d must be owned by user 'tc' and have mode 700