Bitcoin Forum
June 21, 2024, 02:47:45 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: BTC Reward. How to compile Electrum standalone executable from Python source cod on: June 29, 2020, 12:33:21 AM
It's simply not possible to get Electrum to build the Windows binaries using the build-wine system WITHOUT cloning the git repository first


it doesn't work if you extract the files from the .tar.gz... you will always get the

/opt/wine64/drive_c/electrum /opt/wine64/drive_c/electrum/contrib/build-wine
fatal: not a git repository (or any parent up to mount point /opt/wine64/drive_c)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
🗯 ERROR: build-electrum-git failed


Can anyone find a workaround to build the windows binaries without cloning from the git repository?
2  Bitcoin / Bitcoin Technical Support / Re: BTC Reward. How to compile Electrum standalone executable from Python source cod on: June 21, 2020, 01:34:39 AM
UPDATE:

I've been busy in real world, could barely get close to the computer. I've finally managed to get down to work and get to the bottom of this.

I've visited this link

https://github.com/spesmilo/electrum/tree/master/contrib/build-wine#windows-binaries

INSTALLED DOCKER

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
$ sudo apt-get update
$ sudo apt-get install -y docker-ce

BUILT IMAGE

$ sudo docker build -t electrum-wine-builder-img contrib/build-wine

NOW COMES THE TRICKY PART FOR ME

$ FRESH_CLONE=contrib/build-wine/fresh_clone && \
    sudo rm -rf $FRESH_CLONE && \
    mkdir -p $FRESH_CLONE && \
    cd $FRESH_CLONE  && \
    git clone https://github.com/spesmilo/electrum.git && \
    cd electrum

and to build

$ git checkout $REV
$ sudo docker run -it \
    --name electrum-wine-builder-cont \
    -v $PWD:/opt/wine64/drive_c/electrum \
    --rm \
    --workdir /opt/wine64/drive_c/electrum/contrib/build-wine \
    electrum-wine-builder-img \
    ./build.sh

Excuse my noobness, but from this official windows binaries build page, if I understand correctly, you need to download a fresh clone from github.

BUT, my intention is to build from the file I downloaded, which is Electrum-3.3.8.tar.gz which I extracted to Electrum-3.3.8 directory. I only want to build Electrum Standalone Executable from this directory and not from a clone from github.

Is this the only possibility? Can anyone confirm? Yes / No

If cloning from github is the only possibility to do this, then I've set up an unrealistic goal from the start which only became apparent now Sad

Waiting for your feedback
3  Bitcoin / Bitcoin Technical Support / Re: BTC Reward. How to compile Electrum standalone executable from Python source cod on: June 14, 2020, 01:42:49 AM
Hello,

After 2 days of smashing my head to different walls, I managed to get to this point:

Successfully installed Oracle VirtualBox Manager.
Successfully installed Ubuntu from iso, but only after wasting an hour or more because I had to change a setting in BIOS: "intel virtual machine > disabled to enable"

Then I had to learn basic linux enviroment, which I never done before,

Successfully installed these dependencies/tools:

sudo apt update
sudo apt-get update
sudo apt install git
sudo apt-get install python3
sudo apt-get install python3-pyqt5
sudo apt-get install python3-setuptools
sudo apt-get install python3-pip
sudo apt-get install curl
sudo apt-get install protobuf-compiler
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce

Successfully downloaded Electrum, then ran it using

"python3 Electrum-3.3.8/run_electrum"

Ran a few tests, it works, it's all good, but I lost 2 days. Not complaining that much, I learned a few new things, tomorrow I will attempt to create the Standalone Executable for Windows. I would have been better off having someone with experience beside me to teach me a few things, and I would have been glad to pay for that.
4  Bitcoin / Bitcoin Technical Support / Re: BTC Reward. How to compile Electrum standalone executable from Python source cod on: June 11, 2020, 10:36:57 AM
The problem is that I've never used Linux before, I don't know how to create a virtual machine with Linux, so I am better off someone doing this via rdp on my pc.
5  Bitcoin / Bitcoin Technical Support / Re: BTC Reward. How to compile Electrum standalone executable from Python source cod on: June 10, 2020, 10:59:51 PM
Or can teach me/show me via RDP, I will pay in BTC. Name your price.

RDP programs like team viewer have been the source of many thefts in the past.  So don't do this. Don't give anyone access to your system.

I suggest you join #electrum irc channel on freenode and ask for help from the developers there.

Thanks for your concern, but not the case here since me and the guy who will teach me how to do this we will work on a freshly installed windows on a separate pc than my personal one. So no worries on that matter. No sensitive information there.

---------------- Now back to the topic

I wanna thank everyone for the replies,

I got a job offer from a premium member, so I will follow that lead and work with him on completion of the goal.

The task is simple, I just need someone to teach me how to compile Electrum standalone executable for windows from source code, and I pay in btc for this job. That's it.

Fair and simple.
6  Bitcoin / Bitcoin Technical Support / BTC Reward. How to compile Electrum standalone executable from Python source cod on: May 28, 2020, 12:06:54 AM
Anyone know how to compile Electrum standalone executable from Python source code?

Or can teach me/show me via RDP, I will pay in BTC. Name your price.

Please no time wasters, only if you have successfully done this before.
7  Bitcoin / Bitcoin Discussion / Re: Is this Bitcoin run sustainable? on: December 02, 2017, 08:07:38 PM
we either see a run up to 14k usd till Christmas then a correction, or a correction soon, one of these 2
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!