Error in compile Git 1.6.0.rc1

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

 



Hello,

I download the git-1.6.0.rc.tar.gz from
http://www.kernel.org/pub/software/scm/git/. When I try to compile it
on RH linux, I have following errors. Any idea?

Thanks,

Mike

/localdisk/work/git-1.6.0.rc1-> make
/bin/sh: curl-config: command not found
GIT_VERSION = 1.6.0.rc1
/bin/sh: curl-config: command not found
    * new build flags or prefix
    CC fast-import.o
    CC abspath.o
    CC alias.o
    CC alloc.o
    CC archive.o
    CC archive-tar.o
    CC archive-zip.o
    CC attr.o
    CC base85.o
    CC blob.o
    CC branch.o
    CC bundle.o
    CC cache-tree.o
    CC color.o
    CC combine-diff.o
    CC commit.o
    CC config.o
    CC connect.o
    CC convert.o
    CC copy.o
    CC csum-file.o
    CC ctype.o
    CC date.o
    CC decorate.o
    CC diffcore-break.o
    CC diffcore-delta.o
    CC diffcore-order.o
    CC diffcore-pickaxe.o
    CC diffcore-rename.o
    CC diff-delta.o
    CC diff-no-index.o
    CC diff-lib.o
    CC diff.o
    CC dir.o
    CC editor.o
    CC entry.o
    CC environment.o
    CC exec_cmd.o
    CC fsck.o
    CC graph.o
    CC grep.o
    CC hash.o
    GEN common-cmds.h
    CC help.o
    CC ident.o
    CC interpolate.o
    CC list-objects.o
    CC ll-merge.o
    CC lockfile.o
    CC log-tree.o
    CC mailmap.o
    CC match-trees.o
    CC merge-file.o
    CC name-hash.o
    CC object.o
    CC pack-check.o
    CC pack-refs.o
    CC pack-revindex.o
    CC pack-write.o
    CC pager.o
    CC parse-options.o
    CC patch-delta.o
    CC patch-ids.o
    CC string-list.o
    CC path.o
    CC pkt-line.o
    CC pretty.o
    CC progress.o
    CC quote.o
    CC reachable.o
    CC read-cache.o
    CC reflog-walk.o
    CC refs.o
    CC remote.o
    CC rerere.o
    CC revision.o
    CC run-command.o
    CC server-info.o
    CC setup.o
    CC sha1_file.o
    CC sha1-lookup.o
    CC sha1_name.o
    CC shallow.o
    CC sideband.o
    CC strbuf.o
    CC symlinks.o
    CC tag.o
    CC trace.o
    CC transport.o
In file included from transport.c:5:
http.h:6:23: curl/curl.h: No such file or directory
http.h:7:23: curl/easy.h: No such file or directory
In file included from transport.c:5:
http.h:42: error: syntax error before "CURLcode"
http.h:42: warning: no semicolon at end of struct or union
http.h:44: error: syntax error before '}' token
http.h:48: error: syntax error before "CURL"
http.h:48: warning: no semicolon at end of struct or union
http.h:51: error: syntax error before "curl_result"
http.h:51: warning: type defaults to `int' in declaration of `curl_result'
http.h:51: warning: data definition has no type or storage class
http.h:58: error: syntax error before '}' token
http.h:90: error: `CURL_ERROR_SIZE' undeclared here (not in a function)
http.h: In function `missing__target':
http.h:95: error: `CURLE_FILE_COULDNT_READ_FILE' undeclared (first use
in this function)
http.h:95: error: (Each undeclared identifier is reported only once
http.h:95: error: for each function it appears in.)
http.h:97: error: `CURLE_HTTP_NOT_FOUND' undeclared (first use in this function)
http.h:99: error: `CURLE_FTP_COULDNT_RETR_FILE' undeclared (first use
in this function)
transport.c: In function `get_refs_via_curl':
transport.c:438: error: storage size of 'results' isn't known
transport.c:456: error: dereferencing pointer to incomplete type
transport.c:457: warning: implicit declaration of function `curl_easy_setopt'
transport.c:457: error: dereferencing pointer to incomplete type
transport.c:457: error: `CURLOPT_FILE' undeclared (first use in this function)
transport.c:458: error: dereferencing pointer to incomplete type
transport.c:458: error: `CURLOPT_WRITEFUNCTION' undeclared (first use
in this function)
transport.c:459: error: dereferencing pointer to incomplete type
transport.c:459: error: `CURLOPT_URL' undeclared (first use in this function)
transport.c:460: error: dereferencing pointer to incomplete type
transport.c:460: error: `CURLOPT_HTTPHEADER' undeclared (first use in
this function)
transport.c:464: error: `CURLE_OK' undeclared (first use in this function)
transport.c:438: warning: unused variable `results'
make: *** [transport.o] Error 1
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux