Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/01/2009, à 00:26

Yop69

[RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

Bonjour

J'essaie de compiler mais j'ai ceci

yop@yop-laptop:~/Bureau/yawp-0.1.65$ ./install.sh
KDE version: 4.2.00
Using CMakeLists.kde42.txt
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.0
-- 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 po/CMakeLists.txt:6 (MESSAGE):
  Please install the msgfmt binary


-- Configuring incomplete, errors occurred!
/home/yop/Bureau/yawp-0.1.65/build
make: *** Pas de règle pour fabriquer la cible « clean ». Arrêt.
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
Compilation failed, sorry :-(

Avez vous une idée d'ou cela vient ?

Merci bien

Dernière modification par Yop69 (Le 01/02/2009, à 15:42)

Hors ligne

#2 Le 28/01/2009, à 00:50

moi1392

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

faut un peu lire aussi des fois wink

Please install the msgfmt binary

bon, j'avoue qu'ensuite, pour trouver le bon paquet c'était pas forcément évident :

aptitude search msgfmt

ne donne rien, par contre :

apt-file search msgfmt | grep bin

me renvoie :

gettext: /usr/bin/msgfmt
libgettext-ruby-util: /usr/bin/rmsgfmt
mailman: /usr/lib/mailman/bin/msgfmt.py
xviewg-dev: /usr/bin/xview_msgfmt

on en deduis donc logiquement que c'est "gettext" qu'il faut installer.

Hors ligne

#3 Le 28/01/2009, à 16:43

Yop69

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

Bah j'avais lu et cherché en direction de msgfmt mais je n'avais rien trouvé hmm
Je vais voir ce que ca donne avec ta méthode smile

Hors ligne

#4 Le 28/01/2009, à 17:24

Yop69

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

Apparemment il a bien compilé mais je ne sais pas quoi faire maintenant hmm

yop@yop-laptop:~/Bureau/yawp-0.1.65$ sudo ./install.sh 
KDE version: 4.2.00                                    
Using CMakeLists.kde42.txt                             
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)       
-- Found X11: /usr/lib/libX11.so                       
-- Phonon Version: 4.3.0                               
-- 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/yop/Bureau/yawp-0.1.65/build   
/home/yop/Bureau/yawp-0.1.65/build                                        
[  7%] Generating qrc_yawpicons.cxx                                       
Generating yawp.moc                                                                                                                      
Generating moc_yawpwserv.cpp                                                                                                             
Generating moc_yawpconfig.cpp                                                                                                            
[ 14%] Generating ui_yawpconfigdialog.h                                                                                                  
[ 21%] Generating ui_yawpfinddialog.h                                                                                                    
[ 28%] Building CXX object CMakeFiles/plasma_yawp.dir/plasma_yawp_automoc.o                                                              
[ 35%] Building CXX object CMakeFiles/plasma_yawp.dir/yawp.o                                                                             
[ 42%] Building CXX object CMakeFiles/plasma_yawp.dir/yawpconfig.o                                                                       
[ 50%] Building CXX object CMakeFiles/plasma_yawp.dir/yawpwserv.o                                                                        
/home/yop/Bureau/yawp-0.1.65/yawpwserv.cpp: In member function ‘void YaWPWeatherService::slotImageResult(KJob*)’:
/home/yop/Bureau/yawp-0.1.65/yawpwserv.cpp:143: attention : ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
[ 57%] Building CXX object CMakeFiles/plasma_yawp.dir/qrc_yawpicons.o
Linking CXX shared module lib/plasma_yawp.so
[ 57%] Built target plasma_yawp
[ 57%] Generating es.gmo
[ 57%] Generating ru.gmo
[ 57%] Generating it.gmo
[ 57%] Generating af.gmo
[ 57%] Generating fr.gmo
[ 57%] Generating cs.gmo
[100%] Built target pofiles
Compilation done. Installing
[ 57%] Built target plasma_yawp
[100%] Built target pofiles
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/lib/kde4/plasma_yawp.so
-- Set runtime path of "/usr/lib/kde4/plasma_yawp.so" to "/usr/lib"
-- Up-to-date: /usr/share/kde4/services/plasma_yawp.desktop
-- Up-to-date: /usr/share/kde4/apps/desktoptheme/default/widgets/yawp_theme13.svg
-- Installing: /usr/share/locale/es/LC_MESSAGES/plasma_applet_yawp.mo
-- Installing: /usr/share/locale/ru/LC_MESSAGES/plasma_applet_yawp.mo
-- Installing: /usr/share/locale/it/LC_MESSAGES/plasma_applet_yawp.mo
-- Installing: /usr/share/locale/af/LC_MESSAGES/plasma_applet_yawp.mo
-- Installing: /usr/share/locale/fr/LC_MESSAGES/plasma_applet_yawp.mo
-- Installing: /usr/share/locale/cs/LC_MESSAGES/plasma_applet_yawp.mo

Aurais je du désinstaller yaWP avant ? si oui comment ?? oula je sens que je vais galérer à installer ce module de météo

Hors ligne

#5 Le 28/01/2009, à 17:36

moi1392

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

"kbuildsycoca4" dans une konsole (ou depuis krunner) et puis tu vas chercher ton plasmoide pour l'ajouter où tu veux wink

Dernière modification par moi1392 (Le 28/01/2009, à 17:54)

Hors ligne

#6 Le 28/01/2009, à 18:08

Yop69

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

Euh j'ai tapé kbuildsycoca4 dans la konsole (euh c'est tout ?)
Mais j'ai toujours mon problème de plasmoïde : Cet objet ne peut être créé pour la raison suivante : could not find requested component yaWP

