Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…P_HOME
  • Loading branch information...
commit 2424e7309f62e13679329f6fad8ccce164dc353d 1 parent 3ac64ac
@pingles authored
Showing with 1 addition and 5 deletions.
  1. +1 −1  run
  2. +0 −4 wscript
View
2  run
@@ -1,4 +1,4 @@
-export HADOOP_HOME=/usr/local/hadoop
+# export HADOOP_HOME=/usr/local/hadoop
# Path to hadoop libs
# export CLASSPATH=$HADOOP_HOME/hadoop-core-0.20.2-cdh3u0.jar:$HADOOP_HOME/lib/commons-logging-1.0.4.jar
View
4 wscript
@@ -9,12 +9,8 @@ def set_options(opt):
def configure(conf):
conf.check_tool("compiler_cxx")
conf.check_tool("node_addon")
- # conf.check_cc(lib='libhdfs', uselib_store='LIBHDFS', mandatory=True)
- # conf.check_cfg(package='libhdfs0-0.20.2+923.21-1~lucid-cdh3', args='--cflags --libs', uselib_store='LIBHDFS')
- # conf.check_cfg(package='libnotifymm-1.0', args='--cflags --libs', uselib_store='LIBNOTIFYMM')
def build(bld):
- # 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'])
obj = bld.new_task_gen("cxx", "shlib", "node_addon", includes='./src ./vendor', linkflags=['-lhdfs'])
obj.cxxflags = ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall"]
obj.target = "hdfs_bindings"
Please sign in to comment.
Something went wrong with that request. Please try again.