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 [2014/07/22 09:34]
thooge
compile_instructions [2016/12/25 16:03] (current)
thooge [Distribution Specific Notes]
Line 6: Line 6:
  
 Please read all of your platform's sections before starting. Any questions regarding this can be directed to our Support Forums at the [[http://www.hoogi.de/wolfpack/|main website]]. Please read all of your platform's sections before starting. Any questions regarding this can be directed to our Support Forums at the [[http://www.hoogi.de/wolfpack/|main website]].
 +
 +Compile with: 
 +[[compile_bsd|BSD]] --
 +[[compile_linux|Linux]] --
 +[[compile_macos|MacOS]] -- 
 +[[compile_windows|Windows]]
  
 ===== Windows ===== ===== Windows =====
Line 16: Line 22:
  
 ==== Requirements ==== ==== Requirements ====
-Wolfpack requires Python 2.3.x and Trolltech'Qt 4.0.x. Please note that many Linux distributions split the forementioned software into several packages. You will need the "development" packages in additional to the "standard" ones, if that's the case in your specific distribution. Please refer to Distribution Specific Notes for details.+Wolfpack requires Python 2.x and Trolltech'QT 4.x. Please note that many Linux distributions split the forementioned software into several packages. tou will need the "development" packages in additional to the "standard" ones, if that's the case in your specific distribution. Please refer to Distribution Specific Notes for details.
  
 Wolfpack will also require MySQL libraries and headers (aka development package) if you want to use MySQL, otherwise, it will default to the SQLite shiped along with Wolfpack. Wolfpack will also require MySQL libraries and headers (aka development package) if you want to use MySQL, otherwise, it will default to the SQLite shiped along with Wolfpack.
Line 26: 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 37: 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 43: 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 67: 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.1406014463.txt.gz · Last modified: 2014/07/22 09:34 by thooge