NEUpanning commented on issue #5491:
URL:
https://github.com/apache/incubator-gluten/issues/5491#issuecomment-2074785343
@xumingming Thanks for your suggestion.
1. I already installed protobuf@21. Here is the output of `brew list
protobuf@21`
```
➜ velox git:(note) ✗ brew search protobuf
==> Formulae
protobuf ✔ protobuf-c ✔
protobuf@21 ✔ protobuf@3 ✔ swift-protobuf
==> Casks
protopie
```
2. Through the cmake log i can see velox is built successfully. I tried to
build gluten cpp separately and got same error as above. Here is cmake log
```
➜ build git:(main) cmake -DBUILD_VELOX_BACKEND=ON
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF -DBUILD_EXAMPLES=OFF
-DBUILD_BENCHMARKS=OFF -DBUILD_JEMALLOC=OFF -DENABLE_HBM=OFF -DENABLE_QAT=OFF
-DENABLE_IAA=OFF -DENABLE_GCS=OFF -DENABLE_S3=OFF -DENABLE_HDFS=OFF
-DENABLE_ABFS=OFF ..
-- Building using CMake version: 3.29.2
-- Set VELOX_HOME to
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep
-- Add definition NDEBUG
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found Boost: /usr/local/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found
version "1.84.0")
-- Set Substrait Proto Directory in
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/gluten-core/src/main/resources/substrait/proto
-- Set Gluten Proto Directory in
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/gluten-core/src/main/resources/org/apache/gluten/proto
-- Found Arrow library:
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep/install/lib/libarrow.1500.dylib
-- Found Arrow library:
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep/install/lib/libparquet.1500.dylib
-- Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
-- Use existing ProtoBuf libraries: /usr/local/lib/libprotobuf.a
-- Use existing Jemalloc libraries
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found Boost: /usr/local/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found
suitable version "1.84.0", minimum required is "1.51.0") found components:
context filesystem program_options regex system thread
-- Found folly: /usr/local
-- Found Arrow library:
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep/install/lib/libarrow.1500.dylib
-- Found Arrow library:
/Users/panning/VSProjects/glutenNvelox_CE/gluten/incubator-gluten/ep/build-velox/build/velox_ep/_build/release/third_party/arrow_ep/install/lib/libparquet.1500.dylib
-- RE2 Library Can Be Found in re2::re2
-- Configuring done (0.5s)
CMake Error at core/CMakeLists.txt:295 (add_dependencies):
The dependency target "protobuf::libprotobuf" of target "jni_proto" does
not exist.
```
--
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]