yoghadj / or-tools

Automatically exported from code.google.com/p/or-tools
0 stars 0 forks source link

Can't use on OS X (binary or source) #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using the latest OS X Mavericks 10.9.4 with the latest Xcode and latest 
command line tools.

When I try running using the binary:

/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/bin/java 
-Djava.library.path=intellij-lib com.intellij.rt.execution.application.AppMain 
com.whamcitylights.signalDataAnalyzer.SetCovering3
java(50037,0x1057da000) malloc: *** error for object 0x1057d9000: pointer being 
freed was not allocated
*** set a breakpoint in malloc_error_break to debug

When I try building from source:

Checked out revision 512.
cd dependencies/sources/protobuf-512 && 
PATH=/Users/keith/Code/lib/or-tools-read-only/dependencies/install/bin:/usr/loca
l/git/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/Users/keith/Code/slocco
unt-2.26:/Users/keith/Code/android-ndk-r8b:/Users/keith/Code/android-sdk-macosx/
tools:/Users/keith/Code/android-sdk-macosx/platform-tools:/Library/Frameworks/Py
thon.framework/Versions/2.7/bin:/opt/local/Library/Frameworks/Python.framework/V
ersions/2.7/lib/python2.7/site-packages:/opt/local/bin:/opt/local/sbin:/opt/loca
l/lib:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/b
in ./autogen.sh
+ sed -i -e 's/RuntimeLibrary="5"/RuntimeLibrary="3"/g;
           s/RuntimeLibrary="4"/RuntimeLibrary="2"/g;' gtest/msvc/gtest-md.vcproj gtest/msvc/gtest.vcproj gtest/msvc/gtest_main-md.vcproj gtest/msvc/gtest_main.vcproj gtest/msvc/gtest_prod_test-md.vcproj gtest/msvc/gtest_prod_test.vcproj gtest/msvc/gtest_unittest-md.vcproj gtest/msvc/gtest_unittest.vcproj
+ autoreconf -f -i -Wall,no-obsolete
configure.ac:27: installing 'build-aux/compile'
configure.ac:30: installing 'build-aux/config.guess'
configure.ac:30: installing 'build-aux/config.sub'
configure.ac:24: installing 'build-aux/install-sh'
configure.ac:30: error: required file 'build-aux/ltmain.sh' not found
configure.ac:24: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: automake failed with exit status: 1
make: *** [dependencies/sources/protobuf-512/configure] Error 1

Original issue reported on code.google.com by ke...@whamcitylights.com on 9 Sep 2014 at 2:11

GoogleCodeExporter commented 9 years ago
You need to install automake (brew install automake)

Original comment by w.kett...@avisi.nl on 14 Nov 2014 at 2:09