User Tools

Site Tools


server:server_compiling

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
server:server_compiling [2024/05/08 13:49]
leaf [Linux Mint 21.1 (Vera)] Update package list
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 306: Line 307:
 A quick reference for Linux Mint 21.2 (Victoria) A quick reference for Linux Mint 21.2 (Victoria)
  
-  sudo apt-get install autoconf autotools-dev automake flex g++ gcc git libcurl4-openssl-dev libtool python3 python3-dev+  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-February-8+Instructions creation date: 2024-February-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
  
-Last tested ​date: 2024-February-8+Instructions creation ​date: 2024-July-26
  
 +Last tested date: 2024-July-26
 ==== Linux Mint Debian Edition ==== ==== Linux Mint Debian Edition ====
  
Line 334: Line 354:
 A quick reference for Manjaro A quick reference for Manjaro
  
-  sudo pacman -S base-devel git+  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. It is important to run this command after the server compile process listed further down in the page.
Line 343: Line 363:
 Instructions creation date: 2024-February-21 Instructions creation date: 2024-February-21
  
-Last tested date: 2024-February-21+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 352: Line 385:
 A quick reference for OpenSUSE Leap 15.5 A quick reference for OpenSUSE Leap 15.5
  
-  sudo zypper install flex gcc-c++ git libtool python3-devel+  sudo zypper install flex gcc-c++ git libtool ​python3-bsddb3 ​python3-devel ​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.
Line 361: Line 394:
 Instructions creation date: 2024-February-21 Instructions creation date: 2024-February-21
  
-Last tested date: 2024-February-21+Last tested date: 2024-May-09
  
  
Line 369: Line 402:
 A quick reference for OpenSUSE Tumbleweed A quick reference for OpenSUSE Tumbleweed
  
-  sudo zypper install flex gcc-c++ git libtool python3-devel+  sudo zypper install flex gcc-c++ git libtool ​python3-bsddb3 ​python3-devel ​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.
Line 378: Line 411:
 Instructions creation date: 2024-February-23 Instructions creation date: 2024-February-23
  
-Last tested date: 2024-February-23+Last tested date: 2024-May-10
  
  
Line 388: Line 421:
 A quick reference for Pop!_OS 22.04 LTS  A quick reference for Pop!_OS 22.04 LTS 
  
-   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
  
-Last tested date: 2024-February-26+Last tested date: 2024-May-10
  
 ==== Pop!_OS 22.04 LTS (NVIDIA) ==== ==== Pop!_OS 22.04 LTS (NVIDIA) ====
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 =====
  
server/server_compiling.1715194192.txt.gz · Last modified: 2024/05/08 13:49 by leaf