[GH-ISSUE #1414] Windows install runs into errors #62790

Closed
opened 2026-05-03 10:19:18 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @csaben on GitHub (Dec 7, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1414

Originally assigned to: @BruceMacD on GitHub.

after manual install instructions and
go build
I receive the following errors:

# github.com/jmorganca/ollama/readline
readline\readline.go:199:12: undefined: syscall.Kill
readline\readline.go:199:28: undefined: syscall.SIGSTOP

After messing with readline.go I just manage to get a .exe file that doesn't work

@deadcoder0904 or anyone who compiled on windows and got a working executable, could you describe how you did it?

Originally created by @csaben on GitHub (Dec 7, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1414 Originally assigned to: @BruceMacD on GitHub. after manual install instructions and ```go build``` I receive the following errors: ``` # github.com/jmorganca/ollama/readline readline\readline.go:199:12: undefined: syscall.Kill readline\readline.go:199:28: undefined: syscall.SIGSTOP ``` After messing with readline.go I just manage to get a .exe file that doesn't work @deadcoder0904 or anyone who compiled on windows and got a working executable, could you describe how you did it?
Author
Owner

@deadcoder0904 commented on GitHub (Dec 7, 2023):

i didn't try to install it. didn't do it manually either.

<!-- gh-comment-id:1845251257 --> @deadcoder0904 commented on GitHub (Dec 7, 2023): i didn't try to install it. didn't do it manually either.
Author
Owner

@csaben commented on GitHub (Dec 7, 2023):

i didn't try to install it. didn't do it manually either.

Did you use wsl on windows?

<!-- gh-comment-id:1845555171 --> @csaben commented on GitHub (Dec 7, 2023): > i didn't try to install it. didn't do it manually either. Did you use wsl on windows?
Author
Owner

@BruceMacD commented on GitHub (Dec 7, 2023):

@csaben there was a change that added some unix specific system calls so the development build of windows broke. Just opened a fix.

<!-- gh-comment-id:1846032264 --> @BruceMacD commented on GitHub (Dec 7, 2023): @csaben there was a change that added some unix specific system calls so the development build of windows broke. Just opened a fix.
Author
Owner

@deadcoder0904 commented on GitHub (Dec 8, 2023):

Did you use wsl on windows?

no. couldn't get wsl working for sometime so i dropped it. dont know why i need it as terminal opens fast enough nowadays.

<!-- gh-comment-id:1846825461 --> @deadcoder0904 commented on GitHub (Dec 8, 2023): > Did you use wsl on windows? no. couldn't get wsl working for sometime so i dropped it. dont know why i need it as terminal opens fast enough nowadays.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62790