FEDORA 8/9/10/11/12/13/14
--1. INSTALL BELLET YUM REPO :--
- Open the web page: http://fr2.rpmfind.net/linux/RPM/
- Search bellet
- Download the rpm for your distrib
- Install the rpm
rpm -Uvh bellet-release---------.rpm
--2. INSTALL CREATIS YUM REPO:--:
- Open fedora of your distribution http://www.creatis.insa-lyon.fr/rpms/fedora
ex. http://www.creatis.insa-lyon.fr/rpms/fedora/13/i386/
- Download creatis-release....
- Install the rpm.
rpm -Uvh creatis-release...
--3. INSTALL EXTERNAL APPLICATIONS--
You have to install in your system the following applications :
- cmake : yum install cmake
- doxygen : yum install doxygen
- graphviz : yum install graphviz
- texlive-latex : yum install texlive
- latex2html : yum install latex2html
--4. INSTALL EXTERNAL LIBRARIES WITH YUM --
You have to install the following libraries:
- vtk-devel, optional:vtk-tcl version >= 5.0.4-25
- InsightToolkit version >= 3.8.0-1
NOTE: Be careful! The install package named "itk" is not the one required, install only "InstallToolkit-devel"!
- wxGTK, wxGTK-devel,wxBase,compat-wxGTK26(not in fedora 12) version >= 2.8.9-1
- boost-devel version >= 1.34.1-17
- sqlite-devel version >= 3.5.9-2
- qt-devel version >= 4
- mesa-libOSMesa-devel version >=6
> yum install vtk-devel vtk-tcl InsightToolkit wxGTK-devel boost-devel sqlite-devel qt-devel mesa-libOSMesa-devel
--5. CHANGE SYSTEM VARIABLE-- -In the .bashrc add the the lines
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/gdcm/
-If you compile and install vtk and itk by yourself, you also have to add the following lines:
export VTK_DIR=/usr/local/lib/vtk-5.4/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vtk-5.4/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/InsightToolkit/
--6. DESINSTALL SELINUX--
http://blog.nicolargo.com/2007/06/activer-ou-desactiver-selinux.html
root> /usr/sbin/setenforce 0
--7. NVIDIA PROBLEMS DETECTED
Cannot create GLXContext
- Check if the correct driver is installed by opening a terminal window and typing
$ glxinfo | less
-> Check for direct rendering: Yes
-> Check for server glx vendor string: NVIDIA Corporation
- Look up the list of modules that have been charged, here you must see the nvidia module up and running
$ lsmod | grep nvidia
- To locate the nvidia installed packages
$ locate libnvidia-tls
$ rpm -qf /usr/lib/nvidia/tls/libnvidia-tls.so.XXXX
$ rpm -V xorg-x11-drv-nvidia-XXXXX-libs
- If you find any of the problems described above do the following:
$ prelink --undo --all
$ rpm -e prelink
- Remove the current installed driver if any
$ yum remove xorg-x11-drv-nvidiaXXXX
- Reinstall the driver
$ yum install xorg-x11-drv-nvidiaXXXX
- Install the kernel module
$ yum install kernel-devel (ou kernel-PAE-devel)
- Restart the akmods service
$ service akmods restart
When using a virtual machine
Turn off the 3D aceleration option for avoiding conflicts with OpenGL.
--8. INSTALL INTERNAL LIBRARIES--
-Generate projects with CMake
Download project (ex. from cvs)
[USER]ProjectBin> ccmake ../Project (ex. [USER]CreaBin> ccmake ../Crea)
[USER]ProjectBin> make
...Configure options...
c-configure g-generate
[USER]ProjectBin> su (optional)
[ROOT]ProjectBin> make install
8.1. Dependencies and compile options for CMAKE >>