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

Provides a snippet that works correctly when installing from binaries. #1866

Open
5 of 6 tasks
tenandorone opened this issue Sep 15, 2024 · 0 comments
Open
5 of 6 tasks

Comments

@tenandorone
Copy link

There is an error in the bash script when installing from binaries. The filename of the binary file is different from the current one.
Provide a snippet that works correctly.

Getting started with Infer/Get Infer

  • current script
    VERSION=0.XX.Y; \
    curl -sSL "https://github.com/facebook/infer/releases/download/v$VERSION/infer-linux64-v$VERSION.tar.xz" \
    | sudo tar -C /opt -xJ && \
    sudo ln -s "/opt/infer-linux64-v$VERSION/bin/infer" /usr/local/bin/infer
  • proposal script
    INFER_INST_VERSION=1.2.0; \
    INFER_INST_OS_ARCH=linux-x86_64; \
    curl -sSL "https://github.com/facebook/infer/releases/download/v$INFER_INST_VERSION/infer-$INFER_INST_OS_ARCH-v$INFER_INST_VERSION.tar.xz" \
    | sudo tar -C /opt -xJ && \
    sudo ln -s "/opt/infer-$INFER_INST_OS_ARCH-v$INFER_INST_VERSION/bin/infer" /usr/local/bin/infer
    infer --version

This script works correctly at Windows 11 WSL/Ubuntu and MX Linux 23.3


  • Please make sure your issue is not addressed in the FAQ.

Please include the following information:

  • The version of infer from infer --version.
    • Infer version v1.2.0 (This is after installing using the script proposed this time.)
  • Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc.
    • MX-23.3_x64 Libretto May 19 2024 and Windows 11 WSL/Ubuntu
  • Which command you ran, for example infer -- make.
    • n/a
  • The full output in a paste, for instance a gist.
    • xz: (stdin): File format not recognized etc..
  • If possible, a minimal example to reproduce your problem (for instance, some code where
    infer reports incorrectly, together with the way you run infer to reproduce the incorrect
    report).
    • running current script.

I'm sorry for this text only, not in the form of a pull request.

Thank you for creating such wonderful software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant