1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00

Tweak README

This commit is contained in:
Jon Leighton 2012-01-13 15:46:44 +00:00
parent 6de5f88ae0
commit a4fa4bb588

View file

@ -24,12 +24,13 @@ You need PhantomJS 1.4.1+, built against Qt 4.8, on your system.
There are [pre-built
binaries](http://code.google.com/p/phantomjs/downloads/list) of
PhantomJS for Linux, Mac and Windows. This is the easiest and best way
to install it.
to install it. The binaries including a patched version of Qt 4.8 so you
don't need to install that separately.
Note that if you have a 'dynamic' package, it's important to maintain
the relationship between `bin/phantomjs` and `lib/`. This is because the
`bin/phantomjs` binary looks in `../lib/` for its library files. So the
best thing to do is to link it into place:
best thing to do is to link (rather than copy) it into your `PATH`:
```
ln -s /path/to/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
@ -39,7 +40,7 @@ ln -s /path/to/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
If you're having trouble with a pre-built binary package, you can
compile PhantomJS yourself. PhantomJS must be built against Qt 4.8, and
some patches must be applied, so note that you cannot built it against
some patches must be applied, so note that you cannot build it against
your system install of Qt.
[Download the tarball](http://code.google.com/p/phantomjs/downloads/detail?name=phantomjs-1.4.1-source.tar.gz&can=2&q=)