[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4. Additional Installation

4.1 Environment Setup  
4.2 GNUstep Home  
4.3 Time Zone  
4.4 GNUstep deamons  


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1 Environment Setup

Add the shell script `GNUstep.sh' located in the Makefile package to your shell startup file (such as `.profile'). For instance, if your GNUSTEP_SYSTEM_ROOT is `/usr/GNUstep/System',

 
. /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

in your `.profile' file will work (Note the period at the beginning of the line, and the space between the period and the following path; if your GNUSTEP_SYSTEM_ROOT is different, you need to replace `/usr/GNUstep/System' with your GNUSTEP_SYSTEM_ROOT). It defines environment variables that are needed to find GNUstep files and executables. Users of csh need to use the `GNUstep.csh' script. Read the make package `README' for more info. Some systems, like GNU/Linux have an `/etc/profile.d' directory where scripts can be executed automatically. If you want to set up GNUstep for every user on your system, you can try copying/linking the `GNUstep.sh' there. For csh or tcsh, try

 
source /usr/GNUstep/System/Library/Makefiles/GNUstep.csh


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.2 GNUstep Home

Set up your home GNUstep directory. This should be done automatically if you don't do it. This is where user defaults are kept as well as other user configuration files. User installed apps, libraries, etc are also here (if the default user directory is used).

 
cd
mkdir GNUstep


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.3 Time Zone

Next, set your local time zone. There are four ways to do this, pick one (see `$GNUSTEP_SYSTEM_ROOT/Library/Libraries/Resources/gnustep-bsae/NSTimeZones/zones' for typical time zones):

  1. Use the defaults utility to set "Local Time Zone" to your local time zone (defaults is installed with GNUstep in the Tools directory). Type something like "defaults write NSGlobalDomain "Local Time Zone" GB".

  2. Set the GNUSTEP_TZ environment variable.

  3. Create the file `$GNUSTEP_SYSTEM_ROOT/Library/Libraries/Resources/gnustep-base/NSTimeZones/localtime' with the name of the local time zone in it.

  4. Set the TZ environment variable (this may conflict with other software on your system though).


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.4 GNUstep deamons

Set up your system to execute some GNUstep deamons. If you don't do this, they will be started automatically when you run your first GNUstep app:

 
if [ `gdomap -L GDNCServer | grep -c Unable` == 1 ]; then
  echo "Starting GNUstep services..."
  gdnc
  gpbs
fi


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by root on February, 16 2004 using texi2html