bee安装报错求解决

YeClimEric · · 56 次点击 · 开始浏览    置顶
安装 bee 时出现报错 ``` $ go get github.com/beego/bee # github.com/beego/bee/vendor/github.com/derekparker/delve/proc In file included from github.com/beego/bee/vendor/github.com/derekparker/delve/proc/proc_darwin.go:3: ./proc_darwin.h:1:10: fatal error: 'sys/types.h' file not found #include <sys/types.h> ^~~~~~~~~~~~~ 1 error generated. ``` go env: ``` GOARCH="amd64" GOBIN="/Users/XXX/Code/go/bin" GOCACHE="/Users/XXX/Library/Caches/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/XXX/Code/go" GOPROXY="" GORACE="" GOROOT="/usr/local/opt/go/libexec" GOTMPDIR="" GOTOOLDIR="/usr/local/opt/go/libexec/pkg/tool/darwin_amd64" GCCGO="gccgo" CC="clang" CXX="clang++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/jh/q02jz2fd5151xpsn_cfc4kfm0000gn/T/go-build437067790=/tmp/go-build -gno-record-gcc-switches -fno-common" ```
56 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传