gogtags icon indicating copy to clipboard operation
gogtags copied to clipboard

gogtags needs to be build with CGO_ENABLED=1

Open asifhg opened this issue 6 years ago • 0 comments

For gogtags to work, it needs to be built with CGO_ENABLE set to 1, or else it does not work (exists with non-zero) with the following message printed out:

Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

To build gogtags in verbose mode:

cd <WHEREVER_YOU_GIT_CLONED_GOGTAGS>/src/github.com/juntaki/gogtags ; export CGO_ENABLED=1 ; go build -x ; go install -x ;

asifhg avatar Oct 09 '18 20:10 asifhg