From xemacs-m  Wed Jun 11 08:41:47 1997
Received: from pallas.spacetec.no (pallas.spacetec.no [192.51.5.92])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA16500
	for <xemacs-beta@xemacs.org>; Wed, 11 Jun 1997 08:41:45 -0500 (CDT)
Received: (from tor@localhost)
	by pallas.spacetec.no (8.8.5/8.8.5) id PAA11499;
	Wed, 11 Jun 1997 15:41:13 +0200
Message-Id: <199706111341.PAA11499@pallas.spacetec.no>
From: tor@spacetec.no (Tor Arntsen)
Date: Wed, 11 Jun 1997 15:41:12 +0200
In-Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>
       "xpm version configure test" (Jun 11, 14:04)
X-Mailer: Mail User's Shell (7.2.5 10/14/92)
To: Martin Buchholz <mrb@Eng.Sun.COM>,
        XEmacs Beta Test <xemacs-beta@xemacs.org>
Subject: Re: xpm version configure test

On Jun 11, 14:04, Martin Buchholz wrote:
>I intend to use the following test to check that our Xpm version is
>sufficiently up to date.  Can someone with an SGI check that the
>broken Xpm installed on that system does in fact fail this test??
>If it passes, what exactly is wrong with SGI's xpm?
>
>#include <xpm.h>
>#if XpmIncludeVersion < 30406
>#error Xpm version too old
>#endif

The problem with at least IRIX 6.2 is that there *is* no xpm.h file..!
But there *are* libXpm.so files:
>versions long|grep -i xpm
l     0     0 ViewKit_eoe.sw.base     usr/lib/libXpm.so
f 59536   199 ViewKit_eoe.sw.base     usr/lib/libXpm.so.1
l     0     0 ViewKit_eoe.sw32.base   usr/lib32/libXpm.so
f  5299   233 ViewKit_eoe.sw32.base   usr/lib32/libXpm.so.1
l     0     0 ViewKit_eoe.sw64.base   usr/lib64/libXpm.so
f 34725   263 ViewKit_eoe.sw64.base   usr/lib64/libXpm.so.1

So to compile --with-xpm you need to install your own Xpm.  The test above
will then pass, but if you don't make sure that you link with your installed 
(e.g. /usr/local/lib) libXpm then it fails.  The symptom is that the toolbar 
is without the icons.

Tor


