Jump to content
TrinityCore

dhr

Plebs
  • Posts

    3
  • Joined

  • Last visited

Posts posted by dhr

  1. Greetings Folks,

    I'm having an issue with a fresh install of Debian.  Trying to build the 3.3.5 branch.

    I originally posted a reply to http://community.trinitycore.org/topic/11771-error-to-compile-on-linux-debian-7/ however, I believe this is the proper place for build errors.  It was nice to know that someone else was getting the same error.

    • Debian:     7.8
    • Boost:     1.49.0.1
    • MySQL:     5.5.44
    • OpenSSL: 1.0.1
    • CMake:     2.8.9-1
    • GCC:     4.7.2-1
    • ZLib:     1.2.7

    CMake output looks okay from what I can see.

    cmake ../ -DCMAKE_INSTALL_PREFIX=/opt/TrinityCore/server -DCONF_DIR=/opt/TrinityCore/server/etc -DLIBSDIR=/opt/TrinityCore/server/lib -DTOOLS=1 -DWITH_WARNINGS=1

    -- The C compiler identification is GNU 4.7.2
    -- The CXX compiler identification is GNU 4.7.2
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- 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: Configuring uninstall target
    -- UNIX: Created uninstall target
    -- UNIX: Detected compiler: /usr/bin/gcc
    -- GCC: Enabled c++11 support
    -- GCC: Enabled C99 support
    -- GCC: SFMT enabled, SSE2 flags forced
    -- GCC: All warnings enabled
    -- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so
    -- Found OpenSSL headers: /usr/include
    -- 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
    -- Boost version: 1.49.0
    -- Found the following Boost libraries:
    --   system
    --   filesystem
    --   thread
    --   program_options
    --   iostreams
    -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
    -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed
    -- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so
    -- Include dir is: /usr/include
    -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.7")
    -- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
    -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so
    -- Looking for BZ2_bzCompressInit in /usr/lib/x86_64-linux-gnu/libbz2.so - found
    -- Found git binary : /usr/bin/git
    
    * TrinityCore revision   : 30fc4f9f63b7 2015-08-17 23:27:42 +0200 (3.3.5 branch)
    * TrinityCore buildtype  : Release
    
    * Install core to        : /opt/TrinityCore/server
    * Install libraries to   : /opt/TrinityCore/server/lib
    * Install configs to     : /opt/TrinityCore/server/etc
    
    * Build world/auth       : Yes (default)
    * Build with scripts     : Yes (default)
    * Build map/vmap tools   : Yes
    * Build core w/PCH       : Yes (default)
    * Build scripts w/PCH    : Yes (default)
    * Show all warnings      : Yes
    * Use coreside debug     : No  (default)
    * Show source tree       : No  (default)
    * Use GIT revision hash  : Yes
    
    -- Looking for open
    -- Looking for open - found
    -- Using mysql-config: /usr/bin/mysql_config
    -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so
    -- Found MySQL headers: /usr/include/mysql
    -- Found MySQL executable: /usr/bin/mysql
    -- SCRIPT PREPARATIONS
      -> Prepared: Spells
      -> Prepared: Commands
      -> Prepared: Custom
      -> Prepared: World
      -> Prepared: Outdoor PVP Zones
      -> Prepared: Eastern Kingdoms
      -> Prepared: Kalimdor
      -> Prepared: Outland
      -> Prepared: Northrend
      -> Prepared: Events
      -> Prepared: Pet
    -- SCRIPT PREPARATION COMPLETE
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/dhr/TrinityCore/build

     

    make output:

    Scanning dependencies of target common
    [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Common.cpp.o
    [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Maps/TileAssembler.cpp.o
    [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Maps/MapTree.cpp.o
    In file included from /home/dhr/TrinityCore/src/common/Logging/Log.h:23:0,
                     from /home/dhr/TrinityCore/src/common/Collision/Maps/MapTree.cpp:23:
    /home/dhr/TrinityCore/src/common/Logging/Appender.h:129:30: error: ‘std::length_error::length_error’
    compilation terminated due to -Wfatal-errors.
    make[2]: *** [src/common/CMakeFiles/common.dir/Collision/Maps/MapTree.cpp.o] Error 1
    make[1]: *** [src/common/CMakeFiles/common.dir/all] Error 2
    make: *** [all] Error 2

     

    Thanks very much!

     

    ---------------------------------------------------------

    I've just tried with Debian 8.1 and did not have any issues.  Not sure, but at least it's working.

×
×
  • Create New...