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 "Kihwal Lee (Commented) (JIRA)" <ji...@apache.org> on 2012/02/17 00:22:57 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=13209879#comment-13209879 ] 

Kihwal Lee commented on HADOOP-8080:
------------------------------------

If you build the native code through maven, it creates the m4 directory for you. Are you running autoreconf directly? If so, you need to do that manually on the target directory.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira