Re: What's in git.git tonight
From: Marco Roeland <hidden>
Date: 2016-06-15 22:42:10
On Sunday November 6th 2005 at 02:54 uur Randal L. Schwartz wrote:
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