Giter VIP home page Giter VIP logo

Comments (6)

hhoeflin avatar hhoeflin commented on June 27, 2024 1

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.

sayakpaul avatar sayakpaul commented on June 27, 2024

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.

CharlesHolbrow avatar CharlesHolbrow commented on June 27, 2024

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.

ivankukuljan avatar ivankukuljan commented on June 27, 2024

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.

cinjon avatar cinjon commented on June 27, 2024

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.

pantelis avatar pantelis commented on June 27, 2024

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)

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.