[alacarte] no suitable Python interpreter found (Résolu)

Mise à jour / Création /debug de paquetages
Répondre
pandanaute1

[alacarte] no suitable Python interpreter found (Résolu)

Message par pandanaute1 »

Bonsoir,
Avec Yaourt je rencontre un problème à l'installation du gestionnaire de menu "alacarte" pour gnome.

Voici le code :

Code : Tout sélectionner

 aur/alacarte-devel 436-1 (Out of Date) (2)
    Menu editor for GNOME - development version.
2 aur/alacarte-xfce-devel 0.13.2-2 (4)
    Menu editor for Xfce
==> Numéro(s) des paquets à installer (ex: 1 2 3 ou 1-3)
==> ----------------------------------------------------
==> 1


==> Téléchargement du PKGBUILD de alacarte-devel depuis AUR...
x PKGBUILD


Comment by: Jristz on Sat, 11 Jun 2011 06:31:46 +0000
Search for Debian, a patch fizing boken-bility w/Gnome3 is submited	

First Submitted: Fri, 08 May 2009 16:33:42 +0000	
alacarte-devel 436-1 
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Dépendances de alacarte-devel :
 - gnome-menus>=2.24.0 (déjà installé)
 - gnome-python>=2.22.3 (déjà installé)
 - gnome-common (déjà installé)
 - subversion (déjà installé)
 - intltool (déjà installé)


==> Lancer la compilation de alacarte-devel ? [O/n]
==> -----------------------------------------------
==> 
==> Construction et installation du paquet
==> ATTENTION: Impossible de trouver sudo. su sera utilisé pour les privilèges root.
==> Détermination de la dernière révision svn...

  -> Version trouvée        : 436
