Comments (14)
[root@v48807 go]# ls /root/go/src/gx/ipfs/QmTG23dvpBCBjqQwyDxV8CQT6jmS4PSftNr1VqHhE3MLy7/go-log/
total 88
drwxr-xr-x 3 root root 4096 Mar 5 04:29 . drwxr-xr-x 3 root root 4096 Mar 4 05:37 ..
-rw-r--r-- 1 root root 986 Mar 4 05:37 context.go
-rw-r--r-- 1 root root 771 Mar 4 05:37 context_test.go
-rw-r--r-- 1 root root 93 Mar 4 05:37 entry.go
-rw-r--r-- 1 root root 296 Mar 4 05:37 example_test.go
drwxr-xr-x 2 root root 4096 Mar 5 04:29 .gx
-rw-r--r-- 1 root root 1083 Mar 4 05:37 LICENSE
-rw-r--r-- 1 root root 1086 Mar 4 05:37 loggable.go
-rw-r--r-- 1 root root 7074 Mar 5 04:29 log.go
-rw-r--r-- 1 root root 1860 Mar 4 05:37 metadata.go
-rw-r--r-- 1 root root 838 Mar 4 05:37 metadata_test.go
-rw-r--r-- 1 root root 2737 Mar 5 04:29 oldlog.go
-rw-r--r-- 1 root root 1321 Mar 5 04:29 option.go -rw-r--r-- 1 root root 712 Mar 4 05:37 package.json
-rw-r--r-- 1 root root 730 Mar 5 04:29 polite_json_formatter.go -rw-r--r-- 1 root root 3002 Mar 4 05:37 README.md
-rw-r--r-- 1 root root 183 Mar 4 05:37 .travis.yml -rw-r--r-- 1 root root 5243 Mar 4 05:37 writer.go
-rw-r--r-- 1 root root 2754 Mar 4 05:37 writer_test.go
[
[root@v48807 ~]#
There are suppose to be a compiled file or what?
from ipfs-crawl.
You need to gx install the packages first:
gx --verbose install --global
from ipfs-crawl.
hrm, the Makefile does that already. I wonder whether the package has disappeared.
from ipfs-crawl.
But gx is already installed globally:
[root@v48807 ipfs-crawl]# which gx
/root/go/bin/gx
[root@v48807 ipfs-crawl]# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/root/.local/bin:/root/go/bin:/usr/lib/golang/bin:/usr/java/default/bin:/opt/android-sdk/tools/bin:/opt/android-sdk/build-tools/28.0.3:/opt/gradle/gradle-5.1.1/bin
[
[root@v48807 ~]#
from ipfs-crawl.
It was installed from the different place initially:
[root@v48807 ~]# locate --regex bin.*/gx$
/root/go/bin/gx
/root/go/src/github.com/ipfs/go-ipfs/bin/gx
I cant figure out why your installer seems to expect to find the binary at the different place. Hm.
Or it is just my environment variables configured incorrectly?
[root@v48807 ~]# echo $GOPATH
/root/go
[root@v48807 ~]# echo $GOROOT
/usr/lib/golang
from ipfs-crawl.
what is your GOPATH?
from ipfs-crawl.
what is your GOPATH?
As I pointed out above, its /root/go
from ipfs-crawl.
Hard to tell what's going on. It works for me locally, but maybe that's because I have the offending package cached.
from ipfs-crawl.
@vyzo
I would be nice to understand what is going on.
I will patch it up with a symbolic link for now:
[root@v48807 ipfs-crawl]# locate --regexp go.*/writer$
/root/go/pkg/mod/github.com/ipfs/[email protected]/writer
/root/go/src/github.com/ipfs/go-log/writer
/root/go/src/gx/ipfs/QmNuLxhqRhfimRZeLttPe6Sa44MNwuHAdaFFa9TDuNZUmf/ginkgo/internal/writer
/root/go/src/gx/ipfs/QmcuXC5cxs79ro2cUuHs4HQ2bkDLJUYokwL8aivcX6HW3C/go-log/writer
[root@v48807 ipfs-crawl]# ln -s /root/go/src/gx/ipfs/QmcuXC5cxs79ro2cUuHs4HQ2bkDLJUYokwL8aivcX6HW3C/go-log/writer /root/go/src/gx/ipfs/QmTG23dvpBCBjqQwyDxV8CQT6jmS4PSftNr1VqHhE3MLy7/go-log/writer
from ipfs-crawl.
@vyzo
Any solution to this problem?
from ipfs-crawl.
I think the right solution is to make the crawler gomod aware and drop the Makefile altogether!
Care for a patch?
from ipfs-crawl.
Yeah, please give a patch. I will be very thankful.
from ipfs-crawl.
I was asking whether you wanted to make a patch :)
from ipfs-crawl.
Oh okay, I will look into this and get back to you.
from ipfs-crawl.
Related Issues (4)
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 ipfs-crawl.