-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
136 lines (99 loc) · 3.85 KB
/
BUILD
File metadata and controls
136 lines (99 loc) · 3.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
This file contains instructions to build VizStack.
First things:
-------------
VizStack contains the following type of code
- C/C++
- Python
VizStack's C/C++ code is compiled using the SCons (http://www.scons.org)
build tool. So, you need to install that first.
VizStack's C/C++ code depends on the following libraries:
- XML2
- Linux PAM
- X11 headers
- OpenGL header files
So, you need to install these to ensure successful compilation.
VizStack's documentation is written using AsciiDoc.
The documentation is in the 'doc/manual' and 'doc/manpages'
directory.
To generate the documentation, you need to install the asciidoc
package, docbook and FOP. The developers have had most success w.r.t
building documentation on Ubuntu.
The VizStack build process can create RPM and DEB packages.
It uses rpm, fakeroot and alien packages to create the DEB package,
so you need to install them on Ubuntu/Debian.
Howto Build:
------------
The build-vizstack scripts in the root directory does the
following steps:
- Build the documentation
- User Guide
- Administrator Guide
- Developer Guide
- manpages
- Build the source code
- Build a native package. RPM and DEB packages are generated.
To build, just type
$ bash build-vizstack.sh
This will give you packages named after the svn version, i.e.
a developer build. Note that this the version numbers on the
documentation will not carry the SVN revision number.
To create a release, set the RELEASE environment variable to
something non-empty
$ export RELEASE=1
$ bash build-vizstack.sh
On certain Linux distros, you need to be root to build this
package
- RHEL
- FC 11 and below
- Ubuntu 8.1 and below
On the following distros, you don't need to be root
- Ubuntu 9.10
- FC 12
You will find the resulting RPM or DEB package generated in the
current directory.
Notes for specific distros are given below:
-------------------------------------------
SLES 11 :
---------
Install the scons RPM from http://www.scons.org/
You'll need to install some packages from the SDK DVD.
1. pam-devel
2. xorg-x11-devel and its dependent packages
I used the command
rpm -i `ls xorg-x11-*-devel-7* | grep -v unstable` libuuid-devel-2.16-6.5.3.x86_64.rpm
after mounting the SDK DVD. If you have a better method, do let me know!
3. libmxl2-devel and dependent packages. I had to run
rpm -i libxml2-devel-2.7.6-0.1.11.x86_64.rpm zlib-devel-1.2.3-106.34.x86_64.rpm readline-devel-5.2-147.6.25.x86_64.rpm
from the SDK DVD
Ubuntu 9.10 :
-------------
The default CD install can make it difficult to compile the sources.
Post install, you may not even have the compiler.
You need to install the right packages. I needed to do the following
on Ubuntu 9.10:
0. sudo apt-get install scons
1. sudo apt-get install libpam-dev
2. sudo apt-get install g++
3. sudo apt-get install libxml2-dev
4. sudo apt-get install xorg-dev
5. sudo apt-get install x11proto-gl-dev
6. sudo apt-get install --reinstall mesa-common-dev
7. sudo apt-get install nvidia-glx-185-dev
(libgl1-mesa-dev might work too?)
8. sudo apt-get install asciidoc # I have 8.4.4-1 and docs build fine with this
9. sudo apt-get install fop
10. sudo apt-get install docbook
Compiling dependencies from source:
-----------------------------------
Some platforms don't provide packages for dependencies used by VizStack. e.g., SLURM and Munge
packages are not available for SLES. These may be needed for multi-node deployment.
So, you will need to build these manually.
1. MUNGE on SLES: For 'configure' to succeed, you need to install
- libopenssl-devel
- zlib-devel (dependency of libopenssl-devel)
These packages are available on the SLES SDK DVD.
After extracting the munge source code, use the following steps :
# ./configure --prefix=/
# make
# make install
2. SLURM on SLES: Run configure with prefix set to /usr.