[
https://issues.apache.org/jira/browse/HADOOP-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661376#action_12661376
]
ltucker edited comment on HADOOP-4949 at 1/6/09 3:53 PM:
------------------------------------------------------------
This patch changes the clean target to clean up the makefiles by running
autoreconf -if. If I understand correctly, this just resets the build
artifacts to match the gnutools installed. The compile-native target now also
does and autoreconf, just like the c++ targets do.
If you do either of the following commands, the build now works correctly.
ant -Dcompile.c++=true -Dcompile.native=yes -Dlibhdfs=true clean compile-native
compile
ant -Dcompile.c++=true -Dcompile.native=yes -Dlibhdfs=true clean compile
compile-native
(My assumption is that non-c++ and non-native targets aren't impacted by this
change.)
It needs to be applied in addition to the previously committed patch. This
patch also works, with some "fuzzing" on the 0.20 branch.
was (Author: ltucker):
This patch changes the clean target to clean up the makefiles by running
autoreconf -if. If I understand correctly, this just resets the build
artifacts to match the gnutools installed. The compile-native target now also
does and autoreconf, just like the c++ targets do.
If you do either of the following commands, the build now works correctly.
ant -Dcompile.c++=true -Dcompile.native=yes -Dlibhdfs=true clean compile-native
compile
ant -Dcompile.c++=true -Dcompile.native=yes -Dlibhdfs=true clean compile
compile-native
(My assumption is that non-c++ and non-native targets aren't impacted by this
change.)
It needs to be applied in addition to the previously committed 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
> Assignee: Giridharan Kesavan
> Priority: Blocker
> Fix For: 0.21.0
>
> Attachments: 4949-0.patch, 4949-1.patch, 4949_20081230.patch,
> 4949_20081231.patch, 4949_buildxml.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.