GARNOME


GARNOME

One of the most popular (and certainly most convenient ) ways to install the GNOME development environment from source code is to use the GARNOME system available at http://www.gnome.org/~jdub/garnome/ . Install GARNOME on your system using the following instructions:

  1. Download the newest package from the website (the filename is garnome-version.tar.bz2, where version is the version number).

  2. Unpack the source code with

     bunzip2 -dc garnome-  version  .tar.bz2  tar xvf - 

    As of yet, you do not have any source code on your system; GARNOME retrieves the packages on demand.

  3. Go to the new garnome-version directory and edit gar.conf.mk with your favorite text editor. The most important setting here is in the line that contains main_prefix ?=; replace the default $(HOME)/garnome with the installation prefix of your choice.

  4. (Optional) If you have already downloaded some of the GNOME source code archives and want GARNOME to recognize them, remove the # in front of GARCHIVEDIR =. Then, add the directory containing the tarballs.

  5. Run

     cd meta/gnome-desktop make install 
  6. Wait a long time while GARNOME downloads the core packages, verifies the packages against checksums, and then unpacks, compiles, and installs the packages. If everything went well, you will now have a complete GNOME core system at the prefix you specified in Step 3.

  7. (Optional) Run make install in meta/gnome-fifth-toe, meta/gnome-hacker-tools, meta/gnome-office, and meta/gnome-power-tools if you wish to install any of these sets.

  8. (Optional) If you set GARCHIVEDIR earlier, you can run make garchive to copy your freshly downloaded tarballs to that directory.

  9. Run make clean in the top-level directory if you need to free up some disk space.

Note  

These instructions assume that your system is permanently connected to the Internet. If this is not the case, run make paranoid -checksum in the top-level directory to download all of the packages so that you can then disconnect your network.

If you installed GARNOME outside of a regular system directory, you need to set several environment variables so that the programs can find their libraries and data. The easiest approach is to use a script like the one shown here to start a GNOME session (set YOUR_PREFIX to your GARNOME prefix):

 #!/bin/sh GARNOME=  YOUR_PREFIX  # executable path PATH=$GARNOME/bin:$PATH # shared libraries LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH # Python libraries PYTHONPATH=$GARNOME/lib/python2.2/site-packages # pkg-config .pc files PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH exec $GARNOME/bin/gnome-session 

Place this script in your X startup sequence and restart your X session. This procedure makes the GNOME development environment available during your new GNOME session; however, you cannot use the environment outside of your session (for example, when using a remote shell).




The Official GNOME 2 Developers Guide
The Official GNOME 2 Developers Guide
ISBN: 1593270305
EAN: 2147483647
Year: 2004
Pages: 108

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net