[Xastir] Broken

Curt, WE7U archer at eskimo.com
Tue Jan 9 11:32:00 EST 2007


On Sun, 7 Jan 2007, Chip G. wrote:

> On Jan 4, 2007, at 14:43, Curt, WE7U wrote:
>
> > Should be one of these paths, depending on where Xastir gets
> > installed:
> >
> > /usr/local/share/xastir/config/xastir.rgb (normal source install)
> > /opt/Xastir/share/xastir/config/xastir.rgb (LSB install)
> > /usr/share/xastir/config/xastir.rgb (perhaps an OS binary package)
>
> Except that I did a prefix command during the configure, and it is
> at /sw/share/xastir/config/xastir.rgb (where I believe it should be
> for my configuration). Part of my question is why it appears to want
> it at /xastir/config/xastir.rgb.

What does your top-level Makefile show for the CPPFLAGS line after
you run configure?

Here's mine on SuSE Linux for an LSB compile:


  CPPFLAGS = -I$(top_srcdir)/src/shapelib -I/opt/lsb/include
  -I/opt/lsb/include -I/opt/lsb-tmp/include/GraphicsMagick
  -DXASTIR_DATA_BASE=\"${prefix}/share/xastir\"


And for a "normal" source install:


  CPPFLAGS = -I/usr/local/include -I/usr/X11R6/include
  -I/usr/local/include/GraphicsMagick
  -DXASTIR_DATA_BASE=\"${prefix}/share/xastir\"


It appears that you're missing the "-D" portion or it's been set to
the wrong value.  I'm wondering if this could be due to a shell
other than SH or BASH being used, or some other OSX difference
that's not accounted for.

FWIW I've done the prefix thing in the LSB port and it works just
fine.  It installs into "/opt/Xastir/".  I just checked something by
disabling the xastir.rgb in the standard location of
"/usr/local/share/xastir/config/xastir.rgb".  LSB Xastir still finds
the file, presumably at "/opt/Xastir/share/config/xastir.rgb".

I'd like to get to the bottom of this problem.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list