Debian Codegraph @

README.compiling

raw
1 This guide tells how to compile and install the software.
2
3 ----------------------------------------
4 Quick Instructions:
5
6 % gmake install
7
8 There! That wasn't tough at all, was it!?
9
10 The software is compiled in place, and installed into a directory named
11 after the OS/architecture, for example, Linux-amd64.
12
13 ----------------------------------------
14 Detailed Instructions:
15
16 0) Required Software
17 1) Configuration
18 2) Compilation
19 3) Installation
20 4) Other build targets
21
22 ----------
23 0) Required software
24
25 Project kmer requires two additional software packages be installed:
26 python and gmake.
27
28 0.1) Python.
29
30 Python (http://www.python.org/) is a freely available programming
31 language. It is frequently installed by many OS installations.
32
33 It is only needed by ATAC/A2Amapper. If python is not installed,
34 ATAC/A2Amapper will not be built.
35
36 Version 2.4+ is recommended.
37 Version 2.3 has seen limited testing and seems to work.
38 Version 2.2 might work, but is unsupported.
39
40 0.2) gmake.
41
42 The GNU make program (gmake) is used to build the software. The BSD
43 make will not work.
44
45 gmake v 3.81 or higher is REQUIRED. This shouldn't be a problem, as that
46 was released in April 2006. It _was_ a problem when most of this software
47 was written.
48
49 ----------
50 1) Configuration
51
52 This is optional. It allows compilation for debuging and profiliing.
53
54 % sh configure.sh [debug | profile]
55
56 Supplying 'debug' as an argument will build debuggable executables.
57
58 Supplying 'profile' as an argument will build profiling executables.
59
60 Not all architectures support profiling.
61
62 If configure.sh reports that your architecture is unsupported, you'll
63 have to port...or force it to use, say, linux with "configure.sh
64 linux".
65
66 If configure.sh reports that python cannot be found, you likely need
67 to install python, version 2.3 or 2.4. If you have pyhton installed
68 in an unusual location, edit the script.
69
70 ----------
71 2) Compilation
72
73 % gmake
74
75 If gmake crashes or returns
76
77 gmake: *** No rule to make target `.all', needed by `all'. Stop.
78
79 then you need to update your gmake to at least version 3.81.
80
81 ----------
82 3) Installation
83
84 % gmake install
85
86 will copy all executables, libraries and header files into an
87 OS/architecture specific directory. Binaries, for example, will be in
88 FreeBSD-amd64/bin or Linux-i686/bin.
89
90 ----------
91 4) Other build targets
92
93 'gmake clean' will remove the object files, leaving the binaries.
94
95 'gmake real-clean' will remove all traces of a build, leaving you
96 with (hopefully) a virgin copy of the software.