Re: build system for pure Guile library (was Re: Help making a GNU Guix package for pure GNU Guile library)

2021-01-30 Thread Ricardo Wurmus
pelzflorian (Florian Pelz) writes: > Hi Ricardo, > > On Sat, Jan 30, 2021 at 10:15:20PM +0100, Ricardo Wurmus wrote: >> If all you have are Guile modules and all you want is to package it for >> Guix then you really don’t need to bother with Autotools. Use the >> “guile-build-system”. It can

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread Zelphir Kaltstahl
Thank you Jérémy! This looks interesting and just like what I was looking for, in case I have to use Autotools. Even if it turns out that I do not have to use them and can go a simpler route, it still seems like a good resource for getting to know that stuff more. Best regards, Zelphir On 1/30/21

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread Zelphir Kaltstahl
Hello Ricardo! At first I thought "How could I overlook that guide?", but then I realized it is the one I tried following before. This fails for my library at the `guix package --install-from-file=my-hello.scm` step and I seem to not be able to get it to work. Perhaps it is something simple. I ha

build system for pure Guile library (was Re: Help making a GNU Guix package for pure GNU Guile library)

2021-01-30 Thread pelzflorian (Florian Pelz)
Hi Ricardo, On Sat, Jan 30, 2021 at 10:15:20PM +0100, Ricardo Wurmus wrote: > If all you have are Guile modules and all you want is to package it for > Guix then you really don’t need to bother with Autotools. Use the > “guile-build-system”. It can be as simple as the “guile-srfi-89” > package i

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread Ricardo Wurmus
Hi Zelphir, > For some time now I wanted to be able to make Guix package of some of my > Guile projects or at least understand and know how to do that, write a > guide for it and so on, to be able to do it whenever I need it and also > to be able to contribute better to the Guile community and e

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread divoplade
Hello, Le samedi 30 janvier 2021 à 20:43 +0100, Dr. Arne Babenhauserheide a écrit : > I think configure-runs should be slimmed down by a first check > whether > it’s in a known environment (so 90% of the tests can be skipped). But > that’s not a general complaint about the approach of autotools. T

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread divoplade
Hello, Le samedi 30 janvier 2021 à 18:55 +0100, Jérémy Korwin-Zmijowski a écrit : > I'm waiting to see support for guile-build-system in Guile-Hall for > example. If you use gnu-build-system, you can use a "bootstrap" (or "autogen.sh") script that will run 'hall dist -x' (with HOME set to a meani

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread Dr. Arne Babenhauserheide
John Cowan writes: > This is the outcome of many years struggling with autotools, and several > more struggling with CMake. (Chicken compiles Scheme to C and is written in > Scheme, so it has to bootstrap itself, something CMake doesn’t or didn’t > like.) [Supposedly CMake has fixed this problem

Re: open-socket-for-uri returns string, but integer is needed

2021-01-30 Thread Aleix Conchillo Flaqué
Hi, I've tried this on macOS and I get the following (note the port type is not socket, but neither file): scheme@(guile-user)> (open-socket-for-uri "https://blockchain.info/q/24hrprice";) $7 = # If I do the following I get an error (see below): scheme@(guile-user)> (define s (open-socket-for-u

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread John Cowan
On Sat, Jan 30, 2021 at 12:17 PM Zelphir Kaltstahl < zelphirkaltst...@posteo.de> wrote: There is a whole jungle of stuff, that I do not yet understand in depth. > You are not alone. Warning: completely partisan posting here. > Why does guile-haunt use Makefile.am? Why is a simple Makefile not >

Re: Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread Jérémy Korwin-Zmijowski
Hey Zelphir! Some years ago I found this blog post https://erikedrosa.com/2017/10/29/guile-projects-with-autotools.html it helped me to experiment a bit. Then I found Guile-Hall which aims to automate those things. I'm waiting to see support for guile-build-system in Guile-Hall for example. I p

Help making a GNU Guix package for pure GNU Guile library

2021-01-30 Thread Zelphir Kaltstahl
Hello Guilers! For some time now I wanted to be able to make Guix package of some of my Guile projects or at least understand and know how to do that, write a guide for it and so on, to be able to do it whenever I need it and also to be able to contribute better to the Guile community and enable o

Re: open-socket-for-uri returns string, but integer is needed

2021-01-30 Thread mbcladwell
Yes it is installed. mbc@HP8300:~$ dpkg -s guile-gnutls Package: guile-gnutls Status: install ok installed How do I test that it is properly configured? For example I can: scheme@(guile-user)> (cdar (json-string->scm (utf8->string (receive (response-status response-body) (http-request "h

Re: rfc: next guile 1.8.x release

2021-01-30 Thread Dr. Arne Babenhauserheide
Ricardo Wurmus writes: >> Ludovic Courtès writes: >>> Thien-Thi Nguyen skribis: >> The message we’re sending is that we don’t leave anyone out in the cold >> who committed to using Guile. > > The mailing lists are evidence enough that users of Guile 1.8 can get > help in migrating to version 2

Re: open-socket-for-uri returns string, but integer is needed

2021-01-30 Thread Aleix Conchillo Flaqué
Hi, This is just a guess but do you have GnuTLS Guile bindings installed? You are using https on the first one. In Debian I believe it's guile-gnutls. Best, Aleix On Sat, Jan 30, 2021, 5:38 AM wrote: > > Hi, > On Debian 10, Guile 3.0.4 I need to create a socket: > > mbc@HP8300:~$ guile > GN

open-socket-for-uri returns string, but integer is needed

2021-01-30 Thread mbcladwell
Hi, On Debian 10, Guile 3.0.4 I need to create a socket: mbc@HP8300:~$ guile GNU Guile 3.0.4 Copyright (C) 1995-2020 Free Software Foundation, Inc. Enter `,help' for help. scheme@(guile-user)> (use-modules (web client)) scheme@(guile-user)> (open-socket-for-uri "https://blockchain.info/q/24hr

Re: rfc: next guile 1.8.x release

2021-01-30 Thread Ricardo Wurmus
Dr. Arne Babenhauserheide writes: > Ludovic Courtès writes: > >> Thien-Thi Nguyen skribis: >>> I would like to work (on the weekends, so as not to intefere w/ >>> ) on preparation and release of Guile 1.8.9, targeted >>> for the ides of April (more or less). >>> >>> Guile 1.8.x users: What ch