[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!
From: |
David Ayers |
Subject: |
Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles! |
Date: |
Tue, 28 Oct 2008 15:53:12 +0100 |
Am Dienstag, den 28.10.2008, 14:50 +0100 schrieb Truls Becken:
> David Ayers wrote:
> > Actually I was referring to the location into which the Makefiles
> > directory gets installed to.
> > ie:
> > /usr/GNUstep/System/Library/Makefiles
> > vs.
> > /usr/GNUstep/Local/Library/Makefiles
> >
> > Which would also have a direct impact from where GNUstep.sh should be
> > sourced from.
>
> The location of Makefiles is actually independent of the domain roots,
> so even if make is installed in Local, the makefiles will probably end
> up in System. This totally depends on the FS layout in use, however,
> so Makefiles could be anywhere if a custom layout was used. In the
> end, you will always need to know its location before you can source
> GNUstep.sh.
I am referring to the location to which -make should install it's
makefiles and it's tools. If -base/-gui/-core are to be installed into
the LOCAL domain if built from source, then it seems the same should
apply to -make ie. the Makefiles directory in my view.
> I guess the most "correct" way with the current make system is to
> source `gnustep-config --variable=GNUSTEP_MAKEFILES`/GNUstep.sh
OK, granted, so once you know GNUSTEP_MAKEFILES then then that's fine...
but gnustep-config get's installed into Domain of -make
(i.e. /usr/GNUstep/System/Tools currently but with Nicola's proposal I'd
expect it be installed to /usr/GNUstep/Local/Tools in the future).
So where does -make install it to by default if GNUSTEP_MAKEFILES is not
set and we default to the GNUstep file system layout?
> Question to Nicola; maybe gnustep-config should be in /usr/local/bin
> to successfully provide a bridge from standard Unix hierarchy to
> whatever layout the GNUstep installation is using? The -make package
> would then need two different --prefix options, which is a bit of a
> problem.
And that proposal (installing into /usr/local/bin) was originally
rejected... well at least it wasn't followed at the time it was
introduced.
We've had this hen-egg discussion quite often on the list... but maybe
it's time to collect the variations on the Wiki. (note I prefer
a /etc/GNUstep/Makefile.conf file which would contain something like:
export GNUSTEP_MAKEFILES=/usr/GNUstep/System/Library/Makefiles
or
export GNUSTEP_MAKEFILES=/usr/GNUstep/Local/Library/Makefiles
or
export GNUSTEP_MAKEFILES=/usr/share/gnustep/Makefiles
or
export GNUSTEP_MAKEFILES=/usr/local/share/gnustep/Makefiles
But we actually already have an /etc/GNUstep/GNUstep.conf file which
also currently gets installed into /etc/ or /usr/local/etc IIRC. So
again we do not have reliable place to start... well unless we prefer
the local version to the system version from within the gnustep-config
script.
Cheers,
David
- Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Nicola Pero, 2008/10/28
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, David Ayers, 2008/10/28
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Nicola Pero, 2008/10/28
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Nicola Pero, 2008/10/28
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Truls Becken, 2008/10/28
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Nicola Pero, 2008/10/29
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Richard Frith-Macdonald, 2008/10/29
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, David Ayers, 2008/10/29
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Riccardo Mottola, 2008/10/29
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Pete French, 2008/10/28
- Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Lucas Holt, 2008/10/28
Re: Please do not hardcode GNUSTEP_INSTALLATION_DOMAIN in GNUmakefiles!, Nicola Pero, 2008/10/28