Jump to content
TrinityCore

megaschnitzel

Plebs
  • Posts

    1
  • Joined

  • Last visited

Posts posted by megaschnitzel

  1. Good evening,

     

     

    I´m trying to setup Trinitycore on my arch linux server.

    Just followed the generic linux instructions, but the compiler stops with the following errors:

    [ 27%] Building CXX object src/server/game/CMakeFiles/game.dir/Handlers/CharacterHandler.cpp.o
    In file included from /home/trinity/TrinityCore/src/server/game/Handlers/CharacterHandler.cpp:43:0:
    /home/trinity/TrinityCore/src/server/game/Handlers/CharacterHandler.cpp: In member function 'void WorldSession::HandlePlayerLogin(LoginQueryHolder*)':
    /home/trinity/TrinityCore/src/server/shared/SystemConfig.h:42:80: error: expected ')' before '_BUILD_DIRECTIVE'
     #  define _FULLVERSION _PACKAGENAME " rev. " VER_PRODUCTVERSION_STR " (Unix, " _BUILD_DIRECTIVE ")"
                                                                                    ^
    /home/trinity/TrinityCore/src/server/game/Handlers/CharacterHandler.cpp:862:33: note: in expansion of macro '_FULLVERSION'
                 chH.PSendSysMessage(_FULLVERSION);
                                     ^
    make[2]: *** [src/server/game/CMakeFiles/game.dir/Handlers/CharacterHandler.cpp.o] Error 1
    make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
    make: *** [all] Error 2
    [root@homebase build]# 
    
    

    And here´s my configure output:

    [root@homebase build]# cmake ../ -DPREFIX=/home/trinity/server
    -- The C compiler identification is GNU 4.8.1
    -- The CXX compiler identification is GNU 4.8.1
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detected 64-bit platform
    -- UNIX: Using jemalloc
    -- UNIX: Using default configuration directory
    -- UNIX: Using default library directory
    -- UNIX: Configuring uninstall target
    -- UNIX: Created uninstall target
    -- Found ACE library: /usr/local/lib/libACE.so
    -- Found ACE headers: /usr/local/include
    -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so  
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE  
    -- Using mysql-config: /usr/bin/mysql_config
    -- Found MySQL library: /usr/lib64/libmysqlclient_r.so
    -- Found MySQL headers: /usr/include/mysql
    -- Found Readline library: /usr/lib64/libreadline.so
    -- Include dir is: /usr/include
    -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
    -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6") 
    -- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
    -- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
    -- Found git binary : /usr/bin/git
    
    * TrinityCore revision   : 7e01ac23db0d 2013-06-22 17:24:23 +0200 (master branch)
    * TrinityCore buildtype  : Release
    
    * Install core to        : /home/trinity/server
    * Install libraries to   : /home/trinity/server/lib
    * Install configs to     : /home/trinity/server/etc
    
    * Build world/auth       : Yes (default)
    * Build with scripts     : Yes (default)
    * Build map/vmap tools   : No  (default)
    * Build core w/PCH       : Yes (default)
    * Build scripts w/PCH    : Yes (default)
    * Show compile-warnings  : No  (default)
    * Use coreside debug     : No  (default)
    * Use GIT revision hash  : Yes
    
    -- SCRIPT PREPARATIONS
      -> Prepared: Spells
      -> Prepared: Commands
      -> Prepared: Examples
      -> Prepared: Custom
      -> Prepared: World
      -> Prepared: Outdoor PVP Zones
      -> Prepared: Eastern Kingdoms
      -> Prepared: Kalimdor
      -> Prepared: Outland
      -> Prepared: Northrend
      -> Prepared: Events
    -- SCRIPT PREPARATION COMPLETE
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/trinity/TrinityCore/build
    
    

    any tips / hints for me?

     

    Thank you.

     

    Best regards, kc

     

     

     

×
×
  • Create New...