==> Création du paquet alacarte-devel 436-1 (jeu. juin 23 00:11:42 CEST 2011)
==> Vérification des dépendances pour l'exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
==> Extraction des sources...
==> Entre dans l'environnement fakeroot...
==> Lancement de build()...
A    alacarte/alacarte.in
A    alacarte/AUTHORS
A    alacarte/ChangeLog
A    alacarte/README
A    alacarte/alacarte.png
A    alacarte/configure.ac
A    alacarte/INSTALL
A    alacarte/acinclude.m4
A    alacarte/COPYING
A    alacarte/data
A    alacarte/data/alacarte.glade
A    alacarte/data/Makefile.am
A    alacarte/data/icons
A    alacarte/data/icons/svg
A    alacarte/data/icons/svg/alacarte.svg
A    alacarte/data/icons/hicolor_apps_22x22_alacarte.png
A    alacarte/data/icons/hicolor_apps_48x48_alacarte.png
A    alacarte/data/icons/hicolor_apps_256x256_alacarte.png
A    alacarte/data/icons/hicolor_apps_32x32_alacarte.png
A    alacarte/data/icons/hicolor_apps_24x24_alacarte.png
A    alacarte/data/icons/hicolor_apps_16x16_alacarte.png
A    alacarte/data/icons/Makefile.am
A    alacarte/data/alacarte.desktop.in.in
A    alacarte/Makefile.am
A    alacarte/MAINTAINERS
A    alacarte/alacarte.svg
A    alacarte/autogen.sh
A    alacarte/Alacarte
A    alacarte/Alacarte/config.py.in
A    alacarte/Alacarte/MenuEditor.py
A    alacarte/Alacarte/MainWindow.py
A    alacarte/Alacarte/util.py
A    alacarte/Alacarte/__init__.py
A    alacarte/Alacarte/Makefile.am
A    alacarte/Alacarte/.cvsignore
A    alacarte/NEWS
A    alacarte/.cvsignore
A    alacarte/po
A    alacarte/po/eo.po
A    alacarte/po/as.po
A    alacarte/po/mg.po
A    alacarte/po/cs.po
A    alacarte/po/kk.po
A    alacarte/po/pt_BR.po
A    alacarte/po/es.po
A    alacarte/po/io.po
A    alacarte/po/mk.po
A    alacarte/po/ko.po
A    alacarte/po/sk.po
A    alacarte/po/POTFILES.in
A    alacarte/po/uk.po
A    alacarte/po/ro.po
A    alacarte/po/ps.po
A    alacarte/po/uz@cyrillic.po
A    alacarte/po/nb.po
A    alacarte/po/bn.po
A    alacarte/po/.cvsignore
A    alacarte/po/ar.po
A    alacarte/po/zh_HK.po
A    alacarte/po/fr.po
A    alacarte/po/kn.po
A    alacarte/po/hr.po
A    alacarte/po/mn.po
A    alacarte/po/ChangeLog
A    alacarte/po/nn.po
A    alacarte/po/crh.po
A    alacarte/po/dz.po
A    alacarte/po/mr.po
A    alacarte/po/or.po
A    alacarte/po/lv.po
A    alacarte/po/ca.po
A    alacarte/po/sr.po
A    alacarte/po/da.po
A    alacarte/po/tr.po
A    alacarte/po/LINGUAS
A    alacarte/po/bn_IN.po
A    alacarte/po/fa.po
A    alacarte/po/be.po
A    alacarte/po/ga.po
A    alacarte/po/sv.po
A    alacarte/po/de.po
A    alacarte/po/ja.po
A    alacarte/po/zh_TW.po
A    alacarte/po/ka.po
A    alacarte/po/he.po
A    alacarte/po/fi.po
A    alacarte/po/hi.po
A    alacarte/po/pa.po
A    alacarte/po/zh_CN.po
A    alacarte/po/ta.po
A    alacarte/po/te.po
A    alacarte/po/eu.po
A    alacarte/po/en_GB.po
A    alacarte/po/si.po
A    alacarte/po/gu.po
A    alacarte/po/sr@latin.po
A    alacarte/po/hu.po
A    alacarte/po/POTFILES.skip
A    alacarte/po/vi.po
A    alacarte/po/be@latin.po
A    alacarte/po/ku.po
A    alacarte/po/sq.po
A    alacarte/po/ru.po
A    alacarte/po/id.po
A    alacarte/po/fur.po
A    alacarte/po/el.po
A    alacarte/po/gl.po
A    alacarte/po/bem.po
A    alacarte/po/en_CA.po
A    alacarte/po/ml.po
A    alacarte/po/et.po
A    alacarte/po/nl.po
A    alacarte/po/pl.po
A    alacarte/po/th.po
A    alacarte/po/it.po
A    alacarte/po/sl.po
A    alacarte/po/lt.po
A    alacarte/po/pt.po
A    alacarte/po/ast.po
A    alacarte/po/bg.po
A    alacarte/po/oc.po
 U   alacarte
Révision 436 extraite.
==> SVN checkout done or server timeout
==> Starting make...
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.68
checking for automake >= 1.9...
  testing automake-1.11... found 1.11.1
checking for glib-gettext >= 2.2.0...
  testing glib-gettextize... found 2.28.8
