cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Newbie Proglem with Compile

From: Guenter <lists_at_gknw.net>
Date: Wed, 05 Jan 2011 19:01:27 +0100

Hi Mel,
Am 05.01.2011 17:15, schrieb Medsyntel_at_aol.com:
> well, its no problem that I provide the patches mentioned as one file
> which you can easily apply with *one* command to your libcurl source.
>
> Yes, I would like a patch file that I could apply to the source ! OR,
> if there is a link for me to download the actual libcurl.lib built from the
> C source, I would also appreciate that. Then, I could simply link it with
> my other libs, and start testing with Curl
save this file to your local disk, best into your libcurl source root:
http://www.gknw.net/test/curl/bcc55_patch.diff
then follow instructions in the head comment to apply the patch;
you should finally get some output like:

D:\curl-7.21.3>patch -p 0 -i \bcc55_patch.diff
patching file lib\Makefile.b32
patching file lib\config-win32.h
patching file include\curl\curlrules.h

before you build go into .\src dir and make a copy of hugehelp.c to
hugehelp.c.cvs since the makefile has another bug which prevents it from
running properly with libcurl releases but seems its designed for cvs
builds right now - will fix that soon, but for now its easiest fix that
you just make a copy.

Please try that and dont hesitate to post about any more probs you face;
but I think you should now at least be able to build successfully. Btw.
you can also in the root dir just do a 'make borland' which calls both
the .\lib and the .\src makefiles and builds then also a .\src\curl.exe
which you can use to verify that the compiled lib works properly, and
also it might be handy to create source samples - see curl --help:
--libcurl <file> Dump libcurl equivalent code of this command line
so you can just make a request with the commandline, and then append the
above option and get a C source - very helpful!

I will probably later reply to the rest of your post, but ATM I'm in
hurry, and just wanted to get you something to proceed ...

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-05