[Xastir] compile error

vic ke4lkq at shentel.net
Wed Jul 23 17:32:14 EDT 2003


On Wednesday 23 July 2003 01:57 pm, Curt Mills wrote:
> On Wed, 23 Jul 2003, Curt Mills, WE7U wrote:
> > On Wed, 23 Jul 2003, vic wrote:
> > > now what am I missing:
> > >
> > > cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include
> > > -I/usr/X11R6/include -DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"  -g
> > > -O2 -pipe -pthread -c `test -f 'map_geo.c' || echo './'`map_geo.c
> > > map_geo.c: In function `draw_geo_image_map':
> > > map_geo.c:154: `XpmAttributes' undeclared (first use in this function)
> > > map_geo.c:154: (Each undeclared identifier is reported only once
> > > map_geo.c:154: for each function it appears in.)
> > > map_geo.c:154: parse error before "atb"
> > > map_geo.c:670: `atb' undeclared (first use in this function)
> > > map_geo.c:1169: `XpmSuccess' undeclared (first use in this function)
> >
> > It looks to me like the ifdef's that separate the code into XPM and
> > ImageMagick pieces are broken in that routine.  It looks like
> > map_tiger.c and maps.c are broken in a similar manner.
> >
> > If a system has neither ImageMagick nor XPM, or else just has
> > ImageMagick but not XPM, things will break.  Is your system in one
> > of these categories?  If so, don't fix that by installing either of
> > them.  Let's get this problem fixed the right way first.

Image magick but not XPM...
What else can I provide you with before changing anything.
What I am doing is setting up a brand new box, so things might need to be 
shaken out, and I will keep you posted.....



> One more case:  XPM installed but not ImageMagick.  The only working
> setup right now would be to have both libraries installed.  We need
> to fix this.  This bug may have crept in when maps.c was broken up
> into several source files.
>
> It should be easy to test:  Tweak config.h in order to fake Xastir
> out:  Tell it that one or both libraries are missing and recompile.
> I can do that on my systems even though both libraries are
> installed.

Will try that also and let you know......

Thanks, Vic



More information about the Xastir mailing list