bitcwb
bitcwb
@zyearn 编译问题 - master分支 - "darwin"条件下的"ECHO=echo -e"。sh config_brpc.sh报错。 ```bash config_brpc.sh: line 158: export: `STATICALLY_LINKED_/usr/local/Cellar/gflags/2.2.1/lib=0': not a valid identifier config_brpc.sh: line 158: export: `STATICALLY_LINKED_/usr/local/Cellar/protobuf/3.3.0/lib=0': not a valid identifier config_brpc.sh: line 171:...
@zyearn - config_brpc.sh中的279行,取得版本号错误{print $5}改为{print $4} - 版本号取得失败导致了macOS 10.13版本添加了宏NO_CLOCK_GETTIME_IN_MAC导致编译错误 ```bash ./src/butil/time.h:30:10: warning: 'CLOCK_MONOTONIC' macro redefined [-Wmacro-redefined] # define CLOCK_MONOTONIC SYSTEM_CLOCK ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/time.h:156:9: note: previous definition is here #define CLOCK_MONOTONIC _CLOCK_MONOTONIC ^...