building the server

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, LCMark

Post Reply
mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2820
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

building the server

Post by mwieder » Mon Apr 15, 2013 6:02 pm

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

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1561
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building the server

Post by monte » Tue Apr 16, 2013 12:32 am

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.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2820
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: building the server

Post by mwieder » Tue Apr 16, 2013 1:06 am

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.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1561
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building the server

Post by monte » Tue Apr 16, 2013 2:31 am

what do you have on Mint? still don't get why you don't get any errors for server... have you tried running it?
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2820
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: building the server

Post by mwieder » Tue Apr 16, 2013 6:10 am

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.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1561
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building the server

Post by monte » Tue Apr 16, 2013 6:50 am

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...
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2820
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: building the server

Post by mwieder » Tue Apr 16, 2013 7:02 am

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.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1561
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building the server

Post by monte » Tue Apr 16, 2013 7:40 am

weird, the standalone mode seems to be far leaner than development... what errors are you getting
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1030
Joined: Thu Apr 11, 2013 11:27 am

Re: building the server

Post by LCMark » Tue Apr 16, 2013 9:04 am

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.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1561
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: building the server

Post by monte » Tue Apr 16, 2013 10:20 am

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
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2820
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: building the server

Post by mwieder » Tue Apr 16, 2013 6:12 pm

I'll submit my pull request this evening along with a note of the libraries I had to install.

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Location: Ostenfeld germany
Contact:

Re: building the server

Post by malte » Tue Apr 16, 2013 8:41 pm

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. :-)

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2820
Joined: Mon Jan 22, 2007 7:36 am
Location: Berkeley, CA, US
Contact:

Re: building the server

Post by mwieder » Tue Apr 16, 2013 8:51 pm

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.

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1030
Joined: Thu Apr 11, 2013 11:27 am

Re: building the server

Post by LCMark » Wed Apr 17, 2013 7:39 pm

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 :)

Post Reply

Return to “Engine Contributors”