Skip to content

Instantly share code, notes, and snippets.

View durka's full-sized avatar

Alex Burka durka

View GitHub Profile
if not sys.version.startswith('2.7.5'):
sys.path = map(lambda s: s.replace('/usr/local/Cellar/python/2.7.5/', '/System/Library/'), sys.path)
sys.path = map(lambda s: s.replace('/usr/local/lib/', '/usr/lib/'), sys.path)
checking build system type... x86_64-apple-darwin12.3.0
checking Package... LILYPOND
checking builddir... /private/tmp/lilypond-Q6XT/lilypond-2.16.2
checking for stepmake... ./stepmake (${datarootdir}/stepmake not found)
checking host system type... x86_64-apple-darwin12.3.0
checking for gmake... gmake
checking for find... find
checking for tar... tar
checking for bash... /bin/sh
checking for python... python
@durka
durka / root.rb
Last active December 22, 2015 23:19
ROOT formula
require 'formula'
class Root < Formula
homepage 'http://root.cern.ch'
url 'ftp://root.cern.ch/root/root_v5.34.10.source.tar.gz'
version '5.34.10'
sha1 '2dc0af12e531c4f2314a9fbd7dd4f5fee924d71c'
depends_on 'fftw' => :optional
depends_on :x11
Linking CXX shared library ../../lib/libopencv_highgui.dylib
cd /tmp/opencv-8hQ0/opencv-2.4.6.1/macbuild/modules/highgui && /usr/local/Cellar/cmake/2.8.11.2/bin/cmake -E cmake_link_script CMakeFiles/opencv_highgui.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/c++ -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -fdiagnostics-show-option -fno-omit-frame-pointer -msse -msse2 -msse3 -Wno-deprecated-declarations -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 2.4.0 -current_version 2.4.6 -o ../../lib/libopencv_highgui.2.4.6.dylib -install_name /tmp/opencv-8hQ0/opencv-2.4.6.1/macbuild/lib/libopencv_highgui.2.4.dylib CMakeFiles/opencv_highgui.dir/src/cap.cpp.o CMakeFiles/opencv_highgui.dir/src/cap_images.cpp.o CMakeFiles/ope
@durka
durka / 01.cmake
Created September 30, 2013 16:39
opencv 2.4.6.1 failure log
-- The CXX compiler identification is Clang 4.2.0
-- The C compiler identification is Clang 4.2.0
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/c++
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/local/Library/ENV/4.3/cc
-- Check for working C compiler: /usr/local/Library/ENV/4.3/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
@durka
durka / gist:6833492
Created October 4, 2013 21:57
opencv c++11 build failure
Alexs-MacBook-Air-2:homebrew-science alex$ brew install -vd opencv
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/opencv.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/cmake.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/pkg-config.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/libpng.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/python.rb
/usr/local/opt/python/bin/python2 -c import numpy
/usr/local/Library/Formula/opencv.rb: loading /usr/local/Library/Formula/cmake.rb
/usr/local/Library/Formula/opencv.rb: loading /usr/local/Library/Formula/pkg-config.rb
/usr/local/Library/Formula/opencv.rb: loading /usr/local/Library/Formula/libpng.rb
@durka
durka / 01 cmake
Created November 3, 2013 03:34
plplot 5.9.10 build failure
-- The C compiler identification is Clang 4.2.0
-- Check for working C compiler: /usr/local/Library/ENV/4.3/cc
-- Check for working C compiler: /usr/local/Library/ENV/4.3/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMake version = 2.8.12
-- CMAKE_SYSTEM_NAME = Darwin
-- SH_EXECUTABLE = /usr/local/bin/bash
-- Checking whether system has ANSI C header files
-- Looking for 4 include files stdlib.h, ..., float.h
@durka
durka / gist:7632149
Created November 24, 2013 20:42
brew doctor
Warning: Your XQuartz (2.7.4) is outdated
Please install XQuartz 2.7.5:
https://xquartz.macosforge.org
Warning: /usr/local/share/python is not needed in PATH.
Formerly homebrew put Python scripts you installed via `pip` or `pip3`
(or `easy_install`) into that directory above but now it can be removed
from your PATH variable.
Python scripts will now install into /usr/local/bin.
You can delete anything, except 'Extras', from the /usr/local/share/python
-- The C compiler identification is Clang 5.0.0
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- CMake version = 2.8.12.1
-- CMAKE_SYSTEM_NAME = Darwin
-- SH_EXECUTABLE = /usr/local/bin/bash
-- Checking whether system has ANSI C header files
-- Looking for 4 include files stdlib.h, ..., float.h
seas207:final alex$ brew link ghostscript
Linking /usr/local/Cellar/ghostscript/9.10_1...
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:441:in `lstat': No such file or directory - /usr/local/share/man/man1/gslp.1 (Errno::ENOENT)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:441:in `realpath_rec'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:446:in `realpath_rec'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/pathname.rb:474:in `realpath'
from /usr/local/Library/Homebrew/keg.rb:83:in `for'
from /usr/local/Library/Homebrew/keg.rb:28:in `suggestion'
from /usr/local/Library/Homebrew/keg.rb:41:in `to_s'
from /usr/local/Library/brew.rb:135:in `message'