The test for the go version is done in go.sh GO_MAJOR_MINOR_VERSION=`go version | sed -E 's/.*go([0-9]\.[0-9]+).*/\1/'`
if [[ $(echo "$GO_MAJOR_MINOR_VERSION >= 1.3" | bc) -eq 0 ]]; then echo "*** Go 1.3 or higher is required to build Sync Gateway; you have" `go version` echo "Please visit http://golang.org/doc/install or use your package manager to upgrade." exit 1 fi If you modify the first line in go.sh to output debug info: #!/bin/bash -xv Then run build.sh again, you should see output similar to this (taken from my dev laptop) GO_MAJOR_MINOR_VERSION=`go version | sed -E 's/.*go([0-9]\.[0-9]+).*/\1/'` go version | sed -E 's/.*go([0-9]\.[0-9]+).*/\1/' ++ go version ++ sed -E 's/.*go([0-9]\.[0-9]+).*/\1/' + GO_MAJOR_MINOR_VERSION=1.4 if [[ $(echo "$GO_MAJOR_MINOR_VERSION >= 1.3" | bc) -eq 0 ]]; then echo "*** Go 1.3 or higher is required to build Sync Gateway; you have" `go version` echo "Please visit http://golang.org/doc/install or use your package manager to upgrade." exit 1 fi echo "$GO_MAJOR_MINOR_VERSION >= 1.3" | bc ++ echo '1.4 >= 1.3' ++ bc + [[ 1 -eq 0 ]] Could you post the debug output from your local build. Andy -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/eb505df0-e79e-4f9a-9548-1b8e7bde08cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
