49819782e3682b9900957e27605cb5822ec9e090
[autocluster.git] / base / all / root / scripts / setup_build.sh
1 #!/bin/sh
2
3 #
4 # Setup build node                                                              
5 #
6
7 $(dirname $0)/install_gpfs.sh
8
9 # Setup RPM development                                                         
10 echo "Installing RPM developing and setting up rpm build"
11 yum -y install rpmdevtools
12 rpmdev-setuptree
13
14 # Install the performance co-pilot packages to allow building of the
15 # CTDB pmda code.  It is OK if this fails (these packages are only
16 # available in EPEL) since this script will continue...
17 echo "Installing PCP development libraries - this may fail"
18 yum -y install pcp-libs pcp-libs-devel
19
20 # Packages required for samba development                                       
21 echo "Installing Samba build dependencies"
22 yum -y install readline-devel libacl-devel e2fsprogs-devel \
23     libxslt docbook-utils docbook-style-xsl