[ 
https://issues.apache.org/jira/browse/HADOOP-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659975#action_12659975
 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4949:
------------------------------------------------

Tried the patches.  Both patches failed on my machine.  It might be the case 
that my machine is not set up correctly for compiling the native library.

The following is the results from Giri's patch.  
{noformat}
$ ant compile-native
Buildfile: build.xml

compile-native:

...

     [exec] config.status: config.h is unchanged
     [exec] config.status: executing depfiles commands
     [exec]  cd /home/tsz/hadoop/latest/src/native && /bin/sh 
/home/tsz/hadoop/latest/src/native/config/missing --run automake-1.9 --gnu 
     [exec] Usage: autoconf [-h] [--help] [-m dir] [--macrodir=dir]
     [exec]        [-l dir] [--localdir=dir] [--version] [template-file]
     [exec] automake-1.9: autoconf failed with exit status: 1
     [exec] make: *** [/home/tsz/hadoop/latest/src/native/Makefile.in] Error 1

BUILD FAILED
/home/tsz/hadoop/latest/build.xml:448: The following error occurred while 
executing this line:
/home/tsz/hadoop/latest/build.xml:477: exec returned: 2

Total time: 21 seconds
{noformat}
I got the same problem for Chris' patch.

> Native compilation is broken
> ----------------------------
>
>                 Key: HADOOP-4949
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4949
>             Project: Hadoop Core
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Chris Douglas
>            Priority: Blocker
>         Attachments: 4949-0.patch, HADOOP-4949.patch
>
>
> Compilation of the native libs is broken:
> {noformat}
> compile-core-native:
>     [javah] [Search path = 
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/resources.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/rt.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/sunrsasign.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/jsse.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/jce.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/charsets.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/classes: \
>                            /hadoophome/build/classes]
>     [javah] [Loaded 
> /hadoophome/build/classes/org/apache/hadoop/io/compress/zlib/ZlibCompressor.class]
>     [javah] [Loaded 
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/rt.jar(java/lang/Object.class)]
>     [javah] [Forcefully writing file 
> /hadoophome/build/native/Linux-i386-32/src/org/apache/hadoop/io/compress/zlib/org_apache_hadoop_io_compress_zlib_ZlibCompressor.h]
>     [javah] [Loaded 
> /hadoophome/build/classes/org/apache/hadoop/io/compress/zlib/ZlibDecompressor.class]
>     [javah] [Forcefully writing file 
> /hadoophome/build/native/Linux-i386-32/src/org/apache/hadoop/io/compress/zlib/org_apache_hadoop_io_compress_zlib_ZlibDecompressor.h]
>     [javah] [Search path = 
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/resources.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/rt.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/sunrsasign.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/jsse.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/jce.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/lib/charsets.jar:
>  \
>                            
> /toolshome/build/Linux_2.6_rh4_x86_64/tools/java/jdk1.6.0_i586/jre/classes: \
>                            /hadoophome/build/classes]
>     [javah] Error: Class org.apache.hadoop.io.compress.lzo.LzoCompressor 
> could not be found.
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to