Likes: 0
Results 1 to 1 of 1
-
16-08-10, 01:48 AM #1
How to compile MaNGOS on Linux ( Using GIT )
Register to remove this adYou must install :
Code:* GCC 4.1.X ( gcc / g++ / cpp / fort77 / g77 / gpp) * automake * autoconf * glibc & glibc-dev(glibc headers) [ libc6 ] * make * mysql-server 4.1 ou mysql-server 5.0 && libmysql++-dev * libtool * OpenSSL (libssl-dev) * subversion et patch * git * zlibc
Code:apt-get install build-essential binutils gcc g++ cpp automake autoconf make libmysql++-dev libtool libssl-dev subversion patch zlibc libc6 git-core
Code:git clone git://github.com/mangos/mangos.git cd mangos
Code:mkdir src/bindings/ScriptDev2 svn co https://scriptdev2.svn.sourceforge.n...ot/scriptdev2/ src/bindings/ScriptDev2 git apply src/bindings/ScriptDev2/patches/MaNGOS-2008-12-22-ScriptDev2.patch
Code:git am src/bindings/ScriptDev2/patches/MaNGOS-2008-12-22-ScriptDev2.patch
If you want to apply only changes to stash them later, use git-apply, if you want to commit the sd2 patch, use git-am and you don't have to manually call git-commit.
Once you have patched mangos, you compile it.
Code:autoreconf --install --force automake src/bindings/ScriptDev2/Makefile mkdir objdir cd objdir ../configure --prefix=/opt/mangos --sysconfdir=/opt/mangos/etc --enable-cli --enable-ra --datadir=/opt/mangos make make install make clean cd .. rm -r objdir
by ../configure --prefix=[working path] --sysconfdir=[working path]/etc --enable-cli --enable-ra --datadir=[working path]
with your [working path]
Good Luck
Credit to mimi133 for making useful guide
› See More: How to compile MaNGOS on Linux ( Using GIT )