GithubHelp home page GithubHelp logo

Comments (5)

shekohex avatar shekohex commented on April 28, 2024 2

Why not switch to Tonic? it is 100% rust and even easier to work with than the grpcio C Bindings.

from surrealdb.

tobiemh avatar tobiemh commented on April 28, 2024

Hi @chrisabruce,

Annoyingly grpcio-sys is quite stubborn and doesn't compile easily. It's one of the reasons we can't offer a Windows build yet. However this document (https://github.com/surrealdb/surrealdb/blob/main/doc/BUILDING.md) details the dependencies needed to build on Ubuntu / macOS.

You can also see how we build for Linux on Ubuntu in Github Actions (https://github.com/surrealdb/surrealdb/blob/main/.github/workflows/ci.yml#L141-L146)

from surrealdb.

tobiemh avatar tobiemh commented on April 28, 2024

This issue is also related (albeit when building on WIndows): tikv/grpc-rs#585

from surrealdb.

rushmorem avatar rushmorem commented on April 28, 2024

@chrisabruce grpcio-sys is not compatible with GCC 11. It builds fine with GCC 10. If all you want is a newer binary, you can install the nightly one:-

curl -sSf https://install.surrealdb.com | sh -s -- --nightly

from surrealdb.

zh4ngx avatar zh4ngx commented on April 28, 2024

Sorry, somewhat unrelated question, but does SurrealDb use grpc? I'm trying to search for the grpc interface (not ws or rest) and found this.

from surrealdb.

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.