Skip to content
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

Installation documentation is incorrect #735

Open
subimage opened this issue May 2, 2022 · 7 comments
Open

Installation documentation is incorrect #735

subimage opened this issue May 2, 2022 · 7 comments
Labels
help wanted Extra attention is needed type/enhancement New feature or request

Comments

@subimage
Copy link

subimage commented May 2, 2022

Describe the bug
Install docs don't work.
image

Running any of these commands does not produce a successful outcome.

To Reproduce
Steps to reproduce the behavior:

  1. Run any of the commands in the screenshot above

Expected behavior
Expected Ferret to install

Screenshots
image

Desktop (please complete the following information):

  • OS: Mac OS 12
  • Version: Latest

Additional context
This works
go install github.com/MontFerret/cli/ferret@latest

@slowmanchan
Copy link
Contributor

slowmanchan commented May 31, 2022

I think the install.sh file is missing support for M1 macs using arm64 arch. uname -m yields arm64 on m1 macs:

image

@ziflex
Copy link
Member

ziflex commented Jun 3, 2022

Yeah, I think we don't have a build for M1 arch.

@subimage are you using Mac with M1 chipset?

@ziflex ziflex added type/bug Something isn't working help wanted Extra attention is needed type/enhancement New feature or request and removed type/bug Something isn't working labels Jun 3, 2022
@subimage
Copy link
Author

Hello, yes indeed I am!

@PierreBrisorgueil
Copy link
Contributor

Same on my side :)

@PierreBrisorgueil
Copy link
Contributor

@ziflex sorry for my absence, for info cli_darwin_arm64.tar.gz works fine on mac M1, but indeed the CLI does not seem to install the right version.

  • memory leak on every scrap with go install
  • everything fine with the cli_darwin_arm64.tar.gz

@PierreBrisorgueil
Copy link
Contributor

FYI mac m1
uname Darwin
uname -m arm64

@sportshead
Copy link

This issue seems to have been fixed in MontFerret/cli@39fa72d

Have tested on an M2 Macbook Air and the installation is successful:

$ cd `mktemp -d`
$ curl https://raw.githubusercontent.com/MontFerret/cli/master/install.sh | LOCATION=. sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5278  100  5278    0     0  11866      0 --:--:-- --:--:-- --:--:-- 11860
Installing MontFerret cli v1.11.0...
Downloading package https://github.com/MontFerret/cli/releases/download/v1.11.0/cli_darwin_arm64.tar.gz as /var/folders/8w/6f9ww_7s1dd0d8z6lmrsszq40000gn/T/MontFerret.cli.XXXXXXX.HzmMWgBUtm/cli_darwin_arm64@v1.11.0/cli_darwin_arm64.tar.gz
Copying /var/folders/8w/6f9ww_7s1dd0d8z6lmrsszq40000gn/T/MontFerret.cli.XXXXXXX.HzmMWgBUtm/cli_darwin_arm64@v1.11.0/ferret to .
Updating profile /Users/sportshead/.bashrc
New version of MontFerret Cli installed to .
Version:
  Self: 1.11.0
  Runtime: 0.18.0
$ uname
Darwin
$ uname -m
arm64
$ ./ferret
Usage:
  ferret [flags]
  ferret [command]

Available Commands:
  browser     Manage Ferret browsers
  config      Manage Ferret configs
  exec        Execute a FQL script or launch REPL
  help        Help about any command
  update
  version     Show the CLI version information

Flags:
  -h, --help               help for ferret
  -l, --log-level string   Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")

Use "ferret [command] --help" for more information about a command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants