forked from CBDD/rDock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
83 lines (59 loc) · 3.02 KB
/
INSTALL
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
77
78
79
80
81
82
83
rDOCK BUILD INSTRUCTIONS
#########################################
# In this file you have the basic commands for installing rDock in 32- or 64-bits linux computers.
# For a more detailed explanation, please open the Getting Started guide or full documentation
# in our webpage or in docs folder.
#########################################
BACKGROUND
rDock is written in C++ and makes heavy use of the C++ Standard Template Library (STL).
All source code is compiled into a single shared library (libRbt.so).
The executables are light-weight command-line applications linked with libRbt.so.
rDock should compile on the majority of Unix/Linux platforms with little or no
modification. However, only the following combinations have been thoroughly
tested:
openSUSE 32 and 64 bits.
Ubuntu 32 and 64 bits.
- Both with compiler versions higher than 3.3.
########################################################################
PREREQUISITES:
########################################################################
Make sure you have the following packages installed:
- gcc GNU C compiler (or your preferred C compiler)
- g++ GNU C++ compiler (or your preferred C++ compiler)
- make
- popt Command-line argument processing (run-time)
- popt-devel Command-line argument processing (compile-time)
- cppunit C++ unit testing framework (port of JUnit)
- cppunit-devel C++ unit testing framework (port of JUnit)
After installing these dependencies, please follow the following steps:
########################################################################
BASIC BUILD INSTRUCTIONS:
########################################################################
Step 1) BUILD
- Change current directory to build folder:
$ cd rDock_2021.1_src/build
And run, either:
$ make linux-g++ for 32-bit build with g++ compiler
$ make linux-g++-64 for 64-bit build with g++ compiler
If wish to use a different compiler/architecture combination, or if you wish to
change the compiler flags, see below.
The built libraries and executables are copied to their run-time locations
(../lib and ../bin) as part of Step 1.
Step 2) TEST
$ make test Runs rDock unit tests
If the test has succeed, you are done, enjoy using rDock!
Otherwise, please check your dependencies and all the previous commands or go to
Support Section in the webpage (http://rdock.sourceforge.net) to ask for help.
Step 3) INSTALL
You can either run rDock directly from the build location initial testing), or
install the binaries and data files to a new location.
Set the necessary environmental variables for running rDock in the command line.
(for example, in a bash shell):
$ export RBT_ROOT=/path/to/rDock/installation/
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RBT_ROOT/lib
$ export PATH=$PATH:$RBT_ROOT/bin
OTHER MAKE TARGETS
make src_dist Creates source distribution
make clean Removes all intermediate build files
make distclean Also removes installed libs and exes in ../lib and ../bin
########################################################################