cURL / Mailing Lists / curl-library / Single Mail


RE: Is this a bug in the configure script?

From: Patrick Monnerat <>
Date: Thu, 22 Oct 2009 11:04:48 +0200

Dantzler, DeWayne C wrote:

> Attempting to compile libcurl with Xereces-C++ and got a compiler
error that curl.h could not find include file 'curl/curlbuild.h'.

I had this trouble a few weeks ago when using libcurl on OS/400.

> (3)Modified curl.h as follows to get the build to work
> #include "curlver.h" /* libcurl version defines */
> /*#include "curl/curlbuild.h" /* libcurl build definitions */
> #include "curlbuild.h" /* libcurl build definitions */
> #include "curlrules.h" /* libcurl rules enforcement */

I then tried what you suggest: this was a success for me, but it brokes
compilations with the source tree outside the destination directory
(nearly all autobuilds failed), because the curlbuild.h file is
generated at configure time.
Since then, there is a comment explaining it in curl.h.

See: and nexts in thread.

> Did the configure script generate an incorrect include statement or
was it the install?

As you can see above, none of them. This was intentional.
Perhaps you can resolve your problem with compiler options...
List admin:
Received on 2009-10-22