thanks :)...sorry for buggin u over n over.
regards, On Mon, Feb 25, 2008 at 11:07 PM, Arun C Murthy <[EMAIL PROTECTED]> wrote: > Ahmad, > > On Feb 25, 2008, at 9:57 AM, Ahmad Humayun wrote: > > > So I'm guessing that ant uses the build.xml file :) > > > > Apache Ant is a Java-based build tool. It uses the build.xml to drive > the build process. Hadoop (and many other Java-based projects) use ant. > > More details here: http://ant.apache.org/manual/index.html > > Arun > > > thanks again Arun. > > > > > > regards, > > Ahmad H. > > > > On Mon, Feb 25, 2008 at 10:46 PM, Arun C Murthy <[EMAIL PROTECTED]> > > wrote: > > > >> > >> On Feb 24, 2008, at 11:23 PM, Ahmad Humayun wrote: > >> > >>> Thanks Arun :), I'll try that, cause I was just using make before. > >>> So in short, hadoop is not configured to compiled with make? > >>> > >> > >> The ant task just invokes 'make' with the necessary environment > >> variables etc., so there isn't anything special here. The usual > >> pitfall is that folks don't pass the right env etc. > >> > >> Arun > >> > >>> > >>> regards, > >>> > >>> On Mon, Feb 25, 2008 at 11:07 AM, Arun C Murthy <[EMAIL PROTECTED]> > >>> wrote: > >>> > >>>> Ahmad, > >>>> > >>>> On Feb 24, 2008, at 3:52 AM, Ahmad Humayun wrote: > >>>> > >>>>> Hello there, > >>>>> > >>>>> Whenever I try to build libhdfs (by simply running 'make' at > >>>>> /src/c++/libhdfs/), I get this output: > >>>>> > >>>> > >>>> Did you try 'ant compile-libhdfs' from the top-level trunk/ > >>>> directory? > >>>> > >>>> $ cd <path-to-top-level-hadoop-src-dir> > >>>> $ ant compile-libhdfs > >>>> > >>>> Arun > >>>> > >>>>> ////////////////////////////////////////////////////////////////// > >>>>> // > >>>>> // > >>>>> /////////////////////// > >>>>> gcc -g -Wall -O2 -fPIC -m32 -I/usr/lib/jvm/java/include > >>>>> -I/usr/lib/jvm/java/include/ -c hdfs.c -o /hdfs.o > >>>>> In file included from hdfs.h:33, > >>>>> from hdfs.c:19: > >>>>> /usr/lib/jvm/java/include/jni.h:39: error: conflicting types for > >>>>> ‘jboolean’ > >>>>> /usr/lib/gcc/i586-suse-linux/4.1.2/include/jni_md.h:84: error: > >>>>> previous > >>>>> declaration of ‘jboolean’ was here > >>>>> make: *** [/hdfs.o] Error 1 > >>>>> ////////////////////////////////////////////////////////////////// > >>>>> // > >>>>> // > >>>>> /////////////////////// > >>>>> > >>>>> I can also see that the Makefile gives these comments. > >>>>> # Note: This makefile depends on 4 environment variables to > >>>>> funtion > >>>>> correctly: > >>>>> # a) JAVA_HOME > >>>>> # b) OS_NAME > >>>>> # c) OS_ARCH > >>>>> # d) LIBHDFS_BUILD_DIR > >>>>> # All these are passed by build.xml. > >>>>> # > >>>>> > >>>>> But at the moment I'm more concerned about the jboolean errors for > >>>>> jni. Can > >>>>> somebody specify how to build libhdfs by passing the build.xml. > >>>>> Will it > >>>>> solve the jboolean conflict error. I'm sorry, a lot of these > >>>>> questions might > >>>>> seem stupid...but please it will be great if someone can help me > >>>>> here. > >>>>> > >>>>> > >>>>> regards, > >>>>> -- > >>>>> Ahmad Humayun > >>>>> Research Assistant > >>>>> Computer Science Dpt., LUMS > >>>>> +92 321 4457315 > >>>> > >>>> > >>> > >>> > >>> -- > >>> Ahmad Humayun > >>> Research Assistant > >>> Computer Science Dpt., LUMS > >>> +92 321 4457315 > >> > >> > > > > > > -- > > Ahmad Humayun > > Research Assistant > > Computer Science Dpt., LUMS > > +92 321 4457315 > > -- Ahmad Humayun Research Assistant Computer Science Dpt., LUMS +92 321 4457315
