hi Simba,

Are you following development instructions in
http://arrow.apache.org/docs/python/development.html#developing-on-linux-and-macos
or something else?

- Wes

On Wed, Jan 10, 2018 at 11:20 AM, simba nyatsanga
<simnyatsa...@gmail.com> wrote:
> Hi,
>
> I've created a python 2.7 virtualenv in my attempt to build the pyarrow
> project. But I'm having trouble running one of commands as specified in the
> development docs on Github, specifically this command:
>
> cd arrow/python
> python setup.py build_ext --build-type=$ARROW_BUILD_TYPE \
>        --with-parquet --with-plasma --inplace
>
> The error output looks like this:
>
> running build_ext-- Runnning cmake for pyarrow
> cmake  
> -DPYTHON_EXECUTABLE=/Users/simba/anaconda/envs/pyarrow-dev-py2.7/bin/python
>  -DPYARROW_BUILD_PARQUET=on -DPYARROW_BUILD_PLASMA=on
> -DCMAKE_BUILD_TYPE= /Users/simba/Projects/personal/oss/arrow/python
> INFOCompiler command: /Library/Developer/CommandLineTools/usr/bin/c++
> INFOCompiler version: Apple LLVM version 8.0.0
> (clang-800.0.42.1)Target: x86_64-apple-darwin15.6.0
> Thread model: posixInstalledDir: /Library/Developer/CommandLineTools/usr/bin
>
> INFOCompiler id: Clang
> Selected compiler clang 3.8.0svn
> Configured for DEBUG build (set with cmake
> -DCMAKE_BUILD_TYPE={release,debug,...})-- Build Type: DEBUG-- Build
> output directory:
> /Users/simba/Projects/personal/oss/arrow/python/build/debug/--
> Checking for module 'arrow'--   No package 'arrow' found-- Found the
> Arrow core library:
> /Users/simba/anaconda/envs/pyarrow-dev-py2.7/lib/libarrow.dylib--
> Found the Arrow Python library:
> /Users/simba/anaconda/envs/pyarrow-dev-py2.7/lib/libarrow_python.dylib
> Added shared library dependency arrow:
> /Users/simba/anaconda/envs/pyarrow-dev-py2.7/lib/libarrow.dylib
> Added shared library dependency arrow_python:
> /Users/simba/anaconda/envs/pyarrow-dev-py2.7/lib/libarrow_python.dylib--
> Checking for module 'parquet'--   No package 'parquet' found-- Found
> the Parquet library:
> /Users/simba/anaconda/envs/pyarrow-dev-py2.7/lib/libparquet.dylib
> Added shared library dependency parquet:
> /Users/simba/anaconda/envs/pyarrow-dev-py2.7/lib/libparquet.dylib--
> Checking for module 'plasma'--   No package 'plasma' found-- Found the
> Plasma core library:
> /Users/simba/anaconda/envs/pyarrow-dev-py2.7/lib/libplasma.dylib--
> Found Plasma executable:
> Added shared library dependency libplasma:
> /Users/simba/anaconda/envs/pyarrow-dev-py2.7/lib/libplasma.dylib--
> Configuring done-- Generating done-- Build files have been written to:
> /Users/simba/Projects/personal/oss/arrow/python-- Finished cmake for
> pyarrow-- Running cmake --build for pyarrow
> makemake: *** No targets specified and no makefile found.  Stop.error:
> command 'make' failed with exit status 2
>
>
> It looks like there's a change dir happening at this line in the setup.py:
> https://github.com/apache/arrow/blob/master/python/setup.py#L136
> Which, in my case, is switching to the temp build which doesn't have the
> required Makefile to run the make command.
>
> I could be missing something because I was able to build the project
> successfully for python3. But I'd like to build it in python2.7 to attempt
> a bug fix for this issue: https://issues.apache.org/jira/browse/ARROW-1976
>
> Thanks for help.
>
> Kind Regards
> Simba

Reply via email to