Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any help to get the latest version on ubuntu ? #118

Open
Grrrolive opened this issue Mar 22, 2020 · 9 comments
Open

Any help to get the latest version on ubuntu ? #118

Grrrolive opened this issue Mar 22, 2020 · 9 comments

Comments

@Grrrolive
Copy link

Grrrolive commented Mar 22, 2020

#My configuration:
Rolisteam version: want to install 1.9.2 !
Operating System and version : Linux (Ubuntu 18.04)

#What did you do ? (Explain each step from starting rolisteam to the issue)

  • Installed rolisteam from ppa:/ , then
    sudo apt install rolisteam rcse
    it is functional but only provides 1.8 version of the software

-I removed both the ppa:/ and the two packages
sudo apt purge rolisteam rcse

-Then I read the documentation, did an unsuccessful install of qt5, so I did compile it from the sources.

Pre-requirements
Installation

The first thing is to install Qt (v5.10 or higher).
Get Community version of Qt:
https://www.qt.io/download/

At the Qt installation, please select Qt package compatible with your compiler. If you don’t have any. Select mingw version. Qt will install mingw on your computer.

On windows, please use visual studio 2015 to compile. As it is painful to install it, Rolisteam may still be compiled with other compiler but some features will not be working.

On debian/ubuntu system:
sudo apt-get install qt5-default qtbase5-dev-tools qt5-qmake libqt5network5 zlib1g-dev build-essential git qtmultimedia5-dev libqt5core5a libqt5gui5 qttools5-dev-tools qtdeclarative5-dev qtwebengine5-dev

-Then, I installed the packages listed on the documentation.

#What did you expect to see ? (Make sentences and explains in details with words)

  • How can I know if my sytem is ready to compile and install rolisteam and rcse ?

  • Is there any help in order to not forget any step ?

  • Maybe all this wasn't necessary ?
    As an example compiling Qt5 from the sources as it took a long time !

  • Last question : are these commands good to compile and install rolisteam and rcse ?

$ cd /rolisteam

$ make

$ sudo make install

$ cd ~

@obiwankennedy
Copy link
Member

It is complex because on Ubuntu 18.04 the version of Qt5 is too old. Rolisteam 1.9 needs Qt5.12 (which is provided by Ubuntu 19.10). You can try to compile it but you will need to remove all Qt5.12 code. Or You can install Qt5.12 and compile with it.
I also provide some AppImage. Which may do the work.

@osfrance
Copy link

Try Appimage 1.9.1, the v.1.9.2 don't work with Ubuntu 19.10

@Grrrolive
Copy link
Author

Grrrolive commented Mar 28, 2020

Thank you for your replies.
But still issues :
-did not found the 1.9.1 appimage file
-tried to compile, but, something went wrong.
As you can see, the paths are the own paths of the manufacturer's software.

user@X456UB:~/Documents/jeux/rolisteam/sources/rolisteam-1.9.2/build$ qmake -r ../
Reading /home/oc/Documents/jeux/rolisteam/sources/rolisteam-1.9.2/client/client.pro [/home/oc/Documents/jeux/rolisteam/sources/rolisteam-1.9.2/build/client]
Updating '../translations/rolisteam_fr.qm'...
Removing translations equal to source text in '../translations/rolisteam_fr.qm'...
    Génération de 1049 traductions (1049 terminées et 0 non terminées)
Updating '../translations/rolisteam.qm'...
Removing translations equal to source text in '../translations/rolisteam.qm'...
    Génération de 0 traduction (0 terminée et 0 non terminée)
    1192 textes source non traduits ont été ignorés
Updating '../translations/rolisteam_de.qm'...
Removing translations equal to source text in '../translations/rolisteam_de.qm'...
    Génération de 1094 traductions (1094 terminées et 0 non terminées)
Updating '../translations/rolisteam_pt_BR.qm'...
Removing translations equal to source text in '../translations/rolisteam_pt_BR.qm'...
    Génération de 1086 traductions (1086 terminées et 0 non terminées)
Updating '../translations/rolisteam_ro_RO.qm'...
Removing translations equal to source text in '../translations/rolisteam_ro_RO.qm'...
    Génération de 1063 traductions (1063 terminées et 0 non terminées)
Updating '../translations/rolisteam_nl_NL.qm'...
Removing translations equal to source text in '../translations/rolisteam_nl_NL.qm'...
    Génération de 720 traductions (720 terminées et 0 non terminées)
    399 textes source non traduits ont été ignorés
Updating '../translations/rolisteam_hu_HU.qm'...
Removing translations equal to source text in '../translations/rolisteam_hu_HU.qm'...
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
    Génération de 1096 traductions (1096 terminées et 0 non terminées)
Updating '../translations/rolisteam_tr.qm'...
Removing translations equal to source text in '../translations/rolisteam_tr.qm'...
    Génération de 208 traductions (171 terminées et 37 non terminées)
    944 textes source non traduits ont été ignorés
Updating '../translations/rolisteam_es.qm'...
Removing translations equal to source text in '../translations/rolisteam_es.qm'...
    Génération de 1077 traductions (1077 terminées et 0 non terminées)
Updating '../translations/rolisteam_ca.qm'...
Removing translations equal to source text in '../translations/rolisteam_ca.qm'...
    Génération de 1073 traductions (1073 terminées et 0 non terminées)
Updating '../translations/rolisteam_it.qm'...
Removing translations equal to source text in '../translations/rolisteam_it.qm'...
    Génération de 1047 traductions (1047 terminées et 0 non terminées)
Project ERROR: Unknown module(s) in QT: svg
user@X456UB:~/Documents/jeux/rolisteam/sources/rolisteam-1.9.2/build$ qmake-r ../
qmake-r : commande introuvable
user@X456UB:~/Documents/jeux/rolisteam/sources/rolisteam-1.9.2/build$ make -j4
/home/renaud/application/other/Qt/5.13.2/gcc_64/bin/qmake -o Makefile ../rolisteam.pro
make: /home/renaud/application/other/Qt/5.13.2/gcc_64/bin/qmake: Command not found
Makefile:280: recipe for target 'Makefile' failed
make: *** [Makefile] Error 127

@osfrance
Copy link

@Grrrolive
Copy link
Author

Grrrolive commented Mar 28, 2020

Try to download Appimage 1.9.1 here : https://sourceforge.net/projects/rolisteam/files/1.9.1/Rolisteam_1.9.1-x86_64.AppImage/download

Good answer, thx.

Seems working, although I see that, the server seems to encouter some issues.
I don't have the time to check now, I'll do it tomorrow.
This is what appears :

<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://rolisteam.org/ip.php">here</a>.</p>
<hr>
<address>Apache/2.4.29 (Ubuntu) Server at www.rolisteam.org Port 80</address>
</body></html>

Port:6660

Maybe is it due to the previous install of the 1.8 version, or maybe it is just the configuration here on my laptop.

@obiwankennedy
Copy link
Member

I strongly recommand to not use the 1.9.1 version. This version has a huge crash in it.

The compilation error you got is easy: Project ERROR: Unknown module(s) in QT: svg
The svg module from Qt is missing. Install it and you may compile to the end.

@Grrrolive
Copy link
Author

I strongly recommand to not use the 1.9.1 version. This version has a huge crash in it.

The compilation error you got is easy: Project ERROR: Unknown module(s) in QT: svg
The svg module from Qt is missing. Install it and you may compile to the end.

Ok, so I just have to remove all of it ...

@Grrrolive
Copy link
Author

Grrrolive commented Mar 28, 2020

Maybe could you verify or send a link to dl the appimage for the last version of RCSE please ?
There is an issue with the file on sourceforge.
Impossible to download it !

I confirm the 1.9.2 appimage is functionnal, thank you.

@osfrance
Copy link

@Grrrolive You're lucky, I try to download the last Appimage today, but with my ubuntu 19.10-eaon x64 rcse and rolisteam 1.9.2 not work (it start, but if I try to open a file, I don't see the file manager (see my #117 issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants