diff options
author | https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl0 <Ben@web> | 2012-08-20 17:25:36 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-08-20 17:25:36 +0000 |
commit | 76b9ca0799f999a7379cdf1458f50ee48ddef885 (patch) | |
tree | 14d422b23ceba671ac79f49b8f7b5c75787571bd /doc | |
parent | 0237d7707196c5f85bd9df077d2f21b5b0853453 (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/make_install_can__39__t_be_used_with_sudo.mdwn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/bugs/make_install_can__39__t_be_used_with_sudo.mdwn b/doc/bugs/make_install_can__39__t_be_used_with_sudo.mdwn new file mode 100644 index 000000000..6cb136586 --- /dev/null +++ b/doc/bugs/make_install_can__39__t_be_used_with_sudo.mdwn @@ -0,0 +1,18 @@ +What steps will reproduce the problem? +In the git-annex tree, + + $ make + $ sudo make install + +What is the expected output? What do you see instead? + +One would expect git-annex to be installed in the configured prefix. Unfortunately, make tries to rebuild the "all" target before "install". This fails (presumably) due to incorrect environment state, + + ghc -O2 -Wall -ignore-package monads-fd -ignore-package monads-tf -outputdir tmp -IUtility -DWITH_ASSISTANT -DWITH_S3 -DWITH_INOTIFY --make git-annex Utility/libdiskfree.o + + Utility/FileSystemEncoding.hs:17:8: + Could not find module `Data.Bits.Utils': + Use -v to see a list of the files searched for. + make: *** [git-annex] Error 1 + +Removing "all" from the dependencies of "install" allows the process to run to completion, although this is clearly not a satisfactory solution. |