Page 1 of 1

Linux Binary

Posted: Mon Oct 15, 2007 6:37 pm
by link2009
Is there an actual active Linux Binary release? It'd be nice to get World running on a Linux box as all my servers are running Linux, Kernel 2.6.xx+.

Posted: Mon Oct 15, 2007 8:12 pm
by Cadimiom
Not at this time, we want a stable client on Windows first. Then we will worry about linux binaries. Windows environment is just easier to work with is all.

Posted: Tue Oct 16, 2007 4:37 am
by LethalEncounter
The source compiles on linux just fine. Try it if you have a linux box that you want it to run on. In fact the EQ2Emulator server runs on linux.

Posted: Tue Oct 16, 2007 9:29 am
by razmalone
Yeah, it's all in c++ which is cross platform. You should be able to google some good tutorials on how to compile c++ from source if you want to try that out. Post any bugs you come up with. I'll load up my linux vm and get a good tutorial on how to do that this weekend.

Posted: Wed Oct 17, 2007 8:07 pm
by link2009
Ahhh, I knew C++ was Cross-Platform, I use Linux everyday. I'll try compiling it with GCC to see the result.

Posted: Thu Oct 18, 2007 8:47 am
by John Adams
Link, I am running FC4 and the code from the SVN compiles without a problem or tweak. I have yet to try on another *nix platform, however.

Posted: Thu Oct 18, 2007 3:40 pm
by link2009
Wow, John, that's actually a great statement since Fedora Core 8 is coming out :shock: .
So if it compiles on 4, I'm sure it'll be fine on 8, which means that most linux version should work.

Posted: Fri Oct 19, 2007 4:29 pm
by John Adams
link2009 wrote:Wow, John, that's actually a great statement since Fedora Core 8 is coming out :shock: .
Indeed.
You can find me over here in this prairie, with all the other dinosaurs. ;)

Posted: Fri Oct 19, 2007 10:18 pm
by Diamente
Unfortunately we don't have support for recursive mutexes under FreeBSD, so scratch it off the compatibility list.

Code: Select all

../common/Mutex.cpp:77: error: 'PTHREAD_MUTEX_RECURSIVE_NP' was not declared in this scope
:(

Posted: Tue Oct 23, 2007 1:09 pm
by cubber
I was able to compile world in gentoo. I created a new database called eq2 in MYSQL, then just copied the following files to a separate folder called server in my eq2emu folder:
CommonStructs.xml
LoginServer.ini
WorldStructs.xml
world
world_db.ini
I edited the LoginServer.ini and world_db.ini files then just ran ./world . It downloaded and started to populate the database. Then I restarted the server and saw:
./world
[Status] Using database 'eq2' at 127.0.0.1
[Status] CURRENT_WORLD_VERSION:EQ2EMu 0.0.3 Developer Alpha
[Status] Loading opcodes..
[Status] Loading structs..
[Status] Loading command list..
[Status] Loaded 4 default command lists.
[Status] Loaded 1 NPCs.
[Status] Loaded 1 Objects.
[Status] Loaded global variables list..
[Status] Loaded visual states list..
[Status] Loading items.. (this might take a few minutes)
[Status] Loaded 74 Bags
[Status] Loaded 433 Foods
[Status] Loaded 928 Weapons
[Status] Loaded 2114 Armor Pieces
[Status] Loaded 5590 Regular Items
[Status] Loading spells..
[Status] Loaded 1 Spell(s)
[Status] Loading factions..
[Status] Loaded 36 Factions
[Status] ./LoginServer.ini read.
[Status] Loading EQ time of day..
I'm counting how many times you've opened this...
Starting factory Reader
Starting factory Writer
World server listening on: mydomain.com:9000
World server listening on: mylocalip (If use:9000
Connected to LoginServer: eq2emulator.net:9100
Looks like the server started correctly, I don't have the correct client version to test it though, so I have to wait...
Hope this helps anyone trying to compile on linux.