Changes between Version 229 and Version 230 of BuildInstructions


Ignore:
Timestamp:
Apr 9, 2014, 10:10:36 AM (10 years ago)
Author:
fabio
Comment:

trick for mozjs24 headers

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v229 v230  
    140140 * On Debian jessie/8 and Ubuntu trusty/14.04 or later:
    141141  * 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.
     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:
     143{{{
     144sudo perl -i -pe 's/(^#elif _MSC_VER >= 1600).*/#elif defined(_MSC_VER) && _MSC_VER >= 1600/' /usr/include/mozjs-24/mozilla/NullPtr.h
     145}}}
    143146 * When not using system libraries, `libenet-dev` and `libnvtt-dev` can be omitted, but `cmake` is needed to build the bundled NVTT.
    144147 * 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].