Skip to content
Cosmopediaby Unity Nodes
DiscussionsMiscellaneousTutorial fails buildForum ↗

Tutorial fails build

Miscellaneous11 posts1,170 views11 likesLast activity Oct 2021
EK
ekkisOP
Sep 2021 1

I’m following the directions on liquidity module ( https://tutorials.cosmos.network/liquidity-module/ ) and after the `make install` step, I get the following output: mkdir -p /Users/ekkis/dev/gravity-dex/build/ go install -mod=readonly -tags “netgo ledger” -ldflags ‘-X github/cosmos/cosmos-sdk/version.Name=gaia -X github-com/cosmos/cosmos-sdk/version.AppName=gaiad -X github-com/cosmos/cosmos-sdk/version.Version=add-liquidity-module-to-gaia-fd6bb727660a052bc1e702325acd28b02dfd6a39 -X github-com/cosmos/cosmos-sdk/version.Commit=fd6bb727660a052bc1e702325acd28b02dfd6a39 -X “github-com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger” -X github-com/tendermint/tendermint/version.TMCoreSemVer=v0.34.10 -w -s’ -trimpath ./… go: downloading github-com/cosmos/cosmos-sdk v0.42.5 […] go: downloading github-com/gtank/ristretto255 v0.1.2 go: downloading github-com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643 go: downloading github-com/zondax/hid v0.9.0 github-com/keybase/go-keychain cgo-gcc-prolog:203:11: warning: ‘SecTrustedApplicationCreateFromPath’ is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]]…

Excerpt (1168 of 1873 characters). Read the whole post on the forum ↗

EK
ekkis
Oct 2021 1

it’s been 18 days since I posted. it’s clear I will not receive any help getting the simplest of tutorials to build. it’s equally clear that there is no developer support. it’s a pity. I wanted to develop on Cosmos, but zero chance I will do so when there is no support

I will find an alternative platform. there are many.

SH
shonfeder
Oct 2021 1

I think this forum has very little activity. Iiuc, the discord is a more active, and the preferred, place for development help: Cosmos Developers

EK
ekkis
Oct 2021 1

thanks but I’ve had zero luck there too

EB
ebuchman
Oct 2021 1

I believe go install will put binaries in your $GOPATH/bin, where $GOPATH should be $HOME/go by default if you haven’t set it to something else. It seems like maybe you need to add that directory (eg. $HOME/go/bin) to your $PATH so your shell can find the binary? See The default GOPATH · rakyll.org for more info!

RO
robert.zaremba
Oct 2021 1

The issue is related to building a dependency. It seams the go-keychain is failing to compile. Maybe something related to C compiler defaults on Mac?

RO
robert.zaremba
Oct 2021 1

@ekkis which repository did you clone? Is there a Makefile in /Users/ekkis/dev/gravity-dex? If yes, try make build in the project root directory (and install make / build-essential if you don’t have it).

EK
ekkis
Oct 2021 1

I used the one indicated in the tutorial: git clone https://github.com/cosmos/gaia && cd gaia, and yes, there is a Makefile in that directory

EK
ekkis
Oct 2021 1

Jiminy Christmas. I might have known that were I a “go” guy, but that solved my problem. the compilation worked, it just produced the binary in a place I wouldn’t have known to look. it’s voodoo

a thousand thanks!

EK
ekkis
Oct 2021 1

I would close this ticket but I guess this site doesn’t understand the concept of closing a ticket, or it does but makes it completely unintuitive to the user. sigh…

EK
ekkis
Oct 2021 1

incidentally, the version from gaiad doesn’t look anything like what I’d expect:

$ gaiad version
add-liquidity-module-to-gaia-fd6bb727660a052bc1e702325acd28b02dfd6a39

← Back to Discussions