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 | ||
cre:compiling [2024/03/06 16:47] leaf [Mint 20.3 (Una)] Update with package install list |
cre:compiling [2024/04/25 00:28] leaf [Fedora .] |
||
---|---|---|---|
Line 2: | Line 2: | ||
- | To build CRE, you first need to [[:server:server_compiling|build the server]] and install it (''make install'' if running under Linux). | + | To build CRE, you first need to [[:server:server_compiling|build the server]] and install it (''sh autogen.sh && make install'' if running under Linux). |
- | CRE sources are part of the server sources. | + | The sources for CRE are included in the server sources. |
===== Requirements ===== | ===== Requirements ===== | ||
- | You need Qt5 and the associated development package. | + | You will need Qt5 and its associated development package. |
- | Depending on your system, installing ''qt5-default'' may be enough. | + | Depending on your system, simply installing ''qmake'' or ''qt5-default'' may suffice. |
===== Distribution Specific Requirements ===== | ===== Distribution Specific Requirements ===== | ||
Line 103: | Line 103: | ||
Last tested date: 2024-March-02 | Last tested date: 2024-March-02 | ||
+ | ==== Fedora 40 ==== | ||
+ | |||
+ | A quick reference for Fedora 40 | ||
+ | |||
+ | sudo dnf install qt5-qtbase-devel qt5-qtscript-devel qt5-qttools-devel | ||
+ | | ||
+ | Instructions creation date: 2024-April-25 | ||
+ | |||
+ | Last tested date: 2024-April-25 | ||
==== Linux Mint ==== | ==== Linux Mint ==== | ||
Line 148: | Line 157: | ||
==== Linux Mint 21 (Vanessa) ==== | ==== Linux Mint 21 (Vanessa) ==== | ||
- | FIXME - Placeholder text | + | |
+ | A quick reference for Linux Mint 21 (Vanessa) | ||
+ | |||
+ | sudo apt install qt5-qmake qt5-qmake-bin qttools5-dev qttools5-dev-tools qtbase5-dev qtscript5-dev | ||
+ | |||
+ | Instructions creation date: 2024-March-06 | ||
+ | |||
+ | Last tested date: 2024-March-06 | ||
==== Linux Mint 21.1 (Vera) ==== | ==== Linux Mint 21.1 (Vera) ==== | ||
- | FIXME - Placeholder text | + | |
+ | A quick reference for Linux Mint 21.1 (Vera) | ||
+ | |||
+ | sudo apt install qt5-qmake qt5-qmake-bin qttools5-dev qttools5-dev-tools qtbase5-dev qtscript5-dev | ||
+ | |||
+ | Instructions creation date: 2024-March-06 | ||
+ | |||
+ | Last tested date: 2024-March-06 | ||
==== Linux Mint 21.2 (Victoria) ==== | ==== Linux Mint 21.2 (Victoria) ==== | ||
- | FIXME - Placeholder text | + | |
+ | A quick reference for Linux Mint 21.2 (Victoria) | ||
+ | |||
+ | sudo apt install qt5-qmake qt5-qmake-bin qttools5-dev qttools5-dev-tools qtbase5-dev qtscript5-dev | ||
+ | |||
+ | Instructions creation date: 2024-March-07 | ||
+ | |||
+ | Last tested date: 2024-March-07 | ||
==== Linux Mint Debian Edition ==== | ==== Linux Mint Debian Edition ==== | ||
- | FIXME - Placeholder text | + | |
+ | A quick reference for Linux Mint Debian Edition | ||
+ | |||
+ | sudo apt install qt5-qmake qt5-qmake-bin qttools5-dev qttools5-dev-tools qtbase5-dev qtscript5-dev | ||
+ | |||
+ | Instructions creation date: 2024-March-07 | ||
+ | |||
+ | Last tested date: 2024-March-07 | ||
==== Manjaro ==== | ==== Manjaro ==== | ||
==== Manjaro 23.1.3 (Vulcan) ==== | ==== Manjaro 23.1.3 (Vulcan) ==== | ||
- | FIXME - Placeholder text | + | |
+ | A quick reference for Manjaro 23.1.3 (Vulcan) | ||
+ | |||
+ | sudo pacman -S qt5-script | ||
+ | |||
+ | Instructions creation date: 2024-March-08 | ||
+ | |||
+ | Last tested date: 2024-March-08 | ||
==== OpenSUSE ==== | ==== OpenSUSE ==== | ||
==== OpenSUSE Leap 15.5 ==== | ==== OpenSUSE Leap 15.5 ==== | ||
- | FIXME - Placeholder text | + | |
+ | IMPORTANT: CRE will not compile on OpenSuse 15.5, see bug [[https://sourceforge.net/p/crossfire/bugs/955/|CRE compile failure with OpenSUSE (QtConcurrent related) ]] | ||
+ | |||
+ | A quick reference for OpenSUSE Leap 15.5 | ||
+ | |||
+ | sudo zypper install libqt5-qtbase-common-devel libqt5-qtscript-devel libqt5-qttools-devel | ||
+ | |||
+ | Instructions creation date: 2024-March-08 | ||
+ | |||
+ | Last tested date: 2024-March-09 | ||
==== OpenSUSE Tumbleweed ==== | ==== OpenSUSE Tumbleweed ==== | ||
- | FIXME - Placeholder text | + | |
+ | IMPORTANT: CRE will not compile on OpenSuse Tumbleweed, see bug [[https://sourceforge.net/p/crossfire/bugs/955/|CRE compile failure with OpenSUSE (QtConcurrent related) ]] | ||
+ | |||
+ | A quick reference for OpenSUSE Tumbleweed | ||
+ | |||
+ | sudo zypper install libqt5-qtbase-common-devel libqt5-qtscript-devel libqt5-qttools-devel | ||
+ | |||
+ | Instructions creation date: 2024-March-08 | ||
+ | |||
+ | Last tested date: 2024-March-09 | ||
==== Pop!_OS ==== | ==== Pop!_OS ==== | ||
==== Pop!_OS 22.04 LTS ==== | ==== Pop!_OS 22.04 LTS ==== | ||
- | FIXME - Placeholder text | + | |
+ | A quick reference for Pop!_OS 22.04 LTS | ||
+ | |||
+ | sudo apt install qtbase5-dev qt5-qmake qt5-qmake-bin qtscript5-dev qttools5-dev qttools5-dev-tools | ||
+ | |||
+ | Instructions creation date: 2024-March-10 | ||
+ | |||
+ | Last tested date: 2024-March-10 | ||
==== Pop!_OS 22.04 LTS (NVIDIA) ==== | ==== Pop!_OS 22.04 LTS (NVIDIA) ==== | ||
- | FIXME - Placeholder text | ||
- | ==== Ubuntu ==== | + | A quick reference for Pop!_OS 22.04 LTS (NVIDIA) |
- | ==== Ubuntu 18.04 LTS (Bionic Beaver) ==== | + | sudo apt install qtbase5-dev qt5-qmake qt5-qmake-bin qtscript5-dev qttools5-dev qttools5-dev-tools |
+ | |||
+ | Instructions creation date: 2024-March-10 | ||
+ | |||
+ | Last tested date: 2024-March-10 | ||
+ | |||
+ | ==== Ubuntu ==== | ||
- | sudo apt install qt5-qmake qt5-qmake-bin qt5-default qtcreator | ||
==== Ubuntu 20.04 LTS (Focal Fossa) ==== | ==== Ubuntu 20.04 LTS (Focal Fossa) ==== | ||
- | FIXME - Placeholder text | + | |
+ | A quick reference for Ubuntu 20.04 LTS (Focal Fossa) | ||
+ | |||
+ | sudo apt install qtbase5-dev qt5-qmake qt5-qmake-bin qtscript5-dev qttools5-dev qttools5-dev-tools | ||
+ | |||
+ | Instructions creation date: 2024-March-11 | ||
+ | |||
+ | Last tested date: 2024-March-11 | ||
==== Ubuntu 22.04 LTS (Jammy Jellyfish) ==== | ==== Ubuntu 22.04 LTS (Jammy Jellyfish) ==== | ||
- | sudo apt install qt5-qmake qt5-qmake-bin qttools5-dev qttools5-dev-tools qtbase5-dev | + | A quick reference for Ubuntu 22.04 LTS (Jammy Jellyfish) |
+ | |||
+ | sudo apt install qtbase5-dev qt5-qmake qt5-qmake-bin qtscript5-dev qttools5-dev qttools5-dev-tools | ||
+ | |||
+ | Instructions creation date: 2024-March-11 | ||
+ | |||
+ | Last tested date: 2024-March-11 | ||
==== Ubuntu 23.10 (Mantic Minotaur) ==== | ==== Ubuntu 23.10 (Mantic Minotaur) ==== | ||
Line 202: | Line 290: | ||
Instructions creation date: 2024-February-29 | Instructions creation date: 2024-February-29 | ||
- | Last tested date: 2024-February-29 | + | Last tested date: 2024-March-11 |
+ | ==== Ubuntu 24.04-Beta (Noble Numbat) ==== | ||
+ | A quick reference for Ubuntu 24.04-Beta (Noble Numbat) | ||
+ | |||
+ | sudo apt install qttools5-dev qttools5-dev-tools qtscript5-dev | ||
+ | |||
+ | Instructions creation date: 2024-April-23 | ||
+ | |||
+ | Last tested date: 2024-April-23 | ||
====== Building ====== | ====== Building ====== | ||
===== Linux ===== | ===== Linux ===== | ||
- | Once the server has been built and installed (with ''./configure && make install''), from the server sources root: | + | Once the server has been built and installed (i.e., by running ''sh autogen.sh && make install''), navigate to the ''utils/cre'' directory from the server source root. |
+ | |||
+ | cd utils/cre | ||
+ | |||
+ | Check you are in the correct directory with the ''pwd'' command: | ||
+ | |||
+ | $ pwd | ||
+ | /home/<username>/crossfire-crossfire-server/utils/cre | ||
+ | |||
+ | The first compilation step depends on the version of QT installed and the Linux distribution being used. Here are some guidelines: | ||
+ | |||
+ | For Debian, Devuan, Linux Mint, PopOS, and Ubuntu: | ||
+ | |||
+ | qmake | ||
+ | |||
+ | For Fedora and Manjaro: | ||
+ | |||
+ | qmake-qt5 | ||
+ | |||
+ | The ''qmake'' or ''qmake-qt5'' command usually executes quickly and only displays output if there is an issue. | ||
+ | |||
+ | Next, execute the ''make'' command. This process may take up to 5 minutes or more and can output over 300 lines of text. Any alerts or warnings can generally be ignored during this process. | ||
+ | |||
+ | make | ||
- | ''cd utils/cre && qmake && make'' | + | Once the compilation process is complete, change directory to ''cre''. |
- | Make sure to use qmake from Qt version 5, and not a previous version. On Fedora for instance, you need to run ''qmake-qt5'' | + | $ cd cre |
- | ''cd utils/cre && qmake-qt5 && make'' | + | Verify your location using the ''pwd'' command: |
- | or | + | $ pwd |
+ | /home/<username>/crossfire-crossfire-server/utils/cre | ||
- | ''cd utils/cre qt5-qmake && make'' | + | To run CRE, enter: |
- | This should build the tool, to run it: | + | ./cre |
- | ''utils/cre/cre'' | + | Alternatively, you can launch CRE from your home directory using: |
- | should do the trick. | + | ./crossfire-crossfire-server/utils/cre/cre |
===== Windows ===== | ===== Windows ===== |