EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Rebuilding from GIT (https://www.eqemulator.org/forums/showthread.php?t=42181)

jdoran 11-17-2018 09:52 PM

Rebuilding from GIT
 
I have been away from EQEMu for a while now, and wanted to rebuild from GIT. I cloned the repository, and believe I have all of the dependencies installed.

I am running into an old problem.

I am running under Fedora 29, and have lua 5.3.5 installed (with lua-devel etc)
I get stuck building luabind/lua502.hpp.

The only thing I can find on the topic is an old post of mine from 2014, where I installed lua-compat and was able to build. But I have no record of what I did back then.

Given that this builds for everyone else, would someone please tell me what I'm doing wrong?

An example of a typical error:
Code:

[ 30%] Building CXX object libs/luabind/CMakeFiles/luabind.dir/src/class.cpp.o
In file included from /usr/include/luaconf.h:36,
                from /usr/include/lua.h:16,
                from /home/jon/eqemu_test/Server/libs/luabind/luabind/lua_include.hpp:31,
                from /home/jon/eqemu_test/Server/libs/luabind/src/class.cpp:27:
/home/jon/eqemu_test/Server/libs/luabind/luabind/lua502.hpp:28:20: error: expected identifier before ‘(’ token
 inline LUA_API int lua_equal(lua_State *L, int idx1, int idx2)


jdoran 11-18-2018 02:33 PM

I found what I did earlier. It was a pain to track down, but I edited the CMakeCache.txt and added the LUA 5.1 paths manually. I'm sure there is a better way to do it, but I don't use cmake for my own projects and don't know my way around the files.

Code:

//Path to a file.
LUA_INCLUDE_DIR:PATH=/usr/include/lua-5.1

//Lua Libraries
LUA_LIBRARIES:STRING=/usr/lib64/liblua-5.1.so;/usr/lib64/libm.so

//Path to a library.
LUA_LIBRARY:FILEPATH=/usr/lib64/liblua-5.1.so


joligario 11-18-2018 03:12 PM

cmake -I (or i?) for interactive mode, then say yes to advanced configuration/settings

jdoran 11-18-2018 03:15 PM

Thanks, I'll clone into a new folder and try that workflow.

jdoran 11-18-2018 03:17 PM

While I'm thinking of it, where are the databases obtained?

I see the PEQ quests on GitHub.

The old Google Docs pages are gone, sadly.

Do people just use the binary installer, and then clone over the source?

For configuration management, I prefer to have the databases loaded separately.

joligario 11-18-2018 07:38 PM

PEQ's database is at http://edit.peqtgc.com/weekly/

jdoran 11-18-2018 07:57 PM

Perfect! Thanks again.


All times are GMT -4. The time now is 04:23 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.