浏览代码

Merge pull request #6304 from glyn/mac-build-no-sudo

Do not build using sudo on Mac OS X
James Turnbull 11 年之前
父节点
当前提交
4e20407d82
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      docs/sources/contributing/devenvironment.md

+ 7 - 0
docs/sources/contributing/devenvironment.md

@@ -50,6 +50,13 @@ This command will take some time to complete when you first execute it.
 If the build is successful, congratulations! You have produced a clean
 If the build is successful, congratulations! You have produced a clean
 build of docker, neatly encapsulated in a standard build environment.
 build of docker, neatly encapsulated in a standard build environment.
 
 
+> **Note**:
+> On Mac OS X, make targets such as `build`, `binary`, and `test`
+> must **not** be built under root. So, for example, instead of the above
+> command, issue:
+> 
+>     $ make build
+
 ## Build the Docker Binary
 ## Build the Docker Binary
 
 
 To create the Docker binary, run this command:
 To create the Docker binary, run this command: