Pages : 1
#1 Le 24/02/2009, à 13:35
- st.alain
petits problémes avec les plasmoids.2 partie...
Re bonjour,
Dans un post précédant http://forum.kubuntu-fr.org/viewtopic.php?id=296930
J'ai réussi à résoudre mon problème,encore merci à jde3:cool:
Mais apparemment j'ai un autre problème avec un autre plasmoid:(
cd '/home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1'
clear
_____________________________________
( Q: Are we not men? A: We are Vaxen. )
-------------------------------------
o
o
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1 $ cd '/home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1'
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1 $ clear
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1 $ mkdir build
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1 $ cd build
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build $ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
-- 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 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.4.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.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
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - 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
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- 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
-- Phonon Version: 4.3.0
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPlasma.cmake:13 (message):
FindPlasma.cmake is deprecated. Now with KDE 4.2 Plasma is part of kdelibs
and automatically found using find_package(KDE4) instead.
Replace the variables previously coming from FindPlasma.cmake as follows:
PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND
PLASMA_LIBS -> KDE4_PLASMA_LIBS
PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already
set anyway
PLASMA_FOUND -> nothing, it's always there if KDE4, version 4.2 or newer
has been found.
If you see this error message in a module within KDE/, update it from svn,
it has been fixed already.
Call Stack (most recent call first):
CMakeLists.txt:5 (find_package)
-- Configuring incomplete, errors occurred!
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build $ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build $ sudo make install
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build $
apparemment le problème se trouve la:Pas de règle pour fabriquer la cible « install, pourtant cmake est installé ou se trouve le problème alors?
Un grand merci pour vos réponse.
#2 Le 24/02/2009, à 13:54
- anthon
Re : petits problémes avec les plasmoids.2 partie...
ton make && make install ne passe pas car tu as une erreur quand tu fais ton cmake.
Installe kdelibs[4 ou 5 si tu l'as]-dev et refais ton cmake
EDIT: Ou peut etre que l'erreur vient du CMakeLists.txt fourni avec le plasmoid j'ai un doute
Dernière modification par anthon (Le 24/02/2009, à 13:59)
Hors ligne
#3 Le 24/02/2009, à 14:34
- PhilippeP
Re : petits problémes avec les plasmoids.2 partie...
l'erreur signalée provient de différences entre KDE 4.1 pour lequel le plasmoid est écrit , et 4.2 qui est installé chez toi ....
Il se pourrait qu'il y ai incompatibilité entre les deux
Attention, je suis loin d'être un Goubunturou ...
Il m'arrive de me tromper (si si...)
Desktop Kubuntu 12.04 KDE 4.9 SC - Lenovo Ideapad S10 3T Kubuntu 12.04 KDE 4.8 SC
Hors ligne
#4 Le 24/02/2009, à 14:44
- st.alain
Re : petits problémes avec les plasmoids.2 partie...
merci pour ta réponse anthon,j'ai installé les librairies mais le problème reste le même!
Je crois comme le dit PhilippeP qu'il y un problème d'incompatibilité.
Un grand merci à vous deux pour vos réponses?:cool:
Alain.
#5 Le 24/02/2009, à 16:12
- Maze12
Re : petits problémes avec les plasmoids.2 partie...
Met ton CMakeLists.txt je pourrai peut être t'aider à le corriger
To be continued...
Materiel : HP Pavillon HDX - Core2Duo T8100 , Ram 3Gb, Nvidia 8800gt ,Wifi PRO/Wireless 4965 AGN
OS : Kubuntu 9.04 - KDE 4.2.90
Hors ligne
#6 Le 24/02/2009, à 17:25
- st.alain
Re : petits problémes avec les plasmoids.2 partie...
Merci pour ton message Maze12,
Voici le CMakeLists.txt:
project(plasma-am3rok)
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
find_package(Plasma REQUIRED)
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
)
set(am3rokclient_SRCS amarok_client.cpp
buttonwidget.cpp
infodisplay.cpp
infowidget.cpp
infowidgetplasma.cpp
infodialog.cpp)
kde4_add_plugin(plasma_applet_am3rok ${am3rokclient_SRCS})
target_link_libraries(plasma_applet_am3rok
${PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
install(TARGETS plasma_applet_am3rok
DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-applet-am3rok.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
Bien à toi.
#7 Le 24/02/2009, à 17:49
- Maze12
Re : petits problémes avec les plasmoids.2 partie...
Voila avec ces correctifs ça devrait marcher
project(plasma-am3rok)
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
)
set(am3rokclient_SRCS amarok_client.cpp
buttonwidget.cpp
infodisplay.cpp
infowidget.cpp
infowidgetplasma.cpp
infodialog.cpp)
kde4_add_plugin(plasma_applet_am3rok ${am3rokclient_SRCS})
target_link_libraries(plasma_applet_am3rok
${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
install(TARGETS plasma_applet_am3rok
DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-applet-am3rok.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
To be continued...
Materiel : HP Pavillon HDX - Core2Duo T8100 , Ram 3Gb, Nvidia 8800gt ,Wifi PRO/Wireless 4965 AGN
OS : Kubuntu 9.04 - KDE 4.2.90
Hors ligne
#8 Le 24/02/2009, à 21:47
- st.alain
Re : petits problémes avec les plasmoids.2 partie...
Malheureusement Maze12, cela ne fonctionne pas!
Voila ce que j'obtiens à la compilation:
cd '/home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1'
clear
______________________________________
/ Q: How many Marxists does it take to \
| screw in a light bulb? A: None: The |
| light bulb contains the seeds of its |
\ own revolution. /
--------------------------------------
\
\ \_\_ _/_/
\ \__/
(oo)\_______
(__)\ )\/\
||----w |
|| ||
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1 $ cd '/home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1'
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1 $ clear
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1 $ mkdir build
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1 $ cd build
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build $ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
-- 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 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.4.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.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
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - 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
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- 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
-- Phonon Version: 4.3.0
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build $ make
Generating infodisplay.moc
Generating amarok_client.moc
Generating infowidgetplasma.moc
Generating buttonwidget.moc
Generating infodialog.moc
Generating infowidget.moc
Scanning dependencies of target plasma_applet_am3rok
[ 14%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/plasma_applet_am3rok_automoc.o
[ 28%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o
/home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/amarok_client.cpp: In member function ‘virtual void AmarokClient::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/amarok_client.cpp:265: erreur: ‘class InfoDialog’ has no member named ‘position’
make[2]: *** [CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o] Erreur 1
make[1]: *** [CMakeFiles/plasma_applet_am3rok.dir/all] Erreur 2
make: *** [all] Erreur 2
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build $ sudo make install
[sudo] password for alain:
[ 14%] Building CXX object CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o
/home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/amarok_client.cpp: In member function ‘virtual void AmarokClient::mousePressEvent(QGraphicsSceneMouseEvent*)’:
/home/alain/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/amarok_client.cpp:265: erreur: ‘class InfoDialog’has no member named ‘position’
make[2]: *** [CMakeFiles/plasma_applet_am3rok.dir/amarok_client.o] Erreur 1
make[1]: *** [CMakeFiles/plasma_applet_am3rok.dir/all] Erreur 2
make: *** [all] Erreur 2
alain@alain-desktop ~/Déco Ordi/Plasmoids/plasma-am3rok-0.4.1/build
un grand merci pour ton aide!
#9 Le 25/02/2009, à 00:07
- Maze12
Re : petits problémes avec les plasmoids.2 partie...
bin la c'est plus un problème du CmakeList, je pense que ca vient que ce code est pas compatible kde4.2..
To be continued...
Materiel : HP Pavillon HDX - Core2Duo T8100 , Ram 3Gb, Nvidia 8800gt ,Wifi PRO/Wireless 4965 AGN
OS : Kubuntu 9.04 - KDE 4.2.90
Hors ligne
#10 Le 25/02/2009, à 09:29
- st.alain
Re : petits problémes avec les plasmoids.2 partie...
Bon je vais attendre une version qui soit compatible alors,
encore merci Maze12,et a tous.
St.alain.
Pages : 1