git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: recent patch breaks the build ?

From
Andreas Ericsson <ae@op5.se>
Date
Nov 16, 2005, 20:18 UTC
Message-ID
<437B93FE.9000108@op5.se>
In-Reply-To
<437B8CEC.8040002@mc.com>
Andrew Wozniak wrote:
Show 10 quoted lines
> Yes, that suggestion worked - it is similar to other code fragments and 
> ifdefs within the same file.
> 
> Unfortunately, now there are other failures:
> 
> gcc -o http-push.o -c -g -O2 -Wall -DSHA1_HEADER='<openssl/sha.h>' 
> http-push.c
> http-push.c: In function `start_mkcol':
> http-push.c:479: `CURLOPT_HTTPGET' undeclared (first use in this function)
> 
....
> I grep'd for these defines and they are nowhere to be found!  Is some 
> other package needed to resolve these undefines on my RH7.2 build host?
> 
curl and curl-devel. Or you can build with
	make NO_CURL=YesPlease

which just means you won't have http and https transports available. This shouldn't be much of a problem on a server though.

> I'm really surprised that the unmodified tarball source fails to build. 
> Just curious, is the git project rebuilt on a "nightly" basis to verify 
> recent patches?
> 

I have no idea, but since it's a developer tool in pre-1.0 I think the general consensus is that user-friendliness in the build-process comes somewhere between "not so important" and "what? users? oh, those living in the *other* land!"

Perhaps you should try the RPM's at http://www.kernel.org/pub/software/scm/git-core/ ?

If nothing else it will tell you what other packages you need.
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Andrew WozniakNext: Junio C Hamano
Message 4 of 15 in “recent patch breaks the build ?”
  1. Andrew WozniakNov 16, 2005
  2. Junio C HamanoNov 16, 2005
  3. Andrew WozniakNov 16, 2005
  4. Andreas EricssonNov 16, 2005
  5. Junio C HamanoNov 16, 2005
  6. Nick HengeveldNov 16, 2005
  7. Johannes SchindelinNov 16, 2005
  8. Nick HengeveldNov 17, 2005
  9. Junio C HamanoNov 17, 2005
  10. Nick HengeveldNov 17, 2005
  11. Junio C HamanoNov 17, 2005
  12. Johannes SchindelinNov 17, 2005
  13. Johannes SchindelinNov 17, 2005
  14. Nick HengeveldNov 17, 2005
  15. Johannes SchindelinNov 17, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.