Linux Binary

Support forum for questions about compiling and running EQ2Emulator on Linux.

Moderator: Team Members

Post Reply
link2009
Retired
Posts: 390
Joined: Fri Aug 10, 2007 5:59 pm
Location: POrTal
Contact:

Linux Binary

Post by link2009 » Mon Oct 15, 2007 6:37 pm

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+.
Image
-Vecinu de la Patru

Cadimiom
Team: Zombie
Posts: 74
Joined: Wed Jul 25, 2007 2:31 pm

Post by Cadimiom » Mon Oct 15, 2007 8:12 pm

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.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Tue Oct 16, 2007 4:37 am

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.

razmalone
Posts: 15
Joined: Mon Oct 15, 2007 11:17 pm

Post by razmalone » Tue Oct 16, 2007 9:29 am

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.

link2009
Retired
Posts: 390
Joined: Fri Aug 10, 2007 5:59 pm
Location: POrTal
Contact:

Post by link2009 » Wed Oct 17, 2007 8:07 pm

Ahhh, I knew C++ was Cross-Platform, I use Linux everyday. I'll try compiling it with GCC to see the result.
Image
-Vecinu de la Patru

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Thu Oct 18, 2007 8:47 am

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.

link2009
Retired
Posts: 390
Joined: Fri Aug 10, 2007 5:59 pm
Location: POrTal
Contact:

Post by link2009 » Thu Oct 18, 2007 3:40 pm

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.
Image
-Vecinu de la Patru

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Fri Oct 19, 2007 4:29 pm

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. ;)

Diamente
Retired
Posts: 45
Joined: Mon Jul 30, 2007 7:49 am
Location: Oklahoma

Post by Diamente » Fri Oct 19, 2007 10:18 pm

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
:(

User avatar
cubber
Posts: 19
Joined: Fri Oct 19, 2007 12:52 pm

Post by cubber » Tue Oct 23, 2007 1:09 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests