Changes between Version 3 and Version 4 of InstallationGuidelines/PhantomJS
- Timestamp:
- 12/06/14 16:48:36 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/PhantomJS
v3 v4 3 3 This is required for UserGuidelines/Admin/MapPrinting. 4 4 5 This is not avai alble in Debian Wheezy, but is in Debian SID (unstable) so we can use [http://jaqque.sbih.org/kplug/apt-pinning.html apt-pinning]:5 This is not available in Debian Wheezy, and the version in Debian SID (unstable) is too old so we can need to build from source: 6 6 {{{ 7 cat << EOF >> "/etc/apt/sources.list"8 deb http://http.debian.net/debian jessie main9 deb http://http.debian.net/debian sid main10 EOF11 cat << EOF > "/etc/apt/preferences.d/preferences"12 Package: *13 Pin: release a=stable14 Pin-Priority: 70015 16 Package: *17 Pin: release a=testing18 Pin-Priority: 65019 20 Package: *21 Pin: release a=unstable22 Pin-Priority: 60023 EOF24 7 apt-get update 25 apt-get -yt testing install phantomjs 8 apt-get -y install build-essential chrpath git-core libssl-dev libfontconfig1-dev libxft-de 9 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-source.zip 10 cd phantomjs-1.9.8 11 ./build.sh 26 12 }}} 27 13