If you're on freshly installed Fedora 23 (x86-64), then

  dnf install gtk3-devel.x86_64

gets you everything you need to compile a simple Gtk3 application[1].

However on the same host if you do:

  dnf install gtk3-devel.i686

then there's a lot missing before you can compile a 32 bit Gtk3
application[2].  I had to install the following dependencies (found by
tedious trial-and-error) before I could compile it:

  dnf -y install 
{pango,pixman,zlib,libpng,expat,mesa-libEGL,libX11,libdrm,libxcb,libXau,libXdamage,libXfixes,libXxf86vm,libXext,mesa-libGL,libXrender,harfbuzz,graphite2,gdk-pixbuf2,atk,cairo-gobject,libXinerama,libXi,libXrandr,libXcursor,libXcomposite,wayland,libwayland-client,libxkbcommon,libwayland-cursor,mesa-libwayland-egl,libepoxy,at-spi2-atk,at-spi2-core,dbus,glib2,glibc}-devel.i686

Is this a bug or is it not expected this would work or I am doing it wrong?

Rich.

[1] For my test I am using the trivial example from here:

  https://developer.gnome.org/gtk3/stable/gtk-getting-started.html

[2] To compile the 32 bit application I'm using:

  gcc -m32 trivial.c `PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig:/usr/share/pkgconfig 
pkg-config --cflags --libs gtk+-3.0` -o trivial

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to