Hello, I was trying to run your client on Debian Wheezy and was following your wiki:
https://github.com/ethereum/cpp-ethereum/wiki/Compatibility-Info-and-Build-Tips#wheezyand
https://github.com/ethereum/cpp-ethereum/wiki/Building-on-Ubuntu#cryptopp-562-from-sourceEverything was going well.
I get to the point where I have to build your client and I met a problem:
```
[email protected]:~/cpp-ethereum$ cd build/
[email protected]:~/cpp-ethereum/build$ cmake .. -DCMAKE_BUILD_TYPE=Release -DHEADLESS=1 && make
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
LANGUAGES: OFF; VMTRACE: OFF; PARANOIA: OFF; HEADLESS: 1
CXXFLAGS: -std=c++11 -Wall -Wno-unknown-pragmas -Wextra -DSHAREDLIB -fPIC
-- Found Crypto++: /home/mazikwyry/cryptopp/src, /usr/lib/libcryptopp.so
-- Crypto++ found and version greater or equal to 5.6.2
-- Found LevelDB Headers
-- Found LevelDB Library: /usr/lib/x86_64-linux-gnu/libleveldb.so
-- Found Python-2.7 Headers: /usr/include/python2.7
-- Failed to find the Python-2.7 Library!
-- Failed to find the miniupnpc headers!
-- Found jsonrpc headers
-- Found jsonrpc library: /usr/local/lib/libjsonrpc.so
-- Found readline headers
-- Found readline library: /usr/lib/x86_64-linux-gnu/libreadline.so
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1194 (message):
Unable to find the requested Boost libraries.
Boost version: 1.49.0
Boost include path: /usr/include
Detected version of Boost is too old. Requested version was 1.53 (or
newer).
The following Boost libraries could not be found:
boost_thread
boost_date_time
boost_system
boost_regex
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
CMakeLists.txt:292 (find_package)
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1194 (message):
Unable to find the requested Boost libraries.
Boost version: 1.49.0
Boost include path: /usr/include
Detected version of Boost is too old. Requested version was 1.53 (or
newer).
The following Boost libraries could not be found:
boost_filesystem
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
libethcore/CMakeLists.txt:43 (find_package)
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1194 (message):
Unable to find the requested Boost libraries.
Boost version: 1.49.0
Boost include path: /usr/include
Detected version of Boost is too old. Requested version was 1.53 (or
newer).
The following Boost libraries could not be found:
boost_unit_test_framework
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
test/CMakeLists.txt:30 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
Boost_DATE_TIME_LIBRARY (ADVANCED)
linked by target "ethcore" in directory /home/mazikwyry/cpp-ethereum/libethcore
linked by target "evm" in directory /home/mazikwyry/cpp-ethereum/libevm
linked by target "ethereum" in directory /home/mazikwyry/cpp-ethereum/libethereum
Boost_FILESYSTEM_LIBRARY (ADVANCED)
linked by target "ethcore" in directory /home/mazikwyry/cpp-ethereum/libethcore
Boost_REGEX_LIBRARY (ADVANCED)
linked by target "ethereum" in directory /home/mazikwyry/cpp-ethereum/libethereum
Boost_SYSTEM_LIBRARY (ADVANCED)
linked by target "lll" in directory /home/mazikwyry/cpp-ethereum/liblll
linked by target "ethcore" in directory /home/mazikwyry/cpp-ethereum/libethcore
linked by target "evm" in directory /home/mazikwyry/cpp-ethereum/libevm
linked by target "ethereum" in directory /home/mazikwyry/cpp-ethereum/libethereum
Boost_THREAD_LIBRARY (ADVANCED)
linked by target "ethential" in directory /home/mazikwyry/cpp-ethereum/libethential
linked by target "evmface" in directory /home/mazikwyry/cpp-ethereum/libevmface
linked by target "lll" in directory /home/mazikwyry/cpp-ethereum/liblll
linked by target "serpent" in directory /home/mazikwyry/cpp-ethereum/libserpent
linked by target "ethcore" in directory /home/mazikwyry/cpp-ethereum/libethcore
linked by target "evm" in directory /home/mazikwyry/cpp-ethereum/libevm
linked by target "ethereum" in directory /home/mazikwyry/cpp-ethereum/libethereum
-- Configuring incomplete, errors occurred!
```
It;s saying that I don't have good version of Boost. But I installed it as your guide says:
Download boost_1_55_tar.bz2 from boost.org. Build according to the instructions and install with b2 install --prefix=
So where is the problem ? Can someone help me ?
Comments
Create a directory for the libraries which will be built, as you probably don't want them as system libraries. This will be used as a prefix for the builds. Add /lib and /usr/lib to your LD_LIBRARY_PATH. Add /include and /usr/include to your C_INCLUDE_PATH and CPLUS_INCLUDE_PATH.
How should it be done ?
before installing boost you must install to packages:
python-all-dev and libbz2-dev
[ 87%] Building CXX object alethzero/CMakeFiles/alethzero.dir/MiningView.cpp.o
/home/mazikwyry/cpp-ethereum/alethzero/MiningView.cpp:24:21: fatal error: QtWidgets: No such file or directory
compilation terminated.
make[2]: *** [alethzero/CMakeFiles/alethzero.dir/MiningView.cpp.o] Error 1
make[1]: *** [alethzero/CMakeFiles/alethzero.dir/all] Error 2
make: *** [all] Error 2
I have Qt 5.3 installed. Maybe the problem in in no qt5 dev package but I can't find proper for debian wheezy. Any ideas?
p libgnuradio-qtgui3.5.3.2 - gnuradio Qt graphical user interface funct
p libgnuradio-qtgui3.5.3.2:i386 - gnuradio Qt graphical user interface funct
p libmgl-qt5 - library for scientific graphs. (Qt runtime
p libmgl-qt5:i386 - library for scientific graphs. (Qt runtime
p libqt4pas5 - Qt4 interface bindings for Pascal
p libqt4pas5:i386 - Qt4 interface bindings for Pascal
p libqwt5-qt4 - Qt4 widgets library for technical applicat
p libqwt5-qt4:i386 - Qt4 widgets library for technical applicat
p libqwt5-qt4-dev - Qt4 widgets library for technical applicat
p libqwt5-qt4-dev:i386 - Qt4 widgets library for technical applicat
p libvtk5-qt4-dev - Visualization Toolkit - A high level 3D vi
p libvtk5-qt4-dev:i386 - Visualization Toolkit - A high level 3D vi
p libvtk5.8-qt4 - Visualization Toolkit - A high level 3D vi
p libvtk5.8-qt4:i386 - Visualization Toolkit - A high level 3D vi
p python-qwt5-qt4 - Python version of the Qwt5 technical widge
p python-qwt5-qt4:i386 - Python version of the Qwt5 technical widge