User Tag List

Page 2 of 2 FirstFirst 1 2
Results 8 to 13 of 13

Thread: How To Compile Trinity Core On CentOS

  1. #8
    Emulation Addict
    Join Date
    Apr 2015
    Posts
    3
    XP
    929
    Level
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hi,

    I'm having a problem!

    Code:
    [root@******** build]# cmake ../ -DPREFIX=/home/`echo $USER`/server
    -- 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
    -- UNIX: Detected compiler: /usr/bin/cc
    -- GCC: Enabled c++11 support
    -- GCC: Enabled C99 support
    -- GCC: SFMT enabled, SSE2 flags forced
    -- Found OpenSSL library: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
    -- Found OpenSSL headers: /usr/include
    CMake Error at cmake/macros/ConfigureBoost.cmake:28 (find_package):
      By not providing "FindBoost.cmake" in CMAKE_MODULE_PATH this project has
      asked CMake to find a package configuration file provided by "Boost", but
      CMake did not find one.
    
      Could not find a package configuration file provided by "Boost" (requested
      version 1.49) with any of the following names:
    
        BoostConfig.cmake
        boost-config.cmake
    
      Add the installation prefix of "Boost" to CMAKE_PREFIX_PATH or set
      "Boost_DIR" to a directory containing one of the above files.  If "Boost"
      provides a separate development package or SDK, be sure it has been
      installed.
    Call Stack (most recent call first):
      CMakeLists.txt:62 (include)
    
    
    -- Configuring incomplete, errors occurred!
    I have CENTOS 7.

  2. #9
    Exalted Member Sylica's Avatar
    Join Date
    Aug 2014
    Location
    My Own Little World
    Posts
    130
    XP
    1,264,611
    Level
    196
    Thanks
    9
    Thanked 27 Times in 20 Posts
    Make sure you have Boost installed on your host. That's what your currently missing.
    Achievements:
    1 year registered Level XL Level C

    Firestorm Freelance 2016 - 2017

    Those you help, will help you back in return. --Sylica

  3. The Following User Says Thank You to Sylica For This Useful Post:


  4. #10
    Emulation Addict
    Join Date
    Apr 2015
    Posts
    3
    XP
    929
    Level
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks Sylica, I managed to get it to work.

    Now I am presented with another error, and it's harder to understand for me...

    Code:
    c++: internal compiler error: Segmentation fault (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://bugzilla.redhat.com/bugzilla> for instructions.
    make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o] Error 4
    make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
    make: *** [all] Error 2
    Please tell me this is easy to solve...

  5. #11
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,871
    XP
    13,718
    Level
    35
    Thanks
    95
    Thanked 595 Times in 421 Posts
    Quote Originally Posted by hsoares View Post
    Thanks Sylica, I managed to get it to work.

    Now I am presented with another error, and it's harder to understand for me...

    Code:
    c++: internal compiler error: Segmentation fault (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://bugzilla.redhat.com/bugzilla> for instructions.
    make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o] Error 4
    make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
    make: *** [all] Error 2
    Please tell me this is easy to solve...
    Try retry compiling. (a few times)
    This happens often on Travis and you can fix it just by retrying.
    However the cause might be different and this doesnt help at all.
    Could be that it succeeds with using 1 core.

    This is not a fix though .. maybe gcc is having issues .. hmm.

  6. #12
    Exalted Member Sylica's Avatar
    Join Date
    Aug 2014
    Location
    My Own Little World
    Posts
    130
    XP
    1,264,611
    Level
    196
    Thanks
    9
    Thanked 27 Times in 20 Posts
    Quote Originally Posted by hsoares View Post
    Thanks Sylica, I managed to get it to work.

    Now I am presented with another error, and it's harder to understand for me...

    Code:
    c++: internal compiler error: Segmentation fault (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <http://bugzilla.redhat.com/bugzilla> for instructions.
    make[2]: *** [src/server/shared/CMakeFiles/shared.dir/Configuration/Config.cpp.o] Error 4
    make[1]: *** [src/server/shared/CMakeFiles/shared.dir/all] Error 2
    make: *** [all] Error 2
    Please tell me this is easy to solve...
    Looks to be a issue with gcc/g++ not being the correct version, cause of the cc1plus Segmentation Error. I've gotten this error before, and its kinda easy to fix Debian/Ubuntu side. Not sure about Centos, sense I only run Centos for web based servers.

    Double check your gcc version, and post it here, maybe I can try to help you out.
    Achievements:
    1 year registered Level XL Level C

    Firestorm Freelance 2016 - 2017

    Those you help, will help you back in return. --Sylica

  7. #13
    Lurking Member
    Join Date
    Dec 2016
    Posts
    1
    XP
    3
    Level
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how

    how would i go about starting the mysql server without webmin?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •