source: branches/help/arb_INSTALL.txt

Last change on this file was 18697, checked in by westram, 3 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.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- (open)motif
40- bash
41- libpng
42- xterm
43- libxerces-c3.1
44
45Only needed for Open GL version:
46
47- OPENGL
48- libGLEW -- Open GL extensions library (see subdirectory lib/addlibs)
49
50
51Software 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--------------------------------------------------------------------------------
62If you get errors about missing libraries when calling arb, have a look if there
63are different versions of the missing libraries in /usr/lib and create a link
64there.
65
66Most likely you'll be missing libXm.so.4, so the following example describes
67how 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================================================================================
75To build ARB from source
76================================================================================
77
781. 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
832. Unpack the source
84
85   e.g.
86        tar -zxvf arbsrc.tgz
87
883. Goto source dir
89
90   e.g.
91        cd arbsrc_6213
92
934. 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
1015. 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
144Additional 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
171Additional 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----------------------------------------------------------------------
184If we forgot something (or if your OS needs something special)
185please notify us (devel@arb-home.de). We will mention it here..
186----------------------------------------------------------------------
187
Note: See TracBrowser for help on using the repository browser.