Skip to content

Instantly share code, notes, and snippets.

View tristan-k's full-sized avatar

ʞ-uɐʇsıɹʇ tristan-k

View GitHub Profile
@tristan-k
tristan-k / tesseract brew tar
Created July 6, 2012 15:31
tesseract brew tar
$ brew install tesseract --all-languages
Warning: Experimental support for using the "Command Line Tools" without Xcode.
Some formulae need Xcode to be installed (for the Frameworks not in the CLT.)
==> Downloading http://tesseract-ocr.googlecode.com/files/tesseract-3.01.tar.gz
Already downloaded: /Library/Caches/Homebrew/tesseract-3.01.tar.gz
==> /bin/sh autogen.sh
==> ./configure --prefix=/usr/local/Cellar/tesseract/3.01
==> make install
==> Downloading http://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.01.heb.tar.gz
######################################################################## 100,0%
@tristan-k
tristan-k / jbig2enc git error
Created July 6, 2012 15:34
jbig2enc git error
$ brew install jbig2enc
Warning: Experimental support for using the "Command Line Tools" without Xcode.
Some formulae need Xcode to be installed (for the Frameworks not in the CLT.)
==> Cloning https://github.com/agl/jbig2enc.git
Updating /Library/Caches/Homebrew/jbig2enc--git
fatal: Couldn't find remote ref refs/tags/17b36fad1e64a378f11eb934e8ca25f4b0008a4f
Unexpected end of command stream
Error: Failure while executing: git fetch -q origin
@tristan-k
tristan-k / pdfjam-pocketmod error
Created July 20, 2012 15:32
pdftex pdfjam-pocketmod error lion
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012) (format=pdflatex 2012.7.20) 20 JUL 2012 17:26
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**/var/tmp/pdfjam-IoVjGQ/a.tex
(/var/tmp/pdfjam-IoVjGQ/a.tex
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ba
sque, danish, dutch, ukenglish, usenglishmax, finnish, french, german, ngerman,
swissgerman, hungarian, italian, bokmal, nynorsk, polish, portuguese, spanish,
@tristan-k
tristan-k / rmagick imagemagick pdfbeads
Created December 10, 2012 19:54
no decode delegate for this image format
/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:1635:in `read': no decode delegate for this image format `noir-000_1L.tiff' @ error/constitute.c/ReadImage/544 (Magick::ImageMagickError)
from /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:1635:in `initialize'
from /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:1634:in `each'
from /Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick.rb:1634:in `initialize'
from /Library/Ruby/Gems/1.8/gems/pdfbeads-1.0.9/lib/pdfbeads/pdfpage.rb:82:in `new'
from /Library/Ruby/Gems/1.8/gems/pdfbeads-1.0.9/lib/pdfbeads/pdfpage.rb:82:in `fillStencilArray'
from /Library/Ruby/Gems/1.8/gems/pdfbeads-1.0.9/lib/pdfbeads/pdfpage.rb:420:in `initialize'
from /Library/Ruby/Gems/1.8/gems/pdfbeads-1.0.9/lib/pdfbeads/pdfpage.rb:417:in `each'
from /Library/Ruby/Gems/1.8/gems/pdfbeads-1.0.9/lib/pdfbeads/pdfpage.rb:417:in `initialize'
from /Library/Ruby/Gems/1.8/gems/pdfbeads-1.0.9/bin/pdfbeads:195:in `new'
@tristan-k
tristan-k / fsyncms error
Created April 3, 2013 06:19
firefox sync error
1364969330845 Sync.Service INFO Loading Weave 1.21.0
1364969330848 Sync.Engine.Clients DEBUG Engine initialized
1364969330848 Sync.Engine.Clients DEBUG Resetting clients last sync time
1364969330853 Sync.Engine.Bookmarks DEBUG Engine initialized
1364969330857 Sync.Engine.Forms DEBUG Engine initialized
1364969330859 Sync.Engine.History DEBUG Engine initialized
1364969330863 Sync.Engine.Passwords DEBUG Engine initialized
1364969330865 Sync.Engine.Prefs DEBUG Engine initialized
1364969330866 Sync.Engine.Tabs DEBUG Engine initialized
1364969330866 Sync.Engine.Tabs DEBUG Resetting tabs last sync time
@tristan-k
tristan-k / gist:5520694
Created May 5, 2013 12:22
mt-daapd raspberry-pi
$ ./configure --enable-flac --enable-ogg --enable-sqlite3 && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
@tristan-k
tristan-k / gist:5525738
Created May 6, 2013 15:07
mpdas raspberry-pi
(16:56:14) [INFO] Connected to MPD.
(16:56:24) [INFO] New song: The Brandt Brauer Frick Ensemble - You Make Me Real
(16:56:24) [ERROR] Last.fm returned an error while updating the currently playing track:
<?xml version="1.0" encoding="utf-8"?>
<lfm status="failed">
<error code="9">
Invalid session key - Please re-authenticate
</error>
</lfm>
@tristan-k
tristan-k / qemu --use-gcc
Created May 12, 2013 00:54
qemu arm 10.8.3 pkg-config
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install qemu --use-gcc
==> Downloading http://wiki.qemu.org/download/qemu-1.1.0.tar.bz2
Already downloaded: /Library/Caches/Homebrew/qemu-1.1.0.tar.bz2
tar xf /Library/Caches/Homebrew/qemu-1.1.0.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/qemu/1.1.0 --cc=cc --host-cc=cc --enable-cocoa --disable-bsd-user --disable-guest-agent
./configure --prefix=/usr/local/Cellar/qemu/1.1.0 --cc=cc --host-cc=cc --enable-cocoa --disable-bsd-user --disable-guest-agent
Error: pkg-config binary 'pkg-config' not found
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 9f1235d6a08c7acad67f2514c115b53082d3e4bb
@tristan-k
tristan-k / qemu config.log
Created May 12, 2013 00:55
qemu pkg-config
# QEMU configure log So 12 Mai 2013 02:52:01 CEST
# Configured with: './configure' '--prefix=/usr/local/Cellar/qemu/1.1.0' '--cc=cc' '--host-cc=cc' '--enable-cocoa' '--disable-bsd-user' '--disable-guest-agent'
#
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/j0/p0jvkk5d15b1l25g_hs0ck2w0000gn/T//qemu-conf-31903-70934-7685.o /var/folders/j0/p0jvkk5d15b1l25g_hs0ck2w0000gn/T//qemu-conf-8765-70934-10728.c
/var/folders/j0/p0jvkk5d15b1l25g_hs0ck2w0000gn/T//qemu-conf-8765-70934-10728.c:2:2: error: __i386__ not defined
#error __i386__ not defined
^
1 error generated.
cc -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -c -o /var/folders/j0/p0jvkk5d15b1l25g_hs0ck2w0000gn/T//qemu-conf-31903-70934-7685.o /var/folders/j0/p0jvk
@tristan-k
tristan-k / brew doctor qemu
Created May 12, 2013 00:57
brew doctor qemu pkg-config
$ brew doctor
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts: