Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > World of Warcraft > WoW Private Server
You last visited: Today at 10:53

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Mangos cmake Problem / Error

Discussion on Mangos cmake Problem / Error within the WoW Private Server forum part of the World of Warcraft category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 4
Received Thanks: 0
Mangos cmake Problem / Error

ich hab anhand der Befehlsreihe versucht einen 3.3.5a Server auf zu setzen.

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
wobei ich diesen fehler erhalte:

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!
kann mir einer ne Lösungs Idee geben oder einen denk Anstoß weil ich bin mit mein Latein am Ende.


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!
DJ TWEETY is offline  
Old 03/10/2013, 08:54   #2
 
Thainification's Avatar
 
elite*gold: 50
Join Date: Nov 2011
Posts: 2,743
Received Thanks: 198
Quote:
cmake .. -DPREFIX=/opt/mangos-server335
Quote:
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!
Zitat vom Mangos Dev:
Quote:
sorry, if i did not make myself clear.

if you already have an existing installation and already have compiled it before
go to your build directory and run this command

cmake -DPREFIX= -DCMAKE_INSTALL_PREFIX=/path/to/your/mangos/install path/to/your/source

so for example if you have your source in ~/mangos-wotlk/ and want to build in ~/mangos-wotlk/_build and install it to ~/mangos-wotlk/_install, you might do the following (using relative paths here, you may also use absolute paths):

cmake -DPREFIX= -DCMAKE_INSTALL_PREFIX=../_install ..

if this is a fresh clone
then just do the same as above but only use CMAKE_INSTALL_PREFIX and completely leave PREFIX away.
also, you don't need to (but of course can, if you want to) use external ACE. you can just use the ACE delivered with MaNGOS, it compiles just fine.
Thainification is offline  
Old 03/10/2013, 13:51   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 4
Received Thanks: 0
Dank dir es lief gut auf 2 vServern auf einen jeodhc kann dieser fehler

Quote:
[ 96%] Building CXX object src/game/CMakeFiles/game.dir/TradeHandler.cpp.o
[ 96%] Building CXX object src/game/CMakeFiles/game.dir/Transports.cpp.o
[ 96%] Building CXX object src/game/CMakeFiles/game.dir/TransportSystem.cpp.o
[ 96%] Building CXX object src/game/CMakeFiles/game.dir/Unit.cpp.o
/root/mangos335/server/src/game/Unit.cpp: In member function 'void Unit::SetSpeedRate(UnitMoveType, float, bool)':
/root/mangos335/server/src/game/Unit.cpp:8603: error: parameter may not have variably modified type 'Opcodes [(((long unsigned int)(((long int)mtype) + -0x00000000000000001)) + 1)][1]'
/root/mangos335/server/src/game/Unit.cpp:8615: error: parameter may not have variably modified type 'Opcodes [(((long unsigned int)(((long int)mtype) + -0x00000000000000001)) + 1)][0]'
make[2]: *** [src/game/CMakeFiles/game.dir/Unit.cpp.o] Error 1
make[1]: *** [src/game/CMakeFiles/game.dir/all] Error 2
make: *** [all] Error 2
DJ TWEETY is offline  
Reply


Similar Threads Similar Threads
TrinityCore CMAKE
02/14/2012 - WoW Private Server - 4 Replies
Hi, wollte TrinityCore kompilieren nach dem Tut von Crazy aber wenn ich bei dem Punkt mit CMAKE bin bekomm ich immer die Error. CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 10 Win64". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Could not find cmake module file:C:/Trinity/Kompilieren/CMakeFiles/CMakeCCompi ler.cmake CMake Error: Could not find cmake module...
2.4.3 Mangos Error!
12/12/2010 - WoW Private Server - 8 Replies
Hallo, habe mir jetzt ein youtube tut angeschaut und hab alles gemacht wie es im video beschrieben ist, nachdem ich - start_mysql -start_apache gestartet habe, hab ich
Prob mit Mangos Session Error
04/02/2010 - WoW Private Server - 6 Replies
Immer wenn ich oder einer von meinem Team sich einloggt taucht dieser error in der konsole auf CMSG_LFD_PLAYER_LOCK_INFO_REQUEST (0x036E ) auf dem screenie hier seht ihr welches mangos build ich benutze welche wow rev ich habe und nochmal deutlich den error :x hoffe mir kann wer helfen. http://img225.imageshack.us/img225/1862/error1s.j pg ps: der server is komplett neu aufgesetzt, also keine custom npcs etc.
Mangos Statscount error
01/10/2010 - WoW Private Server - 7 Replies
Hallo Also ich habe folgendes Problem: Immer wenn ich etwas in die mangos datenbank rein batchen will kommt dieser error (1054 - Unknown column 'StatsCount' in 'field list'):confused: Ich mache das über Navicat. Hoffe auf schnelle Antwort
Mangos Error
01/04/2010 - WoW Private Server - 6 Replies
Hallo Leute, ich hab ein kleines problem! Wie der Name des themas schon sagt kommt bei mir ein error wenn ich die Mangos.exe starte, nehmlich kommt, nach einiger zeit folgende Zeile: Habe alle SQLs von der Mangos version ganz normal eingebatcht! Brauchte dringend hilfe! Danke im Vorraus!



All times are GMT +1. The time now is 10:53.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.