Changes between Version 79 and Version 80 of BuildInstructions
- Timestamp:
- Mar 26, 2010, 10:19:52 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildInstructions
v79 v80 73 73 * DevIL 74 74 75 * For '''Mandriva''', only tested with 2009.1, the following are all the packages requiered to compile '''0 A.D.''' (run in a terminal as root): ''urpmi libboost-devel libcryptopp-devel libwxgtk2.8-devel libwxgtku2.8-devel libbinutils2-devel libopenal-devel zlib1-devel libpng-devel libogg0-devel libvorbis-devel libSDL-devel libdevil-devel libgamin-1_0-devel libjpeg62-devel lib nspr-devel libfreealut-devel nasm make svn'' . '''Enet''' pacakge isn't available for '''Mandriva''', so please refer to the following page for installing instructions of Enet: http://enet.bespin.org/Installation.html .75 * For '''Mandriva''', only tested with 2009.1, the following are all the packages requiered to compile '''0 A.D.''' (run in a terminal as root): ''urpmi libboost-devel libcryptopp-devel libwxgtk2.8-devel libwxgtku2.8-devel libbinutils2-devel libopenal-devel zlib1-devel libpng-devel libogg0-devel libvorbis-devel libSDL-devel libdevil-devel libgamin-1_0-devel libjpeg62-devel libfreealut-devel nasm make svn'' . '''Enet''' package isn't available for '''Mandriva''', so please refer to the following page for installing instructions of Enet: http://enet.bespin.org/Installation.html . 76 76 77 * For '''Ubuntu''' the following might help: ''sudo apt-get install build-essential libsdl1.2-dev zlib1g-dev libpng12-dev libjpeg62-dev libgamin-dev nasm libwxgtk2.8-dev libboost-dev libboost-signals-dev libboost-filesystem-dev libopenal-dev libalut-dev libvorbis-dev libogg-dev libcrypto++-dev binutils-dev lib nspr4-dev libdevil-dev libenet-dev libxml2-dev''77 * For '''Ubuntu''' the following might help: ''sudo apt-get install build-essential libsdl1.2-dev zlib1g-dev libpng12-dev libjpeg62-dev libgamin-dev nasm libwxgtk2.8-dev libboost-dev libboost-signals-dev libboost-filesystem-dev libopenal-dev libalut-dev libvorbis-dev libogg-dev libcrypto++-dev binutils-dev libdevil-dev libenet-dev libxml2-dev'' 78 78 79 79 * For '''Fedora''' (12): … … 81 81 yum -y install subversion gcc-c++ nasm SDL-devel boost-devel zlib-devel libpng-devel libjpeg-devel libxml2-devel \ 82 82 openal-devel libogg-devel libvorbis-devel cryptopp-devel wxGTK-devel gamin-devel binutils-devel enet-devel \ 83 DevIL-devel nspr-devel js js-devel83 DevIL-devel 84 84 }}} 85 85 … … 140 140 141 141 === Known problems and solutions === 142 * If your make output appears to go round and round in endless circles, circles (you should be fairly sure that it is - builds take a long time). Stop it, and if you can see a message like "you may need to install nspr" do a `sudo port install nspr`. You then may also need to run `EXPORT PKG_CONFIG_PATH="/opt/local/lib/pkgconfig/"` to get it to work - you can add it to your ~/.bash_profile to stop you having to do this every time you recompile.143 144 142 * If you get linker errors like '''`multiple definition of '(anonymous namespace)::_1'`''', particularly when using GCC 4.1, try running `./update-workspaces.sh --without-pch` and then `cd gcc; make clean` and rebuild. 145 146 * If you get '''Performance warning: your graphics card does not support compressed textures''' when starting the game, it is an issue with [http://dri.freedesktop.org/wiki/S3TC S3TC texture compression]. You might be able to solve it by installing the `libtxc_dxtn` library, in a distro-specific way.147 143 148 144 * If you get '''`/usr/bin/ld: Undefined symbols`''' (see code snippet here under), this comes from your glibc that is older than 2.4 :