checking for intltool >= 0.25...
  testing intltoolize... found 0.41.1
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.26
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize...
Running aclocal-1.11...
Running autoconf...
Running automake-1.11...
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
Alacarte/Makefile.am:4: installing `./py-compile'
Running ./configure --enable-maintainer-mode --prefix=/usr ...
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... yes
checking for style of include used by make... GNU
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 dependency style of gcc... none
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 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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.3
checking for XML::Parser... ok
checking for python2.6... no
checking for python2.5... no
checking for python2.4... no
configure: error: no suitable Python interpreter found
==> ERREUR: Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire alacarte-devel.
==> Relancer la compilation de alacarte-devel ? [o/N]
==> -------------------------------------------------
==> 
==> ATTENTION: Les paquets suivants n'ont pas été installés :
Je vous remercie d'avance pour votre aide.
Dernière modification par pandanaute1 le jeu. 23 févr. 2012, 15:58, modifié 3 fois.
Avatar de l’utilisateur
karhu
Maître du Kyudo
Messages : 1215
Inscription : lun. 27 sept. 2010, 14:32
Localisation : Ile de France

Re: [installation alacarte avec yaourt]

Message par karhu »

Bonsoir
Dans ta sortie écran l'erreur est écrite :

Code : Tout sélectionner

Voici le code :
checking for python2.6... no
checking for python2.5... no
checking for python2.4... no
configure: error: no suitable Python interpreter found
==> ERREUR: Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire alacarte-devel.
==> Relancer la compilation de alacarte-devel ? [o/N]
==> -------------------------------------------------
==>
==> ATTENTION: Les paquets suivants n'ont pas été installés :
Re-essaye après avoir installé python.
Karhu.
S'il n'y a pas de solution, c'est qu'il n'y a pas de problème.
pandanaute1

Re: [installation alacarte avec yaourt]

Message par pandanaute1 »

Python 3 est installer.
*Comment installer celui requis par alacarte ?
Dernière modification par pandanaute1 le mer. 22 févr. 2012, 14:44, modifié 2 fois.
pandanaute1

Re: [alacarte] no suitable Python interpreter found

Message par pandanaute1 »

Réinstallation de python, et nouvelle erreur.

Voici le code :

Code : Tout sélectionner

1 aur/alacarte-devel 436-1 (Out of Date) (2)
    Menu editor for GNOME - development version.
2 aur/alacarte-xfce-devel 0.13.2-2 (4)
    Menu editor for Xfce
==> Numéro(s) des paquets à installer (ex: 1 2 3 ou 1-3)
==> ----------------------------------------------------
==> 1


==> Téléchargement du PKGBUILD de alacarte-devel depuis AUR...
x PKGBUILD


Comment by: Jristz on Sat, 11 Jun 2011 06:31:46 +0000
Search for Debian, a patch fizing boken-bility w/Gnome3 is submited	

First Submitted: Fri, 08 May 2009 16:33:42 +0000	
alacarte-devel 436-1 
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Dépendances de alacarte-devel :
 - gnome-menus>=2.24.0 (déjà installé)
 - gnome-python>=2.22.3 (déjà installé)
 - gnome-common (déjà installé)
 - subversion (déjà installé)
 - intltool (déjà installé)


==> Lancer la compilation de alacarte-devel ? [O/n]
==> -----------------------------------------------
==> 
==> Construction et installation du paquet
==> ATTENTION: Impossible de trouver sudo. su sera utilisé pour les privilèges root.
==> Détermination de la dernière révision svn...
  -> Version trouvée        : 436
==> Création du paquet alacarte-devel 436-1 (jeu. juin 23 01:31:56 CEST 2011)
==> Vérification des dépendances pour l'exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
==> Extraction des sources...
==> Entre dans l'environnement fakeroot...
==> Lancement de build()...
A    alacarte/alacarte.in
A    alacarte/AUTHORS
A    alacarte/ChangeLog
A    alacarte/README
A    alacarte/alacarte.png
A    alacarte/configure.ac
A    alacarte/INSTALL
A    alacarte/acinclude.m4
A    alacarte/COPYING
A    alacarte/data
A    alacarte/data/alacarte.glade
A    alacarte/data/Makefile.am
A    alacarte/data/icons
A    alacarte/data/icons/svg
A    alacarte/data/icons/svg/alacarte.svg
A    alacarte/data/icons/hicolor_apps_22x22_alacarte.png
A    alacarte/data/icons/hicolor_apps_48x48_alacarte.png
A    alacarte/data/icons/hicolor_apps_256x256_alacarte.png
A    alacarte/data/icons/hicolor_apps_32x32_alacarte.png
A    alacarte/data/icons/hicolor_apps_24x24_alacarte.png
A    alacarte/data/icons/hicolor_apps_16x16_alacarte.png
A    alacarte/data/icons/Makefile.am
A    alacarte/data/alacarte.desktop.in.in
A    alacarte/Makefile.am
A    alacarte/MAINTAINERS
A    alacarte/alacarte.svg
A    alacarte/autogen.sh
A    alacarte/Alacarte
A    alacarte/Alacarte/config.py.in
A    alacarte/Alacarte/MenuEditor.py
A    alacarte/Alacarte/MainWindow.py
A    alacarte/Alacarte/util.py
A    alacarte/Alacarte/__init__.py
A    alacarte/Alacarte/Makefile.am
A    alacarte/Alacarte/.cvsignore
A    alacarte/NEWS
A    alacarte/.cvsignore
A    alacarte/po
A    alacarte/po/eo.po
A    alacarte/po/as.po
A    alacarte/po/mg.po
A    alacarte/po/cs.po
A    alacarte/po/kk.po
A    alacarte/po/pt_BR.po
A    alacarte/po/es.po
A    alacarte/po/io.po
A    alacarte/po/mk.po
A    alacarte/po/ko.po
A    alacarte/po/sk.po
A    alacarte/po/POTFILES.in
A    alacarte/po/uk.po
A    alacarte/po/ro.po
A    alacarte/po/ps.po
A    alacarte/po/uz@cyrillic.po
A    alacarte/po/nb.po
A    alacarte/po/bn.po
A    alacarte/po/.cvsignore
A    alacarte/po/ar.po
A    alacarte/po/zh_HK.po
A    alacarte/po/fr.po
A    alacarte/po/kn.po
A    alacarte/po/hr.po
A    alacarte/po/mn.po
A    alacarte/po/ChangeLog
A    alacarte/po/nn.po
A    alacarte/po/crh.po
A    alacarte/po/dz.po
A    alacarte/po/mr.po
A    alacarte/po/or.po
A    alacarte/po/lv.po
A    alacarte/po/ca.po
A    alacarte/po/sr.po
A    alacarte/po/da.po
A    alacarte/po/tr.po
A    alacarte/po/LINGUAS
A    alacarte/po/bn_IN.po
A    alacarte/po/fa.po
A    alacarte/po/be.po
A    alacarte/po/ga.po
A    alacarte/po/sv.po
A    alacarte/po/de.po
A    alacarte/po/ja.po
A    alacarte/po/zh_TW.po
A    alacarte/po/ka.po
A    alacarte/po/he.po
A    alacarte/po/fi.po
A    alacarte/po/hi.po
A    alacarte/po/pa.po
A    alacarte/po/zh_CN.po
A    alacarte/po/ta.po
A    alacarte/po/te.po
A    alacarte/po/eu.po
A    alacarte/po/en_GB.po
A    alacarte/po/si.po
A    alacarte/po/gu.po
A    alacarte/po/sr@latin.po
A    alacarte/po/hu.po
A    alacarte/po/POTFILES.skip
A    alacarte/po/vi.po
A    alacarte/po/be@latin.po
A    alacarte/po/ku.po
A    alacarte/po/sq.po
A    alacarte/po/ru.po
A    alacarte/po/id.po
A    alacarte/po/fur.po
A    alacarte/po/el.po
A    alacarte/po/gl.po
A    alacarte/po/bem.po
A    alacarte/po/en_CA.po
A    alacarte/po/ml.po
A    alacarte/po/et.po
A    alacarte/po/nl.po
A    alacarte/po/pl.po
A    alacarte/po/th.po
A    alacarte/po/it.po
A    alacarte/po/sl.po
A    alacarte/po/lt.po
A    alacarte/po/pt.po
A    alacarte/po/ast.po
A    alacarte/po/bg.po
A    alacarte/po/oc.po
 U   alacarte
Révision 436 extraite.
==> SVN checkout done or server timeout
==> Starting make...
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.68
checking for automake >= 1.9...
  testing automake-1.11... found 1.11.1
checking for glib-gettext >= 2.2.0...
  testing glib-gettextize... found 2.28.8
checking for intltool >= 0.25...
  testing intltoolize... found 0.41.1
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.26
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize...
Running aclocal-1.11...
Running autoconf...
Running automake-1.11...
configure.ac:6: installing `./install-sh'
configure.ac:6: installing `./missing'
Alacarte/Makefile.am:4: installing `./py-compile'
Running ./configure --enable-maintainer-mode --prefix=/usr ...
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... yes
checking for style of include used by make... GNU
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 dependency style of gcc... none
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 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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.3
checking for XML::Parser... ok
checking for python2.6... no
checking for python2.5... no
checking for python2.4... /usr/bin/python2.4
checking whether /usr/bin/python2.4 version is >= 2.4.0... yes
checking for  version... 2.4
checking for  platform... linux2
checking for  script directory... ${prefix}/lib/python2.4/site-packages
checking for  extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ALACARTE... yes
checking for pygobject 2.15.1 installed for python required_python_abi... not found
configure: error: required pygobject version not found
==> ERREUR: Une erreur s'est produite dans build().
    Abandon...
