Re: [Super-tux-devel] seg fault
Brought to you by:
wkendrick
From: Tobias <tob...@gm...> - 2004-02-19 22:29:12
|
Am Do, den 19.02.2004 schrieb Bill Kendrick um 17:15: > On Thu, Feb 19, 2004 at 05:07:03PM +0000, ri...@ae... wrote: > > Anyway, I don't like the way that the data directory is found... > > The data directory is setuped during the make, which is not that > > brilliant, since a simple move of the game makes it not to work. > > I think that the installation directory should be setuped during > > the make process, but the current dir, when the game is not > > installed should use some hack like this one (from myself): > > http://rpmcruz.planetaclix.pt/repository/system/index.html#curdir > > I just noticed this in Makefile, which is damned silly: > > ifeq ($(PREFIX),) > ifeq ($(USERNAME),root) > PREFIX=/usr/local > ... > > > So ONLY if they compile it as root, will it install in /usr/local??? You are wrong Dot :) If no PREFIX is set on the command line and you are ROOT then it will automatically choose /usr/local, because only then a "User" is assumed to have write-access to this directory. In any other situation the $PWD is choosen. Greetz... Tobias Gläßer |