[DiscordArchive] ok so, just rename them in each of their folders and that's it. no need to move them?
[DiscordArchive] ok so, just rename them in each of their folders and that's it. no need to move them?
Archived author: Bobbber • Posted: 2024-05-05T17:33:05.047000+00:00
Original source
they are in the /root folder because I executed the cmake as root and not as a user of the azerothcore folder?
Archived author: Bobbber • Posted: 2024-05-05T17:33:31.328000+00:00
Original source
so if I rename them in /root/server/etc/modules it should work?
Archived author: Bobbber • Posted: 2024-05-05T17:34:09.949000+00:00
Original source
maybe is better if i if I recompile again as user and not root
![[Image: image.png?ex=690c33cf&is=690ae24f&hm=183...8985b60fa&]](https://cdn.discordapp.com/attachments/284406375495368704/1236733212387053568/image.png?ex=690c33cf&is=690ae24f&hm=183224424dcd9661b6b0d275c8ee5cf69c3c2c4c49520ff47eca40f8985b60fa&)
Archived author: Revision • Posted: 2024-05-05T17:36:15.268000+00:00
Original source
The user doesn't matter when it comes to where files are placed since you set the path in cmake.
![[Image: image.png?ex=690c33cf&is=690ae24f&hm=183...8985b60fa&]](https://cdn.discordapp.com/attachments/284406375495368704/1236733212387053568/image.png?ex=690c33cf&is=690ae24f&hm=183224424dcd9661b6b0d275c8ee5cf69c3c2c4c49520ff47eca40f8985b60fa&)
Archived author: Bobbber • Posted: 2024-05-05T17:36:39.453000+00:00
Original source
i use this command for compile . root@debian:~# cmake ../ -DCMAKE_INSTALL_PREFIX=$HOME/server/ -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DWITH_WARNINGS=1 -DTOOLS_BUILD=all -DSCRIPTS=static -DMODULES=static
and root@debian:~# make -j $(nproc) install
Archived author: Revision • Posted: 2024-05-05T17:37:20.739000+00:00
Original source
In that case the user matter because you used the user as the variable for the path. If you ran it as root, $HOME = /root.
Archived author: Revision • Posted: 2024-05-05T17:37:48.604000+00:00
Original source
If you have a user other than root, you should never run anything as root for AC (except when installing packages, of coursE)
Archived author: Bobbber • Posted: 2024-05-05T17:37:57.825000+00:00
Original source
i need to change /home/server for /home/king/server ?
Archived author: Revision • Posted: 2024-05-05T17:38:09.505000+00:00
Original source
I don't care about "security", it's just annoying dealing with different permissions etc
Archived author: Bobbber • Posted: 2024-05-05T17:38:11.901000+00:00
Original source
or juste install it whit user and not root