You've already forked linux-packaging-mono
2.2 KiB
2.2 KiB
The following pre-requisites need to be installed for building the repo:
Windows (Windows 7+)
- Install Visual Studio 2015, including Visual C++ support. Visual Studio 2017 RC also works, but you will need to pass
vs2017as a parameter to the build script to build using this version. - Install CMake. We use CMake 3.3.2 but any later version should work.
- (Windows 7 only) Install PowerShell 3.0. It's part of Windows Management Framework 3.0. Windows 8 or later comes with the right version inbox.
PowerShell also needs to be available from the PATH environment variable (it's the default). Typically it should be %SYSTEMROOT%\System32\WindowsPowerShell\v1.0.
Ubuntu (14.04)
Install basic dependency packages:
First add a new package source to be able to install clang-3.9:
echo "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.9 main" | sudo tee /etc/apt/sources.list.d/llvm.list
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install cmake clang-3.9 libicu52 libunwind8
Mac OSX (10.11.5+)
- Install Command Line Tools for XCode 8 or higher.
- Install CMake. Launch
/Applications/CMake.app/Contents/MacOS/CMakeGUI. Goto "OSX App Menu -> Tools -> Install For Command Line Use" and follow the steps. CMake < 3.6 has a bug that can make--installfail. Dosudo mkdir /usr/local/binto work around. - Install OpenSSL. Build tools have a dependency on OpenSSL. You can use Homebrew to install it: with Homebrew installed, run
brew install opensslfollowed byln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/, followed byln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/. - Install ICU (International Components for Unicode). It can be obtained via Homebrew: run
brew install icu4cfollowed bybrew link --force icu4c