|
InstallMJIN
INSTALL Michael Kapelko (kornerr AT GoogleMail) 20110809 Dependencies' versionsLatest MJIN was built against the following versions of dependencies:
1. Linux build environment setup (Debian 5.0.8 32/64-bit DVD1 install)Install additional packagesNote: linux-headers is only necessary to compile VirtualBox additions, only after installing additions do shared folders start to function. Add the following to sources.list right after the DVD entry: deb http://ftp.de.debian.org/debian lenny main Install necessary packages by running: aptitude install \
automake \
chrpath \
freeglut3-dev \
g++ \
libexpat1-dev \
libfreeimage-dev \
libfreetype6-dev \
libgl1-mesa-dev \
linux-headers-`uname -r` \
libopenal-dev \
libpcre3-dev \
libtool \
libvorbis-dev \
libxaw7-dev \
libxrandr-dev \
mercurial \
makeDownload necessary filesCreate a new directory ~/src. Put MJIN sources into there, go to ~/src/mjin/ext/linux and run: ./download ~/src It will download all files necessary to build MJIN into ~/src. Build allWhile in the same directory (ext/linux), run ./install It will build and install all necessary files, including MJIN, within ~/build. 2. Windows build environment setup (XP 32-bit install)CMakeInstall CMake-2.8.3-win32-x86.exe At the Install Options screen select
libsndfileInstall libsndfile-1.0.25-w32-setup.exe to default path. Add C:/MinGW/bin to %PATH%You must do it before launching install script later. CygwinInstall Cygwin without selecting additional packages, but selecting at least 2 mirrors from which to download packages later. After that, install additional packages by running the following command: setup.exe -P bz2,gz,mercurial,patch,subversion,vim,wget,unzip It will run the same sequence of dialogs. Just keep on pressing "Next", and it will install everything as needed. Cygwin is used as a UNIX shell, and MinGW as a compiler. Download necessary filesCreate a new directory C:/src. Put MJIN sources into there, go to C:/src/mjin/ext/cygwin and run the script from within Cygwin shell: ./download C:/src It will download all files necessary to build MJIN into C:/src. Build allWhile in the same directory (ext/cygwin), run ./install It will build and install all necessary files, including MJIN, within C:/build. 3. Addition packages for Linux distributionsFedora 14openal-soft freeimage openSUSE 11.4openal-soft libpcreposix0 FreeImage:
Mandriva 2010.02openal (libfreeimage3 or lib64freeimage3) Arch 2010.05openal freeimage libvorbis xdg-utils glut Slackware 13.37openal freeimage | ||||||||||||||||||||||||