Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 23/08/2007, à 09:51

tambakoly

Installation d'openssl impossible

j'ai sécurisé mon serveur web en n'utilisant que le protocole https, mais en s'y connectant avec firefox j'ai comme message ;

Firefox ne peut se connecter en mode securisé car le site utilise une ancienne version non sûre du protocole SSL.

et la version openssl de mon systeme est Version: 0.9.8c-4build1

J'ai essayé d'installer la version la plus recente qui est openssl-0.9.8e, mais à la compilation voilà les erreurs que j'ai:

root@ngiao:/home/ousmane/openssl-0.9.8e# make
making all in crypto...
make[1]: Entering directory `/home/ousmane/openssl-0.9.8e/crypto'
( echo "#ifndef MK1MF_BUILD"; \
        echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
        echo '  #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM"'; \
        echo '  #define PLATFORM "linux-elf"'; \
        echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
        echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM   -c -o cryptlib.o cryptlib.c
In file included from cryptlib.c:117:
cryptlib.h:62:20: error: stdlib.h: No such file or directory
cryptlib.h:63:20: error: string.h: No such file or directory
In file included from cryptlib.h:65,
                 from cryptlib.c:117:
../e_os.h:392:30: error: unistd.h: No such file or directory
../e_os.h:397:29: error: sys/types.h: No such file or directory
../e_os.h:624:25: error: strings.h: No such file or directory
In file included from cryptlib.h:72,
                 from cryptlib.c:117:
../include/openssl/crypto.h:125:19: error: stdio.h: No such file or directory
In file included from cryptlib.h:72,
                 from cryptlib.c:117:
../include/openssl/crypto.h:175: error: expected specifier-qualifier-list before âsize_tâ
../include/openssl/crypto.h:442: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:442: error: expected declaration specifiers or â...â before âsize_tâ
../include/openssl/crypto.h:443: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:444: error: expected â)â before âconstâ
../include/openssl/crypto.h:445: error: expected â;â, â,â or â)â before âvoidâ
../include/openssl/crypto.h:447: error: expected â)â before âconstâ
../include/openssl/crypto.h:448: error: expected â;â, â,â or â)â before âvoidâ
../include/openssl/crypto.h:454: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:454: error: expected declaration specifiers or â...â before âsize_tâ
../include/openssl/crypto.h:455: warning: parameter names (without types) in function declaration
../include/openssl/crypto.h:456: error: expected â)â before âconstâ
../include/openssl/crypto.h:457: error: expected â;â, â,â or â)â before âvoidâ
../include/openssl/crypto.h:459: error: expected â)â before âconstâ
../include/openssl/crypto.h:460: error: expected â;â, â,â or â)â before âvoidâ
../include/openssl/crypto.h:476: error: expected declaration specifiers or â...â before âsize_tâ
../include/openssl/crypto.h:511: error: expected â)â before â*â token
In file included from cryptlib.h:74,
                 from cryptlib.c:117:
../include/openssl/bio.h:567: error: expected â)â before â*â token
../include/openssl/bio.h:644: error: expected â)â before â*â token
../include/openssl/bio.h:645: error: expected â)â before â*â token
In file included from ../include/openssl/err.h:74,
                 from cryptlib.h:75,
                 from cryptlib.c:117:
../include/openssl/lhash.h:185: error: expected declaration specifiers or â...â before âFILEâ
../include/openssl/lhash.h:186: error: expected declaration specifiers or â...â before âFILEâ
../include/openssl/lhash.h:187: error: expected declaration specifiers or â...â before âFILEâ
In file included from cryptlib.h:75,
                 from cryptlib.c:117:
../include/openssl/err.h:87:19: error: errno.h: No such file or directory
In file included from cryptlib.h:75,
                 from cryptlib.c:117:
../include/openssl/err.h:279: error: expected â)â before â*â token
cryptlib.c: In function âCRYPTO_get_new_dynlockidâ:
cryptlib.c:280: warning: value computed is not used
cryptlib.c: In function âCRYPTO_destroy_dynlockidâ:
cryptlib.c:322: warning: value computed is not used
cryptlib.c: In function âCRYPTO_thread_idâ:
cryptlib.c:440: warning: implicit declaration of function âgetpidâ
cryptlib.c: In function âOPENSSL_cpuid_setupâ:
cryptlib.c:559: warning: implicit declaration of function âgetenvâ
cryptlib.c:559: warning: assignment makes pointer from integer without a cast
cryptlib.c:560: warning: implicit declaration of function âstrtoulâ
cryptlib.c: In function âOPENSSL_showfatalâ:
cryptlib.c:744: warning: implicit declaration of function âvfprintfâ
cryptlib.c:744: error: âstderrâ undeclared (first use in this function)
cryptlib.c:744: error: (Each undeclared identifier is reported only once
cryptlib.c:744: error: for each function it appears in.)
cryptlib.c: In function âOpenSSLDieâ:
cryptlib.c:755: warning: implicit declaration of function âabortâ
cryptlib.c:755: warning: incompatible implicit declaration of built-in function âabortâ
cryptlib.c: In function âOPENSSL_stderrâ:
cryptlib.c:758: error: âstderrâ undeclared (first use in this function)
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/home/ousmane/openssl-0.9.8e/crypto'
make: *** [build_crypto] Error 1


J'attends vos proposition de solutions..;

Hors ligne

#2 Le 23/08/2007, à 09:59

HymnToLife

Re : Installation d'openssl impossible

tambakoly a écrit :

j'ai sécurisé mon serveur web en n'utilisant que le protocole https, mais en s'y connectant avec firefox j'ai comme message ;

Firefox ne peut se connecter en mode securisé car le site utilise une ancienne version non sûre du protocole SSL.

et la version openssl de mon systeme est Version: 0.9.8c-4build1

Chez moi, j'ai la version O.9.7j et Firefox se connecte très bien... Je pense que le problème est ailleurs et que tu t'embêtes à compiler pour rien.


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#3 Le 23/08/2007, à 10:23

tambakoly

Re : Installation d'openssl impossible

la version 0.9.7j à des failles de sécurité c'est pourkoi j'ai péféré la derniere version corrigée

Hors ligne