Re: failed install on gnomine.scores



Horacio J. Peña <horape@compendium.com.ar> writes:

> ¡Hola!
> 
> > Just some small feedback.  For some reasone, either I deleted them or
> > they never existed, I didn't have the /usr/local/var/games dir on my
> > system.  so, of course when the install tried to touch
> > /usr/local/var/games/gnomine.scores it failed.
> > I didn't even have /usr/local/var.  Needless to say, there should
> > probably be a test for this situation in the install.  Whoops, Now it's
> > trying to chown samegnome.scores which doesn't exist in the same dir.  I
> > guess it never tried to touch it.
> IMHO, the default for localstatedir, $(prefix)/var, is a very ugly one.
> I suggest running the configure with the --localstatedir=/var/lib.
>

You may consider a config.site (see autoconf documentation) file:

# config.site for configure
#

# Default --datadir, --sysconfdir and --sharedstatedir
# test "$datadir" = '${prefix}/share' && datadir='${prefix}/lib'
test "$infodir" = '${prefix}/info' && infodir='${datadir}/info'
test "$sharedstatedir" = '${prefix}/com' && sharedstatedir='/var/state'

# Give Autoconf 2.x generated configure scripts a shared default
# cache file for feature test results, architecture-specific.
if test "$cache_file" = ./config.cache; then
        cache_file="/var/lib/config.cache"
    # A cache file is only valid for one C compiler.
    CC=gcc
fi

Then run configure with CONFIG_SITE=PATH/config.site ./configure.

Ciao	
		Racke 

-- 
*NEW* Racke's Package and Resource Database                 *NEW*
*NEW* http://www.han.de/~racke/pard/                        *NEW*
*NEW* 64 packages, 11 resources, 5 distributions covered    *NEW*
*NEW* Any comments are welcome (mailto:racke@gundel.han.de) *NEW*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]