Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-18-2014, 07:55 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default compilation problem with new setup

Hello again. For the longest time I have been running older code because I did not want to be upgrading all of the time while finishing my PhD.

I finished (Yay! My dissertation on a quest generator for the older eqemu), and now want to resume research. My backup of eqemu wasn't starting up, and rather than troubleshoot that I figured: Why not do a fresh install and port my changes over?

OK, that was the motivation for my current situation.

I have been following this guide:
https://github.com/EQEmu/Server/wiki/Linux-server-setup

It has been very helpful. I had to pull down a couple of additional packages not listed: boost boost-devel lua-devel perl-devel (I am on Fedora). CMake ran without errors.

My build is not so fortunate:

Code:
Scanning dependencies of target luabind
[  1%] Building CXX object luabind/CMakeFiles/luabind.dir/src/class.cpp.o
In file included from /usr/include/lua.h:16:0,
                 from /home/jon/src/eqemu/luabind/luabind/lua_include.hpp:31,
                 from /home/jon/src/eqemu/luabind/src/class.cpp:27:
/home/jon/src/eqemu/luabind/luabind/lua502.hpp:28:20: error: expected identifier before ‘(’ token inline LUA_API int lua_equal(lua_State *L, int idx1, int idx2)
I started with a fresh git clone. Lua is at 5.2.2. When running CMake I accepted all defaults, but did enable bots.

I'm afraid that I have no experience with things Lua. The code looks OK. Did I miss a step in the instructions?

A search of the forum didn't help me, but then I'm not really sure what to look for.
Any help is greatly appreciated.

Last edited by jdoran; 09-18-2014 at 07:56 PM.. Reason: My cut and paste dropped a letter, and I'm a bit anal today
Reply With Quote
  #2  
Old 09-19-2014, 12:45 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

The problems seen above are all luabind related (and I already have luabind installed on this machine).

I turned off lua via cmake, and am making some progress. I would like to see the lua code working eventually. I would think that I could use the existing luabind rather than building another...

Some of the patch files were including "../common/types.h" instead of "../../common/types.h"

Edit: I'll just add to this post, as it continues with feedback on the install/configure process for a new server

I run a local loginserver (I instrument some things, there is nothing wrong with the public login servers...), and the setup is not
covered in that guide.

I pulled the crypto stuff from http://projecteqemu.googlecode.com/s...in_util/linux/
I loaded the additional SQL in loginserver/login_util

*** Note: tblWorldServerRegistration is missing the field ServerListTypeDescription, which the loginserver tries to load.
I added:
ServerListTypeDescription varchar(50) NOT NULL DEFAULT '',

I may adjust that. Anyhow, change cmake's config to build the login server... put the crypto stuff in the dependencies folder...
and the login server builds. This needs to be started explicitly.
Reply With Quote
  #3  
Old 09-19-2014, 06:24 PM
vsab's Avatar
vsab
Discordant
 
Join Date: Apr 2014
Location: United Kingdom
Posts: 276
Default

The dependencies are now all housed at http://eqemu.github.io/ - I doubt the svn will be updated ever again, so it's probably worth only mentioning the current links.

The wiki (http://wiki.eqemulator.org/i?M=Wiki) is missing Fedora builds, so once you'v e gone through it it'd be great if we got a wiki page up about the Fedora specific steps.
Reply With Quote
  #4  
Old 09-19-2014, 06:38 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

I'm trying to keep notes/screenshots as I go along. Other than the LUA stuff I think it is running. Right now I'm facing database/config type problems and cannot get into the world. (The last was having a null ServerTrusted field -- I could find absolutely nothing on this, so I left it alone -- crash).
Reply With Quote
  #5  
Old 09-20-2014, 02:39 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

I cannot register on the wiki, so I don't think I'll be able to contribute any help with Fedora.

This LUA problem is rather big, since so many quests have been converted to LUA.
Reply With Quote
  #6  
Old 09-20-2014, 05:18 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

It /should/ compile with lua 5.2, but something could of been missed, it is mostly tested on lua 5.1 and luajit.
Reply With Quote
  #7  
Old 09-20-2014, 07:02 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

There were significant changes in 5.2. I was able to install compat-lua and compat-lua-devel and then have CMake use the compat files. It is building right now, which is more than I've seen before.

Edit: the compat version of lua did the trick.
Reply With Quote
  #8  
Old 09-22-2014, 07:17 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

I am unable to update the wiki, so my work on Fedora will benefit only me :-(
Reply With Quote
  #9  
Old 09-23-2014, 03:42 AM
vsab's Avatar
vsab
Discordant
 
Join Date: Apr 2014
Location: United Kingdom
Posts: 276
Default

Send Akkadius a PM for access.
Reply With Quote
  #10  
Old 09-23-2014, 10:00 AM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

Thanks, I'll do that.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:45 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3