LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Problem updating gtk-4 (https://www.linuxquestions.org/questions/linux-from-scratch-13/problem-updating-gtk-4-a-4175734964/)

Blademasterz 03-16-2024 05:27 AM

Problem updating gtk-4
 
Gtk-4.12.3 compile phase stopped because of this error:

Code:

FAILED: gdk/gdkresources.c
/usr/bin/glib-compile-resources gdk/gdk.gresource.xml --sourcedir /home/kal/BLFS/gtk-4.12.3/gdk --sourcedir ../gdk --c-name _gdk --internal --generate --target gdk/gdkresources.c --manual-register --dependency-file gdk/gdkresources.c.d
/usr/bin/glib-compile-resources: symbol lookup error: /usr/bin/glib-compile-resources: undefined symbol: g_string_free_and_steal
[4/1866] Generating glib marshaller header gdk/gdkmarshalers_h
INFO: Reading ../gdk/gdkmarshalers.list...
[5/1866] Generating GObject enum file gdk/gdkenumtypes.h (wrapped by meson because command contains newlines, to capture output)
ninja: build stopped: subcommand failed.

I did install latest glib-2 but still giving those errors.
TIA

business_kid 03-18-2024 04:47 AM

Why do you need gtk-4.x? Surely, that's the bleeding edge?

LFS is about learning. The bleeding edge is for developers and testers. If you really want to go after it, find out about that undefined symbol "g_string_free_and_steal" and go from there.

Blademasterz 03-18-2024 05:17 AM

Quote:

Originally Posted by business_kid (Post 6490348)
Why do you need gtk-4.x? Surely, that's the bleeding edge?

LFS is about learning. The bleeding edge is for developers and testers. If you really want to go after it, find out about that undefined symbol "g_string_free_and_steal" and go from there.

Latest gtk-4.12.5 is on BLFS stable


All times are GMT -5. The time now is 12:49 AM.