Skip to content

Instantly share code, notes, and snippets.

@mbklein
Created November 26, 2012 20:50
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mbklein/4150525 to your computer and use it in GitHub Desktop.
Save mbklein/4150525 to your computer and use it in GitHub Desktop.
  1. Install XCode

  2. Install Command Line Tools from XCode Preferences

  3. Install Homebrew

  4. Install rvm or rbenv

  5. Install Matterhorn dependencies within Homebrew

    brew install mercurial
    brew install jam yasm scons libjpg libpng libtiff
    brew install mp4v2 sdl libogg libvorbis lame x264 xvid faac theora libvpx
    brew install ffmpeg
    brew install mediainfo 
    brew install https://raw.github.com/mxcl/homebrew/ec2f47f3570f3d8ad8d3b7a98b170167a020069c/Library/Formula/tesseract.rb
    brew install https://raw.github.com/mxcl/homebrew/d75f1c61b6ec1ec847a8b60a1609fb51562053d7/Library/Formula/openfst.rb --use-llvm
    brew install giflib leptonica sdl_gfx sdl_image
    brew install https://raw.github.com/mbklein/homebrew/avalon/Library/Formula/ocropus.rb
    brew install https://raw.github.com/mbklein/homebrew/avalon/Library/Formula/iulib.rb
    brew install https://raw.github.com/mbklein/homebrew/avalon/Library/Formula/qt_sbtl_embedder.rb
    
@atomical
Copy link

==> Installing iulib
Error: You must: brew install mercurial
ahallett-mac:~ adam$ brew install https://raw.github.com/mbklein/homebrew/avalon/Library/Formula/qt_sbtl_embedder

curl: (22) The requested URL returned error: 404
Error: Failure while executing: /usr/bin/curl -f#LA Homebrew\ 0.9.3\ (Ruby\ 1.8.7-358;\ Mac\ OS\ X\ 10.8.2) https://raw.github.com/mbklein/homebrew/avalon/Library/Formula/qt_sbtl_embedder -o /Library/Caches/Homebrew/Formula/qt_sbtl_embedder

@mbklein
Copy link
Author

mbklein commented Dec 10, 2012

Updated.

@jcoyne
Copy link

jcoyne commented Dec 11, 2012

Please add this to the Getting Started for mac wiki

@jcoyne
Copy link

jcoyne commented Dec 11, 2012

You need to install iulib before ocropus because the former is a dependency of the latter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment