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

Help
kevin
2014-01-10
2014-01-10
  • 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-1.6.0.30/include', '/usr/lib/jvm/java-6-sun-1.6.0.30/include/linux']
    java_library_dirs: ['/usr/lib/jvm/java-6-sun-1.6.0.30/jre/lib/i386/server']
    hadoop_home: '/home/kevin/hadoop'
    hadoop_version: '1.0.4'
    java_home: '/usr/lib/jvm/java-6-sun-1.6.0.30'
    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

    Hello,

    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

    Simone

     

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

Sign up for the SourceForge newsletter:





No, thanks