[Xastir] Problem under debian "Etch"

Curt, WE7U archer at eskimo.com
Fri Apr 20 12:42:01 EDT 2007


On Fri, 20 Apr 2007, Curt, WE7U wrote:

> When I compile Xastir, each GCC line has this somewhere in it:
>
>     -DXASTIR_DATA_BASE=\"/usr/local/share/xastir\"
>
> What does yours have?

This is set in configure.ac:

  # Set XASTIR_DATA_BASE in CPPFLAGS due to Gnu coding standard that requires
  # datadir expansion to be deferred until make time.
  if test "x${datadir}" = "x"; then
    CPPFLAGS="$CPPFLAGS -DXASTIR_DATA_BASE=\\\"${ac_default_prefix}/share/xastir\\\""
  else
    CPPFLAGS="$CPPFLAGS -DXASTIR_DATA_BASE=\\\"${datadir}/xastir\\\""
  fi

Perhaps you need to run these on your system to see if you get
XASTIR_DATA_BASE set properly in your Makefiles:

    ./bootstrap.sh
    ./configure
    make clean
    make

Check for the variable getting set with a -D prefix on each compile
line.  If that's present and set correctly, then do a "make install"
again as root or using sudo.

--
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