Skip to main content
replaced http://ethereum.stackexchange.com/ with https://ethereum.stackexchange.com/
Source Link

Geth console outputs after admin.setSolc("/usr/bin/solc"):

eth.compile.solidity("")
I0601 15:31:56.663260 common/compiler/solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.3.3-0/RelWithDebInfo-Linux/g++/Interpreter
path: /usr/bin/solc
solc: empty source string
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1

and

eth.getCompilers()
[]

I am getting an empty array instead of ['Solidity'].

Installed solidity through: sudo apt-get install solc

output for which solc: /usr/bin/solc (added this to PATH)

I have seen a similar questionquestion, but I am using the latest version (0.3.3) and still have the problem. Am I missing anything?

Geth console outputs after admin.setSolc("/usr/bin/solc"):

eth.compile.solidity("")
I0601 15:31:56.663260 common/compiler/solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.3.3-0/RelWithDebInfo-Linux/g++/Interpreter
path: /usr/bin/solc
solc: empty source string
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1

and

eth.getCompilers()
[]

I am getting an empty array instead of ['Solidity'].

Installed solidity through: sudo apt-get install solc

output for which solc: /usr/bin/solc (added this to PATH)

I have seen a similar question, but I am using the latest version (0.3.3) and still have the problem. Am I missing anything?

Geth console outputs after admin.setSolc("/usr/bin/solc"):

eth.compile.solidity("")
I0601 15:31:56.663260 common/compiler/solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.3.3-0/RelWithDebInfo-Linux/g++/Interpreter
path: /usr/bin/solc
solc: empty source string
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1

and

eth.getCompilers()
[]

I am getting an empty array instead of ['Solidity'].

Installed solidity through: sudo apt-get install solc

output for which solc: /usr/bin/solc (added this to PATH)

I have seen a similar question, but I am using the latest version (0.3.3) and still have the problem. Am I missing anything?

deleted 10 characters in body
Source Link
galahad
  • 3.9k
  • 3
  • 27
  • 66

Geth console outputs after admin.setSolc("/usr/bin/solc"):

eth.compile.solidity("")
I0601 15:31:56.663260 common/compiler/solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.3.3-0/RelWithDebInfo-Linux/g++/Interpreter
path: /usr/bin/solc
solc: empty source string
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1

and

eth.getCompilers()
[]

I am getting an empty array instead of ['Solidity'].

Installed solidity through: sudo apt-get install solc

output for which solc: /usr/bin/solc (added this to PATH)

I have seen a similar question: question, but I am using the latest version (0.3.3) and still have the problem. Am I missing anything?

Geth console outputs after admin.setSolc("/usr/bin/solc"):

eth.compile.solidity("")
I0601 15:31:56.663260 common/compiler/solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.3.3-0/RelWithDebInfo-Linux/g++/Interpreter
path: /usr/bin/solc
solc: empty source string
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1

and

eth.getCompilers()
[]

I am getting an empty array instead of ['Solidity'].

Installed solidity through: sudo apt-get install solc

output for which solc: /usr/bin/solc (added this to PATH)

I have seen a similar question: question, but I am using the latest version (0.3.3) and still have the problem. Am I missing anything?

Geth console outputs after admin.setSolc("/usr/bin/solc"):

eth.compile.solidity("")
I0601 15:31:56.663260 common/compiler/solidity.go:114] solc, the solidity compiler commandline interface
Version: 0.3.3-0/RelWithDebInfo-Linux/g++/Interpreter
path: /usr/bin/solc
solc: empty source string
at web3.js:3119:20
at web3.js:6023:15
at web3.js:4995:36
at :1:1

and

eth.getCompilers()
[]

I am getting an empty array instead of ['Solidity'].

Installed solidity through: sudo apt-get install solc

output for which solc: /usr/bin/solc (added this to PATH)

I have seen a similar question, but I am using the latest version (0.3.3) and still have the problem. Am I missing anything?

Tidy
Link
BokkyPooBah
  • 40.4k
  • 14
  • 123
  • 193

Solidy Solidity is installed but is not working within geth, on Ubuntu 16.04

Tidy
Source Link
BokkyPooBah
  • 40.4k
  • 14
  • 123
  • 193
Loading
Source Link
galahad
  • 3.9k
  • 3
  • 27
  • 66
Loading