Re: recent patch breaks the build ?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 16, 2005, 23:25 UTC
- Message-ID
- <Pine.LNX.4.63.0511170023040.9284@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20051116203334.GA3968@reactrix.com>
Hi,
On Wed, 16 Nov 2005, Nick Hengeveld wrote:
Show 14 quoted lines
> On Wed, Nov 16, 2005 at 02:47:56PM -0500, Andrew Wozniak wrote: > > > 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) > > http-push requires a curl option that looks like it was added around > version 7.8.1. If you have the option to upgrade your version of curl, > it should fix the problem. You can also disable building http-push but > keep http-fetch by defining NO_EXPAT.
It was 7.8.1. I checked. You might want to add this somewhere:
#if LIBCURL_VERSION_NUM < 0x070801 #error http-push needs curl >= 7.8.1 (because of CURLOPT_HTTPGET) #endif
I tried quite a few things to work around it. Alas, I am now convinced that no set of option setting does exactly the same thing as CURLOPT_HTTPGET for a specific curl version < 7.8.1 (the one I tested with).
Ciao, Dscho