thisisnic opened a new issue, #36668:
URL: https://github.com/apache/arrow/issues/36668
### Describe the bug, including details regarding any error messages,
version, and platform.
I'm trying to rebuild Arrow locally and having issues with building with the
Google Cloud CPP dependencies.
I'm running:
```
cmake -DCMAKE_INSTALL_PREFIX=$ARROW_HOME \
-DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Debug
-DARROW_COMPUTE=ON -DARROW_CSV=ON -DARROW_DATASET=ON \
-DARROW_FILESYSTEM=ON -DARROW_JEMALLOC=ON -DARROW_JSON=ON
-DARROW_PARQUET=ON -DARROW_WITH_SNAPPY=ON \
-DARROW_WITH_ZLIB=ON -DARROW_INSTALL_NAME_RPATH=OFF
-DARROW_EXTRA_ERROR_CONTEXT=ON \
-DARROW_INSTALL_NAME_RPATH=OFF -DARROW_DEPENDENCY_SOURCE=BUNDLED
-DARROW_GCS=ON -DARROW_SUBSTRAIT=ON ..
```
and get the following error message
```
CMake Error at CMakeLists.txt:282 (message):
If storage is enabled (e.g. -DGOOGLE_CLOUD_CPP_ENABLE=storage), the REST
library cannot be disabled, i.e., you cannot set
-DGOOGLE_CLOUD_CPP_ENABLE_REST=OFF. If you do want to use the storage
library, then do not use -DGOOGLE_CLOUD_CPP_ENABLE_REST=OFF. If you do not
want to use the storage library, then provide a
-DGOOGLE_CLOUD_CPP_ENABLE=... list and do not include storage in that
list.
```
I don't understand this as I haven't set the flags referenced in that error
message? Everything builds fine (but without GCS) if I set `-DARROW_GCS=OFF`.
### Component(s)
C++
--
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]