Linux PPC build?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark

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

Re: Linux PPC build?

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

Mad as a hatter:
15MarchGraspingStraws.png

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

Re: Linux PPC build?

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

Having used the Metacard 2.3 engine the results of an attempted build seem to be identical:
15MarchMetacardE.png
15MarchMetacardOutput.zip
All this tells me is that the stuff about prebuilt engines may be nothing more than a red herring.
Red Herring.png

LCfraser
Livecode Staff Member
Livecode Staff Member
Posts: 71
Joined: Thu Nov 28, 2013 11:18 am
Contact:

Re: Linux PPC build?

Post by LCfraser » Sat Mar 15, 2014 3:59 pm

Hi Richmond,

I must confess I've been busy and not read the thread thoroughly since I last posted but from what I can gather, you've worked around the problem of the files generated with the prebuilt version of the Revolution engine (so shouldn't need to get a PPC version of it). The problem you are now having is trying to link against the pre-built libraries (libcrypto.a is from OpenSSL and libcurl.a is for URL support).

The easiest solution is to link against the system versions of those libraries rather than prebuilts - the changes to the Linux Makfiles needed to do this are present in my feature-rpi branch on GitHub.

Fraser

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

Re: Linux PPC build?

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

runrevfraser wrote: the changes to the Linux Make files needed to do this are present in my feature-rpi branch on GitHub.
OK: and how do I go about getting hold of those changes and rolling them into what I'm doing?

LCfraser
Livecode Staff Member
Livecode Staff Member
Posts: 71
Joined: Thu Nov 28, 2013 11:18 am
Contact:

Re: Linux PPC build?

Post by LCfraser » Sat Mar 15, 2014 4:21 pm

Code: Select all

git remote add runrevfraser https://github.com/runrevfraser/livecode.git
git fetch runrevfraser
If you want to merge the RPi branch into your current branch:

Code: Select all

git merge runrevfraser/feature-rpi
Or if you just want to use the RPi branch in its clean state:

Code: Select all

git checkout runrevfraser/feature-rpi
Merging may or may not work, depending on which branch you are currently on (and how extensive the changes you have made are). I think the feature-rpi branch is currently up-to-date with 6.5.2.

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

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 5:41 pm

Right: I know where I'll be worshipping this Sunday: right in front of the MacMini.
RMheresy.jpg
Thanks, Fraser.

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

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 8:22 pm

Fraser,

I thought I would take a keek at your code on my Intel Box first {also wonder about cherry-picking bits from it],
BUT, get this:
wrong.png
I'm obviously doing something wrong.

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

Re: Linux PPC build?

Post by richmond62 » Sat Mar 15, 2014 8:28 pm

SO: I have just browsed over in merry Firefox to this:

https://github.com/runrevfraser/livecode

and will have a 'poke around' for the /livecode/prebuild/lib/ stuff

and, possibly, the "Revolution.lnx" file as well, even if only to
do every EFL teacher's favourite thing; a Compare and Contrast Exercise :)

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 » Sun Mar 16, 2014 1:33 am

Richmond-

You're not in the main livecode directory when you issue the "git remote add, etc" commands and that's why you're getting the error. There's no harm in cding to the livecode directory and then issuing those, or you can go to any directory, do a "git init" on the directory before the "git remote" stuff and you should be fine.

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

Re: Linux PPC build?

Post by richmond62 » Sun Mar 16, 2014 4:04 pm

Here I am, at last:
Merge1.png

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

Re: Linux PPC build?

Post by richmond62 » Sun Mar 16, 2014 4:07 pm

I've restored the prebuilt 'Revolution.lnx' file that the git downloaded:
restoredPreBuilt.png

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

Re: Linux PPC build?

Post by richmond62 » Sun Mar 16, 2014 4:08 pm

Just started a "MODE=release make development" build: going for coffee.

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

Re: Linux PPC build?

Post by richmond62 » Sun Mar 16, 2014 4:15 pm

Neither better not worse:
The attachment mergeBuild.png is no longer available
Here's the Terminal guff:
18MarchMergeOutput.zip
(2.11 KiB) Downloaded 301 times

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

Re: Linux PPC build?

Post by richmond62 » Sun Mar 16, 2014 10:12 pm

I've gone down with some sort of bug; snuffles and a temperature, so will leave this alone until I get better.
cheesed_off.jpg

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

Re: Linux PPC build?

Post by richmond62 » Fri Apr 25, 2014 6:20 pm

Not putting too fine a point on things: BUT I am getting increasingly cheesed-off as am waiting on a promise which has failed to materialise.

My PPC MacMini is rotting next door with a PPC version of Lubuntu on it [for the sake of argument I could return it to Mac OS 10.4.11 and do something useful with it].

I specifically set that machine up to work on a PPC build, and am completely stymied.

A promise (of sorts) was made, which should have made that possible.
camembert.jpg

Locked

Return to “Engine Contributors”