EOSERV Forum > EOSERV > EOSERV on Linux
Page: << 1 >>
EOSERV on Linux
Author Message
Post #198350 EOSERV on Linux

Hi,

I've always hosted on windows OS's. Which leads me to ask, what dependencies/libraries do i need to install on linux/ubuntu to successfully compile and run eoserv on linux.


I don't need a full blown tutorial, just some pointers.

-thanks


EDIT: or a tutorial would be great for the wiki :)

8 years, 29 weeks ago
Post #198352 Re: EOSERV on Linux

You could try this old Tut.
https://eoserv.net/forum/topic/2612

---
http://www.ctronic.ga
http://www.tsu.co/Deltro
https://www.reverbnation.com/deltro9
8 years, 29 weeks ago
Post #198353 Re: EOSERV on Linux

I did follow that guide, i ended up running into errors.

Considering EOSERV has changed so much since that tutorial i would think things have been changed.

8 years, 29 weeks ago
Post #198354 Re: EOSERV on Linux

Any typical gnu/linux system capable of compiling C++ should work fine. You'll only need mariadb connector and/or sqlite development libraries as external dependencies. Both are available in most distro's repositories.

For debian/ubuntu/mint, the following commands should download and build eoserv, assuming the gcc version in your distro is a recent enough version (current stable debian, jessie, might not be):

sudo apt-get install subversion build-essentials libmariadb-client-lgpl-dev libsqlite0-dev
svn co svn://eoserv.net/eoserv/trunk/ eoserv
cd eoserv
./configure linux
make POLL=1 MYSQL=1 SQLITE=1

8 years, 29 weeks ago
Post #198357 Re: EOSERV on Linux
Sausage posted: (13th Oct 2015, 01:07 am)

Any typical gnu/linux system capable of compiling C++ should work fine. You'll only need mariadb connector and/or sqlite development libraries as external dependencies. Both are available in most distro's repositories.

For debian/ubuntu/mint, the following commands should download and build eoserv, assuming the gcc version in your distro is a recent enough version (current stable debian, jessie, might not be):

sudo apt-get install subversion build-essentials libmariadb-client-lgpl-dev libsqlite0-dev
svn co svn://eoserv.net/eoserv/trunk/ eoserv
cd eoserv
./configure linux
make POLL=1 MYSQL=1 SQLITE=1


Alright, everything seems to go good until database.cpp.  I'm pretty sure I'm missing a linker or something having to do with mysql.  I've investigated, but after spending most of the night trying to figure it out, I've decided to post again for suggestions.

Error's: http://pastebin.com/j6BkrWja
8 years, 29 weeks ago
Post #198358 Re: EOSERV on Linux

Strange, check the output of the mariadb_config --libs command. Should look like this:

If you're using libmysqlclient instead of mariadb, you might have to replace mariadb_config with mysql_config in Makefile.lnx.

Also make sure you write the same make command (with MYSQL=1) every time.

8 years, 29 weeks ago
Post #198365 Re: EOSERV on Linux
Sausage posted: (13th Oct 2015, 09:54 am)

Strange, check the output of the mariadb_config --libs command. Should look like this:

If you're using libmysqlclient instead of mariadb, you might have to replace mariadb_config with mysql_config in Makefile.lnx.

Also make sure you write the same make command (with MYSQL=1) every time.


As you said, i did have to change mariadb_config to mysql_config.

After i began receiving:
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto

after installing libssl-dev package everything compiled successfully.

I will most likely put together a wiki page on compiling on ubuntu/linux.

Thanks sausage for the tips!
8 years, 29 weeks ago
Page: << 1 >>

EOSERV Forum > EOSERV > EOSERV on Linux