Jump to content

How to compile MaNGOS on Linux ( Using GIT )


Recommended Posts

When i use this command, this is happening:

root@lizz-server:/home/lizz/mangos/mangos# git am src/bindings/ScriptDev2/patches/MaNGOS-2008-12-22-ScriptDev2.patch
Applying Signed-off-by: NoFantasy <[email protected]>
error: patch failed: src/mangosd/Makefile.am:33
error: src/mangosd/Makefile.am: patch does not apply
Patch failed at 0001.
When you have resolved this problem run "git-am --resolved".
If you would prefer to skip this patch, instead run "git-am --skip".
root@lizz-server:

How i can fix it ?

What should i type exactly ?

try git apply

Link to comment
Share on other sites

  • Replies 288
  • Created
  • Last Reply

Top Posters In This Topic

Whe i type git apply:

lizz@lizz-server:~/mangos/mangos$ git apply src/bindings/ScriptDev2/patches/MaNGOS-2008-12-22-ScriptDev2.patch
error: patch failed: src/mangosd/Makefile.am:33
error: src/mangosd/Makefile.am: patch does not apply
lizz@lizz-server:~/mangos/mangos$ 

What now thanks ?

Link to comment
Share on other sites

This git stuff is NOT working on CentOS 5.2 / were is the old way to do it svn co : ?

This guide is wordless for my !

there's been a lot of talk of whether git and mangos is fully supported in CentOS 5.2 Maybe all those people should start a discussion in General. Maybe if you describe the problem in more detail it will help to the conclusion of a solution.

Link to comment
Share on other sites

i am using mandriva new instaled distro, server 64bit.

have some problems with compile, anyone can help ?)


./shared/Database/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::DatabaseMysql()':
DatabaseMysql.cpp.text+0x1ad8): undefined reference to `mysql_server_init'
DatabaseMysql.cpp.text+0x1add): undefined reference to `mysql_thread_safe'
../shared/Database/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::escape_string(char*, char const*, unsigned long)':
DatabaseMysql.cpp.text+0x79): undefined reference to `mysql_real_escape_string'
../shared/Database/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::ThreadEnd()':
DatabaseMysql.cpp.text+0x241): undefined reference to `mysql_thread_end'
../shared/Database/libmangosdatabase.a(DatabaseMysql.o): In function `DatabaseMysql::ThreadStart()':
DatabaseMysql.cpp.text+0x251): undefined reference to `mysql_thread_init'
../shared/Database/libmangosdatabase.a(QueryResultMysql.o): In function `QueryResultMysql::EndQuery()':
QueryResultMysql.cpp.text+0x10b): undefined reference to `mysql_free_result'
../shared/Database/libmangosdatabase.a(QueryResultMysql.o): In function `QueryResultMysql::NextRow()':
QueryResultMysql.cpp.text+0x133): undefined reference to `mysql_fetch_row'
../shared/Database/libmangosdatabase.a(QueryResultMysql.o): In function `QueryResultMysql::QueryResultMysql(st_mysql_res*, unsigned long, unsigned int)':
QueryResultMysql.cpp.text+0x381): undefined reference to `mysql_fetch_fields'
../shared/Database/libmangosdatabase.a(QueryResultMysql.o): In function `QueryResultMysql::QueryResultMysql(st_mysql_res*, unsigned long, unsigned int)':
QueryResultMysql.cpp.text+0x6e1): undefined reference to `mysql_fetch_fields'
../shared/Database/libmangosdatabase.a(SqlDelayThread.o): In function `SqlDelayThread::run()':
SqlDelayThread.cpp.text+0x1eb): undefined reference to `mysql_thread_init'
SqlDelayThread.cpp.text+0x281): undefined reference to `mysql_thread_end'
collect2: ld returned 1 exit status
make[2]: *** [mangos-realmd] Error 1

Link to comment
Share on other sites

Well, this it's NOT working on CentOS 5.2 ::: this GIT is no good, WERE is the old "" svn co "" Trunks ?

This whate i get :

[david@DesktopPC mangos]$ autoreconf --install --force

Putting files in AC_CONFIG_AUX_DIR, `aux_config'.

configure.ac:217: error: possibly undefined macro: AC_TYPE_UINT64_T

If this token and others are legitimate, please use m4_pattern_allow.

See the Autoconf documentation.

autoreconf: /usr/bin/autoconf failed with exit status: 1

Anyone here whats wrong here ?

