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

cargo install bitcoin-pro error #20

Open
mark2021blue opened this issue Jan 18, 2022 · 1 comment
Open

cargo install bitcoin-pro error #20

mark2021blue opened this issue Jan 18, 2022 · 1 comment
Labels
invalid This doesn't seem right question Further information is requested

Comments

@mark2021blue
Copy link

mark2021blue commented Jan 18, 2022

I tried to install bitcoin-pro on mac, and the following error was reported, but I haven't found the correct solution yet! !

$cargo install bitcoin-pro
error: failed to run custom build command for cairo-sys-rs v0.10.0

Caused by:
process didn't exit successfully: /var/folders/09/sh73gzw12_z5pc7ly7rr8hpr0000gn/T/cargo-installKybB6V/release/build/cairo-sys-rs-4dcad956f648ded7/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=CAIRO_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-apple-darwin
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_apple_darwin
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=CAIRO_STATIC
cargo:rerun-if-env-changed=CAIRO_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-apple-darwin
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_apple_darwin
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-apple-darwin
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_apple_darwin
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-apple-darwin
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_apple_darwin
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

--- stderr
"pkg-config" "--libs" "--cflags" "cairo" "cairo >= 1.12" did not exit successfully: exit status: 1
error: could not find system library 'cairo' required by the 'cairo-sys-rs' crate

--- stderr
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'xau', not found

warning: build failed, waiting for other jobs to finish...
error: failed to compile bitcoin-pro v0.1.2, intermediate artifacts can be found at /var/folders/09/sh73gzw12_z5pc7ly7rr8hpr0000gn/T/cargo-installKybB6V

Olga Ukolova, [Jan 18, 2022 at 6:18:40 PM]:
Hi!
...

@dr-orlovsky
Copy link
Member

Hi! You need to install GTK+ first, as provided in the readme. Please use brew install gtk+3 adwaita-icon-theme.

@dr-orlovsky dr-orlovsky added invalid This doesn't seem right question Further information is requested labels Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants