Problème d'installation de paquet

Utilisateur anonyme -  
 initials 76 -
Bonjour, souhaitant apprendre l'installation des programmes à partir de la compilation des codes sources,
j'ai eu un problème sur l'installation de lynx.
Lorsque je fait ./configure, et bien j'ai ce type d'erreur qui s'affiche à la fin des données défilés:
configure: error: No curses header-files found

Est-ce que quelqu'un a la solution à ce problème ?

Merci d'avance, cordialement

--
Merci à CCM et aux webmasters
Configuration: Linux
Firefox 3.0.11

7 réponses

  1. initials 76
     
    Salut,

    peut être installer libncurses.

    Que donne une recherche dans le gestionnaire de logiciels sur "ncurses"?
    0
    1. Utilisateur anonyme
       
      Merci, mais comment installer libncurses?
      0
      1. initials 76 > Utilisateur anonyme
         
        Tu es sous quelle distribution?
        0
      2. Utilisateur anonyme > initials 76
         
        ubuntu, merci
        0
      3. initials 76 > Utilisateur anonyme
         
        Re,

        colle le résultat de:

        sudo aptitude search ncurses


        ;)
        0
  2. Utilisateur anonyme
     
    Merde malgrès la réussite de sudo aptitude search ncurses,

    j'ai toujours la méme erreur pour installer lynx:
    configure: error: No curses header-files found

    D'ou ça vient alors ?
    0
    1. initials 76
       
      search ==> c'est juste rechercher, colle le résultat de la commande qu'on puisse t'aider à installer ce qu'aptitude à trouvé ;)
      0
  3. Utilisateur anonyme
     
    oui, excuse-moi, qu'est-ce que je dois taper exactement avec search ?
    car je ne connais pas cette commande
    0
    1. initials 76
       
      sudo aptitude search ncurses


      Colles le résultat ici merci ;)
      0
  4. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  5. Utilisateur anonyme
     
    Résultat:

    p irmp3-ncurses - irmp3 control frontend
    p lib64ncurses5 - shared libraries for terminal handling (64
    p lib64ncurses5-dev - developer's libraries for ncurses (64-bit)
    p libcunit1-ncurses - Unit Testing Library for C (ncurses)
    p libcunit1-ncurses-dev - Unit Testing Library for C (ncurses) -- de
    p libkaya-ncurses-dev - Ncurses binding for kaya
    p libkaya-ncursesw-dev - Ncurses binding for kaya
    v libncurses-dev -
    p libncurses-gst - Ncurses bindings for GNU Smalltalk
    p libncurses-ruby - ruby Extension for the ncurses C library
    p libncurses-ruby1.8 - ruby Extension for the ncurses C library
    p libncurses-ruby1.9 - ruby Extension for the ncurses C library
    i libncurses5 - shared libraries for terminal handling
    p libncurses5-dbg - debugging/profiling libraries for ncurses
    p libncurses5-dev - developer's libraries and docs for ncurses
    i libncursesw5 - shared libraries for terminal handling (wi
    p libncursesw5-dbg - debugging/profiling libraries for ncurses
    p libncursesw5-dev - developer's libraries for ncursesw
    i ncurses-base - basic terminal type definitions
    i ncurses-bin - terminal-related programs and man pages
    v ncurses-dev -
    p ncurses-hexedit - Edit files/disks in hex, ASCII and EBCDIC
    v ncurses-runtime -
    p ncurses-term - additional terminal type definitions
    0
    1. initials 76
       
      Re,

      installes:
      sudo aptitude install libncurses5-dev libncurses5 ncurses-base ncurses-dev 


      Et relance le ./configure pour voir.
      0
  6. Utilisateur anonyme
     
    Ca ne marche toujours pas :
    root@tong-laptop:/home/tong/Bureau/lynx2-8-7# sudo aptitude install libncurses5-dev libncurses5 ncurses-base ncurses-dev
    E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances
    Lecture des informations d'état... Fait
    Initialisation de l'état des paquets... Fait
    E: Impossible de verrouiller /var/lib/dpkg/lock - open (11 Ressource temporairement non disponible)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    root@tong-laptop:/home/tong/Bureau/lynx2-8-7# ./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
    Configuring for linux-gnu
    checking for DESTDIR...
    checking for gcc... gcc
    checking for C compiler default output... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for executable suffix...
    checking for object suffix... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking how to run the C preprocessor... gcc -E
    checking whether ln -s works... yes
    checking whether make sets ${MAKE}... yes
    checking for a BSD compatible install... /usr/bin/install -c
    checking for bison... no
    checking for byacc... no
    checking for lint... no
    checking for alint... no
    checking for lclint... no
    checking for tdlint... no
    checking for AIX... no
    checking for POSIXized ISC... no
    checking for ranlib... ranlib
    checking for ar... ar
    checking for options to update archives... -curv
    checking if you want to see long compiling messages... yes
    checking if you want to check memory-leaks... no
    checking if you want to enable debug-code... no
    checking if you want to enable lynx trace code *recommended* ... yes
    checking if you want verbose trace code... no
    checking if you want to turn on gcc warnings... no
    checking if you want to use dbmalloc for testing... no
    checking if you want to use dmalloc for testing... no
    checking for gcc option to accept ANSI C... none needed
    checking for an ANSI C-conforming const... yes
    checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking for _LARGE_FILES value needed for large files... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for fseeko... yes
    checking whether to use struct dirent64... no
    checking for msginit... /usr/bin/msginit
    checking for ranlib... (cached) ranlib
    checking for ANSI C header files... yes
    checking for inline... inline
    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 off_t... yes
    checking for size_t... yes
    checking for working alloca.h... yes
    checking for alloca... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking whether we are using the GNU C Library 2.1 or newer... yes
    checking for argz.h... yes
    checking for limits.h... yes
    checking for locale.h... yes
    checking for nl_types.h... yes
    checking for malloc.h... yes
    checking for stddef.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for sys/param.h... yes
    checking for feof_unlocked... yes
    checking for fgets_unlocked... yes
    checking for getcwd... yes
    checking for getegid... yes
    checking for geteuid... yes
    checking for getgid... yes
    checking for getuid... yes
    checking for mempcpy... yes
    checking for munmap... yes
    checking for putenv... yes
    checking for setenv... yes
    checking for setlocale... yes
    checking for stpcpy... yes
    checking for strchr... yes
    checking for strcasecmp... yes
    checking for strdup... yes
    checking for strtoul... yes
    checking for tsearch... yes
    checking for __argz_count... yes
    checking for __argz_stringify... yes
    checking for __argz_next... yes
    checking for iconv... yes
    checking if the declaration of iconv() needs const.... no
    checking for nl_langinfo and CODESET... yes
    checking for LC_MESSAGES... yes
    checking whether NLS is requested... no
    checking if you want full utility pathnames... yes
    checking for system mailer... unknown
    checking system mail flags... -t -oi
    checking if gcc -U and -D options work together... yes
    checking if we must define _GNU_SOURCE... yes
    checking if SIGWINCH is defined... yes
    checking if you want NSS compatible SSL libraries... no
    checking if you want ssl library... no
    checking if you want gnutls support... no
    checking if you want gnutls-openssl compat... no
    checking if you want socks library... no
    checking if you want socks5 library... no
    checking for network libraries... working...
    checking for gethostname... yes
    checking for main in -linet... no
    checking for socket... yes
    checking for gethostbyname... yes
    checking for strcasecmp... (cached) yes
    checking for inet_aton function... yes
    checking if you want to use pkg-config... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking whether to enable ipv6... no
    checking for screen type... curses
    checking for extra include directories... no
    checking if we have identified curses headers... none
    configure: error: No curses header-files found
    0
    1. initials 76
       
      Re,

      pardon mais la on à à faire à un autre problème:
      Impossible de verrouiller /var/lib/dpkg/lock

      Et les logiciels demandés ne sont pas installés.

      Essayes de remettre de l'ordre en tapant:

      sudo dpkg --configure -a


      et relance la commande d'installation avec aptitude ;)
      0
  7. Utilisateur anonyme
     
    Excuse-moi, est-ce que tu sera là demain sur ccm ?
    car là je ne suis pas chez moi pour pouvoir continuer la discussion, je suis dans une bibliothèque qui se ferme.
    Si oui, merci 100 fois
    0
    1. initials 76
       
      Pas de soucis, je passe régulièrement :)

      En fait dis toi que tu as besoin des librairies ncurses pour pouvoir configurer et compiler Lynx,
      Ncurses est nécessaire pour lancer une interface graphique dans un terminal.Comme un "make menuconfig" lorsque tu veux compiler un noyau.Ou lorsque tu veux configurer tes locales dans la console avec dpkg ou localepurge.

      @+
      0