| Compiling Atrinik Server |
| Development -> Compiling Atrinik ServerFirst of all, you will need to get the server code. The easiest and fastest way is to grab a daily package. Another way is to use Bazaar to checkout the Atrinik repository, which will make it easy to update your local copy. This command would checkout the entire Atrinik repository, complete with arches, server, client, etc: Quote bzr checkout lp:atrinik Compiling for GNU/Linux 1. Install/compile Python 2.7/3.1, Python 2.7/3.1 development files, zlib, libpthread and libcurl. You will also need build essentials, flex and cmake. For Ubuntu/Debian they are in packages that can be installed with aptitude or apt-get as root. Python 2.6 and older can be used as well, but some features (such as guilds, among others) may not work correctly. 2. Type "cmake ." 3. Type "make" 4. Type "./server.sh" and the server should start Quote apt-get install python2.7 python2.7-dev libpython2.7 libcurl4-openssl-dev zlib1g-dev libpthread-stubs0-dev build-essential flex cmake cmake . make ./server.sh Compiling for Windows 1. Download CodeBlocks with MinGW compiler and install it. 2. If you want Python plugin support, go to www.python.org and download latest 2.7 Python Windows installer and install it in C:\Python27\ 3. Go to the \server\make\win32\CodeBlocks folder. 4. Execute the Setup.bat file by double-clicking it. 5. Double click the CodeBlocks workspace file. 6. In CodeBlocks, go to Build -> Rebuild Workspace 7. Execute install.bat in \server\install\win32 by double-clicking it. 8. Run atrinik_server.exe in the /server folder. Note: Python 3.1 isn't supported yet, you need Python 2.7 regardless of what the README file says. |









Loading...