should I try to build it on bsd?

Reply to this note

Please Login to reply.

Discussion

please do!

it almost compiled but blew up in nostrdb.get_cpu_cores:

http://git.jb55.com/nostrdb/file/src/cpu.h.html#l30

it looks like “sysctl hw.ncpu” works:

$ sysctl hw.ncpu

hw.ncpu=8

I’m trying to figure out where the “cargo run —release” command cloned nostrdb so I can attempt to patch that file

forked all the repos. no promises other than to give it hell

you just need to fix nostrdb (type make check) and I can fixup nostrdb-rs and notedeck

Should be fixed on notedeck master

I got check passing on cpu.h and random.h, where the latter needs to call getentropy(2). I’m deep in the weeds now on getting the ./deps to build. gcc, autoconf, automake… it’s all missing 😞

um… yes!

off to a great start with rust 🙄

lmao