Bon, j'en suis là:
http://wiki.lxde.org/en/PCManFM_build_and_setup_guide
Cette partie:
* Policykit authentication agent needs to be running (policykit-gnome)
o If you want to launch it in your startup script:
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Alors j'essaie:
$ /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
bash: /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1: Aucun fichier ou dossier de ce type
$ ls -l /usr/lib/policykit-1-gnome/
ls: impossible d'accéder à /usr/lib/policykit-1-gnome/: Aucun fichier ou dossier de ce type
$ ls -l /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
-rwxr-xr-x 1 root root 32772 13 mars 2010 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
$ /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
(polkit-gnome-authentication-agent-1:8940): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:8940): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
Je voudrais passer sur mes tentatives d'installer le plus récent polkit-gnome, mais non... je ne veux pas vous en priver ?!
Notez : J'ai modifié le numéro de version, pour le remplacer par la version la plus récente, et j'ai aussi supprimé la dépendance à lui-même qui se mordait la queue.
Voici donc le PKGBUILD une fois modifié:
Code : Tout sélectionner
# Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
pkgname=policykit1-gnome
pkgver=0.99
pkgrel=1
pkgdesc="PolicyKit1 integration for the GNOME desktop"
arch=('i686' 'x86_64')
url="http://people.freedesktop.org/~david/polkit-HEAD/"
license=('GPL')
depends=('gtk2>=2.18.0')
makedepends=('intltool')
source=(http://hal.freedesktop.org/releases/polkit-gnome-${pkgver}.tar.bz2)
md5sums=('f1a2565083266bc8c05c60aa7d8a0f6a')
build() {
cd "${srcdir}/polkit-gnome-${pkgver}"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/PolicyKit1
make || return 1
make DESTDIR="${pkgdir}" install
}
# vim:set ts=2 sw=2 et:
$ makepkg
==> Création du paquet policykit1-gnome 0.99-1 (jeu. sept. 23 10:59:38 CEST 2010)
==> Vérification des dépendances...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> polkit-gnome-0.99.tar.bz2 trouvé
==> Validation des fichiers sources avec md5sums...
polkit-gnome-0.99.tar.bz2 ... Réussite
==> Extraction des sources...
-> Extraction de polkit-gnome-0.99.tar.bz2 avec bsdtar
==> Entre dans l'environnement fakeroot...
==> Lancement de build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking whether gcc understands -Wno-sign-compare... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
checking what language compliance flags to pass to the C compiler...
checking for GTK... yes
checking for POLKIT_AGENT... configure: error: Package requirements (polkit-agent-1 >= 0.97) were not met:
Requested 'polkit-agent-1 >= 0.97' but version of polkit-agent-1 is 0.96
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables POLKIT_AGENT_CFLAGS
and POLKIT_AGENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Abandon...
[joyce@squirrel Polkit-gnome]$
Ah oui !
Finalement y'a un truc qui ressemble à "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
", à lancer:
$ /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
(polkit-gnome-authentication-agent-1:8960): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'
(polkit-gnome-authentication-agent-1:8960): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
** (polkit-gnome-authentication-agent-1:8960): WARNING **: Unable to register authentication agent: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for session
Cannot register authentication agent: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.RegisterAuthenticationAgent() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for session
$
org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for session
GRRR! Je vais le traquer et relancer X...
PS: j'ai tenté de le lancer depuis le fichier autostart.sh, mais ça n'a pas marché, l'écran était noir. Juste avant, supposant que polkit de extra pouvait être en conflit j'ai tenté de le désinstaller, mais ça ne semble pas possible au vu des dépendances.
$ sudo pacman -R polkit
Vérification des dépendances...
Erreur: la préparation de la transaction a échoué (la satisfaction des dépendances a échoué)
:: consolekit: requiert polkit>=0.95
:: gconf: requiert polkit>=0.96
:: polkit-gnome: requiert polkit>=0.96
:: udisks: requiert polkit>=0.96
$ sudo pacman -R udisks
Vérification des dépendances...
Erreur: la préparation de la transaction a échoué (la satisfaction des dépendances a échoué)
:: gnome-disk-utility: requiert udisks>=1.0.0
[joyce@squirrel ~]$ sudo pacman -R udisks gnome-disk-utility
Vérification des dépendances...
Erreur: la préparation de la transaction a échoué (la satisfaction des dépendances a échoué)
:: gvfs: requiert gnome-disk-utility>=2.30.1
[joyce@squirrel ~]
Re PS: le forum commence à m'emm** vu qu'il arrête pas de me déconnecter pendant que je poste...
