On Sun, 04 Aug 2002, Meinhard E. Mayer yowled:
1. I just downloaded the latest libpng-1.2.2 before configuring and
compiling xemacs; I also verified the /usr/include/png.h is linked
to the libpng-1.2.2 version.
You must also ensure that all libraries XEmacs links to use
libpng-1.2.x.
Nontheless, if I start xemacs from a terminal I get the follwing
string of warnings.
They're not just warnings: libpng will refuse to decode any images.
libpng warning: Application was compiled with png.h from
libpng-1.0.12
libpng warning: Application is running with png.c from libpng-1.2.2
libpng error: Incompatible libpng version in application and library
gdk_imlib ERROR: Cannot load image: /usr/share/themes/BeCool/gtk/arrow_submenu_active.png
You need to rebuild gdk_imlib (part of the imlib package) against
libpng-1.2.2 as well: that in turn will cascade to many other things in
GNOME (I can provide a partial list if you want).
(Basically all the programs that were built against 1.0.x should rebuild
against 1.2.x without trouble, so you needn't worry about *that*.)
Where should I look for the wrong png.h file your configure script
picked?
It picked 1.2.2 OK: part of GNOME is using 1.2.0, as an `ldd' of the
xemacs binary will show.
--
`There's something satisfying about killing JWZ over and over again.'
-- 1i, personal communication