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

4. Additional Installation

4.1 Environment Setup  
4.2 GNUstep Home  
4.3 Time Zone  
4.4 DPS Information  
4.5 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:

 
GNUSTEP_SYSTEM_ROOT=/usr/GNUstep
export GNUSTEP_SYSTEM_ROOT
. $GNUSTEP_SYSTEM_ROOT/Makefiles/GNUstep.sh

in your `.profile' file will work (Note the period at the beginning of the line). 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

 
setenv GNUSTEP_SYSTEM_ROOT /usr/GNUstep
source $GNUSTEP_SYSTEM_ROOT/Makefiles/GNUstep.csh


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

4.2 GNUstep Home

Set up your home GNUstep directory. 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/Libraries/Resources/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/Libraries/Resources/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 DPS Information

If you are using a built-in DPS server, you may need to set the PSRESOURCEPATH environment variable (on Solaris, it's set to `/usr/openwin/lib/X11').


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

4.5 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 Unable` ]; then
  echo "Starting GNUstep services..."
  gdnc
  gpbs
fi


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

This document was generated by Debian/Alpha Build Daemon on April, 14 2002 using texi2html