You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue with either the scripts or the instructions for building windows binaries from source. I have followed exact instructions starting from a fresh ubuntu installation with both Wine 1.6 (included with ubuntu) and Wine 2.01. The resultant binaries do not work. They are also 5MB smaller than the distributed versions, so either something is missing when installing from source with the instructions or something is added to the distributed versions.
Considering the readme in contrib/build-wine/ refers to "build-electrum.sh" which has not even existed since version 2.5 of electrum and has since been replaced by build-electrum-git.sh, I am pretty sure that the build instructions are lacking other relevant information.
Does anyone know what is missing in the instructions that cause a failed build? It appears to affect several userse: #2331
Steps to Build
Download the source for 2.8.3 from github
Install all the dependencies listed for linux to run it from the python code according to readme in root directory
Run the following according to the readme in the root directory:
./contrib/make_packages
Run the following according to the readme in ./contrib/build-wine/readme
./prepare-wine.sh
./prepare-hw.sh
./build-electrum-git.sh
Result
3 executables are created. Standalone, portable, and install. The Install executable will run the install process, but the resultant electrum executable does not work and immediately exit. The standalone / portable items also immediately exit.
The text was updated successfully, but these errors were encountered:
Okay, I have made some progress. I ensured that module requests was version 2.5.1. That stopped some errors that I was seeing when I would run the resultant executable.
However, now that I did that I am getting a new error:
ImportError: No module named socks
I suspect this is similar to the "requests" module issue where past a certain version it does not work well with PyInstaller. Can anyone tell me what versions of all the modules that electrum is compiled with? That way I can compile a version that should match the distributed builds.
There is an issue with either the scripts or the instructions for building windows binaries from source. I have followed exact instructions starting from a fresh ubuntu installation with both Wine 1.6 (included with ubuntu) and Wine 2.01. The resultant binaries do not work. They are also 5MB smaller than the distributed versions, so either something is missing when installing from source with the instructions or something is added to the distributed versions.
Considering the readme in contrib/build-wine/ refers to "build-electrum.sh" which has not even existed since version 2.5 of electrum and has since been replaced by build-electrum-git.sh, I am pretty sure that the build instructions are lacking other relevant information.
Does anyone know what is missing in the instructions that cause a failed build? It appears to affect several userse: #2331
Steps to Build
Download the source for 2.8.3 from github
Install all the dependencies listed for linux to run it from the python code according to readme in root directory
Run the following according to the readme in the root directory:
./contrib/make_packages
Run the following according to the readme in ./contrib/build-wine/readme
./prepare-wine.sh
./prepare-hw.sh
./build-electrum-git.sh
Result
3 executables are created. Standalone, portable, and install. The Install executable will run the install process, but the resultant electrum executable does not work and immediately exit. The standalone / portable items also immediately exit.
The text was updated successfully, but these errors were encountered: