|
From: | Daniel Pimentel |
Subject: | Re: Guix package steps |
Date: | Sun, 21 Jun 2015 23:13:34 -0300 |
User-agent: | Roundcube Webmail/1.0.5 |
On 2015-06-17 00:57, Mark H Weaver wrote:
Daniel Pimentel <address@hidden> writes:I tried create new packages (ipcalc, nmap, xfburn and others) but without success. My steps (based on talk GNU Guix packaging by Andreas Enge): 0. Git clone guix repository by savannah; 1. Copy gnu/package/indent.scm to mypackage.scm in this same folder; 2. Add module to gnu-system.am 3. Download mypackage; 4. Edit mypackage.scm and add hash, license and other information; 5. ./pre-inst-env guix build mypackage -K 6. Erro: bash: ./pre-inst-env: No such file or directory But there is pre-inst-env.in only. The script pre-inst-env not exist in repository. So where is pre-inst-env?You have to build guix before you can run it. See doc/contributing.texi, especially the "Building from Git" section. Also, you should pass --localstatedir=/var to ./configure. Mark
I tried again, follow README file but there's a error (dot command?) when I run "make":
/bin/sh /home/dani/Desktop/development/git/guix/build-aux/missing dot -Tpng -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 -Nfontsize=9 -Nheight=.1 -Nwidth=.1 < "doc/images/bootstrap-graph.dot" > "doc/images/bootstrap-graph.png.tmp" /home/dani/Desktop/development/git/guix/build-aux/missing: line 81: dot: command not found
WARNING: 'dot' is missing on your system. You might have modified some files without having the proper tools for further handling them. Check the 'README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package contains this missing 'dot' program. Makefile:4359: recipe for target 'doc/images/bootstrap-graph.png' failed make[2]: *** [doc/images/bootstrap-graph.png] Error 127 make[2]: Leaving directory '/home/dani/Desktop/development/git/guix' Makefile:3503: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/dani/Desktop/development/git/guix' Makefile:2136: recipe for target 'all' failed make: *** [all] Error 2 -- Daniel Pimentel (d4n1 3:)
[Prev in Thread] | Current Thread | [Next in Thread] |