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/02/26 17:05]
leaf [Ubuntu 23.10 (Mantic Minotaur)] Update last tested date
server:server_compiling [2024/04/29 01:00] (current)
leaf [Devuan Beowulf 3.1.1] Update version info
Line 40: Line 40:
 To confirm python is fully installed on Ubuntu Focal: To confirm python is fully installed on Ubuntu Focal:
  
-   $ python3+   $ python3 ​-V
        
 And you should see output like: And you should see output like:
-   ​Python 3.8.10 (default, Jun  2 2021, 10:49:15) 
-   [GCC 9.4.0] on linux 
-   Type "​help",​ "​copyright",​ "​credits"​ or "​license"​ for more information. 
-   >>>​ 
  
-If you see something like the above, python is installed, use ctrl-d to quit python.+   ​Python 3.10.12
  
 ==== Recommended Packages ==== ==== Recommended Packages ====
Line 60: Line 56:
   * libcurl4 - - Multi-protocol file transfer library (required by metaserver2)   * libcurl4 - - Multi-protocol file transfer library (required by metaserver2)
   * libcurl4-openssl-dev - Development files and documentation for libcurl (OpenSSL) (required by metaserver2)   * libcurl4-openssl-dev - Development files and documentation for libcurl (OpenSSL) (required by metaserver2)
-  * libsvn-dev - Development files for Subversion libraries (required for Subversion revision number reporting in metaserver2) 
  
 As a quick reference: As a quick reference:
  
-  sudo apt-get install check autoconf libsqlite3-0 libpython3.8 libcurl4 libcurl4-openssl-dev libsvn-dev+  sudo apt-get install check autoconf libsqlite3-0 libpython3.8 libcurl4 libcurl4-openssl-dev
  
 ==== Useful Packages ==== ==== Useful Packages ====
Line 87: Line 82:
 A quick reference for Debian 10 A quick reference for Debian 10
  
-  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make python3-dev+  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make python3-bsddb3 python3-devel 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 95: Line 90:
 Instructions creation date: 2024-January-9 Instructions creation date: 2024-January-9
  
-Last tested date: 2024-February-19 +Last tested date: 2024-April-29 
 ==== Debian 11 (Bullseye) ==== ==== Debian 11 (Bullseye) ====
  
 A quick reference for Debian 11 A quick reference for Debian 11
  
-  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make python3-dev+  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make 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 108: Line 103:
 Instructions creation date: 2024-January-10 Instructions creation date: 2024-January-10
  
-Last tested date: 2024-February-19 +Last tested date: 2024-April-29 
  
 ==== Debian 12 (Bookworm) ==== ==== Debian 12 (Bookworm) ====
Line 114: Line 109:
 A quick reference for Debian 12 A quick reference for Debian 12
  
-  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make python3-dev+  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make 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 123: Line 118:
 Instructions creation date: 2024-January-10 Instructions creation date: 2024-January-10
  
-Last tested date: 2024-February-24 +Last tested date: 2024-April-29 
  
  
 ==== Devuan ==== ==== Devuan ====
 +
 +==== Devuan Beowulf 3.1.1 ====
 +
 +FIXME - work in progress
 +
  
 ==== Devuan Chimaera 4.0 ==== ==== Devuan Chimaera 4.0 ====
Line 132: Line 132:
 A quick reference for Devuan Chimaera 4.0 (old stable) A quick reference for Devuan Chimaera 4.0 (old stable)
  
-  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make python3-dev+  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make python3-bsddb3 python3-devel sqlite3
   ​   ​
 Instructions creation date: 2024-February-20 Instructions creation date: 2024-February-20
  
-Last tested date: 2024-February-20+Last tested date: 2024-April-29
  
 ==== Devuan Daedalus 5.0 ==== ==== Devuan Daedalus 5.0 ====
Line 142: Line 142:
 A quick reference for Devuan Daedalus 5.0 (stable) A quick reference for Devuan Daedalus 5.0 (stable)
  
