cURL / Mailing Lists / curl-library / Single Mail


RE: postit2.c

From: Prakash, Swayam \(GE Consumer & Industrial\) <SWAYAM.PRAKASH_at_GE.COM>
Date: Tue, 27 Sep 2005 11:36:37 +0530


Today, I have downloaded "curl-7.14.1.tar.gz" and was able to compile it successfully.
But make install failed

$USER_at_BOX:$PWD/Curl/curl-7.14.1 $ make install
Making install in lib
make[1]: Entering directory `$PWD/Curl/curl-7.14.1/lib'
make install-am
make[2]: Entering directory `$PWD/Curl/curl-7.14.1/lib'
make[3]: Entering directory `$PWD/Curl/curl-7.14.1/lib'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
 /bin/sh ../libtool --mode=install /usr/bin/install -c '' '/usr/local/lib/'
/usr/bin/install -c .libs/ /usr/local/lib/
/usr/bin/install: cannot create regular file `/usr/local/lib/': Permission denied
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `$PWD/Curl/curl-7.14.1/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `$PWD/Curl/curl-7.14.1/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `$PWD/Curl/curl-7.14.1/lib'
make: *** [install-recursive] Error 1

Any pointers?

Swayam Prakasha
-----Original Message-----
[]On Behalf Of Daniel Stenberg
Sent: Monday, September 26, 2005 11:13 PM
To: libcurl development
Subject: Re: postit2.c

On Fri, 23 Sep 2005, Prakash, Swayam (GE Consumer & Industrial) wrote:

> I am new to this list.
> I would like to use the code postit2.c (Curl Sources:
> curl/docs/examples/postit2.c ) for making a HTTP Post. Can anyone guide me
> how I can use this code.

1. Install libcurl

2. Compile example source and link with libcurl

3. Run it

Exactly what problems do you have? You will need to edit the example for it to
be really useful to you.

  Commercial curl and libcurl Technical Support:
Received on 2005-09-27