[Tux4kids-tuxtype-dev] [Tuxmath-devel] TuxMath and TuxType BeOS ports

David Bruce davidstuartbruce at gmail.com
Mon Jan 26 04:45:42 UTC 2009


Hi Luc,

I'm pretty sure I found the problem. The correct path to the data
should be simply DATA_PREFIX.  (until recently, I think tuxtype
actually used DATA_PREFIX/data).

So, if you find this in setup.c:

const char PATHS[NUM_PATHS][FNLEN] =
 {
  DATA_PREFIX"/share/"PACKAGE"/data",
  "/usr/share/"PACKAGE"/data",
  "/usr/local/share/"PACKAGE"/data",
  "./data"
 };


try changing it to:

const char PATHS[NUM_PATHS][FNLEN] =
{
   DATA_PREFIX,
   "./data"
};

and change NUM_PATHS to 2.

That's what I've done in svn and I think it now works correctly.

Cheers,

David



More information about the Tux4kids-tuxtype-dev mailing list