bitvora / wot-relay

archiving every note in your web of trust
65 stars 24 forks source link

build constraints exclude all Go files #3

Closed markwaters closed 2 months ago

markwaters commented 2 months ago

When I am running the go build command it stops with this -

root@wotrelay:~/wot-relay# go build
github.com/PowerDNS/lmdb-go/lmdb: build constraints exclude all Go files in /root/go/pkg/mod/github.com/!power!d!n!s/lmdb-go@v1.9.2/lmdb
root@wotrelay:~/wot-relay# 

Any suggestions would be appreciated.

fiatjaf commented 2 months ago

Maybe you are running in a platform that doesn't support cgo or some other system requirement for LMDB?

markwaters commented 2 months ago

Thanks @fiatjaf I am running it in a ProxMox LXC using the latest Debian. I've previously built strfry and nostr-rs-relay under the same setup without an issue. I'm new to Go though , so I'm probably missing something.

fiatjaf commented 2 months ago

No, I think I'm just wrong.

barrydeen commented 2 months ago

This is because missing build-essentials i will update dependencies. run sudo apt update && sudo apt install build-essential and it should work

markwaters commented 2 months ago

Fixed. Thank you.