Skip to content

Commit 7fa0dff

Browse files
committed
linux build and install fixes
1 parent f330d86 commit 7fa0dff

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

INSTALL-LINUX

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
For Linux installs, please follow these instructions, in addition to the ones in README.md:
3+
4+
1. Open a command prompt in the folder one level below where you extracted the download
5+
package, specifically in the folder containing the file 'tokenminer'
6+
2. Enter the following commands:
7+
8+
sudo cp ./bin/*.so /usr/local/bin
9+
sudo apt-get update
10+
sudo apt-get -y install software-properties-common
11+
sudo add-apt-repository -y ppa:ethereum/ethereum
12+
sudo apt-get update
13+
sudo apt-get install git cmake libcryptopp-dev libleveldb-dev libjsoncpp-dev libjsonrpccpp-dev libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 opencl-headers mesa-common-dev libmicrohttpd-dev build-essential -y

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ This is a fork of my MVis-ethminer program, which was a fork of Genoil's ethmine
2222
* You can specify the address and port of your node in the `.ini` file, or on the command line.
2323
* You can enable gas price bidding. (see comments in the file). Note that enabling this feature does not guarantee that you will win every bid. Network latency will sometimes result in failed transactions, even if you 'out-bid' the other transaction.
2424
* Windows Only: download and install **both** the [VC 2013 Redistributable](https://www.microsoft.com/en-ca/download/details.aspx?id=40784) and the [VC 2015 Redistributable](https://www.microsoft.com/en-ca/download/details.aspx?id=48145)
25+
* Linux Only: Open the text file INSTALL-LINUX and follow the directions contained therein.
2526
* Run `tokenminer.exe --list-devices -G`. Verify your GPU's are recognized. Pay special attention to the PlatformID. If it is anything other than 0, you will need to add `--opencl-platform <n>` to your command line.
2627
* Start POOL MINING with `tokenminer.exe -P -G`. This assumes you've specified the pool mining address in the .INI file. You could also specify the mining pool on the command line. For instance, `tokenminer.exe -P -G -N http://your_mining_pool.com:8586` (all one line)
2728
* Start SOLO MINING with `tokenminer.exe -S -G`. This assumes you've specified the node address in the .INI file.

release/build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,16 @@ if [ $? -ge 1 ] ; then
1717
exit 1
1818
fi
1919

20+
cp libethcore/libethcore.so ../release/stage/bin
21+
cp libdevcore/libdevcore.so ../release/stage/bin
22+
cp libstratum/libethstratum.so ../release/stage/bin
23+
cp libethash-cl/libethash-cl.so ../release/stage/bin
24+
cp libethash/libethash.so ../release/stage/bin
25+
2026
cp ethminer/tokenminer ../release/stage
2127
cp ../tokenminer.ini ../release/stage
2228
cp ../README.md ../release/stage
29+
cp ../INSTALL-LINUX ../release/stage
2330

2431
cd ../release
2532

0 commit comments

Comments
 (0)