source: branches/ali/arb_INSTALL.txt

Last change on this file was 19285, checked in by westram, 2 years ago
  • again update prerequisites: use libxerces-c-dev
  • also use changed prerequisites in arb_INSTALL.txt
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.0 KB
Line 
1================================================================================
2To install a precompiled ARB
3================================================================================
4
51. download the needed files from our homepage http://www.arb-home.de/
6   and save them into a directory of your choice (i.e. ~/arb-download/ )
7
8   Files needed: 'arb-*.tgz' and 'arb_install.sh'
9                 (see arb_README.txt for details on different versions)
10
112. if you like to install arb for all users, become superuser (root).
12
133. run the arb installation script with the following commands
14
15       cd ~/arb-download
16       bash arb_install.sh
17
18   and follow the instructions.
19
204. Install packages needed by ARB:
21
22--------------------------------------------------------------------------------
234a. If you're using Ubuntu please refer to:
24
25  * the detailed list of packets to install for ARB:    arb_UBUNTU.txt
26  * the package-install-script for ubuntu:              SH/arb_installubuntu4arb.sh
27
28--------------------------------------------------------------------------------
294b. If you're using debian please install one of the centos versions
30
31You may also want to use
32  * the package-install-script for ubuntu:              SH/arb_installubuntu4arb.sh
33(Note: add 'contrib non-free' behind 'main' in /etc/apt/sources.list)
34
35--------------------------------------------------------------------------------
364c. Otherwise use your package manager to install the
37    software that is needed to run ARB:
38
39- libmotif-common
40- libmotif-dev
41- bash
42- libpng
43- xterm
44- libxerces-c-dev
45
46Only needed for Open GL version:
47
48- OPENGL
49- libGLEW -- Open GL extensions library (see subdirectory lib/addlibs)
50
51
52Software that is useful together with ARB:
53
54- gnuplot
55- xreader (or gv)
56- xfig (+ fig2dev to print from xfig)
57- xterm
58- transfig
59- perl5
60- treetool
61
62--------------------------------------------------------------------------------
63If you get errors about missing libraries when calling arb, have a look if there
64are different versions of the missing libraries in /usr/lib and create a link
65there.
66
67Most likely you'll be missing libXm.so.4, so the following example describes
68how to solve the problem for that library:
69
70    # as superuser:
71    cd /usr/lib
72    ln -s libXm.so.4 libXm.so.3
73
74
75================================================================================
76To build ARB from source
77================================================================================
78
791. download the needed files from our homepage http://www.arb-home.de/
80   and save them into a directory of your choice (i.e. ~/arb-build/ )
81
82   Files needed: 'arbsrc*.tgz'
83
842. Unpack the source
85
86   e.g.
87        tar -zxvf arbsrc.tgz
88
893. Goto source dir
90
91   e.g.
92        cd arbsrc_6213
93
944. Set up compile environment
95
96   if you're using bash:
97
98      export ARBHOME=`pwd`
99      export PATH=$ARBHOME/bin:$PATH
100      export LD_LIBRARY_PATH=$ARBHOME/lib:$LD_LIBRARY_PATH
101
1025. Now either
103
104   a. run
105
106        make all
107
108      to compile arb. On a multiprocessor machine you may want to call
109
110        make -j5 all
111
112      or similar (where the number should be the number of processors + 1).
113
114      This will fail on first call telling you to edit config.Makefile.
115      Open that file in your editor and check whether the default values
116      suit your system and needs.
117
118      If you like to activate openGL features set OPENGL to 1
119      (needs additional libraries).
120
121      When done, again call one of the make commands mentioned above.
122
123      If compilation fails, have a look at the packages needed for compilation
124      below. For ubuntu/debian there is a script for automated package
125      installation in
126
127             SH/arb_installubuntu4arb.sh
128
129      Once compilation succeeds, call
130
131        arb
132
133      to run arb in compilation directory.
134
135   b. run
136
137        make tarfile
138        bash arb_install.sh
139
140      to install arb for all users
141
142   and follow the instructions there.
143
144
145Additional software that is needed to compile ARB:
146--------------------------------------------------
147
148- 'g++' (gcc-c++) or 'clang'
149- make
150- time
151- lynx
152- autoconf
153- automake
154- libtool
155- patch
156- subversion (if you want to check out from arb svn repository)
157- openmotif, openmotif-devel (aka motif-devel; aka libmotif-common + libmotif-dev)
158- glib2-devel (libglib2.0-dev)
159- readline-devel (aka libreadline-dev)
160- libxerces-c-dev (aka libxerces-c-devel)
161- libboost_random*-devel (aka libboost-random-dev)
162- libtiff-devel
163- libx11-dev
164- libXpm-devel (aka libxpm-dev)
165- libxt-dev
166- libXext-devel (aka libxext-dev)
167- libXaw-devel (eg. libxaw7-dev)
168- libxml2-utils
169- libtirpc-devel
170- expat
171- xmllint
172- xsltproc
173
174not required for basic build:
175
176- makedepend (use xutils-dev or perl-ExtUtils-MakeMaker)
177
178Additional software that is needed to compile sina:
179---------------------------------------------------
180(can be disabled via config.makefile)
181
182- libboost_filesystem*-devel (aka libboost-filesystem-dev)
183- libboost_iostreams*-devel (aka libboost-iostreams-dev)
184- libboost_program_options* + libboost_program_options*-devel (aka libboost-program-options-dev)
185- libboost_system*-devel (aka libboost-system-dev)
186- libboost_thread*-devel (aka libboost-thread-dev)
187- libboost_test*-devel (aka libboost-test-dev)
188- tbb-devel (aka libtbb-dev)
189
190Additional software that is needed to compile open gl parts:
191------------------------------------------------------------
192(can be enabled via config.makefile)
193
194- mesa
195- mesa-devel [aka Mesa-devel]
196- mesaglw (suse leap)
197- mesaglw-devel (aka libglw1-mesa-dev)
198- libGLw-devel (suse leap)
199- libpng
200- libpng*-devel (aka libpng-dev)
201- libglew
202- glew-devel (aka libglew-dev)
203- freeglut
204- freeglut-devel (aka freeglut*-dev)
205
206General notes:
207--------------
208
209- some 'EXAMPLE-devel' package you also need to install the 'EXAMPLE' package itself.
210  (encountered e.g. for libboost-packages on suse leap)
211
212----------------------------------------------------------------------
213If we forgot something (or if your OS needs something special)
214please notify us (devel@arb-home.de). We will mention it here..
215----------------------------------------------------------------------
216
Note: See TracBrowser for help on using the repository browser.