Skip to content

Instantly share code, notes, and snippets.

@2bits
2bits / stdout.txt
Created September 30, 2012 16:37
My OSX Mt. Lion config at 10.8.2
$ brew --config
HOMEBREW_VERSION: 0.9.3
HEAD: bf48a41b1e480ab69d79f9999aa7340a192c411c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit nehalem
OS X: 10.8.2-x86_64
Xcode: 4.5
CLT: 4.5.0.0.1.1249367152
LLVM-GCC: build 2336
@2bits
2bits / CMakeCache.txt
Created September 30, 2012 16:35
pgrouting-1.05 CMake log
# This is the CMakeCache file.
# For build in directory: /tmp/pgrouting-d6Hv/pgrouting-1.05/brewery
# It was generated by CMake: /usr/local/Cellar/cmake/2.8.9/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
@2bits
2bits / stdout.txt
Created September 30, 2012 16:07
pgrouting-1.05 error log on OSX due to boost-1.51 changed api
==> Installing pgrouting
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/cmake.rb
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/boost.rb
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/postgis.rb
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/postgresql.rb
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/readline.rb
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/ossp-uuid.rb
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/proj.rb
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/geos.rb
/usr/local/Library/Formula/pgrouting.rb: loading /usr/local/Library/Formula/json-c.rb
@2bits
2bits / pgrouting.rb
Created September 30, 2012 14:54
Test formula for pgrouting-1.05 on OSX using Homebrew - both options fail to link
require 'formula'
class Pgrouting < Formula
homepage 'http://www.pgrouting.org/index.html'
url 'http://download.osgeo.org/pgrouting/source/pgrouting-1.05.tar.gz'
sha1 '582b37eebf86416ca8936e2f3992b5319abc5325'
option 'tsp', 'Build with Traveling Salesperson Problem support using gaul'
option 'dd', 'Build with Driving Distance support using cgal'
$ brew install -vd py2cairo
/usr/local/bin/brew: loading /usr/local/Library/Formula/py2cairo.rb
/usr/local/bin/brew: loading /usr/local/Library/Formula/cairo.rb
/usr/local/bin/brew: loading /usr/local/Library/Formula/libpng.rb
/usr/local/bin/brew: loading /usr/local/Library/Formula/pixman.rb
/usr/local/bin/brew: loading /usr/local/Library/Formula/pkg-config.rb
/usr/local/bin/brew: loading /usr/local/Library/Formula/xz.rb
/usr/local/bin/brew: loading /usr/local/Library/Formula/glib.rb
/usr/local/bin/brew: loading /usr/local/Library/Formula/gettext.rb
/usr/local/bin/brew: loading /usr/local/Library/Formula/libffi.rb
@2bits
2bits / stdout.txt
Created September 25, 2012 23:03
My osx lion homebrew config
$ brew --config
HOMEBREW_VERSION: 0.9.3
HEAD: ab98ea2dbf8b33afec37a62f8fbd99fdf111775f
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit nehalem
OS X: 10.7.4-x86_64
Xcode: 4.5
CLT: 4.5.0.0.1.1249367152
LLVM-GCC: build 2336
@2bits
2bits / config.log
Created September 25, 2012 22:57
valgrind-3.8.1 build error on OSX 10.7.4 in memcheck - duplicate symbol _mach_make_memory_entry
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Valgrind configure 3.8.1, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/valgrind/3.8.1 --enable-only64bit --build=amd64-darwin
## --------- ##
## Platform. ##
@2bits
2bits / install.log
Created September 25, 2012 22:56
valgrind-3.8.1 build error on OSX 10.7.4 in memcheck - duplicate symbol _mach_make_memory_entry
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/valgrind/3.8.1 --enable-only64bit --build=amd64-darwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
--- a/coregrind/Makefile.in 2012-09-18 12:19:16.000000000 -0700
+++ b/coregrind/Makefile.in 2012-09-25 15:46:01.000000000 -0700
@@ -6058,9 +6058,9 @@
$(abs_builddir)/m_mach:
mkdir -p $@
$(mach_user_srcs): $(mach_defs) $(abs_builddir)/m_mach
- (cd m_mach && mig $(mach_defs))
+ (cd m_mach && mig -DLIBSYSCALL_INTERFACE $(mach_defs))
$(mach_hdrs): $(mach_defs) $(mach_user_srcs) $(abs_builddir)/m_mach
- (cd m_mach && mig $(mach_defs))
@2bits
2bits / patch1.diff
Created September 25, 2012 22:26
valgrind-3.8.1 patch for Homebrew & XCode-only
--- a/coregrind/Makefile.in
+++ b/coregrind/Makefile.in
@@ -82,10 +82,10 @@ bin_PROGRAMS = valgrind$(EXEEXT) vgdb$(EXEEXT)
@VGCONF_OS_IS_DARWIN_TRUE@ m_mach/vm_map.h
@VGCONF_OS_IS_DARWIN_TRUE@am__append_10 = \
-@VGCONF_OS_IS_DARWIN_TRUE@ /usr/include/mach/mach_vm.defs \
-@VGCONF_OS_IS_DARWIN_TRUE@ /usr/include/mach/task.defs \
-@VGCONF_OS_IS_DARWIN_TRUE@ /usr/include/mach/thread_act.defs \
-@VGCONF_OS_IS_DARWIN_TRUE@ /usr/include/mach/vm_map.defs