Linux PPC build?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
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 ???????
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 ???????
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
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?
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?
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Linux PPC build?
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.
I have no idea what "perfect.lnx" is.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Linux PPC build?
...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.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
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?
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?
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
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.
or, at the very least those 3 files.
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Linux PPC build?
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.
Interestingly, I would think that if you deleted or renamed the prebuilt/lib directory it should be rebuilt in the proper format.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
Right; I'll have a go at that tomorrow.mwieder wrote:Interestingly, I would think that if you deleted or renamed the prebuilt/lib directory it should be rebuilt in the proper format.
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/
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Linux PPC build?
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
(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.
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
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
After teaching this morning (Saturday) I had a great afternoon snooze:
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.
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.
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
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.
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.
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
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.
this would suggest that after the attempted build memory is not being freed up.
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
Here's a picture:
I am also attaching a text file of the Terminal output if anyone wants to be brave and helpful enough to analyse it.
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.
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
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:
but give one what is a seemingly pointless dialogue box:
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
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: It is interesting that the Metacard 2.3 engine WORKS. I wonder which came first; Revolution 1.1.1 or MC 2.3?
suggested using it as the 'Revolution.lnx" file: It is interesting that the Metacard 2.3 engine WORKS. I wonder which came first; Revolution 1.1.1 or MC 2.3?