liteide
liteide copied to clipboard
Cannot build on Raspbian
Please answer these questions before submitting your issue. Thanks! Please download LiteIDE latest version and test before submitting your issue. Thanks!
What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?
Trying to build x37.4
What version of Go are you using (go version)?
go version go1.17.1 linux/arm
What operating system and processor architecture are you using(go env)?
GO111MODULE=""
GOARCH="arm"
GOBIN=""
GOCACHE="/home/pi/.cache/go-build"
GOENV="/home/pi/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/pi/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/pi/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm"
GOVCS=""
GOVERSION="go1.17.1"
GCCGO="gccgo"
GOARM="6"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build531646306=/tmp/go-build -gno-record-gcc-switches"
What did you do?
On a Raspberry Pi 4 with Raspbian, attempted to build following the instructions here. I got to this step:
QTDIR=/usr ./build_linux.sh
What did you expect to see?
Expected the build_linux.sh script to succeed
What did you see instead?
build_linux.sh failed at the following step:
build liteide tools ...
./build_linux.sh: 56: cd: can't cd to /home/pi/code/liteide/liteidex/src/github.com/visualfc/gotools
./build_linux.sh: 57: cd: can't cd to /home/pi/code/liteide/liteidex/src/github.com/visualfc/gocode
./build_linux.sh: 58: cd: can't cd to /home/pi/code/liteide/liteidex/src/github.com/fatih/gomodifytags
error, go install fail
I'm wondering if I need to clone the repo somewhere inside of ~/go? I'm just not sure where the right place is in there. Any help is greatly appreciated!