You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2015/02/17 22:44:12 UTC
[jira] [Commented] (HADOOP-8080) hadoop-common/src/main/native does
not have a directory which name is "m4"
[ https://issues.apache.org/jira/browse/HADOOP-8080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324940#comment-14324940 ]
Colin Patrick McCabe commented on HADOOP-8080:
----------------------------------------------
This was fixed in Hadoop 2.x by the conversion to cmake. cmake doesn't use the m4 macro processing language, unlike autotools.
> hadoop-common/src/main/native does not have a directory which name is "m4"
> --------------------------------------------------------------------------
>
> Key: HADOOP-8080
> URL: https://issues.apache.org/jira/browse/HADOOP-8080
> Project: Hadoop Common
> Issue Type: Bug
> Components: native
> Environment: FreeBSD 9.0
> automake --version
> automake (GNU automake) 1.11.1
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> Written by Tom Tromey <tr...@redhat.com>
> and Alexandre Duret-Lutz <ad...@gnu.org>.
> Reporter: Changming Sun
> Priority: Trivial
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> There is a such line in configure.ac
> AC_CONFIG_MACRO_DIR([m4])
> But there doesn't have such a directory, so if the version of automake is too high, autoreconf will fail.
> Here is a minor patch for it:
> ===================================================================
> --- hadoop-common-project/hadoop-common/src/main/native/configure.ac (revision 1244865)
> +++ hadoop-common-project/hadoop-common/src/main/native/configure.ac (working copy)
> @@ -37,7 +37,7 @@
> AC_INIT(src/org_apache_hadoop.h)
> AC_CONFIG_SRCDIR([src/org_apache_hadoop.h])
> AC_CONFIG_AUX_DIR([config])
> -AC_CONFIG_MACRO_DIR([m4])
> +#AC_CONFIG_MACRO_DIR([m4])
> AC_CONFIG_HEADER([config.h])
> AC_SYS_LARGEFILE
> AC_GNU_SOURCE
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)