I want to compile thrift 0.8 to support go1(golang version 1) .Before go1,there are two command:goinstall and gomake,so lines in configure script like this:
GOMAKE=${GOBIN}/gomake
GOINSTALL=${GOBIN}/goinstall
but as of go1,"go install" and "go build" replaced "goinstall" and "gomake",I found some guy changed thrift configure script to:
GOGO=${GOBIN}/go
GOMAKE=${GOGO} build
GOINSTALL=${GOGO} install
but when I try to run script with: ./configure,I got:
./configure: line 18067: build: command not found
install: missing file operand
Try `install --help' for more information.
checking for 6g... /6g
checking for 6l... /6l
Not sure,but I think
"./configure: line 18067: build: command not found"
means white space within "GOMAKE=${GOGO} build" can't be handled,right?Anyone can help to make this work?Thanks
I tried to edit configure.ac from:
GOGO=${GOBIN}/go
GOMAKE=${GOGO} build
GOINSTALL=${GOGO} install
to
GOGO=${GOBIN}/go
GOMAKE="${GOGO} build"
GOINSTALL="${GOGO} install"
Then regenerate configure script,and run it.It seems modified lines were ignored directly:
checking for go... /home/alex/go/bin/go
(*************checking goinstall and gomake should be here,but not)
checking for an ANSI C-conforming const... yes