Closed maorhz closed 1 year ago
Hello @maorhz,
Is there any reason why you are trying to manually compile the project? I think it's more convenient to use one of the already compiled binaries available at our releases page: https://github.com/VirusTotal/vt-cli/releases/tag/0.14.0
I hope this helps.
Hello @mgmacias95,
Reason why i install vt-cli manually while compiling the project is because that's the official installation procedure (link below) and it used to work fine until i removed and reinstalled golang on my linux environment. https://github.com/VirusTotal/vt-cli#installing-the-tool
Thanks
Hello @maorhz,
That guide mentions the option of using pre-compiled binaries too:
For installing the tool you can download one the pre-compiled binaries we offer for Windows, Linux and Mac OS X, or alternatively you can compile it yourself from source code.
I'm aware it looks confusing and we have to rethink how this guide is written.
Thank you for your feedback.
Regards, Marta
Made these changes to fix this problem: https://github.com/VirusTotal/vt-cli/pull/83
Update: Here is what solve the issue for me.
I probably set this go environment variable to tackle a different issue. GO111MODULE='off'
To revert the change i used the following command. go env -u GO111MODULE (variable should now look like this GO111MODULE='')
Now when running "make install" from the vt-client folder (cloned repo) worked and i got it compiled successfully.
Thank you for sharing! I'm closing this issue since your problem is now fixed.
go1.21.1 linux/amd64 is installed (manually installed it).
I see the following error message after downloading vt-cli and running "make install"
Any idea where this is going wrong?