aboutsummaryrefslogtreecommitdiff
path: root/doc/UnixInstall.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/UnixInstall.txt')
-rw-r--r--doc/UnixInstall.txt24
1 files changed, 13 insertions, 11 deletions
diff --git a/doc/UnixInstall.txt b/doc/UnixInstall.txt
index 71ee4282a7c..6293a4305c2 100644
--- a/doc/UnixInstall.txt
+++ b/doc/UnixInstall.txt
@@ -6,7 +6,10 @@ WARNING: THIS DOCUMENTATION IS NOT ALWAYS UP TO DATE.
FOR MORE UP-TO-DATE INFORMATION, CHECK THE TRINITY WIKI.
=========================================================
-CHECK http://www.trinitycore.org/w/How-to:Linux FOR FURTHER HELP
+CHECK http://www.trinitycore.info/How-to:Linux FOR FURTHER HELP
+
+These are instructions for installation in a Linux environment, if you are
+using Windows refer to http://www.trinitycore.info/How-to:Win
Installing TrinityCore is fairly simple on a Linux machine, assuming you
have all required applications
@@ -14,11 +17,11 @@ have all required applications
The most important ones are:
g++
- gcc
+ gcc version 4.3.x or greater
make
cmake version 2.6.x or greater
libmysql++-dev
- mercurial (for checking out the core and database)
+ git (for checking out the core and database)
openssl
libssl-dev
zlib1g-dev
@@ -37,7 +40,7 @@ you created a dir named build ad want to have your finalcompiled product
installed in /home/trinity/server, an example sequence of commands can
be :
- cmake ../ -DPREFIX=/home/trinity/server
+ cmake ../ -DPREFIX=/home/trinity/server -DTOOLS=1 -DWITH_WARNINGS=1
make
make install
@@ -51,21 +54,20 @@ flags like
TOOLS Build map/vmap extraction/assembler tools
USE_SCRIPTPCH Use precompiled headers when compiling scripts
USE_COREPCH Use precompiled headers when compiling servers
- USE_SFMT Use SFMT as random numbergenerator
WITH_WARNINGS Show all warnings during compile
WITH_COREDEBUG Include additional debug-code in core
PREFIX Set installation directory
- CONF_DIR Set configuration directory
- LIBSDIR Set library directory
+ NOJEM Do not build with jemalloc (advanced users only)
+ CONF_DIR Set path as default configuration directory
+ LIBSDIR Set path as default library directory
CMAKE_C_FLAGS Set C_FLAGS for compile (advanced users only)
CMAKE_CXX_FLAGS Set CXX_FLAGS for compile (advanced users only)
-
CMAKE_BUILD_TYPE Set buildtype - the supported modes are :
Release, MinSizeRel, RelWithDebInfo, Debug
-Of course, replace the paths in prefix, conf_dir with the directories
-you wish to install TrinityCore to. The datadir is where maps, DBCs, and
-SQLs are stored. The sysconfdir is where configuration files are stored.
+Of course, replace the paths in PREFIX, CONF_DIR and LIBSDIR with the
+directories you wish to install TrinityCore to. The datadir is where maps,
+DBCs, and SQLs are stored. The sysconfdir is where configuration files are stored.
Once TrinityCore is installed you will need to apply database updates
where necessary. Furthermore, you must configure your installation by