Solidity unter Debian Linux installieren

Ich versuche, Solidity zu installieren, aber anscheinend gibt es keine Online-Repositories mit allen Abhängigkeiten. Ich habe es mit den hier beschriebenen Methoden versucht .

sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install solc
which solc

Das Repository ist ausgefallen.

$ sudo apt-get update
W: Failed to fetch http://ppa.launchpad.net/ethereum/ethereum-dev/ubuntu/dists/jessie/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/ethereum/ethereum/ubuntu/dists/jessie/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu/dists/jessie/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

Ich habe versucht, das Bundle von hier aus zu kompilieren . Ich verwende Debian 8.3 Jessie und habe versucht, die Pakete für Ubuntu 14.04 (trusty tar) zu installieren, aber ich hatte das gleiche Repository-Problem mit llvm (siehe unten).

sudo apt-add-repository ppa:george-edison55/cmake-3.x

sudo apt-get -y update
sudo apt-get -y install language-pack-en-base
sudo dpkg-reconfigure locales
sudo apt-get -y install software-properties-common

sudo add-apt-repository "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main"
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get -y update
sudo apt-get -y install llvm-3.7-dev

sudo add-apt-repository -y ppa:ethereum/ethereum-qt
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get -y update
sudo apt-get -y upgrade

sudo apt-get -y install build-essential git cmake libboost-all-dev libgmp-dev \
    libleveldb-dev libminiupnpc-dev libreadline-dev libncurses5-dev \
    libcurl4-openssl-dev libcryptopp-dev libmicrohttpd-dev libjsoncpp-dev \
    libargtable2-dev libedit-dev mesa-common-dev ocl-icd-libopencl1 opencl-headers \
    libgoogle-perftools-dev qtbase5-dev qt5-default qtdeclarative5-dev \
    libqt5webkit5-dev libqt5webengine5-dev ocl-icd-dev libv8-dev libz-dev

sudo apt-get -y install libjson-rpc-cpp-dev
sudo apt-get -y install qml-module-qtquick-controls qml-module-qtwebengine

Ist eine Binärdatei des Solidity - Compilers verfügbar?

Oder gibt es eine Möglichkeit, den Solidity-Browser-Compiler über die Befehlszeile aufzurufen?

Bearbeiten:

Die Build-Log-Datei ist:

$ ./webthree-helpers/scripts/ethbuild.sh --no-git --project solidity --cores 4 -DEVMJIT=0 -DETHASHCL=0 # build Solidity only

ETHBUILD - INFO: Starting build of webthree-helpers/utils for requested project solidity.

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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
-- boost headers: /usr/include
-- boost lib   : /usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_random.so;/usr/lib/x86_64-linux-gnu/libpthread.so
-- Found gmp: /usr/lib/x86_64-linux-gnu/libgmp.so  
-- Gmp headers: /usr/include/x86_64-linux-gnu
-- Gmp lib   : /usr/lib/x86_64-linux-gnu/libgmp.so
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    ETHASHCL
    EVMJIT


