Darwin Engine for Mac OS X Intel

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Sun May 25, 2008 8:12 pm

One of the announcements made at the Revolution Live 08 Conference in Las Vegas, was that a brand-new 'PHP-style' CGI engine is on its way, compatible with the latest stack file format and command/function sets.

Not much information is available at the moment, but I'm really looking forward to it. In the meantime, the old Darwin/PPC version still does the trick, and there has been varying success in getting the Revolution 2.9 MacOSX engine to play nice in command-line modus.

Andre Garzia got it working on MacOS X 10.5.2 Leopard, but the same extraction procedure didn't work for me on MacOS X 10.4.11 Tiger on an otherwise same model MacBook.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Stryder
Posts: 36
Joined: Fri Jul 21, 2006 12:05 pm

Re: Darwin Engine for Mac OS X Intel

Post by Stryder » Mon Feb 01, 2010 3:13 am


FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Darwin Engine for Mac OS X Intel

Post by FourthWorld » Mon Feb 01, 2010 7:02 am

I found Bjornke's notes at the RQCC entry you linked to encouraging, so I gave it a shot this evening on my Intel Mac: Per Jacque's article I copied the v3.5 Intel runtime engine out of the bundle into the CGI-Executables folder, wrote a simple test CGI, set permissions, and it seems to work well.

What do you get when you tried this with the v3.5 Intel runtime engine?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Darwin Engine for Mac OS X Intel

Post by RRobert » Tue Feb 02, 2010 11:42 am

FourthWorld wrote:I found Bjornke's notes at the RQCC entry you linked to encouraging, so I gave it a shot this evening on my Intel Mac: Per Jacque's article I copied the v3.5 Intel runtime engine out of the bundle into the CGI-Executables folder, wrote a simple test CGI, set permissions, and it seems to work well.
That's exactly what I did too and it works fine.

Robert

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Darwin Engine for Mac OS X Intel

Post by jacque » Tue Feb 02, 2010 7:57 pm

Sorry, I just noticed this thread, I don't get to the forums often. But just to clear things up: the OS X CGI engine has always been available, though I apologize for forgetting to update the instructions on my CGI web site until about a year ago. The instructions there which specify downloading a special Darwin engine apply only to Rev version 2.7 or lower. Rev versions 2.9 through 3.5 provide a native OS X engine inside the Standalone app bundle which you should use instead. There are full instructions for accessing that at my CGI tutorial page, but here's a quote:

"Note to Mac OS X users: If you are using Revolution version 2.7 or higher, the actual engine file is located inside the Standalone.app application bundle. Control-click on the Standalone.app file and choose "Show package contents" from the menu. Inside the package, work your way into the folders until you find the Standalone file in Contents/MacOS/Standalone. That is the engine file to use. "

Also note that when using this CGI engine you must include the "-ui" flag after the first line declaration in your CGI script. This tells the standalone engine not to load the GUI.

Due to underlying engine changes, Rev 4.0 no longer works as a CGI engine. You can continue to use version 3.5 until RR provides a newer build. This isn't generally much of a problem, since most of the changes in version 4 support GUI elements.

I hope that clears things up.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Stryder
Posts: 36
Joined: Fri Jul 21, 2006 12:05 pm

Re: Darwin Engine for Mac OS X Intel

Post by Stryder » Wed Jun 16, 2010 1:24 pm

Thanks for clarifying. I had gone to 4.0 and it still didn't work, so I did what you suggested and tracked down 3.5 engine and it does indeed work!

Let's hope they make a fix in 4.x to allow future customers the ability to use this powerful programming language in the command-line/CGI.

I've built an entire company infrastructure around revolution, including accounting, invoicing, purchase orders, website, online orders, auction website, inventory control, shipping, time management, etc. All of this, however, is in CGI and command-line programs, as I believe in having the app on a server and clients in a webbrowser is far more powerful and flexible than installed apps on individual computers.

robertmann
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5
Joined: Thu Aug 21, 2008 11:30 pm

Re: Darwin Engine for Mac OS X Intel

Post by robertmann » Thu Jun 17, 2010 12:43 am

A maybe dumb question.. but.. is'nt the revServer that has been announced the answer to your query... ??

Post Reply