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

Re: What's in git.git tonight

From
MRMarco Roeland <marco.roeland@xs4all.nl>
Date
Nov 6, 2005, 12:11 UTC
Message-ID
<20051106121149.GB30718@fiberbit.xs4all.nl>
In-Reply-To
<86acgiujuk.fsf@blue.stonehenge.com>
On Sunday November 6th 2005 at 02:54 uur Randal L. Schwartz wrote:
Show 5 quoted lines
> 
> http-push.c no longer compiles on OSX:
> 
> gcc -o http-push.o -c -g -O2 -Wall -DSHA1_HEADER='<openssl/sha.h>' http-push.c
> http-push.c:10:19: error: expat.h: No such file or directory

You need to have the expat (XML parsing library) header files installed from something like the "expat development kit".

If you do already have 'expat.h' installed under say /usr/include does changing "#include "expat.h" to "#include <expat.h>" perhaps help? Searching for include files specified with #include "..." is somewhat platform dependant.

Alternatively, if you don't need 'git-http-push' you can define 'NO_EXPAT' and the Makefile will take care that it doesn't get built.

Incidentally 'git whatchanged -p http-push.c' shows that this dependency on expat and its include header has been there since the first version on November 2nd. So 'no longer compiles' seems a bit odd!

-- 
Marco Roeland
Previous: Paul CollinsNext: Randal L. Schwartz
Message 8 of 10 in “What's in git.git tonight”
  1. Junio C HamanoNov 6, 2005
  2. Randal L. SchwartzNov 6, 2005
  3. Paul CollinsNov 6, 2005
  4. Randal L. SchwartzNov 6, 2005
  5. Randal L. SchwartzNov 6, 2005
  6. Junio C HamanoNov 6, 2005
  7. Paul CollinsNov 6, 2005
  8. Marco RoelandNov 6, 2005
  9. Randal L. SchwartzNov 6, 2005
  10. Johannes SchindelinNov 6, 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.