Re: Is Gtk 2.0 still possible in LFS?

"\"Cliff mcDiarmid\"" ([email protected] via blfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
>>On 8/7/25 2:53 PM, "Cliff mcDiarmid" ([email protected] via blfs-
support Mailing List) wrote:

>> Hi

>>Is it still possible to install gtk-2.0 in LFS today or have things
progressed
>>too far. Obviously it is no longer supported.

>>I ask because I need to install it and just get errors, some of which I
>>stopped with a patch. I still get:

>>defaultvalue.c:108:16: error: assignment to ‘GObject *’ {aka ‘struct
_GObject
>>*’} from incompatible pointer type ‘GdkWindow *’ {aka ‘struct _GdkDrawable
*’}
>>[-Wincompatible-pointer-types]
>>108 | instance = g_object_ref (gdk_window_new (NULL, &attributes,
>>0));

>>four times when compiling gtk+-2.24.33. This is the last of them.

>>I still need it for some older stuff.  Here's what's in my build:

>>Apply the patch
https://linuxfromscratch.org/patches/downloads/gtk+/gtk+-2.24.33-consolidated_fixes-1.patch

>>sed -e 's#l \(gtk-.*\).sgml#& -o \1#' -i docs/{faq,tutorial}/Makefile.in

>>CC="gcc -std=gnu17" ./configure --prefix=/usr --sysconfdir=/etc

Many thanks will try that

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.