Admins:Linux Server:Gentoo
- Last edited 10 years ago by Vlash Nytefall
I'll quickly throw up my experience of compiling on gentoo as of rev 253, although i dont have it fully working yet.
assuming you have a fully functional and up to date gentoo server, first off we'll need MySql and subversion, if you dont have it allready: (some use flags could surely be optimized, but i'll come back to that at a later date)
emerge -vDu virtual/mysql emerge -vDu dev-util/subversion
There is of course, no package yet for eq2emu, so we'll need to compile manualy from svn:
cd /usr/src svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator cd /usr/src/eq2emulator/Source/World nano -w makefile
alter the line that reads (note the part about LUA): LINKOPTS=-rdynamic -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -llua-5.1 -ldl
to read: LINKOPTS=-rdynamic -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -llua -ldl
now execute make inside the World directory...
make
now make your installation directory, copy in the following files, and follow the rest of the configuration found elsewhere:
CommonStructs.xml ItemStructs.xml SpawnStructs.xml eq2world EQ2_Structs.xml LoginServer.ini WorldStructs.xml world_db.ini
cp *file* /usr/eq2emu/