-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathREADME
More file actions
49 lines (41 loc) · 1.25 KB
/
README
File metadata and controls
49 lines (41 loc) · 1.25 KB
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
#############
### LINUX ###
#############
------------------------------------------
- requirements to build bnsdat on debian -
------------------------------------------
+ bash
+ make
+ build-essentials (gcc, g++, lib*,...)
+ libwxgtk2.8-dev
+ libwxbase2.8-dev
+ libssl-dev
--------------------------
- build & install bnsdat -
--------------------------
# open a terminal
# change into bnsdat directory
# run configure (with --prefix=DIR if you want to install in a directory other than /usr/local)
./configure --prefix=/usr
make
# run as root or installation will fail
sudo make install
# remove bnsdat
# run as root or uninstallation will fail
sudo make uninstall
# NOTE: create a source package for redistribution
make tgz
# NOTE: create a debian binary package for redistribution
# (configure with prefix /usr to prevent lintian errors)
# (run as root for correct ownership of files)
./configure --prefix=/usr
sudo make deb
#############
### WINNT ###
#############
# open MinGW32 environment
# change into bnsdat directory
# run configure
./configure --config-mingw32
make
# binary file can be found in 'build/msw/bnsdat.exe'