No puedo compilar KGtk

Tengo Kubuntu 10.04 con KDE 4.5.0, quiero compilar el paquete KGtk y me tira errores en «make».

Con «cmake» me tira esto:

$ 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
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread                                                                                                                                                                  
-- Looking for pthread_create in pthread - found                                                                                                                                                          
-- Found Threads: TRUE                                                                                                                                                                                    
-- Looking for _POSIX_TIMERS                                                                                                                                                                              
-- Looking for _POSIX_TIMERS - found                                                                                                                                                                      
-- Found Automoc4: /usr/bin/automoc4                                                                                                                                                                      
-- Found Perl: /usr/bin/perl                                                                                                                                                                              
-- Found Phonon: /usr/include  (found version "4.4.2", required is "4.3.80")                                                                                                                              
-- Performing Test _OFFT_IS_64BIT                                                                                                                                                                         
-- Performing Test _OFFT_IS_64BIT - Failed                                                                                                                                                                
-- Performing Test HAVE_FPIE_SUPPORT                                                                                                                                                                      
-- Performing Test HAVE_FPIE_SUPPORT - Success                                                                                                                                                            
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL                                                                                                                                                        
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success                                                                                                                                              
-- Performing Test __KDE_HAVE_GCC_VISIBILITY                                                                                                                                                              
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success                                                                                                                                                    
-- Found KDE 4.5 include dir: /usr/include                                                                                                                                                                
-- Found KDE 4.5 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
** INFORMATION: KDialogD for KDE4 will be built.
-- Found xgettext: /usr/bin/xgettext
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
** INFORMATION: Qt4 LD_PRELOAD library will be built.
** INFORMATION: Using installation prefix: /usr
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pablo/Descargas/KGtk-0.10.1/build4

Y con «make» esto:

$ make
Scanning dependencies of target kdialogd4_bin_automoc
Generating kdialogd.moc                                                                                                                                                                                   
[  0%] Built target kdialogd4_bin_automoc                                                                                                                                                                 
Scanning dependencies of target kdialogd4_bin
[  8%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd4_bin_automoc.o                                                                                                                 
[ 16%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o                                                                                                                              
In file included from /usr/include/kfileitem.h:32,                                                                                                                                                        
                 from /usr/include/kdirlister.h:24,
                 from /usr/include/kdiroperator.h:30,
                 from /home/pablo/Descargas/KGtk-0.10.1/kdialogd4/kdialogd.cpp:5:
/usr/include/kdatetime.h:32:21: error: QMetaType: No existe el archivo o directorio
/home/pablo/Descargas/KGtk-0.10.1/kdialogd4/kdialogd.cpp: In member function ‘void KDialogD::deleteConnection(KDialogDClient*)’:
/home/pablo/Descargas/KGtk-0.10.1/kdialogd4/kdialogd.cpp:257: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/pablo/Descargas/KGtk-0.10.1/kdialogd4/kdialogd.cpp: In member function ‘void KDialogD::timeout()’:
/home/pablo/Descargas/KGtk-0.10.1/kdialogd4/kdialogd.cpp:268: warning: suggest explicit braces to avoid ambiguous ‘else’
/home/pablo/Descargas/KGtk-0.10.1/kdialogd4/kdialogd.cpp: At global scope:
/home/pablo/Descargas/KGtk-0.10.1/kdialogd4/kdialogd.cpp:667: warning: unused parameter ‘modal’
make[2]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o] Error 1
make[1]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/all] Error 2
make: *** [all] Error 2

No veo ningún mensaje de error en el texto que arroja cmake; la última línea indica la ruta en la que se han escrito los archivos de la compilación:

-- Build files have been written to: /home/pablo/Descargas/KGtk-0.10.1/build4

y supongo que estas líneas sólamente indican que tu sistema no es de 64 bits:

_OFFT_IS_64BIT                                                                                                                                                                         
-- Performing Test _OFFT_IS_64BIT
- Failed  

Saludos,
Sidd.

siddharta escribió:

No veo ningún mensaje de error en el texto que arroja cmake; la última línea indica la ruta en la que se han escrito los archivos de la compilación:

-- Build files have been written to: /home/pablo/Descargas/KGtk-0.10.1/build4

y supongo que estas líneas sólamente indican que tu sistema no es de 64 bits:

_OFFT_IS_64BIT                                                                                                                                                                         
-- Performing Test _OFFT_IS_64BIT
- Failed  

Saludos,
Sidd.

/usr/bin/perl
-- Found Phonon: /usr/include (found version "4.4.2", required is "4.3.80")

¿ese no es un error? me parece que necesita una libreria anterior

shupacabras escribió:
/usr/bin/perl                                                                                                                                                                             
-- Found Phonon: /usr/include  (found version "4.4.2", required is "4.3.80")

¿ese no es un error? me parece que necesita una libreria anterior

El proceso está validando lo que el sistema ya tiene, y dando avisos o notificaciones. En el caso que mencionas entiendo que el proceso sólo indica que sí encontró Phonon, y a continuación muestra la versión ya instalada y la versión mínima recomendada o requerida .... por lo menos así lo entendí a primera vista, pero al leer tu comentario siento que es posible que tengas razón, y explícitamente se necesite la versión anterior porque con la instalada no funcionaría debido a algún cambio.

Por ahí ya tiene Pablinet algo con qué empezar a investigar ...

Saludos,
Sidd.