Jump to content

i can't compile on linux ubuntu 10.4


Recommended Posts

Posted

im on the tutorial here: http://getmangos.eu/wiki/Compile_MaNGOS_On_Linux

Steep: Compile the sources

Comand: cmake ../ -DPREFIX=/opt/mangos -DPCH=1 -DACE_USE_EXTERNAL=1 -DDEBUG=0 -DTBB_USE_EXTERNAL=0

And i get returned:

-- Detected 32-bit platform.

This script builds the MaNGOS server.

Options that can be used in order to configure the process:

PREFIX: Path where the server should be installed to

PCH: Use precompiled headers

DEBUG: Debug mode

To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.

For example: cmake .. -DDEBUG=1 -DPREFIX=/opt/mangos

CMake Error at CMakeLists.txt:162 (message):

This project requires ACE installed when ACE_USE_EXTERNAL is set. Please

download the ACE Micro Release Kit from http://download.dre.vanderbilt.edu/

and install it. If this script didn't find ACE and it was correctly

installed please set ACE_ROOT to the correct path.

-- Configuring incomplete, errors occurred!

Posted

either install ace or change ACE_USE_EXTERNAL=1 to ACE_USE_EXTERNAL=0

ACE_USE_EXTERNAL=1 is only used if you install ACE yourself ( most do not do that as the ACE that comes with mangos source is good enough )

Posted

Ok i disabled ACE.., and now i get this:

Command: cmake ../ -DPREFIX=/opt/mangos -DPCH=1 -DACE_USE_EXTERNAL=0 -DDEBUG=0 -DTBB_USE_EXTERNAL=0

return:

-- 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.

-- Found Git: /usr/bin/git

This script builds the MaNGOS server.

Options that can be used in order to configure the process:

PREFIX: Path where the server should be installed to

PCH: Use precompiled headers

DEBUG: Debug mode

To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.

For example: cmake .. -DDEBUG=1 -DPREFIX=/opt/mangos

-- Using mysql-config: /usr/bin/mysql_config

-- Found MySQL library: /usr/lib/libmysqlclient_r.so

-- Found MySQL headers: /usr/include/mysql

-- Found OpenSSL library: /usr/lib/libssl.so

-- Found OpenSSL headers: /usr/include/openssl

-- Found ZLIB: /usr/lib/libz.so

MaNGOS-Core revision : d9676f2727e4dd7f8e9039cbf186565e00478ecc

Install server to : /opt/mangos

Use PCH : Yes

Build in debug-mode : No (default)

-- Configuring done

-- Generating done

-- Build files have been written to: /root/mangos/objdir

But in directory /opt/mangos is nothing :S

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use