123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- #! /usr/bin/env bash
- # If I am doing this I should be running under Cygwin and so /bin/bash
- # will exist! However using /usr/bin/env will also be OK.
- missing=""
- case `uname -a` in
- *x86_64*)
- other="cygwin32"
- ;;
- *)
- other="cygwin64"
- ;;
- esac
- for p in \
- automake \
- bash \
- bc \
- binutils \
- bison \
- bzip2 \
- coreutils \
- ${other} \
- ${other}-binutils \
- ${other}-bzip2 \
- ${other}-fontconfig \
- ${other}-freetype2 \
- ${other}-gcc-core \
- ${other}-gcc-g++ \
- ${other}-gmp \
- ${other}-gnutls \
- ${other}-isl \
- ${other}-libtool \
- ${other}-libX11 \
- ${other}-libXext \
- ${other}-libXft \
- ${other}-libXrandr \
- ${other}-libXrender \
- ${other}-ncurses \
- ${other}-w32api-headers \
- ${other}-w32api-runtime \
- ${other}-zlib \
- ed \
- findutils \
- flex \
- fontconfig \
- gcc-core \
- gcc-g++ \
- gdb \
- grep \
- gzip \
- initscripts \
- less \
- libfontconfig-devel \
- libfontenc-devel \
- libfreetype-devel \
- libgtk2.0-devel \
- libncurses-devel \
- libstdc++6 \
- libstdc++6-devel \
- libX11-devel \
- libX11-xcb-devel \
- libXaw-devel \
- libXcomposite-devel \
- libXcursor-devel \
- libXdamage-devel \
- libXext-devel \
- libXfixes-devel \
- libXfont-devel \
- libXft-devel \
- libXm-devel \
- libXrandr-devel \
- libXrender-devel \
- libXRes-devel \
- libXt-devel \
- make \
- mingw64-i686-binutils \
- mingw64-i686-gcc-core \
- mingw64-i686-gcc-fortran \
- mingw64-i686-gcc-g++ \
- mingw64-i686-headers \
- mingw64-i686-pthreads \
- mingw64-i686-runtime \
- mingw64-x86_64-binutils \
- mingw64-x86_64-gcc-core \
- mingw64-x86_64-gcc-fortran \
- mingw64-x86_64-gcc-g++ \
- mingw64-x86_64-headers \
- mingw64-x86_64-pthreads \
- mingw64-x86_64-runtime \
- patch \
- sed \
- subversion \
- time \
- unzip \
- w32api-headers \
- w32api-runtime \
- wget \
- which \
- zlib-devel \
- bash
- do
- r=`cygcheck -c $p`
- if ( echo $r | grep OK > /dev/null)
- then
- echo $p is OK
- else
- echo $p is missing or not properly installed
- missing="$missing $p"
- fi
- done
- if test "x$missing" != "x"
- then
- echo "Please (re)install $missing"
- fi
- exit 0
|