Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error install brew commands #35

Open
2 of 7 tasks
yshwanth opened this issue May 4, 2022 · 6 comments
Open
2 of 7 tasks

Error install brew commands #35

yshwanth opened this issue May 4, 2022 · 6 comments
Labels
install Installation & build-related issues OS-macos
Milestone

Comments

@yshwanth
Copy link

yshwanth commented May 4, 2022

Bug type

Put x in the boxes below:

  • Installation issue
  • App crash
  • Broken UI
  • Incorrect app behaviour

Operating system

  • Linux (specify distribution here)
  • MacOS
  • Windows

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 forsecp256k1-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
`

@yshwanth yshwanth added the C-bug Something isn't working label May 4, 2022
@dr-orlovsky
Copy link
Member

Is it gtk+3 or gtk4?

it is gtk3

Seems you need to install XCode tools. Try xcode-select --install. Will add to instructions

@dr-orlovsky dr-orlovsky added OS-macos install Installation & build-related issues and removed C-bug Something isn't working labels May 4, 2022
@dr-orlovsky dr-orlovsky added this to the v1.1 milestone May 4, 2022
@xjmzx
Copy link

xjmzx commented May 5, 2022

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.

@dr-orlovsky
Copy link
Member

Hm, seems I misspelled gtk. Have you tried brew install gtk+3 as was suggested by brew?

@arronzhang
Copy link

It's brew install gtk+3, I build success on MacOS Monterey.

@dr-orlovsky
Copy link
Member

@zzdhidden thanks for reminding me that, fixed README

@arronzhang
Copy link

@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

@dr-orlovsky dr-orlovsky reopened this Jul 3, 2022
@dr-orlovsky dr-orlovsky removed their assignment Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation & build-related issues OS-macos
Projects
None yet
Development

No branches or pull requests

4 participants