WZ2100 prerequirements
Posted: 25 Dec 2014, 21:26
I have reinstalled WZ a dozen of times. It bothers me to 'sudo apt-get' all that libs. For the first times it war realy problematic to find out how to get theora, physicsfs, xrandr.
So I wrote down all my commandline commands into script file.
here is the content of that file.
It was tested under fresh installation of Ubuntu 10.04 with already (with all those commands) installed wz2100 3.1.1
no errors were noticed during test
to use it copy-paste code into 'warzone2100-prereqs.sh' for example
then execute 'chmod +x warzone2100-prereqs.sh' in commandline to make file executable
then './warzone2100-prereqs.sh' to run it
or you may try
'sudo su bash ./warzone2100-prereqs.sh'
file is distributed under GPL, you may do anything you want with it.
Excuse me for my english.
So I wrote down all my commandline commands into script file.
here is the content of that file.
Code: Select all
sudo apt-get install --yes xz-utils
sudo apt-get install --yes g++
sudo apt-get install --yes libqt4-dev libsdl-dev libtheora-dev libfribidi-dev
sudo apt-get install --yes libopenal-dev libvorbis-dev libxrandr-dev libfontconfig-dev
sudo apt-get install --yes wget cmake wkhtmltopdf
wget http://icculus.org/physfs/downloads/physfs-2.0.3.tar.bz2
tar xjf physfs-2.0.3.tar.bz2
cd physfs-2.0.3
mkdir build
cd build
cmake ..
make
sudo make install
cd ../..
cd warzone2100-3.1.1
./configure
make
sudo make install
no errors were noticed during test
to use it copy-paste code into 'warzone2100-prereqs.sh' for example
then execute 'chmod +x warzone2100-prereqs.sh' in commandline to make file executable
then './warzone2100-prereqs.sh' to run it
or you may try
'sudo su bash ./warzone2100-prereqs.sh'
file is distributed under GPL, you may do anything you want with it.
Excuse me for my english.