Debian Codegraph @

README

raw
1 General Users.
2 -------------
3
4
5 GCC and CC compilers
6 --------------------
7
8 The 'configure' script looks for a working GNU C compiler (gcc) and uses it
9 by default if it is found. You can force 'configure' to use the
10 standard C compiler (cc) by either adding a line to the 'configure'
11 script:
12
13 CC=cc
14
15 or by defining an environment variable:
16
17 setenv CC cc
18
19 The file 'config.cache' seems to retain the value for this option. If you
20 have already run 'configure' you may need to delete the 'config.cache' file
21 when changing back to the gcc compiler.
22
23
24 Shared libraries
25 ----------------
26
27 By default, the configure script builds shared libraries using
28 libtool. While this is very nice for making usable binaries, it can be
29 a pain when trying to debug a program. For that reason, compilation of
30 shared libraries can be turned off by specifying the
31 '--disable-shared' option to 'configure'.
32
33 PLplot graphics
34 ---------------
35
36 EMBOSS now comes with a stripped down version of PLPlot which
37 is now compiled under the same system as EMBOSS.
38
39 The full PLplot can be obtained from http://www.plplot.org/
40 and by FTP from ftp://plplot.sourceforge.net/pub/plplot/
41
42 PLplot is a scientific graphics library distributed under the GNU
43 Library license. This license is a requirement to integrate a graphics
44 library into EMBOSS while allowing third party packages (for example
45 PHYLIP) to be integrated with the EMBOSS libraries. We are interested
46 in any other GNU Library licensed scientific graphics packages.
47
48 The only major thing to know about PLplot for the normal user are the
49 device types. These consist of various plotters e.g.
50 "xterm","xwin","ps" (postscipt) ,"psc" (colour postscript).
51
52 X devices.
53 ----------
54
55 To get xterm you must have X installed or else PLplot will not build the
56 required driver.
57
58 PNG driver.
59 -----------
60
61 To get the PNG driver you will need to have installed the z, png and
62 gd libraries. In particular gd version >= 2.0.28 must be used. If for
63 some reason you do not have the required libraries and your system
64 support group will not update these then install all three latest
65 versions (z, gd, png) to a new directory and then add this new
66 directory to your configure line for EMBOSS.
67
68 ./configure --with-pngdriver=my_dir
69
70 as gd (and the others) were installed using --prefix=my_dir
71 in their ./configure commands. On Linux distributions the
72 above is not usually necessary as PNG graphics will be detected
73 automatically as long as both the library and development
74 RPMs/PKGs have been installed.
75
76
77
78 Other graphics libraries
79 ------------------------
80
81 We have considered other graphics libraries, including the GNU libplot
82 library. The problem with GNU libplot currently is that it uses the
83 full GNU license which is not suitable for the non-EMBOSS applications.
84 We understand that there will be a future release of GNU libplot under
85 the GNU Library license. We also intend separating graphics by making
86 the applications produce XML output which can then be rendered using
87 a separate OpenGL-based graphics engine.
88
89 Third party applications
90 ------------------------
91
92 A few applications are wrappers to third-party applications which must
93 be installed and in one case customised.
94
95 clustalw release 1.8.0 or later, or 2 or later, should be installed in
96 the path with the name clustalw. EMBOSS application emma is a wrapper
97 to launch clustalw.
98
99 primer3 from the Whitehead institute must be installed in one or two versions.
100
101 EMBOSS application eprimer3 launches primer3_core and expects this to
102 be version 1.x of the program.
103
104 EMBOSS application eprimer32 launches primer32_core and expects this
105 to be a renamed primer3_core from version 2.x of the program.
106
107 primer3's configuration files also need to be installed. The original
108 application looks by default in /opt/primer3_config
109
110 Installation.
111 -------------
112
113 If you have copied the binaries to another directory instead, or
114 made other changes to the file locations, you can also use
115 environment variables or the embossrc file(s) to tell the programs
116 where to look
117
118 You will need to use this command:
119
120 setenv EMBOSS_ACDROOT $(prefix)/share/EMBOSS/acd
121
122 or in your site emboss.default file (in the share/EMBOSS install
123 directory or under emboss/ in the original source directory) or in
124 ~/.embossrc file put
125
126 env emboss_acdroot $(prefix)/share/EMBOSS/acd
127
128
129 Compilation problems for the CVS developers version
130 ---------------------------------------------------
131
132 On some systems there may be compatibility problems with different
133 automake, autoconf or libtool versions. Always make sure that you keep
134 up to date with releases of these tools and let us know of any
135 problems you experience ([email protected]). If a libtool problem
136 does arise you can try deleting the following files:
137
138 config.cache
139 ltmain.sh
140 ltconfig
141 libtool
142
143 and then type
144
145 aclocal -I m4
146 autoconf
147 automake -a
148
149 and then retry the make.