Difference between revisions of "Admins:Linux Server:Gentoo"
Dthompso99 (talk | contribs) (Gentoo Installation) |
Dthompso99 (talk | contribs) m |
||
| Line 1: | Line 1: | ||
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. | ||
| + | |||
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) | 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 virtual/mysql | ||
| + | |||
emerge -vDu dev-util/subversion | emerge -vDu dev-util/subversion | ||
| + | |||
There is of course, no package yet for eq2emu, so we'll need to compile manualy from svn: | There is of course, no package yet for eq2emu, so we'll need to compile manualy from svn: | ||
cd /usr/src | cd /usr/src | ||
| + | |||
svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator | svn co https://eq2emulator.svn.sourceforge.net/svnroot/eq2emulator eq2emulator | ||
| + | |||
cd /usr/src/eq2emulator/Source/World | cd /usr/src/eq2emulator/Source/World | ||
| + | |||
nano -w makefile | nano -w makefile | ||
| + | |||
alter the line that reads (note the part about LUA): | 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 | LINKOPTS=-rdynamic -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -llua-5.1 -ldl | ||
to read: | to read: | ||
| + | |||
LINKOPTS=-rdynamic -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -llua -ldl | LINKOPTS=-rdynamic -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -llua -ldl | ||
Revision as of 17:43, 13 May 2009
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/