From: "mike zheng" <mail4mz@gmail.com>
To: git@vger.kernel.org
Subject: Error in compile Git 1.6.0.rc1
Date: Tue, 29 Jul 2008 13:50:31 -0400 [thread overview]
Message-ID: <5c9cd53b0807291050i752f91b9yc1da4afb7096ab61@mail.gmail.com> (raw)
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
next reply other threads:[~2008-07-29 17:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 17:50 mike zheng [this message]
2008-07-29 17:52 ` Error in compile Git 1.6.0.rc1 Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5c9cd53b0807291050i752f91b9yc1da4afb7096ab61@mail.gmail.com \
--to=mail4mz@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).