Linux PPC build?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
Examining the "libcrypto.a" and "libcurl.a" in that directory (see picture above) shows me that
they are different things, despite having the same names. So, I jalouse that those are 32-bit Intel and 64-bit Intel versions;
and what I should be speirin after is 32-bit PPC versions.
So, after another cup of coffee, I shall charge up the MacMini (currently on the Intel Box) and see what Synaptic can cough up,
and or a general search within the file system.
they are different things, despite having the same names. So, I jalouse that those are 32-bit Intel and 64-bit Intel versions;
and what I should be speirin after is 32-bit PPC versions.
So, after another cup of coffee, I shall charge up the MacMini (currently on the Intel Box) and see what Synaptic can cough up,
and or a general search within the file system.
Re: Linux PPC build?
Richmond -
Those files in /prebuilt/bin are old (Revolution 2.x, I believe) versions of the engine. They are used to run a couple of scripts to generate things such as the error message tables and a hash table to speed up the parser. Way back in the mists of time (i.e the beginning of this thread ) I mentioned a few files that need to be copied over from an Intel box - if you copy them and then run the "touch" command on each of them, the Make process won't try to run the old engines because it sees the generated files as being up-to-date. (This is the process I use when I'm daft enough to build LiveCode on a RaspberryPi).
That should at least get you a bit further. I think there will be a few additional problems further on when it tries to link to some of the prebuilt libraries but, as a friend of mine says, we can burn that bridge when we get to it!
Those files in /prebuilt/bin are old (Revolution 2.x, I believe) versions of the engine. They are used to run a couple of scripts to generate things such as the error message tables and a hash table to speed up the parser. Way back in the mists of time (i.e the beginning of this thread ) I mentioned a few files that need to be copied over from an Intel box - if you copy them and then run the "touch" command on each of them, the Make process won't try to run the old engines because it sees the generated files as being up-to-date. (This is the process I use when I'm daft enough to build LiveCode on a RaspberryPi).
That should at least get you a bit further. I think there will be a few additional problems further on when it tries to link to some of the prebuilt libraries but, as a friend of mine says, we can burn that bridge when we get to it!
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
Well I did copy the files over from the Intel machine, but didn't 'touch' them.
So, I had better do that.
So, I had better do that.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
AS usual (n Bulgaria, at least) everything took longer than planned: accountant, haircut
Back on task; just did the 'touchy-feely' bits: while LXDE is jolly useful for under-powered machines such as my MacMini it does not allow drag-and-drop onto the Terminal,
so I have to type each pathway explicitly.
Back on task; just did the 'touchy-feely' bits: while LXDE is jolly useful for under-powered machines such as my MacMini it does not allow drag-and-drop onto the Terminal,
so I have to type each pathway explicitly.
Last edited by richmond62 on Wed Mar 12, 2014 2:31 pm, edited 1 time in total.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
So, here I am on the Intel Box while the MacMini chews its way through another attempt at a build.
I do wish I had a faster machine; and I must say that I cannot quite understand why Ubuntu + LXDE should be so clunky
compared with Mac OS 10.4.11.
Obviously people (such as myself) who want to run G3 iMacs with some type of PPC Linux that is relatively current
( and that is very much part of the rub) are going to have to use something a bit lighter than the clunky great
monster that Ubuntu has managed to become.
I do feel that Mr Slugworth and his merry men have forgotten their initial mission statement and are, now, setting out
to conquer the world and forgetting about the people who end up with machines thrown at them by the supposedly
well-intentioned first world with no operating system to run on them that will allow them to run any sort of
contemporary software. It is interesting to note he is developing that messianic look rather like the late Steve Jobs.
Possibly Mr Slugworth (at Ubuntu / Canonical) has forgotten that there is, sadly, no everlasting gobstopper! Give me the late, great Gunter Meisner any day.
After this "little adventure", I shall scrub my hard drive and have a go with MintPPC: http://www.mintppc.org/
That might be more 'the thing'.
I do wish I had a faster machine; and I must say that I cannot quite understand why Ubuntu + LXDE should be so clunky
compared with Mac OS 10.4.11.
Obviously people (such as myself) who want to run G3 iMacs with some type of PPC Linux that is relatively current
( and that is very much part of the rub) are going to have to use something a bit lighter than the clunky great
monster that Ubuntu has managed to become.
I do feel that Mr Slugworth and his merry men have forgotten their initial mission statement and are, now, setting out
to conquer the world and forgetting about the people who end up with machines thrown at them by the supposedly
well-intentioned first world with no operating system to run on them that will allow them to run any sort of
contemporary software. It is interesting to note he is developing that messianic look rather like the late Steve Jobs.
Possibly Mr Slugworth (at Ubuntu / Canonical) has forgotten that there is, sadly, no everlasting gobstopper! Give me the late, great Gunter Meisner any day.
After this "little adventure", I shall scrub my hard drive and have a go with MintPPC: http://www.mintppc.org/
That might be more 'the thing'.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
I'm not sure whether I am nearer finding the Grail or not, quite frankly:
../../prebuilt/lib/linux-i386/libcrypto.a(cryptlib.o): could not read symbols: File in wrong format
Although I find this a bit odd:
../../prebuilt/lib/linux-i386/libcrypto.a(cryptlib.o): could not read symbols: File in wrong format
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
Hopeful, as ever, it does look like the only barriers might just be:
../../prebuilt/lib/linux-i386/libcrypto.a(cryptlib.o): could not read symbols: File in wrong format
and
make[1]: *** [../../_build/linux/i386/release/revsecurity.so] Error 1
make[1]: Leaving directory `/home/jrm/livecode/thirdparty/libopenssl'
make: *** [revsecurity] Error 2
And I wonder if I should have done the build with ROOT permissions?
../../prebuilt/lib/linux-i386/libcrypto.a(cryptlib.o): could not read symbols: File in wrong format
and
make[1]: *** [../../_build/linux/i386/release/revsecurity.so] Error 1
make[1]: Leaving directory `/home/jrm/livecode/thirdparty/libopenssl'
make: *** [revsecurity] Error 2
And I wonder if I should have done the build with ROOT permissions?
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
This makes me think about the remarks about possibly needing PPC versions of libcrypto.a, libcurl.a and libssl.a.
Now: I wonder where I might find them?
Wow; talk about "out on a wing"! I must be as mad as a hatter; I downloaded this: http://www.findthatzip-file.com/search- ... tar.gz.htm
and sucked the libcrypto.a and libssl.a out of the compressed file, swapped out the files in /livecode/prebuilt/lib/Linux-i386/ [well, I just made a new directory called 'Backup' and put them there] and
went for a build.
Now: I wonder where I might find them?
Wow; talk about "out on a wing"! I must be as mad as a hatter; I downloaded this: http://www.findthatzip-file.com/search- ... tar.gz.htm
and sucked the libcrypto.a and libssl.a out of the compressed file, swapped out the files in /livecode/prebuilt/lib/Linux-i386/ [well, I just made a new directory called 'Backup' and put them there] and
went for a build.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
And here is what happened in the terminal:
Definitely time for an afternoon snooze!
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
Well; however daft that last exercise was, it did (I belive) prove that there needs to be PPC versions of libcrypto.a, libcurl.a and libssl.a for things to proceed.
One of the odd things is that those components show up on Linux as compressed resources, but I cannot work out how to look inside them . . .
Opening them with a text editor is rather uninformative as well:
One of the odd things is that those components show up on Linux as compressed resources, but I cannot work out how to look inside them . . .
Opening them with a text editor is rather uninformative as well:
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Linux PPC build?
Well, LibreOffice did open /livecode/prebuilt/lib/linux-i386/libcrypto.a
but, running to 12925 pages as the first one does my motivation to plough through those, compare them, and try to understand them, and how
one might go about setting up a PPC version is zero.
and I suppose it would do the same for /livecode/prebuilt/lib/linux-x86_64/libcrypto.a
but, running to 12925 pages as the first one does my motivation to plough through those, compare them, and try to understand them, and how
one might go about setting up a PPC version is zero.
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Linux PPC build?
I think Fraser was wrong about copying the files from an Intel box, as the file formats will indeed be different. What I *think* should be done (and no doubt Fraser will set me straight and send me packing) is to copy the binary files in the prebuilt directory and its subdirectories from an older ppc LC build (i.e., install rev 2.x and then copy the files and touch them. That said, I'm not at all sure that all the files will be available in the older rev directory hierarchy.
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?
...and the .a files aren't readable text, so it's no use trying to examine them with a text editor.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev