Installer le simulateur zebra sous fedora

obiang6 Messages postés 7 Statut Membre -  
 guvara -
Bonjour à tous !!
J'ai vraiment besoin d'aide, je désire installer le simulateur zebra sur ma machine fedora core, j'ai tellement cherché à vouloir le télécharger mais hélas !! si vous pouvez m'aider ou le télécharger ?!! et comment l'installer ?!! je n'arrive pas non plus à le voir dans mes paquetage.

Merci d'avance !!

7 réponses

  1. obiang6
     
    Bonjour et merci beaucoup à toi kgb75 !!
    J'ai finallement pu télécharger zebra à l'endroi que tu m'as spécifié , mais pour l'installation j'ai encors de problemes
    la commande
    tar zxvf zebra-094.tar.gz c'est bien déroulé et aussi
    cd zebra-0.94"
    par contre les commandes:

    ./configure m'a renvoyé une erreur dont voici le contenu: "configure: error: no acceptable C compiler found in $PATH "

    make : " pas de cible spécifié et aucun makefile n'a été trouvé. Arret "

    make install : " pas de règles pour fabriquer la cible 'install'. Arret "

    pourquoi ces messages ? ce zebra n'est-il pas compatible avec mon Fedora core ?

    ais-je oublié de faire une chose importante? si oui laquelle?

    merci de bien venir à mon aide !
    0
  2. [Dal] Messages postés 6122 Date d'inscription   Statut Contributeur Dernière intervention   1 108
     
    Ton système n'a pas de compilateur C (ou n'a pas le bon).

    gcc est le compilateur C le plus commun.

    Tape la commande "whereis gcc" (sans les guillemets :)

    Si tu as gcc, tu devrais avoir quelque chose comme : "gcc: /usr/bin/gcc /usr/share/man/man1/gcc.1.gz"

    Si tu a seulement "gcc:" sans aucun chemin à la suite, celà veux dire que du dois installer ce programme.

    Installe gcc avec le rpm de ta distribution et réessaye.

    Dal

    N.B. : pour ton info : tu as téléchargé un code source de logiciel écrit en langage C. Pour l'utiliser tu dois le compiler en code objet, qui produira un code exécutable pour ta machine. Pour celà il te faut un compilateur.
    0
  3. mohamed
     
    bonjour ok, je te donne une site de telechargement des packages de linux (rpm), http//:rpm.pbone.net, apres voici le lien pour savoir comment l installer http://pmassol.net/zebra.html#SEC_Top
    0
  4. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  5. jeanbi Messages postés 15399 Date d'inscription   Statut Contributeur Dernière intervention   2 383
     
    bonsoir,
    stop avec fedora il faut se servir de yum pour charger ce qui manque
    sinon ça ne le fait pas
    a+
    0
  6. Fr7080
     
    Bonjour,

    J'ai également essayé d'installer zebra.
    la décompression par tar fonctionne
    le ./configure également, seulement j'ai énormément de "no" lors des checking

    checking whether we are cross compiling... no
    checking for gcc option to accept ANSI C... none needed
    checking for AIX... no
    checking stropts.h usability... no
    checking stropts.h presence... no
    checking for stropts.h... no
    checking sys/conf.h usability... no
    checking sys/conf.h presence... no
    checking for sys/conf.h... no
    checking sys/ksym.h usability... no
    checking sys/ksym.h presence... no
    checking for sys/ksym.h... no
    checking sys/sockio.h usability... no
    checking sys/sockio.h presence... no
    checking for sys/sockio.h... no
    checking net/if_dl.h usability... no
    checking net/if_dl.h presence... no
    checking for net/if_dl.h... no
    checking net/if_var.h usability... no
    checking net/if_var.h presence... no
    checking for net/if_var.h... no
    checking kvm.h usability... no
    checking kvm.h presence... no
    checking for kvm.h... no
    checking net/netopt.h usability... no
    checking net/netopt.h presence... no
    checking for net/netopt.h... no
    checking netinet/in_var.h usability... no
    checking netinet/in_var.h presence... no
    checking for netinet/in_var.h... no
    checking netinet/in6_var.h usability... no
    checking netinet/in6_var.h presence... no
    checking for netinet/in6_var.h... no
    checking netinet/in6.h usability... no
    checking netinet/in6.h presence... no
    checking for netinet/in6.h... no
    checking inet/nd.h usability... no
    checking inet/nd.h presence... no
    checking for inet/nd.h... no
    checking netinet6/nd6.h usability... no
    checking netinet6/nd6.h presence... no
    checking for netinet6/nd6.h... no
    checking libutil.h usability... no
    checking libutil.h presence... no
    checking for libutil.h... no
    checking whether byte ordering is bigendian... no
    checking for strlcat... no
    checking for strlcpy... no
    checking for setproctitle... no
    checking for setproctitle in -lutil... no
    checking for res_init in -lresolv... no
    checking for __inet_ntop... no
    checking for __inet_pton... no
    checking for __inet_aton... no
    checking whether struct sockaddr has a sa_len field... no
    checking whether struct sockaddr_in has a sin_len field... no
    checking whether struct sockaddr_un has a sun_len field... no
    checking whether struct sockaddr_dl exist... no
    checking whether struct ifaliasreq exist... no
    checking whether struct if6_aliasreq exist... no
    checking whether struct rt_addrinfo exist... no

    Ensuite lors de la commande make j'ai des erreurs, les voici :

    make all-recursive
    make[1]: Entering directory `/home/Francois/Desktop/TFE/zebra-0.95'
    Making all in lib
    make[2]: Entering directory `/home/Francois/Desktop/TFE/zebra-0.95/lib'
    echo '' >version.c
    echo 'char *host_name = "";' >>version.c
    source='version.c' object='version.o' libtool=no \
    depfile='.deps/version.Po' tmpdepfile='.deps/version.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'version.c' || echo './'`version.c
    rm -f libzebra.a
    ar cru libzebra.a version.o network.o pid_output.o getopt.o getopt1.o daemon.o print_version.o checksum.o vector.o linklist.o vty.o command.o sockunion.o prefix.o thread.o if.o memory.o buffer.o table.o hash.o filter.o routemap.o distribute.o stream.o str.o log.o plist.o zclient.o sockopt.o smux.o md5.o keychain.o pqueue.o
    ranlib libzebra.a
    make[2]: Leaving directory `/home/Francois/Desktop/TFE/zebra-0.95/lib'
    Making all in zebra
    make[2]: Entering directory `/home/Francois/Desktop/TFE/zebra-0.95/zebra'
    source='rtadv.c' object='rtadv.o' libtool=no \
    depfile='.deps/rtadv.Po' tmpdepfile='.deps/rtadv.TPo' \
    depmode=gcc3 /bin/sh ../depcomp \
    gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -DMULTIPATH_NUM=1 -I. -I. -I.. -I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'rtadv.c' || echo './'`rtadv.c
    rtadv.c: In function ‘rtadv_recv_packet’:
    rtadv.c:123: error: dereferencing pointer to incomplete type
    rtadv.c:124: error: dereferencing pointer to incomplete type
    rtadv.c:124: error: dereferencing pointer to incomplete type
    rtadv.c: In function ‘rtadv_send_packet’:
    rtadv.c:149: error: invalid application of ‘sizeof’ to incomplete type ‘struct in6_pktinfo’
    rtadv.c:194: warning: operation on ‘node’ may be undefined
    rtadv.c:268: error: dereferencing pointer to incomplete type
    rtadv.c:269: error: dereferencing pointer to incomplete type
    rtadv.c: In function ‘rtadv_prefix_lookup’:
    rtadv.c:476: warning: operation on ‘node’ may be undefined
    rtadv.c: In function ‘rtadv_config_write’:
    rtadv.c:977: warning: operation on ‘node’ may be undefined
    rtadv.c:982: warning: pointer targets in passing argument 3 of ‘inet_ntop’ differ in signedness
    make[2]: *** [rtadv.o] Error 1
    make[2]: Leaving directory `/home/Francois/Desktop/TFE/zebra-0.95/zebra'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/Francois/Desktop/TFE/zebra-0.95'
    make: *** [all] Error 2

    Voilà si quelqu'un voit de quoi il s'agit... merci d'avance
    0
  7. Fr7080
     
    Zebra c'est du passé, on parle de Quagga maintenant, qui est d'ailleurs dérivé de zebra

    #yum install quagga

    et voilà c'est installé
    0