build milvus on Mac
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system, operating-systems
Research direction
Start in the milvus directory by running make milvus on macOS and inspect the Makefile's Go build command. Use the linux_syscall.c:67:13 error to confirm the failure point and check the requested GOOS/GOARCH context. Done means the documented build completes and produces a macOS binary without the reported C99 error.
Written by the indexing model from the issue text.
Description
Mac 上面编译 milvus:
cd milvus
make milvus
报错: linux_syscall.c:67:13: error: implicit declaration of function 'setresgid' is invalid in C99
在编译 go 代码的时候报错。可以更改 Makefile,在 GO build 前面指定 GOOS, GOARCH 来编译出 mac 下面的二进制来修复:
GO111MODULE=on GOOS=darwin GOARCH=amd64 $(GO) build -ldflags="-r $${RPATH}
- Dominant language
- Python
- Stars
- 5
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from davideuler/programming-tips
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 28/100
All issues in davideuler/programming-tips
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100