acelyc111 commented on issue #2067:
URL: 
https://github.com/apache/incubator-pegasus/issues/2067#issuecomment-2219970603

   > Hey @acelyc111 , Thanks for reply.
   > 
   > I tried 2.5.0 both way compile and docker , unfortunately I got below 
error , This is for compiled way.
   > 
   > This time I did not get any reason , just though out a error , that is
   > 
   > ```
   > -- Installing: 
/home/ubuntu/apache-pegasus-2.5.0/thirdparty/output/include/thrift/config.h
   > [ 29%] Completed 'thrift'
   > [ 29%] Built target thrift
   > make: *** [Makefile:91: all] Error 2
   > ```
   > 
   > ```
   > -- Installing: /root/pegasus/thirdparty/output/bin/arc
   > -- Set non-toolchain portion of runtime path of 
"/root/pegasus/thirdparty/output/bin/arc" to ""
   > [ 94%] Completed 'poco'
   > [ 94%] Built target poco
   > make: *** [Makefile:91: all] Error 2
   > ```
   > 
   > This is docker method , can you please check that error . Thanks
   
   @SHUFIL  Did you see any other error messages?
   
   I try to reproduce it according to the doc 
https://github.com/apache/incubator-pegasus-website/blob/master/_docs/en/2.5.0/compile-by-docker.md,
 but everything goes well. My steps are:
   1. git clone [email protected]:apache/incubator-pegasus.git pegasus_2.5
   2. cd pegasus_2.5 && git checkout v2.5
   3. pwd
   4. docker run -v /home/laiyingchun/dev/pegasus_2.5:/root/pegasus 
apache/pegasus:build-env-ubuntu2004-v2.5 /bin/bash -c "cd /root/pegasus; 
./run.sh build --test -c --clear_thirdparty -j 32"
   5. Built OK as:
   ```
   ...
   -- Installing: 
/root/pegasus/build/release/output/lib/libdsn.replication.tool.a
   -- Installing: /root/pegasus/build/release/output/lib/libdsn_utils.so
   -- Set runtime path of 
"/root/pegasus/build/release/output/lib/libdsn_utils.so" to ""
   -- Installing: 
/root/pegasus/build/release/output/bin/long_adder_bench/long_adder_bench
   -- Set runtime path of 
"/root/pegasus/build/release/output/bin/long_adder_bench/long_adder_bench" to ""
   -- Installing: 
/root/pegasus/build/release/output/bin/nth_element_bench/nth_element_bench
   -- Set runtime path of 
"/root/pegasus/build/release/output/bin/nth_element_bench/nth_element_bench" to 
""
   -- Installing: 
/root/pegasus/build/release/output/lib/libdsn.replication.zookeeper_provider.a
   Build finish time: Wed Jul 10 16:28:26 CST 2024
   Build elapsed time: 16m 58s
   
   # laiyingchun @ localhost in ~/dev/pegasus_2.5 on git:v2.5 o [16:28:38]
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to