Skip to content

not able to build from source #8

@erimerturk

Description

@erimerturk

Hi,

I followed to build steps on read.me file. but it could not succeed.

go version = go version go1.3.3 linux/amd64

this is my build result

github.com/shurcooL/sanitized_anchor_name (download)
cd parser/n1ql
nex n1ql.nex
./build.sh: line 4: nex: command not found
go tool yacc n1ql.y
go build
cd server/cbq-engine
go build
# github.com/couchbaselabs/query/datastore/couchbase
../../datastore/couchbase/couchbase.go:497: cannot assign "github.com/couchbase/query/datastore".Indexer to rv.gsiIndexer (type "github.com/couchbaselabs/query/datastore".Indexer) in multiple assignment:
    "github.com/couchbase/query/datastore".Indexer does not implement "github.com/couchbaselabs/query/datastore".Indexer (wrong type for BuildIndexes method)
        have BuildIndexes(...string) "github.com/couchbase/query/errors".Error
        want BuildIndexes(...string) "github.com/couchbaselabs/query/errors".Error
../../datastore/couchbase/couchbase.go:757: cannot assign "github.com/couchbase/query/datastore".Indexer to b.gsiIndexer (type "github.com/couchbaselabs/query/datastore".Indexer) in multiple assignment:
    "github.com/couchbase/query/datastore".Indexer does not implement "github.com/couchbaselabs/query/datastore".Indexer (wrong type for BuildIndexes method)
        have BuildIndexes(...string) "github.com/couchbase/query/errors".Error
        want BuildIndexes(...string) "github.com/couchbaselabs/query/errors".Error
cd shell/cbq
go build
cd tutorial
go build
go install ./...
# github.com/couchbaselabs/query/datastore/couchbase
datastore/couchbase/couchbase.go:497: cannot assign "github.com/couchbase/query/datastore".Indexer to rv.gsiIndexer (type "github.com/couchbaselabs/query/datastore".Indexer) in multiple assignment:
    "github.com/couchbase/query/datastore".Indexer does not implement "github.com/couchbaselabs/query/datastore".Indexer (wrong type for BuildIndexes method)
        have BuildIndexes(...string) "github.com/couchbase/query/errors".Error
        want BuildIndexes(...string) "github.com/couchbaselabs/query/errors".Error
datastore/couchbase/couchbase.go:757: cannot assign "github.com/couchbase/query/datastore".Indexer to b.gsiIndexer (type "github.com/couchbaselabs/query/datastore".Indexer) in multiple assignment:
    "github.com/couchbase/query/datastore".Indexer does not implement "github.com/couchbaselabs/query/datastore".Indexer (wrong type for BuildIndexes method)
        have BuildIndexes(...string) "github.com/couchbase/query/errors".Error
        want BuildIndexes(...string) "github.com/couchbaselabs/query/errors".Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions