Commande make

salut, je essayer d 'installer amsn sous mandrake lunix .
./configure sa fonctionne
mais pourla commande make voila c q s'affiche
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
Configuration: Linux
Konqueror 3.2

7 réponses

  1. Bah oui, on pose des questions et on n'écoute pas les réponses, classique...
    1. Modérateur
      [...]
      checking for X... no
      "Could not find X11 devel package 
      [...]
      checking for png_read_info in -lpng... no
      configure: error: libpng is required
      Pas d'erreurs ???
      ;-))
      1. voila pour /configure:
        [root@localhost amsn-0.97RC1]# ./configure
        checking for prefix by checking for wish... /usr/bin/wish
        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 for g++... g++
        checking whether we are using the GNU C++ compiler... yes
        checking whether g++ accepts -g... yes
        checking tcl build dir... warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
        warning: You need to run the 'updatedb' command (as root) to create the database.
        using tcl library in /usr/lib
        checking tk build dir... using tk library in /usr/lib
        checking for main in -lstdc++... yes
        checking how to run the C preprocessor... gcc -E
        checking for X... no
        "Could not find X11 devel package
        checking for egrep... grep -E
        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 png_read_info in -lpng... no
        configure: error: libpng is required
        1. Modérateur
          Salut,

          Extrait du fichier "INSTALL" :
          > ./configure
          You must have the tcl-dev and tk-dev packages installed on your system, please refer to your system package management software or website in order to find these packages and to install them prior to running the ./configure script.
          Once the configure script finished without any error, you can proceed with the compilation, it is as simple as typing :
          > make
          You can now launch amsn by typing
          > ./amsn
          Or you can install it with the command
          > make install
          Then you can use the
          > amsn
          command to launch future sessions of amsn.
          You can also create a .deb and .rpm package by launching respectively the command
          > make deb
          and
          > make rpm
          ;-))
          1. pour /amsn le message d'erreur suivant s'afficheloadin tkc image failed.this module nedded to run amsn.please compile a msn,instructions on ho to compile are located in the file install.
            /congigure fonctionne.
            pour la commande make le message suivant s'affiche make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
        2. Bonjour,

          Ton configure ne s'est pas terminé correctement.
          1. de quel configuration tu parle
          2. @Marc./configure fonctionne m pour make le meme message s'affiche: make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.