cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: problem configure curl lib on unix

From: Li Chen <lchen_at_globexplorer.com>
Date: Wed, 20 Jun 2001 12:09:38 -0700

Hi, Daniel,

It seems curl will automatically find gcc when do configure. But the gcc
on my system is not working. My cc compiler is working. How can I make
curl to use cc as a compiler? Or could you please tell me the command
to use cc to make the curl files a static library. Thank you very much!

Li

-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
Sent: Tuesday, May 22, 2001 11:15 PM
To: libcurl Mailing list
Cc: Li Chen
Subject: Re: problem configure curl lib on unix

On Tue, 22 May 2001, Li Chen wrote:

> I want to make curl lib a static library on unix so that I can link my
c
> source codes to it.

(to build only a static version, invoke configure with --disable-shared)

> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> *** Error code 1
>
> The compiler gcc can run well on my machine. Could you give me any
> suggestions? Thanks!

Check the 'config.log' and try to figure out what the script did exactly
that
failed.

Do you have more than one gcc version installed?

Another attempt would be to try the 7.7.4-pre3 release archive from the
beta
section on the web site, as that configure script is generated with a
much
newer autoconf.

-- 
     Daniel Stenberg -- curl dude -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
http://curl.haxx.se/libcurl/
Received on 2001-06-21