php-gtk3
php-gtk3 copied to clipboard
Gtk4 dependency warning
I have strange notice from PHP-GTK3 app :) for some reasons it call GTK-4 components installed for another app written on Rust.
How is it possible?
F: Can't get document portal mount path
Authorization required, but no authorization protocol specified
thread 'main' panicked at src/main.rs:74:17:
called `Result::unwrap()` on an `Err` value: BoolError { message: "Failed to initialize GTK", filename: "/run/build/Geopard/vendor/gtk4/src/rt.rs", function: "gtk4::rt::init", line: 158 }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrac
Tried to reinstall libgtk-3-dev libgladeui-dev libgtksourceview-3.0-dev libwnck-dev but no success.
I don't remember how did installed GTK 4, maybe with cargo.. but strange to see that relation for PHP-GTK3
I never cannot understand your issues, you need to try to provide more details
Are you using appimage? you have compiled source? what php core are trigging this error?
Not make any sense call gtk4 files :(
i'm very interesting in this issue. I add some templates now, and if you complete than, this ill help alot
This issue occur on some action? or just to run a simple example? What linux disto? What linux distro version? Did you compiled or using a appimage?
Hi,
I'm using Debian 12 / i3 with compiled php-cpp and php-gtk3 from this repo. It is based on compiled PHP 8.3.9 by following instruction:
https://github.com/scorninpc/php-gtk3/blob/master/docs/compile-linux.md
I believe that is my fail somewhere on attempt to update rust/gtk dependencies globally (system-whide)
maybe I have installed GTK 3/4 with cargo (rust) maybe with make install - I don't remember (it was just an attempt to compile Geopard browser dependencies because libs are deprecated on debian).
Just super strange that PHP app calling there, it looks like maybe local profile environment patch.. but my experience not enough to understand yet. I have reported because it was hope that maybe something in php-gtk3 calling to environment.. but still not found what exactly - will share my solution asap as found
Also have removed cargo librust and rustup - still same on this machine. On ubuntu machine where I did not these installations everything works perfect.
I maybe would close this issue if you have no ideas about environmental bugs in php-gtk3.. this maybe could be reproduced on clean system only. Because no ideas what did I change that causes this alert now..
Sorry for disturb