zeroRains commented on issue #43580:
URL: https://github.com/apache/arrow/issues/43580#issuecomment-2271152070

   > If you want to use compute you have to build Arrow C++ with Compute too: 
`-DARROW_COMPUTE=ON`
   
   Should I run a script to prepare the environment? I get a error in utf8proc 
lib although I have used `apt install libutf8proc-dev`.
   
   ```shell
   (base) root@1f99389a8751:~/workspace/origin/utf8proc# apt install 
libutf8proc-dev
   Reading package lists... Done
   Building dependency tree       
   Reading state information... Done
   The following additional packages will be installed:
     libutf8proc2
   The following NEW packages will be installed:
     libutf8proc-dev libutf8proc2
   0 upgraded, 2 newly installed, 0 to remove and 29 not upgraded.
   Need to get 103 kB of archives.
   After this operation, 693 kB of additional disk space will be used.
   Do you want to continue? [Y/n] y
   Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libutf8proc2 
amd64 2.5.0-1 [50.0 kB]
   Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libutf8proc-dev 
amd64 2.5.0-1 [52.6 kB]
   Fetched 103 kB in 2s (52.5 kB/s)         
   perl: warning: Setting locale failed.
   perl: warning: Please check that your locale settings:
           LANGUAGE = (unset),
           LC_ALL = (unset),
           LANG = "en_US.UTF-8"
       are supported and installed on your system.
   perl: warning: Falling back to the standard locale ("C").
   debconf: delaying package configuration, since apt-utils is not installed
   Selecting previously unselected package libutf8proc2:amd64.
   (Reading database ... 23982 files and directories currently installed.)
   Preparing to unpack .../libutf8proc2_2.5.0-1_amd64.deb ...
   Unpacking libutf8proc2:amd64 (2.5.0-1) ...
   Selecting previously unselected package libutf8proc-dev:amd64.
   Preparing to unpack .../libutf8proc-dev_2.5.0-1_amd64.deb ...
   Unpacking libutf8proc-dev:amd64 (2.5.0-1) ...
   Setting up libutf8proc2:amd64 (2.5.0-1) ...
   Setting up libutf8proc-dev:amd64 (2.5.0-1) ...
   Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
   /sbin/ldconfig.real: File 
/lib/x86_64-linux-gnu/libnvidia-opencl.so.550.54.14 is empty, not checked.
   /sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libnvidia-nvvm.so.4 is 
empty, not checked.
   /sbin/ldconfig.real: File 
/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.550.54.14 is empty, not 
checked.
   /sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libcuda.so.550.54.14 is 
empty, not checked.
   /sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libnvidia-cfg.so.550.54.14 
is empty, not checked.
   /sbin/ldconfig.real: File 
/lib/x86_64-linux-gnu/libnvidia-pkcs11-openssl3.so.550.54.14 is empty, not 
checked.
   /sbin/ldconfig.real: File 
/lib/x86_64-linux-gnu/libnvidia-pkcs11.so.550.54.14 is empty, not checked.
   /sbin/ldconfig.real: File 
/lib/x86_64-linux-gnu/libnvidia-gpucomp.so.550.54.14 is empty, not checked.
   /sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libcudadebugger.so.550.54.14 
is empty, not checked.
   /sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libcudadebugger.so.1 is 
empty, not checked.
   /sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libnvidia-ml.so.550.54.14 is 
empty, not checked.
   /sbin/ldconfig.real: File /lib/x86_64-linux-gnu/libnvidia-nvvm.so.550.54.14 
is empty, not checked.
   /sbin/ldconfig.real: File 
/lib/x86_64-linux-gnu/libnvidia-allocator.so.550.54.14 is empty, not checked.
   ```
   
   compile command: `cmake -DARROW_CSV=ON -DARROW_JSON=ON -DARROW_FILESYSTEM=ON 
-DARROW_COMPUTE=ON ..`
   
   error:
   
   ```shell
   CMake Error at 
/root/workspace/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165
 (message):
     Could NOT find utf8proc: Found unsuitable version "", but required is at
     least "2.2.0" (found utf8proc_LIB-NOTFOUND)
   Call Stack (most recent call first):
     
/root/workspace/cmake-3.18.0-Linux-x86_64/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:456
 (_FPHSA_FAILURE_MESSAGE)
     cmake_modules/Findutf8proc.cmake:107 (find_package_handle_standard_args)
     cmake_modules/ThirdpartyToolchain.cmake:310 (find_package)
     cmake_modules/ThirdpartyToolchain.cmake:2816 (resolve_dependency)
     CMakeLists.txt:543 (include)
   ```


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