GTK compilation errors



I'm having problems building GTK. I am doing this on a RHEL 6 machine,
so the stock libraries are reasonably old.

I have installed the following libraries to the prefix
/scratch/driscoll/temp/gtk3/install:
  atk-2.4.0
  gdk-pixbuf-2.26.4
  pango-1.30.1
  cairo-1.12.4
  glib-2.32.4
  libffi-3.0.11
  pixman-0.26.2

I am now trying to build gtk+-3.4.4. I configure with

  ./configure --prefix=$(pwd)/../install                        \
              PKG_CONFIG_PATH=$(pwd)/../install/lib/pkgconfig   \
              LD_LIBRARY_PATH=$(pwd)/../install/lib

(where $(pwd)/../install resolves to the prefix above), add the
$PREFIX/bin to $PATH, and try to make, and get the following error:

  make[4]: Entering directory `/...../temp/gtk3/gtk+-3.4.4/gtk'
    CC     libgtk_3_la-gtkcellarea.lo
  gtkcellarea.c: In function 'gtk_cell_area_class_init':
  gtkcellarea.c:711: error:
       '_gtk_marshal_VOID__OBJECT_BOXED_BOOLEAN_BOOLEANv' undeclared
       (first use in this function)

Any idea what I might be doing wrong?


I stumbled across
https://mail.gnome.org/archives/gtk-list/2012-April/msg00001.html from
someone who had the same problem as well as the same precursor problem
as me, where I wasn't picking up the right glib-genmarshal, but there
was no resolution I see to this one. Now should get the right
glib-genmarshal however:

  $ which glib-genmarshal
  /scratch/driscoll/temp/gtk3/install/bin/glib-genmarshal

Evan

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]