==> ERREUR: Makepkg n'a pas pu construire alacarte-devel.
==> Relancer la compilation de alacarte-devel ? [o/N]
==> -------------------------------------------------
==> 
Dernière modification par pandanaute1 le mer. 22 févr. 2012, 14:44, modifié 2 fois.
Avatar de l’utilisateur
tuxce
Maître du Kyudo
Messages : 6677
Inscription : mer. 12 sept. 2007, 16:03

Re: [alacarte] no suitable Python interpreter found

Message par tuxce »

Le PKGBUILD est largement périmé, ça doit bien faire ~3 ans que gnome est passé sur git et a délaissé svn.
http://git.gnome.org/browse/alacarte/
Il faut refaire le PKGBUILD

Mais si c'est juste pour cacher/montrer des éléments du menu, tu peux utiliser gmenu-simple-editor

PS: c'est pas forcément une bonne chose de faire des ln (ou cp ou autres) dans les fichiers systèmes, ça commence par python2.4, on finit par ne plus savoir ce qu'on a sur sa machine.
pandanaute1

Re: [alacarte] no suitable Python interpreter found

Message par pandanaute1 »

Comment refaire le PKGBUILD ? Je n'es pas beaucoup d'expérience sur ce système...J'essaye donc d'apprendre, bien que ce ne soit pas facile ^^.
Dernière modification par pandanaute1 le mer. 22 févr. 2012, 14:44, modifié 2 fois.
pandanaute1

