Changes between Version 315 and Version 316 of BuildInstructions
- Timestamp:
- Apr 9, 2018, 10:44:30 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructions
v315 v316 96 96 * libogg 97 97 * libpng 98 * libsodium (>= 1.0.14, follow the instructions at https://download.libsodium.org/doc/installation/ if your distro is behind) 98 99 * libvorbis 99 100 * libxcursor … … 129 130 * With these dependencies you have to run: 130 131 * `./update-workspaces.sh --with-system-nvtt` 132 * On all versions **except Ubuntu 18.04**, you will need to [https://download.libsodium.org/doc/installation/ install libsodium manually]. 133 * On **Ubuntu 18.04**, `sudo apt-get install libsodium-dev`. 131 134 * If you want to use a packaged **mozjs38**, available for example in [https://launchpad.net/~wfg/+archive/ubuntu/0ad.dev/+packages 0ad.dev PPA]: 132 135 * you should replace `libnspr4-dev` with `libmozjs-38-dev` and run `update-workspace.sh` with `--with-system-mozjs38`. 133 * On systems **earlier than Debian 8/jessie and Ubuntu 14.04/trusty**:134 * you should run `update-workspace.sh` with `--without-miniupnpc` if you don't have `libminiupnpc-dev` >= 1.6;135 * you should replace `libwxgtk3.0-dev` with `libwxgtk2.8-dev`;136 136 * When not using system nvidia-texture-tools, `libnvtt-dev` can be omitted, but `cmake` is needed to build the bundled NVTT. 137 137 * 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]. … … 143 143 #!sh 144 144 urpmi gcc-c++ python subversion zip cmake boost-devel libcurl-devel \ 145 libenet-devel libgloox-devel libpng-devel lib vorbis-devel \145 libenet-devel libgloox-devel libpng-devel libsodium-devel libvorbis-devel \ 146 146 libxml2-devel libwxgtku2.8-devel openal-soft-devel libicu-devel 147 147 }}} … … 152 152 #!sh 153 153 sudo dnf install gcc-c++ python subversion zip cmake patch \ 154 boost-devel libcurl-devel enet-devel libpng-devel lib vorbis-devel \154 boost-devel libcurl-devel enet-devel libpng-devel libsodium-devel libvorbis-devel \ 155 155 libxml2-devel openal-soft-devel pkgconfig SDL2-devel wxGTK-devel \ 156 156 gloox-devel libicu-devel miniupnpc-devel nspr-devel 157 157 }}} 158 158 159 * Fedora 21 or earlier has gloox-devel <= 1.0.9, so you need to build it from sources (https://camaya.net/gloox/) or install a newer (>=1.0.10) version by other way.160 159 * To submit a patch for review via arcanist ([wiki:Phabricator), php is needed: `dnf install php-cli php-xml`. 161 160 … … 166 165 #!sh 167 166 sudo zypper install gcc-c++ python subversion zip cmake boost-devel \ 168 libcurl-devel libenet-devel libpng-devel lib vorbis-devel \169 libxml2-devel openal-soft-devel pkg-config wx GTK-devel libSDL2-devel \167 libcurl-devel libenet-devel libpng-devel libsodium-devel libvorbis-devel \ 168 libxml2-devel openal-soft-devel pkg-config wxWidgets-devel libSDL2-devel \ 170 169 gloox-devel libicu-devel miniupnpc-devel 171 170 }}} 172 Users of openSUSE 11.4 and later should install the wxWidgets-devel package instead of wxGTK-devel.173 171 174 172 ==== !ArchLinux ==== 175 173 {{{ 176 174 #!sh 177 pacman -S --needed boost cmake curl enet gcc gloox icu libgl libogg libpng lib vorbis libxcursor libxml2 miniupnpc patch sdl2 subversion wxgtk zip zlib175 pacman -S --needed boost cmake curl enet gcc gloox icu libgl libogg libpng libsodium libvorbis libxcursor libxml2 miniupnpc patch sdl2 subversion wxgtk zip zlib 178 176 }}} 179 177 … … 181 179 {{{ 182 180 #!sh 183 sudo xbps-install -Syv base-devel boost-devel cmake curl gcc icu-devel libcurl-devel libenet-devel libogg-devel libopenal-devel libpng-devel lib vorbis-devel libXcursor libxml2 MesaLib-devel miniupnpc-devel nspr-devel patch pkg-config SDL2-devel wxWidgets-devel zip zlib181 sudo xbps-install -Syv base-devel boost-devel cmake curl gcc icu-devel libcurl-devel libenet-devel libogg-devel libopenal-devel libpng-devel libsodium-devel libvorbis-devel libXcursor libxml2 MesaLib-devel miniupnpc-devel nspr-devel patch pkg-config SDL2-devel wxWidgets-devel zip zlib 184 182 }}} 185 183 If there are issues, install more header files depending on the compiler's error message. … … 395 393 #!sh 396 394 pkg install boost-libs cmake curl enet gloox gmake iconv libGL libogg \ 397 lib vorbis libxml2 miniupnpc nspr openal pkgconf png sdl2 subversion \395 libsodium libvorbis libxml2 miniupnpc nspr openal pkgconf png sdl2 subversion \ 398 396 wx30-gtk2 zip 399 397 }}} … … 422 420 {{{ 423 421 #!sh 424 pkg_add -i boost cmake curl enet g++ gcc gloox gmake icu4c libexecinfo libogg \422 pkg_add -i boost cmake curl enet g++ gcc gloox gmake icu4c libexecinfo libogg libsodium \ 425 423 libxml miniupnpc nspr openal png sdl2 subversion zip 426 424 }}}