[Haskell-cafe] curl installation

Don Stewart dons at galois.com
Wed Jul 16 16:19:32 EDT 2008


noahaon:
> Hello,
> 
> I'm trying to install the curl package 1.3.2.1 for haskell, I'm using Ubuntu and
> I've already installed curl-7.18.2. I can't get rid of the configuration error.
> According to the log entry the curl.h doesn't exist.
> 
> Shell output:
> 
> runghc Setup.hs configure
> Configuring curl-1.3.2.1...
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> configure: error: curl libraries not found, so curl package cannot be built
> See `config.log' for more details.
> 
> Part of Log entry:
> 
> configure:2439: gcc -E  conftest.c
> conftest.c:9:23: error: curl/curl.h: No such file or directory
> configure:2445: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | 
> | #define PACKAGE_NAME "Haskell curl package"
> | #define PACKAGE_TARNAME "curl"
> | #define PACKAGE_VERSION "1.1"
> | #define PACKAGE_STRING "Haskell curl package 1.1"
> | #define PACKAGE_BUGREPORT "dons at galois.com"
> | /* end confdefs.h.  */
> | #include <curl/curl.h>
> configure:2469: error: curl libraries not found, s
> o curl package cannot be built
> See `config.log' for more details.

Check where curl/curl.h is on your system. It is possible the
development headers are missing?


More information about the Haskell-Cafe mailing list