Open jlopp opened 10 months ago
From some searching around it sounds like one possibility is that it's getting killed due to running out of memory.
I tried "make" without -j4 but it still fails. To be clear, this is on a machine that only has 2 GB of RAM.
I was able to compile the binary on a different Ubuntu machine with more RAM and then run it on this machine. Might be worth updating your documentation and/or making precompiled binaries available.
Ahh yeah sorry about that, some of the files need a lot of memory to compile. You might be able to build it on the low-memory machine if you had some swap, although building it on a build server with lots of resources is a good way too.
I will look into distributing binaries somehow. What would be your preference? A deb package?
Just the raw binary should suffice; I don't think there's a need for a deb package.
I'm getting the following error:
perl golpe/gen-fbs.pl perl golpe/gen-config.pl golpe/external/rasgueadb/rasgueadb-generate golpe.yaml build perl golpe/gen-main.cpp.pl error: /home/angelo/strfry/strfry/fbs/nostr-index.fbs:4: 16: error: expecting: ] instead got: : flatc failure building fbs/nostr-index.fbs at golpe/gen-fbs.pl line 22, <$fh> line 1. make: *** [golpe/rules.mk:44: build/golpe.h] Error 1 make: *** Waiting for unfinished jobs.... FLATC: error: /home/angelo/strfry/strfry/fbs/nostr-index.fbs:4: 16: error: expecting: ] instead got: : flatc failure at golpe/external/rasgueadb/rasgueadb-generate line 155. make: *** [golpe/rules.mk:54: build/defaultDb.h] Error 1
Any Idea? I'm using Ubuntu 20.04.5 LTS thanks
I think the flatc that ships with 20.04 might not support some new syntax I'm using -- sorry! Easiest is probably to use 22.04.
I'm going to be getting rid of that flatbuffers file for the next major release, so I don't think it's worth figuring out a long-term fix.
Trying to compile a checkout of 0.9.6 on Ubuntu 22.04.
Installed dependencies listed in readme.