You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2021/07/27 04:03:48 UTC

[GitHub] [incubator-brpc] VOID001 commented on issue #1498: Cannot build example programs when following the build instruction on Arch Linux

VOID001 commented on issue #1498:
URL: https://github.com/apache/incubator-brpc/issues/1498#issuecomment-887190228


   This is reproducible on a clean archlinux container.
   Script to reproduce in a clean container
   
   ```sh
   set -e
   
   pacman -Sy
   pacman -S --noconfirm google-glog git gcc protobuf glibc leveldb make libxcrypt which 
   # git clone https://github.com/apache/incubator-brpc # clone if needed
   cd incubator-brpc
   # git checkout d37a553fa8f5bd0a491a854048c9302ee42c00f4 # checkout if needed
   ./config_brpc.sh --headers=/usr/include --libs=/usr/lib --with-glog; make -j8
   make -C example/echo_c++/
   ./example/echo_c++/echo_server
   
   ```
   
   The script will exit will failure and the same error log showed above
   ```
   ERROR: something wrong with flag 'flagfile' in file '/build/gflags/src/gflags-2.2.2/src/gflags.cc'.  One possibility: file '/build/gflags/src/gflags-2.2.2/src/gflags.cc' is being linked both statically and dynamically into this executable.
   ```


-- 
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-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org