I am trying to install KGtk
. Apparently, in order to make it work with all applications I need to build KGtk for both Qt3 and Qt4. KGtk is in the Fedora repositories, but installing via yum only builds KGtk for Qt3, not Qt4. So, as far as I can see, in order to get Qt4 support I must build KGtk for Qt4 manually.
The installation guide includes these steps:
So, to compile everything I suggest the following:
1. mkdir build3
2. cd build3
3. cmake .. -DCMAKE_INSTALL_PREFIX=/usr
[ This will build KDialogD for KDE3, and create the LD_PRELOAD libraries for
Qt3 and Gtk2 ]
5. sudo make install
6. set up Qt4/KDE4 env variables
7. clean build folder
8. mkdir build4
9. cd build4
10. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DKGTK_KDE4=true -DKGTK_QT4=true -DKGTK_GTK2=false
12. sudo make install
I have skipped steps 1-5, because AFAIR yum has taken care of that for me. (At least, KGtk works for certain applications, such as Firefox.) But I do not understand what step 6 entails ("set up Qt4/KDE4 env variables"). And if I try to skip step 6, the cmake (step 10) fails:
[ore@localhost build4]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DKGTK_KDE4=true -DKGTK_QT4=true -DKGTK_GTK2=false
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for getpeereid
-- Looking for getpeereid - not found
** INFORMATION: Compiling Qt4/KDE4, Qt3/KDE3 disabled
** ERROR : Could not locate Qt4/KDE4 headers, KDialogD for KDE4 will not be built.
** ERROR : Could not locate Qt4 headers, Qt4 LD_PRELOAD library will not be built.
** INFORMATION: Using installation prefix: /usr
-- Configuring done
-- Generating done
-- Build files have been written to: /big/Linux/KGtk-0.10.1/build4
Can someone help? What am I supposed to do in step 6?
Thanks in advance.