Comments (6)
I had the same issue as well. This was quite confusing. The shell.nix indicates that go-1.18 was last used for development of this repo. It would be helpful in the README to point this out!
And thanks for the package, I am using it in my work and tarp was very helpful.
from tarp.
You need to separately install libczmq
and libsodium
and then proceed with the installation. go get ...
has been deprecated so, I followed the make
way.
from tarp.
Should tarp
be usable on MacOS? I'm having the same issues described by OP despite having installed libsodium and zeromq. I'm on MacOS 12.6.2 (Intel).
brew install libsodium zeromq
make bin/tarp
Using the commands above I get the same error as @Cortexelus.
from tarp.
Dear All,
I'm having the same problems on my Ubuntu 20.04.3 LTS as people have listed above. I've installed libczmq
and libsodium
following @sayakpaul 's advice. But
make bin/tarp
still gives me
cd tarp && make install make[1]: Entering directory '/home/kivan/tarp/tarp/tarp/tarp' go clean go mod tidy github.com/tmbdev/tarp/tarp imports github.com/dgraph-io/badger/v3 imports github.com/dgraph-io/badger/v3/y imports github.com/klauspost/compress/zstd tested by github.com/klauspost/compress/zstd.test imports github.com/klauspost/compress/zip imports io/fs: malformed module path "io/fs": missing dot in first path element github.com/tmbdev/tarp/tarp imports github.com/dgraph-io/badger/v3 imports github.com/dgraph-io/badger/v3/y imports github.com/klauspost/compress/zstd tested by github.com/klauspost/compress/zstd.test imports github.com/klauspost/compress/zip tested by github.com/klauspost/compress/zip.test imports testing/fstest: malformed module path "testing/fstest": missing dot in first path element make[1]: *** [Makefile:6: tarp] Error 1 make[1]: Leaving directory '/home/kivan/tarp/tarp/tarp/tarp' make: *** [Makefile:15: install] Error 2
Any suggestions?
from tarp.
I'm having similar troubles installing with make
. On Ubuntu and Mac, after working through a series of errors around packages, I invariably get to:
cd tarp && make tarp
go clean
go mod tidy
go get -u
go: upgraded github.com/Masterminds/squirrel v1.5.3 => v1.5.4
go: upgraded github.com/cespare/xxhash/v2 v2.1.2 => v2.2.0
go: upgraded github.com/dgraph-io/badger/v3 v3.2103.2 => v3.2103.5
go: upgraded github.com/dgraph-io/ristretto v0.1.0 => v0.1.1
go: upgraded github.com/dustin/go-humanize v1.0.0 => v1.0.1
go: upgraded github.com/golang/glog v1.0.0 => v1.1.2
go: upgraded github.com/golang/protobuf v1.5.2 => v1.5.3
go: upgraded github.com/google/flatbuffers v22.9.29+incompatible => v23.5.26+incompatible
go: upgraded github.com/klauspost/compress v1.15.11 => v1.17.1
go: upgraded github.com/mattn/go-sqlite3 v1.14.15 => v1.14.17
go: upgraded github.com/tmbdev/tarp/dpipes v0.0.0-20220223203531-468ca2eefc90 => v0.0.0-20221009163818-4aac5677b928
go: upgraded go.opencensus.io v0.23.0 => v0.24.0
go: upgraded golang.org/x/net v0.0.0-20221004154528-8021a29435af => v0.17.0
go: upgraded golang.org/x/sys v0.0.0-20221006211917-84dc82d7e875 => v0.13.0
go: upgraded google.golang.org/protobuf v1.28.1 => v1.31.0
go build -ldflags "-X main.version=`date -Iseconds`" -o tarp cat.go create.go main.go proc.go sort.go split.go
tarp -h
make[1]: tarp: No such file or directory
make[1]: *** [tarp] Error 1
make: *** [bin/tarp] Error 2
Hard to tell what's the issue. I tried go-current, go-1.18, and go-1.19 on Ubuntu. The go-1.18 distribution doesnt work because some packages require go-1.19 at least. The other two failed with the above.
from tarp.
In Ubuntu 22.04
sudo apt-get install libczmq-dev
sudo apt-get install libsodium-dev
I then followed this approach
git clone https://github.com/tmbdev/tarp.git
cd tarp
make bin/tarp
sudo make install
and with go version go1.22.2 linux/amd64, the installation was completed successfully minus the error message "make[1]: tarp: No such file or directory" which does not impact its usage.
from tarp.
Related Issues (11)
- Installation/usage guide HOT 6
- Usage of tarp sort HOT 1
- undefined: msgpack.Decode during installation HOT 2
- Cannot install tarp with golang v1.17.2 HOT 4
- tarp split not creating shards with the correct number of samples per shard. HOT 1
- Add LICENSE
- Usage of shuffle in tarp HOT 1
- Docker support
- Subset support HOT 2
- Go error for a very large tar file 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 tarp.