the dreaded 64-bit compile

Moderators: heatherlaine, Klaus, FourthWorld, kevinmiller, LCMark

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

Re: the dreaded 64-bit compile

Post by mwieder » Thu May 09, 2013 11:46 pm

...another 64-bit data point:

pkg-config appears to show the correct information:

>pkg-config libssl --cflags --libs
> -lssl -lcrypto

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

Re: the dreaded 64-bit compile

Post by mwieder » Fri May 10, 2013 2:35 am

Update: I tried this now on my native 64-bit linux mint system and got past that bottleneck. There's a pretty complex dependency on external libraries, and we really need to firm up that list. There's obviously something that I've installed on my native system that I haven't installed on the VM, and that's letting the MySQL part compile properly.

Now I'm getting the build failing while compiling the kernel with

In file included from ./../thirdparty/headers/linux/include/libgnomevfs/gnome-vfs-result.h:29:0,
from ./../thirdparty/headers/linux/include/libgnomevfs/gnome-vfs-acl.h:31,
from ./../thirdparty/headers/linux/include/libgnomevfs/gnome-vfs.h:28,
from ./src/lnxdcs.cpp:49:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly."

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

Re: the dreaded 64-bit compile

Post by LCMark » Fri May 10, 2013 2:24 pm

@mwieder:

I think the ssl lib problem is because of an empty 'sslstubs.cpp' file that was probably generated when it couldn't execute the 32-bit Revolution.lnx. If you delete that file (so it regenerates) all should be well.

The other error is probably what @ricochet1k was saying about needing to include <glib.h> in lnxdcs.cpp (before the gnomevfs stuff). It seems 'gnomevfs' is gone from newer versions of the Gnome desktop - its functionality has probably moved and that will need to be looked at separately at some point.

Post Reply

Return to “Engine Contributors”