-
Notifications
You must be signed in to change notification settings - Fork 19
Msys2 Dependencies
If you need to build dependent libraries, your way for Ruby 2.2.6 or later:
Create a sandbox in your msys2 $HOME.
cd
mkdir -p shoesdeps/src
mkdir -p shoesdeps/mingw
We need to build some dlls that Ruby wants and then we'll build Ruby and test it. Then we'll build all the dll's Shoes need and if we survive, we'll build Shoes. This may take several days of wondering if you done it correctly.
These all follow the standard script of download, move that that to src/, expand it, and create a shell script to do the configure
, and then you make
, make install
It's a constant pattern so I'm only going to show it once for libgmp.
libgmp 6.1.0
Download it from the link, move it to your shoesdeps/src and expand it. My browser puts things in C:\Users\Cecil\Downloads
cd shoesdeps/src
mv /c/Users/Cecil/libgmp-6.1.0.tar.xz .
tar xf libgmp-6.1.0.tar.x
Create this script in shoesdeps/src and use it to do the configure for you and then you can make
, make install
(copy it into your shoesdeps).
$ more msys2-gmp.sh
#! /bin/bash
# execute it instead of ./configure
export dest="$(cygpath -m $HOME)/shoesdeps/mingw"
./configure \
--disable-static \
--enable-shared \
--prefix="$dest"
Then configure and build.
cd gmp-6.1.0
../msys2-gmp.sh
make
make install
Menu
In This Section:
- Shoes Rakefiles
- Rake files
- App.yaml secrets
- Custom.yaml
- Gems for Shoes
- Build with Vagrant
- Building Shoes on Linux
- Building Shoes on Pi2
- Mingw Dependencies
- Building Shoes on Windows
- Cross compile mingw
- OSX 10.10 Dependencies
- OSX 10.9 Dependencies
- OSX 10.6 Dependencies
- Caution Using brew 10.6
- Build-MinGW-with-OSX
- NSIS Installer for Windows
- MSYS2 cross compiling
- Cross-compile-for-arm-(raspberry)
- MXE-Dependencies
- FreeBSD and Shoes