Changes between Version 3 and Version 4 of InstallationGuidelines/PhantomJS


Ignore:
Timestamp:
12/06/14 16:48:36 (7 years ago)
Author:
Fran Boon
Comment:

PhantomJS on Debian now needs building from source

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuidelines/PhantomJS

    v3 v4  
    33This is required for UserGuidelines/Admin/MapPrinting.
    44
    5 This is not avaialble in Debian Wheezy, but is in Debian SID (unstable) so we can use [http://jaqque.sbih.org/kplug/apt-pinning.html apt-pinning]:
     5This is not available in Debian Wheezy, and the version in Debian SID (unstable) is too old so we can need to build from source:
    66{{{
    7 cat << EOF >> "/etc/apt/sources.list"
    8 deb     http://http.debian.net/debian jessie      main
    9 deb     http://http.debian.net/debian sid         main
    10 EOF
    11 cat << EOF > "/etc/apt/preferences.d/preferences"
    12 Package: *
    13 Pin: release a=stable
    14 Pin-Priority: 700
    15 
    16 Package: *
    17 Pin: release a=testing
    18 Pin-Priority: 650
    19 
    20 Package: *
    21 Pin: release a=unstable
    22 Pin-Priority: 600
    23 EOF
    247apt-get update
    25 apt-get -yt testing install phantomjs
     8apt-get -y install build-essential chrpath git-core libssl-dev libfontconfig1-dev libxft-de
     9wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-source.zip
     10cd phantomjs-1.9.8
     11./build.sh
    2612}}}
    2713