Thanks.

Link to comment
Share on other sites

I have this error :mad::mad::mad:

mangos > git apply src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch 
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:24: trailing whitespace.                            
  src/bindings/ScriptDev2/Makefile                                                                                    
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:25: trailing whitespace.                            
  src/bindings/ScriptDev2/scriptdev2.conf.dist                                                                        
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:26: trailing whitespace.                            
  src/bindings/ScriptDev2/config.h                                                                                    
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:27: trailing whitespace.                            
  src/bindings/ScriptDev2/sql/Makefile                                                                                
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:28: trailing whitespace.                            
  src/bindings/ScriptDev2/sql/Updates/Makefile                                                                        
fatal: corrupt patch at line 30

Link to comment
Share on other sites

I have this error :mad::mad::mad:

mangos > git apply src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch 
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:24: trailing whitespace.                            
  src/bindings/ScriptDev2/Makefile                                                                                    
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:25: trailing whitespace.                            
  src/bindings/ScriptDev2/scriptdev2.conf.dist                                                                        
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:26: trailing whitespace.                            
  src/bindings/ScriptDev2/config.h                                                                                    
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:27: trailing whitespace.                            
  src/bindings/ScriptDev2/sql/Makefile                                                                                
src/bindings/ScriptDev2/patches/MaNGOS-2008-10-28-ScriptDev2.patch:28: trailing whitespace.                            
  src/bindings/ScriptDev2/sql/Updates/Makefile                                                                        
fatal: corrupt patch at line 30

not a mangos error, SD2 error.

Link to comment
Share on other sites

Found compilation error...

../../../src/game/Map.cpp:68:39: warning: multi-character character constant
../../../src/game/Map.cpp:69:39: warning: multi-character character constant
../../../src/game/Map.cpp:1085:39: warning: multi-character character constant
../../../src/game/Map.cpp:1086:39: warning: multi-character character constant
../../../src/game/Map.cpp:1137:33: warning: multi-character character constant
../../../src/game/Map.cpp:1154:33: warning: multi-character character constant
../../../src/game/Map.cpp:1197:33: warning: multi-character character constant

Opensuse 11.0 rev 7517

Link to comment
Share on other sites

My game won't start , i know i'm noob but i want to learn :P

root@ns /opt/mangos/bin ./mangos-worldd
ThreadQueue created
MaNGOS/0.13.0 (* * Revision 7553 - *) for Unix (little-endian) [world-daemon]
<Ctrl-C> to stop.


MM   MM         MM   MM  MMMMM   MMMM   MMMMM
MM   MM         MM   MM MMM MMM MM  MM MMM MMM
MMM MMM         MMM  MM MMM MMM MM  MM MMM
MM M MM         MMMM MM MMM     MM  MM  MMM
MM M MM  MMMMM  MM MMMM MMM     MM  MM   MMM
MM M MM M   MMM MM  MMM MMMMMMM MM  MM    MMM
MM   MM     MMM MM   MM MM  MMM MM  MM     MMM
MM   MM MMMMMMM MM   MM MMM MMM MM  MM MMM MMM
MM   MM MM  MMM MM   MM  MMMMMM  MMMM   MMMMM
       MM  MMM [url]http://getmangos.eu[/url]
       MMMMMM


