NYC's Blog - 解决Mac 10.12.1及后续版本无法使用dlv调试go问题 的评论Notice:因为美国大选,博客好久没更新了。(有什么关系吗?...)之前有一篇博客《Mac安装GDB》里面介绍过如何在Mac上面安装GDB,并调试Go程序。但是,作为一个新兴语言,GDB对于G...2017-09-19T22:34:59+08:00Typechohttp://niyanchun.com/feed/atom/solve-dlv-bug-on-mac.htmlhttp://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-3422017-09-19T22:34:59+08:002017-09-19T22:34:59+08:00chaim我也遇到这个问题 请问解决了吗 如何解决?
]]>http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-3192017-08-20T19:25:04+08:002017-08-20T19:25:04+08:00william.yangCERT=dlv-cert.key make install [6bff4d1] go install -ldflags="-s -X main.Build=6bff4d19706b46b7bd350212048e4a140caad271" github.com/derekparker/delve/cmd/dlv codesign -s "dlv-cert.key" /bin/dlv /bin/dlv: No such file or directory make: * [install] Error 1
]]>http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-2022017-03-01T16:21:42+08:002017-03-01T16:21:42+08:00NYChttps://niyanchun.com/sudo chown root:wheel /usr/local/bin/brew 试试
]]>http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-2012017-03-01T16:06:20+08:002017-03-01T16:06:20+08:00Golang爱好者使用正常的用户安装报错: Error: Could not create /usr/local/Cellar Check you have permission to write to /usr/local 使用 root 用户安装报错: Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system. 博主现在的解决方案是什么?
]]>http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-2002017-03-01T16:03:03+08:002017-03-01T16:03:03+08:00Golang爱好者最新的解决方案不可以用呀,使用 brew 现在是不允许作为 root 权限运行,不使用 root 权限又会报权限禁止的错误
]]>http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-1742017-01-22T09:18:16+08:002017-01-22T09:18:16+08:00NYChttps://niyanchun.com/看错误应该是你的证书生成的有问题,你参看下官方的wiki重新生成一下证书试试:https://github.com/derekparker/delve/wiki/Installation-on-OSX
]]>http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-1732017-01-22T00:57:31+08:002017-01-22T00:57:31+08:00tianlei没有解决问题 tl:delve tianlei$ CERT=dlv-cert make install go install -ldflags="-s -X main.Build=39f4d937a46782460eb978c98f2ece07cb2df9c2" github.com/derekparker/delve/cmd/dlv codesign -s "dlv-cert" /Users/tianlei/myGolang/bin/dlv dlv-cert: ambiguous (matches "dlv-cert" in /Users/tianlei/Library/Keychains/login.keychain-db and "dlv-cert" in /Library/Keychains/System.keychain) make: * [install] Error 1
]]>http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-1722017-01-21T10:59:09+08:002017-01-21T10:59:09+08:00NYChttps://niyanchun.com/你是按照我最新更新的方法吗?dlv version和type dlv看下输出。原来的方法编译的dlv在GOBIN下,brew安装的/usr/local/bin下面。所以PATH的顺序要注意下,以及软连接要做正确。要链接到/usr/local/bin下的dlv。
]]>http://niyanchun.com/solve-dlv-bug-on-mac.html/comment-page-1#comment-1712017-01-21T02:20:42+08:002017-01-21T02:20:42+08:00宁静致远http://t.qq.com/baby521ql能加下qq吗:4402935 我根据你的方法还是没有成功呢
]]>