cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Curl complains about no 'cc'

From: Art Norman <art_at_rsss.com>
Date: Fri, 28 Apr 2006 16:00:01 -0500

I am trying to do something similar (except on a SCO UNIX 5.0.6 server),
package a compiled version of curl for distribution to other servers.
What exactly do you mean by the "_installed_ curl"? I also ran into
problems when I copied over the curl from the "build tree". It appeared
that the documentation on "how to compile curl" did not address the
steps needed for packaging and porting to other machines. Is there any
other documentation that addresses this part of the process? Thanks,
Art.

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Friday, April 28, 2006 1:24 PM
To: the curl tool
Subject: Re: Curl complains about no 'cc'

On Fri, 28 Apr 2006, catherine.hurst_at_barclays.com wrote:

> I have downloaded curl 7.15 and openssl -0.9.6a, onto an AIX5.1 server
with
> compiler. I have compiled it, 'with-ssl', and ported the compiled
version
> over to my Live server, into same directory structure. Difference is
though,
> this Live server does not have a C-compiler installed.
> When I try to execute curl, it errors:
> ./curl[87]: cc: not found
>
> Do I need to have C compiler installed on the Live server as well?

No. But you should've done 'make install' on the first server and copied
the
_installed_ curl, not the one from the build tree. curl is built with
libtool
and thus while in the build tree 'curl' is a simple shell script wrapper
and
you don't want _that_ installed in your "Live" server.

-- 
  Commercial curl and libcurl Technical Support:
http://haxx.se/curl.html
Received on 2006-04-28