Accelerator-liy commented on issue #1286: URL: https://github.com/apache/brpc/issues/1286#issuecomment-1674161523
> > > https://blog.csdn.net/xiang_shao344/article/details/116017228 > > > 是getopt的问题,在Mac上的用法和linux不一样 > > > > > > export PATH="/usr/local/opt/gnu-getopt/bin:$PATH" 替换一下就好了 > > 为啥我export之后没用啊,还是提示。。 可能你export的不对,MAC用brew安装的gnu-getopt的话可以用brew info gnu-getopt查看安装位置,会提示: If you need to have gnu-getopt first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/gnu-getopt/bin:$PATH"' >> ~/.zshrc 改一下PATH路径再source ~/.zshrc就好了 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org