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

Re: Question about installing git from source

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
Dec 23, 2014, 17:53 UTC
Message-ID
<CANCZXo4q-TwH8WyqP1GYcUY-obWG1HAt8gSEs7jy5TJiUDG0HA@mail.gmail.com>
In-Reply-To
<xmqq1tnq45yk.fsf@gitster.dls.corp.google.com>

I looked at Makefile, and seems that it occurs from here: https://github.com/git/git/blob/master/Makefile#L2205

It tries to copy all files/folders from git root directory but 'install' command prints this error. I tried to execute 'sudo install -d -m 755' in other directory and if there is directory too it prints the same error. For example:

~/scripts $ ls
addPPA    cleanMailTrash  git-autor    git-ranges       git-tp
            install     scripts    ssh-live       term-help  tp-git
    updateMail  xray-start
buildGit  deployWork      git-install  git-remove-tags
git-update-commit-message  install.sh  ssh-build  ssh-wiwob-lab  test
     updateGitDev  updateNews
test - is directory here

~/scripts $ sudo install -d -m 755 . Copying scripts to /usr/bin cp: omitting directory ‘test’ Done

2014-12-23 23:43 GMT+06:00 Junio C Hamano <gitster@pobox.com>:
Show 10 quoted lines
> Alexander Kuleshov <kuleshovmail@gmail.com> writes:
>
>> install -d -m 755 '/usr/bin'
>> Copying scripts to /usr/bin
>
> As 'git grep "Copying scripts"' gives us nothing, the message is
> obviously not what we are giving.  Perhaps you have a strange "install"
> in your path that does not understand "-d" is a way to tell it to
> make sure a directory exists (by creating one as necessary)?
>
-- 
_________________________
0xAX
Previous: Junio C HamanoNext: Alexander Kuleshov
Message 5 of 6 in “Question about installing git from source”
  1. Alexander KuleshovDec 23, 2014
  2. Junio C HamanoDec 23, 2014
  3. Alexander KuleshovDec 23, 2014
  4. Junio C HamanoDec 23, 2014
  5. Alexander KuleshovDec 23, 2014
  6. Alexander KuleshovDec 24, 2014

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.