cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: postit2.c

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Tue, 27 Sep 2005 01:22:23 -0500

Looks like you need write access to /usr/local/lib. Did you try it as root??

Ralph Mitchell

On 9/27/05, Prakash, Swayam (GE Consumer & Industrial) <
SWAYAM.PRAKASH_at_ge.com> wrote:
>
> Hello,
>
> 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 'libcurl.la<http://libcurl.la>'
> '/usr/local/lib/libcurl.la'
> /usr/bin/install -c .libs/libcurl.so.3.0.0 /usr/local/lib/libcurl.so.3.0.0
> /usr/bin/install: cannot create regular file
> `/usr/local/lib/libcurl.so.3.0.0': 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?
>
> Thanks,
> Swayam Prakasha
> ----------------------------------------
>
> -----------------------------------------------------------------------------
> -----Original Message-----
> From: curl-library-bounces_at_cool.haxx.se
> [mailto:curl-library-bounces_at_cool.haxx.se]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: http://haxx.se/curl.html
>
>
Received on 2005-09-27