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 outdated? #954

Closed
gjtimmerman opened this issue Jan 26, 2022 · 11 comments
Closed

Installation documentation outdated? #954

gjtimmerman opened this issue Jan 26, 2022 · 11 comments

Comments

@gjtimmerman
Copy link

If I follow the installation documentation I seem to have installed a deprecated version.

@AlexDenisov
Copy link
Member

Could you tell a bit more? Which OS and which version are you trying to install?

@AlexDenisov
Copy link
Member

@RainyTong
Copy link

Hi Alex,
I am using mac os 11.01 and trying to use brew to install Mull:
brew install mull-project/mull/mull-stable
However, I got this error message:

==> Downloading https://dl.bintray.com/mull-project/macos/Mull-0.9.0-LLVM-11.0-macOS-10.15.7.zip
Warning: Transient problem: HTTP error Will retry in 1 seconds. 3 retries     
Warning: left.
Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries     
Warning: left.
Warning: Transient problem: HTTP error Will retry in 4 seconds. 1 retries     
Warning: left.
-=O#- #  #    #                                                               
curl: (22) The requested URL returned error: 502 Bad Gateway
Error: mull-stable: Failed to download resource "mull-stable"
Download failed: https://dl.bintray.com/mull-project/macos/Mull-0.9.0-LLVM-11.0-macOS-10.15.7.zip

Could you please help me?

@gjtimmerman
Copy link
Author

I use Ubuntu 18.04 and I used the installation documentation to install mull:

curl -1sLf 'https://dl.cloudsmith.io/public/mull-project/mull-stable/setup.deb.sh' | sudo -E bash
sudo apt-get update
sudo apt-get install mull

It installed 'mull-cxx-9' and when I executed:
'mull-cxx-9 --version' it said that this version was deprecated.

@AlexDenisov
Copy link
Member

@RainyTong unfortunately, homebrew packages are outdated. Currently, I can only suggest downloading the packages directly, for example from here.


@gjtimmerman the tool itself (mull-cxx-X) is deprecated, but the package comes with mull-ir-frontend-9.
Once you install mull-9 (not mull), then you can check where the files are:

$ dpkg-query -L mull-9
/usr
/usr/bin
/usr/bin/mull-cxx-9
/usr/bin/mull-runner-9
/usr/lib
/usr/lib/mull-ir-frontend-9

@AlexDenisov
Copy link
Member

@RainyTong I added a ticket for your issue #957

@RainyTong
Copy link

@RainyTong I added a ticket for your issue #957

Thank you for your quick response and help! @AlexDenisov

@gjtimmerman
Copy link
Author

@AlexDenisov : so if I understand it correctly: the tool I used to check whether the installation was correct that printed a deprecation message with a link to other releases, should not give me the idea that I installed an outdated version?
My suggestion is to let users check the installation in another way and not by using a deprecated tool.

@gjtimmerman
Copy link
Author

@AlexDenisov : a further question about mull-9: as I understand it, that is the latest stable version, right? Should I also use clang-9 with it or can I use any version of clang with it?

@AlexDenisov
Copy link
Member

@AlexDenisov : so if I understand it correctly: the tool I used to check whether the installation was correct that printed a deprecation message with a link to other releases, should not give me the idea that I installed an outdated version?
My suggestion is to let users check the installation in another way and not by using a deprecated tool.

You are right! I'll update the docs!


@AlexDenisov : a further question about mull-9: as I understand it, that is the latest stable version, right? Should I also use clang-9 with it or can I use any version of clang with it?

This is a bit confusing, but the latest version of Mull is 0.15.0 (as of today). The -9 (or any other number) indicates version of Clang/LLVM this version is built for.
So you should be using clang-9 with mull-9, clang-10 with mull-10, etc.

Now I see that the installation doc is broken, I can suggest looking at the tutorial instead https://mull.readthedocs.io/en/0.15.0/tutorials/HelloWorld.html
It was certainly updated.

@AlexDenisov
Copy link
Member

@gjtimmerman the installation doc was indeed outdated. The fixed version is live: https://mull.readthedocs.io/en/latest/Installation.html

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

3 participants