Mesos
  1. Mesos
  2. MESOS-261

bootstrap fails when automake version >= 1.12

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0, 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      Macos 10.8.1
      automake 1.12.3
      autoconf 2.69

      Description

      configure.ac:55: the top level
      autoreconf: configure.ac: not using Autoheader
      autoreconf: running: automake --add-missing --copy --no-force --warnings=all
      automake: warnings are treated as errors
      third_party/Makefile.am:56: warning: '%'-style pattern rules are a GNU make extension
      /usr/local/Cellar/automake/1.12.3/share/automake-1.12/am/ltlibrary.am: warning: 'libgmock.la': linking libtool libraries using a non-POSIX
      /usr/local/Cellar/automake/1.12.3/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
      third_party/Makefile.am:42: while processing Libtool library 'libgmock.la'
      /usr/local/Cellar/automake/1.12.3/share/automake-1.12/am/ltlibrary.am: warning: 'libry_http_parser.la': linking libtool libraries using a non-POSIX
      /usr/local/Cellar/automake/1.12.3/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
      third_party/Makefile.am:32: while processing Libtool library 'libry_http_parser.la'
      autoreconf: automake failed with exit status: 1

        Activity

        Hide
        Andy Konwinski added a comment - - edited

        I added a pointer on the wiki homepage (https://github.com/mesos/mesos/wiki) under the "Downloading and Building Mesos" section to this JIRA as well as MESOS-285.

        Show
        Andy Konwinski added a comment - - edited I added a pointer on the wiki homepage ( https://github.com/mesos/mesos/wiki ) under the "Downloading and Building Mesos" section to this JIRA as well as MESOS-285 .
        Hide
        Benjamin Mahler added a comment - - edited

        I've got it building on mountain lion using this patch.
        The other issue was needing to install openjdk7 to get non-deprecated java headers: http://code.google.com/p/openjdk-osx-build/

        Then configure pointing to openjdk:
        $ JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home ../configure.macosx

        The easier way is to open the 'Java Preferences' app, and drag the new jdk to the top.

        It would be good to the github docs for people coming fresh from mountain lion.

        Show
        Benjamin Mahler added a comment - - edited I've got it building on mountain lion using this patch. The other issue was needing to install openjdk7 to get non-deprecated java headers: http://code.google.com/p/openjdk-osx-build/ Then configure pointing to openjdk: $ JAVA_HOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home ../configure.macosx The easier way is to open the 'Java Preferences' app, and drag the new jdk to the top. It would be good to the github docs for people coming fresh from mountain lion.
        Hide
        Benjamin Mahler added a comment -

        try patching this in: https://reviews.apache.org/r/6890/

        Show
        Benjamin Mahler added a comment - try patching this in: https://reviews.apache.org/r/6890/
        Hide
        Benjamin Mahler added a comment -

        Hey Jie!

        I also tried building on my home MBA and had these issues, I think the following may help you fix our bootstrap:

        We can create a suffix rule for the % pattern warning: http://lists.gnu.org/archive/html/automake/2007-01/msg00002.html
        This may fix the AM_PROG_AR warning: https://github.com/DeNADev/HandlerSocket-Plugin-for-MySQL/pull/86/files

        Show
        Benjamin Mahler added a comment - Hey Jie! I also tried building on my home MBA and had these issues, I think the following may help you fix our bootstrap: We can create a suffix rule for the % pattern warning: http://lists.gnu.org/archive/html/automake/2007-01/msg00002.html This may fix the AM_PROG_AR warning: https://github.com/DeNADev/HandlerSocket-Plugin-for-MySQL/pull/86/files
        Hide
        Jie Yu added a comment -

        John! Any idea how to fix this?

        Show
        Jie Yu added a comment - John! Any idea how to fix this?
        Hide
        John Sirois added a comment -

        Jie!

        Show
        John Sirois added a comment - Jie!

          People

          • Assignee:
            Benjamin Mahler
            Reporter:
            Jie Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development