Coudn't install solidity 0.4.18 following the wiki instructions.
See original GitHub issueEnvironment information
py-solc-x
Version: 3.2.0solc
Version: 0.4.18- Python Version: 2.7.16
- OS: osx
What was wrong?
when running the install file for solc 0.4.18:
brew install https://github.com/ethereum/homebrew-ethereum/blob/2aea171d7d6901b97d5f1f71bd07dd88ed5dfb42/solidity.rb
I get this:
Updating Homebrew…
Warning: Calling Non-checksummed download of solidity formula file from an arbitrary URL is deprecated! Use ‘brew extract’ or ‘brew create’ and ‘brew tap-new’ to create a formula file in a tap on GitHub instead.
-#O#- # #
Warning: Calling Non-checksummed download of solidity formula file from an arbitrary URL is deprecated! Use ‘brew extract’ or ‘brew create’ and ‘brew tap-new’ to create a formula file in a tap on GitHub instead.
-#O#- # #
Error: solidity: /Users/iland/Library/Caches/Homebrew/Formula/solidity.rb:6: syntax error, unexpected ‘<’
^ /Users/iland/Library/Caches/Homebrew/Formula/solidity.rb:7: syntax error, unexpected ‘<’
<html lang="en"> ^ /Users/iland/Library/Caches/Homebrew/Formula/solidity.rb:8: syntax error, unexpected '<' <head> ^ /Users/iland/Library/Caches/Homebrew/Formula/solidity.rb:10: syntax error, unexpected '<' <link rel="dns-prefetch" href=... ^ /Users/iland/Library/Caches/Homebrew/Formula/solidity.rb:10: syntax error, unexpected tIDENTIFIER, expecting end-of-input <link rel="dns-prefetch" href="https://github.githubassets... ^~~~ <p>so</p> <p>seems this method is not recommended. according to output from the run</p> <h3>How can it be fixed?</h3> <p>Fill this in if you know how the bug could be fixed.</p>Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
@ilanDoron I think that you’re just using the wrong URL. The one you posted is a HTML page that includes the whole Github UI. You cannot execute that as Ruby code - that’s why you get errors about “unexpected ‘<’”. You need to use a direct link to the raw Ruby file:
https://raw.githubusercontent.com/ethereum/homebrew-ethereum/2aea171d7d6901b97d5f1f71bd07dd88ed5dfb42/solidity.rb
Closing this for now, @ilanDoron if you have further issues feel free to re-open or ping me on gitter.