Global Feed Post Login
Replying to Avatar Sherry

Problem: no such file or directory when running engine

```

rm -rf ~/nostrocket/data

go mod tidy

go run cmd/engine/*.go

# github.com/prashantgupta24/mac-sleep-notifier/notifier

In file included from ../../go/pkg/mod/github.com/prashantgupta24/mac-sleep-notifier@v1.0.1/notifier/notifierMain.go:7:

./main.h:5:10: fatal error: mach/mach_port.h: No such file or directory

5 | #include

| ^~~~~~~~~~~~~~~~~~

compilation terminated.

make: *** [Makefile:8: reset] Error 1

```

I was running engine at Ubuntu 22.04.1 LTS and run into the problem above.

Avatar
gsovereignty 2y ago

I think this is fixed, just sent a patch. Please pull the latest and check, and close the problem if it's solved

Reply to this note

Please Login to reply.

Discussion

Avatar
Sherry 2y ago

Yes it is fixed. Thank you 🙏

Thread collapsed