Installation de cheese

Résolu/Fermé
Lsmyg Messages postés 2 Date d'inscription dimanche 6 novembre 2022 Statut Membre Dernière intervention 7 novembre 2022 - Modifié le 8 nov. 2022 à 12:57
Flachy Joe Messages postés 2103 Date d'inscription jeudi 16 septembre 2004 Statut Membre Dernière intervention 21 novembre 2023 - 7 nov. 2022 à 20:23

Je veux télécharger le logiciel cheese.

Je l'ai téléchargé sous forme d'archive tar.gz que j'ai ensuite extraite sur le bureau.

J'ai suivi les instruction que j'ai trouvé en ligne, en commencant par effectuer la commande ./configure et voici ce que ça donne:

famille@famille:~/Bureau/cheese-3.28.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for valac... valac
configure: WARNING: no proper vala compiler found
configure: WARNING: you will not be able to compile vala source files
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/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
./configure: line 5262: tr: command not found
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
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 dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 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 -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... ./configure: line 10820: tr: command not found
./configure: line 11360: tr: command not found
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... no
checking for cos in -lm... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.24... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Werror=missing-prototypes... yes
checking whether gcc understands -Werror=implicit-function-declaration... yes
checking whether gcc understands -Werror=pointer-arith... yes
checking whether gcc understands -Werror=init-self... yes
checking whether gcc understands -Werror=format-security... yes
checking whether gcc understands -Werror=format=2... yes
checking whether gcc understands -Werror=missing-include-dirs... yes
checking whether gcc understands -Werror=return-type... yes
checking what warning flags to pass to the C compiler...  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -Werror=return-type
checking what language compliance flags to pass to the C compiler... 
checking whether NLS is requested... yes
checking for intltool >= 0.50.0... 0.51.0 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... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.32.1
checking for XML::Parser... ok
checking X11/extensions/XTest.h usability... no
checking X11/extensions/XTest.h presence... no
checking for X11/extensions/XTest.h... no
checking for CHEESE... no
configure: error: Package requirements (glib-2.0 >= 2.39.90
  x11
  gdk-pixbuf-2.0
  gstreamer-pbutils-1.0 gstreamer-plugins-bad-1.0 >= 1.4
  gnome-desktop-3.0
  clutter-1.0 >= 1.13.2
  clutter-gst-3.0 >= 3.0.0) were not met:

No package 'glib-2.0' found
No package 'x11' found
No package 'gdk-pixbuf-2.0' found
No package 'gstreamer-pbutils-1.0' found
No package 'gstreamer-plugins-bad-1.0' found
No package 'gnome-desktop-3.0' found
No package 'clutter-1.0' found
No package 'clutter-gst-3.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables CHEESE_CFLAGS
and CHEESE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
famille@famille:~/Bureau/cheese-3.28.0$ make
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
famille@famille:~/Bureau/cheese-3.28.0$ make test
make: *** Aucune règle pour fabriquer la cible « test ». Arrêt.

J'ai fait beaucoup de tests mais rien n'y fait

Quelqu'un saurait-il m'aider s'il vous plait?

Merci

3 réponses

Flachy Joe Messages postés 2103 Date d'inscription jeudi 16 septembre 2004 Statut Membre Dernière intervention 21 novembre 2023 259
6 nov. 2022 à 21:07

Salut,

c'est pourtant assez explicite :

configure: error: Package requirements (glib-2.0 >= 2.39.90
  x11
  gdk-pixbuf-2.0
  gstreamer-pbutils-1.0 gstreamer-plugins-bad-1.0 >= 1.4
  gnome-desktop-3.0
  clutter-1.0 >= 1.13.2
  clutter-gst-3.0 >= 3.0.0) were not met:

Il faut donc installer les paquets (de développement) manquant :

moi@chezmoi:~$ apt install libglib2.0-dev libx11-dev libgdk-pixbuf2.0-dev libgstreamer1.0-dev libgstreamer-plugins-bad1.0-dev libclutter-1.0-dev libclutter-gst-3.0-dev gnome-desktop

Mais pourquoi te lances-tu dans une compilation, Cheese n'est pas disponible dans ton gestionnaire de paquet ?

moi@chezmoi:~$ apt-cache show cheese
Package: cheese
Architecture: amd64
Version: 41.1-1build1
Priority: optional
Section: gnome
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 450
[…]

1
Flachy Joe Messages postés 2103 Date d'inscription jeudi 16 septembre 2004 Statut Membre Dernière intervention 21 novembre 2023 259
7 nov. 2022 à 20:23

Il faut lancer la commande avec les droit super-utilisateur (sudo = Super-User DO) :

sudo apt-get install cheese

1
Lsmyg Messages postés 2 Date d'inscription dimanche 6 novembre 2022 Statut Membre Dernière intervention 7 novembre 2022
Modifié le 7 nov. 2022 à 07:55

Bonjour, j'ai effectivement essayé d'installer le paquet mais je n'ai pas la permission requise pour un fichier clé à ouvrir:

famille@famille:~$ apt-get install cheese
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock-frontend - open (13: Permission non accordée)
E: Impossible d'obtenir le verrou de dpkg (/var/lib/dpkg/lock-frontend). Avez-vous les droits du superutilisateur ?

Y a-t-il un moyen de me rendre cette propriété?

Merci

0