hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8080) hadoop-common/src/main/native does not have a directory which name is "m4"
Date Thu, 16 Feb 2012 23:22:57 GMT

    [ 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 <tromey@redhat.com>
>        and Alexandre Duret-Lutz <adl@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

        

Mime
View raw message