cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Building libcurl with Borland BCC5.5 compiler

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Wed, 7 May 2014 00:29:11 +0100

On Tue, 6 May 2014, Jon Torrey wrote:

> 1. After read the instructions in GIT-INFO, I ran buildconf.bat
> and then a simple make borland inside the root of curl-master.
> I now get the same error as I did with item # 2, where it does
> not know how to make it.

You were missing curlbuild.h in the include directory. The release archives contains it but it is stored in curlbuild.h.dist in the repository.

In the winbuild (Visual Studio) make files I had to modify the include paths following the vtls changes back in January.

I believe from the output in your first message, bearing in mind I've not build with Borland since the good ol' Borland C++ v3.1 DOS days, that it cannot find any of the header files when trying to compile the source in the vtls sub-directory.

As such could you try modifying your Makefile.b32 at line 54 which currently has:
 
INCDIRS = -I.;..\include

To be the following instead:

INCDIRS = -I.;..\lib;..\include

If this is the case I'll push a change to fix it - although other fixes may be required :(

> I have also set my openssl path to the appropriate location inside
> Makefile.b32

If I have understood some of the comments in Makefile.b32 then Windows SSPI is enabled as the default SSL engine so you don't need OpenSSL. If you want to use OpenSSL instead then I believe the path should be set, as you have done, and WITH_SSL passed to the makefile.

Kind Regards

Steve

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