Но при запуске команды Make
получаю ошибку
cc -L/usr/local/lib/ -L/opt/local/lib skipfish.c -o skipfish -O3 -Wno-format -Wall -funsigned-char -g -ggdb -I/usr/local/include/ -I/opt/local/include/ -DVERSION=\"2.03b\" \ http_client.c database.c crawler.c analysis.c report.c -lcrypto -lssl -lidn -lz In file included from crawler.h:26, from skipfish.c:41: http_client.h:26:25: error: openssl/ssl.h: Нет такого файла или каталога In file included from crawler.h:26, from skipfish.c:41: http_client.h:193: error: expected specifier-qualifier-list before ‘SSL_CTX’ skipfish.c: In function ‘main’: skipfish.c:251: warning: implicit declaration of function ‘SSL_library_init’ skipfish.c:655: warning: implicit declaration of function ‘EVP_cleanup’ skipfish.c:656: warning: implicit declaration of function ‘CRYPTO_cleanup_all_ex_data’ http_client.c:37:25: error: openssl/ssl.h: Нет такого файла или каталога http_client.c:38:25: error: openssl/err.h: Нет такого файла или каталога http_client.c:39:18: error: idna.h: Нет такого файла или каталога http_client.c:40:18: error: zlib.h: Нет такого файла или каталога In file included from database.h:29, from http_client.c:45: http_client.h:193: error: expected specifier-qualifier-list before ‘SSL_CTX’ http_client.c: In function ‘parse_url’: http_client.c:292: warning: implicit declaration of function ‘idna_to_ascii_8z’ http_client.c:292: error: ‘IDNA_SUCCESS’ undeclared (first use in this function) http_client.c:292: error: (Each undeclared identifier is reported only once http_client.c:292: error: for each function it appears in.) http_client.c: In function ‘parse_response’: http_client.c:1615: error: ‘z_stream’ undeclared (first use in this function) http_client.c:1615: error: expected ‘;’ before ‘d’ http_client.c:1620: error: ‘d’ undeclared (first use in this function) http_client.c:1630: warning: implicit declaration of function ‘inflateInit2’ http_client.c:1630: error: ‘Z_OK’ undeclared (first use in this function) http_client.c:1631: warning: implicit declaration of function ‘inflateEnd’ http_client.c:1636: warning: implicit declaration of function ‘inflate’ http_client.c:1636: error: ‘Z_FINISH’ undeclared (first use in this function) http_client.c:1639: error: ‘Z_BUF_ERROR’ undeclared (first use in this function) http_client.c:1639: error: ‘Z_STREAM_END’ undeclared (first use in this function) http_client.c: In function ‘destroy_unlink_conn’: http_client.c:1735: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1735: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1736: error: ‘struct conn_entry’ has no member named ‘prev’ http_client.c:1736: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:1736: error: ‘struct conn_entry’ has no member named ‘prev’ http_client.c:1736: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:1737: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:1737: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:1737: error: ‘struct conn_entry’ has no member named ‘prev’ http_client.c:1738: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:1738: warning: implicit declaration of function ‘SSL_free’ http_client.c:1738: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:1739: error: ‘struct conn_entry’ has no member named ‘srv_ctx’ http_client.c:1739: warning: implicit declaration of function ‘SSL_CTX_free’ http_client.c:1739: error: ‘struct conn_entry’ has no member named ‘srv_ctx’ http_client.c:1740: error: ‘struct conn_entry’ has no member named ‘write_buf’ http_client.c:1741: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c: In function ‘reuse_conn’: http_client.c:1751: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1751: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1752: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1753: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:1754: error: ‘struct conn_entry’ has no member named ‘write_buf’ http_client.c:1755: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:1755: error: ‘struct conn_entry’ has no member named ‘write_buf’ http_client.c:1756: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:1756: error: ‘struct conn_entry’ has no member named ‘write_len’ http_client.c:1756: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:1757: error: ‘struct conn_entry’ has no member named ‘SSL_rd_w_wr’ http_client.c:1757: error: ‘struct conn_entry’ has no member named ‘SSL_wr_w_rd’ http_client.c: In function ‘check_ssl’: http_client.c:1862: error: ‘X509’ undeclared (first use in this function) http_client.c:1862: error: ‘p’ undeclared (first use in this function) http_client.c:1864: warning: implicit declaration of function ‘SSL_get_peer_certificate’ http_client.c:1864: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:1872: warning: implicit declaration of function ‘ASN1_UTCTIME_cmp_time_t’ http_client.c:1876: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1877: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1881: warning: implicit declaration of function ‘X509_NAME_oneline’ http_client.c:1883: warning: left-hand operand of comma expression has no effect http_client.c:1883: warning: left-hand operand of comma expression has no effect http_client.c:1884: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1885: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1887: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1888: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1895: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1907: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1908: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1910: warning: implicit declaration of function ‘X509_free’ http_client.c:1912: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1913: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:1915: error: ‘struct conn_entry’ has no member named ‘ssl_checked’ http_client.c: In function ‘conn_associate’: http_client.c:1975: error: ‘errno’ undeclared (first use in this function) http_client.c:1975: error: ‘EINPROGRESS’ undeclared (first use in this function) http_client.c:1981: error: ‘struct conn_entry’ has no member named ‘srv_ctx’ http_client.c:1981: warning: implicit declaration of function ‘SSL_CTX_new’ http_client.c:1981: warning: implicit declaration of function ‘SSLv23_client_method’ http_client.c:1983: error: ‘struct conn_entry’ has no member named ‘srv_ctx’ http_client.c:1985: warning: implicit declaration of function ‘SSL_CTX_set_mode’ http_client.c:1985: error: ‘struct conn_entry’ has no member named ‘srv_ctx’ http_client.c:1985: error: ‘SSL_MODE_ENABLE_PARTIAL_WRITE’ undeclared (first use in this function) http_client.c:1986: error: ‘SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER’ undeclared (first use in this function) http_client.c:1988: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:1988: warning: implicit declaration of function ‘SSL_new’ http_client.c:1988: error: ‘struct conn_entry’ has no member named ‘srv_ctx’ http_client.c:1990: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:1991: error: ‘struct conn_entry’ has no member named ‘srv_ctx’ http_client.c:1995: warning: implicit declaration of function ‘SSL_set_fd’ http_client.c:1995: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:1996: warning: implicit declaration of function ‘SSL_set_connect_state’ http_client.c:1996: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:2002: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:2004: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:2004: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:2010: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2015: error: ‘struct conn_entry’ has no member named ‘write_buf’ http_client.c:2016: error: ‘struct conn_entry’ has no member named ‘write_len’ http_client.c:2016: error: ‘struct conn_entry’ has no member named ‘write_buf’ http_client.c: In function ‘next_from_queue’: http_client.c:2045: error: ‘struct conn_entry’ has no member named ‘write_len’ http_client.c:2045: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:2045: error: ‘struct conn_entry’ has no member named ‘SSL_rd_w_wr’ http_client.c:2048: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:2058: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:2076: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2076: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2076: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2078: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2079: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2080: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2081: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2085: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2087: error: ‘struct conn_entry’ has no member named ‘write_len’ http_client.c:2087: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:2087: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2088: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2089: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2089: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2089: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2093: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2093: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2093: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2094: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2095: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2096: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2096: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2096: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2100: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2101: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2101: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2101: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2118: error: ‘struct conn_entry’ has no member named ‘SSL_wr_w_rd’ http_client.c:2119: error: ‘struct conn_entry’ has no member named ‘SSL_rd_w_wr’ http_client.c:2121: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2127: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2127: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2127: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2132: error: ‘struct conn_entry’ has no member named ‘SSL_rd_w_wr’ http_client.c:2134: warning: implicit declaration of function ‘SSL_read’ http_client.c:2134: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:2134: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2134: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2140: warning: implicit declaration of function ‘SSL_get_error’ http_client.c:2140: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:2141: error: ‘SSL_ERROR_WANT_WRITE’ undeclared (first use in this function) http_client.c:2141: error: ‘struct conn_entry’ has no member named ‘SSL_rd_w_wr’ http_client.c:2142: error: ‘SSL_ERROR_WANT_READ’ undeclared (first use in this function) http_client.c:2147: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2147: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2153: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2154: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2154: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2154: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2159: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2161: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2161: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2168: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2168: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2168: error: ‘struct conn_entry’ has no member named ‘read_buf’ http_client.c:2168: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2169: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2175: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2176: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2176: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2176: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2182: error: ‘struct conn_entry’ has no member named ‘read_len’ http_client.c:2189: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2190: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2190: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2190: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2195: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2206: error: ‘struct conn_entry’ has no member named ‘SSL_rd_w_wr’ http_client.c:2207: error: ‘struct conn_entry’ has no member named ‘SSL_wr_w_rd’ http_client.c:2209: error: ‘struct conn_entry’ has no member named ‘write_len’ http_client.c:2209: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:2215: error: ‘struct conn_entry’ has no member named ‘SSL_wr_w_rd’ http_client.c:2217: warning: implicit declaration of function ‘SSL_write’ http_client.c:2217: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:2217: error: ‘struct conn_entry’ has no member named ‘write_buf’ http_client.c:2217: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:2218: error: ‘struct conn_entry’ has no member named ‘write_len’ http_client.c:2218: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:2223: error: ‘struct conn_entry’ has no member named ‘srv_ssl’ http_client.c:2224: error: ‘struct conn_entry’ has no member named ‘SSL_wr_w_rd’ http_client.c:2227: error: ‘struct conn_entry’ has no member named ‘ssl_checked’ http_client.c:2230: error: ‘struct conn_entry’ has no member named ‘write_buf’ http_client.c:2230: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:2231: error: ‘struct conn_entry’ has no member named ‘write_len’ http_client.c:2231: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:2237: error: ‘struct conn_entry’ has no member named ‘write_off’ http_client.c:2239: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2256: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2258: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2259: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2261: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2262: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2263: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2263: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2263: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2302: error: ‘struct conn_entry’ has no member named ‘next’ http_client.c:2306: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c: In function ‘http_req_list’: http_client.c:2613: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2614: error: ‘struct conn_entry’ has no member named ‘q’ http_client.c:2627: error: ‘struct conn_entry’ has no member named ‘next’ In file included from database.c:33: http_client.h:26:25: error: openssl/ssl.h: Нет такого файла или каталога In file included from database.c:33: http_client.h:193: error: expected specifier-qualifier-list before ‘SSL_CTX’ In file included from crawler.c:30: http_client.h:26:25: error: openssl/ssl.h: Нет такого файла или каталога In file included from crawler.c:30: http_client.h:193: error: expected specifier-qualifier-list before ‘SSL_CTX’ In file included from analysis.c:28: http_client.h:26:25: error: openssl/ssl.h: Нет такого файла или каталога In file included from analysis.c:28: http_client.h:193: error: expected specifier-qualifier-list before ‘SSL_CTX’ analysis.c: In function ‘maybe_xsrf’: analysis.c:397: warning: implicit declaration of function ‘time’ In file included from report.c:33: http_client.h:26:25: error: openssl/ssl.h: Нет такого файла или каталога In file included from report.c:33: http_client.h:193: error: expected specifier-qualifier-list before ‘SSL_CTX’ make: *** [skipfish] Ошибка 1
а на другой машине вообще выдал "команда make не найдена"