git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Reduced privileges install

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 20, 2010, 14:40 UTC
Message-ID
<vpqzkvcwka0.fsf@bauges.imag.fr>
In-Reply-To
<677DFF75-2DBB-4772-802B-4402E4024307@sb.org>
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:
Show 8 quoted lines
> 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/
Previous: Andrew KellerNext: Randal L. Schwartz
Message 6 of 17 in “Reduced privileges install”
  1. Andrew KellerSep 19, 2010
  2. Randal L. SchwartzSep 20, 2010
  3. Andrew KellerSep 20, 2010
  4. Kevin BallardSep 20, 2010
  5. Andrew KellerSep 20, 2010
  6. Matthieu MoySep 20, 2010
  7. Randal L. SchwartzSep 20, 2010
  8. Andrew KellerSep 20, 2010
  9. Brandon CaseySep 20, 2010
  10. Andrew KellerSep 20, 2010
  11. Ævar Arnfjörð BjarmasonSep 20, 2010
  12. Andrew KellerSep 20, 2010
  13. Brandon CaseySep 20, 2010
  14. Brandon CaseySep 20, 2010
  15. Andrew KellerSep 20, 2010
  16. Andrew KellerSep 20, 2010
  17. Brandon CaseySep 20, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.