sql-js / sql-js/sql.js

Can't make a new build during trying to update rtree branch

Aperta
#236 4 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
JavaScript
Stelle
13.7k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi guys!

Recently I found out, that sql.js has a branch with R-Tree module support. Unfortunately it's quite outdated, so I'm not able to use it with the current Geopackage JS library. According to this issue #59 it needs actually just to add -DSQLITE_ENABLE_RTREE=1 to the make file on master and create a new build.
But when I run make command, I receive this errors:

incorrect target triple 'le32-unknown-nacl' (did you use emcc/em++ on all source files and not clang directly?) LLVM ERROR: Invalid SIMD cast between items of different bit sizes!

I installed emscripten as it described here and here because it looks like the problem described in this FAQ.
But unfortunately it doesn't work.

Could you please help me to solve this issue? Or maybe it would be possible to update rtree branch to the master state, so I can easy include it into a package config? I guess it would be the best solution in my case.

Looking forward to your reply

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Start by comparing the rtree branch with master and inspecting the Makefile, then reproduce the reported make failure with the Emscripten setup described in the issue. Verify that the build enables SQLITE_ENABLE_RTREE and produces a current build usable by the Geopackage JS library.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, sqlite, wasm
Ambito
build-system, databases
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.