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

error building arrow/python #16335

Closed
asfimport opened this issue Mar 27, 2017 · 5 comments
Closed

error building arrow/python #16335

asfimport opened this issue Mar 27, 2017 · 5 comments
Assignees
Milestone

Comments

@asfimport
Copy link

[root@localhost python]# /opt/anaconda3/bin/python setup.py build_ext --build-type=release --inplace --with-parquet
/opt/anaconda3/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_requires'
warnings.warn(msg)
running build_ext
cmake -DPYTHON_EXECUTABLE=/opt/anaconda3/bin/python -DPYARROW_BUILD_TESTS=off -DPYARROW_BUILD_PARQUET=on -DCMAKE_BUILD_TYPE=release /root/arrow-master/python
INFO Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c+,objc,obj-c+,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)

Selected compiler gcc 4.8.5
Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
– Build Type: RELEASE
Using static linking for RELEASE builds
collect2 version 4.8.5 20150623 (Red Hat 4.8.5-11)
/usr/bin/ld --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbegin.o -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtend.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o
Using ld linker
– Searching for Python libs in /opt/anaconda3/lib64;/opt/anaconda3/lib;/opt/anaconda3/lib/python3.6/config-3.6m-x86_64-linux-gnu
– Looking for python3.6m
– Found Python lib /opt/anaconda3/lib/libpython3.6m.so
– Searching for Python libs in /opt/anaconda3/lib64;/opt/anaconda3/lib;/opt/anaconda3/lib/python3.6/config-3.6m-x86_64-linux-gnu
– Looking for python3.6m
– Found Python lib /opt/anaconda3/lib/libpython3.6m.so
– Found the Parquet library: /usr/local/lib/libparquet.so
– Found the Parquet Arrow library: /usr/local/lib
– Found the Arrow core library: /usr/local/lib/libarrow.so
– Found the Arrow IO library: /usr/local/lib/libarrow_io.so
– Found the Arrow IPC library: /usr/local/lib/libarrow_ipc.so
– Found the Arrow jemalloc library: /usr/local/lib/libarrow_jemalloc.so
Added shared library dependency arrow: /usr/local/lib/libarrow.so
Added shared library dependency arrow_io: /usr/local/lib/libarrow_io.so
Added shared library dependency arrow_ipc: /usr/local/lib/libarrow_ipc.so
Added shared library dependency arrow_python: /usr/local/lib/libarrow_python.so
Added shared library dependency parquet_arrow: /usr/local/lib/libparquet_arrow.so
– Configuring done
– Generating done
– Build files have been written to: /root/arrow-master/python/build/temp.linux-x86_64-3.6
make
[ 5%] Compiling Cython CXX source for _feather...
[ 5%] Built target _feather_pyx
Scanning dependencies of target _feather
[ 10%] Building CXX object CMakeFiles/_feather.dir/_feather.cxx.o
make[2]: *** No rule to make target /usr/local/lib/libarrow_python.so', needed by release/_feather.cpython-36m-x86_64-linux-gnu.so'. Stop.
make[1]: *** [CMakeFiles/_feather.dir/all] Error 2
make: *** [all] Error 2
error: command 'make' failed with exit status 2

Environment: centos7, anaconda python 4.3.1, gcc 4.8.5
Reporter: Luke Higgins
Assignee: Wes McKinney / @wesm

Note: This issue was originally created as ARROW-716. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Luke Higgins:
This is after building arrow-cpp, parquet-cpp, in the latest masters from each.

@asfimport
Copy link
Author

Wes McKinney / @wesm:
You need to build the Arrow C++ libraries now with -DARROW_PYTHON=on. I will update the README. See ARROW-341

@asfimport
Copy link
Author

Wes McKinney / @wesm:
PR: #445

@asfimport
Copy link
Author

Luke Higgins:
That fixes my problem. Thanks!

@asfimport
Copy link
Author

Wes McKinney / @wesm:
Issue resolved by pull request 445
#445

@asfimport asfimport added this to the 0.3.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants