From: Daniel Pimentel <d4n1@openmailbox.org>
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org, guix-devel-bounces+d4n1=opmbx.org@gnu.org
Subject: Re: Guix package steps
Date: Mon, 22 Jun 2015 10:42:36 -0300 [thread overview]
Message-ID: <25d4bb0155f78d0f608c818c04d3e516@openmailbox.org> (raw)
In-Reply-To: <87lhfci897.fsf@netris.org>
On 2015-06-22 03:09, Mark H Weaver wrote:
> Daniel Pimentel <d4n1@openmailbox.org> writes:
>
>> On 2015-06-17 00:57, Mark H Weaver wrote:
>>> Daniel Pimentel <d4n1@openmailbox.org> 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
>
> 'dot' is part of the graphviz package, which is listed as a required
> package in the "Building from Git" section that I cited above.
>
> Mark
Hi Guix,
After:
-clone Guix repository -> ok
-Read README and install requirements -> ok
-guix environment guix -> ok
-./configure --with-libgcrypt-prefix=$HOME/.guix-profile/ -> ok
-make -> ok
-make check -> error: FAIL: tests/lint.scm
I tried again build (./pre-inst-env guix build ipcalc -K): guix build:
error: failed to connect to `/usr/local/var/guix/daemon-socket/socket':
No such file or directory
Thanks Mark and Guix team.
--
Daniel Pimentel (d4n1 3:)
next prev parent reply other threads:[~2015-06-22 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-17 0:15 Guix package steps Daniel Pimentel
2015-06-17 3:57 ` Mark H Weaver
2015-06-22 2:13 ` Daniel Pimentel
2015-06-22 6:09 ` Mark H Weaver
2015-06-22 13:42 ` Daniel Pimentel [this message]
2015-06-22 13:49 ` Amirouche Boubekki
2015-06-22 19:31 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25d4bb0155f78d0f608c818c04d3e516@openmailbox.org \
--to=d4n1@openmailbox.org \
--cc=guix-devel-bounces+d4n1=opmbx.org@gnu.org \
--cc=guix-devel@gnu.org \
--cc=mhw@netris.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).