Moi
Yritin asentaa Gitin lataamalla ensin koodipohjan ja kääntämällä? (make), mutta se päättyi näin:
http.c:1980: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:1980: error: ‘struct <anonymous>’ has no member named ‘curl’
http.c:1980: error: ‘CURLOPT_WRITEFUNCTION’ undeclared (first use in this function)
http.c:1981: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:1981: error: ‘struct <anonymous>’ has no member named ‘curl’
http.c:1981: error: ‘CURLOPT_ERRORBUFFER’ undeclared (first use in this function)
http.c:1981: error: ‘struct http_object_request’ has no member named ‘errorstr’
http.c:1982: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:1982: error: ‘struct <anonymous>’ has no member named ‘curl’
http.c:1982: error: ‘CURLOPT_URL’ undeclared (first use in this function)
http.c:1983: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:1983: error: ‘struct <anonymous>’ has no member named ‘curl’
http.c:1983: error: ‘CURLOPT_HTTPHEADER’ undeclared (first use in this function)
http.c:1994: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:1994: error: ‘struct <anonymous>’ has no member named ‘curl’
http.c: In function ‘process_http_object_request’:
http.c:2007: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2009: error: ‘struct http_object_request’ has no member named ‘curl_result’
http.c:2009: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2009: error: ‘struct <anonymous>’ has no member named ‘curl_result’
http.c:2009: warning: statement with no effect
http.c:2010: error: ‘struct http_object_request’ has no member named ‘http_code’
http.c:2010: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2010: error: ‘struct <anonymous>’ has no member named ‘http_code’
http.c:2010: warning: statement with no effect
http.c:2011: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2011: warning: statement with no effect
http.c: In function ‘finish_http_object_request’:
http.c:2023: error: ‘struct http_object_request’ has no member named ‘http_code’
http.c:2023: warning: comparison between pointer and integer
http.c:2025: error: ‘struct http_object_request’ has no member named ‘curl_result’
http.c:2025: error: ‘CURLE_OK’ undeclared (first use in this function)
http.c:2032: error: ‘struct http_object_request’ has no member named ‘stream’
http.c:2032: warning: passing argument 1 of ‘git_inflate_end’ from incompatible pointer type
cache.h:53: note: expected ‘struct git_zstream *’ but argument is of type ‘struct <anonymous> (*)[1]’
http.c:2033: error: ‘struct http_object_request’ has no member named ‘real_sha1’
http.c:2033: error: ‘struct http_object_request’ has no member named ‘c’
http.c:2033: warning: passing argument 1 of ‘SHA1_Final’ from incompatible pointer type
/usr/include/openssl/sha.h:121: note: expected ‘unsigned char *’ but argument is of type ‘struct <anonymous> *’
http.c:2033: warning: passing argument 2 of ‘SHA1_Final’ from incompatible pointer type
/usr/include/openssl/sha.h:121: note: expected ‘struct SHA_CTX *’ but argument is of type ‘struct <anonymous> (*)[1]’
http.c:2034: error: ‘struct http_object_request’ has no member named ‘zret’
http.c:2034: warning: comparison between pointer and integer
http.c:2038: error: ‘struct http_object_request’ has no member named ‘sha1’
http.c:2038: error: ‘struct http_object_request’ has no member named ‘real_sha1’
http.c:2038: warning: passing argument 1 of ‘hashcmp’ from incompatible pointer type
cache.h:902: note: expected ‘const unsigned char *’ but argument is of type ‘struct <anonymous> *’
http.c:2038: warning: passing argument 2 of ‘hashcmp’ from incompatible pointer type
cache.h:902: note: expected ‘const unsigned char *’ but argument is of type ‘struct <anonymous> *’
http.c:2042: error: ‘struct http_object_request’ has no member named ‘rename’
http.c:2043: error: ‘struct http_object_request’ has no member named ‘sha1’
http.c:2043: warning: passing argument 1 of ‘sha1_file_name’ from incompatible pointer type
cache.h:865: note: expected ‘const unsigned char *’ but argument is of type ‘struct <anonymous> *’
http.c:2043: warning: statement with no effect
http.c:2045: error: ‘struct http_object_request’ has no member named ‘rename’
http.c:2045: warning: return makes integer from pointer without a cast
http.c: In function ‘release_http_object_request’:
http.c:2065: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2066: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2066: error: ‘struct <anonymous>’ has no member named ‘callback_func’
http.c:2066: warning: statement with no effect
http.c:2067: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2067: error: ‘struct <anonymous>’ has no member named ‘callback_data’
http.c:2067: warning: statement with no effect
http.c:2068: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2068: warning: passing argument 1 of ‘release_active_slot’ from incompatible pointer type
http.c:1041: note: expected ‘struct active_request_slot *’ but argument is of type ‘struct <anonymous> *’
http.c:2069: error: ‘struct http_object_request’ has no member named ‘slot’
http.c:2069: warning: statement with no effect
make: *** [http.o] Error 1
Tuo ei sano itselleni mitään muuta kuin, että jotain on pielessä, mutta mikä?