Comment executer un programme sous Linux

Résolu
Je suis débutant sous linux.J'ai telecharger quelque programme mais je ne sais pas comment les utiliser. Je ne trouve aucun executable et donc, je ne sais pas comment lancer le programme. Merci d'avance pour l'aide...

30 réponses

Résumé de la discussion

Le problème courant est qu'un débutant Linux ne sait pas comment lancer des programmes téléchargés lorsque aucun exécutable immédiat n'est visible ni accessible en dehors du terminal. Plusieurs solutions existent : privilégier des paquets précompilés adaptés à la distribution (RPM ou équivalent) plutôt que la compilation, et sinon extraire une archive source puis configurer et compiler. Pour des distributions modernes, des gestionnaires de paquets facilitent l'installation et évitent la compilation, et pour des programmes comme Azureus il faut vérifier la présence d'une JRE compatible et lancer le script dédié. Des cas concrets montrent que vérifier les extensions (.tar.gz, .zip, .jar, .rpm) et consulter README ou INSTALL aide à adapter les étapes d'installation selon la source téléchargée.

Bobot (l’IA à votre service)
  1. Salut Khrysby,
    Pour t'aider, dis-moi quel programme tu as downloader, et c'est quel extension de fichier.
    Souvent, c'est un .tar.gz ou .tgz
    Si c'est le cas, tu vas dans la console et tu fais:
    # cd repertoire_du_fichier_downloader
    # ls
    (ca affiche les fichiers)
    # tar -zxvf nom_du_fichier
    # cd repertoire_cree
    (à partir de la, sa peut différé... pour etre sur, regarde dans le fichier INSTALL ou README)
    # cat INSTALL | MORE
    (mais souvent sa ressemble a ca)
    # ./configure
    # make
    # make install

    Bon, j'ai envoyé sa direct pas mal, mais c'est ca...
    Si tu me donnes plus de précisions (prog downloader, ta distibution, extension du fichier) je vais pouvoir t'aider davantage.

    Bye!

    ==============================================
    RTFMFM
    1. je veux bien installe gcc et matleb 'octave' je ne sais pas comment
    2. moi wakfu peut tu maider ?
    3. jaisait déxecuter mon téléchargement pour qui se télécharge
    4. moi dofus , league of legends ainsi que dofus beta ;) et notepad ++
  2. Modérateur
    Non, en fait certaines (peut être la plupart) des distributions linux utilisent une methode plus rapide et facile que la compilation d'une source. Par exemple Mandrake peut installer des programmes en rpm (à condition que ce soit la bonne version du rpm), on appelle ça un package, c'est un programme précompilé et prêt à être installé automatiquement. Pour comparer vite fait, ça ressemble à setup.exe d'un programme Windows.

    Installer par compilation d'une source permet d'optimiser un programme pour ton ordinateur, rendant le programe mieux adapté à ta machine. C'est aussi une alternative obligatoire pour beaucoup de programmes qui n'existent pas en rpm..
    Voilà :-)
    1. merci pour tous ces précieux conseils.
    2. Oui, vraiment merci....
    3. bj petit question ses sur logitecte ubuntu
  3. ok merci la manque donc a trouver java xD je susi en train de voir ou il se trouve puis apres traduire les autres étapes car moi en anglais a 15 ans je susi pas très bon ^^
    1. REQUIREMENTS:
      Azureus requires Sun Java 1.5.x or newer to run.
      JRE 1.6 (6.0 series) is highly recommended.
      https://www.oracle.com/java/technologies/

      RUNNING:
      1. Extract the contents of this .tar.bz2 file.
      2. Change to the 'azureus' directory where the files were extracted.
      3. Start Azureus by running the script named 'azureus'; ex. "./azureus"

      NOTE:
      If you have the Java JRE installed somewhere unusual (or not in your PATH),
      use the JAVA_PROGRAM_DIR option in the script.
      sa me mets sa dans le fichier README
      1. JRE 1.6 (6.0 series) is highly recommended

        il faut donc avant tout installer JRE 1.6 .....si ce n'est pas déjà installé

        concernant azureus, il n'y a, semble-t-il, donc rien à compiler, simplement lancer la commande :

        ./azureus


        1. Bonsoir
          en fait j'ai un autre problème le fichier .jar de la mise a jour je doit le mettre dans le fichier java mes les permissions sont bloquer je clique droit propriétés et la je vais dans permissions et tout est en gris clair et le propriétaire c'est root et le groupe root et la phrase d'en bas est vous n'êtes pas le propriétaires de se document donc vous ne pouvez pas changer les permissions merci de votre réponse
          1. Contributeur
            Bonsoir
            normalement dans ubuntu tu as dans le menu une fonction "ajouter ou supprimer un logiciel" (ou quelque chose très approchant). Tu devais essayer, nettement plus facile !
            Bonne installation
          2. Pour modifier un fichier dont tu n'a pas les permissions tu tape (dans le terminal...)
            sudo
            et ton mot de passe
            Tu peux ensuite modifier le fichier.
        2. oui c'est ce que j'ai fait effectivement mais ca ne fonctionne toujour pas...j'ai fait un urpmi gtk2 et j'ai ce mess,donc il est bien installer.

          Le paquetage libgtk+2.0_0-2.18.6-1.1mdv2010.0.i586 est déjà installé
          Marque libgtk+2.0_0 comme étant manuellement installé, il ne sera pas considéré comme un paquet orphelin
          writing /var/lib/rpm/installed-through-deps.list
          1. salut,
            Le fichier tar.bz2 en question est wxWidgets-2.8.0 et lorsque je lance la commande ./configure je reçois ce mess d'erreur...

            Voici le resustat de ./configure

            [nick@localhost ~]$ cd /home/nick/wxWidgets-2.8.0
            [nick@localhost wxWidgets-2.8.0]$ ./configure
            checking build system type... i686-pc-linux-gnu
            checking host system type... i686-pc-linux-gnu
            checking target system type... i686-pc-linux-gnu
            loading argument cache configarg.cache
            checking for --enable-gui... yes
            checking for --enable-monolithic... no
            checking for --enable-plugins... no
            checking for --without-subdirs... no
            checking for --enable-universal... no
            checking for --enable-nanox... no
            checking for --enable-gpe... no
            checking for --with-libpng... yes
            checking for --with-libjpeg... yes
            checking for --with-libtiff... yes
            checking for --with-libxpm... yes
            checking for --with-libmspack... yes
            checking for --with-sdl... no
            checking for --with-gnomeprint... yes
            checking for --with-gnomevfs... no
            checking for --with-hildon... no
            checking for --with-opengl... no
            checking for --with-dmalloc... no
            checking for --with-regex... yes
            checking for --with-zlib... yes
            checking for --with-odbc... no
            checking for --with-expat... yes
            checking for --enable-shared... yes
            checking for --enable-optimise... yes
            checking for --enable-debug... no
            checking for --enable-stl... no
            checking for --enable-debug_flag... no
            checking for --enable-debug_info... no
            checking for --enable-debug_gdb... no
            checking for --enable-debug_cntxt... no
            checking for --enable-mem_tracing... no
            checking for --enable-profile... no
            checking for --enable-no_rtti... no
            checking for --enable-no_exceptions... no
            checking for --enable-permissive... no
            checking for --enable-no_deps... no
            checking for --enable-vararg_macros... yes
            checking for --enable-universal_binary... no
            checking for --enable-compat24... no
            checking for --disable-compat26... no
            checking for --enable-rpath... yes
            checking for --enable-intl... yes
            checking for --enable-config... yes
            checking for --enable-protocols... yes
            checking for --enable-ftp... yes
            checking for --enable-http... yes
            checking for --enable-fileproto... yes
            checking for --enable-sockets... yes
            checking for --enable-ole... yes
            checking for --enable-dataobj... yes
            checking for --enable-ipc... yes
            checking for --enable-apple_ieee... yes
            checking for --enable-arcstream... yes
            checking for --enable-backtrace... yes
            checking for --enable-catch_segvs... yes
            checking for --enable-cmdline... yes
            checking for --enable-datetime... yes
            checking for --enable-debugreport... yes
            checking for --enable-dialupman... yes
            checking for --enable-dynlib... yes
            checking for --enable-dynamicloader... yes
            checking for --enable-exceptions... yes
            checking for --enable-ffile... yes
            checking for --enable-file... yes
            checking for --enable-filesystem... yes
            checking for --enable-fontmap... yes
            checking for --enable-fs_archive... yes
            checking for --enable-fs_inet... yes
            checking for --enable-fs_zip... yes
            checking for --enable-geometry... yes
            checking for --enable-log... yes
            checking for --enable-longlong... yes
            checking for --enable-mimetype... yes
            checking for --enable-mslu... yes
            checking for --enable-snglinst... yes
            checking for --enable-std_iostreams... yes
            checking for --enable-std_string... yes
            checking for --enable-stdpaths... yes
            checking for --enable-stopwatch... yes
            checking for --enable-streams... yes
            checking for --enable-system_options... yes
            checking for --enable-tarstream... yes
            checking for --enable-textbuf... yes
            checking for --enable-textfile... yes
            checking for --enable-timer... yes
            checking for --enable-unicode... no
            checking for --enable-sound... yes
            checking for --enable-mediactrl... no
            checking for --enable-gstreamer8... no
            checking for --enable-printfposparam... yes
            checking for --enable-zipstream... yes
            checking for --enable-url... yes
            checking for --enable-variant... yes
            checking for --enable-protocol... yes
            checking for --enable-protocol_http... yes
            checking for --enable-protocol_ftp... yes
            checking for --enable-protocol_file... yes
            checking for --enable-threads... yes
            checking for --enable-docview... yes
            checking for --enable-help... yes
            checking for --enable-mshtmlhelp... yes
            checking for --enable-html... yes
            checking for --enable-htmlhelp... yes
            checking for --enable-xrc... yes
            checking for --enable-aui... yes
            checking for --enable-constraints... yes
            checking for --enable-printarch... yes
            checking for --enable-mdi... yes
            checking for --enable-mdidoc... yes
            checking for --enable-loggui... yes
            checking for --enable-logwin... yes
            checking for --enable-logdialog... yes
            checking for --enable-webkit... yes
            checking for --enable-richtext... yes
            checking for --enable-graphics_ctx... no
            checking for --enable-postscript... yes
            checking for --enable-prologio... no
            checking for --enable-resources... no
            checking for --enable-clipboard... yes
            checking for --enable-dnd... yes
            checking for --enable-metafile... yes
            checking for --enable-controls... no
            checking for --enable-accel... yes
            checking for --enable-animatectrl... yes
            checking for --enable-button... yes
            checking for --enable-bmpbutton... yes
            checking for --enable-bmpcombobox... yes
            checking for --enable-calendar... yes
            checking for --enable-caret... yes
            checking for --enable-checkbox... yes
            checking for --enable-checklst... yes
            checking for --enable-choice... yes
            checking for --enable-choicebook... yes
            checking for --enable-collpane... yes
            checking for --enable-colourpicker... yes
            checking for --enable-combobox... yes
            checking for --enable-comboctrl... yes
            checking for --enable-datepick... yes
            checking for --enable-dirpicker... yes
            checking for --enable-display... yes
            checking for --enable-detect_sm... yes
            checking for --enable-filepicker... yes
            checking for --enable-fontpicker... yes
            checking for --enable-gauge... yes
            checking for --enable-grid... yes
            checking for --enable-dataviewctrl... no
            checking for --enable-hyperlink... yes
            checking for --enable-imaglist... yes
            checking for --enable-listbook... yes
            checking for --enable-listbox... yes
            checking for --enable-listctrl... yes
            checking for --enable-notebook... yes
            checking for --enable-odcombobox... yes
            checking for --enable-radiobox... yes
            checking for --enable-radiobtn... yes
            checking for --enable-sash... yes
            checking for --enable-scrollbar... yes
            checking for --enable-slider... yes
            checking for --enable-spinbtn... yes
            checking for --enable-spinctrl... yes
            checking for --enable-splitter... yes
            checking for --enable-statbmp... yes
            checking for --enable-statbox... yes
            checking for --enable-statline... yes
            checking for --enable-stattext... yes
            checking for --enable-statusbar... yes
            checking for --enable-tabdialog... no
            checking for --enable-textctrl... yes
            checking for --enable-togglebtn... yes
            checking for --enable-toolbar... yes
            checking for --enable-tbarnative... yes
            checking for --enable-treebook... yes
            checking for --enable-toolbook... yes
            checking for --enable-treectrl... yes
            checking for --enable-tipwindow... yes
            checking for --enable-popupwin... yes
            checking for --enable-commondlg... yes
            checking for --enable-aboutdlg... yes
            checking for --enable-choicedlg... yes
            checking for --enable-coldlg... yes
            checking for --enable-filedlg... yes
            checking for --enable-finddlg... yes
            checking for --enable-fontdlg... yes
            checking for --enable-dirdlg... yes
            checking for --enable-msgdlg... yes
            checking for --enable-numberdlg... yes
            checking for --enable-splash... yes
            checking for --enable-textdlg... yes
            checking for --enable-tipdlg... yes
            checking for --enable-progressdlg... yes
            checking for --enable-wizarddlg... yes
            checking for --enable-menus... yes
            checking for --enable-miniframe... yes
            checking for --enable-tooltips... yes
            checking for --enable-splines... yes
            checking for --enable-mousewheel... yes
            checking for --enable-validators... yes
            checking for --enable-busyinfo... yes
            checking for --enable-joystick... yes
            checking for --enable-metafile... yes
            checking for --enable-dragimage... yes
            checking for --enable-accessibility... no
            checking for --enable-palette... yes
            checking for --enable-image... yes
            checking for --enable-gif... yes
            checking for --enable-pcx... yes
            checking for --enable-tga... yes
            checking for --enable-iff... no
            checking for --enable-pnm... yes
            checking for --enable-xpm... yes
            checking for --enable-ico_cur... yes
            checking for --enable-official_build... no
            saving argument cache configarg.cache
            checking for toolkit... gtk
            checking for gcc... gcc
            checking for C compiler default output file name... a.out
            checking whether the C compiler works... yes
            checking whether we are cross compiling... no
            checking for suffix of executables...
            checking for suffix of object files... o
            checking whether we are using the GNU C compiler... yes
            checking whether gcc accepts -g... yes
            checking for gcc option to accept ANSI C... none needed
            checking whether we are using the Intel C compiler... no
            checking how to run the C preprocessor... gcc -E
            checking for egrep... grep -E
            checking whether gcc needs -traditional... no
            checking for g++... g++
            checking whether we are using the GNU C++ compiler... yes
            checking whether g++ accepts -g... yes
            checking whether we are using the Intel C++ compiler... no
            checking for ranlib... ranlib
            checking for ar... ar
            checking for a BSD-compatible install... /usr/bin/install -c
            checking for strip... strip
            checking if make is GNU make... yes
            checking whether ln -s works... yes
            checking for strcasecmp() in string.h... yes
            checking for ANSI C header files... yes
            checking for sys/types.h... yes
            checking for sys/stat.h... yes
            checking for stdlib.h... yes
            checking for string.h... yes
            checking for memory.h... yes
            checking for strings.h... yes
            checking for inttypes.h... yes
            checking for stdint.h... yes
            checking for unistd.h... yes
            checking for stdlib.h... (cached) yes
            checking fnmatch.h usability... yes
            checking fnmatch.h presence... yes
            checking for fnmatch.h... yes
            checking langinfo.h usability... yes
            checking langinfo.h presence... yes
            checking for langinfo.h... yes
            checking malloc.h usability... yes
            checking malloc.h presence... yes
            checking for malloc.h... yes
            checking for unistd.h... (cached) yes
            checking wchar.h usability... yes
            checking wchar.h presence... yes
            checking for wchar.h... yes
            checking sys/select.h usability... yes
            checking sys/select.h presence... yes
            checking for sys/select.h... yes
            checking for an ANSI C-conforming const... yes
            checking for inline... inline
            checking for char... yes
            checking size of char... 1
            checking for short... yes
            checking size of short... 2
            checking for void *... yes
            checking size of void *... 4
            checking for int... yes
            checking size of int... 4
            checking for long... yes
            checking size of long... 4
            checking for size_t... yes
            checking size of size_t... 4
            checking for long long... yes
            checking size of long long... 8
            checking for wchar_t... yes
            checking size of wchar_t... 4
            checking for va_copy... yes
            checking whether the compiler supports variadic macros... yes
            checking for _FILE_OFFSET_BITS value needed for large files... 64
            checking if large file support is available... yes
            checking for _LARGEFILE_SOURCE value needed for large files... no
            checking for fseeko... yes
            checking whether byte ordering is bigendian... no
            checking how to run the C++ preprocessor... g++ -E
            checking iostream usability... yes
            checking iostream presence... yes
            checking for iostream... yes
            checking if C++ compiler supports bool... yes
            checking if C++ compiler supports the explicit keyword... yes
            checking whether the compiler supports const_cast<>... yes
            checking whether the compiler supports reinterpret_cast<>... yes
            checking whether the compiler supports static_cast<>... yes
            checking for std::string in <string>... yes
            checking for std::istream... yes
            checking for std::ostream... yes
            checking for libraries directory... lib
            checking for glibc 2.1 or later... yes
            checking for cos... no
            checking for floor... no
            checking if floating point functions link without -lm... no
            checking for sin... yes
            checking for ceil... yes
            checking if floating point functions link with -lm... yes
            checking for strtoull... yes
            checking regex.h usability... yes
            checking regex.h presence... yes
            checking for regex.h... yes
            checking for regcomp... yes
            checking for re_search... yes
            checking for zlib.h >= 1.1.4... yes
            checking for zlib.h... (cached) yes
            checking for deflate in -lz... yes
            checking for png.h > 0.90... yes
            checking for png.h... (cached) yes
            checking for png_check_sig in -lpng... yes
            checking for jpeglib.h... yes
            checking for jpeg_read_header in -ljpeg... yes
            checking tiffio.h usability... no
            checking tiffio.h presence... no
            checking for tiffio.h... no
            configure: WARNING: system tiff library not found, will use built-in instead
            checking expat.h usability... no
            checking expat.h presence... no
            checking for expat.h... no
            configure: WARNING: system expat library not found, will use built-in instead
            checking mspack.h usability... no
            checking mspack.h presence... no
            checking for mspack.h... no
            checking for GTK+ version...
            checking for pkg-config... /usr/bin/pkg-config
            checking for GTK+ - version >= 2.0.0... no
            *** Could not run GTK+ test program, checking why...
            *** The test program failed to compile or link. See the file config.log for the
            *** exact error that occured. This usually means GTK+ is incorrectly installed.
            configure: error:
            The development files for GTK+ were not found. For GTK+ 2, please
            ensure that pkg-config is in the path and that gtk+-2.0.pc is
            installed. For GTK+ 1.2 please check that gtk-config is in the path,
            and that the version is 1.2.3 or above. Also check that the
            libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
            --libs' are in the LD_LIBRARY_PATH or equivalent.

            [nick@localhost wxWidgets-2.8.0]$
            1. il faut peut-être aussi les dev de gtk (gtk-dev, quelque chose dans le genre)

              <EDIT : d'ailleurs le message d'erreur le dit bien :

              The development files for GTK+ were not found.

              voici chez moi les dev que j'ai :

              > root@mandriva[192.168.1.2]:/var/log# ls -l /usr/lib/pkgconfig/gtk+-2.0.pc
              -rw-r--r-- 1 root root 353 2010-02-01 13:03 /usr/lib/pkgconfig/gtk+-2.0.pc
              > root@mandriva[192.168.1.2]:/var/log#
              > root@mandriva[192.168.1.2]:/var/log# rpm -qa | grep gtk+
              libgtk+2.0_0-devel-2.18.6-1.1mdv2010.0
              libgtk+1.2-1.2.10-50mdv2009.1
              gtk+2.0-2.18.6-1.1mdv2010.0
              libgtk+2.0_0-2.18.6-1.1mdv2010.0
              libgtk+-x11-2.0_0-2.18.6-1.1mdv2010.0
              > root@mandriva[192.168.1.2]:/var/log#


              EDIT>
              1. Ben oui je sais mais tout ca est installer j'ai vérifié,mais j'ai tjrs le meme mess d'erreur:

                configure: error:
                The development files for GTK+ were not found. For GTK+ 2, please
                ensure that pkg-config is in the path and that gtk+-2.0.pc is
                installed. For GTK+ 1.2 please check that gtk-config is in the path,
                and that the version is 1.2.3 or above. Also check that the
                libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
                --libs' are in the LD_LIBRARY_PATH or equivalent.

                je n'y comprens plus rien,gtk est bien installer mais fait comme si il ne l'etait pas...ca parle aussi de pkg-config et d'un patch mais je ne vois pas très bien quoi!
              2. [nick@localhost ~]$ su
                Password:
                [root@localhost nick]# ls -l /usr/lib/pkgconfig/gtk+-2.0.pc
                ls: ne peut accéder /usr/lib/pkgconfig/gtk+-2.0.pc: Aucun fichier ou dossier de ce type
                [root@localhost nick]# rpm -qa | grep gtk+
                libgtk+1.2-1.2.10-50mdv2009.1
                gtk+2.0-2.18.6-1.1mdv2010.0
                libgtk+-x11-2.0_0-2.18.6-1.1mdv2010.0
                libgtk+-devel-1.2.10-50mdv2009.1
                libgtk+2.0_0-2.18.6-1.1mdv2010.0
                [root@localhost nick]#
                1. je suis désolé mais tu n'as pas la libgtk+2-devel : il faut donc l'installer

                  chez toi :

                  gtk+2.0-2.18.6-1.1mdv2010.0
                  libgtk+2.0_0-2.18.6-1.1mdv2010.0


                  chez moi :

                  libgtk+2.0_0-devel-2.18.6-1.1mdv2010.0
                  gtk+2.0-2.18.6-1.1mdv2010.0
                  libgtk+2.0_0-2.18.6-1.1mdv2010.0


                  et comme moi tu as une lib, qui traîne, estampillée 2009
                  1. ./include/wx/gsocket.h:40: erreur: using typedef-name ‘GSocket’ after ‘class’
                    /usr/include/glib-2.0/gio/giotypes.h:120: erreur: ‘GSocket’ has a previous declaration here
                    In file included from ./include/wx/gsocket.h:179,
                    from ./src/gtk/gsockgtk.cpp:21:
                    ./include/wx/unix/gsockunx.h:40: erreur: using typedef-name ‘GSocket’ after ‘class’
                    /usr/include/glib-2.0/gio/giotypes.h:120: erreur: ‘GSocket’ has a previous declaration here
                    ./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(void*, gint, GdkInputCondition)’:
                    ./src/gtk/gsockgtk.cpp:34: erreur: ‘struct _GSocket’ has no member named ‘Detected_Read’
                    ./src/gtk/gsockgtk.cpp:36: erreur: ‘struct _GSocket’ has no member named ‘Detected_Write’
                    ./src/gtk/gsockgtk.cpp: In member function ‘virtual bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’:
                    ./src/gtk/gsockgtk.cpp:56: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                    ./src/gtk/gsockgtk.cpp:57: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                    ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’:
                    ./src/gtk/gsockgtk.cpp:67: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                    ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent)’:
                    ./src/gtk/gsockgtk.cpp:72: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                    ./src/gtk/gsockgtk.cpp:75: erreur: ‘struct _GSocket’ has no member named ‘m_fd’
                    ./src/gtk/gsockgtk.cpp:83: erreur: ‘struct _GSocket’ has no member named ‘m_server’
                    ./src/gtk/gsockgtk.cpp:90: erreur: ‘struct _GSocket’ has no member named ‘m_fd’
                    ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent)’:
                    ./src/gtk/gsockgtk.cpp:98: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                    ./src/gtk/gsockgtk.cpp:108: erreur: ‘struct _GSocket’ has no member named ‘m_server’
                    make: *** [coredll_gsockgtk.o] Erreur 1
                    1. J'ai installer libgtk+2.0_0-devel-2.18.6-1.1mdv2010.0 comme tu le l'a conseillé et donc ./configure ce déroule normalment mais nouveau prob,plusieurs mess d'erreur lors du résultat make...En saurai tu un peut plus? Merçi pour ton aide et ta patience!

                      -fno-strict-aliasing ./src/gtk/gsockgtk.cpp
                      In file included from ./src/gtk/gsockgtk.cpp:21:
                      ./include/wx/gsocket.h:40: erreur: using typedef-name ‘GSocket’ after ‘class’
                      /usr/include/glib-2.0/gio/giotypes.h:120: erreur: ‘GSocket’ has a previous declaration here
                      In file included from ./include/wx/gsocket.h:179,
                      from ./src/gtk/gsockgtk.cpp:21:
                      ./include/wx/unix/gsockunx.h:40: erreur: using typedef-name ‘GSocket’ after ‘class’
                      /usr/include/glib-2.0/gio/giotypes.h:120: erreur: ‘GSocket’ has a previous declaration here
                      ./src/gtk/gsockgtk.cpp: In function ‘void _GSocket_GDK_Input(void*, gint, GdkInputCondition)’:
                      ./src/gtk/gsockgtk.cpp:34: erreur: ‘struct _GSocket’ has no member named ‘Detected_Read’
                      ./src/gtk/gsockgtk.cpp:36: erreur: ‘struct _GSocket’ has no member named ‘Detected_Write’
                      ./src/gtk/gsockgtk.cpp: In member function ‘virtual bool GSocketGUIFunctionsTableConcrete::Init_Socket(GSocket*)’:
                      ./src/gtk/gsockgtk.cpp:56: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                      ./src/gtk/gsockgtk.cpp:57: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                      ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Destroy_Socket(GSocket*)’:
                      ./src/gtk/gsockgtk.cpp:67: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                      ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Install_Callback(GSocket*, GSocketEvent)’:
                      ./src/gtk/gsockgtk.cpp:72: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                      ./src/gtk/gsockgtk.cpp:75: erreur: ‘struct _GSocket’ has no member named ‘m_fd’
                      ./src/gtk/gsockgtk.cpp:83: erreur: ‘struct _GSocket’ has no member named ‘m_server’
                      ./src/gtk/gsockgtk.cpp:90: erreur: ‘struct _GSocket’ has no member named ‘m_fd’
                      ./src/gtk/gsockgtk.cpp: In member function ‘virtual void GSocketGUIFunctionsTableConcrete::Uninstall_Callback(GSocket*, GSocketEvent)’:
                      ./src/gtk/gsockgtk.cpp:98: erreur: ‘struct _GSocket’ has no member named ‘m_gui_dependent’
                      ./src/gtk/gsockgtk.cpp:108: erreur: ‘struct _GSocket’ has no member named ‘m_server’
                      make: *** [coredll_gsockgtk.o] Erreur 1
                      1. essaie d'installer wxWidgets 2.9.0 plutôt que la 2.8 !

                        de plus wxWidgets semble exister en paquetage rpm .... alors pourquoi te compliques-tu la vie ?
                        1. je viens de m'apercevoir que Le paquetage perl-Alien-wxWidgets-0.440.0-1mdv2010.0.i586 est déjà installé
                          N'est ce pas bon? ou est ce encore autre chose?

                          à tout azar aurai tu un lien ou je pourrais trouvé le rpm
                          1. N'est ce pas bon?

                            non ! c'est juste un module Perl !

                            à tout azar aurai tu un lien ou je pourrais trouvé le rpm

                            ici :

                            http://rpm.pbone.net/info_idpl_8358309_distro_opensuse_com_wxWidgets-2.8.8.1-3.1.i586.rpm.html

                            donc pour installer un rpm, taper dans une console en root :

                            rpm -ivh tonpaquet.rpm


                            si tu constates, que le rpm ne fonctionne pas ou fonctionne mal, alors tu pourras te rabattre, (après avoir dés-installé le rpm) sur la compilation de wxWidgets et en prenant la toute dernière version qui est la "2.9".
                            1. je pense que j'ai réussi a compilé la version 2.9.0:

                              The installation of wxWidgets is finished. On certain
                              platforms (e.g. Linux) you'll now have to run ldconfig
                              if you installed a shared library and also modify the
                              LD_LIBRARY_PATH (or equivalent) environment variable.

                              wxWidgets comes with no guarantees and doesn't claim
                              to be suitable for any purpose.

                              Read the wxWidgets Licence on licencing conditions.

                              Encore une question: ou ce trouve le fichier compilé?
                              • 1
                              • 2

                              Discussions similaires

                              question pix mot caché

                              7 réponses