sql-js / sql-js/sql.js

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

オープン
#236 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
13.7k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, sqlite, wasm
領域
build-system, databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。