Commit 96f4fa39 authored by Johnny Jazeix's avatar Johnny Jazeix

It seems that I'm not the only one reading the commit (hein kevin :p).

Adding a howto for compiling in CentOS (fedora and Red hat I think it is 
the same :)).
parent bc7ae05a
......@@ -11,10 +11,12 @@ On MacOS X or Debian, follow the next step.
COMPILING ViTE
For Debian/Ubuntu users:
If you do not have Qt please visit : http://www.qtsoftware.com/downloads/opensource/appdev and download the development files for your operating system.
Install also GLUT (http://www.opengl.org/resources/libraries/glut/).
For Debian/Ubuntu users, you can use apt-get :
you can use apt-get :
sudo apt-get install libqt4-dev libqt4-opengl-dev libglut3-dev
sudo apt-get install libglew-dev
For Debian users, you may need to install also the qmake package.
......@@ -23,7 +25,31 @@ Then, until Qt development files are installed, you can compile ViTE :
./configure will configure your Makefile depending on your OS.
make will create the binary files
make will create the binary file.
For Fedora/CentOS users:
You have to have the administration rights (su).
you will need to get the following rpm packages:
wget ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel5/i386/qt45-4.5.1-1.el5.pp.i386.rpm
wget ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel5/i386/qt45-devel-4.5.1-1.el5.pp.i386.rpm
wget ftp://ftp.pbone.net/mirror/ftp.pramberger.at/systems/linux/contrib/rhel5/i386/qt45-sqlite-4.5.1-1.el5.pp.i386.rpm
Then, you will need to install the required packages used by the previous ones:
yum install dbus-devel fontconfig-devel freetype-devel glib2-devel libSM-devel libX11-devel libXcursor-devel libXext-devel libXfixes-devel libXi-devel libXinerama-devel libXrandr-devel libXrender-devel libpng-devel mesa-libGLU-devel glut glut-devel gcc-c++
After you can install the rpm packages you just download:
rpm -i qt45-4.5.1-1.el5.pp.i386.rpm
rpm -i qt45-sqlite-4.5.1-1.el5.pp.i386.rpm
rpm -i qt45-devel-4.5.1-1.el5.pp.i386.rpm
You have to export your PATH variable to the directory of qmake, which is by default :
export PATH=/usr/lib/qt45/qt/bin:/usr/lib/qt45/qt/include:$PATH
If it is not the case, try : find / | grep qmake and take the path given.
Go to the vite/src/trunk directory then :
./configure
make or gmake will create the binary file.
DOCUMENTATION
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment