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-install/ ) |
---|
7 | |
---|
8 | Files needed: 'arb.*.tgz' and 'arb_install.sh' |
---|
9 | (see arb_README.txt for details on different versions) |
---|
10 | |
---|
11 | 2. get root |
---|
12 | 3. run arb_install.sh and follow the instructions |
---|
13 | 4. Install packages needed by ARB: |
---|
14 | |
---|
15 | -------------------------------------------------------------------------------- |
---|
16 | 4a. If you're using Ubuntu please refer to: |
---|
17 | |
---|
18 | * the detailed list of packets to install for ARB: arb_UBUNTU.txt |
---|
19 | * the package-install-script for ubuntu: SH/arb_installubuntu4arb.sh |
---|
20 | |
---|
21 | -------------------------------------------------------------------------------- |
---|
22 | 4b. Otherwise use your package manager to install the |
---|
23 | software that is needed to run ARB: |
---|
24 | |
---|
25 | - (open)motif |
---|
26 | - bash |
---|
27 | - libpng |
---|
28 | - xterm |
---|
29 | |
---|
30 | Only needed for Open GL version: |
---|
31 | |
---|
32 | - OPENGL |
---|
33 | - libGLEW -- Open GL extensions library (see subdirectory lib/addlibs) |
---|
34 | |
---|
35 | |
---|
36 | Software that is useful together with ARB: |
---|
37 | |
---|
38 | - gnuplot |
---|
39 | - ghostview (gv) |
---|
40 | - xfig (+ fig2dev to print from xfig) |
---|
41 | - perl5 |
---|
42 | - treetool |
---|
43 | |
---|
44 | -------------------------------------------------------------------------------- |
---|
45 | Libraries needed to run 32-bit ARB on 64-bit machine: |
---|
46 | (checked on OpenSuSE 10.2) |
---|
47 | |
---|
48 | - openmotif-libs-32bit |
---|
49 | |
---|
50 | -------------------------------------------------------------------------------- |
---|
51 | If you get errors about missing libraries when calling arb, have a look if there |
---|
52 | are different versions of the missing libraries in /usr/lib and create a link |
---|
53 | there. |
---|
54 | |
---|
55 | Most likely you'll be missing libXm.so.4, so the following example describes |
---|
56 | how to solve the problem for that library: |
---|
57 | |
---|
58 | # as superuser: |
---|
59 | cd /usr/lib |
---|
60 | ln -s libXm.so.4 libXm.so.3 |
---|
61 | |
---|
62 | |
---|
63 | ================================================================================ |
---|
64 | To build ARB from source |
---|
65 | ================================================================================ |
---|
66 | |
---|
67 | 1. download the needed files from our homepage http://www.arb-home.de/ |
---|
68 | and save them into a directory of your choice (i.e. ~/arb-build/ ) |
---|
69 | |
---|
70 | Files needed: 'arbsrc*.tgz' |
---|
71 | |
---|
72 | 2. Unpack the source |
---|
73 | |
---|
74 | e.g. |
---|
75 | tar -zxvf arbsrc.tgz |
---|
76 | |
---|
77 | 3. Goto source dir |
---|
78 | |
---|
79 | e.g. |
---|
80 | cd arbsrc_6213 |
---|
81 | |
---|
82 | 4. Set up compile environment |
---|
83 | |
---|
84 | if you're using bash: |
---|
85 | |
---|
86 | export ARBHOME=`pwd` |
---|
87 | export PATH=$ARBHOME/bin:$PATH |
---|
88 | export LD_LIBRARY_PATH=$ARBHOME/LIBLINK:$LD_LIBRARY_PATH |
---|
89 | |
---|
90 | 5. Now either |
---|
91 | |
---|
92 | a. run |
---|
93 | |
---|
94 | make all |
---|
95 | arb |
---|
96 | |
---|
97 | to run arb in compilation directory or |
---|
98 | |
---|
99 | a. run |
---|
100 | |
---|
101 | make tarfile |
---|
102 | ./arb_install.sh |
---|
103 | |
---|
104 | to install arb for all users |
---|
105 | |
---|
106 | and follow the instructions there. |
---|
107 | |
---|
108 | On the first call 'make' will generate a file name |
---|
109 | config.makefile. Edit the file to change the |
---|
110 | build-options available for ARB (e.g. 32/64 bit, openGL) |
---|
111 | |
---|
112 | |
---|
113 | Additional software that is needed to compile ARB: |
---|
114 | -------------------------------------------------- |
---|
115 | |
---|
116 | - expat, xmllint, xsltproc [needed for target 'help' only] |
---|
117 | - openmotif, openmotif-devel |
---|
118 | - xaw??? |
---|
119 | - libtiff-devel |
---|
120 | - lynx |
---|
121 | |
---|
122 | Additional software that is needed to compile open gl parts: |
---|
123 | ------------------------------------------------------------ |
---|
124 | - mesa |
---|
125 | - mesa-devel |
---|
126 | - mesaglw (opensuse) |
---|
127 | - mesaglw-devel (opensuse) |
---|
128 | - libpng |
---|
129 | - libglew |
---|
130 | - glew-devel (opensuse) |
---|
131 | - freeglut |
---|
132 | - freeglut-devel |
---|
133 | ---------------------------------------------------------------------- |
---|
134 | If we forgot something (or if your OS needs something special) |
---|
135 | please notify us (devel@arb-home.de). We will mention it here.. |
---|
136 | ---------------------------------------------------------------------- |
---|
137 | |
---|