This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
server:server_compiling [2024/02/26 15:00] leaf [Pop!_OS 22.04 LTS] Update with package install list |
server:server_compiling [2024/05/07 00:09] leaf [Linux Mint 20.1 (Ulyssa)] Update last tested date |
||
---|---|---|---|
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 ==== | ||
+ | |||
+ | A quick reference for Devuan Beowulf 3.1.1 | ||
+ | |||
+ | 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-May-1 | ||
+ | |||
+ | Last tested date: 2024-May-1 | ||
+ | |||
+ | |||
==== Devuan Chimaera 4.0 ==== | ==== Devuan Chimaera 4.0 ==== | ||
Line 132: | Line 139: | ||
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-May-2 |
==== Devuan Daedalus 5.0 ==== | ==== Devuan Daedalus 5.0 ==== | ||
Line 142: | Line 149: | ||
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 150: | Line 157: | ||
Instructions creation date: 2024-February-21 | Instructions creation date: 2024-February-21 | ||
- | Last tested date: 2024-February-21 | + | Last tested date: 2024-May-03 |
==== Fedora ==== | ==== Fedora ==== | ||
Line 176: | Line 183: | ||
A quick reference for Fedora 38 | A quick reference for Fedora 38 | ||
- | sudo dnf install flex g++ git libcurl libcurl-devel libtool make python3 python3-devel | + | 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: | 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 188: | Line 195: | ||
Instructions creation date: 2024-January-29 | Instructions creation date: 2024-January-29 | ||
- | Last tested date: 2024-January-29 | + | Last tested date: 2024-May-05 |
==== Fedora 39 ==== | ==== Fedora 39 ==== | ||
- | Server code requires commit 472dd2 from 2024-Jan-27 in order to compile properly, see [[https://sourceforge.net/p/crossfire/bugs/952/|Bug #952]] | + | 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 39 | A quick reference for Fedora 39 | ||
- | sudo dnf install flex g++ git libcurl libcurl-devel libtool make python3 python3-devel | + | 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: | 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 207: | Line 214: | ||
Instructions creation date: 2024-January-12 | Instructions creation date: 2024-January-12 | ||
- | Last tested date: 2024-January-28 | + | Last tested date: 2024-May-05 |
+ | |||
+ | ==== 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 225: | Line 248: | ||
Instructions creation date: 2024-January-29 | Instructions creation date: 2024-January-29 | ||
- | Last tested date: 2024-January-29 | + | Last tested date: 2024-May-05 |
==== Linux Mint 20.1 (Ulyssa) ==== | ==== Linux Mint 20.1 (Ulyssa) ==== | ||
A quick reference for Linux Mint 20.1 (Ulyssa) | A quick reference for Linux Mint 20.1 (Ulyssa) | ||
- | 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-devel sqlite3 |
Instructions creation date: 2024-February-6 | Instructions creation date: 2024-February-6 | ||
- | Last tested date: 2024-February-6 | + | Last tested date: 2024-May-06 |
==== Linux Mint 20.2 (Uma) ==== | ==== Linux Mint 20.2 (Uma) ==== | ||
Line 364: | Line 387: | ||
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 | ||
+ | |||
+ | Instructions creation date: 2024-February-26 | ||
+ | |||
+ | Last tested date: 2024-February-26 | ||
+ | |||
+ | ==== 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-dev | ||
Line 382: | Line 415: | ||
==== Ubuntu 20.04 LTS (Focal Fossa) ==== | ==== Ubuntu 20.04 LTS (Focal Fossa) ==== | ||
- | Ubuntu 20.04 no longer support Python 2, so it is very important that Python 3 is installed. | + | Ubuntu 20.04 no longer supports Python 2, so it is very important that Python 3 is installed. |
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 libsvn-dev python3-dev | + | sudo apt-get install check autoconf flex git libsqlite3-0 libcurl4 libcurl4-openssl-dev python3-dev |
- | | + | |
+ | Instructions creation date: n/a | ||
+ | |||
+ | Last tested date: 2024-February-26 | ||
==== Ubuntu 22.04 LTS (Jammy Jellyfish) ==== | ==== Ubuntu 22.04 LTS (Jammy Jellyfish) ==== | ||
Line 396: | Line 432: | ||
Instructions creation date: 2023-October-11 | Instructions creation date: 2023-October-11 | ||
- | Last tested date: 2023-October-11 | + | Last tested date: 2024-February-26 |
==== Ubuntu 23.10 (Mantic Minotaur) ==== | ==== Ubuntu 23.10 (Mantic Minotaur) ==== | ||
Line 411: | Line 447: | ||
Instructions creation date: 2024-February-9 | Instructions creation date: 2024-February-9 | ||
- | Last tested date: 2024-February-9 | + | 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 712: | Line 763: | ||
==== 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 733: | Line 789: | ||
==== 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 746: | Line 802: | ||
==== 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 757: | Line 813: | ||
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 ==== |