-
Notifications
You must be signed in to change notification settings - Fork 20.9k
eth.compile.solidity
fails with solc version 0.3.5
#2703
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
Comments
I am fixing this right now but it will take a bit to get the into a release. |
I tried downgrading solc but could not. The following commands did not get it down to 0.3.4: apt-get remove libethereum solc
apt-get install libethereum=1.2.8-SNAPSHOT--20160612-f169b0d~trusty-0ubuntu1
apt-get install solc=1.2.8-SNAPSHOT--20160612-f169b0d~trusty-0ubuntu1 |
I'm running into the same issue, is there any way to downgrade solidity compiler properly and get this working? |
Looking at ethereum/solidity#651 the issue is already fixed upstream. The next solidity release will contain this fix and it will work again. Sorry for the inconvenience. |
Got same thing. Waiting for the solution. Thank you! |
Please @fjl let us know when the new version of |
For anyone who wants a temporary workaround, you can clone this repo: https://github.com/mattdf/solidity-static and do a build in docker, then copy the solc file to your install. It makes a statically compiled build of solc so it should work on most distros. |
OSX El capitan seems to not like the docker build. Any options for me? |
@kayagoban It worked like a charm in an Ubuntu VM. Docker on a VM :D |
Errr, Very late to the party, but I just |
Works fine with me too: $ sudo apt-cache policy solc
solc:
Installed: 1.2.9-SNAPSHOT--20160629-6a05dd7~wily-0ubuntu1
Candidate: 1.2.9-SNAPSHOT--20160629-6a05dd7~wily-0ubuntu1
Version table:
*** 1.2.9-SNAPSHOT--20160629-6a05dd7~wily-0ubuntu1 0
500 http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu/ wily/main amd64 Packages
500 http://ppa.launchpad.net/ethereum/ethereum/ubuntu/ wily/main amd64 Packages
100 /var/lib/dpkg/status
$ echo "" | solc
$ solc --version
solc, the solidity compiler commandline interface
Version: 0.3.5-0/RelWithDebInfo-Linux/g++/Interpreter |
System information
Geth version: 1.5.0-unstable
OS & Version: Ubuntu Trusty x86_64
Commit hash :
Expected behaviour
In Geth console, when calling
eth.compile.solidity("contract Test{}")
we should see the compiled code.This is ok with solc version 0.3.4.
Actual behaviour
With solc version 0.3.5:
Steps to reproduce the behaviour
Launch
geth console
, launcheth.compile.solidity("contract Test{}")
.Backtrace
The text was updated successfully, but these errors were encountered: