Skip to content

Instantly share code, notes, and snippets.

@SaraVieira
Created March 13, 2023 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SaraVieira/cc216d35f0b966dd6356cf152e77d55d to your computer and use it in GitHub Desktop.
Save SaraVieira/cc216d35f0b966dd6356cf152e77d55d to your computer and use it in GitHub Desktop.
Compiling digest v0.10.6
Compiling sha2 v0.10.6
Compiling darling_core v0.13.4
Compiling globset v0.4.10
Compiling ignore v0.4.18
Compiling tempfile v3.4.0
Compiling thiserror-impl v1.0.39
Compiling phf_macros v0.8.0
Compiling futures-macro v0.3.27
Compiling glib-macros v0.15.11
Compiling cssparser v0.27.2
Compiling html5ever v0.25.2
Compiling cssparser-macros v0.6.0
Compiling derive_more v0.99.17
Compiling phf_macros v0.10.0
Compiling ctor v0.1.26
Compiling gtk3-macros v0.15.4
Compiling serialize-to-javascript-impl v0.1.1
Compiling serde_repr v0.1.11
Compiling darling_macro v0.13.4
Compiling phf v0.8.0
Compiling darling v0.13.4
Compiling phf v0.10.1
Compiling serde_with_macros v1.5.2
Compiling futures-executor v0.3.27
Compiling toml v0.5.11
Compiling url v2.3.1
Compiling string_cache v0.8.7
Compiling serde_with v1.14.0
Compiling treediff v3.0.2
Compiling system-deps v6.0.3
Compiling system-deps v5.0.0
Compiling cargo_toml v0.13.3
Compiling json-patch v0.2.7
Compiling serialize-to-javascript v0.1.1
Compiling glib-sys v0.15.10
Compiling gobject-sys v0.15.10
Compiling gdk-sys v0.15.1
Compiling gio-sys v0.15.10
Compiling atk-sys v0.15.1
Compiling gdk-pixbuf-sys v0.15.10
Compiling pango-sys v0.15.10
Compiling cairo-sys-rs v0.15.1
Compiling gtk-sys v0.15.3
Compiling webkit2gtk-sys v0.18.0
Compiling gdkx11-sys v0.15.1
Compiling soup2-sys v0.2.0
Compiling javascriptcore-rs-sys v0.4.0
Compiling kuchiki v0.8.1
The following warnings were emitted during compilation:
warning: `"pkg-config" "--libs" "--cflags" "javascriptcoregtk-4.0" "javascriptcoregtk-4.0 >= 2.24"` did not exit successfully: exit status: 1
error: failed to run custom build command for `javascriptcore-rs-sys v0.4.0`
Caused by:
process didn't exit successfully: `/home/saravieira/tmp/lol/src-tauri/target/debug/build/javascriptcore-rs-sys-d0b9c459c4d03505/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=JAVASCRIPTCOREGTK_4.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
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-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
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-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:warning=`"pkg-config" "--libs" "--cflags" "javascriptcoregtk-4.0" "javascriptcoregtk-4.0 >= 2.24"` did not exit successfully: exit status: 1
error: could not find system library 'javascriptcoregtk-4.0' required by the 'javascriptcore-rs-sys' crate
--- stderr
Package javascriptcoregtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `javascriptcoregtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'javascriptcoregtk-4.0' found
Package javascriptcoregtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `javascriptcoregtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'javascriptcoregtk-4.0' found
warning: build failed, waiting for other jobs to finish...
error Command failed with exit code 101.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@lorenzolewis
Copy link

For future reference, Linux is tough and needs extra prerequisites: https://tauri.app/v1/guides/getting-started/prerequisites#setting-up-linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment