Giter Club home page Giter Club logo

Comments (7)

emersion avatar emersion commented on May 14, 2024

Can you try cloning hydroxide manually and then running go build ./...?

from hydroxide.

brenthuisman avatar brenthuisman commented on May 14, 2024

So I did that in my second attempt, didn't I? I git cloned the github repo into ~/build (creating ~/build/hydroxide) and ran go build in that dir.

from hydroxide.

emersion avatar emersion commented on May 14, 2024

Oh. Hmm, can you try go build ./... instead?

from hydroxide.

brenthuisman avatar brenthuisman commented on May 14, 2024

I ran that command (didn't know ./... had that meaning) in the hydroxide dir. Output:

[10:36:20 last:0s ~/build/hydroxide] go build ./...
go: downloading golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
go: downloading github.com/emersion/go-imap v1.0.0-beta.2
go: downloading github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c
go: downloading github.com/emersion/go-imap-move v0.0.0-20180601155324-5eb20cb834bf
go: downloading github.com/emersion/go-bcrypt v0.0.0-20170822072041-6e724a1baa63
go: extracting github.com/emersion/go-imap v1.0.0-beta.2
go: downloading github.com/emersion/go-sasl v0.0.0-20161116183048-7e096a0a6197
go: extracting github.com/emersion/go-imap-move v0.0.0-20180601155324-5eb20cb834bf
go: extracting github.com/emersion/go-bcrypt v0.0.0-20170822072041-6e724a1baa63
go: downloading github.com/emersion/go-message v0.9.2
go: extracting github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c
go: downloading github.com/boltdb/bolt v1.3.1
go: extracting github.com/emersion/go-sasl v0.0.0-20161116183048-7e096a0a6197
go: extracting github.com/emersion/go-message v0.9.2
go: downloading github.com/emersion/go-webdav v0.0.0-20180509190321-4ef680e9a32f
go: extracting github.com/boltdb/bolt v1.3.1
go: downloading github.com/emersion/go-vcard v0.0.0-20190105225839-8856043f13c5
go: extracting github.com/emersion/go-webdav v0.0.0-20180509190321-4ef680e9a32f
go: downloading github.com/emersion/go-imap-specialuse v0.0.0-20161227184202-ba031ced6a62
go: extracting golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c
go: extracting github.com/emersion/go-vcard v0.0.0-20190105225839-8856043f13c5
go: downloading github.com/emersion/go-textwrapper v0.0.0-20160606182133-d0e65e56babe
go: downloading github.com/emersion/go-smtp v0.11.0
go: downloading golang.org/x/text v0.3.0
go: downloading golang.org/x/net v0.0.0-20190403144856-b630fd6fe46b
go: extracting github.com/emersion/go-imap-specialuse v0.0.0-20161227184202-ba031ced6a62
go: extracting github.com/emersion/go-textwrapper v0.0.0-20160606182133-d0e65e56babe
go: downloading golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e
go: extracting github.com/emersion/go-smtp v0.11.0
go: extracting golang.org/x/net v0.0.0-20190403144856-b630fd6fe46b
go: extracting golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e
go: extracting golang.org/x/text v0.3.0

So, all good it seems. But then, no hydroxide command available, so I run go build:

[10:36:42 last:21s ~/build/hydroxide] go build 
can't load package: package github.com/emersion/hydroxide: unknown import path "github.com/emersion/hydroxide": cannot find module providing package github.com/emersion/hydroxide

Same error as before. Does this help?

from hydroxide.

emersion avatar emersion commented on May 14, 2024

Okay. Can you try go build ./cmd/hydroxide?

from hydroxide.

brenthuisman avatar brenthuisman commented on May 14, 2024

Yes! That produced the hydroxide executable, and it works! Great! Can I help you make sure the initial go build works in any way? At minimum, I can test.

from hydroxide.

nyancrimew avatar nyancrimew commented on May 14, 2024

A fix for this issue is to enable module support by running

GO111MODULE=on go get github.com/emersion/hydroxide/cmd/hydroxide

instead of just

go get github.com/emersion/hydroxide/cmd/hydroxide

from hydroxide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.