On Sun, Aug 2, 2020 at 12:11 PM Matthew Flatt <mfl...@cs.utah.edu> wrote:

> At Sun, 2 Aug 2020 16:54:33 +0100, Laurent wrote:
> > I followed this first (though I actually removed every `compiled`
> > subdirectory too), then `git pull`, then `make`, but it failed with:
> > checking for unistd.h... yes
> > checking uuid/uuid.h usability... no
> > checking uuid/uuid.h presence... no
> > checking for uuid/uuid.h... no
> > Could not find uuid/uuid.h, needed for Chez Scheme
> > make[6]: *** [Makefile:289: racket/src/build/cs/c/Makefile] Error 1
>
> This is a new dependency for Racket CS. Try installing "uuid-dev" or
> "libuuid-dev" with your OS's package manager.
>
> I'll add a note about the dependency, but I'm not sure there's anything
> else we could do. Unlike something like libffi, say, which we have
> traditionally pulled it into the Racket repo, the uuid library varies
> across platforms. And even if uuid was always the same implementation,
> pulling that kind of library into the Racket repo hasn't clearly been a
> good idea.
>

There's an issue about this on the upstream Chez Scheme repository, and I
mentioned in a comment
<https://github.com/cisco/ChezScheme/issues/458#issuecomment-560061318>
that generating Type 4 UUIDs is not especially hard: I have a Racket package
<https://github.com/LiberalArtist/uuid> that does it. The sense from the
Chez maintainers seemed to be that libuuid is convenient, but the
considerations may weigh differently for Racket. At least for Racket, we
already require platforms to provide a source of randomness to implement
`crypto-random-bytes`.

-Philip

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAH3z3gY37CuHAPRWoYk8Dd6GcqvALpiT%3DJ%2BBqK2SwbeviFofuA%40mail.gmail.com.

Reply via email to