Post
Topic
Board Altcoin Discussion
Re: [HOWTO] compile altcoin for windows on linux using mxe and mingw
by
animalroam
on 14/01/2018, 20:50:03 UTC
Hello everyone.

I've been compiling wallets for different Linux distros and for the Raspberry Pi and I thought I might give the Windows wallet a shot.

I followed the instructions on the first post exactly and everything worked perfectly until the compile.

I used Blackcoin as the example suggested.

The errors are as follows:

Code:
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$ sudo ./compile-blk.sh
./compile-blk.sh: 1: ./compile-blk.sh: #!/bin/bash: not found
./compile-blk.sh: 4: ./compile-blk.sh: i686-w64-mingw32.static-qmake-qt5: not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$

Now here is the strange part. I put the path in correctly, and it shows up fine when I display environmental list in the terminal.

Any help would be appreciated.

Thanks. Smiley

Code:
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$ sudo ./compile-blk.sh
./compile-blk.sh: 1: ./compile-blk.sh: #!/bin/bash: not found
./compile-blk.sh: 4: ./compile-blk.sh: i686-w64-mingw32.static-qmake-qt5: not found
make: Makefile.Release: No such file or directory
make: *** No rule to make target `Makefile.Release'.  Stop.
compile@compile-HP-Compaq-dc7700-Convertible-Minitower:/mnt/blackcoin$


I have same error

Has anyone figured this out? It seems to recognize but complain about permissions when not run with sudo (which makes sense), but when ran with sudo with the correct path, it is still producing that error.

When I echo path, this is the output:
Code:
echo $PATH
/mnt/mxe/usr/bin:/mnt/mxe/usr/bin:/mnt/mxe/usr/bin:/mnt/mxe/usr/bin:/mnt/mxe/usr/bin:/home/ubuntu/bin:/home/ubuntu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin