Jump to content

Recommended Posts

Posted

When I apply the patches with this command;

XxX@XxX:/mangos/mangos/sql/updates# mysql -p(littleBIGsecret) mangos < 8749_01_mangos_mail_loot_template.sql

I get this error:

ERROR 1054 (42S22) at line 1: Unknown column 'required_8731_01_mangos_creature_template' in 'db_version'

Tried the other bunch of updates in that directory which results into this:

ERROR 1054 (42S22) at line 1: Unknown column 'required_8835_01_mangos_command' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8833_02_mangos_command' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8833_01_mangos_mangos_string' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8828_02_mangos_instance_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8818_01_mangos_mangos_string' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8815_01_mangos_mangos_string' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8803_02_mangos_playercreateinfo_action' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8803_01_mangos_playercreateinfo_spell' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8800_01_mangos_spell_elixir' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8777_02_mangos_gameobject' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8777_01_mangos_creature' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8775_03_mangos_gameobject' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8775_02_mangos_creature' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8775_01_mangos_creature_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8770_01_mangos_quest_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8769_01_mangos_mail_level_reward' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8749_01_mangos_mail_loot_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8731_01_mangos_creature_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8726_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8723_01_mangos_achievement_criteria_requirement' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8720_01_mangos_quest_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8693_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8688_01_mangos_creature_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8676_01_mangos_creature_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8618_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8608_02_mangos_battleground_events' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8608_01_mangos_mangos_string' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8607_02_mangos_command' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8607_01_mangos_string' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8600_01_mangos_command' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8589_10_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8589_09_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8589_08_mangos_item_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8589_07_mangos_spell_elixir' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8589_05_mangos_battleground_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8589_03_mangos_item_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8589_02_mangos_gameobject_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8589_01_mangos_creature_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8573_01_mangos_mangos_string' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8549_03_mangos_battleground_events' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8548_02_mangos_gameobject_battleground' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8548_01_mangos_creature_battleground' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8521_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8514_01_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8511_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8504_02_mangos_playercreateinfo_action' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8504_01_mangos_playercreateinfo_spell' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8499_01_mangos_spell_elixir' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8498_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8488_02_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8488_01_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8487_02_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8487_01_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8482_01_mangos_spell_elixir' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8462_01_mangos_creature_ai_texts' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8451_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8444_01_mangos_mangos_string' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8416_01_mangos_spell_learn_spell' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8412_01_mangos_mangos_string' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8399_01_mangos_spell_elixir' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8397_02_mangos_spell_threat' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8397_01_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8394_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8392_02_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8392_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8377_01_mangos_spell_area' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8364_01_mangos_db_version' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8361_01_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8342_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8310_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8294_01_mangos_playercreateinfo_action' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8254_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8253_02_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8253_01_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8251_03_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8251_02_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8251_01_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8250_01_mangos_spell_threat' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8249_02_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8249_01_mangos_spell_proc_item_enchant' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8247_01_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8237_01_mangos_creature_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8227_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8213_01_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8212_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8211_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8191_01_mangos_spell_affect' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8190_01_mangos_creature_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8158_01_mangos_playercreateinfo_action' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8140_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8115_01_mangos_playercreateinfo_action' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8112_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8098_02_mangos_playercreateinfo_action' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8071_01_mangos_command' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8065_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8064_01_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8060_01_mangos_spell_pet_auras' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8053_01_mangos_command' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8050_02_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8050_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8030_03_mangos_npc_trainer' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8021_01_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_8016_01_mangos_npc_spellclick_spells' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_7988_09_mangos_spell_proc_event' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_7988_08_mangos_spell_bonus_data' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_7988_06_mangos_gameobject_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_7988_05_mangos_item_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_7988_04_mangos_creature_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_7988_03_mangos_spell_chain' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_7988_01_mangos_item_template' in 'db_version'
ERROR 1054 (42S22) at line 1: Unknown column 'required_7980_01_mangos_item_required_target' in 'db_version'

