Building the gEDA/gaf git repository version

General Instructions

To build the git repository version of gEDA/gaf, follow these instructions:

Distro-specific information

Debian-based

This is tested on Crunchbang Linux but should work on Debian and Ubuntu also.

  1. Install the build dependencies for the packaged version of gEDA:
    $ sudo apt-get build-dep geda
  2. Install the texinfo package:
    $ sudo apt-get install texinfo
  3. If you want to generate doxygen output, install it:
    $ sudo apt-get install doxygen
  4. Clone the source from the official git repository. For information on how to do this, read the gEDA SCM topic .
  5. From inside the newly cloned repository, build gEDA/gaf:
    $ ./autogen.sh
    $ ./configure --prefix=$HOME/geda [--enable-doxygen]
    $ make
    $ make install

MacPorts

MacPorts is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading open-source software on the Mac OS X operating system. MacPorts has a packaged installation of gEDA/gaf but occasionally one needs a more up-to-date version (such as that from git). The easiest way to build from git HEAD on MacPorts is to install the packaged version (at time of writing, 1.6.2) as a way of bringing most of the dependencies into the MacPorts tree.

  1. Install the MacPorts-packaged version of gEDA/gaf. As a happy side-effect, this brings in the build prerequisites:
    $ sudo port install geda-gaf
  2. If you want to generate doxygen output, install doxygen:
    $ sudo port install doxygen
  3. Clone the source from the official git repository. For information on how to do this, read the gEDA SCM topic .
  4. From inside the newly cloned repository, build gEDA/gaf:
    $ ./autogen.sh
    $ ./configure --prefix=$HOME/geda --disable-update-xdg-database [--enable-doxygen]
    $ make
    $ make install
  5. To run the software, you need to set an environment variable to allow Guile to load its shared libraries:
    $ export LTDL_LIBRARY_PATH=/opt/local/lib
    $ gschem