FAQ
Hi all,

With a fresh checkout, running `ant binary` generates this error:

create-libhdfs-configure:
[mkdir] Created dir: /tmp/test/hadoop-hdfs/src/c++/libhdfs/config
[exec] configure.ac:116: error: possibly undefined macro:
AC_PROG_LIBTOOL
[exec] If this token and others are legitimate, please
use m4_pattern_allow.
[exec] See the Autoconf documentation.
[exec] autoreconf: /usr/bin/autoconf failed with exit status: 1

BUILD FAILED
/tmp/test/hadoop-hdfs/build.xml:1488: The following error occurred
while executing this line:
/tmp/test/hadoop-hdfs/build.xml:1475: exec returned: 1


This seems to be a result of HDFS-2022 from last week, though I'm sure
it's something not set up correctly in my environment.

Thanks,
Kirk

Search Discussions

  • Eli Collins at Jun 6, 2011 at 5:06 pm

    On Mon, Jun 6, 2011 at 9:06 AM, Kirk True wrote:
    Hi all,

    With a fresh checkout, running `ant binary` generates this error:

    create-libhdfs-configure:
    [mkdir] Created dir: /tmp/test/hadoop-hdfs/src/c++/libhdfs/config
    [exec] configure.ac:116: error: possibly undefined macro:
    AC_PROG_LIBTOOL
    [exec]       If this token and others are legitimate, please
    use m4_pattern_allow.
    [exec]       See the Autoconf documentation.
    [exec] autoreconf: /usr/bin/autoconf failed with exit status: 1

    BUILD FAILED
    /tmp/test/hadoop-hdfs/build.xml:1488: The following error occurred
    while executing this line:
    /tmp/test/hadoop-hdfs/build.xml:1475: exec returned: 1


    This seems to be a result of HDFS-2022 from last week, though I'm sure it's
    something not set up correctly in my environment.
    Hey Kirk,

    You need to install libtool to build libhdfs, which is part of the
    binary tarball as of HDFS-2022.

    Thanks,
    Eli
  • Kirk True at Jun 7, 2011 at 4:37 am
    It worked great. Thanks!
    On 6/6/11 10:06 AM, Eli Collins wrote:
    On Mon, Jun 6, 2011 at 9:06 AM, Kirk Truewrote:
    Hi all,

    With a fresh checkout, running `ant binary` generates this error:

    create-libhdfs-configure:
    [mkdir] Created dir: /tmp/test/hadoop-hdfs/src/c++/libhdfs/config
    [exec] configure.ac:116: error: possibly undefined macro:
    AC_PROG_LIBTOOL
    [exec] If this token and others are legitimate, please
    use m4_pattern_allow.
    [exec] See the Autoconf documentation.
    [exec] autoreconf: /usr/bin/autoconf failed with exit status: 1

    BUILD FAILED
    /tmp/test/hadoop-hdfs/build.xml:1488: The following error occurred
    while executing this line:
    /tmp/test/hadoop-hdfs/build.xml:1475: exec returned: 1


    This seems to be a result of HDFS-2022 from last week, though I'm sure it's
    something not set up correctly in my environment.
    Hey Kirk,

    You need to install libtool to build libhdfs, which is part of the
    binary tarball as of HDFS-2022.

    Thanks,
    Eli
  • Eli Collins at Jun 7, 2011 at 5:03 am

    On Mon, Jun 6, 2011 at 9:37 PM, Kirk True wrote:
    It worked great. Thanks!
    Excellent. I filed HDFS-2040 to revert to the previous behavior (you
    have to pass -Dlibhdfs to build libhdfs) so users like yourself don't
    need to worry about the native toolchain to build the basic tarball.

    Thanks,
    Eli

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedJun 6, '11 at 4:06p
activeJun 7, '11 at 5:03a
posts4
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Kirk True: 2 posts Eli Collins: 2 posts

People

Translate

site design / logo © 2022 Grokbase