Problems Building GTK2+2.10.1 and Dependencies



  Over the years I've always had major problems building gtk+ on my linux
boxes. Whether I was running Red Hat (which I did until 7.3) or Slackware
(currently 10.2), it's a major PITA. The only reason I'm trying to upgrade
is to see if the latest version fixes a bug in the calendar widget.

  With gtk2+ versions more recent than 2.8.6, the calendar on jpilot starts
the week on Monday rather than Sunday. I'm trying to determine if the latest
versions of everything fix this problem. Here's where I am:

  The downloads page of the web site does not contain the latest versions of
glib, pango, atk, or cairo. After searching with Google, and rummaging
around the ftp server I was able to find:

atk-1.10.3.tar.bz2, gtk+-2.10.1.tar.bz2, glib-2.12.1.tar.bz2,
pango-1.13.5.tar.bz2, and cairo-1.2.0.tar.gz.

  Configured, built, and installed (several times trying to get the sequence
correct): atk, cairo, glib, and pango. Still cannot successfully configure
gtk+. Pango-1.12.1 configured and built just fine, but trying to configure
gtk2+-2.10.1 I saw that pango had to be built with cairo support.

  So, I tried to re-build pango-1.13.5. Configure did not have an explicit
directive, so I used './configure --with-cairo=yes', and that ran to
completion. Then I tried to build it, but ...

gcc -g -O2 -Wall -o .libs/pango-view renderdemo.o viewer-x.o viewer-main.o
pango-view.o viewer-pangox.o viewer-pangoft2.o viewer-pangoxft.o
viewer-cairo.o viewer-pangocairo.o -Wl,--rpath -Wl,/usr/local/lib
../pango/.libs/libpango-1.0.so -L/usr/local/lib
../pango/.libs/libpangox-1.0.so -L/usr/X11R6/lib
../pango/.libs/libpangoft2-1.0.so ../pango/.libs/libpangoxft-1.0.so -lXft
../pango/.libs/libpangocairo-1.0.so
/usr/local/pango-1.13.5/pango/.libs/libpangoft2-1.0.so
/usr/local/pango-1.13.5/pango/.libs/libpango-1.0.so
/usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl
/usr/local/lib/libglib-2.0.so /usr/local/lib/libcairo.so -lSM -lICE
/usr/X11R6/lib/libfontconfig.so /usr/lib/libfreetype.so -lXrender -lXext
-lpng12 -lm /usr/local/lib/libfontconfig.so /usr/local/lib/libfreetype.so
-lz /usr/lib/libexpat.so -lX11
/usr/local/lib/libcairo.so: undefined reference to T_GlyphSlot_Embolden'
collect2: ld returned 1 exit status
make[3]: *** [pango-view] Error 1
make[3]: Leaving directory /usr/local/pango-1.13.5/examples'
make[2]: *** [all] Error 2
make[2]: Leaving directory /usr/local/pango-1.13.5/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory /usr/local/pango-1.13.5'
make: *** [all] Error 2

  I don't know what to do to fix this error.

  When the only dependency not at the latest version was cairo, trying to
configure gtk+ resulted in a statement that _all_ dependencies were too old.
That's not true.

  I seem to be stuck in an endless loop: pango builds fine without cairo,
but gtk+ wants pango to include cairo support. But, pango with cairo support
won't finish compiling.

  Suggestions?

Rich

--
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.(TM)    |            Accelerator
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



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