cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: problems installing locally

From: Dave Reisner <d_at_falconindy.com>
Date: Wed, 29 May 2013 13:59:02 -0400

On Wed, May 29, 2013 at 03:03:09PM +0000, Jawon Song wrote:
> Hi,
>
> I have a few problem installing curl on my local machine.
> After doing cmake, I configured so that it installs curl locally (./configure
> --prefix=$PWD --enable-shared=no)
> 'make' did not result in any errors, but 'make install' resulted in following
> error :
> make[3]: *** [install-pkgincludeHEADERS] Error 1
> make[3]: Leaving directory `/home1/02114/wonaya/curl/include/curl'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home1/02114/wonaya/curl/include/curl'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home1/02114/wonaya/curl/include'
> make: *** [install-recursive] Error 1
>
> Note: Since it is a shared machine, I can not use 'su'.
> If you can help, that will be great!
> Thanks,
> Jawon

There's more to this error. The important part is just above this and
looks like:

/usr/bin/install: ‘curl.h’ and ‘/build/curl/include/curl/curl.h’ are the same file
/usr/bin/install: ‘curlver.h’ and ‘/build/curl/include/curl/curlver.h’ are the same file
/usr/bin/install: ‘easy.h’ and ‘/build/curl/include/curl/easy.h’ are the same file
/usr/bin/install: ‘mprintf.h’ and ‘/build/curl/include/curl/mprintf.h’ are the same file
/usr/bin/install: ‘stdcheaders.h’ and ‘/build/curl/include/curl/stdcheaders.h’ are the same file
/usr/bin/install: ‘multi.h’ and ‘/build/curl/include/curl/multi.h’ are the same file
/usr/bin/install: ‘typecheck-gcc.h’ and ‘/build/curl/include/curl/typecheck-gcc.h’ are the same file
/usr/bin/install: ‘curlbuild.h’ and ‘/build/curl/include/curl/curlbuild.h’ are the same file
/usr/bin/install: ‘curlrules.h’ and ‘/build/curl/include/curl/curlrules.h’ are the same file

The problem is your --prefix. It can't possibly work. If your goal is to
run curl from the source tree, then you can do that without running 'make
install' -- simply run 'src/curl'.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-29