Outils pour utilisateurs

Outils du site


gabriel_rotella:gabriel_rotella7

Annexe 3: Problèmes possibles lors de l'installation de Lorapipe

Lorsque j'essaie d'installer le package lorapipe, j'obtiens l'erreur suivante:

Compiling libudev-sys v0.1.4
Compiling quote v1.0.2
error: failed to run custom build command for libudev-sys v0.1.4
Caused by:
process didn't exit successfully: /home/gabriel/Téléchargements/lorapipe-master/target/debug/build/libudev-sys-97dad31168425ffc/build-script-build (exit code: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: "\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\" did not exit successfully: exit code: 1\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing libudev.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libudev\' found\n"', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:5 note: run withRUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

Il a été résolu en installant le paquet libudev-dev (ou pkg-config peut également être manquant) par moi-même afin que je puisse plus tard le compiler avec succès.

Une autre erreur qui peut apparaître est:

error linker cc not found

pour cela, vous devez installer:

apt install build-essential
gabriel_rotella/gabriel_rotella7.txt · Dernière modification: 2020/07/13 13:59 par Gabriel Rotella