Changes between Version 251 and Version 252 of BuildInstructions
- Timestamp:
- Oct 10, 2014, 2:32:51 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructions
v251 v252 128 128 For a list of all options to `update-workspaces.sh` see [wiki:premake premake]. 129 129 130 ==== Debian (8/jessie or later) / Ubuntu (14.04/trusty or later)====131 Install thedependencies with:130 ==== Debian / Ubuntu ==== 131 * On **Debian 8/jessie or Ubuntu 14.04/trusty or later** install the required dependencies with: 132 132 {{{ 133 133 #!sh 134 134 sudo apt-get install build-essential libboost-dev libboost-filesystem-dev \ 135 libboost-signals-dev libcurl4-gnutls-dev libenet-dev libgloox-dev \ 136 libicu-dev libjpeg-dev libminiupnpc-dev libmozjs-24-dev libnvtt-dev \ 137 libogg-dev libopenal-dev libpng-dev libsdl-dev libvorbis-dev \ 138 libwxgtk3.0-dev libxcursor-dev libxml2-dev subversion zlib1g-dev 139 }}} 140 * `libboost-signals-dev` is '''not''' needed if you use a post-alpha16 SVN version. 141 * With these dependencies you have to run: 142 * `update-workspaces.sh --with-system-miniupnpc --with-system-nvtt --with-system-mozjs24` 143 * To avoid useless warnings when using system mozjs24 you could fix mozjs24 headers with: 135 libcurl4-gnutls-dev libenet-dev libgloox-dev libicu-dev libjpeg-dev \ 136 libminiupnpc-dev libmozjs-24-dev libnvtt-dev libogg-dev libopenal-dev \ 137 libpng-dev libsdl-dev libvorbis-dev libwxgtk3.0-dev libxcursor-dev \ 138 libxml2-dev subversion zlib1g-dev 139 }}} 140 * With these dependencies you have to run: 141 * `./update-workspaces.sh --with-system-miniupnpc --with-system-nvtt --with-system-mozjs24` 142 * To avoid useless warnings when using system mozjs24 you could fix mozjs24 headers with: 144 143 {{{ 145 144 sudo perl -i -pe 's/(^#elif _MSC_VER >= 1600).*/#elif defined(_MSC_VER) && _MSC_VER >= 1600/' /usr/include/mozjs-24/mozilla/NullPtr.h 146 145 }}} 147 * **On systems earlier than Debian 8/jessie and Ubuntu 14.04/trusty:**146 * On systems **earlier than Debian 8/jessie and Ubuntu 14.04/trusty**: 148 147 * you should replace `libwxgtk3.0-dev` with `libwxgtk2.8-dev`; 149 148 * you should replace `libmozjs-24-dev` with `libnspr4-dev` and run `update-workspace.sh` without `--with-system-mozjs24`.