Skip to content

Instantly share code, notes, and snippets.

View pheaver's full-sized avatar

Philip Weaver pheaver

  • Tripshot
  • Portland, OR
View GitHub Profile
@pheaver
pheaver / foo.c
Created September 30, 2009 23:16
/* confdefs.h. */
#define PACKAGE_NAME "Haskell readline package"
#define PACKAGE_TARNAME "readline"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "Haskell readline package 1.0"
#define PACKAGE_BUGREPORT "libraries@haskell.org"
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
configure:2958: checking for readline in -lreadline
gcc -o conftest -g -O2 conftest.c -lreadline -lncurses
configure:3003: gcc -o conftest -g -O2 conftest.c -lreadline -lncurses >&5
ld: warning: in /Users/pweaver/local/homebrew/lib/libreadline.dylib, missing required architecture x86_64 in file
Undefined symbols:
"_readline", referenced from:
_main in cc55aPDM.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:3009: $? = 1
==> Build Environment
CFLAGS: -O3 -march=core2 -m64 -mmmx -msse4.1 -w -pipe -fomit-frame-pointer -mmacosx-version-min=10.6
LDFLAGS: -L/Users/pweaver/local/homebrew/lib
CPPFLAGS: -I/Users/pweaver/local/homebrew/include
MAKEFLAGS: -j2
==> Downloading ftp://ftp.cwru.edu/pub/bash/readline-6.0.tar.gz
File already downloaded and cached
/usr/bin/tar xf /Users/pweaver/Library/Caches/Homebrew/readline-6.0.tar.gz
==> Patching
/usr/bin/patch -f -p0 -i 001-homebrew.diff
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Poly/ML configure 5.3, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
require 'formula'
class Polyml <Formula
url 'http://sourceforge.net/projects/polyml/files/polyml/5.3/polyml.5.3.tar.gz/download'
version '5.3'
homepage 'http://www.polyml.org'
md5 'c4e3a33307c4465c4f068ae4fa225ced'
def install
args = [ "--prefix=#{prefix}",
--- env1 2010-06-01 05:46:40.000000000 -0700
+++ env2 2010-06-01 05:46:46.000000000 -0700
@@ -1,4 +1,4 @@
-PATH=/Users/pweaver/signali/Quattro/build/bin/:/Users/pweaver/.cabal/ghc-6.12.2/bin:/bin:/Users/pweaver/bin/emacs:/Users/pweaver/homebrew/sbin:/Users/pweaver/homebrew/bin:/Users/pweaver/bin:/Users/pweaver/local/bin:/Users/pweaver/commonrc/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
+PATH=/Users/pweaver/signali/Quattro/build/bin/:/Users/pweaver/.cabal/ghc-6.12.2/bin:/bin:/Users/pweaver/bin/emacs:/Users/pweaver/homebrew/sbin:/Users/pweaver/homebrew/bin:/Users/pweaver/bin:/Users/pweaver/local/bin:/Users/pweaver/commonrc/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/pweaver/signali/Quattro/build/bin/:/Users/pweaver/.cabal/ghc-6.12.2/bin:/Users/pweaver/bin/emacs:/Users/pweaver/homebrew/sbin:/Users/pweaver/homebrew/bin:/Users/pweaver/bin:/Users/pweaver/local/bin:/Users/pweaver/commonrc/bin
TMPDIR
@pheaver
pheaver / brew config
Created December 10, 2010 01:20
config.log for build failure on source-highlight
HOMEBREW_VERSION: 0.7.1
HEAD: 0008cc16b3366634f9515562a3fa2eace3245323
HOMEBREW_PREFIX: /Users/pweaver/homebrew
HOMEBREW_CELLAR: /Users/pweaver/homebrew/Cellar
HOMEBREW_REPOSITORY: /Users/pweaver/homebrew
HOMEBREW_LIBRARY_PATH: /Users/pweaver/homebrew/Library/Homebrew
Hardware: quad-core 64-bit arrandale
OS X: 10.6.5
Kernel Architecture: i386
Ruby: 1.8.7-174
In file included from dirname.h:21,
from basename.c:21:
./stdbool.h:109: error: two or more data types in declaration specifiers
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -isystem /Users/pweaver/homebrew/include -O3 -w -pipe -c xstrndup.c -o xstrndu
p.o >/dev/null 2>&1
make[3]: *** [basename.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -isystem /Users/pweaver/homebrew/include -O3 -w -pipe -c progname.c -o prognam
e.o >/dev/null 2>&1
libtool: compile: /usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -isystem /Users/pweaver/homebrew/include -O3 -w -pipe -c xalloc-die.c -o xallo
-- {-# OPTIONS_GHC -Wall #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Data.ByteString ( ByteString )
import qualified Data.ByteString.Char8 as BS
import Data.Enumerator
import Data.Monoid
import Snap.Http.Server
Larry,
In our standup today, it was revealed that you were mixing tabs and spaces in
the umg report script, a python program. There was a general consensus that this
is a Shame Jar offense. Please deposit $1 in the shame jar, located in the
Capture room, at your earliest convenience.
Thank you,
The Capture Team