User Tools

Site Tools


compile_instructions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
compile_instructions [2016/12/20 13:26]
thooge [Requirements]
compile_instructions [2016/12/25 16:03] (current)
thooge [Distribution Specific Notes]
Line 32: Line 32:
  
 ==== Generating Makefiles ==== ==== Generating Makefiles ====
-Go to the folder containing wolfpack folders then do a chmod +x configure to fix the script permission. The configure script will try to locate the headers and libraries required in your system and pass them to qmake to generate a makefile. Some options can be enabled/disabled from arguments passed to configure, check configure --help for details on them. +Go to the folder containing wolfpack folders then do a chmod +x configure to fix the script permission. The configure script will try to locate the headers and libraries required in your system and pass them to qmake to generate a makefile. Some options can be enabled/disabled from arguments passed to configure, check ''%%configure --help%%'' for details on them. 
  
-  chmod +x configure +  ./configure2.py
-  ./configure+
  
 If you don't have installed the Boost-packages or want them to link statically, you have to build the special boost-library:  If you don't have installed the Boost-packages or want them to link statically, you have to build the special boost-library: 
Line 43: Line 42:
   make   make
  
-Debian GNU/Linux [[Client]]: (In the moment you have to add a path to your Python include files e.g. /usr/include/python2.manually)+Debian GNU/Linux [[Client]]: (In the moment you have to add a path to your Python include files e.g. /usr/include/python2.manually) 
 + 
 +Finally 
 +  make 
 +  make install
  
 ==== Distribution Specific Notes ==== ==== Distribution Specific Notes ====
Line 49: Line 52:
 === Debian === === Debian ===
  
-  * Recommended that you use at least Debian Etch  +  * Recommended that you use at least Debian 8.x Jessie
-    * In Debian Sarge the supplied QT Version is only 3.3.4 +
-    * for more information see: http://www.debian.org/releases/ +
   * QT4 Packages: ''libqt4-core libqt4-dev''   * QT4 Packages: ''libqt4-core libqt4-dev''
-  * Python Packages: ''python2.python2.3-dev'' +  * Python Packages: ''python2.python2.7-dev'' 
-    * Python 2.4 to 2.7 ist also acceptable  +  * Boost: ''libboost-python1.55.libboost-python-dev'' 
-  * Boost: ''libboost-python1.33.libboost-python-dev'' +  * OpenAL Packages: ''lobopenal1 libopenal-dev'' (only required for the client) 
-  * OpenAL Packages: ''lobopenal0 libopenal-dev'' (only required for the client) +  * Recommended Packages: ''python2.7-mysqldb python2.7-sqlite python2.7-xml libsqlite0 libsqlite0-dev sqlite sqlite-doc'' 
-  * Recommended Packages: ''python2.3-mysqldb python2.3-sqlite python2.3-xml libsqlite0 libsqlite0-dev sqlite sqlite-doc'' +  * MySQL Packages: ''libmysqlclient-dev libmysqlclient18 mysql-client mysql-common mysql-server'' 
-  * MySQL Packages: ''libmysqlclient-dev libmysqlclient12 mysql-client mysql-common mysql-server'' +
  
 The ''$QTDIR'' environment variable must be set. You can add the line ''export QTDIR=/usr/share/qt4'' The ''$QTDIR'' environment variable must be set. You can add the line ''export QTDIR=/usr/share/qt4''
Line 73: Line 73:
 ===== MacOS X ===== ===== MacOS X =====
  
-This is actually in testing +see [[compile_macos]]
-  * Install Python 2.7.6 +
-  * Install QT 5.2.1 +
-  * Install Command line tools for Xcode  +
-    * Download at https://developer.apple.com/downloads, requires a AppleID +
-  * Open Terminal, shange to directory of your choice e.g. your home directory ''/Users/<username>'' +
-  * Set QTDIR environment variable \\ <code>vi ~/.bashrc +
-export QTDIR=/users/<username>/Qt5.2.1/5.2.1/clang_64/ +
-source ~/.bash_profile +
-</code> +
-  * Set Xcode path: ''sudo xcode-select -switch /'' +
-  * Make working directory \\ <code>mkdir wpdev +
-cd wpdev +
-</code> +
-  * Get current Sourcecode: <code>svn checkout svn://...</code> +
-  * Configure \\ <code>cd trunk/server/build +
-./configure.py +
-</code> +
- +
-First Blocker: ''configure2.py'' calls ''qmake'': +
-  * /usr/bin/xcrun -find xcrun does not terminate +
-  * First Test for Resolution: Install complete Xcode 5.1 +
- +
-Second BLocker: +
-  * Linking error: ''clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python''' +
-  * Perhaps this is a conflict between different Python versions? +
- +
- +
- +
-To be continued...+
  
compile_instructions.1482236798.txt.gz · Last modified: 2016/12/20 13:26 by thooge