[DiscordArchive] Would I expose it to /home/trinitycore/TrinityCore/ then?
[DiscordArchive] Would I expose it to /home/trinitycore/TrinityCore/ then?
Archived author: Mystic Wolf • Posted: 2024-10-12T15:55:36.578000+00:00
Original source
I'm not very familiar with make. I'm guessing I need to use ```make install``` instead of ```make -j$(nproc) ```?
Archived author: Tea • Posted: 2024-10-12T15:56:44.954000+00:00
Original source
just use make install as another command
Archived author: Tea • Posted: 2024-10-12T15:57:27.593000+00:00
Original source
also make sure you now copy binaries from where CMAKE_INSTALL_PREFIX points to instead of build/bin
Archived author: Tea • Posted: 2024-10-12T15:57:54.128000+00:00
Original source
by default its /usr/local if not specified so you will want to change it
Archived author: Mystic Wolf • Posted: 2024-10-12T16:00:41.605000+00:00
Original source
So my builder container command should look something like this? ``` bash -c "mkdir -p build &&
cd build &&
cmake .. -DTOOLS=1 -DSERVERS=1 -DCMAKE_INSTALL_RPATH=\$ORIGIN/../lib -DCMAKE_INSTALL_PREFIX=/mnt/trinitycore-binaries/ &&
make -j$(nproc) && make install``` And since I changed the CMAKE_INSTALL_PREFIX over to where I was originally copying them to, I shouldn't need the copy command,
Archived author: Mystic Wolf • Posted: 2024-10-12T16:24:14.724000+00:00
Original source
No. I also need to specify DCONF_DIR. But if I point that to here /mnt/trinitycore-configs I would also need to make sure that same path is in my bnet and world server containers. Right?
Archived author: Tea • Posted: 2024-10-12T16:31:03.493000+00:00
Original source
technically you dont need to, CONF_DIR is only the the "default" dir
Archived author: Tea • Posted: 2024-10-12T16:31:35.450000+00:00
Original source
which you can override with a command line arg in both bnet and worldservers (--config)
Archived author: Mystic Wolf • Posted: 2024-10-12T16:38:01.289000+00:00
Original source
The build failed without it saying permission denied. And instead of dealing with those permissions, I just changed CONF_DIR.
Archived author: Mystic Wolf • Posted: 2024-10-12T16:38:11.651000+00:00
Original source
It built successfully. But still giving the same error of can't find the lib