como instalar o ratproxy no ubuntu

Iniciado por xadriano, 21 de Abril de 2009, 18:01

tópico anterior - próximo tópico

xadriano

olá galera acabei de instalar o ubuntu, e nao estou conseguindo instalar o ratproxy no mesmo, ja descompactei o ratproxy e ou la no terminal e dou make na pasta ratproxye da monte de erro, segue abaixo os erros:
adriano@ubuntu:~$ cd Desktop
adriano@ubuntu:~/Desktop$ cd ratproxy
adriano@ubuntu:~/Desktop/ratproxy$ make
cc ratproxy.c -o ratproxy  -Wall -O3 -Wno-pointer-sign -D_GNU_SOURCE http.c mime.c ssl.c -lcrypto -lssl
ratproxy.c:43:25: error: openssl/md5.h: Arquivo ou diretório inexistente
ratproxy.c: In function 'save_trace':
ratproxy.c:572: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
ratproxy.c:587: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
ratproxy.c: In function 'decode_flash':
ratproxy.c:615: warning: ignoring return value of 'write', declared with attribute warn_unused_result
http.c:42:25: error: openssl/md5.h: Arquivo ou diretório inexistente
http.c: In function 'send_request':
http.c:1064: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
http.c: In function 'send_response':
http.c:1326: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
http.c: In function 'checksum_response':
http.c:1337: error: 'MD5_CTX' undeclared (first use in this function)
http.c:1337: error: (Each undeclared identifier is reported only once
http.c:1337: error: for each function it appears in.)
http.c:1337: error: expected ';' before 'ctx'
http.c:1347: warning: implicit declaration of function 'MD5_Init'
http.c:1347: error: 'ctx' undeclared (first use in this function)
http.c:1348: warning: implicit declaration of function 'MD5_Update'
http.c:1349: warning: implicit declaration of function 'MD5_Final'
mime.c:39:25: error: openssl/md5.h: Arquivo ou diretório inexistente
ssl.c:38:25: error: openssl/ssl.h: Arquivo ou diretório inexistente
ssl.c:39:25: error: openssl/err.h: Arquivo ou diretório inexistente
ssl.c: In function 'ssl_start':
ssl.c:107: error: 'SSL_CTX' undeclared (first use in this function)
ssl.c:107: error: (Each undeclared identifier is reported only once
ssl.c:107: error: for each function it appears in.)
ssl.c:107: error: 'cli_ctx' undeclared (first use in this function)
ssl.c:107: error: 'srv_ctx' undeclared (first use in this function)
ssl.c:107: warning: left-hand operand of comma expression has no effect
ssl.c:108: error: 'SSL' undeclared (first use in this function)
ssl.c:108: error: 'cli_ssl' undeclared (first use in this function)
ssl.c:108: error: 'srv_ssl' undeclared (first use in this function)
ssl.c:108: warning: left-hand operand of comma expression has no effect
ssl.c:109: error: 'BIO' undeclared (first use in this function)
ssl.c:109: error: 'err' undeclared (first use in this function)
ssl.c:137: warning: implicit declaration of function 'SSL_library_init'
ssl.c:138: warning: implicit declaration of function 'SSL_load_error_strings'
ssl.c:140: warning: implicit declaration of function 'BIO_new_fp'
ssl.c:140: error: 'BIO_NOCLOSE' undeclared (first use in this function)
ssl.c:141: warning: implicit declaration of function 'SSL_CTX_new'
ssl.c:141: warning: implicit declaration of function 'SSLv23_client_method'
ssl.c:142: warning: implicit declaration of function 'SSLv23_server_method'
ssl.c:144: warning: implicit declaration of function 'ERR_print_errors'
ssl.c:146: warning: implicit declaration of function 'SSL_CTX_use_certificate_chain_file'
ssl.c:149: warning: implicit declaration of function 'SSL_CTX_use_PrivateKey_file'
ssl.c:149: error: 'SSL_FILETYPE_PEM' undeclared (first use in this function)
ssl.c:152: warning: implicit declaration of function 'SSL_new'
ssl.c:157: warning: implicit declaration of function 'SSL_set_fd'
ssl.c:158: warning: implicit declaration of function 'SSL_connect'
ssl.c:162: warning: implicit declaration of function 'SSL_accept'
ssl.c:190: warning: implicit declaration of function 'SSL_read'
ssl.c:221: warning: implicit declaration of function 'SSL_write'
make: ** [ratproxy] Erro 1
adriano@ubuntu:~/Desktop/ratproxy$

onde estou errando,

desde já agradeço,


Adriano.