Using configuration file /opt/mangos/etc/mangosd.conf.
World Database: 127.0.0.1;3306;root;teste;mangos
User thread created.
Reference thread created.
1 reference-thread added.
pollPendingThreads()
1 user-thread added.
Thread starting...
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.0.51a
MySQL server ver: 5.0.51a-24
AUTOCOMMIT SUCCESSFULLY SET TO 1
Character Database: 127.0.0.1;3306;root;teste;characters
User thread created.
pollPendingThreads()
1 user-thread added.
Thread starting...
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.0.51a
MySQL server ver: 5.0.51a-24
AUTOCOMMIT SUCCESSFULLY SET TO 1
Login Database: 127.0.0.1;3306;root;teste;realmd
User thread created.
pollPendingThreads()
1 user-thread added.
Thread starting...
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.0.51a
MySQL server ver: 5.0.51a-24
AUTOCOMMIT SUCCESSFULLY SET TO 1
Realm running as realm ID 1
Using Mangos default database.
Using DataDir ./
WORLD: VMap support included. LineOfSight:0, getHeight:0
WORLD: VMap data directory is: ./vmaps
WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds
Check existing of map file './maps/0004331.map': not exist!
Correct *.map files not found in path './maps' or *.vmap/*vmdir files in './vmaps'. Please place *.map/*.vmap/*.vmdir files in appropriate directories or correct the DataDir value in the mangosd.conf file.
Thread joining...
Thread exiting...
insertPendingThread()
1 pending-thread added.
Thread joining...
Thread exiting...
insertPendingThread()
1 pending-thread added.
Thread joining...
Thread exiting...
insertPendingThread()
1 pending-thread added.
ThreadQueue waiting on remaining threads...
pollUserThreads()
pollPendingThreads()
Thread destroyed.
1 pending-thread reclaimed.
Thread destroyed.
1 pending-thread reclaimed.
Thread destroyed.
1 pending-thread reclaimed.
pollReferenceThreads()
Thread destroyed.
1 reference-thread reclaimed.
ThreadQueue destroyed


i don't know where is vmap tool .

Link to comment
Share on other sites

Please Help me, I cant start server in UBUNTU 8.04

got error "Segmentation fault"

http://help.ubuntu.com/

root@mail:~# mc

root@mail:/opt/mangos/bin# ./mangos-worldd

ThreadQueue created

MaNGOS/0.13.0 (* * Revision 7559 - *) for Unix (little-endian) [world-daemon]

<Ctrl-C> to stop.

MM MM MM MM MMMMM MMMM MMMMM

MM MM MM MM MMM MMM MM MM MMM MMM

MMM MMM MMM MM MMM MMM MM MM MMM

MM M MM MMMM MM MMM MM MM MMM

MM M MM MMMMM MM MMMM MMM MM MM MMM

MM M MM M MMM MM MMM MMMMMMM MM MM MMM

MM MM MMM MM MM MM MMM MM MM MMM

MM MM MMMMMMM MM MM MMM MMM MM MM MMM MMM

MM MM MM MMM MM MM MMMMMM MMMM MMMMM

MM MMM http://getmangos.eu

MMMMMM

Using configuration file /opt/mangos/etc/mangosd.conf.

World Database: 127.0.0.1;3306;root;1912968;Mangos

User thread created.

Reference thread created.

1 reference-thread added.

pollPendingThreads()

1 user-thread added.

Thread starting...

Connected to MySQL database at 127.0.0.1

MySQL client library: 5.0.51a

MySQL server ver: 5.0.51a-3ubuntu5.4

AUTOCOMMIT SUCCESSFULLY SET TO 1

Character Database: 127.0.0.1;3306;root;1912968;Characters

User thread created.

pollPendingThreads()

1 user-thread added.

Thread starting...

Connected to MySQL database at 127.0.0.1

MySQL client library: 5.0.51a

MySQL server ver: 5.0.51a-3ubuntu5.4

AUTOCOMMIT SUCCESSFULLY SET TO 1

Login Database: 127.0.0.1;3306;root;1912968;Realmd

User thread created.

pollPendingThreads()

1 user-thread added.

Thread starting...

Connected to MySQL database at 127.0.0.1

MySQL client library: 5.0.51a

MySQL server ver: 5.0.51a-3ubuntu5.4

AUTOCOMMIT SUCCESSFULLY SET TO 1

Realm running as realm ID 1

Using YTDB_098_R479_rev7483

Using DataDir /opt/mangos/data/

WORLD: VMap support included. LineOfSight:0, getHeight:0

WORLD: VMap data directory is: /opt/mangos/data/vmaps

WORLD: VMap config keys are: vmap.enableLOS, vmap.enableHeight, vmap.ignoreMapIds, vmap.ignoreSpellIds

Loading MaNGOS strings...

[**************************************************] 100%

>> Loaded 756 MaNGOS strings from table mangos_string

Initialize data stores...

[**************************************************] 100%

>> Initialized 75 data stores

Using enUS DBC Locale as default. All available DBC locales: enUS

Loading Script Names...

[**************************************************] 100%

>> Loaded 679 Script Names

Loading InstanceTemplate...

[**************************************************] 100%

>> Loaded 119 Instance Template definitions

Loading SkillLineAbilityMultiMap Data...

[**************************************************] 100%

>> Loaded 9843 SkillLineAbility MultiMap Data

Cleaning up instances...

[**************************************************] 100%

>> Initialized 0 instances

Packing instances...

[>> Instance numbers remapped, next instance id is 1 100%

Loading Localization strings...

[**************************************************] 100%

>> Loaded 0 creature locale strings. DB table `locales_creature` is empty.

[**************************************************] 100%

>> Loaded 0 gameobject locale strings. DB table `locales_gameobject` is empty.

[**************************************************] 100%

>> Loaded 0 Item locale strings. DB table `locales_item` is empty.

[**************************************************] 100%

>> Loaded 0 Quest locale strings. DB table `locales_quest` is empty.

[**************************************************] 100%

>> Loaded 0 Quest locale strings. DB table `locales_npc_text` is empty.

[**************************************************] 100%

>> Loaded 0 PageText locale strings. DB table `locales_page_text` is empty.

[**************************************************] 100%

>> Loaded 0 npc_option locale strings. DB table `locales_npc_option` is empty.

[**************************************************] 100%

>> Loaded 0 points_of_interest locale strings. DB table `locales_points_of_interest` is empty.

>>> Localization strings loaded

Loading Page Texts...

[**************************************************] 100%

>> Loaded 1783 page texts

Loading Game Object Templates...

[**************************************************] 100%

>> Loaded 18500 game object templates

Loading Spell Chain Data...

[**************************************************] 100%

>> Loaded 2334 spell chain records

Loading Spell Elixir types...

[**************************************************] 100%

>> Loaded 99 spell elixir definitions

Loading Spell Learn Skills...

[**************************************************] 100%

>> Loaded 97 Spell Learn Skills from DBC

Loading Spell Learn Spells...

[**************************************************] 100%

>> Loaded 35 spell learn spells + 545 found in DBC

Loading Spell Proc Event conditions...

[**************************************************] 100%

>> Loaded 847 extra spell proc event conditions +12 custom

Loading Spell Bonus Data...

[**************************************************] 100%

>> Loaded 0 extra spell bonus data

Loading Aggro Spells Definitions...

[**************************************************] 100%

>> Loaded 97 aggro generating spells

Loading NPC Texts...

[**************************************************] 100%

>> Loaded 5245 npc texts

Loading Item Random Enchantments Table...

[**************************************************] 100%

>> Loaded 28635 Item Enchantment definitions

Loading Items...

[**************************************************] 100%

>> Loaded 31984 item prototypes

Loading Item Texts...

[**************************************************] 100%

>> Loaded 0 item pages

Loading Creature Model Based Info Data...

[**************************************************] 100%

>> Loaded 22712 creature model based info

Loading Equipment templates...

[**************************************************] 100%

>> Loaded 3773 equipment template

Loading Creature templates...

[**************************************************] 100%

>> Loaded 26532 creature definitions

Loading SpellsScriptTarget...

[**************************************************] 100%

>> Loaded 894 Spell Script Targets

Loading Creature Reputation OnKill Data...

[**************************************************] 100%

>> Loaded 1675 creature award reputation definitions

Loading Points Of Interest Data...

[**************************************************] 100%

>> Loaded 125 Points of Interest definitions

Loading Pet Create Spells...

[**************************************************] 100%

>> Loaded 742 pet create spells

Loading Creature Data...

[**************************************************] 100%

>> Loaded 128585 creatures

Loading Creature Addon Data...

[**************************************************] 100%

>> Loaded 7719 creature template addons

[**************************************************] 100%

>> Loaded 27966 creature addons

>>> Creature Addon Data loaded

Loading Creature Respawn Data...

[**************************************************] 100%

>> Loaded 0 creature respawn time.

Loading Gameobject Data...

[**************************************************] 100%

>> Loaded 75313 gameobjects

Loading Gameobject Respawn Data...

[**************************************************] 100%

>> Loaded 0 gameobject respawn time.

Loading Objects Pooling Data...

>> Table pool_template is empty:

Loading Game Event Data...

Segmentation fault

root@mail:/opt/mangos/bin#

Link to comment
Share on other sites

Same error under SuSE with Core7570 and SD2 953

[**************************************************] 100%
>> Loaded 977 gameobject in pools

[**************************************************] 100%
>> Loaded 0 pools in pools


Loading Game Event Data...

Segmentation fault

Link to comment
Share on other sites

Same error at 2.6.28-gentoo rev7570 SD953

[**************************************************] 100%
>> Loaded 942 gameobject in pools

[**************************************************] 100%
>> Loaded 0 pools in pools


Loading Game Event Data...

Segmentation fault
mangos@illidan ~/mangos/bin $ 

Link to comment
Share on other sites

×
×
  • 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