Changes between Version 232 and Version 233 of BuildInstructions


Ignore:
Timestamp:
Apr 27, 2014, 9:06:23 PM (10 years ago)
Author:
Daniel Cardenas
Comment:

Update for ubuntu 14.04. Mostly just a rewording.

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v232 v233  
    128128==== Debian (7 or later) / Ubuntu (12.04 or later) ====
    129129Install the dependencies with:
    130 
    131130{{{
    132131#!sh
    133132sudo apt-get install build-essential libboost-dev libboost-filesystem-dev   \
    134133    libboost-signals-dev libcurl4-gnutls-dev libenet-dev libgloox-dev       \
    135     libicu-dev libjpeg-dev libminiupnpc-dev libnspr4-dev libnvtt-dev        \
     134    libicu-dev libjpeg-dev libminiupnpc-dev libmozjs-24-dev libnvtt-dev     \
    136135    libogg-dev libopenal-dev libpng-dev libsdl-dev libvorbis-dev            \
    137     libwxgtk2.8-dev libxcursor-dev libxml2-dev subversion zlib1g-dev
    138 }}}
    139  * With these dependencies you have to run `update-workspaces.sh` with `--with-system-enet --with-system-miniupnpc --with-system-nvtt` flags.
    140  * On Debian jessie/8 and Ubuntu trusty/14.04 or later:
    141   * you should replace `libwxgtk2.8-dev` with `libwxgtk3.0-dev`;
    142   * you should replace `libnspr4-dev` with `libmozjs-24-dev` and run `update-workspace.sh` with `--with-system-mozjs24` to use the SpiderMonkey library provided by the system. To avoid useless warnings when using system mozjs24 you could fix mozjs24 headers with:
     136    libwxgtk3.0-dev libxcursor-dev libxml2-dev subversion zlib1g-dev cmake
     137}}}
     138 * With these dependencies you have to run:
     139  * `update-workspaces.sh --with-system-enet --with-system-miniupnpc --with-system-nvtt --with-system-mozjs24`
     140 * To avoid useless warnings when using system mozjs24 you could fix mozjs24 headers with:
    143141{{{
    144142sudo perl -i -pe 's/(^#elif _MSC_VER >= 1600).*/#elif defined(_MSC_VER) && _MSC_VER >= 1600/' /usr/include/mozjs-24/mozilla/NullPtr.h
    145143}}}
     144 * On systems earlier than Debian jessie/8 and Ubuntu trusty/14.04 or later:
     145  * you should replace `libwxgtk3.0-dev` with `libwxgtk2.8-dev`;
     146  * you should replace `libmozjs-24-dev` with `libnspr4-dev` and run `update-workspace.sh` without `--with-system-mozjs24`.
    146147 * When not using system libraries, `libenet-dev` and `libnvtt-dev` can be omitted, but `cmake` is needed to build the bundled NVTT.
    147148 * You can also use `libcurl4-openssl-dev` instead of `libcurl4-gnutls-dev` (it's not possible to install both at once), but [http://lintian.debian.org/tags/possible-gpl-code-linked-with-openssl.html note that openssl is not GPL compatible and the resulting binaries could not be redistributed].