As a Mangos newb, I have no idea what 2 do :P Anyone who can help me?

  • Replies 289
  • Created
  • Last Reply

Top Posters In This Topic

Posted
When I apply the patches with this command;

First, you gotta find out which version of Mangos DB you're at. Easiest way, if you're on Linux, install phpmyadmin (GUI for managing database). On Ubuntu,

 sudo aptitude install phpmyadmin 

will do the trick.

Login, and navigate to Mangos DB and click on "db_version" table. On the right side, you'll see something along the line of "required_####_..._mangos_..." where #### is where you're at. Work up from there.

EDIT:

 ERROR 1054 (42S22) at line 1: Unknown column 'required_8731_01_mangos_creature_template' in 'db_version' 

means exactly what it says. You need 8731_01_mangos_creature_template.sql before you can import 8749_01_mangos_mail_loot_template.sql.

Posted
First, you gotta find out which version of Mangos DB you're at. Easiest way, if you're on Linux, install phpmyadmin (GUI for managing database). On Ubuntu,

 sudo aptitude install phpmyadmin 

will do the trick.

Login, and navigate to Mangos DB and click on "db_version" table. On the right side, you'll see something along the line of "required_####_..._mangos_..." where #### is where you're at. Work up from there.

It says "required_8840_01_mangos_spell_proc_event" which is the highest available in the updates directory, So I guess that no updates are needed...?

EDIT:

 ERROR 1054 (42S22) at line 1: Unknown column 'required_8731_01_mangos_creature_template' in 'db_version' 

means exactly what it says. You need 8731_01_mangos_creature_template.sql before you can import 8749_01_mangos_mail_loot_template.sql.

Which requires 8726, which requires 8723, which requires, 8720 ....

Thanks for your help :)

Posted
It says "required_8840_01_mangos_spell_proc_event" which is the highest available in the updates directory, So I guess that no updates are needed...?

If your db_version table says you're at 8840 and if that's the latest in updates folder, I guess you're set with the updates.

Posted

Well, 1st of all, thanks for this guide!

After not playing with MaNGOS for quite some time, it was the best description to get my server running ASAP.

You still NEED to update the password in the All-In-One command.

This one bothered me for quite some time... not that I forgot to add the password, but that I had to add it every time I did something with mysql.

But there is a little trick, to make mysql-commands somewhat "easier". Just issue the following command

alias mysql='mysql -pPASSWORD'

