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

[thrift-0.11.0]g++: error: /usr/local/lib/libboost_unit_test_framework.a: No such file or directory #58

Open
cherishman2005 opened this issue Aug 8, 2023 · 2 comments

Comments

@cherishman2005
Copy link
Owner

ubuntu16.04编译thrift-0.11.0

g++: error: /usr/local/lib/libboost_unit_test_framework.a: No such file or directory
@cherishman2005
Copy link
Owner Author

sudo apt-get install libboost-dev

@cherishman2005
Copy link
Owner Author

问题描述

GOPATH=`pwd` /home/baidu/go/bin/go get golang.org/x/net/context
GOPATH=`pwd` /home/baidu/go/bin/go build ./thrift
go: cannot find main module; see 'go help modules'
Makefile:823: recipe for target 'all-local' failed
make[4]: *** [all-local] Error 1

解决方法

export GO111MODULE=auto

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

1 participant