Darwin Engine for Mac OS X Intel
Moderator: Klaus
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
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.
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
www.quartam.com
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Darwin Engine for Mac OS X Intel
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?
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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Darwin Engine for Mac OS X Intel
That's exactly what I did too and it works fine.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.
Robert
Re: Darwin Engine for Mac OS X Intel
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.
"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
HyperActive Software | http://www.hyperactivesw.com
Re: Darwin Engine for Mac OS X Intel
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.
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.
-
- VIP Livecode Opensource Backer
- Posts: 5
- Joined: Thu Aug 21, 2008 11:30 pm
Re: Darwin Engine for Mac OS X Intel
A maybe dumb question.. but.. is'nt the revServer that has been announced the answer to your query... ??