Re: [alacarte] no suitable Python interpreter found

Message par pandanaute1 »

Le PKGBUILD :

Code : Tout sélectionner

  GNU nano 2.2.6             Fichier : PKGBUILD                                 

# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=alacarte-devel
pkgver=436
pkgrel=1
pkgdesc="Menu editor for GNOME - development version."
arch=('i686' 'x86_64')
url="http://www.gnome.org"
license=('GPL2')
depends=('gnome-menus>=2.24.0' 'gnome-python>=2.22.3' 'gnome-common')
makedepends=('subversion' 'intltool')
provides=('alacarte')
replaces=('alacarte')
source=()
md5sums=()

_svntrunk=http://svn.gnome.org/svn/alacarte/trunk
_svnmod=alacarte


^G Aide      ^O Écrire    ^R Lire fich.^Y Page préc.^K Couper    ^C Pos. cur.
^X Quitter   ^J Justifier ^W Chercher  ^V Page suiv.^U Coller    ^T Orthograp.
Dernière modification par pandanaute1 le mer. 22 févr. 2012, 14:45, modifié 2 fois.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [alacarte] no suitable Python interpreter found

Message par FoolEcho »

pandanaute a écrit :Comment refaire le PKGBUILD ? Je n'es pas beaucoup d'exprience sur ce systeme...J'essaye donc d'apprendre bien que ce ne soit pas facile ^^.
Wiki ( AUR_User_Guidelines, Arch_Packaging_Standards, etc. ) + observer comment sont faits d'autres PKGBUILD.
Remarque également que abs te fournit plus de modèles de PKGBUILD dans /usr/share/pacman (très pratique pour tout ce qui est gestion de version). 8)

