Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove some commented out stuff in the waf configure, don't set HADOO…

…P_HOME
  • Loading branch information...
commit 2424e7309f62e13679329f6fad8ccce164dc353d 1 parent 3ac64ac
Paul Ingles authored

Showing 2 changed files with 1 addition and 5 deletions. Show diff stats Hide diff stats

  1. +1 1  run
  2. +0 4 wscript
2  run
... ... @@ -1,4 +1,4 @@
1   -export HADOOP_HOME=/usr/local/hadoop
  1 +# export HADOOP_HOME=/usr/local/hadoop
2 2
3 3 # Path to hadoop libs
4 4 # export CLASSPATH=$HADOOP_HOME/hadoop-core-0.20.2-cdh3u0.jar:$HADOOP_HOME/lib/commons-logging-1.0.4.jar
4 wscript
@@ -9,12 +9,8 @@ def set_options(opt):
9 9 def configure(conf):
10 10 conf.check_tool("compiler_cxx")
11 11 conf.check_tool("node_addon")
12   - # conf.check_cc(lib='libhdfs', uselib_store='LIBHDFS', mandatory=True)
13   - # conf.check_cfg(package='libhdfs0-0.20.2+923.21-1~lucid-cdh3', args='--cflags --libs', uselib_store='LIBHDFS')
14   - # conf.check_cfg(package='libnotifymm-1.0', args='--cflags --libs', uselib_store='LIBNOTIFYMM')
15 12
16 13 def build(bld):
17   - # obj = bld.new_task_gen("cxx", "shlib", "node_addon", includes='./src ./vendor /usr/lib/jvm/java-6-sun/include /usr/lib/jvm/java-6-sun/include/linux', linkflags=['-L/home/paul/src/hadoop-0.20.2-cdh3u0/c++/Linux-i386-32/lib', '-L/usr/lib/jvm/java-6-sun/jre/lib/i386/server', '-lhdfs'])
18 14 obj = bld.new_task_gen("cxx", "shlib", "node_addon", includes='./src ./vendor', linkflags=['-lhdfs'])
19 15 obj.cxxflags = ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall"]
20 16 obj.target = "hdfs_bindings"

0 comments on commit 2424e73

Please sign in to comment.
Something went wrong with that request. Please try again.