Erreurs lors de la compilation de qmail

floryndas Messages postés 3 Statut Membre -  
ccmga Messages postés 18 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,
Que lorsque j'obtiens ce type d'erreur en compilant qmail.

moi j'essaie d'installer qmail-1.03 à partir de qmailrocks.une fois que j'ai détarrez et décompressez qmailrocks, créer les groupes,les utilisateurs et les repertoires nécessaire à qmail grace aux commandes suivantes:
tar zxvf qmailrocks.tar.gz
/downloads/qmailrocks/scripts/install/qmr_install_linux-s1.script
/downloads/qmailrocks/scripts/util/qmail_big_patches.script

après cela je me positionne dans le repertoire /usr/src/qmail/qmail-1.03 et j'exécute la commande suivante:
make man && make setup check
j'obients alors ceci à la fin de la compilation:

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

qmail-remote.c:36:25: error: openssl/ssl.h: Aucun fichier ou dossier de ce type
qmail-remote.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
qmail-remote.c: In function 'ssl_timeoutread':
qmail-remote.c:132: error: 'ssl' undeclared (first use in this function)
qmail-remote.c:132: error: (Each undeclared identifier is reported only once
qmail-remote.c:132: error: for each function it appears in.)
qmail-remote.c:134: error: 'SSL_ERROR_WANT_READ' undeclared (first use in this function)
qmail-remote.c:135: error: 'SSL_ERROR_NONE' undeclared (first use in this function)
qmail-remote.c: In function 'ssl_timeoutwrite':
qmail-remote.c:157: error: 'ssl' undeclared (first use in this function)
qmail-remote.c:159: error: 'SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
qmail-remote.c:160: error: 'SSL_ERROR_NONE' undeclared (first use in this function)
qmail-remote.c: At top level:
qmail-remote.c:177: error: expected ')' before '*' token
qmail-remote.c:183: error: expected declaration specifiers or '...' before 'X509_STORE_CTX'
qmail-remote.c: In function 'smtp':
qmail-remote.c:346: error: 'SSL_CTX' undeclared (first use in this function)
qmail-remote.c:346: error: 'ctx' undeclared (first use in this function)
qmail-remote.c:400: error: 'ssl' undeclared (first use in this function)
qmail-remote.c:404: error: 'SSL_FILETYPE_PEM' undeclared (first use in this function)
qmail-remote.c:409: error: 'client_cert_cb' undeclared (first use in this function)
qmail-remote.c:415: error: 'NULL' undeclared (first use in this function)
qmail-remote.c:418: error: 'SSL_VERIFY_PEER' undeclared (first use in this function)
qmail-remote.c:454: error: 'X509_V_OK' undeclared (first use in this function)
qmail-remote.c:462: error: 'NID_commonName' undeclared (first use in this function)
make: *** [qmail-remote.o] Erreur 1

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

