YuncyYe commented on issue #2356:
URL: https://github.com/apache/brpc/issues/2356#issuecomment-1801209674

   > CentOS 下可以在代码目录下执行以下命令安装相关依赖(需要 root 权限):
   > 
   > ```
   > yum-builddep package/rpm/brpc.spec
   > ```
   > 
   > 之后可以 source devtoolset-8 的相关配置:
   > 
   > ```
   > . /opt/rh/devtoolset-8/enable
   > ```
   
   [yeyunxi@dev1 apache-brpc-1.7.0-src]$sudo yum-builddep package/rpm/brpc.spec
     File "/bin/yum-builddep", line 83
       except yum.Errors.RepoError, e:
                                  ^
   SyntaxError: invalid syntax
   跑不了
   


-- 
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

Reply via email to