{"thread":{"id":"17022","subject":"BUG?? INSTALL MAKEFILE","startedAt":"2009-01-06T13:26:16Z","lastAt":"2009-01-07T10:44:31Z","messageCount":8,"participants":["Lars Sadau","Matthieu Moy","Mike Ralphson","Ted Pavlic","Daniel Barkalow"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"99469","messageId":"49635BF8.1010700@sadau-online.de","threadId":"17022","inReplyTo":null,"subject":"BUG?? INSTALL MAKEFILE","fromName":"Lars Sadau","fromEmail":"lars@sadau-online.de","sentAt":"2009-01-06T13:26:16Z","receivedAt":"2009-01-06T13:26:16Z","isPatch":false,"sender":{"key":"lars@sadau-online.de","avatar":null},"body":"Hallo,\n\ni'm a brand-new git user. Just one minute ago I wanted to install git in\nmy home directory. The INSTALL file says type simply \"make install\", but\nthe makefile does a global installation.\n\nLars\n"},{"id":"99472","messageId":"vpqiqosa3fc.fsf@bauges.imag.fr","threadId":"17022","inReplyTo":"49635BF8.1010700@sadau-online.de","subject":"Re: BUG?? INSTALL MAKEFILE","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@imag.fr","sentAt":"2009-01-06T14:56:39Z","receivedAt":"2009-01-06T14:56:39Z","isPatch":false,"sender":{"key":"git@matthieu-moy.fr","avatar":"https://avatars.githubusercontent.com/u/14709?v=4"},"body":"Lars Sadau <lars@sadau-online.de> writes:\n\n> Hallo,\n>\n> i'm a brand-new git user. Just one minute ago I wanted to install git in\n> my home directory. The INSTALL file says type simply \"make install\", but\n> the makefile does a global installation.\n\nI was going to write:\n\n  Either run ./configure --prefix=$HOME/wherever/you/want or edit the\n  prefix variable in config.mak.\n\nbut then realized that prefix is set to $(HOME) by default. Are you\nsure you didn't edit the Makefile or run any sort of ./configure\nbefore \"make install\" ?\n  \n-- \nMatthieu\n"},{"id":"99477","messageId":"e2b179460901060722t32a1cb0o15af1a2084cc72f9@mail.gmail.com","threadId":"17022","inReplyTo":"vpqiqosa3fc.fsf@bauges.imag.fr","subject":"Re: BUG?? INSTALL MAKEFILE","fromName":"Mike Ralphson","fromEmail":"mike.ralphson@gmail.com","sentAt":"2009-01-06T15:22:26Z","receivedAt":"2009-01-06T15:22:26Z","isPatch":false,"sender":{"key":"mike.ralphson@gmail.com","avatar":"https://avatars.githubusercontent.com/u/21603?v=4"},"body":"2009/1/6 Matthieu Moy <Matthieu.Moy@imag.fr>\n> Lars Sadau <lars@sadau-online.de> writes:\n> > i'm a brand-new git user. Just one minute ago I wanted to install git in\n> > my home directory. The INSTALL file says type simply \"make install\", but\n> > the makefile does a global installation.\n>\n> I was going to write:\n>\n>  Either run ./configure --prefix=$HOME/wherever/you/want or edit the\n>  prefix variable in config.mak.\n>\n> but then realized that prefix is set to $(HOME) by default. Are you\n> sure you didn't edit the Makefile or run any sort of ./configure\n> before \"make install\" ?\n\nOr run 'make' as root, as well as 'make install'?\n\nMike\n"},{"id":"99483","messageId":"49638625.3090109@tedpavlic.com","threadId":"17022","inReplyTo":"vpqiqosa3fc.fsf@bauges.imag.fr","subject":"Re: BUG?? INSTALL MAKEFILE","fromName":"Ted Pavlic","fromEmail":"ted@tedpavlic.com","sentAt":"2009-01-06T16:26:13Z","receivedAt":"2009-01-06T16:26:13Z","isPatch":false,"sender":{"key":"ted@tedpavlic.com","avatar":"https://gravatar.com/avatar/d085392370ff4c028cf17a0e81e0647744c9682fbcb36b499f31d08ef80ef569?d=mp&s=160"},"body":"> but then realized that prefix is set to $(HOME) by default. Are you\n> sure you didn't edit the Makefile or run any sort of ./configure\n> before \"make install\" ?\n\nAfter doing a\n\n\tgit clean -f\n\nin my local git repo, I notice that:\n\n\tconfig.mak.autogen\n\nstill exists, and inside it:\n\n\tprefix = /usr/local\n\nThat file is included in the Makefile *after* prefix is set, and so if \nit's not updated, the Makefile will default to /usr/local.\n\n\nAccording to the INSTALL doc, the default prefix should be ~. However, \nthis is certainly not the case. Either the INSTALL doc needs to be \nupdated or a new default config.mak.autogen needs to be checked in (or \nperhaps config.mak.autogen needs to be omitted from the repo?).\n\n--Ted\n\n\n-- \nTed Pavlic <ted@tedpavlic.com>\n"},{"id":"99485","messageId":"vpqzli45p6q.fsf@bauges.imag.fr","threadId":"17022","inReplyTo":"49638625.3090109@tedpavlic.com","subject":"Re: BUG?? INSTALL MAKEFILE","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@imag.fr","sentAt":"2009-01-06T17:17:49Z","receivedAt":"2009-01-06T17:17:49Z","isPatch":false,"sender":{"key":"git@matthieu-moy.fr","avatar":"https://avatars.githubusercontent.com/u/14709?v=4"},"body":"Ted Pavlic <ted@tedpavlic.com> writes:\n\n> According to the INSTALL doc, the default prefix should be ~.\n\nI didn't read that in INSTALL. What I read is that if I only run \"make\ninstall\", the prefix is $HOME, which is true. Now, ./configure uses a\ndefault value which is not the one of the Makefile, but that's another\npoint.\n\n-- \nMatthieu\n"},{"id":"99486","messageId":"alpine.LNX.1.00.0901061210250.19665@iabervon.org","threadId":"17022","inReplyTo":"49638625.3090109@tedpavlic.com","subject":"Re: BUG?? INSTALL MAKEFILE","fromName":"Daniel Barkalow","fromEmail":"barkalow@iabervon.org","sentAt":"2009-01-06T17:24:25Z","receivedAt":"2009-01-06T17:24:25Z","isPatch":false,"sender":{"key":"barkalow@iabervon.org","avatar":"https://avatars.githubusercontent.com/u/55364219?v=4"},"body":"On Tue, 6 Jan 2009, Ted Pavlic wrote:\n\n> > but then realized that prefix is set to $(HOME) by default. Are you\n> > sure you didn't edit the Makefile or run any sort of ./configure\n> > before \"make install\" ?\n> \n> After doing a\n> \n> \tgit clean -f\n\nYou need a \"git clean -fx\"\n\n> According to the INSTALL doc, the default prefix should be ~. However, this is\n> certainly not the case. Either the INSTALL doc needs to be updated or a new\n> default config.mak.autogen needs to be checked in (or perhaps\n> config.mak.autogen needs to be omitted from the repo?).\n\nIt's omitted from the repo, but it's in .gitignore so \"git clean\" doesn't \nremove it unless you tell it to remove ignored files.\n\n\t-Daniel\n*This .sig left intentionally blank*\n"},{"id":"99498","messageId":"4963B497.4000104@tedpavlic.com","threadId":"17022","inReplyTo":"49638625.3090109@tedpavlic.com","subject":"Re: BUG?? INSTALL MAKEFILE","fromName":"Ted Pavlic","fromEmail":"ted@tedpavlic.com","sentAt":"2009-01-06T19:44:23Z","receivedAt":"2009-01-06T19:44:23Z","isPatch":false,"sender":{"key":"ted@tedpavlic.com","avatar":"https://gravatar.com/avatar/d085392370ff4c028cf17a0e81e0647744c9682fbcb36b499f31d08ef80ef569?d=mp&s=160"},"body":"> \tgit clean -f\n\nDOH. I meant to do\n\n\tgit clean -fx\n\n(or just a git ls-files). That config.mak.autogen is certainly not \nchecked into the repo, and a quick test confirms that \"make install\" \ncertainly does set prefix to the home directory.\n\nThat being said, I'm sure that in the recent past I had to use configure \nto install git into home directories.\n\n--Ted\n\n\n-- \nTed Pavlic <ted@tedpavlic.com>\n"},{"id":"99569","messageId":"loom.20090107T104303-14@post.gmane.org","threadId":"17022","inReplyTo":"vpqzli45p6q.fsf@bauges.imag.fr","subject":"Re: BUG?? INSTALL MAKEFILE","fromName":"Lars Sadau","fromEmail":"lars@sadau-online.de","sentAt":"2009-01-07T10:44:31Z","receivedAt":"2009-01-07T10:44:31Z","isPatch":false,"sender":{"key":"lars@sadau-online.de","avatar":null},"body":"Matthieu Moy <Matthieu.Moy <at> imag.fr> writes:\n\n> \n> Ted Pavlic <ted <at> tedpavlic.com> writes:\n> \n> > According to the INSTALL doc, the default prefix should be ~.\n\nI am the same opinion\n\n\n> I didn't read that in INSTALL. What I read is that if I only run \"make\n> install\", the prefix is $HOME, which is true. Now, ./configure uses a\n> default value which is not the one of the Makefile, but that's another\n> point.\n> \n\nMay be not, confuses newbies.\n\n------\nLars\n"}]}