Skip to content

Commit

Permalink
Merge pull request #1160 from vorburger/patch-1
Browse files Browse the repository at this point in the history
add required glibc-static package required to manually build
  • Loading branch information
rajatchopra authored Aug 28, 2019
2 parents ecb6db3 + c4aa106 commit 288fb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
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`
* 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`
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.
Expand Down

0 comments on commit 288fb58

Please sign in to comment.