PDA

View Full Version : Stuck on the ./make :(


XxTRAINEExX
05-03-2017, 11:05 PM
I'm using the linux guide linked off the main page:

http://wiki.eqemulator.org/p?EQEmu_on_Debian_7_Virtualbox

I'm compiling on Ubuntu 16.04 and getting the following error:

[ 32%] Building CXX object common/CMakeFiles/common.dir/util/uuid.cpp.o
/home/eq/eqemu/common/util/uuid.cpp:10:23: fatal error: uuid/uuid.h: No such file or directory
compilation terminated.
common/CMakeFiles/common.dir/build.make:2510: recipe for target 'common/CMakeFiles/common.dir/util/uuid.cpp.o' failed
make[2]: *** [common/CMakeFiles/common.dir/util/uuid.cpp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'common/CMakeFiles/common.dir/all' failed
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2


Not sure why I am seeing this since I pulled the code using the git command in the server setup guide so all files should be in the correct places. Any thoughts on how to correct this?

Brian

GRUMPY
05-03-2017, 11:54 PM
Did you run cmake before you ran make ?

XxTRAINEExX
05-04-2017, 09:21 AM
Yes I ran the cmake and it passed without error. Other thoughts?

demonstar55
05-04-2017, 12:47 PM
Install uuid-dev. The guide is out dated.

XxTRAINEExX
05-05-2017, 11:10 AM
I have no idea why I didn't try that first... it worked. Thanks demonstar55.

Any other parts of the guide I should watch out for? I'm downloading the PEQ files from a google drive and it looks like they haven't been updated since 2015.

Akkadius
05-05-2017, 12:52 PM
There is also a really easy to use installer made for everyone:

https://github.com/EQEmu/Server#-debianubuntucentosfedora

XxTRAINEExX
05-05-2017, 10:51 PM
There is also a really easy to use installer made for everyone:

https://github.com/EQEmu/Server#-debianubuntucentosfedora

Is there a post or guide somewhere describing these scripts? I ran it but I'm not sure what to do next :)

Thanks!
Brian

kokey98
05-06-2017, 07:37 PM
i don't know what it looks like for linux, but an option should be "Setup Server" [sic]. maybe, "setup new server" -- not something you run more than once, unless you have a freshly deleted/clear server directory.

But, google "eqemu wiki installer"

make sure to read through the whole installer wiki page before starting to get an idea of the whole process. extras like loginserver / bots have their own section, if i remember correctly.

eqemu wiki ... <insert key word or phrase>

non-installer stuff:

if outdated, remove 'wiki' and then select "more results form this site" for the forums... way better than the site-search on/in the forums.

Akkadius
05-07-2017, 04:40 PM
Is there a post or guide somewhere describing these scripts? I ran it but I'm not sure what to do next :)

Thanks!
Brian

Run the script command, answer the questions (Fill in usernames and passwords) then the installer literally takes care of the rest, its bloody simple.

fun40fishcakes
05-10-2018, 11:02 AM
I came across this looking for an answer to the same issue just now.

Solution for me was:

sudo apt-get install uuid-dev

spidey1170
05-10-2018, 12:14 PM
Run the script command, answer the questions (Fill in usernames and passwords) then the installer literally takes care of the rest, its bloody simple.

I had to do a lot more than that, well, maybe not a lot more...

For example:

eqemu_config.json changes

...
"loginserver2" : {
"account" : "<super_secret_admin_account_name>",
"host" : "<ip_host_here>",
"password" : "<super_secret_admin_account_password>",
"port" : "5998"
},
"longname" : "<change_me>",
"shortname" : "<change_me_too>",
...

MySQL

>$ mysql -u <db_admin_name> -p

MariaDB [db_admin_name]> use eqemu;

MariaDB [db_admin_name]> show tables;

MariaDB [db_admin_name]> SELECT * FROM loginserver_server_admin_registration;

MariaDB [db_admin_name]> DELETE FROM loginserver_server_admin_registration WHERE ServerAdminID = 1;

MariaDB [db_admin_name]> INSERT INTO loginserver_server_admin_registration (ServerAdminID, AccountName, AccountPassword, FirstName, LastName, Email, RegistrationDate, RegistrationIPAddr)
VALUES ('2', '<account_name_you_want>', sha('<password>'), '<first_name>', '<last_name>', '<email_addr>', '2018-05-10 08:29:00', '127.0.0.1');

Then, I was able to get my server to work. I removed the default account because I didn't want a security hole in my EQEmu server, giving the default person admin access.

Without creating that admin account and then adding it to the eqemu_config.json, I was not able to get my server to show up on the client server list.