diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-01 06:00:34 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-01 06:00:34 -0500 |
commit | 09e5b00e9268ebb9c71b63660e62e5d0b98c776f (patch) | |
tree | e1b118ef184163919e4485f850cab1f93001cc4b | |
parent | b7b796fff9962cbe7940ee026024af562a9f334c (diff) | |
download | fork-ledger-09e5b00e9268ebb9c71b63660e62e5d0b98c776f.tar.gz fork-ledger-09e5b00e9268ebb9c71b63660e62e5d0b98c776f.tar.bz2 fork-ledger-09e5b00e9268ebb9c71b63660e62e5d0b98c776f.zip |
Fixed 'acprep dependencies' command for CentOS
-rwxr-xr-x | acprep | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -584,18 +584,19 @@ class PrepareBuild(CommandLineApp): ] self.log.info('Executing: ' + string.join(packages, ' ')) self.execute(*packages) - elif exists('/etc/redhat-release'): + + if exists('/etc/redhat-release'): release = open('/etc/redhat-release') - if issue.readline().startswith('CentOS'): + if release.readline().startswith('CentOS'): self.log.info('Looks like you are using YUM on CentOS') packages = [ - 'sudo', 'yum', 'install', 'gcc', 'make', - 'libtool', 'autoconf', 'automake', - 'zlib-devel', 'bzip2-devel', 'python-devel', - 'bboost-devel', + 'sudo', 'yum', 'install', 'gcc', 'gcc-c++', + 'compat-gcc-*', 'make', 'libtool', 'autoconf', + 'automake', 'zlib-devel', 'bzip2-devel', + 'python-devel', 'bboost-devel', 'gmp-devel', 'gettext-devel', #'mpfr-devel' - #'libedit-dev', + 'libedit-devel', 'cppunit-devel', #'texlive-full', #'doxygen', 'graphviz', 'texinfo', |