Xirad
-
Posts
3 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Xirad
-
-
I'm sorry to be a pain but ever since the switch to cmake I can no longer successfully build. I've reviewed the Linux build Wiki's and search the forums and I can't find a solution.
I'm on CentOS 5.4 64bit. I've successfully, repeatedly built MaNGOS prior to the cmake switch.
This is a from-scratch build - no patches.
mkdir build
cd build
cmake -DPREFIX=/opt/mangos ..
make -j3
make install
With make install I get:
[wayne@wwwsrv build]$ make install
[ 7%] Built target genrev
[ 7%] Built target revision.h
[ 7%] Built target TBB_Project
[ 7%] Built target ACE_Project
[ 7%] Built target g3dlite
[ 7%] Built target gsoap
[ 7%] Building CXX object src/bindings/ScriptDev2/CMakeFiles/mangosscript.dir/system/system.cpp.o
In file included from /home/wayne/mangos/src/shared/Common.h:55,
from /home/wayne/mangos/src/bindings/ScriptDev2/include/../ScriptMgr.h:8,
from /home/wayne/mangos/src/bindings/ScriptDev2/include/precompiled.h:8,
from /home/wayne/mangos/src/bindings/ScriptDev2/system/system.cpp:5:
/home/wayne/mangos/src/framework/Platform/Define.h:24:29: error: ace/Basic_Types.h: No such file or directory
/home/wayne/mangos/src/framework/Platform/Define.h:25:35: error: ace/Default_Constants.h: No such file or directory
/home/wayne/mangos/src/framework/Platform/Define.h:26:29: error: ace/OS_NS_dlfcn.h: No such file or directory
/home/wayne/mangos/src/framework/Platform/Define.h:27:28: error: ace/ACE_export.h: No such file or directory
In file included from /home/wayne/mangos/src/shared/Common.h:88,
from /home/wayne/mangos/src/bindings/ScriptDev2/include/../ScriptMgr.h:8,
from /home/wayne/mangos/src/bindings/ScriptDev2/include/precompiled.h:8,
from /home/wayne/mangos/src/bindings/ScriptDev2/system/system.cpp:5:
/home/wayne/mangos/src/shared/LockedQueue.h:22:25: error: ace/Guard_T.h: No such file or directory
/home/wayne/mangos/src/shared/LockedQueue.h:23:30: error: ace/Thread_Mutex.h: No such file or directory
and it just goes on and on.
From my home directory "/home/wayne" I do a find for those files, like the ace/Basic_Types.h and it's under: ./mangos/dep/ACE_wrappers/ace/Basic_Types.h
Why is make install blowing up?
Any suggestions would be greatly appreciated
Xirad
-
Which is better to use, this form or the Wiki at "http://getmangos.eu/wiki/Compile_MaNGOS_On_Ubuntu". I notice they are a little different and had a problem with the wiki. I got to the end and started the realmd file which worked fine but the worldd file errored. I don't know if there is a newer one than what is listed in the wiki when I download the database.
Which is better to use?
I'm compiling on Centos 5.4 and hands down this has been the best guide so far.
Well done Phelpsben, and thanks!
True it is a pity the Wiki just doesn't seem to get updated.
X.
New build system used by MaNGOS Master/One/Zero
in OldAnnouncements & news
Posted
This time it worked!
I wiped my mangos dir and did a whole new svn of the source, etc.
This time though I used the sample cmake line you gave me except the ACE directive. I told it -DACE_USE_EXTERNAL=0
So maybe in some instances you need to explicitly tell it to use the internal ACE.
The cmake I'm using is 2.8.4 which I had to compile from source.
Curiously doing the builds this way doesn't move all the additional stuff into your target directory like the sql scripts, etc.
Thanks!
Wayne