I have the goal to compile a gtk version, so I can compile Gimp manually. This is necessary because I use Gimp 2.6, and newer distros only use 2.8 or newer. So I decided to manually compile and old gtk so to be able to compile a gimp 2.6.x.
After an effort that it is even difficult to express in words to be able to compile all the GTK required libraries (with included most of the X library stack), I saw my effort being frustrated by broken compilation attempt with Pango.
GTK requires Pango with X support enabled. And I tried to do so, however, during the make process of Pango compilation (1.8.2 or 1.20.5) with support to X enabled, it generates endless messages like.
For instance with pango 1.20.5 I used these commands before make:
./configure --x-libraries=/media/34GB/Arquivos-de-Programas-Linux/X11-1.6.7/lib/ --x-includes=/media/34GB/Arquivos-de-Programas-Linux/X11-1.6.7/include/ PKG_CONFIG_PATH=/media/34GB/Arquivos-de-Programas-Linux/Fontconfig-2.4.0/lib/pkgconfig/:/media/34GB/Arquivos-de-Programas-Linux/Freetype-2.2.1/lib/pkgconfig/:/media/34GB/Arquivos-de-Programas-Linux/Glib-2.14.6/lib/pkgconfig/ XFT_CFLAGS=/media/34GB/Arquivos-de-Programas-Linux/Xft-2.1.12/include/ XFT_LIBS=/media/34GB/Arquivos-de-Programas-Linux/Xft-2.1.12/lib/
with apparently worked fine.
However during compilation (make) I received endless error messages. SOme of these
> ../pango/pango-layout.h:253: error: expected declaration specifiers before 'PangoLayoutRun'
>
> /usr/include/_G_config.h:31: error: storage class specified for parameter '_G_fpos64_t'
> /usr/include/stdio.h:675: error: storage class specified for parameter 'ungetc'
> ../pango/pango-modules.h:31: error: storage class specified for parameter 'PangoMap'
The error messages are nearly endless. However, the compilation works fine without asking for X and xft support.
The question is.........what can I do? Testing newer pango versions and hoping one works? Trying a newer gtk that might not require Pango with X support enabled?
Asked by user2752471
(265 rep)
Dec 23, 2019, 01:07 AM
Last activity: Dec 23, 2019, 05:21 AM
Last activity: Dec 23, 2019, 05:21 AM