This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
geda:gaf_building_git_version [2013/08/27 03:22] gareth [Debian-based] Updates based on latest experiences |
geda:gaf_building_git_version [2019/10/07 15:45] (current) rlutz Add “--enable-silent-rules” |
||
---|---|---|---|
Line 6: | Line 6: | ||
* Download and install all the following dependencies. You will probably want to use your distributions package management system (such as apt-get or yum) to install the dependencies. | * Download and install all the following dependencies. You will probably want to use your distributions package management system (such as apt-get or yum) to install the dependencies. | ||
- | * A C compiler and C standard library ([[ http://gcc.gnu.org/ | GCC ]] and [[ http://www.gnu.org/software/libc/ | GNU Libc ]] are recommended) | + | * A C/C++ compiler and standard library ([[ http://gcc.gnu.org/ | GCC ]] and [[ http://www.gnu.org/software/libc/ | GNU Libc ]] are recommended) |
* [[ http://flex.sourceforge.net/ | flex ]] current | * [[ http://flex.sourceforge.net/ | flex ]] current | ||
* [[ http://www.gnu.org/software/gawk/ | GNU awk ]] current | * [[ http://www.gnu.org/software/gawk/ | GNU awk ]] current | ||
- | * [[ http://www.gnu.org/software/automake | automake ]] 1.6.x or later | + | * [[ http://www.gnu.org/software/automake | automake ]] 1.11.0 or later |
* [[ http://www.gnu.org/software/autoconf/ | autoconf ]] 2.60 or later | * [[ http://www.gnu.org/software/autoconf/ | autoconf ]] 2.60 or later | ||
* [[ http://www.gnu.org/software/libtool/ | libtool ]] current | * [[ http://www.gnu.org/software/libtool/ | libtool ]] current | ||
* [[ http://www.gnu.org/software/texinfo/ | texinfo ]] current | * [[ http://www.gnu.org/software/texinfo/ | texinfo ]] current | ||
* [[ http://pkgconfig.freedesktop.org/wiki | pkg-config ]] current | * [[ http://pkgconfig.freedesktop.org/wiki | pkg-config ]] current | ||
- | * [[ http://www.gnu.org/software/gettext/ | gettext ]] 0.16 or later | + | * [[ http://www.gnu.org/software/gettext/ | gettext ]] 0.18 or later |
- | * [[ http://www.gnu.org/software/guile" | guile ]] 1.8.x (1.6.x is no longer supported) | + | * [[ http://www.gnu.org/software/guile" | guile ]] 2.0 or 2.2 (1.x is no longer supported) |
- | * [[ http://www.gtk.org/ | gtk+ ]] 2.10.x or later | + | * [[ http://www.gtk.org/ | gtk+ ]] 2.18.0 or later |
* [[ http://www.gnu.org/software/groff/groff.html | groff ]] current | * [[ http://www.gnu.org/software/groff/groff.html | groff ]] current | ||
* [[ http://git-scm.com | git ]] 1.6.x or later | * [[ http://git-scm.com | git ]] 1.6.x or later | ||
- | * [[ http://www.nongnu.org/cvs/ | cvs ]] current | + | * [[https://www.python.org/downloads/|CPython]] 2.7 |
+ | * [[http://oss.sgi.com/projects/fam/|FAM]] or [[https://people.gnome.org/~veillard/gamin/|Gamin]] (Gamin is recommended) | ||
* [[ http://freedesktop.org/Software/shared-mime-info | freedesktop.org MIME info database ]] current | * [[ http://freedesktop.org/Software/shared-mime-info | freedesktop.org MIME info database ]] current | ||
* [[ http://www.freedesktop.org/software/desktop-file-utils/releases | freedesktop.org utilities for manipulating .desktop files ]] current | * [[ http://www.freedesktop.org/software/desktop-file-utils/releases | freedesktop.org utilities for manipulating .desktop files ]] current | ||
Line 29: | Line 30: | ||
* Build the software by executing the following commands inside of the newly cloned git repository:<code> | * Build the software by executing the following commands inside of the newly cloned git repository:<code> | ||
$ ./autogen.sh | $ ./autogen.sh | ||
- | $ ./configure --prefix=$HOME/geda | + | $ ./configure --prefix=$HOME/geda --enable-silent-rules |
$ make | $ make | ||
$ make install | $ make install | ||
Line 69: | Line 70: | ||
- From inside the newly cloned repository, build gEDA/gaf:<code> | - From inside the newly cloned repository, build gEDA/gaf:<code> | ||
$ ./autogen.sh | $ ./autogen.sh | ||
- | $ ./configure --prefix=$HOME/geda [--enable-doxygen] | + | $ ./configure --prefix=$HOME/geda --enable-silent-rules [--enable-doxygen] |
$ make | $ make | ||
$ make install | $ make install | ||
Line 80: | Line 81: | ||
- [[http://www.macports.org/install.php|Install MacPorts]]. | - [[http://www.macports.org/install.php|Install MacPorts]]. | ||
- | - Install the MacPorts-packaged version of gEDA/gaf. As a happy side-effect, this brings in the build prerequisites:<code> | + | - Install the MacPorts-packaged version of gEDA/gaf. As a happy side-effect, this brings in most of the build prerequisites. Also install autoconf and automake:<code> |
$ sudo port install geda-gaf | $ sudo port install geda-gaf | ||
+ | $ sudo port install autoconf | ||
+ | $ sudo port install automake | ||
</code> | </code> | ||
- If you want to generate doxygen output, install doxygen:<code> | - If you want to generate doxygen output, install doxygen:<code> | ||
Line 89: | Line 92: | ||
- From inside the newly cloned repository, build gEDA/gaf:<code> | - From inside the newly cloned repository, build gEDA/gaf:<code> | ||
$ ./autogen.sh | $ ./autogen.sh | ||
- | $ ./configure --prefix=$HOME/geda --disable-update-xdg-database [--enable-doxygen] | + | $ ./configure --prefix=$HOME/geda --disable-update-xdg-database --enable-silent-rules [--enable-doxygen] |
$ make | $ make | ||
$ make install | $ make install | ||
</code> | </code> | ||
+ | - If you are running a recent release of OS X, X server is not included by default so you might need to install [[http://xquartz.macosforge.org/landing/|XQuartz]] | ||
- To run the software, you need to set an environment variable to allow Guile to load its shared libraries:<code> | - To run the software, you need to set an environment variable to allow Guile to load its shared libraries:<code> | ||
$ export LTDL_LIBRARY_PATH=/opt/local/lib | $ export LTDL_LIBRARY_PATH=/opt/local/lib | ||
$ gschem | $ gschem | ||
</code> | </code> | ||
- |