Error Al Compilar

Alguno podria decirme cual es el error, respete todo los pasos para compilar en linux, pero a la hora del cmake me tira ese error.

Saludos

– The C compiler identification is GNU

– The CXX compiler identification is GNU

– 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 32-bit platform

– UNIX: Using default configuration directory

– UNIX: Using default library directory

– UNIX: Configuring uninstall target

– UNIX: Created uninstall target

– GCC: SSE2 flags forced

– GCC: All warnings enabled

– Found ACE library: /usr/lib/libACE.so

– Found ACE headers: /usr/include

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):

Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)

Call Stack (most recent call first):

/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)

cmake/macros/FindOpenSSL.cmake:175 (find_package_handle_standard_args)

CMakeLists.txt:49 (find_package)

– Configuring incomplete, errors occurred!

Instala las OpenSSL buenas, parece que no has instalado las correspondientes.

Hola, bien e instalado todas las dependencias librerias y demas que requiere ubuntu

e clonado el git

en entrado en la carpeta del git

y e echo el “mkdir Build” “Cd Build”
al momento de hacer CMake Salta el siguiente error:

root@WoWServer:~/TrinityCore-4.3.4/build# cmake …/ -DPREFIX=/home/echo $USER/server -DTOOLS=1
– Detected 32-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/lib/i386-linux-gnu/libssl.so;/usr/lib/i386-linux-gnu/libcrypto.so
– Found OpenSSL headers: /usr/include
CMake Error at cmake/macros/FindBoost.cmake:1115 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost’s headers.
Call Stack (most recent call first):
cmake/macros/ConfigureBoost.cmake:28 (find_package)
CMakeLists.txt:60 (include)

– Using mysql-config: /usr/bin/mysql_config
– Found MySQL library: /usr/lib/i386-linux-gnu/libmysqlclient_r.so
– Found MySQL headers: /usr/include/mysql
– Found Readline library: /usr/lib/i386-linux-gnu/libreadline.so
– Include dir is: /usr/include
– Found git binary : /usr/bin/git

Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
  • TrinityCore revision : unknown 1970-01-01 00:00:00 +0000 (Archived branch)

  • TrinityCore buildtype : Release

  • Install core to : /home/root/server

  • Install libraries to : /home/root/server/lib

  • Install configs to : /home/root/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 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: The Maelstrom
→ Prepared: Events
→ Prepared: Pet
– SCRIPT PREPARATION COMPLETE

– Configuring incomplete, errors occurred!
See also “/root/TrinityCore-4.3.4/build/CMakeFiles/CMakeOutput.log”.
See also “/root/TrinityCore-4.3.4/build/CMakeFiles/CMakeError.log”.
root@WoWServer:~/TrinityCore-4.3.4/build#

me pueden ayudar ?

ontenido Archivo CMakeError.log:

Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:

The output was:
No such file or directory

Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c

The output was:
No such file or directory

Checking whether the CXX compiler is IAR using “” did not match “IAR .+ Compiler”:
Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags:

The output was:
No such file or directory

Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” failed.
Compiler: CMAKE_CXX_COMPILER-NOTFOUND
Build flags:
Id flags: -c

The output was:
No such file or directory

Checking whether the CXX compiler is IAR using “” did not match “IAR .+ Compiler”:
Determining if the pthread_create exist failed with the following output:
Change Dir: /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make “cmTryCompileExec2171087420/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec2171087420.dir/build.make CMakeFiles/cmTryCompileExec2171087420.dir/build
make[1]: Entering directory /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec2171087420.dir/CheckSymbolExists.c.o /usr/bin/cc -std=gnu99 -msse2 -mfpmath=sse -o CMakeFiles/cmTryCompileExec2171087420.dir/CheckSymbolExists.c.o -c /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec2171087420 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2171087420.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -msse2 -mfpmath=sse CMakeFiles/cmTryCompileExec2171087420.dir/CheckSymbolExists.c.o -o cmTryCompileExec2171087420 -rdynamic CMakeFiles/cmTryCompileExec2171087420.dir/CheckSymbolExists.c.o: In function main’:
CheckSymbolExists.c:(.text+0xa): undefined reference to pthread_create' collect2: error: ld returned 1 exit status make[1]: Leaving directory /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp’
make[1]: *** [cmTryCompileExec2171087420] Error 1
make: *** [cmTryCompileExec2171087420/fast] Error 2

File /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make “cmTryCompileExec1626566095/fast”
/usr/bin/make -f CMakeFiles/cmTryCompileExec1626566095.dir/build.make CMakeFiles/cmTryCompileExec1626566095.dir/build
make[1]: Entering directory /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1626566095.dir/CheckFunctionExists.c.o /usr/bin/cc -std=gnu99 -msse2 -mfpmath=sse -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec1626566095.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.8/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec1626566095 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1626566095.dir/link.txt --verbose=1 /usr/bin/cc -std=gnu99 -msse2 -mfpmath=sse -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec1626566095.dir/CheckFunctionExists.c.o -o cmTryCompileExec1626566095 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: Leaving directory /root/TrinityCore-4.3.4/build/CMakeFiles/CMakeTmp’
make[1]: *** [cmTryCompileExec1626566095] Error 1
make: *** [cmTryCompileExec1626566095/fast] Error 2

Contenido Archivo:

CmakeOutput.log

Servidor Ubuntu 14.04

Ram: 2gb

Transferencia 10TB

OpenVZ

Te falta instalar Boost Headers…

y coimo los instalo ?

me puedes decir, gracias!

http://collab.kpsn.org/display/tc/TrinityCore+Requirements#TrinityCoreRequirements-Windows

apt-get install libboost-all-dev

y

apt-get install boost-devel

esto en linea de terminal…

Gracias a todos logre solucionarlo!