build error pydoop0.10.0 on unbuntu 12.04 and hadoop1.0.4

  • kevin

    kevin - 2014-01-10

    I've build the pydoop0.10.0 with hadoop1.0.4,get the build error, and pip method also return the same error.There are error prompt as follows:
    running build
    running build_py
    running build_ext
    java_include_dirs: ['/usr/lib/jvm/java-6-sun-', '/usr/lib/jvm/java-6-sun-']
    java_library_dirs: ['/usr/lib/jvm/java-6-sun-']
    hadoop_home: '/home/kevin/hadoop'
    hadoop_version: '1.0.4'
    java_home: '/usr/lib/jvm/java-6-sun-'
    building 'pydoop._pipes_1_0_4' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -Isrc/hadoop-1.0.4.patched/pipes/api -Isrc/hadoop-1.0.4.patched/utils/api -I/usr/include/python2.7 -c src/pipes.cpp -o build/temp.linux-i686-2.7/src/pipes.o
    In file included from src/pipes.hpp:30:0,
    from src/pipes.cpp:21:
    src/pipes_context.hpp:33:28: fatal error: boost/python.hpp:No such directory or file
    build interrupt。
    error: command 'gcc' failed with exit status 1

    Has anyone else encountered this and conquered it?I've install boost lib for python.

    Last edit: kevin 2014-01-10
  • Simone Leo

    Simone Leo - 2014-01-10


    Did you install the dev version of the Boost.Python library, as specified in the Pydoop docs? If so, you should see a bunch of header files under /usr/include/boost, including python.hpp



Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks