Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-716

error building arrow/python

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.3.0
    • C++
    • None
    • centos7, anaconda python 4.3.1, gcc 4.8.5

    Description

      [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

      Attachments

        Activity

          People

            wesm Wes McKinney
            virtualluke Luke Higgins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: