Gtk

Résolu
mimit73 Messages postés 113 Statut Membre -  
mimit73 Messages postés 113 Statut Membre -
Bonjour à tous,

je recherche des informations sur l'installation de gtk sur mandrake. Lors de l'installation des packages suivants "wxGTK-2.4.2-1mdk.i586.rpm" , "wxGTK-devel-2.4.2.1.i386.rpm" et "wxBase-2.4.2-1.i586.rpm" tout ce passe bien. Puis pour tester mon installe GTK, je compile xmule pour voir (ci-dessous les commandes que j'ai tapé):
cd /usr/local/xmule
./configuration --prefix-wx-config=/usr/local/wx-config

et là, il me dit qu'il ne trouve pas GTK.

Qu'est ce qui ce passe ?
Configuration: mandrake 10.0

3 réponses

  1. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 944
     
    Donne le message d'erreur exact s'il te plaît.
    0
    1. mimit73 Messages postés 113 Statut Membre 34
       
      voilà le message:
      checking whether to use NLS... yes
      checking where the gettext function comes from... libc
      checking for wx-config... /usr/local/wxX11-2.6.3
      checking for wxWidgets version >= 2.6.2... no
      checking for wx-config... /usr/local/wxX11-2.6.3
      checking for wxWidgets version >= 2.4.2... no
      configure: error:
      Please check that wx-config is in path, the directory
      where wxWindows libraries are installed (returned by
      'wx-config --libs' command) is in LD_LIBRARY_PATH or
      equivalent variable and wxWidgets is version 2.4.2 or above.
      Or this might also be a bug in our configure. Please try again
      with --with-wx-config=/usr/bin/wx-config
      (replace /usr/bin/wx-config with a valid path to your wx-config)
      * Note:
      Most probably, either one of the above aren't correct, you don't
      have wxGTK installed, or are missing wxGTK-devel (or equivalent) package.
      0
  2. mamiemando Messages postés 33228 Date d'inscription   Statut Modérateur Dernière intervention   7 944
     
    Il faut installer wxwidget :
    http://rpmfind.net/linux/rpm2html/search.php?query=wxWidgets+&submit=Search+

    Il dit aussi :
    Or this might also be a bug in our configure. Please try again
    with --with-wx-config=/usr/bin/wx-config
    (replace /usr/bin/wx-config with a valid path to your wx-config)

    As-tu essayé ?

    Que donne :
    whereis wx-config

    Bonne chance
    0
    1. mimit73 Messages postés 113 Statut Membre 34
       
      Il semble que wx-config soit à 2 endroits

      whereis wx-config
      wx-config: /usr/bin/wx-config /usr/local/bin/wx-config


      je n'étais peut-être pas obligé de réinstaller les sources suivantes
      wxGTK-2.6.3

      j'ai repéré l'installe qui m'interesse, puis j'ai renseigné dans /etc/ld.so.conf le chemin des "header"
      /usr/local/include/wx-2.6
      et là ,j'ai pu compiler xmule sans souci.

      Merci pour tes conseils mamiemando
      A+
      0
  3. mimit73 Messages postés 113 Statut Membre 34
     
    Il semble que wx-config soit à 2 endroits

    whereis wx-config
    wx-config: /usr/bin/wx-config /usr/local/bin/wx-config

    je n'étais peut-être pas obligé de réinstaller les sources suivantes
    wxGTK-2.6.3

    j'ai repéré l'installe qui m'interesse, puis j'ai renseigné dans /etc/ld.so.conf le chemin des "header"
    /usr/local/include/wx-2.6
    et là ,j'ai pu compiler xmule sans souc
    0