tyyong Posted August 24, 2021 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 1 Reputation: 0 Joined: 08/23/21 Last Seen: August 27, 2021 Share Posted August 24, 2021 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. 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>'?" Quote Link to comment Share on other sites More sharing options...
cozzy09 Posted September 16, 2021 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 53 Reputation: 0 Joined: 01/30/12 Last Seen: November 21, 2022 Share Posted September 16, 2021 (edited) 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 September 16, 2021 by cozzy09 Quote Link to comment Share on other sites More sharing options...
Shakto Posted September 17, 2021 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 416 Reputation: 96 Joined: 02/07/13 Last Seen: Saturday at 01:08 PM Share Posted September 17, 2021 sudo apt install g++-8 work great Quote Link to comment Share on other sites More sharing options...
Sallycantdance Posted September 18, 2021 Group: Members Topic Count: 225 Topics Per Day: 0.14 Content Count: 798 Reputation: 12 Joined: 12/04/20 Last Seen: 3 hours ago Share Posted September 18, 2021 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. 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" Quote Link to comment Share on other sites More sharing options...
cozzy09 Posted September 18, 2021 Group: Members Topic Count: 17 Topics Per Day: 0.00 Content Count: 53 Reputation: 0 Joined: 01/30/12 Last Seen: November 21, 2022 Share Posted September 18, 2021 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. Quote Link to comment Share on other sites More sharing options...
changedname Posted September 20, 2021 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 21 Reputation: 12 Joined: 09/14/21 Last Seen: September 26, 2021 Share Posted September 20, 2021 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. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.