darqnies
ۤ
Hi,
few days i have downloaded ForgottenServer (becouse this engine is best i think) SVN. I copy source to my own folders and i make everythink with tutorial (i dont remember adress of site), but i have reader tutorial for Ubuntu. On CentOS i dont use "apt-get" but "yum" so i downloaded lib's by: "yum install [...]" and i have downloaded LUA(5.1) and other libs.
Okay, everythink to this moment - "Type make and the gcc will compile the source files"...
I wait few minutes and the compiler say:
"g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -O1 -c "... but before this i read a message:
Thanks for advice, Leo.
@edit
i have downloaded LUA by "yum install lua"
few days i have downloaded ForgottenServer (becouse this engine is best i think) SVN. I copy source to my own folders and i make everythink with tutorial (i dont remember adress of site), but i have reader tutorial for Ubuntu. On CentOS i dont use "apt-get" but "yum" so i downloaded lib's by: "yum install [...]" and i have downloaded LUA(5.1) and other libs.
Okay, everythink to this moment - "Type make and the gcc will compile the source files"...
I wait few minutes and the compiler say:
"g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -O1 -c "... but before this i read a message:
Code:
./TheForgottenServer account.o actions.o admin.o allocator.o ban.o baseevents.o beds.o creature.o creatureevent.o chat.o combat.o commands.o condition.o configmanager.o connection.o container.o cylinder.o database.o databasemysql.o databasesqlite.o depot.o exception.o fileloader.o game.o gui.o house.o housetile.o ioguild.o iologindata.o iomap.o iomapserialize.o inputbox.o item.o items.o logger.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o player.o playerbox.o position.o protocol.o protocolgame.o protocollogin.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o sha1.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o vocation.o waitlist.o weapons.o -L/usr/lib -lxml2 -lpthread -llua5.1 -lgmp -lmysqlclient -lboost_regex -lsqlite3 -llua5.1-sql-mysql -llua5.1-sql-sqlite -ldl -lboost_system
/usr/bin/ld: cannot find -llua5.1
collect2: ld returned 1 exit status
make: *** [theforgottenserver] Error 1
Thanks for advice, Leo.
@edit
i have downloaded LUA by "yum install lua"