Skip to content

Pure Go? Requires gcc for zstd #1104

@zanicar

Description

@zanicar

Utilizing badger master branch as of 2019-10-29

For BadgerDB to be classified as Pure Go the dependency on zstd should be removed, or optional, as it requires gcc to build. Systems with pure Go installations are not able to install or build when including "github.com/dgraph-io/badger" as a result of this dependency. I only noticed this when operating in my Windows (pure Go) environment that, unlike my Linux environment, does not have gcc and build essentials equivalent installed.

$ go version
go version go1.13.3 windows/amd64
$ go get github.com/dgraph-io/badger/...
# github.com/DataDog/zstd
exec: "gcc": executable file not found in %PATH%
$ go get github.com/dgraph-io/badger
# github.com/DataDog/zstd
exec: "gcc": executable file not found in %PATH%

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionSomething requiring a response

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions