amoeba commented on issue #44868:
URL: https://github.com/apache/arrow/issues/44868#issuecomment-2508701662

   Hi again @stemillington-flock, I think the steps you took might not have 
installed the right versions. 
   
   I tested again and was able to get configuration (and a build) to succeed 
with the following steps:
   
   1. Create the environment with the latest versions of the conda env files:
   
       ```sh
       conda create  -n pyarrow-dev -c conda-forge \
         --file arrow/ci/conda_env_unix.txt \
         --file arrow/ci/conda_env_cpp.txt \
         --file arrow/ci/conda_env_python.txt \
         --file arrow/ci/conda_env_gandiva.txt \
         compilers \
         python=3.10 \
         pandas
       conda activate pyarrow-dev
       ```
   
   2. Remove grpc-cpp entirely from the environment
   
       ```sh
       conda uninstall grpc-cpp
       ```
   
   3. Install a more recent libprotobuf into the environment
   
       ```sh
       conda install -c conda-forge  libprotobuf==5.28.2
       ```
   
   4. Configure and build
   
       ```sh
       export ARROW_HOME="$CONDA_PREFIX"
       cmake -S arrow/cpp \
         -B arrow/cpp build \
         -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
         --preset ninja-release-python
       cmake --build arrow/cpp/build
       ```
   
   Let us know if that doesn't work for you.


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

Reply via email to