Coder Social home page Coder Social logo

Comments (7)

evanphx avatar evanphx commented on May 22, 2024

That's pretty weird. I'm not able to replicate the issue, is perhaps your go installation not installed to /usr/local/go? I believe it needs to be there so that the standard packages can be found.

from puma-dev.

cmwall avatar cmwall commented on May 22, 2024

Having this same issue on Ubuntu 16.04.

➜  puma-dev-0.7 go version
go version go1.6.3 linux/amd64
➜  puma-dev-0.7 make
gb build cmd/puma-dev
FATAL: command "build" failed: failed to resolve import path "cmd/puma-dev": import "github.com/fsnotify/fsevents": not found: stat /home/cody/Desktop/puma-dev-0.7/src/github.com/fsnotify/fsevents: no such file or directory
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 1
➜  puma-dev-0.7 which go
/usr/local/go/bin/go
➜  puma-dev-0.7 

The fsevents package is apparently only for Mac and the github.com/ directory is not available in the src/ directory - it's in the vendor/ directory. Not sure if that would cause any issues with package installation.

from puma-dev.

evanphx avatar evanphx commented on May 22, 2024

That package shouldn't be compiled at all on linux, it's in a darwin specific file...

from puma-dev.

evanphx avatar evanphx commented on May 22, 2024

@cmwall I was unable to replicate the issue on 14.04 (I'm on a slow internet connection and can't download 16.04 right now). I installed go, installed gb, and make worked fine. Can you try deleting the pkg/ and vendor/pkg dirs and try again?

from puma-dev.

cmwall avatar cmwall commented on May 22, 2024

@evanphx Issue was resolved on my end by removing the package and pulling from Github. I think I downloaded an out-of-date release (or possibly a Mac-only release).

Everything works well now 👍

from puma-dev.

hron84 avatar hron84 commented on May 22, 2024

@evanphx of course not! Go is installed to /usr/bin/go, as it is a system-provided package. Since both /usr/bin and /usr/local/bin is in path, it should not be an issue. Maybe you hard-coded some paths for Go?

from puma-dev.

hron84 avatar hron84 commented on May 22, 2024

Btw, I re-cloned the git repo and it seems working for me now. At some point you fixed something for me.

from puma-dev.

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.