pdf / kdeconnect-chrome-extension

A browser extension to send pages and content from your browser to connected KDE Connect devices.
https://chrome.google.com/webstore/detail/kde-connect/ofmplbbfigookafjahpeepbggpofdhbo
MIT License
233 stars 29 forks source link

go install trouble (dbus.go not found) #25

Closed jmalmari closed 5 years ago

jmalmari commented 5 years ago

Hi. Following instructions from README.md, success stopped at go install

$ glide install
[WARN]  The name listed in the config file (github.com/pdf/kdeconnect-chrome-extension) does not match the current location (.)
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Found desired version locally github.com/buger/goterm cc3942e537b1ab00de92d348c40acbfa6565d20f!
[INFO]  --> Found desired version locally github.com/godbus/dbus 5f6efc7ef2759c81b7ba876593971bfce311eab3!
[INFO]  --> Found desired version locally github.com/kardianos/osext c2c54e542fb797ad986b31721e1baedf214ca413!
[INFO]  --> Found desired version locally github.com/paulrademacher/climenu a1afbb4e378bf580e7d6bddd826e44e8f64347a1!
[INFO]  --> Found desired version locally github.com/pkg/term b1f72af2d63057363398bec5873d16a98b453312!
[INFO]  --> Found desired version locally golang.org/x/sys d75a52659825e75fff6158388dddc6a5b04f9ba5!
[INFO]  Setting references.
[INFO]  --> Setting version for github.com/godbus/dbus to 5f6efc7ef2759c81b7ba876593971bfce311eab3.
[INFO]  --> Setting version for github.com/kardianos/osext to c2c54e542fb797ad986b31721e1baedf214ca413.
[INFO]  --> Setting version for github.com/paulrademacher/climenu to a1afbb4e378bf580e7d6bddd826e44e8f64347a1.
[INFO]  --> Setting version for github.com/buger/goterm to cc3942e537b1ab00de92d348c40acbfa6565d20f.
[INFO]  --> Setting version for github.com/pkg/term to b1f72af2d63057363398bec5873d16a98b453312.
[INFO]  --> Setting version for golang.org/x/sys to d75a52659825e75fff6158388dddc6a5b04f9ba5.
[INFO]  Exporting resolved dependencies...
[INFO]  --> Exporting github.com/buger/goterm
[INFO]  --> Exporting github.com/pkg/term
[INFO]  --> Exporting github.com/kardianos/osext
[INFO]  --> Exporting github.com/paulrademacher/climenu
[INFO]  --> Exporting github.com/godbus/dbus
[INFO]  --> Exporting golang.org/x/sys
[INFO]  Replacing existing vendor dependencies

$ go install
dbus.go:9:2: cannot find package "github.com/godbus/dbus" in any of:
    ...
install.go:12:2: cannot find package "github.com/kardianos/osext" in any of:
    ...
install.go:13:2: cannot find package "github.com/paulrademacher/climenu" in any of:
    ...

Disclaimer: new to go

pdf commented 5 years ago

I suspect this is GOPATH related, but is there a reason you need to build from source, rather than using the precompiled release?

jmalmari commented 5 years ago

Just the general paranoia that comes with downloading executables. I can't figure out what's wrong with the paths, so precompiled will have to do. Thanks.