I created pdftk homebrew tap :
brew tap spl/pdftk brew install pdftk
the current formula depends on the specific compiler ( gcc48 ) with a special build flag ( enable-all-languages ). This is only a problem if you already have gcc48 without a flag or if you have another version of gcc . You can, of course, clone the formula and modify it for your situation. But, unfortunately, no one answered my question about alternative dependencies , so I donβt know how to resolve this.
Update 1 (2015-03-19) : from this change (described in mine for alternative dependencies ), now the formula supports several versions of gcc and different flags.
Update 2 (2016-01-12) . For users of OS X 10.11 El Capitan, the original pdftk build does not seem to work. There is .pkg . Starting from this date, PDF Labs has not yet released the original update, which fixes the assembly.
Sean Leather Feb 12 '14 at 6:53 2014-02-12 06:53
source share