Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to build from source #8

Open
erimerturk opened this issue Mar 29, 2015 · 3 comments
Open

not able to build from source #8

erimerturk opened this issue Mar 29, 2015 · 3 comments

Comments

@erimerturk
Copy link

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

@maniktaneja
Copy link
Contributor

Looks like you don't have nex installed on the system. http://www-cs-students.stanford.edu/~blynn//nex/
Please install that and retry the build.

@erimerturk
Copy link
Author

still not succeed

-bash-4.2# ./build.sh 
go get -d -v ./...
cd parser/n1ql
nex n1ql.nex
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

@maniktaneja
Copy link
Contributor

aah, i didn't realize the repo that you were using. This repo has been deprecated. Please checkout the following repo : https://github.com/couchbase/query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants