Linux PPC build?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Wed Mar 12, 2014 9:19 pm

Well, that certainly is a thought.

However, I wonder where I could lay my sticky paws on an early Linux PPC build (i.e. later than 1.1.1, if there is one) as this:

http://developer.runrev.com/components/

goes back only as far as 2.7.0 (and there are no Linux-i386 builds for that.

I installed Metacard 2.3 Linux-ppc, but I don't suppose it is going to have the same sort of files at all ???????

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Wed Mar 12, 2014 9:28 pm

Fraser,

What chance your wheedling the last Linux-ppc version of Runtime Revolution out of the backup I sincerely hope RunRev have and sending it to me?
picture-14.png

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

Re: Linux PPC build?

Post by mwieder » Wed Mar 12, 2014 9:34 pm

rev 1.1.1, metacard, etc should work fine. I think you'll want to replace the Revolution.lnx file in the prebuilt directory with the executable from the rev directory (I misremember now what it used to be called and I'm not sitting in front of a machine with an older build right now, but I'd guess it's called "revolution". Once you copy it into the proper location, rename it to Revolution.lnx.

I have no idea what "perfect.lnx" is.

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

Re: Linux PPC build?

Post by mwieder » Wed Mar 12, 2014 9:36 pm

...another thought... I just re-read Fraser's note, and I think copying the files that need to be rebuilt from an Intel directory to the ppc directory and then touching them would do the trick. But Fraser will have to chime in about what those files are. It really could be that simple.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Wed Mar 12, 2014 9:55 pm

Mark,

as you can see, this morning I did the touch thing with all those transferred files and then a build.

I came up against the "libcrypto.a" and "libcurl.a" files, as well as some sort of security problem.

I don't think (at the moment, at least) that the transferred files are the problem; and I wonder if I can get hold of PPC
versions of the "libcrypto.a" and "libcurl.a" I might get nearer to my goal?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Wed Mar 12, 2014 10:04 pm

And, thinking about things: I would need not just the last version of Runtime Revolution for Linux-ppc, but its source code (there's a licensing problem),
or, at the very least those 3 files.

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

Re: Linux PPC build?

Post by mwieder » Wed Mar 12, 2014 10:29 pm

I looked at the screenshot, but it's not the .cpp files that need to be migrated. The .lib and .so files should indeed come into play, but they'll be the wrong format from the Intel build.

Interestingly, I would think that if you deleted or renamed the prebuilt/lib directory it should be rebuilt in the proper format.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Wed Mar 12, 2014 10:36 pm

mwieder wrote:Interestingly, I would think that if you deleted or renamed the prebuilt/lib directory it should be rebuilt in the proper format.
Right; I'll have a go at that tomorrow.

I'm off to bed as I have to get up "bright and early" [ read "early and curmudgeonly"]
tomorrow to teach small Bulgarians how to speak enough English to make Nigel Farrage
look even more disgusting and racist than he does already:

http://londonmigranthub.wordpress.com/2 ... r-farrage/

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

Re: Linux PPC build?

Post by mwieder » Thu Mar 13, 2014 2:27 am

Well, it failed on my system... I renamed prebuilt/lib to prebuilt/old_lib. Then I did a make clean followed by a make all

Code: Select all

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libssl.a(t1_srvr.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libssl.a: could not read symbols: Bad value
(and this was on a 64-bit linux system). So I think some work still needs to be done on the individual makefiles before the prebuilt libraries can be compiled.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 2:17 pm

After teaching this morning (Saturday) I had a great afternoon snooze:
yogaNidra.jpg
Now I am awake and going to try a few things to see if that might get me nearer to the Grail [and, if at all possible, avoid both the Snark and the Holy Hand Grenade of Antioch]:

I'm going to try that trick that Mark suggested by using a Linux PPC engine from Runtime Revolution 1.1.1 as a prebuilt, and I'm going to chuck out those loopy libraries I got from somewhere else,
and restore the original ones.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 2:43 pm

Right; I removed the presupplied /livecode/prebuilt/bin/Revolution.lnx and tucked it into a 'Backup' directory, and replaced it with
the engine from Runtime Revolution 1.1.1 which I renamed 'Revolution/lnx' [this thing is seriously long in the tooth], put those other libraries
back and an currently running a 'MODE=release make development' build.

This will NOT work, absolutely sure, but it might get nearer.
chakra.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 2:51 pm

Just had to reboot the MacMini; every time I do a build, subsequently the whole machine slows down considerably;
this would suggest that after the attempted build memory is not being freed up.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 2:57 pm

Here's a picture:
15MarchBuild.png
Which illustrates the memory problem, even if nothing else.

I am also attaching a text file of the Terminal output if anyone wants to be brave and helpful enough to analyse it.
15MarchTerminalOutput.zip

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 3:01 pm

I must say I wonder why, when one clicks on an executable on Ubuntu PPC 12.04 it doesn't execute directly,
but give one what is a seemingly pointless dialogue box:
Guillotine.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 3:07 pm

As Runtime Revolution 1.1.1 does not run properly under Ubuntu 12.04 [not entirely surprising], I am not sure why Mark has
suggested using it as the 'Revolution.lnx" file:
RunRev111.png
It is interesting that the Metacard 2.3 engine WORKS. I wonder which came first; Revolution 1.1.1 or MC 2.3?

Locked

Return to “Engine Contributors”