Re: FVWM: 2.1.5 build on HP-UX fails

From: Dan Espen <dane_at_mk.bellcore.com>
Date: Wed, 16 Dec 1998 13:58:44 -0500

"A.W.Payne" <ukrpayn_at_prl.research.philips.com> writes:
> Paul D. Smith wrote:
> >
> > %% "A.W.Payne" <ukrpayn_at_prl.research.philips.com> writes:
> >
> > awp> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/users/pds/X11R5/inc
> lude -g -O2 -c GetFont.c
> > awp> In file included from GetFont.c:10:
> > awp> fvwmlib.h:115: parse error before `*'
> > awp> *** Error exit code 1
> >
> > awp> fvwmlib.h line 115 is :
> > awp> void color_reduce_pixmap(XpmImage *, int);
> >
> > It looks to me like your XPM installation is bad; that error usually
> > means that that type (XpmImage) is unknown. It's supposed to be defined
> > in xpm.h, which your configure output says you have? Maybe you have an
> > old version?
> >
> > My xpm.h has this for versions and works fine:
> >
> > #define XpmFormat 3
> > #define XpmVersion 4
> > #define XpmRevision 8
> >
> > Do you have an xpm.h in /users/pds/X11R5/include/X11 ?
>
> I did, but someone had overwritten it with an old version which was xpm
> format 2, when they installed some other program. Having now put back an
> xpm format 3 xpm.h in my include directory it's compiled OK. You were
> spot on Paul, thanks very much for the help.

We are still left with user unfriendly output discovered too late.

I notice that we check for the file "xpm.h" during configure, but
never try to #include it.

I'm still not totally up to speed on autoconf, but wouldn't it make
more sense to change the xpm sensing logic to use the header and
actually include an "XpmImage *" in the little sample program that
configure uses?

> --
> Adrian Payne

--
Dan Espen                                Phone: (732) 699-5570
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.bellcore.com
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL: http://fvwm.math.uh.edu/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Dec 16 1998 - 12:59:42 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST