diff --git a/builddep.sh b/builddep.sh index 353d09c2b..09432bebe 100755 --- a/builddep.sh +++ b/builddep.sh @@ -100,56 +100,57 @@ if [ "$PERLVER" == "v5.8.2" ]; then else OSVER='6.1' fi -# Have to install rpms 1 at a time, since some are already installed. -# And have to install them in the correct order. -#for i in `ls $OSVER/*.rpm`; do -# rpm -Uvh $i -#done cd $OSVER -rpm -Uvh perl-DBI-*.rpm -rpm -Uvh bash-*.rpm -rpm -Uvh perl-DBD-SQLite-*.rpm +# Have to install rpms 1 at a time, since some are already installed. +# The only interdependency between the dep rpms so far is that net-snmp requires bash +for i in `ls *.rpm|grep -v -E '^tcl-|^tk-|^expect-'`; do + rpm -Uvh $i +done # don't try to install tcl, tk, or expect if they are already installed! lslpp -l | grep expect.base > /dev/null 2>&1 if [ $? -gt 0 ]; then if [ "$OSVER" == "6.1" ]; then echo "The expect.base, tcl.base, and tk.base filesets must also be installed before installing the xCAT RPMs from xcat-core." else - rpm -Uvh tcl-*.rpm - rpm -Uvh tk-*.rpm - rpm -Uvh expect-*.rpm + rpm -Uvh tcl-*.rpm + rpm -Uvh tk-*.rpm + rpm -Uvh expect-*.rpm fi fi -rpm -Uvh popt-*.rpm -rpm -Uvh rsync-*.rpm -rpm -Uvh wget-*.rpm -rpm -Uvh libxml2-*.rpm -rpm -Uvh curl-*.rpm -rpm -Uvh expat-*.rpm -rpm -Uvh conserver-*.rpm -rpm -Uvh perl-Expect-*.rpm -rpm -Uvh perl-IO-Tty-*.rpm -rpm -Uvh perl-IO-Stty-*.rpm -rpm -Uvh perl-IO-Socket-SSL-*.rpm -rpm -Uvh perl-Net_SSLeay.pm-*.rpm -rpm -Uvh perl-Digest-SHA1-*.rpm -rpm -Uvh perl-Digest-SHA-*.rpm -rpm -Uvh perl-Digest-HMAC-*.rpm -rpm -Uvh --nodeps perl-Net-DNS-*.rpm -rpm -Uvh perl-Net-IP-*.rpm -rpm -Uvh perl-Digest-MD5-*.rpm -rpm -Uvh fping-*.rpm -rpm -Uvh openslp-xcat-*.rpm -rpm -Uvh perl-Crypt-SSLeay-*.rpm -rpm -Uvh perl-Net-Telnet-*.rpm +# this is left over from Norms original instoss +#rpm -Uvh perl-DBI-*.rpm +#rpm -Uvh bash-*.rpm +#rpm -Uvh perl-DBD-SQLite-*.rpm +#rpm -Uvh popt-*.rpm +#rpm -Uvh rsync-*.rpm +#rpm -Uvh wget-*.rpm +#rpm -Uvh libxml2-*.rpm +#rpm -Uvh curl-*.rpm +#rpm -Uvh expat-*.rpm +#rpm -Uvh conserver-*.rpm +#rpm -Uvh perl-Expect-*.rpm +#rpm -Uvh perl-IO-Tty-*.rpm +#pm -Uvh perl-IO-Stty-*.rpm +#rpm -Uvh perl-IO-Socket-SSL-*.rpm +#rpm -Uvh perl-Net_SSLeay.pm-*.rpm +#rpm -Uvh perl-Digest-SHA1-*.rpm +#rpm -Uvh perl-Digest-SHA-*.rpm +#rpm -Uvh perl-Digest-HMAC-*.rpm +#rpm -Uvh --nodeps perl-Net-DNS-*.rpm +#rpm -Uvh perl-Net-IP-*.rpm +#rpm -Uvh perl-Digest-MD5-*.rpm +#rpm -Uvh fping-*.rpm +#rpm -Uvh openslp-xcat-*.rpm +#rpm -Uvh perl-Crypt-SSLeay-*.rpm +#rpm -Uvh perl-Net-Telnet-*.rpm # this requires bash -rpm -Uvh net-snmp-5*.rpm -rpm -Uvh net-snmp-devel-*.rpm -rpm -Uvh net-snmp-perl-*.rpm -rpm -Uvh unixODBC-*.rpm -if [ "$OSVER" == "6.1" ]; then - rpm -Uvh perl-version-*.rpm -fi +#rpm -Uvh net-snmp-5*.rpm +#rpm -Uvh net-snmp-devel-*.rpm +#rpm -Uvh net-snmp-perl-*.rpm +#rpm -Uvh unixODBC-*.rpm +#if [ "$OSVER" == "6.1" ]; then +# rpm -Uvh perl-version-*.rpm +#fi EOF chmod +x instoss