Jump to content

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


Dakado

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  08/23/21
  • Last Seen:  

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

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

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

root@Victory_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
root@Victory_RO:~#

 

Edited by cozzy09
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  402
  • Reputation:   89
  • Joined:  02/07/13
  • Last Seen:  

sudo apt install g++-8

work great

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  176
  • Topics Per Day:  0.15
  • Content Count:  666
  • Reputation:   9
  • Joined:  12/04/20
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  21
  • Reputation:   12
  • Joined:  09/14/21
  • Last Seen:  

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...