Hors ligne

#7 Le 28/01/2009, à 18:10

moi1392

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

une idée au pif, j'ai vu qu'il t'a copié plasma_yawp.so dans /usr/lib/kde4/, essais de voir où sont installé les autres libs de plasmoides (dpkg -L /var/cache/apt/archives/kdeplasma-addons*) prends en un au pif et recherche le fichier .desktop et le .so et vois où ils sont installés.

Hors ligne

#8 Le 01/02/2009, à 15:42

Yop69

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

Bon bah aujourd'hui j'ai voulu installer ce plasmoïde sachant que la compilation était foireuse et et voila qu'il marche !!! big_smile

Je ne comprends vraiment rien car je n'ai touché à rien !

Donc RESOLU merci bien smile

Hors ligne

#9 Le 06/02/2009, à 20:27

Commandant

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

Bonjour à tout les deux,

Je tente d'installer Yawp sur KDE4.2 mais j'obtiens l'erreur suivante lors du lancement de l'installeur:

root@vacherin:~/Plasma/yawp# ./install.sh
KDE version: 4.2.00
Using CMakeLists.kde42.txt
-- 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
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/gorgonzola/.kde/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:3 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
/home/gorgonzola/Plasma/yawp/build
make: *** Pas de règle pour fabriquer la cible « clean ». Arrêt.
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
Compilation failed, sorry :-(

Serveur Debian Lenny|Fixe Karmic - Gnome - ATI 4850|Portable Hardy - Gnome Nvidia 8500
Le lanceur ultime Gnome-do| Configurer facilement gnome avec Ubuntu-tweak
Plus de fautes d'orthographe en 5mn

Hors ligne

#10 Le 07/02/2009, à 02:43

Yop69

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

Je te conseille de faire un nouveau poste car celui la est tagué en résolu...

Hors ligne

#11 Le 07/02/2009, à 16:23

Commandant

Re : [RESOLU] Compilation plasmoïde yaWP sous KDE 4.2

ok, tu as raison c'est plus simple. wink


Serveur Debian Lenny|Fixe Karmic - Gnome - ATI 4850|Portable Hardy - Gnome Nvidia 8500
Le lanceur ultime Gnome-do| Configurer facilement gnome avec Ubuntu-tweak
Plus de fautes d'orthographe en 5mn

Hors ligne