This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
server:server_compiling [2024/05/10 14:16] leaf [Pop!_OS 22.04 LTS] Update last test date, add python3-bsddb3 and sqlite3 |
server:server_compiling [2024/12/29 13:35] (current) leaf [COMPILE] Link to #define possibilities for the Crossfire Server page |
||
---|---|---|---|
Line 20: | Line 20: | ||
* libtool - Generic library support script | * libtool - Generic library support script | ||
* make - The GNU version of the "make" utility | * make - The GNU version of the "make" utility | ||
+ | * python3-bsddb3 - Python interface for Berkeley DB (Python 3.x) | ||
* python3-dev - header files and a static library for Python (default) | * python3-dev - header files and a static library for Python (default) | ||
Line 312: | Line 313: | ||
Last tested date: 2024-May-08 | Last tested date: 2024-May-08 | ||
+ | ==== Linux Mint 21.3 (Virginia) ==== | ||
+ | |||
+ | A quick reference for Linux Mint 21.3 (Virginia) | ||
+ | |||
+ | sudo apt-get install autoconf autotools-dev automake flex g++ gcc git libcurl4-openssl-dev libtool python3 python3-bsddb3 python3-dev sqlite3 | ||
+ | |||
+ | Instructions creation date: 2024-May-12 | ||
+ | |||
+ | Last tested date: 2024-May-12 | ||
+ | |||
+ | ==== Linux Mint 22 (Wilma) ==== | ||
+ | |||
+ | A quick reference for Linux Mint 22 (Wilma) | ||
+ | |||
+ | sudo apt-get install autoconf autotools-dev automake flex g++ gcc git libcurl4-openssl-dev libtool python3 python3-bsddb3 python3-dev sqlite3 | ||
+ | |||
+ | Instructions creation date: 2024-July-26 | ||
+ | |||
+ | Last tested date: 2024-July-26 | ||
==== Linux Mint Debian Edition ==== | ==== Linux Mint Debian Edition ==== | ||
Line 345: | Line 365: | ||
Last tested date: 2024-May-08 | Last tested date: 2024-May-08 | ||
+ | ==== Manjaro 24 (Wynsdey) ==== | ||
+ | |||
+ | A quick reference for Manjaro 24 (Wynsdey): | ||
+ | |||
+ | sudo pacman -S base-devel git python-bsddb sqlite | ||
+ | |||
+ | It is important to run this command after the server compile process listed further down in the page. | ||
+ | |||
+ | Note: Manjaro requires the directory permission change to use ':' instead of '.' like this, | ||
+ | sudo chown -R <username>:<username> /usr/games/crossfire/ | ||
+ | |||
+ | Instructions creation date: 2024-May-15 | ||
+ | Last tested date: 2024-May-15 | ||
==== OpenSUSE ==== | ==== OpenSUSE ==== | ||
Line 398: | Line 431: | ||
A quick reference for Pop!_OS 22.04 LTS (NVIDIA) | A quick reference for Pop!_OS 22.04 LTS (NVIDIA) | ||
- | sudo apt-get install check flex git libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool python3-dev | + | sudo apt-get install check flex git libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool python3-bsddb3 python3-dev sqlite3 |
+ | | ||
Instructions creation date: 2024-February-26 | Instructions creation date: 2024-February-26 | ||
Line 419: | Line 452: | ||
Crossfire server relies heavily on Python for functions such as the message boards, post office, certain quests, gates & passwords, etc. | Crossfire server relies heavily on Python for functions such as the message boards, post office, certain quests, gates & passwords, etc. | ||
- | sudo apt-get install check autoconf flex git libsqlite3-0 libcurl4 libcurl4-openssl-dev python3-dev | + | sudo apt-get install check autoconf flex git libsqlite3-0 libcurl4 libcurl4-openssl-dev python3-bsddb3 python3-dev sqlite3 |
Instructions creation date: n/a | Instructions creation date: n/a | ||
- | Last tested date: 2024-February-26 | + | Last tested date: 2024-May-11 |
==== Ubuntu 22.04 LTS (Jammy Jellyfish) ==== | ==== Ubuntu 22.04 LTS (Jammy Jellyfish) ==== | ||
A quick reference for Ubuntu 22.04 LTS (Jammy Jellyfish) | A quick reference for Ubuntu 22.04 LTS (Jammy Jellyfish) | ||
- | sudo apt-get install autoconf automake check flex g++ gcc git libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libsqlite3-0 libtool make python3-dev | + | sudo apt-get install autoconf automake check flex g++ gcc git libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libsqlite3-0 libtool make python3-bsddb3 python3-dev sqlite3 |
Instructions creation date: 2023-October-11 | Instructions creation date: 2023-October-11 | ||
- | Last tested date: 2024-February-26 | + | Last tested date: 2024-May-12 |
- | ==== Ubuntu 23.10 (Mantic Minotaur) ==== | ||
- | A quick reference for Ubuntu 23.10 (Mantic Minotaur) | + | ==== Ubuntu 24.04 (Noble Numbat) ==== |
- | sudo apt-get install autoconf automake check flex g++ gcc git libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libsqlite3-0 libtool make python3-dev | + | A quick reference for Ubuntu 24.04 (Noble Numbat) |
+ | |||
+ | sudo apt-get install autoconf automake check flex g++ gcc git libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libsqlite3-0 libtool make python3-bsddb3 python3-dev sqlite3 | ||
It is important to run this command after the server compile process listed further down in the page. | It is important to run this command after the server compile process listed further down in the page. | ||
- | Note: Ubuntu 23.10 (Mantic Minotaur) requires the directory permission change to use ':' instead of '.' like this, | + | Note: Ubuntu 24.04 (Noble Numbat) requires the directory permission change to use ':' instead of '.' like this, |
sudo chown -R <username>:<username> /usr/games/crossfire/ | sudo chown -R <username>:<username> /usr/games/crossfire/ | ||
- | Instructions creation date: 2024-February-9 | + | Instructions creation date: 2024-April-21 |
- | Last tested date: 2024-February-26 | + | Last tested date: 2024-April-26 |
- | ==== Ubuntu 24.04 (Noble Numbat) ==== | + | ==== Ubuntu 24.10 (Oracular Oriole) ==== |
- | A quick reference for Ubuntu 24.04 (Noble Numbat) | + | A quick reference for Ubuntu 24.10 (Oracular Oriole) |
sudo apt-get install autoconf automake check flex g++ gcc git libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libsqlite3-0 libtool make python3-bsddb3 python3-dev sqlite3 | sudo apt-get install autoconf automake check flex g++ gcc git libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libsqlite3-0 libtool make python3-bsddb3 python3-dev sqlite3 | ||
Line 457: | Line 491: | ||
It is important to run this command after the server compile process listed further down in the page. | It is important to run this command after the server compile process listed further down in the page. | ||
- | Note: Ubuntu 24.04 (Noble Numbat) requires the directory permission change to use ':' instead of '.' like this, | + | Note: Ubuntu 24.10 (Oracular Oriole) requires the directory permission change to use ':' instead of '.' like this, |
sudo chown -R <username>:<username> /usr/games/crossfire/ | sudo chown -R <username>:<username> /usr/games/crossfire/ | ||
- | Instructions creation date: 2024-April-21 | + | Instructions creation date: 2024-November-23 |
- | Last tested date: 2024-April-26 | + | Last tested date: 2024-November-23 |
===== Compile Instructions ===== | ===== Compile Instructions ===== | ||
Line 476: | Line 510: | ||
==== DOWNLOAD ==== | ==== DOWNLOAD ==== | ||
- | * [[:sourceforge:svn_code#Trunk]] contains the newest features and development for the game | + | * Trunk contains the newest features and development for the game |
- | * [[:sourceforge:svn_code#Tags]] is an official & stable release of the game | + | * Tags is an official & stable release of the game |
Line 610: | Line 644: | ||
More information at: [[:arch:making_archetypes#Testing Archetypes]] | More information at: [[:arch:making_archetypes#Testing Archetypes]] | ||
+ | |||
+ | **Optional:** A list of different options to collection information during the compile process is available at [[server:compiling_the_server:defines|#define possibilities for the Crossfire Server]] | ||
==== LAUNCH ==== | ==== LAUNCH ==== | ||
Line 812: | Line 848: | ||
| | ||
Repeat the steps listed under "COMPILE" | Repeat the steps listed under "COMPILE" | ||
+ | |||
+ | ==== Check Error ==== | ||
+ | |||
+ | If you encounter check errors during the compile process: | ||
+ | |||
+ | make[6]: *** [Makefile:835: check_arch] Error 1 | ||
+ | |||
+ | Note: numbers in the output may vary, but error format is similar | ||
+ | |||
+ | Note: this should only be encountered after a source code change from upstream or by changes made by you | ||
+ | |||
+ | To temporarily get around this issue, run the compile with **--disable-check** enabled. | ||
+ | |||
+ | Example: | ||
+ | |||
+ | sh autogen.sh --disable-check && make && sudo make install | ||
+ | |||
+ | |||
===== Microsoft Windows Compile Guide ===== | ===== Microsoft Windows Compile Guide ===== | ||