User Tools

Site Tools


cre: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
Next revision Both sides next revision
cre:compiling [2024/03/20 00:36]
leaf [Linux] Any alerts or warnings can be ignored during this process.
cre:compiling [2024/05/05 01:45]
leaf [Fedora 39] Update last test update
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 49: Line 49:
  
 ==== Devuan ==== ==== Devuan ====
 +
 +==== Devuan Beowulf 3.1.1 ====
 +
 +A quick reference for Devuan Beowulf 3.1.1
 +
 +  sudo apt install qt5-default qttools5-dev qttools5-dev-tools qtscript5-dev
 +  ​
 +Instructions creation date: 2024-May-2
 +
 +Last tested date: 2024-May-2
 +
  
 ==== Devuan Chimaera 4.0 ==== ==== Devuan Chimaera 4.0 ====
Line 58: Line 69:
 Instructions creation date: 2024-February-29 Instructions creation date: 2024-February-29
  
-Last tested date: 2024-February-29+Last tested date: 2024-May-2
  
 ==== Devuan Daedalus 5.0 ==== ==== Devuan Daedalus 5.0 ====
Line 68: Line 79:
 Instructions creation date: 2024-March-01 Instructions creation date: 2024-March-01
  
-Last tested date: 2024-March-01+Last tested date: 2024-May-03
  
  
Line 81: Line 92:
 Instructions creation date: 2024-March-02 Instructions creation date: 2024-March-02
  
-Last tested date: 2024-March-02+Last tested date: 2024-May-04
  
 ==== Fedora 38 ==== ==== Fedora 38 ====
Line 91: Line 102:
 Instructions creation date: 2024-March-02 Instructions creation date: 2024-March-02
  
-Last tested date: 2024-March-02+Last tested date: 2024-May-05
  
 ==== Fedora 39 ==== ==== Fedora 39 ====
Line 101: Line 112:
 Instructions creation date: 2024-March-02 Instructions creation date: 2024-March-02
  
-Last tested date: 2024-March-02+Last tested date: 2024-May-05
  
 +==== 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 202: Line 222:
  
 ==== OpenSUSE Leap 15.5 ==== ==== OpenSUSE Leap 15.5 ====
- 
-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 A quick reference for OpenSUSE Leap 15.5
  
-  sudo zypper install libqt5-qtbase-common-devel libqt5-qtscript-devel libqt5-qttools-devel+  sudo zypper install libqt5-qtbase-common-devel libqt5-qtscript-devel libqt5-qttools-devel libqt5concurrent-devel
  
 Instructions creation date: 2024-March-08 Instructions creation date: 2024-March-08
  
-Last tested date: 2024-March-09+Last tested date: 2024-May-01
  
  
 ==== OpenSUSE Tumbleweed ==== ==== OpenSUSE Tumbleweed ====
- 
-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 A quick reference for OpenSUSE Tumbleweed
  
-  sudo zypper install libqt5-qtbase-common-devel libqt5-qtscript-devel libqt5-qttools-devel+  sudo zypper install libqt5-qtbase-common-devel libqt5-qtscript-devel libqt5-qttools-devel libqt5concurrent-devel
  
 Instructions creation date: 2024-March-08 Instructions creation date: 2024-March-08
  
-Last tested date: 2024-March-09+Last tested date: 2024-May-01
  
 ==== Pop!_OS ==== ==== Pop!_OS ====
Line 283: Line 299:
 Last tested date: 2024-March-11 Last tested date: 2024-March-11
  
 +==== Ubuntu 24.04 (Noble Numbat) ====
  
 +A quick reference for Ubuntu 24.04 (Noble Numbat) ​
 +
 +   sudo apt install qttools5-dev qttools5-dev-tools qtscript5-dev
 +
 +Instructions creation date: 2024-April-23
 +
 +Last tested date: 2024-April-26
 ====== Building ====== ====== Building ======
  
 ===== Linux ===== ===== Linux =====
  
-Once the server has been built and installed (i.e., ''​sh autogen.sh && make install''​),​ from the server source root, change to the utils directory.+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+  cd utils/cre
  
-Check you are in the correct directory with the pwd command ​like so:+Check you are in the correct directory with the ''​pwd'' ​command:
  
   $ pwd   $ pwd
-  /​home/<​username>/​crossfire-crossfire-server/​utils+  /​home/<​username>/​crossfire-crossfire-server/​utils/cre
  
-The first compile ​step depends on what version of QT you have installed and what Linux distribution ​you are running. Here is some guidelines:+The first compilation ​step depends on the version of QT installed and the Linux distribution ​being used. Here are some guidelines:
  
-Debian, Devuan, Linux Mint, PopOS, Ubuntu+For Debian, Devuan, Linux Mint, PopOS, ​and Ubuntu:
  
   qmake   qmake
  
-FedoraManjaro+For Fedora ​and Manjaro:
  
   qmake-qt5   qmake-qt5
  
-The qmake or qmake-qt5 command ​will generally run quite fast and only show output if a problem ​is encountered.+The ''​qmake'' ​or ''​qmake-qt5'' ​command ​usually executes quickly ​and only displays ​output if there is an issue.
  
-Next, run the make command. This command can take up to 5 minutes or more and display ​over 300 lines of text during the process. Any alerts or warnings can be ignored during this process.+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   make
  
-Once the compile ​process is complete, ​cd to the cre directory.+Once the compilation ​process is complete, ​change directory ​to ''​cre''​. 
 + 
 +  $ cd cre
  
-Check you are in the correct directory with the pwd command ​like so:+Verify your location using the ''​pwd'' ​command:
  
   $ pwd   $ pwd
Line 324: Line 350:
   ./cre   ./cre
  
-Also, you can launch CRE from your home directory using:+Alternatively, you can launch CRE from your home directory using:
  
   ./​crossfire-crossfire-server/​utils/​cre/​cre   ./​crossfire-crossfire-server/​utils/​cre/​cre
cre/compiling.txt · Last modified: 2024/05/15 12:06 by leaf