Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any luck building this on mac osx? Brew and go have both moved on #798

Open
mrfez2 opened this issue May 18, 2024 · 2 comments
Open

Any luck building this on mac osx? Brew and go have both moved on #798

mrfez2 opened this issue May 18, 2024 · 2 comments

Comments

@mrfez2
Copy link

mrfez2 commented May 18, 2024

Hi - none of the build commands seem to work anymore

Go get is no longer supported

Brew cask has changed, but even reworking that command I get
Error: goofys has been disabled because it does not build!

Downloading from source doesn't compile either, but I'm no go expert.

Anyone had any luck?!

@martincpt
Copy link

Having the same trouble.

Either got Error: goofys has been disabled because it does not build! when installing with brew or a psutil related error while building from source.

# github.com/shirou/gopsutil/cpu
../../go/pkg/mod/github.com/shirou/gopsutil@v0.0.0-20190731134726-d80c43f9c984/cpu/cpu_darwin_cgo.go:13:5: warning: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
# github.com/shirou/gopsutil/process
../../go/pkg/mod/github.com/shirou/gopsutil@v0.0.0-20190731134726-d80c43f9c984/process/process_darwin.go:595:34: undefined: KinfoProc
../../go/pkg/mod/github.com/shirou/gopsutil@v0.0.0-20190731134726-d80c43f9c984/process/process_darwin.go:596:8: undefined: KinfoProc
../../go/pkg/mod/github.com/shirou/gopsutil@v0.0.0-20190731134726-d80c43f9c984/process/process_darwin.go:609:32: undefined: KinfoProc
../../go/pkg/mod/github.com/shirou/gopsutil@v0.0.0-20190731134726-d80c43f9c984/process/process_darwin.go:613:62: undefined: KinfoProc
../../go/pkg/mod/github.com/shirou/gopsutil@v0.0.0-20190731134726-d80c43f9c984/process/process_darwin.go:615:11: undefined: KinfoProc

Could you please help us @kahing ?

@martincpt
Copy link

@mrfez2 I've just build it from source after manually upgrading gopsutil to a later version.

After all of this, I took a look into PR's and i think #778 is related and probably would work for you as well.

Try it and see yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants