Open yshwanth opened 2 years ago
Is it gtk+3 or gtk4?
it is gtk3
Seems you need to install XCode tools. Try xcode-select --install
. Will add to instructions
Same issue:
➜ ~ xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates
➜ ~ brew install gtk3 libadwaita adwaita-icon-theme libcanberra-gtk-module \
libcanberra-gtk3-module libusb
Running brew update --preinstall
...
Warning: No available formula with the name "gtk3". Did you mean gtk+3, gtk4 or gtk+?
==> Searching for similarly named formulae...
These similarly named formulae were found:
gtk+3 gtk4 gtk+
To install one of them, run (for example):
brew install gtk+3
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
Hm, seems I misspelled gtk
. Have you tried brew install gtk+3
as was suggested by brew
?
It's brew install gtk+3
, I build success on MacOS Monterey.
@zzdhidden thanks for reminding me that, fixed README
@dr-orlovsky brew has not package libcanberra-gtk-module
and libcanberra-gtk3-module
too. I ignore it and build success.
➜ mycitadel-desktop git:(master) ✗ brew search libcanberra ==> Formulae libcanberra libcaca
==> Casks libcblite
Bug type
Put
x
in the boxes below:Operating system
Problem description
Error installing brew commands on macos mainly gtk3 ? Is it gtk+3 or gtk4?
Tried compiling from source,having issues with clang tool ?
error: failed to run custom build command for
secp256k1-sys v0.5.0`Caused by: process didn't exit successfully:
/var/folders/ds/jysqhc3521jf353zntz5wh9r0000gn/T/cargo-install05EOfJ/release/build/secp256k1-sys-be1de7a846ac9191/build-script-build
(exit status: 1) --- stdout TARGET = Some("x86_64-apple-darwin") OPT_LEVEL = Some("3") HOST = Some("x86_64-apple-darwin") CC_x86_64-apple-darwin = None CC_x86_64_apple_darwin = None HOST_CC = None CC = Some("/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target armv7-none-linux-androideabi -gcc-toolchain ") CFLAGS_x86_64-apple-darwin = None CFLAGS_x86_64_apple_darwin = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CC_x86_64-apple-darwin = None CC_x86_64_apple_darwin = None HOST_CC = None CC = Some("/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -target armv7-none-linux-androideabi -gcc-toolchain ") CFLAGS_x86_64-apple-darwin = None CFLAGS_x86_64_apple_darwin = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None running: "/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang" "-target" "armv7-none-linux-androideabi" "-gcc-toolchain" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=x86_64-apple-darwin" "-I" "depend/secp256k1/" "-I" "depend/secp256k1/include" "-I" "depend/secp256k1/src" "-Wall" "-Wextra" "-DSECP256K1_API=" "-DENABLE_MODULE_ECDH=1" "-DENABLE_MODULE_SCHNORRSIG=1" "-DENABLE_MODULE_EXTRAKEYS=1" "-DUSE_NUM_NONE=1" "-DUSE_FIELD_INV_BUILTIN=1" "-DUSE_SCALAR_INV_BUILTIN=1" "-DECMULT_GEN_PREC_BITS=4" "-DECMULT_WINDOW_SIZE=15" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-DENABLE_MODULE_RECOVERY=1" "-o" "/var/folders/ds/jysqhc3521jf353zntz5wh9r0000gn/T/cargo-install05EOfJ/release/build/secp256k1-sys-a023ba03f7e55a42/out/depend/secp256k1/contrib/lax_der_parsing.o" "-c" "depend/secp256k1/contrib/lax_der_parsing.c"--- stderr
error occurred: Failed to find tool. Is
clang
installed?warning: build failed, waiting for other jobs to finish... error: failed to compile
mycitadel-desktop v1.0.0
, intermediate artifacts can be found at/var/folders/ds/jysqhc3521jf353zntz5wh9r0000gn/T/cargo-install05EOfJ
Caused by: build failed `