-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD-Readme.txt
76 lines (54 loc) · 1.99 KB
/
BUILD-Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
If any of the patches don't work, then you can simply read the emails
and apply the patch manually by adding and removing the lines they
recommend in each file.
If leveldb fails, just use the files in the included folders for your platform
to replace the built ones in the src/leveldb directory
These scripts were tested on the following OS below, they can and should
work on many other OS. If you are running a different OS, simply remove
the check for it in the SH file.
== Prerequisite ==
needed OS:
win32: Debian 8 (jessie) x86_64 (VM or chroot)
linux32: Debian 7 (wheezy) i386 (VM or chroot)
linux64: Debian 7 (wheezy) x86_64 (VM or chroot)
osx32: OS X 10.6 (i386)
- install Xcode from OS X ISO
- install MacPorts from Web
osx64: OS X 10.11 (x86_64)
- install Xcode (from AppStore or Web)
- run Xcode and accept license
- install Xcode command tools
- install MacPorts from Web
common:
1. install git and sudo
OS X:
# sudo port install git
Debian:
# su
# apt-get -y install git sudo
2. allow sudo without password:
OS X:
# echo "$(whoami) ALL=(ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers
Debian:
# su
# echo "$(whoami) ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
== Auto Build With Dependencies ==
# ~/<RELEASE_NAME>.sh --reset --build
== Build ==
Linux i386:
git clone https://github.com/vroomDotClub/Vroomcoin.git
cd Vroomcoin
chmod +x linuxVroomcoin.sh
./linuxVroomcoin.sh --build
Linux x86_64:
git clone https://github.com/vroomDotClub/Vroomcoin.git
cd Vroomcoin
chmod +x linuxVroomcoin64.sh
./linux64Vroomcoin.sh --build
Options:
--reset: update dependencies, clone Vroomcoin repository
--force: if you are using other versions such as Debian version > 7
Example with options:
./linux64Vroomcoin.sh --reset --force --build
After successful build, vroomcoind can be found in Vroomcoin/src/
Generated source code is automatically stored in the home directory