ryaninvents / docker-softcover

Docker image to quickly get up and running with Softcover
3 stars 2 forks source link

missing dependencies #2

Open mattetti opened 9 years ago

mattetti commented 9 years ago

docker@boot2docker:~$ docker run -v $(pwd):/softcover -w /softcover baconscript/softcover softcover check Checking Softcover dependencies... Checking for LaTeX... Found Checking for GhostScript... Found Checking for ImageMagick... Found Checking for Node.js... Found Checking for PhantomJS... Missing Checking for Inkscape... Found Checking for Calibre... Found Checking for KindleGen... Missing Checking for Java... Found Checking for zip... Found Checking for EpubCheck... Missing Missing dependencies: • PhantomJS (http://phantomjs.org/) ∟ Put bin/phantomjs somewhere on your path, e.g., in /usr/local/bin • KindleGen (http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000765211) ∟ Put the kindlegen executable on your path, e.g., in /usr/local/bin • EpubCheck 3.0 (https://github.com/IDPF/epubcheck/releases/download/v3.0/epubcheck-3.0.zip) ∟ Unzip and put epubcheck-3.0/ in $HOME/bin docker@boot2docker:~$

jboltik commented 8 years ago

Saw you found a way around this but wanted to post an answer since I encountered this same issue. Hopefully this will help if anyone else encounters this issue. Downloading and unzipping/putting the dependencies in my path didn't work.

Installing the three missing dependencies using brew install worked.

If you don't already have homebrew as your package manager you can install it here: http://brew.sh/ You'll also want to install cask (for the kindelgen installation): https://caskroom.github.io/ Run brew update and brew upgrade to make sure everything is up to date.

Run these commands to install the missing dependencies: $ brew install phantomjs $ brew install epubcheck $ brew cask install kindlegen