gitui icon indicating copy to clipboard operation
gitui copied to clipboard

Compilation fails for gitui 0.20.1 version

Open realtica opened this issue 2 years ago • 9 comments

OS: Ubuntu

error: failed to run custom build command for `openssl-sys v0.9.74`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installWiwZKb/release/build/openssl-sys-01ffab66b9a28339/build-script-main` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
  OPENSSL_NO_VENDOR unset
  CC_x86_64-unknown-linux-gnu = None
  CC_x86_64_unknown_linux_gnu = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-unknown-linux-gnu = None
  CFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running "perl" "./Configure" "--prefix=/tmp/cargo-installWiwZKb/release/build/openssl-sys-65d322f10c12afb8/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-x86_64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64"
  Configuring OpenSSL version 1.1.1p (0x1010110fL) for linux-x86_64
  Using os-specific seed configuration
  Creating configdata.pm
  Creating Makefile

realtica avatar Jun 22 '22 19:06 realtica

Same issue on Fedora 36 - tried installing openssl and openssl-devel Also tried with the openssl1.1 version: $ sudo dnf install openssl1.1 openssl1.1-devel --allowerasing

rTfact avatar Jul 07 '22 09:07 rTfact

Same problem with windows 10, cargo install gitui

xBLACKICEx avatar Jul 17 '22 20:07 xBLACKICEx

Same problem with windows 10, cargo install gitui

Same here

ark- avatar Jul 22 '22 08:07 ark-

need support by some fedora expert on this: @ignatenkobrain

extrawurst avatar Aug 17 '22 15:08 extrawurst

OS: Ubuntu 22.04 jammy Kernel: x86_64 Linux 5.15.0-46-generic

error: failed to run custom build command for `openssl-sys v0.9.75`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installUGb0Fs/release/build/openssl-sys-b3a681db0543f34b/build-script-main` (exit status: 101)
  --- stdout
  cargo:rustc-cfg=const_fn
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
  OPENSSL_NO_VENDOR unset
  CC_x86_64-unknown-linux-gnu = None
  CC_x86_64_unknown_linux_gnu = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-unknown-linux-gnu = None
  CFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running "perl" "./Configure" "--prefix=/tmp/cargo-installUGb0Fs/release/build/openssl-sys-1fa501c40b406efd/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-x86_64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64"
  Configuring OpenSSL version 1.1.1q (0x1010111fL) for linux-x86_64
  Using os-specific seed configuration
  Creating configdata.pm
  Creating Makefile

AmberAAA avatar Aug 20 '22 07:08 AmberAAA

On Fedora 36, as per this comment, running:

dnf install perl

fixed this issue for me.

dr-kristau avatar Sep 06 '22 09:09 dr-kristau

can this be closed then?

extrawurst avatar Sep 18 '22 13:09 extrawurst

On Ubuntu 20.04, I had to install both perl and make to get it compiling.

sudo apt install perl make

TheWeirdDev avatar Sep 19 '22 06:09 TheWeirdDev

can this be closed then?

Judging by my own experience on windows and other comments, one needs perl in $PATH to build gitui. I guess a documentation update at https://github.com/extrawurst/gitui#build is in order?

ShrykeWindgrace avatar Sep 20 '22 12:09 ShrykeWindgrace

can this be closed then?

Judging by my own experience on windows and other comments, one needs perl in $PATH to build gitui. I guess a documentation update at extrawurst/gitui#build is in order?

Thanks!! Indeed this solved my problem too on Windows 10: scoop install perl, restart powershell, cargo install gitui

melMass avatar Nov 13 '22 15:11 melMass

I used choco to install perl, specifically Strawberry perl dist, then cargo install gitui worked.

AddictArts avatar Mar 31 '23 18:03 AddictArts