-- Build files have been written to: /home/user/log
Scanning dependencies of target secp256k1
Scanning dependencies of target scrypt
[ 10%] [ 20%] [ 30%] [ 40%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-hash.c.o
Building C object secp256k1/CMakeFiles/secp256k1.dir/secp256k1.c.o
Building C object libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-check.c.o
Building C object libscrypt/CMakeFiles/scrypt.dir/crypto-mcf.c.o
[ 50%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto-scrypt-saltgen.c.o
[ 60%] Building C object libscrypt/CMakeFiles/scrypt.dir/b64.c.o
[ 70%] [ 80%] Building C object libscrypt/CMakeFiles/scrypt.dir/sha256.c.o
Building C object libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-nosse.c.o
[ 90%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-hexconvert.c.o
[100%] Building C object libscrypt/CMakeFiles/scrypt.dir/slowequals.c.o
Linking C shared library libscrypt.so
[100%] Built target scrypt
Linking C static library libsecp256k1.a
[100%] Built target secp256k1

ETHBUILD - INFO: Starting build of libweb3core for requested project solidity.

-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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
-- boost headers: /usr/include
-- boost lib   : /usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_random.so;/usr/lib/x86_64-linux-gnu/libpthread.so

------------------------------------------------------------------------
-- Configuring dev
------------------------------------------------------------------------
--                  CMake Version                            3.0.2
-- CMAKE_BUILD_TYPE Build type                               RelWithDebInfo
-- TARGET_PLATFORM  Target platform                          Linux
--------------------------------------------------------------- features
-- PROFILING        Profiling support                        OFF
-- PARANOID         -                                        OFF
-- MINIUPNPC        -                                        ON
------------------------------------------------------------- components
-- TESTS            Build tests                              ON
-- TOOLS            Build tools                              ON
------------------------------------------------------------------------

-- Found jsoncpp: /usr/lib/libjsoncpp.so  
-- JsonCpp headers: /usr/include/jsoncpp
-- JsonCpp lib   : /usr/lib/libjsoncpp.so
-- Found leveldb: /usr/lib/x86_64-linux-gnu/libleveldb.so  
-- LevelDB headers: /usr/include
-- LevelDB lib   : /usr/lib/x86_64-linux-gnu/libleveldb.so
-- Found CryptoPP: /usr/include (found suitable version "5.6.2", minimum required is "5.6.2") 
-- CryptoPP headers: /usr/include
-- CryptoPP lib   : /usr/lib/libcryptopp.a
-- Found miniupnpc: /usr/lib/x86_64-linux-gnu/libminiupnpc.so  
-- miniupnpc headers: /usr/include
-- miniupnpc lib   : /usr/lib/x86_64-linux-gnu/libminiupnpc.so
./test.cpp./overlaydb.cpp./memorydb.cpp./..//./FixedHash.cpp./..//./Base36.cpp./..//./core.cpp./..//./CommonJS.cpp./..//./RangeMask.cpp./..//./rlp.cpp./..//./SecretStore.cpp./..//./crypto.cpp./..//./trie.cpp./..//./AES.cpp./..//./hexPrefix.cpp./..//./MemTrie.cpp./..//./peer.cpp./..//./eip-8.cpp./..//./rlpx.cpp./..//./capability.cpp./..//./net.cpp
-- Configuring done
CMake Error at test/CMakeLists.txt:21 (add_executable):
  Cannot find source file:

    ./.././FixedHash.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


-- Build files have been written to: /home/user/log
ETHBUILD - ERROR: cmake configure phase for repository "libweb3core" failed.

Bearbeiten:

Nachdem Sie alle Abhängigkeiten installiert und die Build-Schritte befolgt haben:

$ cd webthree-umbrella
$ mkdir build && cd build
$ cmake .. -DCMAKE_PREFIX_PATH=/home/user/solidityDependencies/Qt/5.6/gcc_64

cmake schlägt mit den folgenden Fehlern fehl:

------------------------------------------------------------------------
-- Configuring ethereum
------------------------------------------------------------------------
--                  CMake Version                            3.0.2
-- CMAKE_BUILD_TYPE Build type                               RelWithDebInfo
-- TARGET_PLATFORM  Target platform                          Linux
--------------------------------------------------------------- features
--                  Hardware identification support          
--                  HTTP Request support                     
-- VMTRACE          VM execution tracing                     OFF
-- PROFILING        Profiling support                        OFF
-- FATDB            Full database exploring                  ON
-- ROCKSDB          Prefer rocksdb to leveldb                OFF
-- OLYMPIC          Default to the Olympic network           OFF
-- PARANOID         -                                        OFF
------------------------------------------------------------- components
-- GUI              Build GUI components                     ON
-- TESTS            Build tests                              ON
-- ETHASHCL         Build OpenCL components                  ON
-- EVMJIT           Build LLVM-based JIT EVM                 OFF
-- SOLIDITY         Build Solidity                           ON
------------------------------------------------------------------------

-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - not found
-- Looking for CL_VERSION_1_2
-- Looking for CL_VERSION_1_2 - found
-- Found OpenCL: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 (found version "1.2") 
-- OpenCL headers: /usr/include
-- OpenCL lib   : /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
-- Cpuid headers: CPUID_INCLUDE_DIR-NOTFOUND
-- Cpuid lib   : CPUID_LIBRARY-NOTFOUND
-- Found json_rpc_cpp: /usr/local/include (found suitable version "0.6.0", minimum required is "0.4") 
-- json-rpc-cpp headers: /usr/local/include
-- json-rpc-cpp lib   : /usr/local/lib/libjsonrpccpp-common.so;/usr/local/lib/libjsonrpccpp-server.so;/usr/local/lib/libjsonrpccpp-client.so
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so  
-- curl headers: /usr/include
-- curl lib   : /usr/lib/x86_64-linux-gnu/libcurl.so
CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./createRandomTest.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./fuzzHelper.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./commonjs.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./icap.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./dagger.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./keymanager.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./difficulty.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./Transaction.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./GasPricer.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./State.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./TransactionQueue.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./BlockChainInsert.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./BlockChainTests.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./BlockChain.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./BlockQueue.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./Genesis.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./StateOriginal.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./AccountDiff.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./Block.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./TransactionTests.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./ClientBase.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./crypto.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./vm.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./natspec.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.


CMake Error at libethereum/test/CMakeLists.txt:26 (file):
  file STRINGS file
  "/home/user/webthree-umbrella/libethereum/test/./..//./boost.cpp"
  cannot be read.


CMake Error at libethereum/test/CMakeLists.txt:34 (add_test):
  add_test given test NAME ""RandomTestCreationSuite"/&createRandomTest"
  which already exists in this directory.

Bearbeiten:

Testfälle nicht erstellen; Ausführen von cmake wie folgt:

$ cd webthree-umbrella
$ mkdir build && cd build
$ cmake .. -DTESTS=0 -DCMAKE_PREFIX_PATH=/path/to/Qt/5.4/gcc_64

erzeugt die folgende Ausgabe:

/home/user/webthree-umbrella/libethereum/libethash/internal.c:244:49: error: array subscript is above array bounds [-Werror=array-bounds]
   reduction = reduction * FNV_PRIME ^ mix->words[w + 1];
                                                 ^
/home/user/webthree-umbrella/libethereum/libethash/internal.c:245:49: error: array subscript is above array bounds [-Werror=array-bounds]
   reduction = reduction * FNV_PRIME ^ mix->words[w + 2];
                                                 ^
/home/user/webthree-umbrella/libethereum/libethash/internal.c:246:49: error: array subscript is above array bounds [-Werror=array-bounds]
   reduction = reduction * FNV_PRIME ^ mix->words[w + 3];
                                                 ^
cc1: all warnings being treated as errors
libethereum/libethash/CMakeFiles/ethash.dir/build.make:77: recipe for target 'libethereum/libethash/CMakeFiles/ethash.dir/internal.c.o' failed
make[2]: *** [libethereum/libethash/CMakeFiles/ethash.dir/internal.c.o] Error 1
CMakeFiles/Makefile2:810: recipe for target 'libethereum/libethash/CMakeFiles/ethash.dir/all' failed
make[1]: *** [libethereum/libethash/CMakeFiles/ethash.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Kompilieren Sie den gesamten C++-Zweig ( github.com/ethereum/webthree-umbrella ), was viel einfacher ist, als zu versuchen, Rosinen herauszupicken, was Sie wollen
Ich brauche nur Solidität vom Ast und es wird trotzdem scheitern, da der Ast Solidität enthält.
Immer wenn ich versucht habe, nur Teile dieses C++-Bundles zu kompilieren, bin ich gescheitert. Ich weiß, dass Sie nicht jede einzelne ausführbare Datei darin benötigen, aber versuchen Sie trotzdem zu sehen, ob es mit dem gesamten Bundle funktioniert. nicht die Fehler zu lösen, die ich beim Versuch bekam, Rosinen herauszupicken, was ich wollte (Mischung in meinem Fall, Solidität in deinem)
Wenn Sie alles bauen wollen, führen Sie einfach cmake aus?
Ich würde cmake -DGUI=0in Ihrem Fall eine tun, um zu vermeiden, dass Sie von den Qt-Abhängigkeiten hängen bleiben, die nicht von Debian behandelt werden, es sei denn, Sie möchten Qt manuell installieren, was ich auch in meiner Mix-Antwort erkläre;)
Ich habe qt installiert. Wissen Sie, wie ich die cmake-Datei von webthree-umbrella dorthin leiten kann? Die Binärdateien werden in ein Verzeichnis heruntergeladen und müssen noch in die Verzeichnisse /usr/bin /usr/lib gestellt werden.
versuchen cmake .. -DCMAKE_PREFIX_PATH=/home/YOURUSER/Qt/5.4/gcc_64oder wo auch immer Sie Qt5.4 installiert haben
@euri10 Hattest du auch das Problem beim Erstellen der Testfälle?
nein, ich verwende cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/home/MyUSER/Qt/5.4/gcc_64einmal im build-Ordner. Ich glaube nicht, dass das Debug-Flag einen Unterschied macht, ich bin jedoch überrascht, dass Sie cmake 3.0.2 haben, ich bin bei 3.5.2, also vielleicht aktualisieren Sie das?
Ich werde cmake aktualisieren und es erneut versuchen (ich muss es neu erstellen, da dies das Neueste auf Debian ist).
Ich bin auch auf Debian, aber Testing (Sie könnten auf Stable sein, wenn Sie 3.0.2 haben), Testing hat 3.5.2 fwiw

Antworten (3)

Sie können die Ubuntu-Repos nicht auf Debian verwenden, da einige Libs, insbesondere die libcrypto++-dev, nicht kompatibel sind, müssen Sie das Projekt selbst kompilieren, diese Antwort kann hilfreich sein

Meine Antwort hier, während sie sich mit der Mix-IDE befasst, erklärt speziell, welche Probleme beim Kompilieren des gesamten C++-Zweigs unter Debian auftreten können, und kann auch nützlich sein

Danke für die Antwort. Ich habe libcrypto bereits selbst gebaut. Werde die Frage bald bearbeiten
Sollten Sie Fragen haben, zögern Sie nicht, es hat eine Weile gedauert, aber ich denke, der zweite Link, den ich gepostet habe, behandelt alle wichtigen Probleme, die Sie haben könnten
Ich habe die Frage mit meinen Protokollen aktualisiert. Es schlägt bei einem Testfall fehl.
Die Datei ist da. Ich denke, der Verzeichnispfad ist verstümmelt.
Willkommen bei Ethereum Stack Exchange! Während dies die Frage theoretisch beantworten kann, wäre es vorzuziehen , die wesentlichen Teile der Antwort hier aufzunehmen und den Link als Referenz bereitzustellen. Es sieht nach einer perfekten Antwort aus. Benötigen Sie Hilfe bei der Markdown-Formatierung ?
Vielleicht könnte @Sebi (der die ursprüngliche Frage gestellt hat) die Teile identifizieren, die ihm helfen, sein Problem zu lösen. Ich will nicht alles aufzählen.

Ich bin unter Debian auf ähnliche Probleme gestoßen, habe ein bisschen damit gekämpft und dann einfach aufgegeben und eine virtuelle Ubuntu-Maschine in VirtualBox installiert.

Funktioniert super. (Hinweis: Ich betreibe nur ein privates Netz, kann also nicht sagen, wie schmerzhaft es ist, die Blockchain zu synchronisieren.)

Ich ermutige Sie, meine Lösung auszuprobieren - ich habe alles zum Laufen gebracht, inkl. alle GUI-Tools.
Ich habe irgendwo gelesen, dass 'geth --fast' die Synchronisierung beschleunigen sollte.