lem-project / async-process

MIT License
17 stars 6 forks source link

Instructions for building C code from source #21

Open githubforced2fabad opened 7 months ago

githubforced2fabad commented 7 months ago

Could you please provide instructions for building the C part of this project? I know you provide the already compiled version for various platforms, but this not really ideal. In addition, an explanation of why the C code is necessary would be nice (isn't this supposed to be a common lisp project).

I tried the following, but it seems to get stuck in an infinite build loop.

./configure
make
jgarte commented 2 months ago

Hi,

Any news on this issue?

I'd also like to know how to build this from source since I'd like to package lem for Guix and binaries cannot be accepted by the Guix project.

jgarte commented 2 months ago

@githubforced2fabad

https://github.com/lem-project/async-process/blob/9690530fc92b59636d9f17d821afa7697e7c8ca4/bootstrap#L2

Building the C code for sources involves running the bootstrap script like this:

./bootstrap

The bootstrap script runs ./configure and make as well.

There's an example in the CI build.yml of bootstrap being invoked:

https://github.com/lem-project/async-process/blob/master/.github/workflows/build.yml#L38