diff options
| author | Konrad Hinsen <konrad.hinsen@fastmail.net> | 2013-06-12 09:06:42 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2013-06-12 09:16:54 +0200 |
| commit | d4c748607995bec8a13f058bdeba89e41ff6539c (patch) | |
| tree | b67d0ee1c1adae71f9c97ed2875312c443efab9d | |
| parent | cbe62e89d0fcb4b4e1b8024af5ac94f81a5097be (diff) | |
doc: Describe the build procedure in more detail.
* README (Requirements): Replace "autoreconf" by "bootstrap".
(Installing Guix from Guix): Augment and update.
| -rw-r--r-- | README | 30 |
1 files changed, 26 insertions, 4 deletions
| @@ -47,18 +47,40 @@ required: | |||
| 47 | - [[http://www.gnu.org/software/automake/][GNU Automake]] | 47 | - [[http://www.gnu.org/software/automake/][GNU Automake]] |
| 48 | - [[http://www.gnu.org/software/gettext/][GNU Gettext]] | 48 | - [[http://www.gnu.org/software/gettext/][GNU Gettext]] |
| 49 | 49 | ||
| 50 | The "autoreconf -vi" command can be used to generate the build system | 50 | Run the "bootstrap" script to download the Nix daemon and to generate the |
| 51 | infrastructure; it reports an error if an inappropriate version of the | 51 | build system infrastructure using autoconf. It reports an error if an |
| 52 | above packages is being used. | 52 | inappropriate version of the above packages is being used. |
| 53 | 53 | ||
| 54 | * Installing Guix from Guix | 54 | * Installing Guix from Guix |
| 55 | 55 | ||
| 56 | You can re-build and re-install Guix using a system that already runs Guix. | 56 | You can re-build and re-install Guix using a system that already runs Guix. |
| 57 | To do so: | 57 | To do so: |
| 58 | 58 | ||
| 59 | - install the dependencies (see 'Requirements' above) using Guix | 59 | - Install the dependencies (see 'Requirements' above) and build tools using |
| 60 | Guix. You should have the following packages installed in your user | ||
| 61 | profile: | ||
| 62 | |||
| 63 | - autoconf | ||
| 64 | - automake | ||
| 65 | - bzip2 | ||
| 66 | - gcc | ||
| 67 | - gettext | ||
| 68 | - glibc | ||
| 69 | - guile | ||
| 70 | - ld-wrapper | ||
| 71 | - libgcrypt | ||
| 72 | - pkg-config | ||
| 73 | - sqlite | ||
| 74 | |||
| 75 | - set the environment variables that Guix recommends you to set during the | ||
| 76 | package installation process: | ||
| 77 | ACLOCAL, CPATH, LIBRARY_PATH, PATH, PKG_CONFIG_PATH | ||
| 78 | In addition, set | ||
| 79 | GUIX_LD_WRAPPER_ALLOW_IMPURITIES=yes | ||
| 80 | |||
| 60 | - re-run the configure script passing it the option | 81 | - re-run the configure script passing it the option |
| 61 | `--with-libgcrypt-prefix=$HOME/.guix-profile/' | 82 | `--with-libgcrypt-prefix=$HOME/.guix-profile/' |
| 83 | |||
| 62 | - run "make" and "make install" | 84 | - run "make" and "make install" |
| 63 | 85 | ||
| 64 | * How It Works | 86 | * How It Works |
