Code:
mkdir mangos335 && cd mangos335 && git clone git://github.com/mangostwo/server.git && cd server && git clone git://github.com/mangostwo/scripts.git src/bindings/ScriptDev2 && git apply src/bindings/ScriptDev2/patches/MaNGOS-*-ScriptDev2.patch && mkdir objdir && cd objdir && cmake .. -DPREFIX=/opt/mangos-server335 && make && make install && cd ~/mangos335 && git clone git://github.com/mangostwo/database.git
Code:
root@local:~/mangos/build# cmake .. -DPREFIX=/opt/mangos-server335
-- 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 64-bit platform.
-- Found Git: /usr/bin/git
This script builds the MaNGOS server.
Options that can be used in order to configure the process:
CMAKE_INSTALL_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 -DCMAKE_INSTALL_PREFIX=/opt/mangos
CMake Error at CMakeLists.txt:124 (message):
The parameter PREFIX has been removed. Please re-run CMake and use
CMAKE_INSTALL_PREFIX instead to define your installation location!
-- Configuring incomplete, errors occurred!
Hab es nebenbei auf einen Frischen vServer versucht hin zu bekommen und dort schleicht sich auch der gleiche Fehler ein:
Code:
root@38129:~/mangos335# mkdir mangos335 && cd mangos335 && git clone git://github.com/mangostwo/server.git && cd server && git clone git://github.com/mangostwo/scripts.git src/bindings/ScriptDev2 && git apply src/bindings/ScriptDev2/patches/MaNGOS-*-ScriptDev2.patch && mkdir objdir && cd objdir && cmake .. -DPREFIX=/opt/mangos-server335 && make && make install && cd ~/mangos335 && git clone git://github.com/mangostwo/database.git
Cloning into server...
remote: Counting objects: 80168, done.
remote: Compressing objects: 100% (14203/14203), done.
remote: Total 80168 (delta 66571), reused 79415 (delta 65818)
Receiving objects: 100% (80168/80168), 47.85 MiB | 4.17 MiB/s, done.
Resolving deltas: 100% (66571/66571), done.
Cloning into src/bindings/ScriptDev2...
remote: Counting objects: 49799, done.
remote: Compressing objects: 100% (8720/8720), done.
remote: Total 49799 (delta 39591), reused 49516 (delta 39308)
Receiving objects: 100% (49799/49799), 10.69 MiB | 2.87 MiB/s, done.
Resolving deltas: 100% (39591/39591), done.
-- 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 64-bit platform.
-- Found Git: /usr/bin/git
This script builds the MaNGOS server.
Options that can be used in order to configure the process:
CMAKE_INSTALL_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 -DCMAKE_INSTALL_PREFIX=/opt/mangos
CMake Error at CMakeLists.txt:108 (message):
The parameter PREFIX has been removed. Please re-run CMake and use
CMAKE_INSTALL_PREFIX instead to define your installation location!
-- Configuring incomplete, errors occurred!






