Hi,
Show quoted text 14 lines
please compile Qt 4.5.0 with X11 Session Management support. when doing configure make sure libSM and libICE packages are installed.
when you run qt configure with -v -sm, it will complain if configure is not able to add Session Management support and also tell you which files are missing. Find out which packages provide these files and install those.
$gmake confclean
$./configure -v -sm
....
Here is the config I use on Mandriva.
./configure -v -confirm-license -prefix `pwd` -opengl -xrender -xcursor -xrandr -qvfb -openssl -fontconfig -sm
Here are the packages I need to install on Mandriva i586 (64 bit is slightly different) Note that other packages may be required, but they are already present on a normal Mandriva install. CentOs may be different.
urpmi zlib1-devel libtiff3-devel libmng-devel libpng-devel libsqlite0-devel libmesaglu1-devel libxcursor-devel libglib2.0-devel libxrandr2-devel libdbus-1-devel libopenssl0.9.8-devel libfontconfig-devel libfreetype6-devel gcc-c++ make
