This commit is contained in:
parent
0237d77071
commit
76b9ca0799
1 changed files with 18 additions and 0 deletions
18
doc/bugs/make_install_can__39__t_be_used_with_sudo.mdwn
Normal file
18
doc/bugs/make_install_can__39__t_be_used_with_sudo.mdwn
Normal file
|
@ -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.
|
Loading…
Add table
Reference in a new issue