GNUstep.org
[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

4. Additional Installation

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


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


4.2 GNUstep Home

Your home GNUstep directory should be created automatically the first time you use a GNUstep tool or application. 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). By default this is the directory `GNUstep' under your home directory, but you can change this (see the gnustep-make installation documentation).


4.3 Time Zone

In most cases, GNUstep should be able to determine your time zone, if you have already set it up correctly when setting up your computer. However, in some cases this might fail or the correct information may not be available. You can set it manually using the GNUstep defaults utility to set Local Time Zone to your local time zone. Type something like defaults write NSGlobalDomain "Local Time Zone" GB. Where GB is a time zone abbreviation.

See `$GNUSTEP_SYSTEM_ROOT/Library/Libraries/Resources/gnustep-bsae/NSTimeZones/zones' for typical time zones):


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:

  • gdomap - Put this in a system startup file, like `/etc/rc.local' or `/etc/rc.d/rc.local' (customize for your system)
     
    GNUSTEP_SYSTEM_ROOT=/usr/GNUstep/System
    if [ -f $GNUSTEP_SYSTEM_ROOT/Tools/gdomap ]; then
      $GNUSTEP_SYSTEM_ROOT/Tools/gdomap
    fi
    
  • gdnc - Start after sourcing `GNUstep.sh' (e.g. in .profile)
  • gpbs - Same as with gdnc, make sure X-Windows is running.
  • make_services - Not a deamon, but a tool that needs to be run everytime you install a new Application or service. This is NOT run automatically.

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


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

This document was generated by Adam Fedor on December, 11 2006 using texi2html