-  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make python3-dev+  sudo apt install automake flex git g++ libcurl4 libcurl4-openssl-dev libgd-dev libgd-tools libtool make python3-bsddb3 python3-devel sqlite3
   ​   ​
 After compiling the server (sh autogen.sh && make && sudo make install) you will also need to run the following command - but make sure to change <​username>​ to the correct login name for you setup: After compiling the server (sh autogen.sh && make && sudo make install) you will also need to run the following command - but make sure to change <​username>​ to the correct login name for you setup:
Line 208: Line 208:
  
 Last tested date: 2024-January-28 Last tested date: 2024-January-28
 +
 +==== Fedora 40 ====
 +
 +Server code requires commit 472dd2 from 2024-Jan-27 or newer in order to compile properly, see [[https://​sourceforge.net/​p/​crossfire/​bugs/​952/​|Bug #​952]] ​
 +
 +A quick reference for Fedora 40
 +
 +  sudo dnf install flex g++ git libcurl libcurl-devel libtool make python3 python3-bsddb3 python3-devel sqlite
 +
 +After compiling the server (sh autogen.sh && make && sudo make install) you will also need to run the following command - but make sure to change <​username>​ to the correct login name for you setup:
 +
 +  sudo chown -R <​username>:<​username>​ /​usr/​games/​crossfire/​
 +
 +Instructions creation date: 2024-April-24
 +
 +Last tested date: 2024-April-24
  
 ==== Linux Mint ==== ==== Linux Mint ====
Line 425: Line 441:
  
 Last tested date: 2024-February-26 ​ Last tested date: 2024-February-26 ​
 +
 +==== Ubuntu 24.04 (Noble Numbat) ====
 +
 +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.
 +
 +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/​
 +
 +Instructions creation date: 2024-April-21
 +
 +Last tested date: 2024-April-26
 ===== Compile Instructions ===== ===== Compile Instructions =====
  
Line 725: Line 756:
 ==== Recollect archetypes ==== ==== Recollect archetypes ====
  
-Change directories to server.svn/lib+Change directories to crossfire-crossfire-server/lib
  
-  $ cd server/lib+  $ cd crossfire-crossfire-server/lib
   ​   ​
 +Make sure you are in the correct directory with the pwd command
 +
 +  $ pwd
 +  /​home/<​username>/​crossfire-crossfire-server/​lib
 +
 Then run Then run
  
   $ make do-collect   $ make do-collect
   ​   ​
-Then change back to the server.svn directory ​+Then change back to the crossfire-crossfire-server directory ​
  
   $ cd ..   $ cd ..
   ​   ​
-Make sure you are in the server.svn directory+Make sure you are in the server directory
  
   $ pwd   $ pwd
-  /​home/<​username>/​server.svn+  /​home/<​username>/​crossfire-crossfire-server
  
 Repeat the steps listed under "​COMPILE"​ Repeat the steps listed under "​COMPILE"​
Line 746: Line 782:
 ==== Autoreconf ==== ==== Autoreconf ====
  
-Make sure you are in the server.svn directory+Make sure you are in the server directory
  
   $ pwd   $ pwd
-  /​home/<​username>/​server.svn+  /​home/<​username>/​crossfire-crossfire-server
  
 Run the autoreconf command Run the autoreconf command
Line 759: Line 795:
 ==== Sudo Make Clean ==== ==== Sudo Make Clean ====
  
-Make sure you are in the server.svn directory+Make sure you are in the server directory
  
   $ pwd   $ pwd
-  /​home/<​username>/​server.svn+  /​home/<​username>/​crossfire-crossfire-server
  
 Run the clean command Run the clean command
Line 770: Line 806:
 Repeat the steps listed under "​COMPILE"​ Repeat the steps listed under "​COMPILE"​
 ===== Microsoft Windows Compile Guide ===== ===== Microsoft Windows Compile Guide =====
-Warning this information may be out of date+ 
 +FIXME - Warning this information may be out of date 
 + 
 +FIXME - Needs updates to reference Git instead of Subversion (aka SVN)
  
 ==== Subversion ==== ==== Subversion ====
server/server_compiling.1708988759.txt.gz · Last modified: 2024/02/26 17:05 by leaf