A-little-bit-of-data commented on issue #10102:
URL: 
https://github.com/apache/incubator-gluten/issues/10102#issuecomment-3072124958

   > > Thank you very much for your reply. I currently see 
`https://github.com/apache/incubator-gluten/blob/main/docs/developers/velox-backend-build-in-docker.md`.
 There are two ways to compile. Which one do you recommend for better 
compatibility?
   > 
   > If you build on centos7 and use on ubuntu20, you must use static link.
   
   Check the static link written in the document. The image used is 
`apache/gluten:vcpkg-centos-7`, which is only for amd64 architecture. I used 
the image of `apache/gluten:1.4-vcpkg-centos-8`, and then used the dockerfile 
in the document. When building, an error occurred: `/bin/sh: 
/opt/rh/devtoolset-11/enable: No such file or directory. `The dockerfile used 
is as follows: 
   ```
   FROM apache/gluten:1.4-vcpkg-centos-8
   
   # Build Gluten Jar
   RUN source /opt/rh/devtoolset-11/enable && \
   git clone https://github.com/apache/incubator-gluten.git && \
   cd incubator-gluten && \
   ./dev/builddeps-veloxbe.sh --run_setup_script=OFF --enable_s3=ON 
--enable_gcs=ON --enable_abfs=ON --enable_vcpkg=ON --build_arrow=ON && \ 
   mvn clean package -Pbackends-velox -Pspark-3.5 -DskipTests
   ```
   
   But I ran a pod using the apache/gluten:1.4-vcpkg-centos-8 image and found 
that there was
   <img width="840" height="199" alt="Image" 
src="https://github.com/user-attachments/assets/ece5e440-f2d3-46a8-9a01-c267cdcc1cbc";
 />


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