Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyarrow installation failed on AIX7.2. #9030

Closed
bergen288 opened this issue Dec 28, 2020 · 4 comments
Closed

pyarrow installation failed on AIX7.2. #9030

bergen288 opened this issue Dec 28, 2020 · 4 comments

Comments

@bergen288
Copy link

I am trying to install pyarrow on my AIX7.2. It is failed with -- No package 'arrow' found. I also downloaded "apache-arrow-2.0.0.tar.gz" file and tried to install by "python setup.py install" inside ../apache-arrow-2.0.0/python, but failed with the same error. There is no obvious instruction for how to install ARROW in ../apache-arrow-2.0.0/. Can you tell me where to find the instruction for ARROW installation?

Thanks.

@kou
Copy link
Member

kou commented Dec 28, 2020

You need to install Apache Arrow C++ to install pyarrow on AIX.
See https://arrow.apache.org/docs/developers/cpp/building.html#building-arrow-cpp how to install Apache Arrow C++.

@kou
Copy link
Member

kou commented Dec 28, 2020

You can use the released tar ball https://www.apache.org/dyn/closer.lua/arrow/arrow-2.0.0/apache-arrow-2.0.0.tar.gz not git clone.

@bergen288
Copy link
Author

I am getting the following error after cd release to run cmake ..:

Login=root: Line=602 > cmake ..
-- Building using CMake version: 3.16.0
-- Arrow version: 2.0.0 (full: '2.0.0')
-- Arrow SO version: 200 (full: 200.0.0)
-- clang-tidy not found
-- clang-format not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN)
-- infer not found
-- Found cpplint executable at /software/thirdparty/apache-arrow-2.0.0/cpp/build-support/cpplint.py
-- System processor: powerpc
-- Arrow build warning level: PRODUCTION
CMake Error at cmake_modules/SetupCxxFlags.cmake:365 (message):
  SSE4.2 required but compiler doesn't support it.
Call Stack (most recent call first):
  CMakeLists.txt:437 (include)


-- Configuring incomplete, errors occurred!
See also "/software/thirdparty/apache-arrow-2.0.0/cpp/release/CMakeFiles/CMakeOutput.log".
See also "/software/thirdparty/apache-arrow-2.0.0/cpp/release/CMakeFiles/CMakeError.log".

Attached are output logs. Does it mean I have to install SSE4.2 first? Thanks.
CMakeError.log
CMakeOutput.log

@kou
Copy link
Member

kou commented Dec 28, 2020

We need to add support for AIX to Apache Arrow C++ first.
It'll be able to be done by improving CPU detection at https://github.com/apache/arrow/blob/master/cpp/cmake_modules/SetupCxxFlags.cmake#L26-L104 .
Could you open a JIRA issue https://issues.apache.org/jira/projects/ARROW/issues/ ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants