Jump to content
Dakado

[Tutorial] How to create Server + Client 2018 step by step [Debian Linux] [Updated 2021]

Recommended Posts

On 8/22/2021 at 6:36 PM, jasonch said:

Hi, Im having trouble compiling rathena. I have changed distros from Debian 10, Pop os, Debian 11. All are having these errors. Can someone point out what might be the problem? gcc version is 10.x.x. 

Screenshot 2021-08-21 221823.png

I have also downgraded my gcc to 5.x and 7, but for some reason debian won't let me do it. errors everywhere.

The answer is shown to you... "did you forget to '#include <string>'?"

Link to comment
Share on other sites

I would like to ask if I need an alternative gcc-5 to install, tried to follow the instruction but did encountered no installation candidate on step 4.

 

Quote

[email protected]_RO:~# apt-get install -t unstable gcc-5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-5' has no installation candidate
[email protected]_RO:~#

 

Edited by cozzy09
Link to comment
Share on other sites

On 8/22/2021 at 6:36 PM, jasonch said:

Hi, Im having trouble compiling rathena. I have changed distros from Debian 10, Pop os, Debian 11. All are having these errors. Can someone point out what might be the problem? gcc version is 10.x.x. 

Screenshot 2021-08-21 221823.png

I have also downgraded my gcc to 5.x and 7, but for some reason debian won't let me do it. errors everywhere.

hello try this commands

1. "scl enable devtoolset-7 bash"

2. "./configure"

3. "make clean"

4. "make server"

Link to comment
Share on other sites

On 9/17/2021 at 10:05 PM, Shakto said:

sudo apt install g++-8

work great

shows as has no installation candidate as well. tried it with gcc-8 as well but also the same.

Link to comment
Share on other sites

On 9/18/2021 at 11:13 AM, cozzy09 said:

shows as has no installation candidate as well. tried it with gcc-8 as well but also the same.

I managed to compile an unmodified rAthena release within an Ubuntu 20.04.3 LTS (Focal Fossa) environment using gcc-9.

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.