Difference between revisions of "Admins:Linux Server:Gentoo"
Dthompso99 (talk | contribs) m |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | {{PageHeaderChild|Admins:Linux_Server|Gentoo}} | ||
| + | |||
| + | |||
| + | {{Header|Compiling your server|BackgroundColor=3d78b4|FontColor=ffffff}} | ||
I'll quickly throw up my experience of compiling on gentoo as of rev 253, although i dont have it fully working yet. | I'll quickly throw up my experience of compiling on gentoo as of rev 253, although i dont have it fully working yet. | ||
| Line 5: | Line 9: | ||
| − | emerge - | + | emerge -vD virtual/mysql |
| − | emerge - | + | emerge -vD dev-util/subversion |
Latest revision as of 14:39, 1 August 2015
Admins:Linux_Server - Gentoo
Return to: Admins:Linux_Server | Tutorials | Portal | Forum | Project Manager | Bug Tracker
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 -vD virtual/mysql
emerge -vD 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/