gcfs - problem podczas kompilacji openssl, Ubuntu 18.04

Bash, C, C++, Java, PHP, Ruby, GTK, Qt i wiele innych - wszystko tutaj.
mes mariusz
Serdeczny Borsuk
Serdeczny Borsuk
Posty: 248
Rejestracja: 11 mar 2009, 16:49
Płeć: Mężczyzna
Wersja Ubuntu: 18.04
Środowisko graficzne: GNOME
Architektura: x86_64

gcfs - problem podczas kompilacji openssl, Ubuntu 18.04

Post autor: mes mariusz » 28 gru 2018, 22:55

Błąd podczas instalacji gcfs za:
https://www.ostechnix.com/how-to-mount- ... -in-linux/


Kod: Zaznacz cały

error: failed to run custom build command for `openssl-sys v0.9.40`             
process didn't exit successfully: `/tmp/cargo-installMHyeV3/release/build/openssl-sys-1cdab22ac70be812/build-script-main` (exit code: 101)
--- stdout
run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit code: 1\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'openssl\' found\n"

--- stderr
thread 'main' panicked at '

Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
compilation process.

Make sure you also have the development packages of openssl installed.
For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl
and include information about your system as well as this message.

    $HOST = x86_64-unknown-linux-gnu
    $TARGET = x86_64-unknown-linux-gnu
    openssl-sys = 0.9.40

', /home/mariusz/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.9.40/build/main.rs:269:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: failed to compile `gcsf v0.1.20`, intermediate artifacts can be found at `/tmp/cargo-installMHyeV3`

Caused by:
  build failed
Awatar użytkownika
Wytworny Kaczor
Wytworny Kaczor
Posty: 351
Rejestracja: 10 wrz 2006, 16:00
Płeć: Mężczyzna
Wersja Ubuntu: 18.04
Środowisko graficzne: LXDE
Architektura: x86_64

Re: gcfs - problem podczas kompilacji openssl, Ubuntu 18.04

Post autor: kobrawerde » 29 gru 2018, 11:34


Wróć do „Programowanie”