-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go install github.com/doronbehar/pistol@latest doesn't fetch the latest version? #112
Comments
Linux on a Mac hardware? Nice. Do you have the |
Thanks for the quick answer! Yeah, had this setup for just about a month now. :) I checked, I checked that I have the following files using your link as a reference: usr/include/magic.h
|
Does setting the following helps?
Before running |
I added that to my .profile. Unfortunately it doesn't help even after I rebooted my computer. |
What happens when you |
I got it set up using cloning and then using ´make´ and it worked! Although pistol is not currently rendering the images in my terminal, but just showing textual information about the image. This latter thing is probably it's whole separate issue though. EDIT: It seems you don't support image preview with rendering, so I guess this issue can be closed down. Thanks for the help! PS. Great avatar, Snufkin is my favorite Moomin character :) |
Great I'm glad you have pistol working for you now. I won't close this issue as I think there is an issue with
And I encountered a different error:
What worries me is that I just bumped a new version (0.5.2) - perhaps that will be detected as What ever you'll decide to do, you can always fetch a static build of pistol (along with a manpage) via the release's assets: |
I can't install pistol on my Linux Mint computer. It has the following specs:
`Operating System: Linux Mint 21.3
Kernel: Linux 5.15.0-113-generic
Architecture: x86-64
Hardware Vendor: Apple Inc.
Hardware Model: iMac16,2
I have Golang and libmagic installed.
> go version
go version go1.22.5 linux/amd64
> whereis libmagic
libmagic: /usr/share/man/man3/libmagic.3.gz
Then when I'm trying to use command
go install github.com/doronbehar/pistol/cmd/pistol@latest
I get the following output# github.com/doronbehar/pistol/internal_writers
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:33:22: undefined: archiver.NewZip
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:36:22: undefined: archiver.NewRar
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:39:22: undefined: archiver.NewTar
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:44:23: undefined: archiver.NewTarXz
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:50:23: undefined: archiver.NewTarBz2
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:56:23: undefined: archiver.NewTarGz
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:62:23: undefined: archiver.NewTarLz4
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:68:23: undefined: archiver.NewTarSz
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:73:23: undefined: archiver.NewTarZstd
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:85:34: undefined: archiver.Walker
go/pkg/mod/github.com/doronbehar/[email protected]/internal_writers/archives.go:85:34: too many errors
Any ideas is there something that I'm missing?
The text was updated successfully, but these errors were encountered: