瀏覽代碼

Merge pull request #1160 from vorburger/patch-1

add required glibc-static package required to manually build
Rajat Chopra 5 年之前
父節點
當前提交
288fb58f91
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Documentation/building.md

+ 1 - 1
Documentation/building.md

@@ -25,7 +25,7 @@ Then you should be able to set the ARCH as above
     * On Ubuntu, run `sudo apt-get install linux-libc-dev golang gcc`. 
     * On Ubuntu, run `sudo apt-get install linux-libc-dev golang gcc`. 
       If the golang version installed is not 1.7 or higher. Download the newest golang and install manully.
       If the golang version installed is not 1.7 or higher. Download the newest golang and install manully.
       To build the flannel.exe on windows, mingw-w64 is also needed. Run command `sudo apt-get install mingw-w64`
       To build the flannel.exe on windows, mingw-w64 is also needed. Run command `sudo apt-get install mingw-w64`
-    * On Fedora/Redhat, run `sudo yum install kernel-headers golang gcc`.
+    * On Fedora/Redhat, run `sudo yum install kernel-headers golang gcc glibc-static`.
 2. Git clone the flannel repo. It MUST be placed in your GOPATH under `github.com/coreos/flannel`: `cd $GOPATH/src; git clone https://github.com/coreos/flannel.git`
 2. Git clone the flannel repo. It MUST be placed in your GOPATH under `github.com/coreos/flannel`: `cd $GOPATH/src; git clone https://github.com/coreos/flannel.git`
 3. Run the build script, ensuring that `CGO_ENABLED=1`: `cd flannel; CGO_ENABLED=1 make dist/flanneld` for linux usage.
 3. Run the build script, ensuring that `CGO_ENABLED=1`: `cd flannel; CGO_ENABLED=1 make dist/flanneld` for linux usage.
    Run the build script, ensuring that `CGO_ENABLED=1`: `cd flannel; CGO_ENABLED=1 make dist/flanneld.exe` for windows usage.
    Run the build script, ensuring that `CGO_ENABLED=1`: `cd flannel; CGO_ENABLED=1 make dist/flanneld.exe` for windows usage.