Comments (6)
cd go-callvis/ && make
go get -u github.com/golang/dep/cmd/dep
dep ensure -update
make: dep: No such file or directory
make: *** [dep] Error 1
from go-callvis.
No way for me to test this. But I checked the Makefile and the only reason I found it might be is the order of targets.
I have changed the order, try updating the repository and trying again.
from go-callvis.
Okay. I tried doing clean install and found out the problem was due some recent changes in dep tool. Using Godep.* files instead manifest/lock.json. I committed a5f9bf8 to fix this. Try with the latest changes.
from go-callvis.
Did you run:
go get -u github.com/TrueFurby/go-callvis
cd $GOPATH/src/github.com/TrueFurby/go-callvis && make
I just tested clean install and everything works for me. However I have no way to test this on mac.
from go-callvis.
Still issues on macOS 10.12
$ go get -u github.com/TrueFurby/go-callvis
$ cd $GOPATH/src/github.com/TrueFurby/go-callvis && make
go get -u github.com/golang/dep/cmd/dep
dep ensure -update
make: dep: No such file or directory
make: *** [dep] Error 1
Update: Setting the correct $GOPATH should fix the issue.
On Mac set the following in your ~/.bashrc
# Go path
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
from go-callvis.
I have the same issue on macOS 10.12.6. It is due to the lack of $GOPATH/bin
in $PATH
. The Makefile assumes that it is included when it tries to call dep
after installing it.
I think it would be better to prefix all calls to dependencies installed with go get
with $GOPATH/bin
in the Makefile, since that will work regardless of whether you have added $GOPATH/bin
to your $PATH
. While that may be a popular modification among Gophers, it is not set by the default installer (which only adds $GOROOT
to your $PATH
), is not mentioned in the official install docs, and is only suggested as an optional modification for convenience in "How to write Go code".
from go-callvis.
Related Issues (20)
- Go-callvis analyze big repos is too slow, do you have any suggestions?
- [error]zsh: exec format error on MacOS
- Add support for graph database formats
- Installation is not working
- Installation not working HOT 2
- Compilation warnings on macOS 14.0 with Apple M2 chip HOT 3
- Got error running go-callvis on github.com/googlecloudplatform/gcsfuse HOT 5
- "ent.withHooks$1: cannot convert *t0 (M) to PM"
- Link to Github pages is broken
- Not linking caller to callee in a goroutine
- Visualizing Specific Functions or Receivers
- warning: implicit truncation from 'int'
- Internal panic in pointer analysis HOT 1
- Machine readable output
- internal error in pointer analysis: runtime error: invalid memory address or nil pointer dereference
- panic: runtime error: invalid memory address or nil pointer dereference [recovered] HOT 2
- quick question: is go-callvis thread-safe? HOT 1
- README to explain `<target package>` HOT 1
- Temporary SVG file cannot be rewritten on Windows
- panic: runtime error: invalid memory address or nil pointer dereference HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-callvis.