Skip to content

Instantly share code, notes, and snippets.

@rpglover64
rpglover64 / 02.make
Created October 20, 2012 15:46
Still can't build cairo
make install-recursive
Making install in src
make install-am
CC cairo-analysis-surface.lo
CC cairo-arc.lo
CC cairo-array.lo
CC cairo-atomic.lo
CC cairo-base64-stream.lo
CC cairo-base85-stream.lo
CC cairo-bentley-ottmann.lo
@rpglover64
rpglover64 / 02.make
Created October 19, 2012 23:21
Output from brew doctor
/usr/bin/make install-recursive
Making install in src
/usr/bin/make install-am
CC cairo-analysis-surface.lo
CC cairo-arc.lo
CC cairo-array.lo
CC cairo-atomic.lo
brew: superenv removed: -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wimplicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad-function-cast -Wvolatile-register-var -Wstrict-aliasing=2 -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -Wp,-D_FORTIFY_SOURCE=2 -Wno-unused-but-set-variable -g -O2
brew: superenv removed: -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wimplicit-function-declaration -Wnested-externs -Wpointer-arith -Wwrite-strings -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wbad
From 96800a054a3c296dbe532edfd4050f0e613f8e17 Mon Sep 17 00:00:00 2001
From: Alex Rozenshteyn <rpglover64@gmail.com>
Date: Wed, 10 Oct 2012 10:21:07 -0400
Subject: [PATCH 1/2] Fix documentation bug in fillSep
There were too many escapes.
---
Text/PrettyPrint/Free/Internal.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@rpglover64
rpglover64 / brew doctor
Created September 21, 2012 00:41
Installing cairo-1.12.2 with --universal on OS X 10.8
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libcdt.4.dylib /usr/local/lib/libcgraph.5.dylib /usr/local/lib/libfuse4x.2.dylib /usr/local/lib/libgraph.4.dylib /usr/local/lib/libgvc.5.dylib /usr/local/lib/libgvpr.1.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
@rpglover64
rpglover64 / gist:1377735
Created November 18, 2011 20:56
Text file with tabs and spaces important
1. a.
i.
P(day 1 is hot) = 0.491
Prior of CHH:
Prior of starting C = .5
Prior of day 2 as H = P(C₁)*P₂(H₂|C₁)
P(C₁H₂) = .5 * .1
= .05
Prior of day 3 as H = P(C₁H₂)*P(H₃|H₂)
@rpglover64
rpglover64 / gist:825863
Created February 14, 2011 13:24
brew install gnutls failure
==> Build Environment
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -w -pipe
CXXFLAGS: -O3 -w -pipe
MAKEFLAGS: -j4
==> Downloading http://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.10.4.tar.bz2
File already downloaded and cached to /Users/alex/Library/Caches/Homebrew
/usr/bin/tar xf /Users/alex/Library/Caches/Homebrew/gnutls-2.10.4.tar.bz2