From: Amirouche Boubekki <amirouche@hypermove.net>
To: Gnunet Developers <gnunet-developers@gnu.org>,
Guix Devel <guix-devel@gnu.org>
Subject: gnunet-guile reboot & guix
Date: Fri, 12 Jan 2018 22:23:00 +0100 [thread overview]
Message-ID: <cc77522db7854034226efe6fd4cbfad2@hypermove.net> (raw)
Héllo all,
I restarted from scratch the gnunet-guile bindings. It was made
much easier thanks to the work of ng0 on gnunet documentation and
guile-bytestructures to handle C structs and unions.
You need guix from today with latest guile-bytestructures 1.0.1.
You can get the code using the following command:
git clone git://gnunet.org/gnunet-guile2.git
You can install a recent-ish gnunet using the following command:
guix package -f guix.scm
Then, you can do usual cli dance:
./bootstrap && ./configure && make
Ahem, now it's time to run gnunet services. I put together
gnunet configuration that might not be very good even if it
works. For instance, it seems like gnunet manages to reach
the outside world. It's based on configuration files found
in gnunet distribution:
gnunet-arm -c etc/p2.conf -s
At this point you will be able to test the bindings.
To publish a FILE, use the following command:
./pre-inst-env ./gnunet-guile publish etc/p2.conf FILE
To download the above file into OUT, you need to copy paste
the gnunet:// URI from the previous command output and execute
the following command:
./pre-inst-env ./gnunet-guile download etc/p2.conf URI OUT
That is all!
There is no support for identity and various stuff are missing.
There might be memory leaks and other issues (like proper disjoint
types for pointers). I just finished the code.
I think I need to know what's the plan/design for gnunet/guix
integration to continue.
TIA!
_______________________________________________
GNUnet-developers mailing list
GNUnet-developers@gnu.org
https://lists.gnu.org/mailman/listinfo/gnunet-developers
next reply other threads:[~2018-01-12 21:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 21:23 Amirouche Boubekki [this message]
2018-01-13 0:49 ` gnunet-guile reboot & guix ng0
2018-01-13 9:26 ` Amirouche Boubekki
2018-01-13 11:14 ` ng0
2018-01-13 21:31 ` Ludovic Courtès
2018-01-14 0:45 ` ng0
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=cc77522db7854034226efe6fd4cbfad2@hypermove.net \
--to=amirouche@hypermove.net \
--cc=gnunet-developers@gnu.org \
--cc=guix-devel@gnu.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).