Last active
December 22, 2022 04:39
-
-
Save shinchiro/705b0afcc7b6c0accffba1bedb067abf to your computer and use it in GitHub Desktop.
Missing Cygwin/MSYS2 packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install re2c | |
git clone --depth 1 https://github.com/skvadrik/re2c.git | |
./autogen.sh | |
./configure --prefix=/usr | |
make && make install | |
2. Install ninja | |
git clone --depth 1 https://github.com/ninja-build/ninja.git | |
./configure.py --bootstrap | |
mv ninja.exe /usr/bin | |
3. Install ragel | |
wget http://www.colm.net/files/ragel/ragel-6.9.tar.gz | |
tar -zxvf ragel-6.9.tar.gz | |
./configure --prefix=/usr CXXFLAGS="$CXXFLAGS -std=gnu++98" | |
make && make install | |
4. Install gyp [Only needed by Cygwin] | |
git clone --depth 1 https://chromium.googlesource.com/external/gyp | |
python2 setup.py install | |
5. Install libjpeg [Only needed by MSYS2] | |
wget http://downloads.sourceforge.net/project/libjpeg/libjpeg/6b/jpegsr6.zip | |
unzip jpegsr6 | |
./configure --prefix=/usr | |
make && make install-lib | |
6. Install rst2pdf [Needed by Cygwin & MSYS2] | |
wget https://bootstrap.pypa.io/get-pip.py | |
python2 get-pip.py | |
pip install rst2pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For MSYS2:
(shinchiro/mpv-winbuild-cmake#280)
For Cygwin (as long as nasm is not updated to a version greater than 2.14 in Cygwin):