GithubHelp home page GithubHelp logo

Build Error about strfry HOT 6 OPEN

jlopp avatar jlopp commented on July 4, 2024
Build Error

from strfry.

Comments (6)

hoytech avatar hoytech commented on July 4, 2024 1

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?

from strfry.

jlopp avatar jlopp commented on July 4, 2024

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.

from strfry.

jlopp avatar jlopp commented on July 4, 2024

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.

from strfry.

jlopp avatar jlopp commented on July 4, 2024

Just the raw binary should suffice; I don't think there's a need for a deb package.

from strfry.

angelonardone avatar angelonardone commented on July 4, 2024

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

from strfry.

hoytech avatar hoytech commented on July 4, 2024

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.

from strfry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.