--- doc/install/redhat7.3/install.pl 2002/06/19 19:16:54 1.1 +++ doc/install/redhat7.3/install.pl 2002/06/27 20:45:36 1.3 @@ -2,7 +2,7 @@ # The LearningOnline Network # Red Hat 7.3 installation script # -# $Id: install.pl,v 1.1 2002/06/19 19:16:54 matthew Exp $ +# $Id: install.pl,v 1.3 2002/06/27 20:45:36 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -24,6 +24,7 @@ # # http://www.lon-capa.org/ # + ## ## Obvious flaws of this program: ## Dieing on every error may be a little extreme. On the other hand, @@ -35,7 +36,48 @@ ## what nonsense we can put up with. Of course, we will have to ## explain that to people at some point... ## There is probably an overuse of elipses (...) in the comments. +## It might be nice to check that all the files we need are here. +## Appletalk is installed but does not work and gives errors on +## boot up. I have not been able to find a clean way to get the +## appletalk support working but the powers that be insist on it. ## + +# +# Needed files: +# +# The following files are assumed to be present in the current +# directory: +# RPMS: +# ImageMagick-5.4.3.11-1.i386.rpm +# ImageMagick-devel-5.4.3.11-1.i386.rpm +# ImageMagick-perl-5.4.3.11-1.i386.rpm +# gnuplot-3.7.1-5.i386.rpm +# libgd-1.3-4.i386.rpm +# libungif-progs-4.1.0-9.i386.rpm +# ncurses4-5.0-5.i386.rpm +# readline-2.2.1-6.i386.rpm +# readline-4.2a-4.i386.rpm +# perl-DBD-MySQL-1.2216-4.i386.rpm +# perl-DBI-1.21-1.i386.rpm +# mod_perl-1.26-5.i386.rpm +# perl-suidperl-5.6.1-34.99.6.i386.rpm +# LON-CAPA-systemperl-3.4-rh72.i386.rpm +# mysql-3.23.49-3.i386.rpm +# mysqlclient9-3.23.22-6.i386.rpm +# mysql-server-3.23.49-3.i386.rpm +# hwcrypto-1.0-3.i386.rpm +# m2crypto-0.05_snap4-2.i386.rpm +# netatalk-1.5pre6-1rh7.i386.rpm +# Other files: +# httpd.conf +# mod_auth_external-2.1.13.tar.gz +# +# The contingency plan for a 7.2 install tells the user to install these +# from the current directory. +# perl-5.6.1-34.99.6.i386.rpm +# perl-CGI-2.752-34.99.6.i386.rpm +# + use strict; use File::Copy; @@ -120,6 +162,12 @@ chomp($instdir); # This list of rpms needs to be pared down to some extent. # +my @ImageMagick_rpms = ( + "$instdir/ImageMagick-5.4.3.11-1.i386.rpm", + "$instdir/ImageMagick-devel-5.4.3.11-1.i386.rpm", + "$instdir/ImageMagick-perl-5.4.3.11-1.i386.rpm", + ); + my @gnuplot_rpms = ( "$instdir/gnuplot-3.7.1-5.i386.rpm", "$instdir/libgd-1.3-4.i386.rpm", @@ -152,6 +200,8 @@ my @misc_rpms = ( ## but it is an exercise in frustration. It would be nice to be kind, but ## frankly I do not want to spend the time to figure this out. ## +print_and_log("Installing ImageMagick packages.\n"); +writelog (`rpm -ivh --force --nodeps @ImageMagick_rpms`); print_and_log("Installing mysql packages.\n"); writelog (`rpm -ivh --force --nodeps @mysql_rpms`); print_and_log("Installing gnuplot packages.\n");