All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Kevin Ballard <kevin@sb.org>
Cc: Andrew Keller <andrew@kellerfarm.com>, Git List <git@vger.kernel.org>
Subject: Re: Reduced privileges install
Date: Mon, 20 Sep 2010 16:40:23 +0200	[thread overview]
Message-ID: <vpqzkvcwka0.fsf@bauges.imag.fr> (raw)
In-Reply-To: <677DFF75-2DBB-4772-802B-4402E4024307@sb.org> (Kevin Ballard's message of "Sun\, 19 Sep 2010 23\:51\:54 -0700")

Andrew Keller <andrew@kellerfarm.com> writes:

> make -C perl prefix='/usr/users/students/ak4390/.local' DESTDIR='' install
> make[1]: Entering directory `/usr/users/students/ak4390/Downloads/git-1.7.2.3/perl'
> make[2]: Entering directory `/usr/users/students/ak4390/Downloads/git-1.7.2.3/perl'
> Warning: You do not have permissions to install into /usr/perl5/site_perl/5.6.1/sun4-solaris-64int at /usr/perl5/5.6.1/lib/ExtUtils/Install.pm line 85.

The DESTDIR='' is suspicious. It seems the prefix is not passed
properly in recursive "make" invocations, and perl tries to install
things in the default directory.

Kevin Ballard <kevin@sb.org> writes:

> Andrew Keller <andrew@kellerfarm.com> writes:
>> $ ./configure --prefix=/usr/users/students/ak4390/.local
>> $ make
>> $ make install
>
> I admit, I'm not well-versed on the build system, but my impression
> was that specifying --prefix in ./configure was indeed supposed to
> propagate to a subsequent make and make install.

It does. I installed Git successfully without ever being root on
several machines.

In my case, it was GNU/Linux machines, so something may go wrong
because of a non-gnu system. Did you try compiling with gmake instead
of make?

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

  parent reply	other threads:[~2010-09-20 14:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-19 23:50 Reduced privileges install Andrew Keller
2010-09-20  1:07 ` Randal L. Schwartz
2010-09-20  1:31   ` Andrew Keller
2010-09-20  6:51     ` Kevin Ballard
2010-09-20 14:06       ` Andrew Keller
2010-09-20 14:40       ` Matthieu Moy [this message]
2010-09-20 14:52         ` Randal L. Schwartz
2010-09-20 15:48         ` Andrew Keller
2010-09-20 14:53 ` Brandon Casey
2010-09-20 16:56   ` Andrew Keller
2010-09-20 17:01     ` Ævar Arnfjörð Bjarmason
2010-09-20 20:28       ` Andrew Keller
2010-09-20 19:12     ` Brandon Casey
2010-09-20 19:18       ` Brandon Casey
2010-09-20 20:39         ` Andrew Keller
2010-09-20 22:53       ` Andrew Keller
2010-09-20 23:20         ` Brandon Casey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpqzkvcwka0.fsf@bauges.imag.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=andrew@kellerfarm.com \
    --cc=git@vger.kernel.org \
    --cc=kevin@sb.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.