[Xastir-Dev] 1.2.0 patches for datadir, pkglib, xastir.spec.in

Curt Mills hacker at tc.fluke.com
Tue Jun 17 15:47:09 EDT 2003


On Tue, 17 Jun 2003, Curt Mills, WE7U wrote:

> So far I've needed to do this:
>
>
>     Close Xastir sessions
>     mv /usr/local/xastir /usr/local/share
>     Edit ~/.xastir/config/xastir.cnf:  Change "/usr/local/xastir" to
>         "/usr/local/share/xastir".
>
>
> Now it's complaining because it can't find the xastir.rgb file:
>
>
> Error! can not find color file: ${prefix}/share/xastir/config/xastir.rgb
> Error in Color file! Exiting...

Looks like it gets that from config.h:


#define XASTIR_DATA_BASE "${prefix}/share/xastir"


configure.ac has this:


# Set XASTIR_DATA_BASE in config.h.
if test "x${datadir}" = "x"; then
  AC_DEFINE_UNQUOTED(XASTIR_DATA_BASE, "${ac_default_prefix}/share/xastir", [Stored data])
else
  AC_DEFINE_UNQUOTED(XASTIR_DATA_BASE, "${datadir}/xastir", [Stored data])
fi


So somehow the variables are not getting substituted on the way to
config.h?


-- 
Curt Mills, WE7U                    hacker_NO_SPAM_ at tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto:    A tax on people who are bad at math!"
"Windows:  Microsoft's tax on computer illiterates!" -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list