Hi Thanks for your guide, i tried severla ties but i keep getting the same problem :
the git console says -
# pkg-config --cflags Qt5Core Qt5Widgets Qt5Quick Package Qt5Core was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Core.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Core' found Package Qt5Widgets was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Widgets.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Widgets' found Package Qt5Quick was not found in the pkg-config search path. Perhaps you should add the directory containing `Qt5Quick.pc' to the PKG_CONFIG_PATH environment variable No package 'Qt5Quick' found exit status 1
i tried to play around with PKG_CONFIG_PATH, but nothing worked... thanks in advance Lior
apparently i installed Qt 5.3 ..... so i now changed to 5.2.1 as per your instruction and that was resolved however the installation still fails with :
# github.com/ethereum/go-ethereum/ethereum/repl go\src\github.com\ethereum\go-ethereum\ethereum\repl\repl.go:56: undefined: addHistory go\src\github.com\ethereum\go-ethereum\ethereum\repl\repl_windows.go:22: undefined: otto
Following the instructions here (http://www.de-centralize.com/decentralize-media-story-39502) i ran into and solved the following issues. 1. Per the link listed I installed QT 5.3.2 and had to update the paths in the batch file accordingly. my batch file is this
set GOPATH=C:\Ethereum\go
set PATH=%PATH%;C:\Ethereum\pkg-config\bin
set PATH=%PATH%;%GOPATH%\bin
set PATH=C:\Qt\Qt5.3.2\5.3\mingw482_32\bin;C:\Qt\Qt5.3.2\Tools\mingw482_32\bin;%PATH%;
set PKG_CONFIG_PATH=C:\Qt\Qt5.3.2\5.3\mingw482_32\lib\pkgconfig
set PATH=C:\MinGW\bin;%PATH%
start "" "C:\Program Files (x86)\Git\bin\sh.exe" --login -i
2. Change the repository addresess from
go get -u github.com/ethereum/go-ethereum/ethereum
go get -u github.com/ethereum/go-ethereum/mist to go get -u github.com/ethereum/go-ethereum/cmd/ethereum
go get -u github.com/ethereum/go-ethereum/cmd/mist 3.the error in math.h was resolved by changing '_hypot' to 'hypot in the location listed in the error.
The error i cannot seem to fix is 'QtWebEngine was not found'. it's not in there and I can't find it on the web. There are instructions here http://qt-project.org/wiki/QtWebEngineOnWindows but the repository at gitorious.org no longer exists, I assume because they were bought out. I tried installing QT5.2.1 and updated the paths in the batch file but stopped at the same error. Any help is appreciated.
so far as I could read into it, is that Qt5WebEngine will not be avaiable if you use MinGW and now I am asking: Why? QT says that Gecko won't allow to build with MinGW. So it is just a problem with licenses or is it technically incompatible?
Comments
Thanks for your guide, i tried severla ties but i keep getting the same problem :
the git console says -
# pkg-config --cflags Qt5Core Qt5Widgets Qt5Quick
Package Qt5Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Core' found
Package Qt5Widgets was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Widgets.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Widgets' found
Package Qt5Quick was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Quick.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Quick' found
exit status 1
i tried to play around with PKG_CONFIG_PATH, but nothing worked...
thanks in advance
Lior
however the installation still fails with :
# github.com/ethereum/go-ethereum/ethereum/repl
go\src\github.com\ethereum\go-ethereum\ethereum\repl\repl.go:56: undefined: addHistory
go\src\github.com\ethereum\go-ethereum\ethereum\repl\repl_windows.go:22: undefined: otto
any idea about this?
thanks
Lior
export PKG_CONFIG_PATH=/usr/local/Cellar/qt5/5.4.0/lib/pkgconfig/
worked for me.
1. Per the link listed I installed QT 5.3.2 and had to update the paths in the batch file accordingly. my batch file is this 2. Change the repository addresess from
go get -u github.com/ethereum/go-ethereum/ethereum go get -u github.com/ethereum/go-ethereum/mist
to
go get -u github.com/ethereum/go-ethereum/cmd/ethereum go get -u github.com/ethereum/go-ethereum/cmd/mist
3.the error in math.h was resolved by changing '_hypot' to 'hypot in the location listed in the error.
The error i cannot seem to fix is 'QtWebEngine was not found'. it's not in there and I can't find it on the web. There are instructions here http://qt-project.org/wiki/QtWebEngineOnWindows but the repository at gitorious.org no longer exists, I assume because they were bought out.
I tried installing QT5.2.1 and updated the paths in the batch file but stopped at the same error. Any help is appreciated.
I tried running the EthereumBuildEnv.bat and got the following message.
"Windows cannot find 'C:\Program Files (x86)\Git\bin\sh.exe'. Make sure you typed the name correctly, and then try again."
I checked the path and sh.exe is in C:\Program Files (x86)\Git\bin\
Any help is appreciated.
https://github.com/ethereum/go-ethereum/issues/234
QT says that Gecko won't allow to build with MinGW. So it is just a problem with licenses or is it technically incompatible?