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

Re: Reduced privileges install

From
Kevin Ballard <kevin@sb.org>
Date
Sep 20, 2010, 06:51 UTC
Message-ID
<677DFF75-2DBB-4772-802B-4402E4024307@sb.org>
In-Reply-To
<6BE502C9-5507-452D-A5D5-D0C69C05F126@kellerfarm.com>
On Sep 19, 2010, at 6:31 PM, Andrew Keller wrote:
Show 15 quoted lines
> On Sep 19, 2010, at 9:07 PM, Randal L. Schwartz wrote:
>> "Andrew" == Andrew Keller <andrew@kellerfarm.com> writes:
>> 
>>> Because I do not own the server and my account has restricted privileges, I attempted to augment my PATH to include a directory in my home folder, and then install git in there by specifying a prefix at the configure stage.  The configure and the make work, but the make install fails.  Here's the last section of the log:
>> 
>> What's your PREFIX set to?  If you set your prefix, the Perl modules are installed below the prefix, not in the system dirs.
> 
> 
> Here's what I executed:
> 
> $ ./configure --prefix=/usr/users/students/ak4390/.local
> $ make
> $ make install
> 
> I also tried providing the --oldincludedir and --datadir parameters, but I got the same result.
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. However, you may wish to attempt the following to be sure:

$ make PREFIX=/usr/users/students/ak4390/.local $ make install PREFIX=/usr/users/students/ak4390/.local

-Kevin Ballard
Previous: Andrew KellerNext: Andrew Keller
Message 4 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.