I tried to build using "ninja-debug-maximal" - Debug build with everything enabled (except benchmarks and CUDA)


I have same problem, I tried to build the release 7.0.0 branch using conda environment with dependencies yml mentioned in the link below

<https://drive.google.com/file/d/1F3vlIXsf_9-RAhmuIiEPLAi_CXpECgUq/view?usp=sharing>

with following steps:

<https://drive.google.com/file/d/10hjHQ7UQ6uLAVAlvZA4MvQ24cIQ0GNrM/view?usp=sharing>

It does not work with following errors

CMake Error at /home/jimmy/miniconda3/envs/pokeai/lib/cmake/BoostDetectToolset-1.77.0.cmake:5 (string): string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
 command.
Call Stack (most recent call first):
/home/jimmy/miniconda3/envs/pokeai/lib/cmake/boost_system-1.77.0/boost_system-config.cmake:29 (include) /home/jimmy/miniconda3/envs/pokeai/lib/cmake/Boost-1.77.0/BoostConfig.cmake:141 (find_package) /home/jimmy/miniconda3/envs/pokeai/lib/cmake/Boost-1.77.0/BoostConfig.cmake:258 (boost_find_component) /snap/cmake/1005/share/cmake-3.22/Modules/FindBoost.cmake:594 (find_package)
 cmake_modules/FindBoostAlt.cmake:41 (find_package)
 cmake_modules/ThirdpartyToolchain.cmake:241 (find_package)
 cmake_modules/ThirdpartyToolchain.cmake:956 (resolve_dependency)
 CMakeLists.txt:546 (include)


Can anyone share the build instruction steps?


On 2022/02/21 01:37:49 Chak-Pong Chung wrote:
> I just tried `--preset ninja-debug-basic`, same error.
>
> When trying with `--preset ninja-debug-maximal`,
>
> <https://anaconda.org/search?q=librados>
>
> Does it work with clang build? If so, which version of clang? If not, which
> version of GCC should I use?
>
> I tried the 6.0.1 and 7.0.0 release.
>
> On Sun, Feb 20, 2022 at 12:24 PM Chak-Pong Chung <ch...@gmail.com>
> wrote:
>
> > I am trying to create a debug build for arrow and gandiva to be used in
> > c++, possibly in python as well.
> >
> > Using the following step
> >
> > cd $ARROW_SOURCE_DIR
> > cd cpp
> >
> > rm -rf build
> > mkdir build
> > cd build/
> >
> > cmake .. \
> > -DBUILD_WARNING_LEVEL=PRODUCTION \
> > --preset ninja-debug-gandiva
> > cmake --build . -j 14
> >
> > shows an error:
> > ```
> > /usr/bin/ld: cannot find /lib64/libpthread.so.0
> > /usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a
> > clang: error: linker command failed with exit code 1 (use -v to see
> > invocation)
> > ```
> >
> > I am doing it inside a conda environment with :
> >
> > ```
> >
> > # mamba install -c conda-forge gmock
> > # mamba install -c conda-forge gtest
> > # mamba install -c conda-forge google-cloud-cpp
> >
> > ```
> > Any idea?
> > --
> > Regards,
> > Chak-Pong
> >
>
>
> --
> Regards,
> Chak-Pong
>



Reply via email to