You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I said last week that I'd try this out and report how that went.
Sadly, my assumption that my Linux distro, Nixos, would get in the way, was correct.
Using make run I ran into the following error, which was expected:
error: failed to run custom build command for `webview-sys v0.3.2`
Caused by:
process didn't exit successfully: `/home/hzimmerman/rnd/rust-webview-todomvc-yew/target/debug/build/webview-sys-966ee743bf2ab62a/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Command { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"webkit2gtk-4.0\" \"webkit2gtk-4.0 >= 2.8\"", cause: Os { code: 2, kind: NotFound, message: "No such file or directory" } }', src/libcore/result.rs:1165:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
To remedy that, I tried installing webview via go get github.com/zserge/webview, which produced the following error:
# pkg-config --cflags -- gtk+-3.0 webkit2gtk-4.0
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
Package webkit2gtk-4.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkit2gtk-4.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkit2gtk-4.0' found
pkg-config: exit status 1
From there, I figured that I needed to install webkit2gtk-4.0 (and gtk 3) to get that to install.
Unfortunately, when I searched for webkit libraries, the best nixos's package manager could find for me was webkitgtk-2.4.11 (nixos.webkitgtk24x-gtk3), which has been marked as "insecure". At which point I gave up.
I'm not requesting assistance, I'm just following up like I said I would. I think I have an unusual OS situation, but maybe enumerating all dependencies in the readme might help people whose OSs are better suited towards actually installing those libraries.
Feel free to close this issue, as it doesn't present a problem that you can reasonably take action against.
The text was updated successfully, but these errors were encountered:
This error occurrs on Ubuntu 20.04 after a new install. It required additional development libraries/headers on your system in order to run, e.g libwebkit2gtk-4.0-dev. This was available as a separate package sudo apt install libwebkit2gtk-4.0-dev (please check your package manager for details).
Hey, I said last week that I'd try this out and report how that went.
Sadly, my assumption that my Linux distro, Nixos, would get in the way, was correct.
Using
make run
I ran into the following error, which was expected:To remedy that, I tried installing webview via
go get github.com/zserge/webview
, which produced the following error:From there, I figured that I needed to install webkit2gtk-4.0 (and gtk 3) to get that to install.
Unfortunately, when I searched for webkit libraries, the best nixos's package manager could find for me was
webkitgtk-2.4.11 (nixos.webkitgtk24x-gtk3)
, which has been marked as "insecure". At which point I gave up.I'm not requesting assistance, I'm just following up like I said I would. I think I have an unusual OS situation, but maybe enumerating all dependencies in the readme might help people whose OSs are better suited towards actually installing those libraries.
Feel free to close this issue, as it doesn't present a problem that you can reasonably take action against.
The text was updated successfully, but these errors were encountered: