JanDeDobbeleer / homebrew-oh-my-posh

Homebrew formula for Oh my Posh
14 stars 9 forks source link

issue - Installing oh-my-posh from jandedobbeleer/oh-my-posh ==> go build -o=oh-my-posh -ldflags="-s -w -X 'main.Version=14.23.1'" #16

Closed jatinjohny closed 1 year ago

jatinjohny commented 1 year ago

brew install jandedobbeleer/oh-my-posh/oh-my-posh ==> Fetching jandedobbeleer/oh-my-posh/oh-my-posh ==> Downloading https://github.com/JanDeDobbeleer/oh-my-posh/archive/v14.23.1.tar.gz Already downloaded: /home/jatinjohny/.cache/Homebrew/downloads/7c8da61038b32af9d66c91e3fe702ecda5c1a03b2e7ec905b1efb148f4eaf928--oh-my-posh-14.23.1.tar.gz ==> Installing oh-my-posh from jandedobbeleer/oh-my-posh ==> go build -o=oh-my-posh -ldflags="-s -w -X 'main.Version=14.23.1'" Last 15 lines from /home/jatinjohny/.cache/Homebrew/Logs/oh-my-posh/01.go: 2023-03-31 17:43:12 +0000

go build -o=oh-my-posh -ldflags="-s -w -X 'main.Version=14.23.1'"

runtime/cgo

_cgo_export.c:3:10: fatal error: stdlib.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/jandedobbeleer/homebrew-oh-my-posh/issues

JanDeDobbeleer commented 1 year ago

@jatinjohny you're missing some steps after having installed homebrew. See requirements on this page.