1 | ================================================================================ |
---|
2 | To install a precompiled ARB |
---|
3 | ================================================================================ |
---|
4 | |
---|
5 | 1. 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 | |
---|
11 | 2. if you like to install arb for all users, become superuser (root). |
---|
12 | |
---|
13 | 3. 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 | |
---|
20 | 4. Install packages needed by ARB: |
---|
21 | |
---|
22 | -------------------------------------------------------------------------------- |
---|
23 | 4a. 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 | -------------------------------------------------------------------------------- |
---|
29 | 4b. If you're using debian please install one of the centos versions |
---|
30 | |
---|
31 | You 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 | -------------------------------------------------------------------------------- |
---|
36 | 4c. Otherwise use your package manager to install the |
---|
37 | software that is needed to run ARB: |
---|
38 | |
---|
39 | - (open)motif |
---|
40 | - bash |
---|
41 | - libpng |
---|
42 | - xterm |
---|
43 | - libxerces-c3.1 |
---|
44 | |
---|
45 | Only needed for Open GL version: |
---|
46 | |
---|
47 | - OPENGL |
---|
48 | - libGLEW -- Open GL extensions library (see subdirectory lib/addlibs) |
---|
49 | |
---|
50 | |
---|
51 | Software that is useful together with ARB: |
---|
52 | |
---|
53 | - gnuplot |
---|
54 | - xreader (or gv) |
---|
55 | - xfig (+ fig2dev to print from xfig) |
---|
56 | - xterm |
---|
57 | - transfig |
---|
58 | - perl5 |
---|
59 | - treetool |
---|
60 | |
---|
61 | -------------------------------------------------------------------------------- |
---|
62 | If you get errors about missing libraries when calling arb, have a look if there |
---|
63 | are different versions of the missing libraries in /usr/lib and create a link |
---|
64 | there. |
---|
65 | |
---|
66 | Most likely you'll be missing libXm.so.4, so the following example describes |
---|
67 | how to solve the problem for that library: |
---|
68 | |
---|
69 | # as superuser: |
---|
70 | cd /usr/lib |
---|
71 | ln -s libXm.so.4 libXm.so.3 |
---|
72 | |
---|
73 | |
---|
74 | ================================================================================ |
---|
75 | To build ARB from source |
---|
76 | ================================================================================ |
---|
77 | |
---|
78 | 1. download the needed files from our homepage http://www.arb-home.de/ |
---|
79 | and save them into a directory of your choice (i.e. ~/arb-build/ ) |
---|
80 | |
---|
81 | Files needed: 'arbsrc*.tgz' |
---|
82 | |
---|
83 | 2. Unpack the source |
---|
84 | |
---|
85 | e.g. |
---|
86 | tar -zxvf arbsrc.tgz |
---|
87 | |
---|
88 | 3. Goto source dir |
---|
89 | |
---|
90 | e.g. |
---|
91 | cd arbsrc_6213 |
---|
92 | |
---|
93 | 4. Set up compile environment |
---|
94 | |
---|
95 | if you're using bash: |
---|
96 | |
---|
97 | export ARBHOME=`pwd` |
---|
98 | export PATH=$ARBHOME/bin:$PATH |
---|
99 | export LD_LIBRARY_PATH=$ARBHOME/lib:$LD_LIBRARY_PATH |
---|
100 | |
---|
101 | 5. Now either |
---|
102 | |
---|
103 | a. run |
---|
104 | |
---|
105 | make all |
---|
106 | |
---|
107 | to compile arb. On a multiprocessor machine you may want to call |
---|
108 | |
---|
109 | make -j5 all |
---|
110 | |
---|
111 | or similar (where the number should be the number of processors + 1). |
---|
112 | |
---|
113 | This will fail on first call telling you to edit config.Makefile. |
---|
114 | Open that file in your editor and check whether the default values |
---|
115 | suit your system and needs. |
---|
116 | |
---|
117 | If you like to activate openGL features set OPENGL to 1 |
---|
118 | (needs additional libraries). |
---|
119 | |
---|
120 | When done, again call one of the make commands mentioned above. |
---|
121 | |
---|
122 | If compilation fails, have a look at the packages needed for compilation |
---|
123 | below. For ubuntu/debian there is a script for automated package |
---|
124 | installation in |
---|
125 | |
---|
126 | SH/arb_installubuntu4arb.sh |
---|
127 | |
---|
128 | Once compilation succeeds, call |
---|
129 | |
---|
130 | arb |
---|
131 | |
---|
132 | to run arb in compilation directory. |
---|
133 | |
---|
134 | b. run |
---|
135 | |
---|
136 | make tarfile |
---|
137 | bash arb_install.sh |
---|
138 | |
---|
139 | to install arb for all users |
---|
140 | |
---|
141 | and follow the instructions there. |
---|
142 | |
---|
143 | |
---|
144 | Additional software that is needed to compile ARB: |
---|
145 | -------------------------------------------------- |
---|
146 | |
---|
147 | - 'g++' (gcc-c++) or 'clang' |
---|
148 | - make |
---|
149 | - time |
---|
150 | - lynx |
---|
151 | - makedepend |
---|
152 | - patch |
---|
153 | - subversion (if you want to check out from arb svn repository) |
---|
154 | - openmotif, openmotif-devel (aka motif-devel; aka libmotif-common + libmotif-dev) |
---|
155 | - glib2-devel (libglib2.0-dev) |
---|
156 | - readline-devel (aka libreadline-dev) |
---|
157 | - libxerces-c-dev (aka libxerces-c-devel) |
---|
158 | - libboost_random1_66_0-devel |
---|
159 | - libtiff-devel |
---|
160 | - libx11-dev |
---|
161 | - libXpm-devel (aka libxpm-dev) |
---|
162 | - libxt-dev |
---|
163 | - libXext-devel (aka libxext-dev) |
---|
164 | - libXaw-devel (eg. libxaw7-dev) |
---|
165 | - libxml2-utils |
---|
166 | - expat |
---|
167 | - xmllint, |
---|
168 | - xsltproc |
---|
169 | - xutils-dev |
---|
170 | |
---|
171 | Additional software that is needed to compile open gl parts: |
---|
172 | ------------------------------------------------------------ |
---|
173 | - mesa |
---|
174 | - mesa-devel |
---|
175 | - mesaglw (opensuse) |
---|
176 | - mesaglw-devel (opensuse) |
---|
177 | - libGLw-devel (SuSE 13.x) |
---|
178 | - libpng |
---|
179 | - libglew |
---|
180 | - glew-devel (opensuse) |
---|
181 | - freeglut |
---|
182 | - freeglut-devel |
---|
183 | ---------------------------------------------------------------------- |
---|
184 | If we forgot something (or if your OS needs something special) |
---|
185 | please notify us (devel@arb-home.de). We will mention it here.. |
---|
186 | ---------------------------------------------------------------------- |
---|
187 | |
---|