IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Linux Discussion :

Problème d'installation du logiciel CCNx


Sujet :

Linux

  1. #1
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut Problème d'installation du logiciel CCNx
    Bonjour,
    Je travaille sur un projet industriel sur les réseaux CCN (Content Centric Network) et je souhaite installer le logiciel CCNx qui va me servir de banc de test pour simuler des trafic CCN pour analyse. Mon problème est le suivant: pour la phase d'installation, lorsque je fais un ./configure étant en root et avec tous les droits d'exécution j'obtiens le message suivant: ./configure: 15: ./configure: ./configure: Permission denied
    voici le contenu du dossier en question:
    thurel@thurel-Compaq-Presario-A900-Notebook-PC:~/Projet_Industriel/dipit2/ccnx-0.4.2$ ls -l
    total 1960
    drwx------ 6 thurel thurel 4096 Jan 8 16:45 android
    drwx------ 8 thurel thurel 4096 Jan 8 16:45 apps
    drwx------ 2 thurel thurel 4096 Jan 8 16:45 CCNX
    -rw-r--r-- 1 thurel thurel 1625703 Oct 25 16:30 ccnx_bin_32bits.tar.gz
    -rwxr-xr-x 1 thurel thurel 513 Dec 7 2011 configure
    drwx------ 11 thurel thurel 4096 Jan 8 16:45 csrc
    drwx------ 7 thurel thurel 4096 Jan 8 16:46 doc
    drwx------ 3 thurel thurel 4096 Jan 8 16:46 experiments
    drwx------ 6 thurel thurel 4096 Jan 8 16:46 javasrc
    -rw-r--r-- 1 thurel thurel 40606 Dec 7 2011 LICENSE
    -rw-r--r-- 1 thurel thurel 4199 Dec 8 2011 Makefile
    -rw-r--r-- 1 thurel thurel 42853 Dec 8 2011 MANIFEST
    -rw-r--r-- 1 thurel thurel 79847 Dec 8 2011 MD5
    -rw-r--r-- 1 thurel thurel 43503 Dec 8 2011 NEWS
    -rw-r--r-- 1 thurel thurel 9856 Dec 7 2011 NOTICES
    -rw-r--r-- 1 thurel thurel 250 Jul 10 2012 prepa.sh
    -rw-r--r-- 1 thurel thurel 14478 Dec 12 22:48 README
    drwx------ 3 thurel thurel 4096 Jan 8 16:46 schema
    -rw-r--r-- 1 thurel thurel 88406 Dec 8 2011 SHA1
    thurel@thurel-Compaq-Presario-A900-Notebook-PC:~/Projet_Industriel/dipit2/ccnx-0.4.2$
    .

    Quelqu'un aurait-il une solution pour mon problème ? Merci

  2. #2
    Invité
    Invité(e)
    Par défaut
    Salut,

    La ligne 15 du configure principal se déplace dans un autre répertoire et execute le configure dans ce dernier

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    cd csrc && ./configure "$@"
    Peux-tu donc vérifier les permissions de csrc/configure?

  3. #3
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Merci, justement dans csrc/configure je n'avais aucun droit d'exécution, je me suis donc donné les droits d'exécution et le script s'est donc bien exécuté. Merci

  4. #4
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Lorsque je fais un make j'ai des erreurs comme suit juste à la fin de l'exécution:
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2# make
    for i in doc/manpages doc/technical csrc schema javasrc apps `cat local.subdirs 2>/dev/null || :`; do \
    (cd "$i" && pwd && make default) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages'
    : To build the documentation: make documentation
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical'
    : To build the documentation: make documentation
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc'
    test -d include/ccn || (test -d ../include/ccn && mkdir -p include && ln -s ../../include/ccn include/ccn)
    for i in lib ccnd libexec cmd util tests; do \
    (cd "$i" && pwd && make -f ../conf.mk -f dir.mk -f ../subr.mk "COPT=-g" CFLAGS='$(REAL_CFLAGS)' SRCDIR=..//$i default) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_client.o ccn_client.c
    ccn_client.c: In function ‘ccn_is_final_block’:
    ccn_client.c:2392:12: warning: variable ‘ccnb_size’ set but not used [-Wunused-but-set-variable]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_charbuf.o ccn_charbuf.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_indexbuf.o ccn_indexbuf.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_coding.o ccn_coding.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_dtag_table.o ccn_dtag_table.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_schedule.o ccn_schedule.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_matrix.o ccn_matrix.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_extend_dict.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_buf_decoder.o ccn_buf_decoder.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_uri.o ccn_uri.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_buf_encoder.o ccn_buf_encoder.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_bloom.o ccn_bloom.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_name_util.o ccn_name_util.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_face_mgmt.o ccn_face_mgmt.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_reg_mgmt.o ccn_reg_mgmt.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_digest.c
    ccn_digest.c:21:25: fatal error: openssl/sha.h: No such file or directory
    compilation terminated.
    make[2]: *** [ccn_digest.o] Error 1
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    make[1]: *** [default] Error 1
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc'
    make: *** [default] Error 1
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2#
    Comment puis je remédier à ce problème ? Merci

  5. #5
    Invité
    Invité(e)
    Par défaut
    ccn_digest.c:21:25: fatal error: openssl/sha.h: No such file or directory
    Comme l'erreur l'indique il ne trouve pas le fichier mentionné. Quelle distribution linux utilises-tu?

  6. #6
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    j'utilise ubuntu dernière version

  7. #7
    Invité
    Invité(e)
    Par défaut
    Ok,

    le fichier sha.h est fourni par le package libssl-dev

    Peux-tu vérifier si ce package est bien installé?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    dpkg -l | grep libssl-dev
    S'il n'est pas installé,

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    apt-get install libssl-dev

  8. #8
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Merci pour ces commandes, je l'ai fait et j'ai progrsé dans l'exécution avec make, un problème supplémentaire apparait ici :
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2# make
    for i in doc/manpages doc/technical csrc schema javasrc apps `cat local.subdirs 2>/dev/null || :`; do \
    (cd "$i" && pwd && make default) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages'
    : To build the documentation: make documentation
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical'
    : To build the documentation: make documentation
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc'
    test -d include/ccn || (test -d ../include/ccn && mkdir -p include && ln -s ../../include/ccn include/ccn)
    for i in lib ccnd libexec cmd util tests; do \
    (cd "$i" && pwd && make -f ../conf.mk -f dir.mk -f ../subr.mk "COPT=-g" CFLAGS='$(REAL_CFLAGS)' SRCDIR=..//$i default) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_digest.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_interest.o ccn_interest.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_keystore.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_seqwriter.o ccn_seqwriter.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_signing.c
    ccn_signing.c: In function ‘ccn_merkle_root_hash’:
    ccn_signing.c:115:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_sockcreate.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_traverse.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_match.o ccn_match.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o hashtb.o hashtb.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_merkle_path_asn1.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_sockaddrutil.o ccn_sockaddrutil.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_setup_sockaddr_un.o ccn_setup_sockaddr_un.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_bulkdata.o ccn_bulkdata.c
    ccn_bulkdata.c: In function ‘express_bulkdata_interest’:
    ccn_bulkdata.c:194:9: warning: variable ‘addl_comps’ set but not used [-Wunused-but-set-variable]
    ccn_bulkdata.c:193:9: warning: variable ‘prefix_comps’ set but not used [-Wunused-but-set-variable]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_versioning.o ccn_versioning.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_header.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c ccn_fetch.c
    ar crus libccn.a ccn_client.o ccn_charbuf.o ccn_indexbuf.o ccn_coding.o ccn_dtag_table.o ccn_schedule.o ccn_matrix.o ccn_extend_dict.o ccn_buf_decoder.o ccn_uri.o ccn_buf_encoder.o ccn_bloom.o ccn_name_util.o ccn_face_mgmt.o ccn_reg_mgmt.o ccn_digest.o ccn_interest.o ccn_keystore.o ccn_seqwriter.o ccn_signing.o ccn_sockcreate.o ccn_traverse.o ccn_match.o hashtb.o ccn_merkle_path_asn1.o ccn_sockaddrutil.o ccn_setup_sockaddr_un.o ccn_bulkdata.o ccn_versioning.o ccn_header.o ccn_fetch.o
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o hashtbtest.o hashtbtest.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o hashtbtest hashtbtest.o -L../lib -lccn
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o matrixtest.o matrixtest.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o matrixtest matrixtest.o -L../lib -lccn
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o skel_decode_test.o skel_decode_test.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o skel_decode_test skel_decode_test.o -L../lib -lccn
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o smoketestclientlib.o smoketestclientlib.c
    smoketestclientlib.c: In function ‘main’:
    smoketestclientlib.c:107:9: warning: variable ‘rep’ set but not used [-Wunused-but-set-variable]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o smoketestclientlib smoketestclientlib.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o encodedecodetest.o encodedecodetest.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o encodedecodetest encodedecodetest.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c signbenchtest.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o signbenchtest signbenchtest.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o basicparsetest.o basicparsetest.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o basicparsetest basicparsetest.o -L../lib -lccn -lcrypto
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd'
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnd_main.o ccnd_main.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnd.o ccnd.c
    ccnd.c: In function ‘ccnd_req_newface’:
    ccnd.c:2469:9: warning: variable ‘fd’ set but not used [-Wunused-but-set-variable]
    ccnd.c: In function ‘next_child_at_level’:
    ccnd.c:3560:9: warning: variable ‘d’ set but not used [-Wunused-but-set-variable]
    ccnd.c: In function ‘process_incoming_interest’:
    ccnd.c:3638:10: warning: variable ‘ttt’ set but not used [-Wunused-but-set-variable]
    ccnd.c:3613:25: warning: unused variable ‘hash_stop’ [-Wunused-variable]
    ccnd.c:3613:13: warning: unused variable ‘hash_start’ [-Wunused-variable]
    ccnd.c:3598:12: warning: variable ‘namesize’ set but not used [-Wunused-but-set-variable]
    ccnd.c: In function ‘process_input’:
    ccnd.c:4301:13: warning: variable ‘dres’ set but not used [-Wunused-but-set-variable]
    ccnd.c: In function ‘dipit_nfe_create’:
    ccnd.c:5225:5: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
    In file included from ccnd.c:34:0:
    /usr/include/string.h:128:14: note: expected ‘char * __restrict__’ but argument is of type ‘unsigned char *’
    ccnd.c:5228:5: warning: implicit declaration of function ‘piti_bloom_calc’ [-Wimplicit-function-declaration]
    ccnd.c:5228:27: warning: assignment makes pointer from integer without a cast [enabled by default]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnd_msg.o ccnd_msg.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnd_stats.o ccnd_stats.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnd_internal_client.o ccnd_internal_client.c
    ccnd_internal_client.c: In function ‘ccnd_init_internal_keystore’:
    ccnd_internal_client.c:417:12: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o binary_bloom.o binary_bloom.c
    binary_bloom.c: In function ‘bloom_size’:
    binary_bloom.c:90:15: warning: variable ‘hashes’ set but not used [-Wunused-but-set-variable]
    binary_bloom.c: In function ‘bloom_update’:
    binary_bloom.c:107:3: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
    binary_bloom.c:107:18: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
    binary_bloom.c:107:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
    binary_bloom.c:107:3: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
    binary_bloom.c: In function ‘bloom_calc’:
    binary_bloom.c:137:18: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
    binary_bloom.c:137:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
    binary_bloom.c:137:3: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
    binary_bloom.c: In function ‘bloom_seek’:
    binary_bloom.c:163:15: warning: assignment makes integer from pointer without a cast [enabled by default]
    binary_bloom.c: In function ‘bloom_pointEst’:
    binary_bloom.c:179:18: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
    binary_bloom.c:179:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
    binary_bloom.c:179:3: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
    binary_bloom.c: At top level:
    binary_bloom.c:190:1: warning: ‘hashtb_hash’ defined but not used [-Wunused-function]
    binary_bloom.c: In function ‘bloom_seek’:
    binary_bloom.c:163:15: warning: ‘hash_res’ is used uninitialized in this function [-Wuninitialized]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnd_piti.o ccnd_piti.c
    ccnd_piti.c: In function ‘piti_rst’:
    ccnd_piti.c:59:3: warning: statement with no effect [-Wunused-value]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o counting_bloom.o counting_bloom.c
    counting_bloom.c: In function ‘CM_Update’:
    counting_bloom.c:110:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
    In file included from counting_bloom.h:7:0,
    from counting_bloom.c:6:
    /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
    counting_bloom.c: In function ‘CM_calc’:
    counting_bloom.c:149:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
    In file included from counting_bloom.h:7:0,
    from counting_bloom.c:6:
    /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
    counting_bloom.c: In function ‘CM_PointEst’:
    counting_bloom.c:168:3: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
    In file included from counting_bloom.h:7:0,
    from counting_bloom.c:6:
    /usr/include/string.h:399:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
    counting_bloom.c: At top level:
    counting_bloom.c:203:1: warning: ‘hashtb_hash’ defined but not used [-Wunused-function]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o prng.o prng.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnd ccnd_main.o ccnd.o ccnd_msg.o ccnd_stats.o ccnd_internal_client.o binary_bloom.o ccnd_piti.o counting_bloom.o prng.o -L../lib -lccn -lm -lcrypto
    sh ./ccnd_built.sh
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccndsmoketest.o ccndsmoketest.c
    ccndsmoketest.c: In function ‘main’:
    ccndsmoketest.c:220:13: warning: variable ‘wlen’ set but not used [-Wunused-but-set-variable]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccndsmoketest ccndsmoketest.o -L../lib -lccn
    sed -e 's@/bin/sh@'`which sh`'@g' ccnd-init-keystore-helper.sh > ccnd-init-keystore-helper
    chmod +x ccnd-init-keystore-helper
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec'
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccndc.o ccndc.c
    ccndc.c: In function ‘query_srv’:
    ccndc.c:635:63: warning: variable ‘weight’ set but not used [-Wunused-but-set-variable]
    ccndc.c:635:30: warning: variable ‘ttl’ set but not used [-Wunused-but-set-variable]
    ccndc.c:635:19: warning: variable ‘class’ set but not used [-Wunused-but-set-variable]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccndc ccndc.o -L../lib -lccn -lresolv -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o udplink.o udplink.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o udplink udplink.o -L../lib -lccn -lcrypto
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd'
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_ccnbtoxml.o ccn_ccnbtoxml.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccn_ccnbtoxml ccn_ccnbtoxml.o -L../lib -lccn
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_splitccnb.o ccn_splitccnb.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccn_splitccnb ccn_splitccnb.o -L../lib -lccn
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccndumpnames.o ccndumpnames.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccndumpnames ccndumpnames.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnnamelist.o ccnnamelist.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnnamelist ccnnamelist.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnrm.o ccnrm.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnrm ccnrm.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnls.o ccnls.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnls ccnls.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnslurp.o ccnslurp.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnslurp ccnslurp.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnbx.o ccnbx.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnbx ccnbx.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccncat.o ccncat.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccncat ccncat.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnbasicconfig.o ccnbasicconfig.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnbasicconfig ccnbasicconfig.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnsendchunks.o ccnsendchunks.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnsendchunks ccnsendchunks.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccncatchunks.o ccncatchunks.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccncatchunks ccncatchunks.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccncatchunks2.o ccncatchunks2.c
    ccncatchunks2.c: In function ‘is_final’:
    ccncatchunks2.c:362:12: warning: variable ‘ccnb_size’ set but not used [-Wunused-but-set-variable]
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccncatchunks2 ccncatchunks2.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnput.o ccnput.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnput ccnput.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnget.o ccnget.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnget ccnget.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnhexdumpdata.o ccnhexdumpdata.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnhexdumpdata ccnhexdumpdata.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnseqwriter.o ccnseqwriter.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnseqwriter ccnseqwriter.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccnsimplecat.o ccnsimplecat.c
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -o ccnsimplecat ccnsimplecat.o -L../lib -lccn -lcrypto
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccn_xmltoccnb.o ccn_xmltoccnb.c
    ccn_xmltoccnb.c:27:19: fatal error: expat.h: No such file or directory
    compilation terminated.
    make[2]: *** [ccn_xmltoccnb.o] Error 1
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd'
    make[1]: *** [default] Error 1
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc'
    make: *** [default] Error 1
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2#

  9. #9
    Invité
    Invité(e)
    Par défaut
    A nouveau un fichier header manquant

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    ccn_xmltoccnb.c:27:19: fatal error: expat.h: No such file or directory
    Ce fichier est fourni par le package libexpat1-dev
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    apt-file search expat.h
    autoconf-archive: /usr/share/doc/autoconf-archive/html/ax_005flib_005fexpat.html
    firefox-dev: /usr/include/firefox/expat.h
    kompozer-dev: /usr/include/kompozer/expat/expat.h
    libexpat1-dev: /usr/include/expat.h
    libexpat1-dev: /usr/share/doc/libexpat1-dev/expat.html/expat.png
    libexpat1-dev: /usr/share/doc/libexpat1-dev/expat.html/index.html
    libexpat1-dev: /usr/share/doc/libexpat1-dev/expat.html/reference.html
    libexpat1-dev: /usr/share/doc/libexpat1-dev/expat.html/style.css
    libexpat1-dev: /usr/share/doc/libexpat1-dev/expat.html/valid-xhtml10.png
    libexpat1-dev: /usr/share/doc/libexpat1-dev/expat.html/xmlwf.1.gz
    libexpat1-dev: /usr/share/doc/libexpat1-dev/expat.html/xmlwf.sgml.gz
    libinsighttoolkit3-dev: /usr/include/InsightToolkit/Utilities/expat/expat.h
    libpoco-dev: /usr/include/Poco/XML/expat.h
    libvtk5-dev: /usr/include/vtk-5.8/vtk_expat.h
    libxmltok1-dev: /usr/share/doc/libxmltok1-dev/expat.html
    paraview-dev: /usr/include/paraview/vtk_expat.h
    pypy-doc: /usr/share/doc/pypy-doc/html/config/objspace.usemodules.pyexpat.html
    python2.7-dbg: /usr/include/python2.7_d/pyexpat.h
    python2.7-dev: /usr/include/python2.7/pyexpat.h
    python2.7-doc: /usr/share/doc/python2.7/html/library/pyexpat.html
    python3.2-dbg: /usr/include/python3.2dmu/pyexpat.h
    python3.2-dev: /usr/include/python3.2mu/pyexpat.h
    python3.2-doc: /usr/share/doc/python3.2/html/library/pyexpat.html
    slang-expat: /usr/share/slsh/local-packages/help/expat.hlp
    tads3-doc: /usr/share/doc/tads3-doc/html/t3rexpat.htm
    thunderbird-dev: /usr/include/thunderbird-11.0.1/expat.h
    thunderbird-dev: /usr/include/thunderbird/expat.h

  10. #10
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    J'ai suivi tes conseils pour les autres erreurs mais pour le package libcap ça ne marche pas, voici la suite de l'exécution:
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2# make
    for i in doc/manpages doc/technical csrc schema javasrc apps `cat local.subdirs 2>/dev/null || :`; do \
    (cd "$i" && pwd && make default) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages'
    : To build the documentation: make documentation
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical'
    : To build the documentation: make documentation
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc'
    test -d include/ccn || (test -d ../include/ccn && mkdir -p include && ln -s ../../include/ccn include/ccn)
    for i in lib ccnd libexec cmd util tests; do \
    (cd "$i" && pwd && make -f ../conf.mk -f dir.mk -f ../subr.mk "COPT=-g" CFLAGS='$(REAL_CFLAGS)' SRCDIR=..//$i default) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd'
    make[2]: Nothing to be done for `default'.
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec'
    make[2]: Nothing to be done for `default'.
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd'
    cc -g -Wall -Wpointer-arith -Wreturn-type -Wstrict-prototypes -I../include -D_REENTRANT -fPIC -c -o ccndumppcap.o ccndumppcap.c
    ccndumppcap.c:34:18: fatal error: pcap.h: No such file or directory
    compilation terminated.
    make[2]: *** [ccndumppcap.o] Error 1
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd'
    make[1]: *** [default] Error 1
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc'
    make: *** [default] Error 1
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2#

  11. #11
    Invité
    Invité(e)
    Par défaut
    As-tu bien installé le package suivant?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    apt-file search  pcap.h
    fp-docs-2.4.4: /usr/share/doc/fp-docs/2.4.4/rtl/linux/cap_setpcap.html
    libfreerdp-dev: /usr/include/freerdp/utils/pcap.h
    libpcap0.8-dev: /usr/include/pcap.h
    libpcap0.8-dev: /usr/include/pcap/pcap.h

  12. #12
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Il est bien installé selon le résultat suivant:
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2# apt-file search pcap.h
    fp-docs-2.6.0: /usr/share/doc/fp-docs/2.6.0/rtl/linux/cap_setpcap.html
    libfreerdp-dev: /usr/include/freerdp/utils/pcap.h
    libpcap0.8-dev: /usr/include/pcap.h
    libpcap0.8-dev: /usr/include/pcap/pcap.h
    libwireshark-data: /usr/share/wireshark/dumpcap.html
    libwireshark-data: /usr/share/wireshark/text2pcap.html
    libwiretap-dev: /usr/include/wireshark/wiretap/libpcap.h
    linux-doc: /usr/share/doc/linux-doc/html/media_api/vidioc-cropcap.html
    linux-headers-3.5.0-17: /usr/src/linux-headers-3.5.0-17/include/linux/mfd/ezx-pcap.h
    linux-headers-3.5.0-17-generic: /usr/src/linux-headers-3.5.0-17-generic/include/config/ezx/pcap.h
    linux-headers-3.5.0-17-generic: /usr/src/linux-headers-3.5.0-17-generic/include/config/input/pcap.h
    linux-headers-3.5.0-17-generic: /usr/src/linux-headers-3.5.0-17-generic/include/config/rtc/drv/pcap.h
    linux-headers-3.5.0-17-generic: /usr/src/linux-headers-3.5.0-17-generic/include/config/touchscreen/pcap.h
    linux-headers-3.5.0-17-lowlatency: /usr/src/linux-headers-3.5.0-17-lowlatency/include/config/ezx/pcap.h
    linux-headers-3.5.0-17-lowlatency: /usr/src/linux-headers-3.5.0-17-lowlatency/include/config/input/pcap.h
    linux-headers-3.5.0-17-lowlatency: /usr/src/linux-headers-3.5.0-17-lowlatency/include/config/rtc/drv/pcap.h
    linux-headers-3.5.0-17-lowlatency: /usr/src/linux-headers-3.5.0-17-lowlatency/include/config/touchscreen/pcap.h
    linux-headers-3.5.0-18: /usr/src/linux-headers-3.5.0-18/include/linux/mfd/ezx-pcap.h
    linux-headers-3.5.0-18-generic: /usr/src/linux-headers-3.5.0-18-generic/include/config/ezx/pcap.h
    linux-headers-3.5.0-18-generic: /usr/src/linux-headers-3.5.0-18-generic/include/config/input/pcap.h
    linux-headers-3.5.0-18-generic: /usr/src/linux-headers-3.5.0-18-generic/include/config/rtc/drv/pcap.h
    linux-headers-3.5.0-18-generic: /usr/src/linux-headers-3.5.0-18-generic/include/config/touchscreen/pcap.h
    linux-headers-3.5.0-18-lowlatency: /usr/src/linux-headers-3.5.0-18-lowlatency/include/config/ezx/pcap.h
    linux-headers-3.5.0-18-lowlatency: /usr/src/linux-headers-3.5.0-18-lowlatency/include/config/input/pcap.h
    linux-headers-3.5.0-18-lowlatency: /usr/src/linux-headers-3.5.0-18-lowlatency/include/config/rtc/drv/pcap.h
    linux-headers-3.5.0-18-lowlatency: /usr/src/linux-headers-3.5.0-18-lowlatency/include/config/touchscreen/pcap.h
    linux-headers-3.5.0-19: /usr/src/linux-headers-3.5.0-19/include/linux/mfd/ezx-pcap.h
    linux-headers-3.5.0-19-generic: /usr/src/linux-headers-3.5.0-19-generic/include/config/ezx/pcap.h
    linux-headers-3.5.0-19-generic: /usr/src/linux-headers-3.5.0-19-generic/include/config/input/pcap.h
    linux-headers-3.5.0-19-generic: /usr/src/linux-headers-3.5.0-19-generic/include/config/rtc/drv/pcap.h
    linux-headers-3.5.0-19-generic: /usr/src/linux-headers-3.5.0-19-generic/include/config/touchscreen/pcap.h
    linux-headers-3.5.0-21: /usr/src/linux-headers-3.5.0-21/include/linux/mfd/ezx-pcap.h
    linux-headers-3.5.0-21-generic: /usr/src/linux-headers-3.5.0-21-generic/include/config/ezx/pcap.h
    linux-headers-3.5.0-21-generic: /usr/src/linux-headers-3.5.0-21-generic/include/config/input/pcap.h
    linux-headers-3.5.0-21-generic: /usr/src/linux-headers-3.5.0-21-generic/include/config/rtc/drv/pcap.h
    linux-headers-3.5.0-21-generic: /usr/src/linux-headers-3.5.0-21-generic/include/config/touchscreen/pcap.h
    linux-headers-3.5.0-21-lowlatency: /usr/src/linux-headers-3.5.0-21-lowlatency/include/config/ezx/pcap.h
    linux-headers-3.5.0-21-lowlatency: /usr/src/linux-headers-3.5.0-21-lowlatency/include/config/input/pcap.h
    linux-headers-3.5.0-21-lowlatency: /usr/src/linux-headers-3.5.0-21-lowlatency/include/config/rtc/drv/pcap.h
    linux-headers-3.5.0-21-lowlatency: /usr/src/linux-headers-3.5.0-21-lowlatency/include/config/touchscreen/pcap.h
    openvswitch-datapath-dkms: /usr/src/openvswitch-1.4.3/lib/pcap.h
    tiger: /usr/lib/tiger/doc/pcap.html
    tiger: /usr/lib/tiger/html/pcap.html
    wireshark-doc: /usr/share/doc/wireshark-doc/wsug_html_chunked/AppToolsdumpcap.html
    wireshark-doc: /usr/share/doc/wireshark-doc/wsug_html_chunked/AppToolstext2pcap.html
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2#

  13. #13
    Invité
    Invité(e)
    Par défaut
    apt-file search ... te permet seulement de savoir quel fichier est fourni par quel package et ce en ce basant sur les informations dans les dépôts. Cela ne veut donc pas dire que le package est forcément installé sur ton système.

    Pour savoir s'il est réellement installé, Tu dois utiliser

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    dpkg -l | grep libpcap0.8-dev

  14. #14
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Je te remercie l'exécution du make s'est correctement terminée.

  15. #15
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut Problème d'exécution des tests
    pour tester l'installation j'ai fait un make test, mais j'obtien des erreurs dont je n'ai pas encore eu la solution. Quelqu'un aurait-il une idée par rapport à ce problème ? Voici l'affichage de l'exécution
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2# make test
    for i in doc/manpages doc/technical csrc schema javasrc apps `cat local.subdirs 2>/dev/null || :`; do \
    (cd "$i" && pwd && make test) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages'
    make[1]: Nothing to be done for `test'.
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/manpages'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical'
    make[1]: Nothing to be done for `test'.
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/doc/technical'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc
    make[1]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc'
    test -d include/ccn || (test -d ../include/ccn && mkdir -p include && ln -s ../../include/ccn include/ccn)
    for i in lib ccnd libexec cmd util tests; do \
    (cd "$i" && pwd && make -f ../conf.mk -f dir.mk -f ../subr.mk "COPT=-g" CFLAGS='$(REAL_CFLAGS)' SRCDIR=..//$i default) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd'
    make[2]: Nothing to be done for `default'.
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec'
    make[2]: Nothing to be done for `default'.
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd'
    make[2]: Nothing to be done for `default'.
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/util
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/util'
    make[2]: Nothing to be done for `default'.
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/util'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests'
    make[2]: Nothing to be done for `default'.
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests'
    test -d include/ccn || (test -d ../include/ccn && mkdir -p include && ln -s ../../include/ccn include/ccn)
    for i in lib ccnd libexec cmd util tests; do \
    (cd "$i" && pwd && make -f ../conf.mk -f dir.mk -f ../subr.mk "COPT=-g" CFLAGS='$(REAL_CFLAGS)' SRCDIR=..//$i test) || exit 1; \
    done
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    test -f "$HOME/.ccnx/.ccnx_keystore" || make -f dir.mk new_keystore
    ./encodedecodetest -o /dev/null
    Creating signed_info
    Done with signed_info
    Encoding sample message data length 902
    Encoded sample message length is 1210
    Expect signature verification failure: Decode mismatch of content
    Signature did not verify
    Done with sample message
    Unit test case 0
    Unit test case 1
    Unit test case 2
    Unit test case 3
    Unit test case 4
    Unit test case 5
    Unit test case 6
    Unit test case 7
    Unit test case 8
    Unit test case 9
    Unit test case 10
    Unit test case 11
    Unit test case 12
    Unit test case 13
    Unit test case 14
    Name marker tests
    Unit test case 15
    Message digest tests
    Unit test case 16
    Unit test case 17
    Unit test case 18
    Unit test case 19
    Really basic PRNG test
    Unit test case 20
    Bloom filter tests
    Unit test case 21
    Unit test case 22
    Unit test case 23
    Unit test case 24 (aqfb) either=918 both=3 wiresize=24
    Unit test case 25 (aqfc) either=1129 both=7 wiresize=24
    Unit test case 26 (aqfd) either=1182 both=2 wiresize=24
    Unit test case 27 (aqfe) either=1003 both=5 wiresize=24
    Unit test case 28 (aqff) either=1076 both=2 wiresize=24
    ccn_sign_content() tests
    Unit test case 29
    Unit test case 30
    Unit test case 31
    link tests
    Unit test case 32
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/lib'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd'
    ./testbasics
    Starting ccnd with CCN_LOCAL_PORT=63000
    Making sure new ccnd is there
    Populating ccnd with pre-signed data
    send fortunes.ccnb (2349 bytes)
    recv timed out after 10 ms
    Making anything.ccnb
    <!-- Processing - -->
    Trying for anything a few times
    Testing contentobjecthash
    <!-- Processing - -->
    Testing that fetch with bad hash does not succeed
    <!-- Processing - -->
    recv timed out after 200 ms
    Testing MinSuffixComponents
    <!-- Processing - -->
    ./testbasics TESTS PASSED
    : ---------------------- :
    : ccnd unit tests pass :
    : ---------------------- :
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/ccnd'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec'
    Sorry, no libexec unit tests at this time
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/libexec'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd'
    make[2]: Nothing to be done for `test'.
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/cmd'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/util
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/util'
    Sorry, no util unit tests at this time
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/util'
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests'
    mkdir -p log
    ./testdriver test_alone test_ccndid test_ccnls_meta test_coders test_destroyface test_child_selector test_final_teardown test_finished test_happy_face test_interest_suppression test_answered_interest_suppression test_key_fetch test_late test_long_consumer test_long_consumer2 test_long_producer test_new_provider test_newface test_prefixreg test_selfreg test_short_stuff test_single_ccnd test_single_ccnd_teardown test_spur_traffic test_scope2 test_stale test_twohop_ccnd test_twohop_ccnd_teardown test_unreg
    /tmp/.ccnd.sock.63001
    There is something else happening, waiting one minute ...
    `/home/thurel/Proje/tmp/.ccnd.sock.63001
    make[2]: *** [test] Error 1
    make[2]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests'
    make[1]: *** [test] Error 1
    make[1]: Leaving directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc'
    make: *** [test] Error 1
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2# `/home/thurel/Proje

  16. #16
    Invité
    Invité(e)
    Par défaut
    Salut,

    Cette erreur n'est pas très parlante. Je vois par contre qu'un répertoire log est crée pendant le test.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    make[2]: Entering directory `/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests'
    mkdir -p log
    Pourrais-tu donc vérifier s'il y auraient d'éventuels fichiers de log dans
    /home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests/log qui pourraient donner plus de détails sur la nature du problème?

  17. #17
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Premièrement quand je fais un ls -l voici ce que j'obtiens:
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests# ls -l
    total 952
    -rw-r--r-- 1 root root 1600 Jan 21 14:58 ccnd1.out
    -rw-r--r-- 1 root root 1249 Jan 21 14:58 ccnd2.out
    -rw-r--r-- 1 root root 16292 Jan 21 15:08 ccnd3.out
    -rwxr-xr-x 1 root root 36128 Jan 21 14:58 ccnd4.out
    -rwxr-xr-x 1 root root 25325 Jan 21 14:58 ccnd5.out
    -rw-r--r-- 1 root root 65 Jan 21 14:58 ccndid.out
    -rwxr-xr-x 1 root root 61 Jan 18 23:19 destroyface.ccnb
    -rwxr-xr-x 1 root root 3197 Jan 18 23:19 destroyface-post.html
    -rwxr-xr-x 1 root root 3450 Jan 18 23:19 destroyface-pre.html
    -rwxr-xr-x 1 root root 548 Jan 18 23:19 destroyface-request.ccnb
    -rwxr-xr-x 1 root root 961 Jan 18 23:19 destroyface-response.ccnb
    -rwxr-xr-x 1 root root 92 Jan 21 14:58 digest.out
    -rwxr-xr-x 1 thurel thurel 1653 Dec 7 2011 dir.mk
    -rwxr-xr-x 1 thurel thurel 641 Dec 7 2011 extract_test_deps
    -rwxr-xr-x 1 root root 0 Jan 21 14:58 FAILING
    -rwxr-xr-x 1 thurel thurel 1557 Dec 7 2011 functions
    -rwxr-xr-x 1 root root 1 Jan 21 14:58 heartbeat.ccnb
    drwxr-xr-x 2 root root 4096 Jan 18 23:19 log
    -rwxr-xr-x 1 thurel thurel 864 Dec 7 2011 Makefile
    -rw-r--r-- 1 root root 88 Jan 21 14:58 newface.ccnb
    -rw-r--r-- 1 root root 554 Jan 21 14:58 newface-request.ccnb
    -rw-r--r-- 1 root root 1005 Jan 21 14:58 newface-response.ccnb
    -rwxr-xr-x 1 thurel thurel 614 Dec 7 2011 preamble
    -rwxr-xr-x 1 root root 45 Jan 21 14:58 prefixreg.ccnb
    -rwxr-xr-x 1 root root 3275 Jan 21 14:58 prefixreg-post.html
    -rwxr-xr-x 1 root root 3193 Jan 21 14:58 prefixreg-pre.html
    -rwxr-xr-x 1 root root 515 Jan 21 14:58 prefixreg-request.ccnb
    -rwxr-xr-x 1 root root 955 Jan 21 14:58 prefixreg-response.ccnb
    -rwxr-xr-x 1 root root 780 Jan 21 14:58 result.txt
    -rwxr-xr-x 1 root root 51 Jan 18 23:19 scope2interest.ccnb
    -rwxr-xr-x 1 root root 191 Jan 18 23:19 scope2interest.xml
    -rwxr-xr-x 1 root root 0 Jan 18 23:19 scope2reply.ccnb
    -rwxr-xr-x 1 root root 49 Jan 21 14:58 selfreg.ccnb
    -rwxr-xr-x 1 root root 3193 Jan 21 14:58 selfreg-post.html
    -rwxr-xr-x 1 root root 2867 Jan 21 14:58 selfreg-pre.html
    -rwxr-xr-x 1 root root 510 Jan 21 14:58 selfreg-request.ccnb
    -rwxr-xr-x 1 root root 958 Jan 21 14:58 selfreg-response.ccnb
    -rwxr-xr-x 1 thurel thurel 532 Dec 7 2011 settings
    -rwxr-xr-x 1 root root 0 Jan 21 14:58 SKIPPED
    drwxr-xr-x 2 root root 4096 Jan 21 14:58 STATUS
    drwxr-xr-x 2 thurel thurel 4096 Jan 8 16:45 stubs
    -rwxr-xr-x 1 thurel thurel 0 May 5 2011 test_alone
    -rwxr-xr-x 1 thurel thurel 1917 Dec 7 2011 test_answered_interest_suppression
    -rwxr-xr-x 1 thurel thurel 928 Dec 7 2011 test_ccndid
    -rwxr-xr-x 1 thurel thurel 849 Dec 7 2011 test_ccnls_meta
    -rwxr-xr-x 1 thurel thurel 1263 Dec 7 2011 test_child_selector
    -rwxr-xr-x 1 thurel thurel 817 Dec 7 2011 test_coders
    -rwxr-xr-x 1 thurel thurel 2466 Dec 7 2011 test_destroyface
    -rwxr-xr-x 1 root root 2646 Jan 18 23:12 testdriver
    -rwxr-xr-x 1 thurel thurel 2635 Dec 7 2011 testdriver.sh
    -rwxr-xr-x 1 thurel thurel 783 Dec 7 2011 test_final_teardown
    -rwxr-xr-x 1 thurel thurel 0 May 5 2011 test_finished
    -rwxr-xr-x 1 thurel thurel 718 Dec 7 2011 test_happy_face
    -rwxr-xr-x 1 thurel thurel 2239 Dec 7 2011 test_interest_suppression
    -rwxr-xr-x 1 thurel thurel 7153 Dec 7 2011 test_key_fetch
    -rwxr-xr-x 1 thurel thurel 0 May 5 2011 test_late
    -rwxr-xr-x 1 thurel thurel 720 Dec 7 2011 test_long_consumer
    -rwxr-xr-x 1 thurel thurel 718 Dec 7 2011 test_long_consumer2
    -rwxr-xr-x 1 thurel thurel 683 Dec 7 2011 test_long_producer
    -rwxr-xr-x 1 thurel thurel 1980 Dec 7 2011 test_newface
    -rwxr-xr-x 1 thurel thurel 1212 Dec 7 2011 test_new_provider
    -rwxr-xr-x 1 thurel thurel 2731 Dec 7 2011 test_prefixreg
    -rwxr-xr-x 1 thurel thurel 1672 Dec 7 2011 test_scope2
    -rwxr-xr-x 1 thurel thurel 2540 Dec 7 2011 test_selfreg
    -rwxr-xr-x 1 thurel thurel 711 Dec 7 2011 test_short_stuff
    -rwxr-xr-x 1 thurel thurel 624 Dec 7 2011 test_single_ccnd
    -rwxr-xr-x 1 thurel thurel 574 Dec 7 2011 test_single_ccnd_teardown
    -rwxr-xr-x 1 thurel thurel 948 Dec 7 2011 test_spur_traffic
    -rwxr-xr-x 1 thurel thurel 2158 Dec 7 2011 test_stale
    -rwxr-xr-x 1 thurel thurel 1415 Dec 7 2011 test_twohop_ccnd
    -rwxr-xr-x 1 thurel thurel 606 Dec 7 2011 test_twohop_ccnd_teardown
    -rwxr-xr-x 1 thurel thurel 2372 Dec 7 2011 test_unreg
    -rw-r--r-- 1 root root 588895 Jan 21 14:58 tmp3166
    -rwxr-xr-x 1 root root 3545 Jan 21 14:58 twohop-status-0.html
    -rwxr-xr-x 1 root root 3570 Jan 21 14:58 twohop-status-1.html
    -rwxr-xr-x 1 root root 2868 Jan 21 14:58 twohop-status-2.html
    -rwxr-xr-x 1 root root 2870 Jan 21 14:58 twohop-status-3.html
    -rwxr-xr-x 1 root root 48 Jan 21 14:58 unanswered.ccnb
    -rwxr-xr-x 1 root root 64 Jan 21 14:58 unreg.ccnb
    -rwxr-xr-x 1 root root 3197 Jan 21 14:58 unreg-post.html
    -rwxr-xr-x 1 root root 3278 Jan 21 14:58 unreg-pre.html
    -rwxr-xr-x 1 root root 530 Jan 21 14:58 unreg-request.ccnb
    -rwxr-xr-x 1 root root 947 Jan 21 14:58 unreg-response.ccnb
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests#
    ensuite j'entre dans log et je refais la même commande et j'obtiens ceci:
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests# cd log
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests/log# ls -l
    total 0
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests/log#

  18. #18
    Invité
    Invité(e)
    Par défaut
    Salut,

    Bon il n'y a pas eu de fichiers générés dans le repertoire log.

    Tu peux toujours essayer d'executer cette commande manuellement et voir s'il n'y pas plus d'information. Sinon il faudra voir s'il n'y a pas un mode verbeux ou debug pour la commande testdriver

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    ./testdriver test_alone test_ccndid test_ccnls_meta test_coders test_destroyface test_child_selector test_final_teardown test_finished test_happy_face test_interest_suppression test_answered_interest_suppression test_key_fetch test_late test_long_consumer test_long_consumer2 test_long_producer test_new_provider test_newface test_prefixreg test_selfreg test_short_stuff test_single_ccnd test_single_ccnd_teardown test_spur_traffic test_scope2 test_stale test_twohop_ccnd test_twohop_ccnd_teardown test_unreg
    Dernière modification par Invité ; 21/01/2013 à 17h03.

  19. #19
    Membre régulier
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Mai 2011
    Messages
    109
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France, Essonne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Mai 2011
    Messages : 109
    Points : 70
    Points
    70
    Par défaut
    Voici ce que j'obtiens après avoir effectué la commande que tu m'as donnée :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests# ./testdriver test_alone test_ccndid test_ccnls_meta test_coders test_destroyface test_child_selector test_final_teardown test_finished test_happy_face test_interest_suppression test_answered_interest_suppression test_key_fetch test_late test_long_consumer test_long_consumer2 test_long_producer test_new_provider test_newface test_prefixreg test_selfreg test_short_stuff test_single_ccnd test_single_ccnd_teardown test_spur_traffic test_scope2 test_stale test_twohop_ccnd test_twohop_ccnd_teardown test_unreg
    /tmp/.ccnd.sock.63001
    There is something else happening, waiting one minute ...
    /tmp/.ccnd.sock.63001
    root@thurel-Compaq-Presario-A900-Notebook-PC:/home/thurel/Projet_Industriel/dipit2/ccnx-0.4.2/csrc/tests#

  20. #20
    Invité
    Invité(e)
    Par défaut
    Après analyse du script, il semblerait que ce soit lié à un problème de conflit de port

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    # If there are any ccnds running on test ports, wait a minute and retry
     35 TestBusy () {
     36         (. settings; ls /tmp/.ccnd.sock.$((CCN_LOCAL_PORT_BASE/10))[01234] 2>/dev/null)
     37 }
     38 TestBusy && { echo There is something else happening, waiting one minute ... ; sleep 60; }
     39 TestBusy && exit 1
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
     
    cat settings 
    # tests/settings
    # 
    # Part of the CCNx distribution.
    #
    # Copyright (C) 2009, 2011 Palo Alto Research Center, Inc.
    #
    # This work is free software; you can redistribute it and/or modify it under
    # the terms of the GNU General Public License version 2 as published by the
    # Free Software Foundation.
    # This work is distributed in the hope that it will be useful, but WITHOUT ANY
    # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    # FOR A PARTICULAR PURPOSE.
    #
    : ${CCN_LOCAL_PORT_BASE:=63000}
    LONG_LINES=100000
    Dans ton cas, on dirait que le port 63001 est occupé.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    `/home/thurel/Proje/tmp/.ccnd.sock.63001
    Peux-tu vérifier si ce port est utilisé par un autre process?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    netstat -anltup |  grep 63001

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 2 12 DernièreDernière

Discussions similaires

  1. probléme d"installation de logiciel java
    Par miral dans le forum Débuter avec Java
    Réponses: 1
    Dernier message: 16/03/2010, 11h22
  2. Problème d'installation de logiciel
    Par bruce207 dans le forum Mandriva / Mageia
    Réponses: 5
    Dernier message: 19/10/2008, 21h27
  3. problème d'installation du logiciel
    Par dnmfaw dans le forum Vidéo
    Réponses: 0
    Dernier message: 18/10/2007, 15h29
  4. problème d'instalation de logiciels dans win vista
    Par TSPK21 dans le forum Windows Vista
    Réponses: 1
    Dernier message: 30/09/2007, 17h53
  5. [UBUNTU] Problèmes d'installation de logiciels
    Par Muesko dans le forum Ubuntu
    Réponses: 8
    Dernier message: 21/08/2006, 16h55

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo