Sun 18 May 2008 08:53:16 PM UTC, comment #9:
I updated gnustep-make trunk :-)
Thanks
|
Sun 18 May 2008 01:21:21 PM UTC, comment #8:
I'm not the port maintainer, so don't know, why the GNUstep.conf ended up in /etc and not in /etc/GNUstep.
However, I think /etc/GNUstep/GNUstep.conf is fine too, at least easier to find than below /usr/etc.
So, making it consistent with other unixes then, seems to be a good reason too ;)
|
Sun 18 May 2008 12:27:18 PM UTC, comment #7:
> when installing gnustep-make from ports, then the file ends
> up in ${SYSCONFDIR}/GNUstep.conf which is /etc/GNUstep.conf.
> So I'd propose to use this.
Thanks :-)
Good that we're moving towards /etc/. That sounds good :-)
Shall we not go to /etc/GNUstep/GNUstep.conf so that it is the
same as in all other Unix systems then ? Not sure why we need
a different location for OpenBSD ? Consistency across all
systems for the 'default' path looks quite attractive to me;
it's simple and predictable. Of course, specific
ports/packaging can install wherever they want.
Btw, you seem to think it would be useful to have the "normal"
default (ie, the location used when you install from source
by hand) and the ports location (ie, the location used when you
install from source using the ports) to be the same ?
Any advantages ?
Presumably it's easier to overwrite the ports package with your
own ? Couldn't that be considered a disadvantage too ?
Thanks
|
Sun 18 May 2008 12:13:47 PM UTC, comment #6:
when installing gnustep-make from ports, then the file ends up in ${SYSCONFDIR}/GNUstep.conf which is /etc/GNUstep.conf.
So I'd propose to use this.
|
Sun 18 May 2008 11:28:52 AM UTC, comment #5:
I'm confused now
Can I put the file by default in /etc/GNUstep/GNUstep.conf on
OpenBSD as well - like on every other unix system ? :-)
I don't really understand where the /usr/etc/GNUstep.conf comes
from.
People/packagers can always configure it to go wherever they
like - this is only the default location used when compiling
manually from source. ;-)
I would have thought it would make more sense to use the same
location on all Unix systems. I had a quick look on an OpenBSD
machine, and to me it seems that Unix-style configuration files
go in /etc like in all other Unix systems.
Can I make this change and close the issue ? (if not, please
explain why and provide an alternative default location for
GNUstep.conf when building from source)
Thanks
|
Sun 17 Feb 2008 10:40:47 AM UTC, comment #4:
I overlooked /etc/GNUstep.sh, a copy of /usr/local/share/GNUstep/GNUstep.conf.
|
Wed 10 Oct 2007 04:56:23 AM UTC, comment #3:
> So it's being put there on purpose :-)
>
> I don't know why that is the default location though. Are you > saying that's not a good location for it ? Should it
> go in /etc/GNUstep/GNUstep.conf (as on Linux) ?
I just checked, the OpenBSD gnustep port puts the GNUstep.conf file into /usr/local/share/GNUstep/GNUstep.conf
|
Wed 10 Oct 2007 01:41:18 AM UTC, comment #2:
Well, GNUstep.conf goes outside the prefix (usually), but you
can change it to go inside {prefix} using
./configure --with-config-file=PATH
This is only recommended if you know what you're doing though;
the reason GNUstep.conf goes outside {prefix} by default
is that you have your GNUstep installation inside {prefix}, and
GNUstep.conf is used to find out where your installation is. Eg,
you install things in /opt/nicola/GNUstep, and have
/etc/GNUstep.conf that records that location. When you then
run some GNUstep stuff, they know the installation is in
/opt/nicola/GNUstep because it's recorded in /etc/GNUstep.conf.
If you have GNUstep.conf itself inside
/opt/nicola/.../GNUstep.conf, well, you have a chicken-and-egg problem - to fix it you need to use the GNUSTEP_CONFIG_FILE
shell variable to tell GNUstep where the GNUstep.conf file
is. This is great for advanced users that are doing "clever"
things and don't mind setting up shell variables, but "ordinary"
users just want things to work out of the box with no
manual configuration or shell variables - no matter what
{prefix} they use to install GNUstep.
Now on OpenBSD I'm not surprised GNUstep.conf is ending up in /usr/etc/GNUstep.conf ... since we have the following lines in configure.ac:
if test "$GNUSTEP_CONFIG_FILE" = "" -o "$GNUSTEP_CONFIG_FILE" = "no"; then
case "$target_os" in
freebsd* | openbsd* ) GNUSTEP_CONFIG_FILE=/usr/etc/GNUstep.conf ;;
netbsd* ) GNUSTEP_CONFIG_FILE=/usr/pkg/etc/GNUstep.conf ;;
*) GNUSTEP_CONFIG_FILE=/etc/GNUstep/GNUstep.conf ;;
esac
fi
So it's being put there on purpose :-)
I don't know why that is the default location though. Are you saying that's not a good location for it ? Should it
go in /etc/GNUstep/GNUstep.conf (as on Linux) ?
Thanks
|
Tue 09 Oct 2007 05:06:24 AM UTC, comment #1:
There are ports for GNUstep in /usr/ports/x11/gnustep, well not in 4.1, but in -current, and will be in 4.2.
You should try these.
|
Mon 08 Oct 2007 05:40:37 PM UTC, original submission:
shouldn't GNUstep.conf go inside somewhere of /usr/GNUstep ? I assume that is the prefix and that should be the default.
On OpenBSD I get:
$ gmake install
Creating system tools directory: /usr/GNUstep/System/Tools
Creating makefile directories in: /usr/GNUstep/System/Library/Makefiles
Installing GNUstep configuration file in /usr/etc/GNUstep.conf
mkdir: /usr/etc: Permission denied
|