6 réponses

  1. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    Méthode 1 : installation par les paquets (recommandée)

    Pour commencer, je chercherais s'il n'existe pas dans le gestionnaire de paquets. Si tu ne sais pas ce que c'est commence par lire ceci :
    http://www.mistra.fr/tutoriel-linux-gestionnaire-de-paquets.html

    Le gestionnaire de paquets diffère d'une distribution à l'autre.

    Par exemple sous debian, qmail s'installe via le gestionnaire de paquets apt avec les commandes suivantes :

    aptitude update          
    aptitude safe-upgrade          
    aptitude install qmail


    Précise-nous quelle distribution linux tu utilises pour plus de précisions.

    Méthode 2 : installation par les sources (à éviter)

    Ensuite, si ton gestionnaire de paquets ne propose pas de paquets pour qmail (ce qui est peu probable), ou besoin extrêmement particulier, il alors faudra envisager une installation par les sources comme tu t'apprêtes à faire, mais qui restera moins propre (qmail ne sera pas mis à jour avec le reste du système etc...).

    Dans ce cas il faudra installer les librairies et les headers nécessaires à sa compilation. En l'occurrence on voit l'erreur :

    qmail-remote.c:36:25: error: openssl/ssl.h: Aucun fichier ou dossier de ce type 


    Ici c'est la librairie SSL qui manque. D'ailleurs normalement, avant de lancer "make", tu es sensé lancer "./configure" qui va vérifier que rien ne manque à la compilation (donc là, il a dû planter en te disant qu'il ne trouvait pas les headers de la librairies SSL).

    Encore une fois encore, c'est le gestionnaire de paquets qui va te permettre de l'installer. C'est une librairie, donc le paquet sera préfixé "lib" sur la plupart des distributions. Mais en plus de la librairie, il faut ses headers (fichiers .h), comme le montre ton message d'erreur. Il faut donc un paquet "développeur" (posttfixé -dev pour les distributions basées sur le gestionnaire de paquets apt (debian, ubuntu...) et -devel pour les distributions basées sur rpm (red hat, fedora, mandriva...)).

    Sous debian on peut le retrouver grâce à apt-cache et/ou apt-file :
    http://www.mistra.fr/tutoriel-linux-apt.html#h2-rechercheanbsp-dans-les-paquets

    (mando@aldur) (~) $ apt-cache search openssl | grep "lib" | grep "dev"          
    ...          
    libssl-dev - SSL development libraries, header files and documentation          
    ...


    Ici ce serait le paquet libssl-dev qu'il faut installer. On peut d'ailleurs vérifier qu'il fournit bien openssl/ssl.h gâce à apt-file. On commence pour cela par installer apt-file :

    aptitude install apt-file 
    apt-file update


    Faisons notre recherche

    (mando@aldur) (~) $ apt-file search openssl/ssl.h          
    libssl-dev: /usr/include/openssl/ssl.h


    Bref on voit que c'est le paquet libssl-dev qui va nous sauver dans le cas présent. On l'installe comme d'habitude via le gestionnaire de paquets :

    aptitude install libssl-dev


    ... et on peut tenter de compiler (si la compilation plante, c'est sans doute qu'il manque une autre librairie, qu'on installera de la même façon).

    ./configure   
    make   
    make install


    La plupart des autres distributions proposent des outils équivalents, merci de nous indiquer quelle distribution tu utilises si elle n'est pas basée sur apt si tu as besoin de précisions.

    Bonne chance
    1
    1. floryndas
       
      je n'arrive pas à installer la librairie libssl-dev pour compiler mon serveur de messagerie qmail.lorsque je lance la commande aptitude install libssl-dev le système répond qu'aucun paquet ne corresponds à cette description.
      lorsque j'essaie d'installer le paquet "apt-file" je recois la meme erreur
      que faire? aidez-moi svp
      0
  2. floryndas
     
    bonjour,
    j'utilise la version 10.04 de ubuntu.j'ai lancé premièrement la commande aptitude update, son exécution n'a pas été longue; mais lorsque je lance aptitude safe-upgrade l'exécution est inteminable jusqu'a présent il y a déja plus de 100 paquets téléchargé et l'exécution n'est tjrs pas achevéé. Que faire?
    0
  3. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    C'est le safe-upgrade qui est long. Il n'y a qu'une chose à faire : prendre ton mal en patience. Et faire tes mises à jour régulièrement pour éviter d'avoir à télécharger plusieurs centaines de paquets d'un coup.
    0
  4. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
     
    Soit tu n'es pas en natty, soit le dépôt security n'est pas activé d'après :
    https://packages.ubuntu.com/natty/libssl-dev

    Reporte-moi le résultat de :

    cat /etc/apt/sources.list
    aptitude safe-upgrade
    apt-cache search libssl-dev


    Bonne chance
    0
    1. floryndas
       
      ma question peut paraitre bette mais c koi "natty" et comment fait-on pour savoir si oui ou non on est en natty.
      0
    2. mamiemando Messages postés 33173 Date d'inscription   Statut Modérateur Dernière intervention   7 945
       
      C'est la version actuelle d'ubuntu :
      http://www.mistra.fr/tutoriel-linux-versions-debian-ubuntu.html

      Et la première commande que je t'ai indiqué me permettra de savoir si tu es bien en natty.

      Bonne chance
      0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. floryndas
     
    ceci est le report de la commande cat /etc/apt/sources.list
    root@floryndas-laptop:/etc/init# cat /etc/apt/sources.list
    # deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
    # See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.

    deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
    deb http://archive.ubuntu.com/ubuntu/ karmic main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://archive.ubuntu.com/ubuntu/ karmic universe
    deb-src http://archive.ubuntu.com/ubuntu/ karmic universe
    deb http://archive.ubuntu.com/ubuntu/ karmic-updates universe
    deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://archive.ubuntu.com/ubuntu/ karmic multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ karmic multiverse
    deb http://archive.ubuntu.com/ubuntu/ karmic-updates multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates multiverse

    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://cm.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
    # deb-src http://cm.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu/ karmic partner
    # deb-src http://archive.canonical.com/ubuntu/ karmic partner

    deb http://archive.ubuntu.com/ubuntu/ karmic-security main restricted
    deb-src http://archive.ubuntu.com/ubuntu/ karmic-security main restricted
    deb http://archive.ubuntu.com/ubuntu/ karmic-security universe
    deb-src http://archive.ubuntu.com/ubuntu/ karmic-security universe
    deb http://archive.ubuntu.com/ubuntu/ karmic-security multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ karmic-security multiverse
    *************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
    ceci est en parti le report de la commande aptitude safe upgrade
    root@floryndas-laptop:/home/floryndas# aptitude safe-upgrade
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances
    Lecture des informations d'état... Fait
    Lecture de l'information d'état étendu
    Initialisation de l'état des paquets... Fait
    Résolution des dépendances...
    Résolution des dépendances...
    Résolution des dépendances...
    Les NOUVEAUX paquets suivants vont être installés :
    firefox-branding{a} libdns53{a} linux-headers-2.6.31-23{a}
    linux-headers-2.6.31-23-generic{a} linux-image-2.6.31-23-generic{a}
    ureadahead{a}
    Les paquets suivants seront ENLEVÉS :
    linux-headers-2.6.31-14{u} linux-headers-2.6.31-14-generic{u}
    Les paquets suivants seront mis à jour :
    adduser aisleriot app-install-data-partner apparmor apparmor-utils apport
    apport-gtk avahi-autoipd avahi-daemon base-files bash-completion
    bind9-host binutils bogofilter bogofilter-bdb bogofilter-common brasero
    bsdutils bzip2 checkbox checkbox-gtk compiz compiz-core compiz-gnome
    compiz-plugins compiz-wrapper cpp-4.4 cups cups-bsd cups-client
    cups-common dbus dbus-x11 devicekit-disks devicekit-power dhcp3-client
    dhcp3-common dnsutils dpkg empathy empathy-doc erlang-base erlang-crypto
    erlang-inets erlang-mnesia erlang-public-key erlang-runtime-tools
    erlang-ssl erlang-syntax-tools erlang-xmerl evince evolution
    evolution-common evolution-documentation-en evolution-indicator
    evolution-plugins f-spot fglrx-modaliases firefox firefox-3.5
    firefox-3.5-branding firefox-3.5-gnome-support firefox-gnome-support
    foomatic-filters fuse-utils gcalctool gcc-4.4 gcc-4.4-base gdm
    ghostscript ghostscript-cups ghostscript-x gimp gimp-data glchess glines
    gnect gnibbles gnobots2 gnome-about gnome-blackjack gnome-desktop-data
    gnome-games gnome-games-common gnome-mahjongg gnome-power-manager
    gnome-screensaver gnome-settings-daemon gnome-sudoku gnometris gnomine
    gnotravex gnotski grub-common grub-pc gstreamer0.10-alsa
    gstreamer0.10-plugins-base gstreamer0.10-plugins-base-apps
    gstreamer0.10-x gtali gtk2-engines gtk2-engines-murrine
    gtk2-engines-pixbuf gzip hpijs hplip hplip-data iagno ibus ibus-gtk
    ifupdown initscripts jockey-common jockey-gtk kerneloops-daemon
    language-pack-en language-pack-en-base language-pack-fr
    language-pack-fr-base language-pack-gnome-en language-pack-gnome-en-base
    language-pack-gnome-fr language-pack-gnome-fr-base lftp libapparmor-perl
    libapparmor1 libasound2 libatasmart4 libaudiofile0 libavahi-client3
    libavahi-common-data libavahi-common3 libavahi-core6 libavahi-glib1
    libavahi-gobject0 libavahi-ui0 libbind9-50 libblkid1 libbrasero-media0
    libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libc6-i686 libcairo2
    libclutter-gtk-0.10-0 libcups2 libcupscgi1 libcupsdriver1 libcupsimage2
    libcupsmime1 libcupsppdc1 libdbus-1-3 libdecoration0
    libdevkit-power-gobject1 libdns50 libempathy-common libempathy-gtk-common
    libempathy-gtk28 libempathy30 libenchant1c2a libevdocument1 libevview1
    libexpat1 libfreetype6 libfuse2 libgail-common libgail18 libgcc1
    libgd2-xpm libgdiplus libgimp2.0 libgl1-mesa-dri libgl1-mesa-glx
    libglib2.0-0 libglib2.0-data libglu1-mesa libgnome-desktop-2-11 libgomp1
    libgs8 libgssapi-krb5-2 libgstreamer-plugins-base0.10-0 libgtk2.0-0
    libgtk2.0-bin libgtk2.0-common libgudev-1.0-0 libhtml-parser-perl
    libibus1 libindicate-gtk1 libindicate3 libisc50 libisccc50 libisccfg50
    libk5crypto3 libkpathsea4 libkrb5-3 libkrb5support0 liblcms1
    libldap-2.4-2 liblwres50 libmagickcore2 libmagickwand2 libmetacity0
    libmysqlclient16 libnautilus-extension1 libnspr4-0d libnss3-1d
    libpam-modules libpam-runtime libpam0g libpango1.0-0 libpango1.0-common
    libpcsclite1 libpng12-0 libpolkit-agent-1-0 libpolkit-backend-1-0
    libpolkit-gobject-1-0 libpoppler-glib4 libpoppler5 libpq5
    libpulse-browse0 libpulse-mainloop-glib0 libpulse0 libpurple-bin
    libpurple0 libpython2.6 libslp1 libsmbclient libssl0.9.8 libstdc++6
    libthai-data libthai0 libtiff4 libudev0 libuuid1 libvorbis0a
    libvorbisenc2 libvorbisfile3 libvte-common libvte9 libwbclient0
    libwebkit-1.0-2 libwebkit-1.0-common libwww-perl libxml2 libxml2-utils
    linux-firmware linux-generic linux-headers-generic linux-image-generic
    linux-libc-dev login mesa-utils metacity metacity-common mount
    mysql-common nautilus nautilus-data ntpdate nvidia-common obexd-client
    openoffice.org-base-core openoffice.org-calc openoffice.org-common
    openoffice.org-core openoffice.org-draw openoffice.org-emailmerge
    openoffice.org-gnome openoffice.org-gtk openoffice.org-impress
    openoffice.org-math openoffice.org-style-human openoffice.org-writer
    openssl passwd policykit-1 poppler-utils pulseaudio
    pulseaudio-esound-compat pulseaudio-module-bluetooth
    pulseaudio-module-gconf pulseaudio-module-udev pulseaudio-module-x11
    pulseaudio-utils python python-apport python-avahi python-gtkhtml2
    python-ibus python-libxml2 python-minimal python-problem-report
    python-ubuntuone-client python-ubuntuone-storageprotocol python-uno
    python-vte python2.6 python2.6-minimal rhythmbox rsync rsyslog
    samba-common samba-common-bin same-gnome smbclient software-center
    sreadahead sudo system-tools-backends sysv-rc sysvinit-utils
    telepathy-gabble totem totem-common totem-mozilla totem-plugins
    transmission-common transmission-gtk ttf-opensymbol tzdata ubufox
    ubuntu-xsplash-artwork ubuntuone-client ubuntuone-client-gnome udev
    uno-libs3 update-manager update-manager-core upstart ure util-linux
    uuid-runtime w3m wget x11-common x11-xserver-utils xorg xsane
    xsane-common xserver-common xserver-xorg xserver-xorg-core
    xserver-xorg-input-all xserver-xorg-video-all xserver-xorg-video-intel
    xsplash xulrunner-1.9.1 xulrunner-1.9.1-gnome-support yelp
    351 paquets mis à jour, 6 nouvellement installés, 2 à enlever et 0 non mis à jour.
    Il est nécessaire de télécharger 320Mo/321Mo d'archives. Après dépaquetage, 117Mo seront utilisés.
    Voulez-vous continuer ? [Y/n/?] y
    Écriture de l'information d'état étendu... Fait
    Prendre :1 http://cm.archive.ubuntu.com karmic-updates/main linux-headers-2.6.31-23 2.6.31-23.75 [9 547kB]
    Prendre :2 http://cm.archive.ubuntu.com karmic-updates/main libc-bin 2.10.1-0ubuntu19 [715kB]
    Prendre :3 http://cm.archive.ubuntu.com karmic-updates/main libc6 2.10.1-0ubuntu19 [3 760kB]
    4% [3 libc6 3750065/3 760kB 99%] 9 235B/s 9h 13min 2sPrendre :4 http://cm.archive.ubuntu.com karmic-updates/main libc6-i686 2.10.1-0ubuntu19 [1 199kB]
    Prendre :5 http://cm.archive.ubuntu.com karmic-updates/main libc6-i686 2.10.1-0ubuntu19 [1 199kB]
    Prendre :6 http://cm.archive.ubuntu.com karmic-updates/main libc-dev-bin 2.10.1-0ubuntu19 [207kB]
    Prendre :7 http://cm.archive.ubuntu.com karmic-updates/main libc6-dev 2.10.1-0ubuntu19 [4 762kB]
    Prendre :8 http://cm.archive.ubuntu.com karmic-updates/main linux-libc-dev 2.6.31-23.75 [757kB]
    Prendre :9 http://cm.archive.ubuntu.com karmic-updates/main libgomp1 4.4.1-4ubuntu9 [24,2kB]
    Prendre :10 http://cm.archive.ubuntu.com karmic-updates/main gcc-4.4-base 4.4.1-4ubuntu9 [113kB]
    Prendre :11 http://cm.archive.ubuntu.com karmic-updates/main libgcc1 1:4.4.1-4ubuntu9 [55,0kB]
    Prendre :12 http://cm.archive.ubuntu.com karmic-updates/main cpp-4.4 4.4.1-4ubuntu9 [3 544kB]
    Prendre :13 http://cm.archive.ubuntu.com karmic-updates/main gcc-4.4 4.4.1-4ubuntu9 [2 976kB]
    Prendre :14 http://cm.archive.ubuntu.com karmic-updates/main libstdc++6 4.4.1-4ubuntu9 [346kB]
    Prendre :15 http://cm.archive.ubuntu.com karmic-updates/main binutils 2.20-0ubuntu2 [1 599kB]
    Prendre :16 http://cm.archive.ubuntu.com karmic-updates/main linux-headers-2.6.31-23-generic 2.6.31-23.75 [688kB]
    Prendre :17 http://cm.archive.ubuntu.com karmic-updates/main linux-headers-generic 2.6.31.23.36 [3 482B]
    Prendre :18 http://cm.archive.ubuntu.com karmic-updates/main libpam-modules 1.1.0-2ubuntu1.1 [360kB]
    Prendre :19 http://cm.archive.ubuntu.com karmic-updates/main base-files 5.0.0ubuntu7.1 [68,4kB]
    Prendre :20 http://cm.archive.ubuntu.com karmic-updates/main dpkg 1.15.4ubuntu2.3 [2 124kB]
    Prendre :21 http://cm.archive.ubuntu.com karmic-updates/main gzip 1.3.12-8ubuntu1.1 [102kB]
    Prendre :22 http://cm.archive.ubuntu.com karmic-updates/main login 1:4.1.4.1-1ubuntu2.2 [312kB]
    Prendre :23 http://cm.archive.ubuntu.com karmic-updates/main mount 2.16-1ubuntu5.1 [168kB]
    Prendre :24 http://cm.archive.ubuntu.com karmic-updates/main util-linux 2.16-1ubuntu5.1 [511kB]
    Prendre :25 http://cm.archive.ubuntu.com karmic-updates/main bsdutils 1:2.16-1ubuntu5.1 [77,7kB]
    Prendre :26 http://cm.archive.ubuntu.com karmic-updates/main libpython2.6 2.6.4-0ubuntu3 [967kB]
    Prendre :27 http://cm.archive.ubuntu.com karmic-updates/main bzip2 1.0.5-3ubuntu0.1 [47,2kB]
    Prendre :28 http://cm.archive.ubuntu.com karmic-updates/main libbz2-1.0 1.0.5-3ubuntu0.1 [45,3kB]
    Prendre :29 http://cm.archive.ubuntu.com karmic-updates/main python2.6 2.6.4-0ubuntu3 [2 444kB]
    Prendre :30 http://cm.archive.ubuntu.com karmic-updates/main libssl0.9.8 0.9.8g-16ubuntu3.5 [2 927kB]
    Prendre :31 http://cm.archive.ubuntu.com karmic-updates/main python2.6-minimal 2.6.4-0ubuntu3 [1 348kB]
    Prendre :32 http://cm.archive.ubuntu.com karmic-updates/main python 2.6.4-0ubuntu1 [141kB]
    Prendre :33 http://cm.archive.ubuntu.com karmic-updates/main python-minimal 2.6.4-0ubuntu1 [15,2kB]
    Prendre :34 http://cm.archive.ubuntu.com karmic-updates/main sysvinit-utils 2.87dsf-4ubuntu12 [110kB]
    Prendre :35 http://cm.archive.ubuntu.com karmic-updates/main sysv-rc 2.87dsf-4ubuntu12 [78,6kB]
    Prendre :36 http://cm.archive.ubuntu.com karmic-updates/main libpam-runtime 1.1.0-2ubuntu1.1 [115kB]
    Prendre :37 http://cm.archive.ubuntu.com karmic-updates/main libpam0g 1.1.0-2ubuntu1.1 [124kB]
    Prendre :38 http://cm.archive.ubuntu.com karmic-updates/main passwd 1:4.1.4.1-1ubuntu2.2 [876kB]
    Prendre :39 http://cm.archive.ubuntu.com karmic-updates/main initscripts 2.87dsf-4ubuntu12 [72,5kB]
    Prendre :40 http://cm.archive.ubuntu.com karmic-updates/main upstart 0.6.3-11 [511kB]
    Prendre :41 http://cm.archive.ubuntu.com karmic-updates/main x11-common 1:7.4+3ubuntu10 [315kB]
    Prendre :42 http://cm.archive.ubuntu.com karmic-updates/main libavahi-common-data 0.6.25-1ubuntu5.3 [34,2kB]
    Prendre :43 http://cm.archive.ubuntu.com karmic-updates/main libavahi-common3 0.6.25-1ubuntu5.3 [23,5kB]
    Prendre :44 http://cm.archive.ubuntu.com karmic-updates/main libdbus-1-3 1.2.16-0ubuntu9.1 [131kB]
    Prendre :45 http://cm.archive.ubuntu.com karmic-updates/main libavahi-client3 0.6.25-1ubuntu5.3 [54,1kB]
    Prendre :46 http://cm.archive.ubuntu.com karmic-updates/main libgssapi-krb5-2 1.7dfsg~beta3-1ubuntu0.13 [110kB]
    Prendre :47 http://cm.archive.ubuntu.com karmic-updates/main libkrb5-3 1.7dfsg~beta3-1ubuntu0.13 [339kB]
    Prendre :48 http://cm.archive.ubuntu.com karmic-updates/main libkrb5support0 1.7dfsg~beta3-1ubuntu0.13 [41,4kB]
    Prendre :49 http://cm.archive.ubuntu.com karmic-updates/main libk5crypto3 1.7dfsg~beta3-1ubuntu0.13 [103kB]
    Prendre :50 http://cm.archive.ubuntu.com karmic-updates/main libcups2 1.4.1-5ubuntu2.7 [213kB]
    Prendre :51 http://cm.archive.ubuntu.com karmic-updates/main libcupscgi1 1.4.1-5ubuntu2.7 [32,9kB]
    Prendre :52 http://cm.archive.ubuntu.com karmic-updates/main libcupsdriver1 1.4.1-5ubuntu2.7 [22,1kB]
    Prendre :53 http://cm.archive.ubuntu.com karmic-updates/main libpng12-0 1.2.37-1ubuntu0.2 [172kB]
    Prendre :54 http://cm.archive.ubuntu.com karmic-updates/main libtiff4 3.8.2-13ubuntu0.6 [125kB]
    Prendre :55 http://cm.archive.ubuntu.com karmic-updates/main libcupsimage2 1.4.1-5ubuntu2.7 [52,4kB]
    Prendre :56 http://cm.archive.ubuntu.com karmic-updates/main libcupsmime1 1.4.1-5ubuntu2.7 [15,2kB]
    Prendre :57 http://cm.archive.ubuntu.com karmic-updates/main libcupsppdc1 1.4.1-5ubuntu2.7 [61,5kB]
    Prendre :58 http://cm.archive.ubuntu.com karmic-updates/main libldap-2.4-2 2.4.18-0ubuntu1.2 [196kB]
    Prendre :59 http://cm.archive.ubuntu.com karmic-updates/main libfreetype6 2.3.9-5ubuntu0.4 [395kB]
    Prendre :60 http://cm.archive.ubuntu.com karmic-updates/main liblcms1 1.18.dfsg-1ubuntu1.1 [103kB]
    Prendre :61 http://cm.archive.ubuntu.com karmic-updates/main libxml2 2.7.5.dfsg-1ubuntu1.2 [825kB]
    Prendre :62 http://cm.archive.ubuntu.com karmic-updates/main libpoppler5 0.12.0-0ubuntu2.3 [726kB]
    Prendre :63 http://cm.archive.ubuntu.com karmic-updates/main libslp1 1.2.1-7.5ubuntu0.1 [51,0kB]
    Prendre :64 http://cm.archive.ubuntu.com karmic-updates/main poppler-utils 0.12.0-0ubuntu2.3 [80,1kB]
    Prendre :65 http://cm.archive.ubuntu.com karmic-updates/main ghostscript 8.70.dfsg.1-0ubuntu3.1 [782kB]
    Prendre :66 http://cm.archive.ubuntu.com karmic-updates/main libgs8 8.70.dfsg.1-0ubuntu3.1 [2 331kB]
    Prendre :67 http://cm.archive.ubuntu.com karmic-updates/main cups-common 1.4.1-5ubuntu2.7 [1 448kB]
    Prendre :68 http://cm.archive.ubuntu.com karmic-updates/main cups-bsd 1.4.1-5ubuntu2.7 [37,3kB]
    Prendre :69 http://cm.archive.ubuntu.com karmic-updates/main adduser 3.110ubuntu7 [118kB]
    Prendre :70 http://cm.archive.ubuntu.com karmic-updates/main cups-client 1.4.1-5ubuntu2.7 [117kB]
    Prendre :71 http://cm.archive.ubuntu.com karmic-updates/main cups 1.4.1-5ubuntu2.7 [1 882kB]
    Prendre :72 http://cm.archive.ubuntu.com karmic-updates/main foomatic-filters 4.0.3-0ubuntu2.2 [139kB]
    Prendre :73 http://cm.archive.ubuntu.com karmic-updates/main hpijs 3.9.8-1ubuntu2.1 [415kB]
    Prendre :74 http://cm.archive.ubuntu.com karmic-updates/main hplip-data 3.9.8-1ubuntu2.1 [8 848kB]
    19% [74 hplip-data 6578809/8 848kB 74%] 13,2kB/s 5h 27min 15sPrendre :75 http://cm.archive.ubuntu.com karmic-updates/main libexpat1 2.0.1-4ubuntu1.1 [138kB]
    Prendre :76 http://cm.archive.ubuntu.com karmic-updates/main libglib2.0-0 2.22.3-0ubuntu1 [913kB]
    Prendre :77 http://cm.archive.ubuntu.com karmic-updates/main libpolkit-gobject-1-0 0.94-1ubuntu1.1 [43,9kB]
    Prendre :78 http://cm.archive.ubuntu.com karmic-updates/main libpolkit-backend-1-0 0.94-1ubuntu1.1 [68,9kB]
    Prendre :79 http://cm.archive.ubuntu.com karmic-updates/main dbus 1.2.16-0ubuntu9.1 [189kB]
    Prendre :80 http://cm.archive.ubuntu.com karmic-updates/main policykit-1 0.94-1ubuntu1.1 [37,6kB]
    Prendre :81 http://cm.archive.ubuntu.com karmic-updates/main hplip 3.9.8-1ubuntu2.1 [298kB]
    Prendre :82 http://cm.archive.ubuntu.com karmic-updates/main language-pack-en 1:9.10+20100604 [2 046B]
    Prendre :83 http://cm.archive.ubuntu.com karmic-updates/main language-pack-en-base 1:9.10+20100604 [898kB]
    Prendre :84 http://cm.archive.ubuntu.com karmic-updates/main language-pack-fr 1:9.10+20100604 [2 028B]
    Prendre :85 http://cm.archive.ubuntu.com karmic-updates/main language-pack-fr-base 1:9.10+20100604 [2 971kB]
    Prendre :86 http://cm.archive.ubuntu.com karmic-updates/main language-pack-gnome-en 1:9.10+20100604.2 [2 158B]
    Prendre :87 http://cm.archive.ubuntu.com karmic-updates/main language-pack-gnome-en-base 1:9.10+20100604.2 [2 081kB]
    Prendre :88 http://cm.archive.ubuntu.com karmic-updates/main language-pack-gnome-fr 1:9.10+20100604 [2 048B]
    Prendre :89 http://cm.archive.ubuntu.com karmic-updates/main language-pack-gnome-fr-base 1:9.10+20100604 [7 817kB]
    Prendre :90 http://cm.archive.ubuntu.com karmic-updates/main language-pack-gnome-fr-base 1:9.10+20100604 [7 817kB]
    Prendre :91 http://cm.archive.ubuntu.com karmic-updates/main language-pack-gnome-fr-base 1:9.10+20100604 [7 817kB]
    Err http://cm.archive.ubuntu.com karmic-updates/main language-pack-gnome-fr-base 1:9.10+20100604
    Connexion à cm.archive.ubuntu.com: 80 (91.189.88.30) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.88.30 80]
    Prendre :92 http://cm.archive.ubuntu.com karmic-updates/main linux-image-2.6.31-23-generic 2.6.31-23.75 [28,9MB]
    Prendre :93 https://ubuntu.com/security/notices karmic-security/main language-pack-gnome-fr-base 1:9.10+20100604 [7 817kB]
    Prendre :94 http://cm.archive.ubuntu.com karmic-updates/main linux-image-2.6.31-23-generic 2.6.31-23.75 [28,9MB]
    Prendre :95 https://ubuntu.com/security/notices karmic-security/main language-pack-gnome-fr-base 1:9.10+20100604 [7 817kB]
    Prendre :96 http://cm.archive.ubuntu.com karmic-updates/main linux-image-2.6.31-23-generic 2.6.31-23.75 [28,9MB]
    Prendre :97 https://ubuntu.com/security/notices karmic-security/main language-pack-gnome-fr-base 1:9.10+20100604 [7 817kB]
    Err https://ubuntu.com/security/notices karmic-security/main language-pack-gnome-fr-base 1:9.10+20100604
    Connexion à security.ubuntu.com: 80 (91.189.92.166) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.166 80]
    Err http://cm.archive.ubuntu.com karmic-updates/main linux-image-2.6.31-23-generic 2.6.31-23.75
    Connexion à cm.archive.ubuntu.com: 80 (91.189.88.40) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.88.40 80]
    Err https://ubuntu.com/security/notices karmic-security/main linux-image-2.6.31-23-generic 2.6.31-23.75
    Connexion à security.ubuntu.com: 80 (91.189.92.166) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.166 80]
    Err https://ubuntu.com/security/notices karmic-security/main openoffice.org-emailmerge 1:3.1.1-5ubuntu1.3
    Connexion à security.ubuntu.com: 80 (91.189.92.166) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.166 80]
    Err https://ubuntu.com/security/notices karmic-security/main x11-xserver-utils 7.4+2ubuntu3.1
    Connexion à security.ubuntu.com: 80 (91.189.92.166) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.166 80]
    Err http://cm.archive.ubuntu.com karmic-updates/main libuuid1 2.16-1ubuntu5.1
    Connexion à cm.archive.ubuntu.com: 80 (91.189.88.40) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.88.40 80]
    Err https://ubuntu.com/security/notices karmic-security/main libuuid1 2.16-1ubuntu5.1
    Connexion à security.ubuntu.com: 80 (91.189.92.166) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.166 80]
    Err https://ubuntu.com/security/notices karmic-security/main libblkid1 2.16-1ubuntu5.1
    Connexion à security.ubuntu.com: 80 (91.189.92.166) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.166 80]
    Err http://cm.archive.ubuntu.com karmic-updates/main libudev0 147~-6.1
    Connexion à cm.archive.ubuntu.com: 80 (91.189.88.40) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.88.40 80]
    Prendre :98 http://cm.archive.ubuntu.com karmic-updates/main dhcp3-client 3.1.2-1ubuntu7.3 [254kB]
    Err http://cm.archive.ubuntu.com karmic-updates/main dhcp3-client 3.1.2-1ubuntu7.3
    Connexion à cm.archive.ubuntu.com: 80 (91.189.92.170) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.170 80]
    Err https://ubuntu.com/security/notices karmic-security/main dhcp3-client 3.1.2-1ubuntu7.3
    Connexion à security.ubuntu.com: 80 (91.189.92.166) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.166 80]
    Err http://cm.archive.ubuntu.com karmic-updates/main dhcp3-common 3.1.2-1ubuntu7.3
    Connexion à cm.archive.ubuntu.com: 80 (91.189.92.170) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.170 80]
    Prendre :99 https://ubuntu.com/security/notices karmic-security/main dhcp3-common 3.1.2-1ubuntu7.3 [315kB]
    Prendre :100 http://cm.archive.ubuntu.com karmic-updates/main ifupdown 0.6.8ubuntu21.3 [58,5kB]
    Prendre :101 http://cm.archive.ubuntu.com karmic-updates/main ifupdown 0.6.8ubuntu21.3 [58,5kB]
    Prendre :102 https://ubuntu.com/security/notices karmic-security/main dhcp3-common 3.1.2-1ubuntu7.3 [315kB]
    Prendre :103 https://ubuntu.com/security/notices karmic-security/main dhcp3-common 3.1.2-1ubuntu7.3 [315kB]
    Err http://cm.archive.ubuntu.com karmic-updates/main ifupdown 0.6.8ubuntu21.3
    Échec de la connexion [IP : 91.189.88.31 80]
    Err https://ubuntu.com/security/notices karmic-security/main dhcp3-common 3.1.2-1ubuntu7.3
    Connexion à security.ubuntu.com: 80 (91.189.92.166) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.92.166 80]
    Err http://cm.archive.ubuntu.com karmic-updates/main libglib2.0-data 2.22.3-0ubuntu1
    Connexion à cm.archive.ubuntu.com: 80 (91.189.88.31) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.88.31 80]
    Err http://cm.archive.ubuntu.com karmic-updates/main rsyslog 4.2.0-2ubuntu5.1
    Connexion à cm.archive.ubuntu.com: 80 (91.189.88.31) impossible. - connect (113: Aucun chemin d'accès pour atteindre l'hôte cible) [IP : 91.189.88.31 80]
    Prendre :104 http://cm.archive.ubuntu.com karmic-updates/main fuse-utils 2.7.4-1.1ubuntu4.5 [21,8kB]
    Prendre :105 http://cm.archive.ubuntu.com karmic-updates/main libfuse2 2.7.4-1.1ubuntu4.5 [130kB]
    Prendre :106 http://cm.archive.ubuntu.com karmic-updates/main udev 147~-6.1 [430kB]
    Prendre :107 http://cm.archive.ubuntu.com karmic-updates/main wget 1.11.4-2ubuntu2.1 [242kB]
    Prendre :108 http://cm.archive.ubuntu.com karmic-updates/main sreadahead 1:0.90.3-2 [3 696B]
    Prendre :109 http://cm.archive.ubuntu.com karmic-updates/main ureadahead 0.90.3-2 [41,1kB]
    Prendre :110 http://cm.archive.ubuntu.com karmic-updates/main bash-completion 1:1.0-3ubuntu2.1 [104kB]
    Prendre :111 http://cm.archive.ubuntu.com karmic-updates/main dnsutils 1:9.6.1.dfsg.P1-3ubuntu0.4 [148kB]
    Prendre :112 http://cm.archive.ubuntu.com karmic-updates/main bind9-host 1:9.6.1.dfsg.P1-3ubuntu0.4 [63,3kB]
    Prendre :113 http://cm.archive.ubuntu.com karmic-updates/main libbind9-50 1:9.6.1.dfsg.P1-3ubuntu0.4 [33,7kB]
    Prendre :114 http://cm.archive.ubuntu.com karmic-updates/main libisccfg50 1:9.6.1.dfsg.P1-3ubuntu0.4 [45,1kB]
    Prendre :115 http://cm.archive.ubuntu.com karmic-updates/main libisccc50 1:9.6.1.dfsg.P1-3ubuntu0.4 [27,8kB]
    Prendre :116 http://cm.archive.ubuntu.com karmic-updates/main libisc50 1:9.6.1.dfsg.P1-3ubuntu0.4 [153kB]
    Prendre :117 http://cm.archive.ubuntu.com karmic-updates/main libdns50 1:9.6.1.dfsg.P1-3ubuntu0.4 [14,7kB]
    Prendre :118 http://cm.archive.ubuntu.com karmic-updates/main libdns53 1:9.6.1.dfsg.P1-3ubuntu0.4 [602kB]
    Prendre :119 http://cm.archive.ubuntu.com karmic-updates/main liblwres50 1:9.6.1.dfsg.P1-3ubuntu0.4 [45,9kB]
    Prendre :120 http://cm.archive.ubuntu.com karmic-updates/main libcairo2 1.8.8-2ubuntu1.1 [516kB]
    Prendre :121 http://cm.archive.ubuntu.com karmic-updates/main libpango1.0-common 1.26.0-1ubuntu0.1 [101kB]
    Prendre :122 http://cm.archive.ubuntu.com karmic-updates/main libthai-data 0.1.12-1ubuntu0.2 [194kB]
    Prendre :123 http://cm.archive.ubuntu.com karmic-updates/main libthai0 0.1.12-1ubuntu0.2 [38,9kB]
    Prendre :124 http://cm.archive.ubuntu.com karmic-updates/main libpango1.0-0 1.26.0-1ubuntu0.1 [296kB]
    Prendre :125 http://cm.archive.ubuntu.com karmic-updates/main libgail-common 2.18.3-1ubuntu2.2 [333kB]
    Prendre :126 http://cm.archive.ubuntu.com karmic-updates/main libgail18 2.18.3-1ubuntu2.2 [221kB]
    Prendre :127 http://cm.archive.ubuntu.com karmic-updates/main libgtk2.0-common 2.18.3-1ubuntu2.2 [481kB]
    Prendre :128 http://cm.archive.ubuntu.com karmic-updates/main gtk2-engines-pixbuf 2.18.3-1ubuntu2.2 [494kB]
    Prendre :129 http://cm.archive.ubuntu.com karmic-updates/main libgtk2.0-0 2.18.3-1ubuntu2.2 [2 352kB]
    24% [129 libgtk2.0-0 599304/2 352kB 25%] 1 847B/s 1d 12h 35min 18s
    ***************************************************************************************************************************************************************************************************************************************************************
    voici le resultat donné par la commande atp-cache search libssl-dev
    root@floryndas-laptop:/etc/init# apt-cache search libssl-dev
    libssl-dev - SSL development libraries, header files and documentation
    ****************************************************************************************************************

    ensuite j'ai reessayé la commande aptitude install libssl-dev et voici ce k jobtiens:
    root@floryndas-laptop:/etc/init# aptitude install libssl-dev
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances
    Lecture des informations d'état... Fait
    Lecture de l'information d'état étendu
    Initialisation de l'état des paquets... Fait
    Les NOUVEAUX paquets suivants vont être installés :
    libssl-dev zlib1g-dev{a}
    0 paquets mis à jour, 2 nouvellement installés, 0 à enlever et 168 non mis à jour.
    Il est nécessaire de télécharger 2 143ko d'archives. Après dépaquetage, 6 119ko seront utilisés.
    Voulez-vous continuer ? [Y/n/?] y
    Écriture de l'information d'état étendu... Fait
    Prendre :1 http://archive.ubuntu.com karmic/main zlib1g-dev 1:1.2.3.3.dfsg-13ubuntu3 [163kB]
    Prendre :2 http://archive.ubuntu.com karmic-updates/main libssl-dev 0.9.8g-16ubuntu3.5 [1 980kB]
    2 143ko téléchargés en 3min 51s (9 254o/s)
    Sélection du paquet zlib1g-dev précédemment désélectionné.
    (Lecture de la base de données... 115223 fichiers et répertoires déjà installés.)
    Dépaquetage de zlib1g-dev (à partir de .../zlib1g-dev_1%3a1.2.3.3.dfsg-13ubuntu3_i386.deb) ...
    Sélection du paquet libssl-dev précédemment désélectionné.
    Dépaquetage de libssl-dev (à partir de .../libssl-dev_0.9.8g-16ubuntu3.5_i386.deb) ...
    Traitement des actions différées (« triggers ») pour « man-db »...
    Paramétrage de zlib1g-dev (1:1.2.3.3.dfsg-13ubuntu3) ...
    Paramétrage de libssl-dev (0.9.8g-16ubuntu3.5) ...
    Lecture des listes de paquets... Fait
    Construction de l'arbre des dépendances
    Lecture des informations d'état... Fait
    Lecture de l'information d'état étendu
    Initialisation de l'état des paquets... Fait
    Écriture de l'information d'état étendu... Fait
    **********************************************************************************************************************************************************************************************************************************************************************************
    après cela j'ai redemarrer la machine et essayé à nouveau de compiler qmail et voila ce k j'obtiens(la meme erreur):
    root@floryndas-laptop:/home/floryndas# cd /usr/src/qmail/qmail-1.03/
    root@floryndas-laptop:/usr/src/qmail/qmail-1.03# make man && make setup check
    make: Rien à faire pour « man ».
    ./compile qmail-remote.c
    qmail-remote.c:36:26: error: /openssl/ssl.h: Aucun fichier ou dossier de ce type
    qmail-remote.c:37: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token
    qmail-remote.c: In function `ssl_timeoutread':
    qmail-remote.c:132: error: `ssl' undeclared (first use in this function)
    qmail-remote.c:132: error: (Each undeclared identifier is reported only once
    qmail-remote.c:132: error: for each function it appears in.)
    qmail-remote.c:134: error: `SSL_ERROR_WANT_READ' undeclared (first use in this function)
    qmail-remote.c:135: error: `SSL_ERROR_NONE' undeclared (first use in this function)
    qmail-remote.c: In function `ssl_timeoutwrite':
    qmail-remote.c:157: error: `ssl' undeclared (first use in this function)
    qmail-remote.c:159: error: `SSL_ERROR_WANT_WRITE' undeclared (first use in this function)
    qmail-remote.c:160: error: `SSL_ERROR_NONE' undeclared (first use in this function)
    qmail-remote.c: At top level:
    qmail-remote.c:177: error: expected `)' before `*' token
    qmail-remote.c:183: error: expected declaration specifiers or `...' before `X509_STORE_CTX'
    qmail-remote.c: In function `smtp':
    qmail-remote.c:346: error: `SSL_CTX' undeclared (first use in this function)
    qmail-remote.c:346: error: `ctx' undeclared (first use in this function)
    qmail-remote.c:400: error: `ssl' undeclared (first use in this function)
    qmail-remote.c:404: error: `SSL_FILETYPE_PEM' undeclared (first use in this function)
    qmail-remote.c:409: error: `client_cert_cb' undeclared (first use in this function)
    qmail-remote.c:415: error: `NULL' undeclared (first use in this function)
    qmail-remote.c:418: error: `SSL_VERIFY_PEER' undeclared (first use in this function)
    qmail-remote.c:454: error: `X509_V_OK' undeclared (first use in this function)
    qmail-remote.c:462: error: `NID_commonName' undeclared (first use in this function)
    make: *** [qmail-remote.o] Erreur 1

    merci d'avance
    0
  7. ccmga Messages postés 18 Date d'inscription   Statut Membre Dernière intervention  
     
    pour installer qmail avec vpopmail à partir des fichiers qmailrocks il y a un tuto ici avec toutes les étapes :

    http://www.tuto-developpement.fr/2014/06/installation-de-qmail-sur-une-distribution-debian/
    0