before you start all the mysql stuff (replace PASSWORD with your own, maybe use double quotes to escape special chars and don't forget the single quotes). After that you don't have to add the password all the time.

I wouldn't put it in "~/.bashrc" or "~/.alias", or whatever file is sourced on startup, because the password is plain text... but for a quick installation, it should be ok.

Posted
Well, 1st of all, thanks for this guide!

After not playing with MaNGOS for quite some time, it was the best description to get my server running ASAP.

This one bothered me for quite some time... not that I forgot to add the password, but that I had to add it every time I did something with mysql.

But there is a little trick, to make mysql-commands somewhat "easier". Just issue the following command

alias mysql='mysql -pPASSWORD'

before you start all the mysql stuff (replace PASSWORD with your own, maybe use double quotes to escape special chars and don't forget the single quotes). After that you don't have to add the password all the time.

I wouldn't put it in "~/.bashrc" or "~/.alias", or whatever file is sourced on startup, because the password is plain text... but for a quick installation, it should be ok.

You could also alias that to 'mysql -p' then you'll be prompted for the password and you don't have to worry about it being in plain text in your startup scripts.

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

Posted

I can't return rev 8877 (now 8887)

Debian

game:/home/game# git clone git://github.com/mangos/mangos.git

Initialized empty Git repository in /home/game/mangos/.git/

remote: Counting objects: 43822, done.

remote: Compressing objects: 100% (9294/9294), done.

remote: Total 43822 (delta 35874), reused 42159 (delta 34467)

Receiving objects: 100% (43822/43822), 32.06 MiB | 38 KiB/s, done.

Resolving deltas: 100% (35874/35874), done.

Checking out files: 100% (3869/3869), done.

game:/home/game# cd mangos

game:/home/game/mangos# git pull origin master

From git://github.com/mangos/mangos

* branch master -> FETCH_HEAD

Already up-to-date.

game:/home/game/mangos# git reset HEAD~10

sql/mangos.sql: needs update

sql/updates/Makefile.am: needs update

src/game/DBCStructure.h: needs update

src/game/Language.h: needs update

src/game/Map.cpp: needs update

src/game/Object.cpp: needs update

src/game/Player.cpp: needs update

src/game/SpellAuras.cpp: needs update

src/game/SpellEffects.cpp: needs update

src/game/Unit.cpp: needs update

src/mangosd/RASocket.cpp: needs update

src/shared/revision_nr.h: needs update

src/shared/revision_sql.h: needs update

game:/home/game/mangos# git pull origin master

From git://github.com/mangos/mangos

* branch master -> FETCH_HEAD

Updating a9a2302..941281a

sql/mangos.sql: needs update

sql/updates/Makefile.am: needs update

src/game/DBCStructure.h: needs update

src/game/Language.h: needs update

src/game/Map.cpp: needs update

src/game/Object.cpp: needs update

src/game/Player.cpp: needs update

src/game/SpellAuras.cpp: needs update

src/game/SpellEffects.cpp: needs update

src/game/Unit.cpp: needs update

src/mangosd/RASocket.cpp: needs update

src/shared/revision_nr.h: needs update

src/shared/revision_sql.h: needs update

error: Entry 'sql/mangos.sql' not uptodate. Cannot merge.

help plz :(

Posted

So I managed to update all the way op to 8886_01_mangos_string without any error

But when I start up worldd, thee errors start to appear again.

I starts good with "AUTOCOMMIT SUCCESSFULLY SET TO 1"

But then the trouble comes;

SQL: SELECT 'required_8882_03_mangos_spell_bonus_data' in 'field list'
table 'db_version' have field 'required_8886_01_mangos_string' but expected 'required_8882_03_mangos_spell_bonus_data'! Not all sql updates applied?

What to do?

Posted

Hello, i'd like to say thanks for this tut its simple to understand, and makes life easyer lol.

However im having one issue during make

this is the error i get

Making all in Database
make[5]: Entering directory `/home/painwithin/mangos/objdir/src/shared/Database'
g++ -DHAVE_CONFIG_H -I. -I../../../../src/shared/Database -I../../..  -I../../../../dep/ACE_wrappers -I../../../dep/ACE_wrappers     -I../../../src/shared -I../../../../src/shared/Database -I../../../../src/shared/Database/../../../dep/include -I../../../../src/shared/Database/../../framework -I../../../../src/shared/Database/../../shared -I../../../../src/shared/Database/../../../dep/include/g3dlite   -g -O2 -MT Database.o -MD -MP -MF .deps/Database.Tpo -c -o Database.o ../../../../src/shared/Database/Database.cpp
In file included from ../../../../src/shared/Database/DatabaseEnv.h:39,
                from ../../../../src/shared/Database/Database.cpp:19:
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:29:19: error: mysql.h: No such file or directory
In file included from ../../../../src/shared/Database/DatabaseEnv.h:39,
                from ../../../../src/shared/Database/Database.cpp:19:
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:35: error: expected `)' before ‘*’ token
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:42: error: ‘enum_field_types’ has not been declared
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:45: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../../../../src/shared/Database/../../shared/Database/QueryResultMysql.h:45: error: expected ‘;’ before ‘*’ token
In file included from ../../../../src/shared/Database/DatabaseEnv.h:41,
                from ../../../../src/shared/Database/Database.cpp:19:
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:72: error: ISO C++ forbids declaration of ‘MYSQL’ with no type
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:72: error: expected ‘;’ before ‘*’ token
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:77: error: ‘MYSQL_RES’ has not been declared
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:77: error: ‘MYSQL_FIELD’ has not been declared
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h: In member function ‘virtual DatabaseMysql::operator bool() const’:
../../../../src/shared/Database/../../shared/Database/DatabaseMysql.h:58: error: ‘mMysql’ was not declared in this scope
make[5]: *** [Database.o] Error 1
make[5]: Leaving directory `/home/painwithin/mangos/objdir/src/shared/Database'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/painwithin/mangos/objdir/src/shared'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/painwithin/mangos/objdir/src/shared'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/painwithin/mangos/objdir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/painwithin/mangos/objdir'
make: *** [all] Error 2

Im not sure if i did something wrong or missing something but i followed the step by step part of the tut instead of the all in one.

Also the other steps went well, the configuring configured without errors, everything went without errors this is the only part i get error at all so im alittle stumped.

Posted
Hello, i'd like to say thanks for this tut its simple to understand, and makes life easyer lol.

Make sure you have the package, libmysql++-dev, installed on Ubuntu.

Posted

I got my prior issue fixed, i made a typo in configure but now im getting issues with updating the databases... mangos to be exact, i followed the guide, the 0.11.6 core executed fine, but i cant seem to add anything from 8734 on because i keep geting the "required" errors but everything is fresh and i cant start mangos without these updates, any idea's why i cant update them?

i do the required ones it says and it just keeps going without an end when i should be able to apply them from 8734 on words now i tried re-doing the database from scratch im still having no luck with this at all.

"this is the same problem as the person three posts above me, my UDB version was 8734 but cant apply any updates after it without getting them messages and it just keeps changing as i try doing what it says"

Posted

Hey, I switched to Mac OS and I'm trying to set up MaNGOS...

I followed the Guide (http://getmangos.eu/wiki/Compile_MaNGOS_On_Mac_OS_X) and I'am stuck at the "../configure..." part:

Compile for the first time

1. Create a directory to compile into:

cd ~/source/mangos

mkdir -p build

cd build

2. Compile:

autoreconf -if ..

../configure --prefix=/usr/local --datadir=/usr/local/share --sysconfdir=/usr/local/etc --enable-cli --enable-ra LIBS="-lcrypto" CFLAGS="-O2" CXXFLAGS="-O2"

The ../configure... outputs:

checking for sqrt... yes

checking for strchr... yes

checking for strdup... yes

checking for strerror... yes

checking for strstr... yes

configure: creating ./config.status

.infig.status: error: cannot find input file:

And the following make -j 2:

make: *** No targets specified and no makefile found. Stop.

And I just don't know any further... any idea or help?

Posted
i don't suppose someone could clarify step 8?

I have all the files etc, but arn't .exe and .bat windows files? anyway, they cant/wont run, and i can't see any other files that would execute

Side-note: i had to remove all capitals in scriptdev2 for it to install. i have no idea how the author got it to work with capitals...

Edit: found another guide which helped me. 'ad.exe' gets info from your install of the actual game and needs to be in that directory

I can not find datatools anywheir wheir are they? if you find them email wheir they are at . [email protected]

Posted

I haven't been around the MaNGOS forums for a while, but let me re-iterate how thankful I am for your guide. It's great.

Side note: does anyone know how to convert a Xbuntu install into a Server install? Or really, just strip away the GUI. That'd work.

Posted

I've heard of compiling an install version of linux for 64-bit on an x86 and it works because its an "install." However, I do believe the architecture behind the x86 is too different to compile a working copy of any "application" on an x64 system. The only work around is what Windows Vista has set up, and apparently not very well, which is to create a virtual machine and run the 32-bit programs through the virtual machine.

In other words, I don't think its possible without a virtual machine or an operating system that handles both x86 architecture and x64 architecture (I'm not sure if Windows Vista falls under this category).

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