Comments (6)
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.
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.
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.
Just the raw binary should suffice; I don't think there's a need for a deb package.
from strfry.
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.
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)
- Compilation fails on alpine 3.19.1
- Add support for icon URL in NIP-11 document
- access reports HOT 1
- What happened to the Docker images? HOT 1
- SIGTERM
- Search by tag and tag substring returns no results
- A question regarding the sync command HOT 2
- Up-to-date docker image in dockerhub HOT 1
- Cron deletes events that are not expired HOT 1
- Importing events from another relay using .jsonl import HOT 4
- Feature: retention period HOT 5
- Feature request: NIP-45 Event Count HOT 6
- Favicon for relay HOT 1
- Cryptic error messages returned in OK messages HOT 1
- logging controls not documented/working
- docker-compose not working HOT 4
- REQ limit is too low HOT 1
- strify crashes on start HOT 2
- OSX build error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strfry.