From: Joe Eykholt <joe@nuovasystems.com>
To: git@vger.kernel.org
Subject: minor makefile issues
Date: Thu, 02 Aug 2007 11:04:41 -0700 [thread overview]
Message-ID: <46B21CB9.9050303@nuovasystems.com> (raw)
Hi All,
Due to my unusual environment, I ran into two issues when installing git
1.5.2.4 from source.
Although these are unusual, they might not be unique and the fixes are easy:
1. The make install failed because of line 49 in templates/Makefile:
(cd blt && $(TAR) cf - .) | \
(cd '$(DESTDIR_SQ)$(template_dir_SQ)' && $(TAR) xf -)
because I have CDPATH set, the 'cd blt' actually outputs the new
directory on stdout
which confuses the second tar. Changing this to 'cd ./blt' fixes
it. Perhaps this could
be considered a bash bug.
2. My home directory containing my build tree is NFS-mounted, and
root doesn't have any
permission to write it. So, when doing 'make prefix=/usr/local
install-doc' as root, I got these errors:
# make prefix=/usr/local install-doc
make -C Documentation install
make[1]: Entering directory
`/net/da01/home/jre/build/git-1.5.2.4/Documentation'
rm -f doc.dep+ doc.dep
rm: cannot remove `doc.dep': Permission denied
make[1]: *** [doc.dep] Error 1
make[1]: Leaving directory
`/net/da01/home/jre/build/git-1.5.2.4/Documentation'
make: *** [install-doc] Error 2
I'm not sure what the best fix is for the second problem. rm -f ignores
non-existent files but not permission errors.
I guess you could do 'rm -f doc.dep || true'.
No response necessary. Just thought you might like to know about
these. Otherwise, git seems nice!
Thanks,
Joe Eykholt
next reply other threads:[~2007-08-02 18:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-02 18:04 Joe Eykholt [this message]
2007-08-02 19:00 ` minor makefile issues David Kastrup
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46B21CB9.9050303@nuovasystems.com \
--to=joe@nuovasystems.com \
--cc=git@vger.kernel.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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).