From: Johannes Schindelin Date: Wed, 16 Nov 2005 23:25:06 GMT Subject: Re: recent patch breaks the build ? Message-ID: In-Reply-To: <20051116203334.GA3968@reactrix.com> Hi, On Wed, 16 Nov 2005, Nick Hengeveld wrote: > 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='' > > 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