[ 
https://issues.apache.org/jira/browse/MESOS-261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13447058#comment-13447058
 ] 

Benjamin Mahler edited comment on MESOS-261 at 10/11/12 12:07 AM:
------------------------------------------------------------------

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.
                
      was (Author: bmahler):
    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

It would be good to the github docs for people coming fresh from mountain lion.
                  
> bootstrap fails when automake version >= 1.12
> ---------------------------------------------
>
>                 Key: MESOS-261
>                 URL: https://issues.apache.org/jira/browse/MESOS-261
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.9.0
>         Environment: Macos 10.8.1
> automake 1.12.3
> autoconf 2.69
>            Reporter: Jie Yu
>            Assignee: Benjamin Mahler
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to