Page 1 of 1

building the server

Posted: Mon Apr 15, 2013 6:02 pm
by mwieder
Re: curl...

Now that I'm back at my 32-bit machine, I see that I'm able to compile the desktop engine without a problem, but I run into the same (I think) problems as Monte. The server needs some libraries that are not installed by default, and I get the following errors trying to build the server:

Code: Select all

/usr/bin/ld: cannot find -lcurl
/usr/bin/ld: cannot find -lssl
/usr/bin/ld: cannot find -lcrypto
/usr/bin/ld: cannot find -lrt

Re: building the server

Posted: Tue Apr 16, 2013 12:32 am
by monte
I don't understand why you weren't getting these errors when compiling 64 bit... anyway Mark has explained that they will distribute some precompiled binaries to link against... it would be nice (for server) to work towards an option to dynamic link to these so we can perhaps come up with a source package for LC server.

Re: building the server

Posted: Tue Apr 16, 2013 1:06 am
by mwieder
On my 32-bit Fedora Core 16 system I have libcurl-devel-7.21.7-8.fc16, so the difference in versions may have something to do with this.

Re: building the server

Posted: Tue Apr 16, 2013 2:31 am
by monte
what do you have on Mint? still don't get why you don't get any errors for server... have you tried running it?

Re: building the server

Posted: Tue Apr 16, 2013 6:10 am
by mwieder
No, I *do* get errors building the server. Different errors, though. I'm having problems building the 64-bit standalone engine right now, for what are probably some pretty obvious reasons.

Re: building the server

Posted: Tue Apr 16, 2013 6:50 am
by monte
Ah, I thought you said you were running make al and it was building without errors... Perhaps you just meant development because it builds development, standalone, installer then server...

Re: building the server

Posted: Tue Apr 16, 2013 7:02 am
by mwieder
Yeah, I'm just trying to get the 64-bit development part working at the moment. On my 32-bit system I can get everything built except for the server. I'm not sure I'm going to get the 64-bit standalone engine built without a lot of help from the team.

Re: building the server

Posted: Tue Apr 16, 2013 7:40 am
by monte
weird, the standalone mode seems to be far leaner than development... what errors are you getting

Re: building the server

Posted: Tue Apr 16, 2013 9:04 am
by LCMark
Not sure why standalone mode should cause more problems than the dev engine... It's essentially the same but slightly less code!

Server-wise - will hopefully push the necessary bits to compile Linux server today.

Re: building the server

Posted: Tue Apr 16, 2013 10:20 am
by monte
will you be providing any instructions on generating the libraries so we can work on 64 bit server? that's my main interest in linux at the moment

Re: building the server

Posted: Tue Apr 16, 2013 6:12 pm
by mwieder
I'll submit my pull request this evening along with a note of the libraries I had to install.

Re: building the server

Posted: Tue Apr 16, 2013 8:41 pm
by malte
Even though I do not speak C, I would like to volunteer to help Betatest any 64 Bit engine I can get my greedy little paws on. :-)

Re: building the server

Posted: Tue Apr 16, 2013 8:51 pm
by mwieder
IMO the best thing about the OSS release is the fact that we can now build debug versions of the engines and run them in gdb to see where they're failing.

Re: building the server

Posted: Wed Apr 17, 2013 7:39 pm
by LCMark
The release-6.0.1 branch in the various repos now contain the precompiled libs for server on Linux so that should hopefully help things along building for 32-bit.

I'll hopefully have time to integrate the initial 64-bit changes from Mark (Wieder) in the morning :)