Hop, c'est ma semaine PKGBUILD, alacarte-git: :D

Code : Tout sélectionner

pkgname=alacarte-git
pkgver=20110623
pkgrel=1
pkgdesc="Menu editor for GNOME - development version."
arch=('i686' 'x86_64')
url="http://www.gnome.org"
license=('GPL2')
depends=('gnome-common' 'gnome-menus')
makedepends=('git' 'intltool')
provides=('alacarte')
replaces=('alacarte-devel' 'alacarte-xfce-devel')

_gitroot="git://git.gnome.org/alacarte"
_gitname="alacarte"

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
  else
    git clone $_gitroot $_gitname
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting make..."

  rm -rf "$srcdir/$_gitname-build"
  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build"

  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$_gitname-build"
  make DESTDIR="$pkgdir/" install
} 
(si tu compares avec le prototype d'abs, il n'y a rien de plus dans build()... testé et fonctionnel sous xfce4, i686)
«The following statement is not true. The previous statement is true.» :nage:
pandanaute1

Re: [alacarte] no suitable Python interpreter found

Message par pandanaute1 »

Merci avec ton aide, j'ai réussi l'installation du programme alacarte.
A présent, je rencontre un soucis au lancement.

Voici le code :

Code : Tout sélectionner

Traceback (most recent call last):
  File "/usr/bin/alacarte", line 36, in <module>
    main()
  File "/usr/bin/alacarte", line 32, in main
    app = MainWindow(datadir, version, sys.argv)
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 48, in __init__
    self.editor = MenuEditor()
  File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 36, in __init__
    self.__loadMenus()
  File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 56, in __loadMenus
    self.settings.path = os.path.join(util.getUserMenuPath(), self.settings.tree.get_menu_file()) 	 
  File "/usr/lib/python2.7/posixpath.py", line 66, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'
Dernière modification par pandanaute1 le mer. 22 févr. 2012, 14:45, modifié 2 fois.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [alacarte] no suitable Python interpreter found

Message par FoolEcho »

Je n'ai pas investigué davantage mais c'est fonction de ton environnement de bureau/gestionnaire de fenêtres je le crains (s'il ne répond pas au spécs, c'est foutu).
Testé sous gnome-shell et kde4: même sortie que toi (c'est très c** pour un machin prévu pour gnome... :? )
Testé sous xfce4: aucun problème.

A voir...
«The following statement is not true. The previous statement is true.» :nage:
Avatar de l’utilisateur
tuxce
Maître du Kyudo
Messages : 6677
Inscription : mer. 12 sept. 2007, 16:03

Re: [alacarte] no suitable Python interpreter found

Message par tuxce »

C'est juste qu'alacarte date un peu et qu'il cherche toujours le menu système qu'il y avait avant dans gnome, il suffit de rajouter un fichier ~/.config/menus/settings.menu avec:

Code : Tout sélectionner

<Menu><Name>Peu_importe</Name></Menu>
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [alacarte] no suitable Python interpreter found

Message par FoolEcho »

En effet. :chinois:

A noter que Aur propose depuis aujourd'hui alacarte, version patchée par Debian pour résoudre notamment ce problème ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622900 ) . :D (... éventuellement voir si le git va inclure au moins ce patch)
«The following statement is not true. The previous statement is true.» :nage:
pandanaute1

Re: [RESOLU] no suitable Python interpreter found

Message par pandanaute1 »

alacarte fonctionne !
Je vous remercie pour l'aide apporter à la résolution du problème.
Le sujet et résolu.
Répondre