[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compilando Cyrus SASL no Debian, tem jeito?



Valew mesmo, Brivaldo, são poucos no mundo que são tão solicitos a ajudar os novatos como eu, alias, a galera aqui da lista foram os únicos q se manifestaram, em outros foruns e mailling lists, só fiquei com o silencio....
 
 
Bem, estou tentando segui esse tutorial aqui:
 
http://www.vivaolinux.com.br/artigos/verArtigo.php?codigo=5178
 
 
Ele foi descrito para ser rodado em slackware, e eu segui o tutorial numa boa no slackware, porém, eu não sou muito acostumado com essa distro, e prefiro o debian, por n fatores...
 
O procedimento que o autor manda fazer é esse aqui:
 
# tar -zxvf cyrus-sasl-2.1.22.tar.gz
# cd cyrus-sasl-2.1.22
# ./configure --with-bdb-libdir=/usr/lib --with-bdb-incdir=/usr/include/db4
# make
# make install
 
 
tentei seguir tal procedimento, a linha do ./configure roda normalmente, mas quando dou make, ele trava e reporta esses erros aqui...
 

digestmd5.c:812: error: syntax error before "des_key_schedule"
digestmd5.c:812: warning: no semicolon at end of struct or union
digestmd5.c:813: warning: type defaults to `int' in declaration of `ivec'
digestmd5.c:813: warning: data definition has no type or storage class
digestmd5.c:814: error: syntax error before "keysched2"
digestmd5.c:814: warning: type defaults to `int' in declaration of `keysched2'
digestmd5.c:814: warning: data definition has no type or storage class
digestmd5.c: In function `dec_3des':
digestmd5.c:849: warning: implicit declaration of function `des_ede2_cbc_encrypt'
digestmd5.c :852: error: dereferencing pointer to incomplete type
digestmd5.c:853: error: dereferencing pointer to incomplete type
digestmd5.c:854: error: dereferencing pointer to incomplete type
digestmd5.c:855: error: `DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:855: error: (Each undeclared identifier is reported only once
digestmd5.c:855: error: for each function it appears in.)
digestmd5.c: In function `enc_3des':
digestmd5.c:900: error: dereferencing pointer to incomplete type
digestmd5.c:901: error: dereferencing pointer to incomplete type
digestmd5.c:902: error: dereferencing pointer to incomplete type
digestmd5.c:903: error: `DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c: In function `init_3des':
digestmd5.c:918: error: invalid application of `sizeof' to an incomplete type
digestmd5.c:923: warning: implicit declaration of function `des_key_sched'
digestmd5.c :923: error: `des_cblock' undeclared (first use in this function)
digestmd5.c:923: error: syntax error before ')' token
digestmd5.c:927: error: syntax error before ')' token
digestmd5.c:929: error: dereferencing pointer to incomplete type
digestmd5.c:934: error: increment of pointer to unknown structure
digestmd5.c:934: error: arithmetic on pointer to an incomplete type
digestmd5.c:936: error: syntax error before ')' token
digestmd5.c:940: error: syntax error before ')' token
digestmd5.c:943: error: dereferencing pointer to incomplete type
digestmd5.c: In function `dec_des':
digestmd5.c:967: warning: implicit declaration of function `des_cbc_encrypt'
digestmd5.c:970: error: dereferencing pointer to incomplete type
digestmd5.c:971: error: dereferencing pointer to incomplete type
digestmd5.c:972: error: `DES_DECRYPT' undeclared (first use in this function)
digestmd5.c:976: error: dereferencing pointer to incomplete type
digestmd5.c: In function `enc_des':
digestmd5.c:1021: error: dereferencing pointer to incomplete type
digestmd5.c:1022: error: dereferencing pointer to incomplete type
digestmd5.c:1023: error: `DES_ENCRYPT' undeclared (first use in this function)
digestmd5.c:1027: error: dereferencing pointer to incomplete type
digestmd5.c: In function `init_des':
digestmd5.c:1042: error: invalid application of `sizeof' to an incomplete type
digestmd5.c:1047: error: `des_cblock' undeclared (first use in this function)
digestmd5.c:1047: error: syntax error before ')' token
digestmd5.c:1049: error: dereferencing pointer to incomplete type
digestmd5.c:1054: error: increment of pointer to unknown structure
digestmd5.c:1054: error: arithmetic on pointer to an incomplete type
digestmd5.c:1056: error: syntax error before ')' token
digestmd5.c:1058: error: dereferencing pointer to incomplete type
digestmd5.c: In function `digestmd5_server_mech_step2':
digestmd5.c:2100: warning: dereferencing type-punned pointer will break strict-aliasing rules
digestmd5.c:2117: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[2]: ** [digestmd5.lo] Erro 1
make[2]: Leaving directory `/opt/cyrus-sasl-2.1.22/plugins'
make[1]: ** [all-recursive] Erro 1
make[1]: Leaving directory `/opt/cyrus-sasl-2.1.22'
make: ** [all] Erro 2
só pra constar, eu já estou com o db4 openSSL instalados, e também já tentei fazer o ./configure sem os parametros, e roda normal, mas quando dou make, ele retorna o mesmo erro...mesmo em versões anteriores do Cyrus-SASL dá o mesmo erro...tentei com 2.1.21 e 2.1.19...
 
 
 
obrigado, galera
 
 
 
-Temp
 
 

Reply to: