a bottle of kennie to the first one that finds where the CGI engines went...
Mark Waddingham
36degrees at runrev.com
Mon Jun 13 05:59:35 EDT 2005
Hi Andre,
The latest 2.6 linux engine (engine version 2.6.5) should work fine as a
CGI engine. It has both the revXML and revDB externals compiled in - but
not the drivers.
As I recall, the first (non-CGI) engine version to have these externals
compiled in on Linux was 2.6.1 so that could be why you are having
trouble with 2.6 (engine version) engine.
You need to use revSetDatabaseDriverPath (or revdb_setdriverpath) to
point to the directory containing the database drivers before you try
and open a database connection.
The engine only attempts to load GTK when you do set the look and feel
to appearance manager so this shouldn't cause a problem.
Also doing:
#! <path to revolution> -ui
will ensure that the engine never tries to do any gui stuff (and makes
standard input and output work as you would expect of a command-line
engine).
Hope this helps,
Warmest Regards,
Mark.
------------------------------------------------------------------
Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com
Runtime Revolution ~ User-Centric Development Tools
More information about the use-livecode
mailing list