# RedHat/CentOS 6 Linux setup, 26 Oct 2017   G Torres
# (this is for a build machine, requiring more than for a user)
#
# 30 Jan 2020 [rickr] - base on centos 7 Makefile
#                     - remove gcc 34 and PYTHON references


# Install package dependencies
sudo yum -y install git gcc make m4 zlib-devel libXt-devel libXext-devel \
    libXmu-devel openmotif-devel expat-devel tcsh libXpm-devel           \
    gsl-devel mesa-libGL-devel mesa-libGLU-devel libXi-devel glib2-devel \
    gcc-c++ netpbm-devel gcc-gfortran                                    \
    mesa-libGLw-devel

# generate centos6 makefile, without PYTHON
# (start with cat to make sed pipes clear)
cat Makefile.linux_centos_7_64 | sed 's/^IPYTHON/# IPYTHON/'   \
                               | sed 's/^LDPYTHON/# LDPYTHON/' \
                               > Makefile

